apkfuckery/com.discord/smali_classes2/t/a/j0.smali

355 lines
8 KiB
Smali
Raw Normal View History

2019-12-06 03:29:40 +00:00
.class public final Lt/a/j0;
.super Lt/a/m0;
.source "Dispatched.kt"
# interfaces
.implements Lkotlin/coroutines/jvm/internal/CoroutineStackFrame;
.implements Lkotlin/coroutines/Continuation;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Lt/a/m0<",
"TT;>;",
"Lkotlin/coroutines/jvm/internal/CoroutineStackFrame;",
"Lkotlin/coroutines/Continuation<",
"TT;>;"
}
.end annotation
# instance fields
.field public g:Ljava/lang/Object;
.field public final h:Lkotlin/coroutines/jvm/internal/CoroutineStackFrame;
.field public final i:Ljava/lang/Object;
.field public final j:Lt/a/x;
.field public final k:Lkotlin/coroutines/Continuation;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lkotlin/coroutines/Continuation<",
"TT;>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lt/a/x;Lkotlin/coroutines/Continuation;)V
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lt/a/x;",
"Lkotlin/coroutines/Continuation<",
"-TT;>;)V"
}
.end annotation
const/4 v0, 0x0
if-eqz p1, :cond_2
if-eqz p2, :cond_1
const/4 v1, 0x0
invoke-direct {p0, v1}, Lt/a/m0;-><init>(I)V
iput-object p1, p0, Lt/a/j0;->j:Lt/a/x;
iput-object p2, p0, Lt/a/j0;->k:Lkotlin/coroutines/Continuation;
sget-object p1, Lt/a/l0;->a:Lt/a/a2/v;
iput-object p1, p0, Lt/a/j0;->g:Ljava/lang/Object;
iget-object p1, p0, Lt/a/j0;->k:Lkotlin/coroutines/Continuation;
instance-of p2, p1, Lkotlin/coroutines/jvm/internal/CoroutineStackFrame;
if-nez p2, :cond_0
move-object p1, v0
:cond_0
check-cast p1, Lkotlin/coroutines/jvm/internal/CoroutineStackFrame;
iput-object p1, p0, Lt/a/j0;->h:Lkotlin/coroutines/jvm/internal/CoroutineStackFrame;
invoke-virtual {p0}, Lt/a/j0;->getContext()Lkotlin/coroutines/CoroutineContext;
move-result-object p1
invoke-static {p1}, Lt/a/a2/x;->a(Lkotlin/coroutines/CoroutineContext;)Ljava/lang/Object;
move-result-object p1
iput-object p1, p0, Lt/a/j0;->i:Ljava/lang/Object;
return-void
:cond_1
const-string p1, "continuation"
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
throw v0
:cond_2
const-string p1, "dispatcher"
invoke-static {p1}, Ls/u/b/j;->a(Ljava/lang/String;)V
throw v0
.end method
# virtual methods
.method public b()Lkotlin/coroutines/Continuation;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lkotlin/coroutines/Continuation<",
"TT;>;"
}
.end annotation
return-object p0
.end method
.method public c()Ljava/lang/Object;
.locals 2
iget-object v0, p0, Lt/a/j0;->g:Ljava/lang/Object;
sget-object v1, Lt/a/l0;->a:Lt/a/a2/v;
if-eq v0, v1, :cond_0
const/4 v1, 0x1
goto :goto_0
:cond_0
const/4 v1, 0x0
:goto_0
if-eqz v1, :cond_1
sget-object v1, Lt/a/l0;->a:Lt/a/a2/v;
iput-object v1, p0, Lt/a/j0;->g:Ljava/lang/Object;
return-object v0
:cond_1
new-instance v0, Ljava/lang/IllegalStateException;
const-string v1, "Check failed."
invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public getCallerFrame()Lkotlin/coroutines/jvm/internal/CoroutineStackFrame;
.locals 1
iget-object v0, p0, Lt/a/j0;->h:Lkotlin/coroutines/jvm/internal/CoroutineStackFrame;
return-object v0
.end method
.method public getContext()Lkotlin/coroutines/CoroutineContext;
.locals 1
iget-object v0, p0, Lt/a/j0;->k:Lkotlin/coroutines/Continuation;
invoke-interface {v0}, Lkotlin/coroutines/Continuation;->getContext()Lkotlin/coroutines/CoroutineContext;
move-result-object v0
return-object v0
.end method
.method public getStackTraceElement()Ljava/lang/StackTraceElement;
.locals 1
const/4 v0, 0x0
return-object v0
.end method
.method public resumeWith(Ljava/lang/Object;)V
.locals 5
iget-object v0, p0, Lt/a/j0;->k:Lkotlin/coroutines/Continuation;
invoke-interface {v0}, Lkotlin/coroutines/Continuation;->getContext()Lkotlin/coroutines/CoroutineContext;
move-result-object v0
invoke-static {p1}, Le/k/a/b/e/p/g;->d(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
iget-object v2, p0, Lt/a/j0;->j:Lt/a/x;
invoke-virtual {v2, v0}, Lt/a/x;->a(Lkotlin/coroutines/CoroutineContext;)Z
move-result v2
const/4 v3, 0x0
if-eqz v2, :cond_0
iput-object v1, p0, Lt/a/j0;->g:Ljava/lang/Object;
iput v3, p0, Lt/a/m0;->f:I
iget-object p1, p0, Lt/a/j0;->j:Lt/a/x;
invoke-virtual {p1, v0, p0}, Lt/a/x;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)V
goto :goto_1
:cond_0
sget-object v0, Lt/a/t1;->b:Lt/a/t1;
invoke-virtual {v0}, Lt/a/t1;->b()Lt/a/r0;
move-result-object v0
invoke-virtual {v0}, Lt/a/r0;->f()Z
move-result v2
if-eqz v2, :cond_1
iput-object v1, p0, Lt/a/j0;->g:Ljava/lang/Object;
iput v3, p0, Lt/a/m0;->f:I
invoke-virtual {v0, p0}, Lt/a/r0;->a(Lt/a/m0;)V
goto :goto_1
:cond_1
const/4 v1, 0x1
invoke-virtual {v0, v1}, Lt/a/r0;->c(Z)V
:try_start_0
invoke-virtual {p0}, Lt/a/j0;->getContext()Lkotlin/coroutines/CoroutineContext;
move-result-object v2
iget-object v3, p0, Lt/a/j0;->i:Ljava/lang/Object;
invoke-static {v2, v3}, Lt/a/a2/x;->b(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v3
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
:try_start_1
iget-object v4, p0, Lt/a/j0;->k:Lkotlin/coroutines/Continuation;
invoke-interface {v4, p1}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
:try_start_2
invoke-static {v2, v3}, Lt/a/a2/x;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
:cond_2
invoke-virtual {v0}, Lt/a/r0;->h()Z
move-result p1
if-nez p1, :cond_2
goto :goto_0
:catchall_0
move-exception p1
invoke-static {v2, v3}, Lt/a/a2/x;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
throw p1
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_1
:catchall_1
move-exception p1
const/4 v2, 0x0
:try_start_3
invoke-virtual {p0, p1, v2}, Lt/a/m0;->a(Ljava/lang/Throwable;Ljava/lang/Throwable;)V
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_2
:goto_0
invoke-virtual {v0, v1}, Lt/a/r0;->a(Z)V
:goto_1
return-void
:catchall_2
move-exception p1
invoke-virtual {v0, v1}, Lt/a/r0;->a(Z)V
throw p1
.end method
.method public toString()Ljava/lang/String;
.locals 2
const-string v0, "DispatchedContinuation["
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
iget-object v1, p0, Lt/a/j0;->j:Lt/a/x;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, ", "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lt/a/j0;->k:Lkotlin/coroutines/Continuation;
invoke-static {v1}, Lt/a/e0;->a(Lkotlin/coroutines/Continuation;)Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const/16 v1, 0x5d
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