apkfuckery/com.discord/smali_classes2/k0/a/b0.smali
2020-07-20 19:00:44 +00:00

166 lines
3.2 KiB
Smali

.class public final Lk0/a/b0;
.super Ljava/lang/Object;
.source "Debug.kt"
# static fields
.field public static final a:Z
.field public static final b:Z
.field public static final c:Z
.field public static final d:Ljava/util/concurrent/atomic/AtomicLong;
# direct methods
.method public static constructor <clinit>()V
.locals 5
const-class v0, Lk0/a/x;
invoke-virtual {v0}, Ljava/lang/Class;->desiredAssertionStatus()Z
move-result v0
sput-boolean v0, Lk0/a/b0;->a:Z
const-string v0, "kotlinx.coroutines.debug"
invoke-static {v0}, Lk0/a/r1/w;->a(Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
const/4 v1, 0x0
const/4 v2, 0x1
if-nez v0, :cond_0
goto :goto_0
:cond_0
invoke-virtual {v0}, Ljava/lang/String;->hashCode()I
move-result v3
if-eqz v3, :cond_3
const/16 v4, 0xddf
if-eq v3, v4, :cond_2
const v4, 0x1ad6f
if-eq v3, v4, :cond_1
const v4, 0x2dddaf
if-ne v3, v4, :cond_5
const-string v3, "auto"
invoke-virtual {v0, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v3
if-eqz v3, :cond_5
:goto_0
sget-boolean v0, Lk0/a/b0;->a:Z
goto :goto_2
:cond_1
const-string v3, "off"
invoke-virtual {v0, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v3
if-eqz v3, :cond_5
const/4 v0, 0x0
goto :goto_2
:cond_2
const-string v3, "on"
invoke-virtual {v0, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v3
if-eqz v3, :cond_5
goto :goto_1
:cond_3
const-string v3, ""
invoke-virtual {v0, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v3
if-eqz v3, :cond_5
:goto_1
const/4 v0, 0x1
:goto_2
sput-boolean v0, Lk0/a/b0;->b:Z
if-eqz v0, :cond_4
const-string v0, "kotlinx.coroutines.stacktrace.recovery"
invoke-static {v0, v2}, Lj0/f;->k0(Ljava/lang/String;Z)Z
move-result v0
if-eqz v0, :cond_4
const/4 v1, 0x1
:cond_4
sput-boolean v1, Lk0/a/b0;->c:Z
new-instance v0, Ljava/util/concurrent/atomic/AtomicLong;
const-wide/16 v1, 0x0
invoke-direct {v0, v1, v2}, Ljava/util/concurrent/atomic/AtomicLong;-><init>(J)V
sput-object v0, Lk0/a/b0;->d:Ljava/util/concurrent/atomic/AtomicLong;
return-void
:cond_5
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "System property \'kotlinx.coroutines.debug\' has unrecognized value \'"
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
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