apkfuckery/com.discord/smali_classes2/z/a/z.smali
2020-05-11 21:22:21 +02:00

410 lines
9 KiB
Smali

.class public final Lz/a/z;
.super Ly/s/a;
.source "CoroutineContext.kt"
# interfaces
.implements Lz/a/s1;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lz/a/z$a;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ly/s/a;",
"Lz/a/s1<",
"Ljava/lang/String;",
">;"
}
.end annotation
# static fields
.field public static final e:Lz/a/z$a;
# instance fields
.field public final d:J
# direct methods
.method public static constructor <clinit>()V
.locals 2
new-instance v0, Lz/a/z$a;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lz/a/z$a;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
sput-object v0, Lz/a/z;->e:Lz/a/z$a;
return-void
.end method
.method public constructor <init>(J)V
.locals 1
sget-object v0, Lz/a/z;->e:Lz/a/z$a;
invoke-direct {p0, v0}, Ly/s/a;-><init>(Lkotlin/coroutines/CoroutineContext$b;)V
iput-wide p1, p0, Lz/a/z;->d:J
return-void
.end method
# virtual methods
.method public a(Lkotlin/coroutines/CoroutineContext;)Ljava/lang/Object;
.locals 7
if-eqz p1, :cond_2
sget-object v0, Lz/a/a0;->e:Lz/a/a0$a;
invoke-interface {p1, v0}, Lkotlin/coroutines/CoroutineContext;->get(Lkotlin/coroutines/CoroutineContext$b;)Lkotlin/coroutines/CoroutineContext$a;
move-result-object p1
check-cast p1, Lz/a/a0;
if-eqz p1, :cond_0
invoke-virtual {p1}, Lz/a/a0;->e()Ljava/lang/String;
move-result-object p1
if-eqz p1, :cond_0
goto :goto_0
:cond_0
const-string p1, "coroutine"
:goto_0
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
move-result-object v0
const-string v1, "currentThread"
invoke-static {v0, v1}, Ly/v/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {v0}, Ljava/lang/Thread;->getName()Ljava/lang/String;
move-result-object v1
const-string v2, "oldName"
invoke-static {v1, v2}, Ly/v/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const/4 v2, 0x6
const-string v3, " @"
const/4 v4, 0x0
invoke-static {v1, v3, v4, v4, v2}, Ly/b0/u;->lastIndexOf$default(Ljava/lang/CharSequence;Ljava/lang/String;IZI)I
move-result v2
if-gez v2, :cond_1
invoke-virtual {v1}, Ljava/lang/String;->length()I
move-result v2
:cond_1
invoke-virtual {p1}, Ljava/lang/String;->length()I
move-result v5
add-int/2addr v5, v2
add-int/lit8 v5, v5, 0xa
new-instance v6, Ljava/lang/StringBuilder;
invoke-direct {v6, v5}, Ljava/lang/StringBuilder;-><init>(I)V
invoke-virtual {v1, v4, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object v2
const-string v4, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)"
invoke-static {v2, v4}, Ly/v/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {v6, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v6, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v6, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const/16 p1, 0x23
invoke-virtual {v6, p1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
iget-wide v2, p0, Lz/a/z;->d:J
invoke-virtual {v6, v2, v3}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
const-string v2, "StringBuilder(capacity).\u2026builderAction).toString()"
invoke-static {p1, v2}, Ly/v/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {v0, p1}, Ljava/lang/Thread;->setName(Ljava/lang/String;)V
return-object v1
:cond_2
const-string p1, "context"
invoke-static {p1}, Ly/v/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
.locals 1
check-cast p2, Ljava/lang/String;
const/4 v0, 0x0
if-eqz p1, :cond_1
if-eqz p2, :cond_0
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
move-result-object p1
const-string v0, "Thread.currentThread()"
invoke-static {p1, v0}, Ly/v/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p1, p2}, Ljava/lang/Thread;->setName(Ljava/lang/String;)V
return-void
:cond_0
const-string p1, "oldState"
invoke-static {p1}, Ly/v/b/j;->a(Ljava/lang/String;)V
throw v0
:cond_1
const-string p1, "context"
invoke-static {p1}, Ly/v/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
.method public equals(Ljava/lang/Object;)Z
.locals 7
const/4 v0, 0x1
if-eq p0, p1, :cond_2
instance-of v1, p1, Lz/a/z;
const/4 v2, 0x0
if-eqz v1, :cond_1
check-cast p1, Lz/a/z;
iget-wide v3, p0, Lz/a/z;->d:J
iget-wide v5, p1, Lz/a/z;->d:J
cmp-long p1, v3, v5
if-nez p1, :cond_0
const/4 p1, 0x1
goto :goto_0
:cond_0
const/4 p1, 0x0
:goto_0
if-eqz p1, :cond_1
goto :goto_1
:cond_1
return v2
:cond_2
:goto_1
return v0
.end method
.method public fold(Ljava/lang/Object;Lkotlin/jvm/functions/Function2;)Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"<R:",
"Ljava/lang/Object;",
">(TR;",
"Lkotlin/jvm/functions/Function2<",
"-TR;-",
"Lkotlin/coroutines/CoroutineContext$a;",
"+TR;>;)TR;"
}
.end annotation
if-eqz p2, :cond_0
invoke-static {p0, p1, p2}, Lkotlin/coroutines/CoroutineContext$a$a;->fold(Lkotlin/coroutines/CoroutineContext$a;Ljava/lang/Object;Lkotlin/jvm/functions/Function2;)Ljava/lang/Object;
move-result-object p1
return-object p1
:cond_0
const-string p1, "operation"
invoke-static {p1}, Ly/v/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public get(Lkotlin/coroutines/CoroutineContext$b;)Lkotlin/coroutines/CoroutineContext$a;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"<E::",
"Lkotlin/coroutines/CoroutineContext$a;",
">(",
"Lkotlin/coroutines/CoroutineContext$b<",
"TE;>;)TE;"
}
.end annotation
if-eqz p1, :cond_0
invoke-static {p0, p1}, Lkotlin/coroutines/CoroutineContext$a$a;->get(Lkotlin/coroutines/CoroutineContext$a;Lkotlin/coroutines/CoroutineContext$b;)Lkotlin/coroutines/CoroutineContext$a;
move-result-object p1
return-object p1
:cond_0
const-string p1, "key"
invoke-static {p1}, Ly/v/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public hashCode()I
.locals 4
iget-wide v0, p0, Lz/a/z;->d:J
const/16 v2, 0x20
ushr-long v2, v0, v2
xor-long/2addr v0, v2
long-to-int v1, v0
return v1
.end method
.method public minusKey(Lkotlin/coroutines/CoroutineContext$b;)Lkotlin/coroutines/CoroutineContext;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlin/coroutines/CoroutineContext$b<",
"*>;)",
"Lkotlin/coroutines/CoroutineContext;"
}
.end annotation
if-eqz p1, :cond_0
invoke-static {p0, p1}, Lkotlin/coroutines/CoroutineContext$a$a;->minusKey(Lkotlin/coroutines/CoroutineContext$a;Lkotlin/coroutines/CoroutineContext$b;)Lkotlin/coroutines/CoroutineContext;
move-result-object p1
return-object p1
:cond_0
const-string p1, "key"
invoke-static {p1}, Ly/v/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public plus(Lkotlin/coroutines/CoroutineContext;)Lkotlin/coroutines/CoroutineContext;
.locals 0
if-eqz p1, :cond_0
invoke-static {p0, p1}, Lkotlin/coroutines/CoroutineContext$a$a;->plus(Lkotlin/coroutines/CoroutineContext$a;Lkotlin/coroutines/CoroutineContext;)Lkotlin/coroutines/CoroutineContext;
move-result-object p1
return-object p1
:cond_0
const-string p1, "context"
invoke-static {p1}, Ly/v/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
.method public toString()Ljava/lang/String;
.locals 3
const-string v0, "CoroutineId("
invoke-static {v0}, Lf/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
iget-wide v1, p0, Lz/a/z;->d:J
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const/16 v1, 0x29
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method