apkfuckery/com.discord/smali_classes2/z/a/w.smali

268 lines
6 KiB
Smali
Raw Normal View History

2020-04-17 19:35:49 +00:00
.class public final Lz/a/w;
2019-07-24 11:27:29 +00:00
.super Ljava/lang/Object;
2019-10-03 02:31:26 +00:00
.source "CoroutineContext.kt"
# static fields
2019-12-06 03:29:40 +00:00
.field public static final a:Ljava/util/concurrent/atomic/AtomicLong;
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
.field public static final b:Z
2019-07-24 11:27:29 +00:00
# direct methods
2019-12-06 03:29:40 +00:00
.method public static constructor <clinit>()V
2019-10-03 02:31:26 +00:00
.locals 3
new-instance v0, Ljava/util/concurrent/atomic/AtomicLong;
invoke-direct {v0}, Ljava/util/concurrent/atomic/AtomicLong;-><init>()V
2020-04-17 19:35:49 +00:00
sput-object v0, Lz/a/w;->a:Ljava/util/concurrent/atomic/AtomicLong;
2019-10-03 02:31:26 +00:00
const-string v0, "kotlinx.coroutines.scheduler"
2020-04-17 19:35:49 +00:00
invoke-static {v0}, Lz/a/a2/w;->a(Ljava/lang/String;)Ljava/lang/String;
2019-10-03 02:31:26 +00:00
move-result-object v0
if-nez v0, :cond_0
goto :goto_0
:cond_0
invoke-virtual {v0}, Ljava/lang/String;->hashCode()I
move-result v1
if-eqz v1, :cond_2
const/16 v2, 0xddf
if-eq v1, v2, :cond_1
const v2, 0x1ad6f
if-ne v1, v2, :cond_3
const-string v1, "off"
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_3
const/4 v0, 0x0
goto :goto_1
:cond_1
const-string v1, "on"
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_3
goto :goto_0
:cond_2
const-string v1, ""
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_3
:goto_0
const/4 v0, 0x1
:goto_1
2020-04-17 19:35:49 +00:00
sput-boolean v0, Lz/a/w;->b:Z
2019-10-03 02:31:26 +00:00
return-void
:cond_3
new-instance v1, Ljava/lang/StringBuilder;
2019-12-06 03:29:40 +00:00
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
2019-10-03 02:31:26 +00:00
const-string v2, "System property \'kotlinx.coroutines.scheduler\' has unrecognized value \'"
2019-12-06 03:29:40 +00:00
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-10-03 02:31:26 +00:00
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const/16 v0, 0x27
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
new-instance v1, Ljava/lang/IllegalStateException;
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {v1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v1
.end method
2019-12-06 03:29:40 +00:00
.method public static final a(Lkotlin/coroutines/CoroutineContext;)Ljava/lang/String;
.locals 3
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v0, 0x0
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p0, :cond_3
2019-10-03 02:31:26 +00:00
2020-04-17 19:35:49 +00:00
sget-boolean v1, Lz/a/e0;->a:Z
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
if-nez v1, :cond_0
2019-10-03 02:31:26 +00:00
return-object v0
:cond_0
2020-04-17 19:35:49 +00:00
sget-object v1, Lz/a/z;->e:Lz/a/z$a;
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
invoke-interface {p0, v1}, Lkotlin/coroutines/CoroutineContext;->get(Lkotlin/coroutines/CoroutineContext$b;)Lkotlin/coroutines/CoroutineContext$a;
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v1
2019-10-03 02:31:26 +00:00
2020-04-17 19:35:49 +00:00
check-cast v1, Lz/a/z;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v1, :cond_2
2019-07-24 11:27:29 +00:00
2020-04-17 19:35:49 +00:00
sget-object v0, Lz/a/a0;->e:Lz/a/a0$a;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-interface {p0, v0}, Lkotlin/coroutines/CoroutineContext;->get(Lkotlin/coroutines/CoroutineContext$b;)Lkotlin/coroutines/CoroutineContext$a;
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
move-result-object p0
2019-07-24 11:27:29 +00:00
2020-04-17 19:35:49 +00:00
check-cast p0, Lz/a/a0;
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p0, :cond_1
2019-07-24 11:27:29 +00:00
2020-04-17 19:35:49 +00:00
iget-object p0, p0, Lz/a/a0;->d:Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p0, :cond_1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:cond_1
const-string p0, "coroutine"
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:goto_0
new-instance v0, Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/16 p0, 0x23
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2020-04-17 19:35:49 +00:00
iget-wide v1, v1, Lz/a/z;->d:J
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object p0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
return-object p0
2019-10-03 02:31:26 +00:00
:cond_2
2019-12-06 03:29:40 +00:00
return-object v0
2019-10-03 02:31:26 +00:00
:cond_3
2019-12-06 03:29:40 +00:00
const-string p0, "$this$coroutineName"
2019-10-03 02:31:26 +00:00
2020-04-17 19:35:49 +00:00
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
throw v0
2019-07-24 11:27:29 +00:00
.end method
2019-10-03 02:31:26 +00:00
.method public static final a(Lkotlinx/coroutines/CoroutineScope;Lkotlin/coroutines/CoroutineContext;)Lkotlin/coroutines/CoroutineContext;
2019-07-24 11:27:29 +00:00
.locals 2
2019-12-06 03:29:40 +00:00
const/4 v0, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p0, :cond_3
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-interface {p0}, Lkotlinx/coroutines/CoroutineScope;->c()Lkotlin/coroutines/CoroutineContext;
2019-07-24 11:27:29 +00:00
2019-10-03 02:31:26 +00:00
move-result-object p0
invoke-interface {p0, p1}, Lkotlin/coroutines/CoroutineContext;->plus(Lkotlin/coroutines/CoroutineContext;)Lkotlin/coroutines/CoroutineContext;
move-result-object p0
2020-04-17 19:35:49 +00:00
sget-boolean p1, Lz/a/e0;->a:Z
2019-10-03 02:31:26 +00:00
if-eqz p1, :cond_0
2020-04-17 19:35:49 +00:00
new-instance p1, Lz/a/z;
2019-10-03 02:31:26 +00:00
2020-04-17 19:35:49 +00:00
sget-object v0, Lz/a/w;->a:Ljava/util/concurrent/atomic/AtomicLong;
2019-10-03 02:31:26 +00:00
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicLong;->incrementAndGet()J
move-result-wide v0
2020-04-17 19:35:49 +00:00
invoke-direct {p1, v0, v1}, Lz/a/z;-><init>(J)V
2019-10-03 02:31:26 +00:00
invoke-interface {p0, p1}, Lkotlin/coroutines/CoroutineContext;->plus(Lkotlin/coroutines/CoroutineContext;)Lkotlin/coroutines/CoroutineContext;
move-result-object p1
goto :goto_0
2019-07-24 11:27:29 +00:00
:cond_0
2019-10-03 02:31:26 +00:00
move-object p1, p0
2019-07-24 11:27:29 +00:00
2019-10-03 02:31:26 +00:00
:goto_0
2020-04-17 19:35:49 +00:00
sget-object v0, Lz/a/n0;->a:Lz/a/x;
2019-07-24 11:27:29 +00:00
2019-10-03 02:31:26 +00:00
if-eq p0, v0, :cond_1
2019-07-24 11:27:29 +00:00
2020-04-17 19:35:49 +00:00
sget-object v0, Ly/s/c;->a:Ly/s/c$a;
2019-10-03 02:31:26 +00:00
2019-12-06 03:29:40 +00:00
invoke-interface {p0, v0}, Lkotlin/coroutines/CoroutineContext;->get(Lkotlin/coroutines/CoroutineContext$b;)Lkotlin/coroutines/CoroutineContext$a;
2019-10-03 02:31:26 +00:00
move-result-object p0
if-nez p0, :cond_1
2020-04-17 19:35:49 +00:00
sget-object p0, Lz/a/n0;->a:Lz/a/x;
2019-10-03 02:31:26 +00:00
invoke-interface {p1, p0}, Lkotlin/coroutines/CoroutineContext;->plus(Lkotlin/coroutines/CoroutineContext;)Lkotlin/coroutines/CoroutineContext;
2019-12-06 03:29:40 +00:00
move-result-object p1
2019-10-03 02:31:26 +00:00
:cond_1
return-object p1
2019-12-06 03:29:40 +00:00
:cond_2
const-string p0, "context"
2020-04-17 19:35:49 +00:00
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
:cond_3
const-string p0, "$this$newCoroutineContext"
2020-04-17 19:35:49 +00:00
invoke-static {p0}, Ly/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
throw v0
2019-07-24 11:27:29 +00:00
.end method