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

401 lines
8.9 KiB
Smali
Raw Normal View History

2020-05-11 19:22:21 +00:00
.class public abstract Lz/a/a;
.super Lz/a/h1;
2020-02-20 19:33:18 +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-05-11 19:22:21 +00:00
"Lz/a/h1;",
2020-02-20 19:33:18 +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
if-eqz p1, :cond_0
2020-05-11 19:22:21 +00:00
invoke-direct {p0, p2}, Lz/a/h1;-><init>(Z)V
2020-02-20 19:33:18 +00:00
2020-05-11 19:22:21 +00:00
iput-object p1, p0, Lz/a/a;->f:Lkotlin/coroutines/CoroutineContext;
2020-02-20 19:33:18 +00:00
2020-05-11 19:22:21 +00:00
iget-object p1, p0, Lz/a/a;->f:Lkotlin/coroutines/CoroutineContext;
2020-02-20 19:33:18 +00:00
invoke-interface {p1, p0}, Lkotlin/coroutines/CoroutineContext;->plus(Lkotlin/coroutines/CoroutineContext;)Lkotlin/coroutines/CoroutineContext;
move-result-object p1
2020-05-11 19:22:21 +00:00
iput-object p1, p0, Lz/a/a;->e:Lkotlin/coroutines/CoroutineContext;
2020-02-20 19:33:18 +00:00
return-void
:cond_0
const-string p1, "parentContext"
2020-05-11 19:22:21 +00:00
invoke-static {p1}, Ly/v/b/j;->a(Ljava/lang/String;)V
2020-02-20 19:33:18 +00:00
const/4 p1, 0x0
throw p1
.end method
# virtual methods
2020-05-11 19:22:21 +00:00
.method public final a(Lz/a/c0;Ljava/lang/Object;Lkotlin/jvm/functions/Function2;)V
2020-02-20 19:33:18 +00:00
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"<R:",
"Ljava/lang/Object;",
">(",
2020-05-11 19:22:21 +00:00
"Lz/a/c0;",
2020-02-20 19:33:18 +00:00
"TR;",
"Lkotlin/jvm/functions/Function2<",
"-TR;-",
"Lkotlin/coroutines/Continuation<",
"-TT;>;+",
"Ljava/lang/Object;",
">;)V"
}
.end annotation
const/4 v0, 0x0
if-eqz p1, :cond_6
if-eqz p3, :cond_5
2020-05-11 19:22:21 +00:00
invoke-virtual {p0}, Lz/a/a;->l()V
2020-02-20 19:33:18 +00:00
2020-05-11 19:22:21 +00:00
sget-object v1, Lz/a/b0;->b:[I
2020-02-20 19:33:18 +00:00
invoke-virtual {p1}, Ljava/lang/Enum;->ordinal()I
move-result p1
aget p1, v1, p1
const/4 v1, 0x1
if-eq p1, v1, :cond_3
const/4 v1, 0x2
if-eq p1, v1, :cond_2
const/4 v2, 0x3
if-eq p1, v2, :cond_1
const/4 p2, 0x4
if-ne p1, p2, :cond_0
goto :goto_0
:cond_0
2020-05-11 19:22:21 +00:00
new-instance p1, Ly/g;
2020-02-20 19:33:18 +00:00
2020-05-11 19:22:21 +00:00
invoke-direct {p1}, Ly/g;-><init>()V
2020-02-20 19:33:18 +00:00
throw p1
:cond_1
2020-05-11 19:22:21 +00:00
invoke-static {p0}, Lf/o/a/j/a;->probeCoroutineCreated(Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation;
2020-02-20 19:33:18 +00:00
:try_start_0
invoke-interface {p0}, Lkotlin/coroutines/Continuation;->getContext()Lkotlin/coroutines/CoroutineContext;
move-result-object p1
2020-05-11 19:22:21 +00:00
invoke-static {p1, v0}, Lz/a/a2/y;->b(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)Ljava/lang/Object;
2020-02-20 19:33:18 +00:00
move-result-object v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
:try_start_1
2020-05-11 19:22:21 +00:00
invoke-static {p3, v1}, Ly/v/b/z;->beforeCheckcastToFunctionOfArity(Ljava/lang/Object;I)Ljava/lang/Object;
2020-02-20 19:33:18 +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-05-11 19:22:21 +00:00
invoke-static {p1, v0}, Lz/a/a2/y;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
2020-02-20 19:33:18 +00:00
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_1
2020-05-11 19:22:21 +00:00
sget-object p1, Ly/s/g/a;->d:Ly/s/g/a;
2020-02-20 19:33:18 +00:00
if-eq p2, p1, :cond_4
2020-05-11 19:22:21 +00:00
sget-object p1, Ly/i;->d:Ly/i$a;
2020-02-20 19:33:18 +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-05-11 19:22:21 +00:00
invoke-static {p1, v0}, Lz/a/a2/y;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Object;)V
2020-02-20 19:33:18 +00:00
throw p2
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_1
:catchall_1
move-exception p1
2020-05-11 19:22:21 +00:00
sget-object p2, Ly/i;->d:Ly/i$a;
2020-02-20 19:33:18 +00:00
2020-05-11 19:22:21 +00:00
invoke-static {p1}, Lf/o/a/j/a;->createFailure(Ljava/lang/Throwable;)Ljava/lang/Object;
2020-02-20 19:33:18 +00:00
move-result-object p1
invoke-interface {p0, p1}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
goto :goto_0
:cond_2
2020-05-11 19:22:21 +00:00
invoke-static {p3, p2, p0}, Lf/o/a/j/a;->createCoroutineUnintercepted(Lkotlin/jvm/functions/Function2;Ljava/lang/Object;Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation;
2020-02-20 19:33:18 +00:00
move-result-object p1
2020-05-11 19:22:21 +00:00
invoke-static {p1}, Lf/o/a/j/a;->intercepted(Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation;
2020-02-20 19:33:18 +00:00
move-result-object p1
sget-object p2, Lkotlin/Unit;->a:Lkotlin/Unit;
2020-05-11 19:22:21 +00:00
sget-object p3, Ly/i;->d:Ly/i$a;
2020-02-20 19:33:18 +00:00
invoke-interface {p1, p2}, Lkotlin/coroutines/Continuation;->resumeWith(Ljava/lang/Object;)V
goto :goto_0
:cond_3
2020-05-11 19:22:21 +00:00
invoke-static {p3, p2, p0}, Lf/o/a/j/a;->a(Lkotlin/jvm/functions/Function2;Ljava/lang/Object;Lkotlin/coroutines/Continuation;)V
2020-02-20 19:33:18 +00:00
:cond_4
:goto_0
return-void
:cond_5
const-string p1, "block"
2020-05-11 19:22:21 +00:00
invoke-static {p1}, Ly/v/b/j;->a(Ljava/lang/String;)V
2020-02-20 19:33:18 +00:00
throw v0
:cond_6
const-string p1, "start"
2020-05-11 19:22:21 +00:00
invoke-static {p1}, Ly/v/b/j;->a(Ljava/lang/String;)V
2020-02-20 19:33:18 +00:00
throw v0
.end method
.method public a()Z
.locals 1
2020-05-11 19:22:21 +00:00
invoke-super {p0}, Lz/a/h1;->a()Z
2020-02-20 19:33:18 +00:00
move-result v0
return v0
.end method
.method public c()Lkotlin/coroutines/CoroutineContext;
.locals 1
2020-05-11 19:22:21 +00:00
iget-object v0, p0, Lz/a/a;->e:Lkotlin/coroutines/CoroutineContext;
2020-02-20 19:33:18 +00:00
return-object v0
.end method
2020-03-14 02:12:46 +00:00
.method public final c(Ljava/lang/Throwable;)V
2020-02-20 19:33:18 +00:00
.locals 1
if-eqz p1, :cond_0
2020-05-11 19:22:21 +00:00
iget-object v0, p0, Lz/a/a;->e:Lkotlin/coroutines/CoroutineContext;
2020-02-20 19:33:18 +00:00
2020-05-11 19:22:21 +00:00
invoke-static {v0, p1}, Lf/o/a/j/a;->a(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Throwable;)V
2020-02-20 19:33:18 +00:00
return-void
:cond_0
const-string p1, "exception"
2020-05-11 19:22:21 +00:00
invoke-static {p1}, Ly/v/b/j;->a(Ljava/lang/String;)V
2020-02-20 19:33:18 +00:00
const/4 p1, 0x0
throw p1
.end method
2020-03-14 02:12:46 +00:00
.method public final d(Ljava/lang/Object;)V
2020-02-20 19:33:18 +00:00
.locals 1
2020-05-11 19:22:21 +00:00
instance-of v0, p1, Lz/a/q;
2020-02-20 19:33:18 +00:00
if-eqz v0, :cond_1
2020-05-11 19:22:21 +00:00
check-cast p1, Lz/a/q;
2020-02-20 19:33:18 +00:00
2020-05-11 19:22:21 +00:00
iget-object v0, p1, Lz/a/q;->a:Ljava/lang/Throwable;
2020-02-20 19:33:18 +00:00
2020-05-11 19:22:21 +00:00
iget p1, p1, Lz/a/q;->_handled:I
2020-02-20 19:33:18 +00:00
if-eqz v0, :cond_0
goto :goto_0
:cond_0
const-string p1, "cause"
2020-05-11 19:22:21 +00:00
invoke-static {p1}, Ly/v/b/j;->a(Ljava/lang/String;)V
2020-02-20 19:33:18 +00:00
const/4 p1, 0x0
throw p1
:cond_1
:goto_0
return-void
.end method
.method public final getContext()Lkotlin/coroutines/CoroutineContext;
.locals 1
2020-05-11 19:22:21 +00:00
iget-object v0, p0, Lz/a/a;->e:Lkotlin/coroutines/CoroutineContext;
2020-02-20 19:33:18 +00:00
return-object v0
.end method
.method public i()Ljava/lang/String;
.locals 3
2020-05-11 19:22:21 +00:00
iget-object v0, p0, Lz/a/a;->e:Lkotlin/coroutines/CoroutineContext;
2020-02-20 19:33:18 +00:00
2020-05-11 19:22:21 +00:00
invoke-static {v0}, Lz/a/w;->a(Lkotlin/coroutines/CoroutineContext;)Ljava/lang/String;
2020-02-20 19:33:18 +00:00
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;
2020-05-11 19:22:21 +00:00
invoke-static {p0}, Lz/a/e0;->a(Ljava/lang/Object;)Ljava/lang/String;
2020-02-20 19:33:18 +00:00
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
:cond_0
2020-05-11 19:22:21 +00:00
invoke-static {p0}, Lz/a/e0;->a(Ljava/lang/Object;)Ljava/lang/String;
2020-02-20 19:33:18 +00:00
move-result-object v0
return-object v0
.end method
2020-03-14 04:13:36 +00:00
.method public final j()V
2020-02-20 19:33:18 +00:00
.locals 0
2020-05-11 19:22:21 +00:00
invoke-virtual {p0}, Lz/a/a;->m()V
2020-02-20 19:33:18 +00:00
return-void
.end method
2020-03-14 04:13:36 +00:00
.method public k()I
2020-02-20 19:33:18 +00:00
.locals 1
const/4 v0, 0x0
return v0
.end method
2020-03-14 04:13:36 +00:00
.method public final l()V
2020-02-20 19:33:18 +00:00
.locals 2
2020-05-11 19:22:21 +00:00
iget-object v0, p0, Lz/a/a;->f:Lkotlin/coroutines/CoroutineContext;
2020-02-20 19:33:18 +00:00
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;
2020-05-11 19:22:21 +00:00
invoke-virtual {p0, v0}, Lz/a/h1;->a(Lkotlinx/coroutines/Job;)V
2020-02-20 19:33:18 +00:00
return-void
.end method
2020-03-14 04:13:36 +00:00
.method public m()V
2020-02-20 19:33:18 +00:00
.locals 0
return-void
.end method
.method public final resumeWith(Ljava/lang/Object;)V
.locals 1
2020-05-11 19:22:21 +00:00
invoke-static {p1}, Lf/o/a/j/a;->b(Ljava/lang/Object;)Ljava/lang/Object;
2020-02-20 19:33:18 +00:00
move-result-object p1
2020-05-11 19:22:21 +00:00
invoke-virtual {p0}, Lz/a/a;->k()I
2020-02-20 19:33:18 +00:00
move-result v0
2020-05-11 19:22:21 +00:00
invoke-virtual {p0, p1, v0}, Lz/a/h1;->b(Ljava/lang/Object;I)Z
2020-02-20 19:33:18 +00:00
return-void
.end method