apkfuckery/com.discord/smali_classes2/d0/a/v.smali

346 lines
7.6 KiB
Smali
Raw Normal View History

2020-09-22 07:09:10 +00:00
.class public abstract Ld0/a/v;
.super Lc0/k/a;
2020-07-20 19:00:44 +00:00
.source "CoroutineDispatcher.kt"
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
# interfaces
2020-09-22 07:09:10 +00:00
.implements Lc0/k/d;
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
2020-09-16 23:45:23 +00:00
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
2020-09-22 07:09:10 +00:00
Ld0/a/v$a;
2020-09-16 23:45:23 +00:00
}
.end annotation
# static fields
2020-09-22 07:09:10 +00:00
.field public static final Key:Ld0/a/v$a;
2020-09-16 23:45:23 +00:00
2020-07-20 19:00:44 +00:00
# direct methods
2020-09-16 23:45:23 +00:00
.method public static constructor <clinit>()V
.locals 2
2020-09-22 07:09:10 +00:00
new-instance v0, Ld0/a/v$a;
2020-09-16 23:45:23 +00:00
const/4 v1, 0x0
2020-09-22 07:09:10 +00:00
invoke-direct {v0, v1}, Ld0/a/v$a;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
2020-09-16 23:45:23 +00:00
2020-09-22 07:09:10 +00:00
sput-object v0, Ld0/a/v;->Key:Ld0/a/v$a;
2020-09-16 23:45:23 +00:00
return-void
.end method
2020-07-20 19:00:44 +00:00
.method public constructor <init>()V
.locals 1
2020-09-22 07:09:10 +00:00
sget-object v0, Lc0/k/d;->a:Lc0/k/d$a;
2020-07-20 19:00:44 +00:00
2020-09-22 07:09:10 +00:00
invoke-direct {p0, v0}, Lc0/k/a;-><init>(Lkotlin/coroutines/CoroutineContext$b;)V
2020-07-20 19:00:44 +00:00
return-void
.end method
2020-05-17 12:40:10 +00:00
# virtual methods
2020-07-20 19:00:44 +00:00
.method public abstract dispatch(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)V
.end method
.method public dispatchYield(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)V
2020-09-16 23:45:23 +00:00
.locals 0
2020-07-20 19:00:44 +00:00
2020-09-22 07:09:10 +00:00
invoke-virtual {p0, p1, p2}, Ld0/a/v;->dispatch(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)V
2020-07-20 19:00:44 +00:00
2020-09-02 04:07:20 +00:00
return-void
2020-07-20 19:00:44 +00:00
.end method
.method public get(Lkotlin/coroutines/CoroutineContext$b;)Lkotlin/coroutines/CoroutineContext$a;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"<E::",
"Lkotlin/coroutines/CoroutineContext$a;",
">(",
"Lkotlin/coroutines/CoroutineContext$b<",
"TE;>;)TE;"
}
.end annotation
const-string v0, "key"
2020-09-23 03:12:49 +00:00
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-20 19:00:44 +00:00
2020-09-22 07:09:10 +00:00
instance-of v1, p1, Lc0/k/b;
2020-07-20 19:00:44 +00:00
2020-09-16 23:45:23 +00:00
const/4 v2, 0x0
2020-07-20 19:00:44 +00:00
2020-09-16 23:45:23 +00:00
if-eqz v1, :cond_3
2020-07-20 19:00:44 +00:00
2020-09-22 07:09:10 +00:00
check-cast p1, Lc0/k/b;
2020-07-20 19:00:44 +00:00
invoke-interface {p0}, Lkotlin/coroutines/CoroutineContext$a;->getKey()Lkotlin/coroutines/CoroutineContext$b;
2020-09-16 23:45:23 +00:00
move-result-object v1
2020-07-20 19:00:44 +00:00
2020-09-23 03:12:49 +00:00
invoke-static {v1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-20 19:00:44 +00:00
2020-09-16 23:45:23 +00:00
if-eq v1, p1, :cond_1
2020-09-09 19:21:20 +00:00
2020-09-22 07:09:10 +00:00
iget-object v0, p1, Lc0/k/b;->a:Lkotlin/coroutines/CoroutineContext$b;
2020-09-16 23:45:23 +00:00
if-ne v0, v1, :cond_0
2020-07-20 19:00:44 +00:00
goto :goto_0
:cond_0
2020-09-16 23:45:23 +00:00
const/4 v0, 0x0
2020-09-09 19:21:20 +00:00
2020-09-16 21:45:36 +00:00
goto :goto_1
2020-09-09 19:21:20 +00:00
2020-09-16 21:45:36 +00:00
:cond_1
2020-09-16 23:45:23 +00:00
:goto_0
const/4 v0, 0x1
:goto_1
if-eqz v0, :cond_4
const-string v0, "element"
2020-09-23 03:12:49 +00:00
invoke-static {p0, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-16 23:45:23 +00:00
2020-09-22 07:09:10 +00:00
iget-object p1, p1, Lc0/k/b;->b:Lkotlin/jvm/functions/Function1;
2020-09-16 23:45:23 +00:00
invoke-interface {p1, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lkotlin/coroutines/CoroutineContext$a;
instance-of v0, p1, Lkotlin/coroutines/CoroutineContext$a;
if-nez v0, :cond_2
goto :goto_2
2020-07-20 19:00:44 +00:00
2020-09-08 08:16:32 +00:00
:cond_2
2020-09-16 23:45:23 +00:00
move-object v2, p1
2020-07-20 19:00:44 +00:00
2020-09-16 23:45:23 +00:00
goto :goto_2
2020-07-20 19:00:44 +00:00
2020-09-08 08:16:32 +00:00
:cond_3
2020-09-22 07:09:10 +00:00
sget-object v0, Lc0/k/d;->a:Lc0/k/d$a;
2020-07-20 19:00:44 +00:00
2020-09-08 08:16:32 +00:00
if-ne v0, p1, :cond_4
2020-07-20 19:00:44 +00:00
2020-09-16 23:45:23 +00:00
move-object v2, p0
2020-07-20 19:00:44 +00:00
2020-09-08 08:16:32 +00:00
:cond_4
2020-09-16 23:45:23 +00:00
:goto_2
return-object v2
2020-07-20 19:00:44 +00:00
.end method
.method public final interceptContinuation(Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Lkotlin/coroutines/Continuation<",
"-TT;>;)",
"Lkotlin/coroutines/Continuation<",
"TT;>;"
}
.end annotation
2020-09-22 07:09:10 +00:00
new-instance v0, Ld0/a/c0;
2020-07-20 19:00:44 +00:00
2020-09-22 07:09:10 +00:00
invoke-direct {v0, p0, p1}, Ld0/a/c0;-><init>(Ld0/a/v;Lkotlin/coroutines/Continuation;)V
2020-07-20 19:00:44 +00:00
2020-09-02 04:07:20 +00:00
return-object v0
2020-07-20 19:00:44 +00:00
.end method
.method public isDispatchNeeded(Lkotlin/coroutines/CoroutineContext;)Z
2020-09-08 08:16:32 +00:00
.locals 0
2020-07-20 19:00:44 +00:00
const/4 p1, 0x1
return p1
.end method
.method public minusKey(Lkotlin/coroutines/CoroutineContext$b;)Lkotlin/coroutines/CoroutineContext;
2020-09-16 23:45:23 +00:00
.locals 2
2020-05-17 12:40:10 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2020-07-20 19:00:44 +00:00
"(",
"Lkotlin/coroutines/CoroutineContext$b<",
"*>;)",
"Lkotlin/coroutines/CoroutineContext;"
2020-05-17 12:40:10 +00:00
}
.end annotation
2020-07-20 19:00:44 +00:00
const-string v0, "key"
2020-09-23 03:12:49 +00:00
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-20 19:00:44 +00:00
2020-09-22 07:09:10 +00:00
instance-of v1, p1, Lc0/k/b;
2020-07-20 19:00:44 +00:00
2020-09-16 23:45:23 +00:00
if-eqz v1, :cond_3
2020-07-20 19:00:44 +00:00
2020-09-22 07:09:10 +00:00
check-cast p1, Lc0/k/b;
2020-07-20 19:00:44 +00:00
invoke-interface {p0}, Lkotlin/coroutines/CoroutineContext$a;->getKey()Lkotlin/coroutines/CoroutineContext$b;
2020-09-16 23:45:23 +00:00
move-result-object v1
2020-07-20 19:00:44 +00:00
2020-09-23 03:12:49 +00:00
invoke-static {v1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-07-20 19:00:44 +00:00
2020-09-16 23:45:23 +00:00
if-eq v1, p1, :cond_1
2020-09-09 19:21:20 +00:00
2020-09-22 07:09:10 +00:00
iget-object v0, p1, Lc0/k/b;->a:Lkotlin/coroutines/CoroutineContext$b;
2020-09-16 23:45:23 +00:00
if-ne v0, v1, :cond_0
2020-07-20 19:00:44 +00:00
goto :goto_0
:cond_0
2020-09-16 23:45:23 +00:00
const/4 v0, 0x0
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
goto :goto_1
2020-09-02 04:07:20 +00:00
2020-09-16 21:45:36 +00:00
:cond_1
2020-09-16 23:45:23 +00:00
:goto_0
const/4 v0, 0x1
2020-09-09 19:21:20 +00:00
2020-09-16 23:45:23 +00:00
:goto_1
if-eqz v0, :cond_2
2020-09-09 19:21:20 +00:00
2020-09-16 23:45:23 +00:00
const-string v0, "element"
2020-09-09 19:21:20 +00:00
2020-09-23 03:12:49 +00:00
invoke-static {p0, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
2020-09-09 19:21:20 +00:00
2020-09-22 07:09:10 +00:00
iget-object p1, p1, Lc0/k/b;->b:Lkotlin/jvm/functions/Function1;
2020-09-16 23:45:23 +00:00
invoke-interface {p1, p0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lkotlin/coroutines/CoroutineContext$a;
if-eqz p1, :cond_2
2020-07-20 19:00:44 +00:00
2020-09-22 07:09:10 +00:00
sget-object p1, Lc0/k/f;->d:Lc0/k/f;
2020-07-20 19:00:44 +00:00
goto :goto_2
2020-09-16 23:45:23 +00:00
:cond_2
2020-07-20 19:00:44 +00:00
move-object p1, p0
2020-09-16 23:45:23 +00:00
goto :goto_2
:cond_3
2020-09-22 07:09:10 +00:00
sget-object v0, Lc0/k/d;->a:Lc0/k/d$a;
2020-09-16 23:45:23 +00:00
if-ne v0, p1, :cond_2
2020-09-16 21:45:36 +00:00
2020-09-22 07:09:10 +00:00
sget-object p1, Lc0/k/f;->d:Lc0/k/f;
2020-09-16 21:45:36 +00:00
2020-09-16 23:45:23 +00:00
:goto_2
return-object p1
2020-07-20 19:00:44 +00:00
.end method
2020-09-22 07:09:10 +00:00
.method public final plus(Ld0/a/v;)Ld0/a/v;
2020-09-08 08:16:32 +00:00
.locals 0
2020-07-20 19:00:44 +00:00
2020-09-02 04:07:20 +00:00
return-object p1
2020-07-20 19:00:44 +00:00
.end method
.method public releaseInterceptedContinuation(Lkotlin/coroutines/Continuation;)V
2020-09-16 23:45:23 +00:00
.locals 1
2020-07-20 19:00:44 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlin/coroutines/Continuation<",
"*>;)V"
}
.end annotation
2020-09-16 23:45:23 +00:00
if-eqz p1, :cond_3
2020-09-09 19:21:20 +00:00
2020-09-22 07:09:10 +00:00
check-cast p1, Ld0/a/c0;
2020-09-09 19:21:20 +00:00
2020-09-22 07:09:10 +00:00
iget-object p1, p1, Ld0/a/c0;->_reusableCancellableContinuation:Ljava/lang/Object;
2020-09-09 19:21:20 +00:00
2020-09-22 07:09:10 +00:00
instance-of v0, p1, Ld0/a/g;
2020-09-16 23:45:23 +00:00
if-nez v0, :cond_0
2020-09-09 19:21:20 +00:00
2020-09-16 21:45:36 +00:00
const/4 p1, 0x0
2020-09-09 19:21:20 +00:00
2020-09-16 23:45:23 +00:00
:cond_0
2020-09-22 07:09:10 +00:00
check-cast p1, Ld0/a/g;
2020-09-16 23:45:23 +00:00
if-eqz p1, :cond_2
2020-09-22 07:09:10 +00:00
iget-object v0, p1, Ld0/a/g;->_parentHandle:Ljava/lang/Object;
2020-09-16 23:45:23 +00:00
2020-09-22 07:09:10 +00:00
check-cast v0, Ld0/a/h0;
2020-09-16 23:45:23 +00:00
if-eqz v0, :cond_1
2020-09-22 07:09:10 +00:00
invoke-interface {v0}, Ld0/a/h0;->dispose()V
2020-09-16 23:45:23 +00:00
:cond_1
2020-09-22 07:09:10 +00:00
sget-object v0, Ld0/a/f1;->d:Ld0/a/f1;
2020-09-16 23:45:23 +00:00
2020-09-22 07:09:10 +00:00
iput-object v0, p1, Ld0/a/g;->_parentHandle:Ljava/lang/Object;
2020-09-16 23:45:23 +00:00
:cond_2
return-void
:cond_3
new-instance p1, Lkotlin/TypeCastException;
const-string v0, "null cannot be cast to non-null type kotlinx.coroutines.DispatchedContinuation<*>"
invoke-direct {p1, v0}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
2020-09-08 08:16:32 +00:00
throw p1
2020-07-20 19:00:44 +00:00
.end method
.method public toString()Ljava/lang/String;
.locals 2
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
2020-09-16 23:45:23 +00:00
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
2020-07-20 19:00:44 +00:00
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const/16 v1, 0x40
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
2020-09-22 07:09:10 +00:00
invoke-static {p0}, Lc0/j/a;->t(Ljava/lang/Object;)Ljava/lang/String;
2020-07-20 19:00:44 +00:00
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
2020-05-17 12:40:10 +00:00
.end method