apkfuckery/com.discord/smali_classes2/x/a/e0.smali
2020-02-20 20:33:18 +01:00

326 lines
7 KiB
Smali

.class public final Lx/a/e0;
.super Ljava/lang/Object;
.source "Debug.kt"
# static fields
.field public static final a:Z
.field public static final b:Z
# direct methods
.method public static constructor <clinit>()V
.locals 5
const-string v0, "kotlinx.coroutines.debug"
invoke-static {v0}, Lx/a/a2/x;->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
const-class v0, Lx/a/z;
invoke-virtual {v0}, Ljava/lang/Class;->desiredAssertionStatus()Z
move-result v0
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, Lx/a/e0;->a:Z
sget-boolean v0, Lx/a/e0;->a:Z
if-eqz v0, :cond_4
const-string v0, "kotlinx.coroutines.stacktrace.recovery"
invoke-static {v0, v2}, Lx/a/a2/w;->a(Ljava/lang/String;Z)Z
move-result v0
if-eqz v0, :cond_4
const/4 v1, 0x1
:cond_4
sput-boolean v1, Lx/a/e0;->b:Z
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
.method public static final a(Ljava/lang/Object;)Ljava/lang/String;
.locals 1
if-eqz p0, :cond_0
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object p0
invoke-virtual {p0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
move-result-object p0
const-string v0, "this::class.java.simpleName"
invoke-static {p0, v0}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
return-object p0
:cond_0
const-string p0, "$this$classSimpleName"
invoke-static {p0}, Lw/u/b/j;->a(Ljava/lang/String;)V
const/4 p0, 0x0
throw p0
.end method
.method public static final a(Lkotlin/coroutines/Continuation;)Ljava/lang/String;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlin/coroutines/Continuation<",
"*>;)",
"Ljava/lang/String;"
}
.end annotation
if-eqz p0, :cond_2
instance-of v0, p0, Lx/a/j0;
if-eqz v0, :cond_0
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object p0
goto :goto_2
:cond_0
const/16 v0, 0x40
:try_start_0
sget-object v1, Lw/i;->d:Lw/i$a;
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-static {p0}, Lx/a/e0;->b(Ljava/lang/Object;)Ljava/lang/String;
move-result-object v2
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-static {v1}, Lw/i;->constructor-impl(Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception v1
sget-object v2, Lw/i;->d:Lw/i$a;
invoke-static {v1}, Le/k/a/c/e/p/g;->createFailure(Ljava/lang/Throwable;)Ljava/lang/Object;
move-result-object v1
:goto_0
invoke-static {v1}, Lw/i;->exceptionOrNull-impl(Ljava/lang/Object;)Ljava/lang/Throwable;
move-result-object v2
if-nez v2, :cond_1
goto :goto_1
:cond_1
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v2
invoke-virtual {v2}, Ljava/lang/Class;->getName()Ljava/lang/String;
move-result-object v2
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-static {p0}, Lx/a/e0;->b(Ljava/lang/Object;)Ljava/lang/String;
move-result-object p0
invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
:goto_1
move-object p0, v1
check-cast p0, Ljava/lang/String;
:goto_2
return-object p0
:cond_2
const-string p0, "$this$toDebugString"
invoke-static {p0}, Lw/u/b/j;->a(Ljava/lang/String;)V
const/4 p0, 0x0
throw p0
.end method
.method public static final b(Ljava/lang/Object;)Ljava/lang/String;
.locals 1
if-eqz p0, :cond_0
invoke-static {p0}, Ljava/lang/System;->identityHashCode(Ljava/lang/Object;)I
move-result p0
invoke-static {p0}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;
move-result-object p0
const-string v0, "Integer.toHexString(System.identityHashCode(this))"
invoke-static {p0, v0}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
return-object p0
:cond_0
const-string p0, "$this$hexAddress"
invoke-static {p0}, Lw/u/b/j;->a(Ljava/lang/String;)V
const/4 p0, 0x0
throw p0
.end method