apkfuckery/com.discord/smali_classes2/l0/a/x.smali

397 lines
8.8 KiB
Smali
Raw Normal View History

2020-09-02 04:07:20 +00:00
.class public final Ll0/a/x;
2020-09-08 08:16:32 +00:00
.super Lk0/k/a;
2020-07-20 19:00:44 +00:00
.source "CoroutineContext.kt"
2020-07-08 16:44:49 +00:00
# interfaces
2020-09-02 04:07:20 +00:00
.implements Ll0/a/m1;
2020-07-20 19:00:44 +00:00
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
2020-09-02 04:07:20 +00:00
Ll0/a/x$a;
2020-07-20 19:00:44 +00:00
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
2020-09-08 08:16:32 +00:00
"Lk0/k/a;",
2020-09-02 04:07:20 +00:00
"Ll0/a/m1<",
2020-07-20 19:00:44 +00:00
"Ljava/lang/String;",
">;"
}
.end annotation
# static fields
2020-09-02 04:07:20 +00:00
.field public static final e:Ll0/a/x$a;
2020-07-20 19:00:44 +00:00
# instance fields
.field public final d:J
2020-07-08 16:44:49 +00:00
# direct methods
2020-07-20 19:00:44 +00:00
.method public static constructor <clinit>()V
.locals 2
2020-09-02 04:07:20 +00:00
new-instance v0, Ll0/a/x$a;
2020-07-20 19:00:44 +00:00
const/4 v1, 0x0
2020-09-02 04:07:20 +00:00
invoke-direct {v0, v1}, Ll0/a/x$a;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
2020-07-20 19:00:44 +00:00
2020-09-02 04:07:20 +00:00
sput-object v0, Ll0/a/x;->e:Ll0/a/x$a;
2020-07-20 19:00:44 +00:00
return-void
.end method
.method public constructor <init>(J)V
2020-07-08 16:44:49 +00:00
.locals 1
2020-09-02 04:07:20 +00:00
sget-object v0, Ll0/a/x;->e:Ll0/a/x$a;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-direct {p0, v0}, Lk0/k/a;-><init>(Lkotlin/coroutines/CoroutineContext$b;)V
2020-07-20 19:00:44 +00:00
2020-09-02 04:07:20 +00:00
iput-wide p1, p0, Ll0/a/x;->d:J
2020-07-08 16:44:49 +00:00
return-void
.end method
# virtual methods
2020-07-20 19:00:44 +00:00
.method public equals(Ljava/lang/Object;)Z
.locals 7
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
const/4 v0, 0x1
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
if-eq p0, p1, :cond_2
2020-07-08 16:44:49 +00:00
2020-09-02 04:07:20 +00:00
instance-of v1, p1, Ll0/a/x;
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
const/4 v2, 0x0
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
if-eqz v1, :cond_1
2020-07-08 16:44:49 +00:00
2020-09-02 04:07:20 +00:00
check-cast p1, Ll0/a/x;
2020-07-20 19:00:44 +00:00
2020-09-02 04:07:20 +00:00
iget-wide v3, p0, Ll0/a/x;->d:J
2020-07-20 19:00:44 +00:00
2020-09-02 04:07:20 +00:00
iget-wide v5, p1, Ll0/a/x;->d:J
2020-07-20 19:00:44 +00:00
cmp-long p1, v3, v5
if-nez p1, :cond_0
const/4 p1, 0x1
goto :goto_0
2020-07-08 16:44:49 +00:00
:cond_0
2020-07-20 19:00:44 +00:00
const/4 p1, 0x0
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
:goto_0
if-eqz p1, :cond_1
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
goto :goto_1
2020-07-08 16:44:49 +00:00
:cond_1
2020-07-20 19:00:44 +00:00
return v2
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
:cond_2
:goto_1
return v0
.end method
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
.method public fold(Ljava/lang/Object;Lkotlin/jvm/functions/Function2;)Ljava/lang/Object;
2020-09-08 08:16:32 +00:00
.locals 0
2020-07-20 19:00:44 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"<R:",
"Ljava/lang/Object;",
">(TR;",
"Lkotlin/jvm/functions/Function2<",
"-TR;-",
"Lkotlin/coroutines/CoroutineContext$a;",
"+TR;>;)TR;"
}
.end annotation
2020-09-08 08:16:32 +00:00
if-eqz p2, :cond_0
2020-07-20 19:00:44 +00:00
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
2020-09-08 08:16:32 +00:00
:cond_0
const-string p1, "operation"
invoke-static {p1}, Lk0/n/c/h;->c(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
2020-07-08 16:44:49 +00:00
.end method
.method public get(Lkotlin/coroutines/CoroutineContext$b;)Lkotlin/coroutines/CoroutineContext$a;
2020-09-08 08:16:32 +00:00
.locals 0
2020-07-08 16:44:49 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"<E::",
"Lkotlin/coroutines/CoroutineContext$a;",
">(",
"Lkotlin/coroutines/CoroutineContext$b<",
"TE;>;)TE;"
}
.end annotation
2020-09-08 08:16:32 +00:00
if-eqz p1, :cond_0
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
invoke-static {p0, p1}, Lkotlin/coroutines/CoroutineContext$a$a;->get(Lkotlin/coroutines/CoroutineContext$a;Lkotlin/coroutines/CoroutineContext$b;)Lkotlin/coroutines/CoroutineContext$a;
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
move-result-object p1
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
return-object p1
2020-09-08 08:16:32 +00:00
:cond_0
const-string p1, "key"
invoke-static {p1}, Lk0/n/c/h;->c(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
2020-07-20 19:00:44 +00:00
.end method
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
.method public hashCode()I
.locals 4
2020-07-08 16:44:49 +00:00
2020-09-02 04:07:20 +00:00
iget-wide v0, p0, Ll0/a/x;->d:J
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
const/16 v2, 0x20
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
ushr-long v2, v0, v2
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
xor-long/2addr v0, v2
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
long-to-int v1, v0
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
return v1
.end method
2020-07-08 16:44:49 +00:00
2020-07-25 00:57:58 +00:00
.method public k(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
2020-07-20 19:00:44 +00:00
.locals 1
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
check-cast p2, Ljava/lang/String;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
const/4 v0, 0x0
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p1, :cond_1
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p2, :cond_0
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
move-result-object p1
const-string v0, "Thread.currentThread()"
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-static {p1, v0}, Lk0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
invoke-virtual {p1, p2}, Ljava/lang/Thread;->setName(Ljava/lang/String;)V
return-void
2020-09-08 08:16:32 +00:00
:cond_0
const-string p1, "oldState"
invoke-static {p1}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw v0
:cond_1
const-string p1, "context"
invoke-static {p1}, Lk0/n/c/h;->c(Ljava/lang/String;)V
throw v0
2020-07-08 16:44:49 +00:00
.end method
2020-07-20 19:00:44 +00:00
.method public minusKey(Lkotlin/coroutines/CoroutineContext$b;)Lkotlin/coroutines/CoroutineContext;
2020-09-08 08:16:32 +00:00
.locals 0
2020-07-08 16:44:49 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2020-07-20 19:00:44 +00:00
"(",
"Lkotlin/coroutines/CoroutineContext$b<",
"*>;)",
"Lkotlin/coroutines/CoroutineContext;"
2020-07-08 16:44:49 +00:00
}
.end annotation
2020-09-08 08:16:32 +00:00
if-eqz p1, :cond_0
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
invoke-static {p0, p1}, Lkotlin/coroutines/CoroutineContext$a$a;->minusKey(Lkotlin/coroutines/CoroutineContext$a;Lkotlin/coroutines/CoroutineContext$b;)Lkotlin/coroutines/CoroutineContext;
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
move-result-object p1
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
return-object p1
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
:cond_0
const-string p1, "key"
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
invoke-static {p1}, Lk0/n/c/h;->c(Ljava/lang/String;)V
const/4 p1, 0x0
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
throw p1
.end method
.method public plus(Lkotlin/coroutines/CoroutineContext;)Lkotlin/coroutines/CoroutineContext;
.locals 0
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p1, :cond_0
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
invoke-static {p0, p1}, Lkotlin/coroutines/CoroutineContext$a$a;->plus(Lkotlin/coroutines/CoroutineContext$a;Lkotlin/coroutines/CoroutineContext;)Lkotlin/coroutines/CoroutineContext;
move-result-object p1
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
return-object p1
2020-09-08 08:16:32 +00:00
:cond_0
const-string p1, "context"
invoke-static {p1}, Lk0/n/c/h;->c(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
2020-07-08 16:44:49 +00:00
.end method
2020-07-25 00:57:58 +00:00
.method public r(Lkotlin/coroutines/CoroutineContext;)Ljava/lang/Object;
2020-07-20 19:00:44 +00:00
.locals 6
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
if-eqz p1, :cond_1
2020-09-02 04:07:20 +00:00
sget-object v0, Ll0/a/y;->e:Ll0/a/y$a;
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
invoke-interface {p1, v0}, Lkotlin/coroutines/CoroutineContext;->get(Lkotlin/coroutines/CoroutineContext$b;)Lkotlin/coroutines/CoroutineContext$a;
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
move-result-object p1
2020-07-08 16:44:49 +00:00
2020-09-02 04:07:20 +00:00
check-cast p1, Ll0/a/y;
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
move-result-object p1
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
const-string v0, "currentThread"
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-static {p1, v0}, Lk0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
invoke-virtual {p1}, Ljava/lang/Thread;->getName()Ljava/lang/String;
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
move-result-object v0
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
const-string v1, "oldName"
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-static {v0, v1}, Lk0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
const/4 v1, 0x6
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
const-string v2, " @"
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
const/4 v3, 0x0
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-static {v0, v2, v3, v3, v1}, Lk0/t/p;->lastIndexOf$default(Ljava/lang/CharSequence;Ljava/lang/String;IZI)I
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
move-result v1
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
if-gez v1, :cond_0
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
invoke-virtual {v0}, Ljava/lang/String;->length()I
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
move-result v1
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
:cond_0
const/16 v4, 0x9
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
add-int/2addr v4, v1
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
add-int/lit8 v4, v4, 0xa
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
new-instance v5, Ljava/lang/StringBuilder;
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
invoke-direct {v5, v4}, Ljava/lang/StringBuilder;-><init>(I)V
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
invoke-virtual {v0, v3, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String;
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
move-result-object v1
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
const-string v3, "(this as java.lang.Strin\u2026ing(startIndex, endIndex)"
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-static {v1, v3}, Lk0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
invoke-virtual {v5, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
invoke-virtual {v5, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
const-string v1, "coroutine"
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
invoke-virtual {v5, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
const/16 v1, 0x23
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
invoke-virtual {v5, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
2020-07-08 16:44:49 +00:00
2020-09-02 04:07:20 +00:00
iget-wide v1, p0, Ll0/a/x;->d:J
2020-07-20 19:00:44 +00:00
invoke-virtual {v5, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
const-string v2, "StringBuilder(capacity).\u2026builderAction).toString()"
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
invoke-static {v1, v2}, Lk0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-20 19:00:44 +00:00
invoke-virtual {p1, v1}, Ljava/lang/Thread;->setName(Ljava/lang/String;)V
return-object v0
2020-09-08 08:16:32 +00:00
:cond_1
const-string p1, "context"
invoke-static {p1}, Lk0/n/c/h;->c(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
2020-07-08 16:44:49 +00:00
.end method
.method public toString()Ljava/lang/String;
2020-07-20 19:00:44 +00:00
.locals 3
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
const-string v0, "CoroutineId("
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
invoke-static {v0}, Lf/e/b/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
move-result-object v0
2020-07-08 16:44:49 +00:00
2020-09-02 04:07:20 +00:00
iget-wide v1, p0, Ll0/a/x;->d:J
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
const/16 v1, 0x29
2020-07-08 16:44:49 +00:00
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