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

335 lines
7.6 KiB
Smali
Raw Normal View History

2020-09-16 21:45:36 +00:00
.class public final Ll0/a/f0;
.super Ll0/a/i0;
.source "Dispatched.kt"
# interfaces
.implements Lkotlin/coroutines/jvm/internal/CoroutineStackFrame;
.implements Lkotlin/coroutines/Continuation;
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
2020-09-16 21:45:36 +00:00
"Ll0/a/i0<",
"TT;>;",
"Lkotlin/coroutines/jvm/internal/CoroutineStackFrame;",
"Lkotlin/coroutines/Continuation<",
"TT;>;"
2020-07-20 19:00:44 +00:00
}
.end annotation
# instance fields
2020-09-16 21:45:36 +00:00
.field public g:Ljava/lang/Object;
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
.field public final h:Lkotlin/coroutines/jvm/internal/CoroutineStackFrame;
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
.field public final i:Ljava/lang/Object;
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
.field public final j:Ll0/a/v;
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
.field public final k:Lkotlin/coroutines/Continuation;
2020-07-20 19:00:44 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/coroutines/Continuation<",
"TT;>;"
}
.end annotation
2020-09-16 21:45:36 +00:00
.end field
2020-05-17 12:40:10 +00:00
2020-09-16 21:45:36 +00:00
# direct methods
.method public constructor <init>(Ll0/a/v;Lkotlin/coroutines/Continuation;)V
.locals 1
2020-07-20 19:00:44 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2020-09-16 21:45:36 +00:00
"(",
"Ll0/a/v;",
"Lkotlin/coroutines/Continuation<",
"-TT;>;)V"
2020-07-20 19:00:44 +00:00
}
.end annotation
2020-09-16 21:45:36 +00:00
const/4 v0, 0x0
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
invoke-direct {p0, v0}, Ll0/a/i0;-><init>(I)V
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
iput-object p1, p0, Ll0/a/f0;->j:Ll0/a/v;
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
iput-object p2, p0, Ll0/a/f0;->k:Lkotlin/coroutines/Continuation;
2020-09-09 19:21:20 +00:00
2020-09-16 21:45:36 +00:00
sget-object p1, Ll0/a/h0;->a:Ll0/a/r1/v;
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
iput-object p1, p0, Ll0/a/f0;->g:Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
2020-09-16 21:45:36 +00:00
instance-of p1, p2, Lkotlin/coroutines/jvm/internal/CoroutineStackFrame;
2020-05-17 12:40:10 +00:00
2020-09-16 21:45:36 +00:00
if-nez p1, :cond_0
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
const/4 p2, 0x0
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
:cond_0
check-cast p2, Lkotlin/coroutines/jvm/internal/CoroutineStackFrame;
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
iput-object p2, p0, Ll0/a/f0;->h:Lkotlin/coroutines/jvm/internal/CoroutineStackFrame;
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
invoke-virtual {p0}, Ll0/a/f0;->getContext()Lkotlin/coroutines/CoroutineContext;
2020-05-17 12:40:10 +00:00
2020-09-16 21:45:36 +00:00
move-result-object p1
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
invoke-static {p1}, Ll0/a/r1/x;->b(Lkotlin/coroutines/CoroutineContext;)Ljava/lang/Object;
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
move-result-object p1
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
iput-object p1, p0, Ll0/a/f0;->i:Ljava/lang/Object;
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
return-void
.end method
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
# virtual methods
.method public e()Lkotlin/coroutines/Continuation;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lkotlin/coroutines/Continuation<",
"TT;>;"
}
.end annotation
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
return-object p0
.end method
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
.method public getCallerFrame()Lkotlin/coroutines/jvm/internal/CoroutineStackFrame;
.locals 1
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
iget-object v0, p0, Ll0/a/f0;->h:Lkotlin/coroutines/jvm/internal/CoroutineStackFrame;
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
return-object v0
.end method
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
.method public getContext()Lkotlin/coroutines/CoroutineContext;
.locals 1
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
iget-object v0, p0, Ll0/a/f0;->k:Lkotlin/coroutines/Continuation;
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
invoke-interface {v0}, Lkotlin/coroutines/Continuation;->getContext()Lkotlin/coroutines/CoroutineContext;
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
move-result-object v0
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
return-object v0
.end method
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
.method public getStackTraceElement()Ljava/lang/StackTraceElement;
.locals 1
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
const/4 v0, 0x0
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
return-object v0
.end method
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
.method public i()Ljava/lang/Object;
.locals 2
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
iget-object v0, p0, Ll0/a/f0;->g:Ljava/lang/Object;
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
sget-boolean v1, Ll0/a/b0;->a:Z
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
if-eqz v1, :cond_2
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
sget-object v1, Ll0/a/h0;->a:Ll0/a/r1/v;
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
if-eq v0, v1, :cond_0
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
const/4 v1, 0x1
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
goto :goto_0
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
:cond_0
const/4 v1, 0x0
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
:goto_0
if-eqz v1, :cond_1
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
goto :goto_1
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
:cond_1
new-instance v0, Ljava/lang/AssertionError;
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
invoke-direct {v0}, Ljava/lang/AssertionError;-><init>()V
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
throw v0
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
:cond_2
:goto_1
sget-object v1, Ll0/a/h0;->a:Ll0/a/r1/v;
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
iput-object v1, p0, Ll0/a/f0;->g:Ljava/lang/Object;
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
return-object v0
.end method
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
.method public resumeWith(Ljava/lang/Object;)V
.locals 5
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
iget-object v0, p0, Ll0/a/f0;->k:Lkotlin/coroutines/Continuation;
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
invoke-interface {v0}, Lkotlin/coroutines/Continuation;->getContext()Lkotlin/coroutines/CoroutineContext;
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
move-result-object v0
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
invoke-static {p1}, Lf/n/a/k/a;->k0(Ljava/lang/Object;)Ljava/lang/Object;
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
move-result-object v1
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
iget-object v2, p0, Ll0/a/f0;->j:Ll0/a/v;
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
invoke-virtual {v2, v0}, Ll0/a/v;->isDispatchNeeded(Lkotlin/coroutines/CoroutineContext;)Z
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
move-result v2
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
const/4 v3, 0x0
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
if-eqz v2, :cond_0
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
iput-object v1, p0, Ll0/a/f0;->g:Ljava/lang/Object;
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
iput v3, p0, Ll0/a/i0;->f:I
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
iget-object p1, p0, Ll0/a/f0;->j:Ll0/a/v;
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
invoke-virtual {p1, v0, p0}, Ll0/a/v;->dispatch(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)V
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
goto :goto_1
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
:cond_0
sget-object v0, Ll0/a/n1;->b:Ll0/a/n1;
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
invoke-static {}, Ll0/a/n1;->a()Ll0/a/n0;
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
move-result-object v0
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
invoke-virtual {v0}, Ll0/a/n0;->A()Z
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
move-result v2
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
if-eqz v2, :cond_1
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
iput-object v1, p0, Ll0/a/f0;->g:Ljava/lang/Object;
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
iput v3, p0, Ll0/a/i0;->f:I
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
invoke-virtual {v0, p0}, Ll0/a/n0;->x(Ll0/a/i0;)V
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
goto :goto_1
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
:cond_1
const/4 v1, 0x1
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
invoke-virtual {v0, v1}, Ll0/a/n0;->z(Z)V
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
:try_start_0
invoke-virtual {p0}, Ll0/a/f0;->getContext()Lkotlin/coroutines/CoroutineContext;
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
move-result-object v2
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
iget-object v3, p0, Ll0/a/f0;->i:Ljava/lang/Object;
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
invoke-static {v2, v3}, Ll0/a/r1/x;->c(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)Ljava/lang/Object;
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
move-result-object v3
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
:try_start_1
iget-object v4, p0, Ll0/a/f0;->k:Lkotlin/coroutines/Continuation;
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
invoke-interface {v4, p1}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
:try_start_2
invoke-static {v2, v3}, Ll0/a/r1/x;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
:cond_2
invoke-virtual {v0}, Ll0/a/n0;->C()Z
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
move-result p1
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
if-nez p1, :cond_2
2020-09-09 19:21:20 +00:00
2020-09-16 21:45:36 +00:00
goto :goto_0
2020-09-09 19:21:20 +00:00
2020-09-16 21:45:36 +00:00
:catchall_0
move-exception p1
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
invoke-static {v2, v3}, Ll0/a/r1/x;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
2020-09-09 19:21:20 +00:00
2020-09-16 21:45:36 +00:00
throw p1
2020-09-09 19:21:20 +00:00
:try_end_2
2020-09-16 21:45:36 +00:00
.catchall {:try_start_2 .. :try_end_2} :catchall_1
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
:catchall_1
move-exception p1
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
const/4 v2, 0x0
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
:try_start_3
invoke-virtual {p0, p1, v2}, Ll0/a/i0;->h(Ljava/lang/Throwable;Ljava/lang/Throwable;)V
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_2
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
:goto_0
invoke-virtual {v0, v1}, Ll0/a/n0;->v(Z)V
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
:goto_1
return-void
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
:catchall_2
move-exception p1
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
invoke-virtual {v0, v1}, Ll0/a/n0;->v(Z)V
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
throw p1
.end method
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
.method public toString()Ljava/lang/String;
.locals 2
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
const-string v0, "DispatchedContinuation["
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
invoke-static {v0}, Lf/e/b/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
move-result-object v0
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
iget-object v1, p0, Ll0/a/f0;->j:Ll0/a/v;
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
const-string v1, ", "
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
iget-object v1, p0, Ll0/a/f0;->k:Lkotlin/coroutines/Continuation;
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
invoke-static {v1}, Lf/n/a/k/a;->j0(Lkotlin/coroutines/Continuation;)Ljava/lang/String;
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
move-result-object v1
2020-07-20 19:00:44 +00:00
2020-09-16 21:45:36 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-09-09 19:21:20 +00:00
2020-09-16 21:45:36 +00:00
const/16 v1, 0x5d
2020-09-09 19:21:20 +00:00
2020-09-16 21:45:36 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
2020-09-09 19:21:20 +00:00
2020-09-16 21:45:36 +00:00
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
2020-07-20 19:00:44 +00:00
move-result-object v0
2020-09-16 21:45:36 +00:00
return-object v0
2020-07-20 19:00:44 +00:00
.end method