apkfuckery/com.discord/smali_classes2/k0/a/a.smali

362 lines
8.2 KiB
Smali
Raw Normal View History

2020-07-08 16:44:49 +00:00
.class public abstract Lk0/a/a;
.super Lk0/a/f1;
2020-05-17 12:40:10 +00:00
.source "AbstractCoroutine.kt"
# interfaces
.implements Lkotlinx/coroutines/Job;
.implements Lkotlin/coroutines/Continuation;
.implements Lkotlinx/coroutines/CoroutineScope;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
2020-07-08 16:44:49 +00:00
"Lk0/a/f1;",
2020-05-17 12:40:10 +00:00
"Lkotlinx/coroutines/Job;",
"Lkotlin/coroutines/Continuation<",
"TT;>;",
"Lkotlinx/coroutines/CoroutineScope;"
}
.end annotation
# instance fields
.field public final e:Lkotlin/coroutines/CoroutineContext;
.field public final f:Lkotlin/coroutines/CoroutineContext;
# direct methods
.method public constructor <init>(Lkotlin/coroutines/CoroutineContext;Z)V
.locals 0
2020-07-08 16:44:49 +00:00
invoke-direct {p0, p2}, Lk0/a/f1;-><init>(Z)V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iput-object p1, p0, Lk0/a/a;->f:Lkotlin/coroutines/CoroutineContext;
2020-05-17 12:40:10 +00:00
invoke-interface {p1, p0}, Lkotlin/coroutines/CoroutineContext;->plus(Lkotlin/coroutines/CoroutineContext;)Lkotlin/coroutines/CoroutineContext;
move-result-object p1
2020-07-08 16:44:49 +00:00
iput-object p1, p0, Lk0/a/a;->e:Lkotlin/coroutines/CoroutineContext;
2020-05-17 12:40:10 +00:00
return-void
2020-07-08 16:44:49 +00:00
.end method
# virtual methods
.method public E()Ljava/lang/String;
.locals 3
iget-object v0, p0, Lk0/a/a;->e:Lkotlin/coroutines/CoroutineContext;
invoke-static {v0}, Lk0/a/w;->a(Lkotlin/coroutines/CoroutineContext;)Ljava/lang/String;
move-result-object v0
if-eqz v0, :cond_0
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const/16 v2, 0x22
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v0, "\":"
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-static {p0}, Lj0/i/u;->v(Ljava/lang/Object;)Ljava/lang/String;
move-result-object v0
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
2020-05-17 12:40:10 +00:00
:cond_0
2020-07-08 16:44:49 +00:00
invoke-static {p0}, Lj0/i/u;->v(Ljava/lang/Object;)Ljava/lang/String;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result-object v0
return-object v0
.end method
.method public final H(Ljava/lang/Object;)V
.locals 1
instance-of v0, p1, Lk0/a/r;
if-eqz v0, :cond_1
check-cast p1, Lk0/a/r;
iget-object v0, p1, Lk0/a/r;->a:Ljava/lang/Throwable;
iget p1, p1, Lk0/a/r;->_handled:I
if-eqz v0, :cond_0
goto :goto_0
:cond_0
const-string p1, "cause"
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
const/4 p1, 0x0
throw p1
2020-07-08 16:44:49 +00:00
:cond_1
:goto_0
return-void
2020-05-17 12:40:10 +00:00
.end method
2020-07-08 16:44:49 +00:00
.method public final I()V
.locals 0
invoke-virtual {p0}, Lk0/a/a;->R()V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
return-void
.end method
.method public P()I
.locals 1
const/4 v0, 0x0
return v0
.end method
.method public final Q()V
.locals 2
iget-object v0, p0, Lk0/a/a;->f:Lkotlin/coroutines/CoroutineContext;
sget-object v1, Lkotlinx/coroutines/Job;->c:Lkotlinx/coroutines/Job$a;
invoke-interface {v0, v1}, Lkotlin/coroutines/CoroutineContext;->get(Lkotlin/coroutines/CoroutineContext$b;)Lkotlin/coroutines/CoroutineContext$a;
move-result-object v0
check-cast v0, Lkotlinx/coroutines/Job;
invoke-virtual {p0, v0}, Lk0/a/f1;->A(Lkotlinx/coroutines/Job;)V
return-void
.end method
.method public R()V
.locals 0
return-void
.end method
.method public final S(Lk0/a/b0;Ljava/lang/Object;Lkotlin/jvm/functions/Function2;)V
2020-05-17 12:40:10 +00:00
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"<R:",
"Ljava/lang/Object;",
">(",
2020-07-08 16:44:49 +00:00
"Lk0/a/b0;",
2020-05-17 12:40:10 +00:00
"TR;",
"Lkotlin/jvm/functions/Function2<",
"-TR;-",
"Lkotlin/coroutines/Continuation<",
"-TT;>;+",
"Ljava/lang/Object;",
">;)V"
}
.end annotation
const/4 v0, 0x0
2020-07-08 16:44:49 +00:00
if-eqz p1, :cond_4
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-virtual {p0}, Lk0/a/a;->Q()V
2020-05-17 12:40:10 +00:00
invoke-virtual {p1}, Ljava/lang/Enum;->ordinal()I
move-result p1
2020-07-08 16:44:49 +00:00
if-eqz p1, :cond_2
2020-05-17 12:40:10 +00:00
const/4 v1, 0x1
if-eq p1, v1, :cond_3
const/4 v1, 0x2
2020-07-08 16:44:49 +00:00
if-eq p1, v1, :cond_1
2020-05-17 12:40:10 +00:00
const/4 v2, 0x3
2020-07-08 16:44:49 +00:00
if-ne p1, v2, :cond_0
2020-05-17 12:40:10 +00:00
:try_start_0
invoke-interface {p0}, Lkotlin/coroutines/Continuation;->getContext()Lkotlin/coroutines/CoroutineContext;
move-result-object p1
2020-07-08 16:44:49 +00:00
invoke-static {p1, v0}, Lk0/a/x1/x;->c(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
move-result-object v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
:try_start_1
2020-07-08 16:44:49 +00:00
invoke-static {p3, v1}, Lj0/n/c/u;->beforeCheckcastToFunctionOfArity(Ljava/lang/Object;I)Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
invoke-interface {p3, p2, p0}, Lkotlin/jvm/functions/Function2;->invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p2
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
:try_start_2
2020-07-08 16:44:49 +00:00
invoke-static {p1, v0}, Lk0/a/x1/x;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
2020-05-17 12:40:10 +00:00
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_1
2020-07-08 16:44:49 +00:00
sget-object p1, Lj0/k/h/a;->d:Lj0/k/h/a;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
if-eq p2, p1, :cond_3
2020-05-17 12:40:10 +00:00
invoke-interface {p0, p2}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
goto :goto_0
:catchall_0
move-exception p2
:try_start_3
2020-07-08 16:44:49 +00:00
invoke-static {p1, v0}, Lk0/a/x1/x;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
2020-05-17 12:40:10 +00:00
throw p2
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_1
:catchall_1
move-exception p1
2020-07-08 16:44:49 +00:00
invoke-static {p1}, Lf/i/a/b/i1/e;->createFailure(Ljava/lang/Throwable;)Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
move-result-object p1
invoke-interface {p0, p1}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
goto :goto_0
2020-07-08 16:44:49 +00:00
:cond_0
new-instance p1, Lkotlin/NoWhenBranchMatchedException;
invoke-direct {p1}, Lkotlin/NoWhenBranchMatchedException;-><init>()V
throw p1
:cond_1
invoke-static {p3, p2, p0}, Lj0/i/u;->createCoroutineUnintercepted(Lkotlin/jvm/functions/Function2;Ljava/lang/Object;Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation;
2020-05-17 12:40:10 +00:00
move-result-object p1
2020-07-08 16:44:49 +00:00
invoke-static {p1}, Lj0/i/u;->intercepted(Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation;
2020-05-17 12:40:10 +00:00
move-result-object p1
sget-object p2, Lkotlin/Unit;->a:Lkotlin/Unit;
invoke-interface {p1, p2}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
goto :goto_0
2020-07-08 16:44:49 +00:00
:cond_2
invoke-static {p3, p2, p0}, Lj0/i/u;->T(Lkotlin/jvm/functions/Function2;Ljava/lang/Object;Lkotlin/coroutines/Continuation;)V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
:cond_3
2020-05-17 12:40:10 +00:00
:goto_0
return-void
2020-07-08 16:44:49 +00:00
:cond_4
2020-05-17 12:40:10 +00:00
const-string p1, "start"
2020-07-08 16:44:49 +00:00
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
throw v0
.end method
.method public a()Z
.locals 1
2020-07-08 16:44:49 +00:00
invoke-super {p0}, Lk0/a/f1;->a()Z
2020-05-17 12:40:10 +00:00
move-result v0
return v0
.end method
2020-07-08 16:44:49 +00:00
.method public final getContext()Lkotlin/coroutines/CoroutineContext;
2020-05-17 12:40:10 +00:00
.locals 1
2020-07-08 16:44:49 +00:00
iget-object v0, p0, Lk0/a/a;->e:Lkotlin/coroutines/CoroutineContext;
2020-05-17 12:40:10 +00:00
return-object v0
.end method
2020-07-08 16:44:49 +00:00
.method public getCoroutineContext()Lkotlin/coroutines/CoroutineContext;
2020-05-17 12:40:10 +00:00
.locals 1
2020-07-08 16:44:49 +00:00
iget-object v0, p0, Lk0/a/a;->e:Lkotlin/coroutines/CoroutineContext;
2020-05-17 12:40:10 +00:00
return-object v0
.end method
2020-07-08 16:44:49 +00:00
.method public final resumeWith(Ljava/lang/Object;)V
.locals 1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-static {p1}, Lj0/i/u;->e0(Ljava/lang/Object;)Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result-object p1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-virtual {p0}, Lk0/a/a;->P()I
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result v0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-virtual {p0, p1, v0}, Lk0/a/f1;->C(Ljava/lang/Object;I)Z
2020-05-17 12:40:10 +00:00
return-void
.end method
2020-07-08 16:44:49 +00:00
.method public final z(Ljava/lang/Throwable;)V
2020-05-17 12:40:10 +00:00
.locals 1
2020-07-08 16:44:49 +00:00
if-eqz p1, :cond_0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iget-object v0, p0, Lk0/a/a;->e:Lkotlin/coroutines/CoroutineContext;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-static {v0, p1}, Lj0/i/u;->y(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Throwable;)V
2020-05-17 12:40:10 +00:00
return-void
2020-07-08 16:44:49 +00:00
:cond_0
const-string p1, "exception"
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const/4 p1, 0x0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
throw p1
2020-05-17 12:40:10 +00:00
.end method