apkfuckery/com.discord/smali_classes2/u/a/a2/y.smali

271 lines
6.1 KiB
Smali
Raw Normal View History

2019-12-21 01:41:59 +00:00
.class public final Lu/a/a2/y;
2019-12-06 03:29:40 +00:00
.super Ljava/lang/Object;
2020-01-07 02:40:43 +00:00
.source "ThreadContext.kt"
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
# static fields
.field public static final a:Lu/a/a2/v;
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
.field public static final b:Lkotlin/jvm/functions/Function2;
2019-12-06 03:29:40 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2020-01-07 02:40:43 +00:00
"Lkotlin/jvm/functions/Function2<",
"Ljava/lang/Object;",
"Lkotlin/coroutines/CoroutineContext$a;",
"Ljava/lang/Object;",
">;"
2019-12-06 03:29:40 +00:00
}
.end annotation
.end field
2020-01-07 02:40:43 +00:00
.field public static final c:Lkotlin/jvm/functions/Function2;
2019-12-06 03:29:40 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2020-01-07 02:40:43 +00:00
"Lkotlin/jvm/functions/Function2<",
"Lu/a/s1<",
"*>;",
"Lkotlin/coroutines/CoroutineContext$a;",
"Lu/a/s1<",
"*>;>;"
2019-12-06 03:29:40 +00:00
}
.end annotation
2020-01-07 02:40:43 +00:00
.end field
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
.field public static final d:Lkotlin/jvm/functions/Function2;
2019-12-06 03:29:40 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2020-01-07 02:40:43 +00:00
"Lkotlin/jvm/functions/Function2<",
"Lu/a/a2/b0;",
"Lkotlin/coroutines/CoroutineContext$a;",
"Lu/a/a2/b0;",
">;"
2019-12-06 03:29:40 +00:00
}
.end annotation
2020-01-07 02:40:43 +00:00
.end field
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
.field public static final e:Lkotlin/jvm/functions/Function2;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/jvm/functions/Function2<",
"Lu/a/a2/b0;",
"Lkotlin/coroutines/CoroutineContext$a;",
"Lu/a/a2/b0;",
">;"
}
.end annotation
.end field
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
# direct methods
.method public static constructor <clinit>()V
.locals 2
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
new-instance v0, Lu/a/a2/v;
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
const-string v1, "ZERO"
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
invoke-direct {v0, v1}, Lu/a/a2/v;-><init>(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
sput-object v0, Lu/a/a2/y;->a:Lu/a/a2/v;
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
sget-object v0, Lu/a/a2/y$a;->d:Lu/a/a2/y$a;
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
sput-object v0, Lu/a/a2/y;->b:Lkotlin/jvm/functions/Function2;
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
sget-object v0, Lu/a/a2/y$b;->d:Lu/a/a2/y$b;
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
sput-object v0, Lu/a/a2/y;->c:Lkotlin/jvm/functions/Function2;
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
sget-object v0, Lu/a/a2/y$d;->d:Lu/a/a2/y$d;
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
sput-object v0, Lu/a/a2/y;->d:Lkotlin/jvm/functions/Function2;
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
sget-object v0, Lu/a/a2/y$c;->d:Lu/a/a2/y$c;
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
sput-object v0, Lu/a/a2/y;->e:Lkotlin/jvm/functions/Function2;
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
return-void
2019-12-06 03:29:40 +00:00
.end method
2020-01-07 02:40:43 +00:00
.method public static final a(Lkotlin/coroutines/CoroutineContext;)Ljava/lang/Object;
.locals 3
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
const/4 v0, 0x0
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
if-eqz p0, :cond_1
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
const/4 v1, 0x0
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
move-result-object v1
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
sget-object v2, Lu/a/a2/y;->b:Lkotlin/jvm/functions/Function2;
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
invoke-interface {p0, v1, v2}, Lkotlin/coroutines/CoroutineContext;->fold(Ljava/lang/Object;Lkotlin/jvm/functions/Function2;)Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
move-result-object p0
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
if-eqz p0, :cond_0
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
return-object p0
2019-12-06 03:29:40 +00:00
:cond_0
2019-12-21 01:41:59 +00:00
invoke-static {}, Lt/u/b/j;->throwNpe()V
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
throw v0
2019-12-06 03:29:40 +00:00
:cond_1
2020-01-07 02:40:43 +00:00
const-string p0, "context"
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
throw v0
2019-12-06 03:29:40 +00:00
.end method
2020-01-07 02:40:43 +00:00
.method public static final a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
.locals 2
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
const/4 v0, 0x0
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
if-eqz p0, :cond_3
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
sget-object v1, Lu/a/a2/y;->a:Lu/a/a2/v;
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
if-ne p1, v1, :cond_0
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
return-void
2019-12-06 03:29:40 +00:00
:cond_0
2020-01-07 02:40:43 +00:00
instance-of v1, p1, Lu/a/a2/b0;
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
if-eqz v1, :cond_1
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
move-object v0, p1
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
check-cast v0, Lu/a/a2/b0;
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
const/4 v1, 0x0
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
iput v1, v0, Lu/a/a2/b0;->b:I
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
sget-object v0, Lu/a/a2/y;->e:Lkotlin/jvm/functions/Function2;
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
invoke-interface {p0, p1, v0}, Lkotlin/coroutines/CoroutineContext;->fold(Ljava/lang/Object;Lkotlin/jvm/functions/Function2;)Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
goto :goto_0
2019-12-06 03:29:40 +00:00
:cond_1
2020-01-07 02:40:43 +00:00
sget-object v1, Lu/a/a2/y;->c:Lkotlin/jvm/functions/Function2;
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
invoke-interface {p0, v0, v1}, Lkotlin/coroutines/CoroutineContext;->fold(Ljava/lang/Object;Lkotlin/jvm/functions/Function2;)Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
move-result-object v0
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
if-eqz v0, :cond_2
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
check-cast v0, Lu/a/z;
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
invoke-virtual {v0, p0, p1}, Lu/a/z;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
:goto_0
return-void
2019-12-06 03:29:40 +00:00
:cond_2
2020-01-07 02:40:43 +00:00
new-instance p0, Lt/l;
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
const-string p1, "null cannot be cast to non-null type kotlinx.coroutines.ThreadContextElement<kotlin.Any?>"
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
invoke-direct {p0, p1}, Lt/l;-><init>(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
throw p0
2019-12-06 03:29:40 +00:00
:cond_3
2020-01-07 02:40:43 +00:00
const-string p0, "context"
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
throw v0
2019-12-06 03:29:40 +00:00
.end method
2020-01-07 02:40:43 +00:00
.method public static final b(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
.locals 1
2020-01-07 02:40:43 +00:00
if-eqz p0, :cond_4
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
if-eqz p1, :cond_0
2019-12-06 03:29:40 +00:00
goto :goto_0
:cond_0
2020-01-07 02:40:43 +00:00
invoke-static {p0}, Lu/a/a2/y;->a(Lkotlin/coroutines/CoroutineContext;)Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
move-result-object p1
2019-12-06 03:29:40 +00:00
:goto_0
2020-01-07 02:40:43 +00:00
const/4 v0, 0x0
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
move-result-object v0
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
if-ne p1, v0, :cond_1
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
sget-object p0, Lu/a/a2/y;->a:Lu/a/a2/v;
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
goto :goto_1
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
:cond_1
instance-of v0, p1, Ljava/lang/Integer;
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_2
2020-01-07 02:40:43 +00:00
new-instance v0, Lu/a/a2/b0;
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
check-cast p1, Ljava/lang/Number;
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
invoke-virtual {p1}, Ljava/lang/Number;->intValue()I
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
move-result p1
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
invoke-direct {v0, p0, p1}, Lu/a/a2/b0;-><init>(Lkotlin/coroutines/CoroutineContext;I)V
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
sget-object p1, Lu/a/a2/y;->d:Lkotlin/jvm/functions/Function2;
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
invoke-interface {p0, v0, p1}, Lkotlin/coroutines/CoroutineContext;->fold(Ljava/lang/Object;Lkotlin/jvm/functions/Function2;)Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
move-result-object p0
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
goto :goto_1
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
:cond_2
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_3
2020-01-07 02:40:43 +00:00
check-cast p1, Lu/a/z;
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
invoke-virtual {p1, p0}, Lu/a/z;->a(Lkotlin/coroutines/CoroutineContext;)Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
move-result-object p0
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
:goto_1
return-object p0
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
:cond_3
new-instance p0, Lt/l;
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
const-string p1, "null cannot be cast to non-null type kotlinx.coroutines.ThreadContextElement<kotlin.Any?>"
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
invoke-direct {p0, p1}, Lt/l;-><init>(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
throw p0
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
:cond_4
const-string p0, "context"
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
invoke-static {p0}, Lt/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
const/4 p0, 0x0
2019-12-06 03:29:40 +00:00
2020-01-07 02:40:43 +00:00
throw p0
2019-12-06 03:29:40 +00:00
.end method