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

180 lines
3.8 KiB
Smali
Raw Normal View History

2020-10-05 23:18:16 +00:00
.class public final Ld0/a/i;
.super Ld0/a/x0;
2020-07-20 19:00:44 +00:00
.source "JobSupport.kt"
2020-05-17 12:40:10 +00:00
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
2020-10-05 23:18:16 +00:00
"Ld0/a/x0<",
2020-07-20 19:00:44 +00:00
"Lkotlinx/coroutines/Job;",
">;"
2020-05-17 12:40:10 +00:00
}
.end annotation
# instance fields
2020-10-05 23:18:16 +00:00
.field public final h:Ld0/a/g;
2020-05-17 12:40:10 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2020-10-05 23:18:16 +00:00
"Ld0/a/g<",
2020-07-20 19:00:44 +00:00
"*>;"
2020-05-17 12:40:10 +00:00
}
.end annotation
.end field
# direct methods
2020-10-05 23:18:16 +00:00
.method public constructor <init>(Lkotlinx/coroutines/Job;Ld0/a/g;)V
2020-09-08 08:16:32 +00:00
.locals 0
2020-05-17 12:40:10 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
2020-07-20 19:00:44 +00:00
"Lkotlinx/coroutines/Job;",
2020-10-05 23:18:16 +00:00
"Ld0/a/g<",
2020-07-20 19:00:44 +00:00
"*>;)V"
2020-05-17 12:40:10 +00:00
}
.end annotation
2020-10-05 23:18:16 +00:00
invoke-direct {p0, p1}, Ld0/a/x0;-><init>(Lkotlinx/coroutines/Job;)V
2020-09-02 04:07:20 +00:00
2020-10-05 23:18:16 +00:00
iput-object p2, p0, Ld0/a/i;->h:Ld0/a/g;
2020-05-17 12:40:10 +00:00
return-void
.end method
# virtual methods
2020-07-20 19:00:44 +00:00
.method public i(Ljava/lang/Throwable;)V
2020-09-16 23:45:23 +00:00
.locals 6
2020-07-08 16:44:49 +00:00
2020-10-05 23:18:16 +00:00
iget-object p1, p0, Ld0/a/i;->h:Ld0/a/g;
2020-07-08 16:44:49 +00:00
2020-10-05 23:18:16 +00:00
iget-object v0, p0, Ld0/a/z0;->g:Lkotlinx/coroutines/Job;
2020-07-08 16:44:49 +00:00
2020-09-08 08:16:32 +00:00
const/4 v1, 0x0
2020-07-08 16:44:49 +00:00
2020-09-16 23:45:23 +00:00
if-eqz p1, :cond_7
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
invoke-interface {v0}, Lkotlinx/coroutines/Job;->e()Ljava/util/concurrent/CancellationException;
2020-05-17 12:40:10 +00:00
move-result-object v0
2020-10-05 23:18:16 +00:00
iget v2, p1, Ld0/a/f0;->f:I
2020-09-09 19:21:20 +00:00
2020-09-16 23:45:23 +00:00
const/4 v3, 0x0
if-eqz v2, :cond_0
goto :goto_1
2020-05-17 12:40:10 +00:00
:cond_0
2020-10-05 23:18:16 +00:00
iget-object v2, p1, Ld0/a/g;->h:Lkotlin/coroutines/Continuation;
2020-09-08 08:16:32 +00:00
2020-10-05 23:18:16 +00:00
instance-of v4, v2, Ld0/a/c0;
2020-09-09 19:21:20 +00:00
2020-09-16 23:45:23 +00:00
if-nez v4, :cond_1
move-object v2, v1
2020-05-17 12:40:10 +00:00
2020-09-08 08:16:32 +00:00
:cond_1
2020-10-05 23:18:16 +00:00
check-cast v2, Ld0/a/c0;
2020-09-16 23:45:23 +00:00
if-eqz v2, :cond_5
:cond_2
2020-10-05 23:18:16 +00:00
iget-object v4, v2, Ld0/a/c0;->_reusableCancellableContinuation:Ljava/lang/Object;
2020-09-16 23:45:23 +00:00
2020-10-05 23:18:16 +00:00
sget-object v5, Ld0/a/d0;->b:Ld0/a/r1/n;
2020-09-16 23:45:23 +00:00
2020-10-05 23:18:16 +00:00
invoke-static {v4, v5}, Lc0/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2020-09-16 23:45:23 +00:00
move-result v5
if-eqz v5, :cond_3
2020-10-05 23:18:16 +00:00
sget-object v4, Ld0/a/c0;->l:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
2020-09-16 23:45:23 +00:00
2020-10-05 23:18:16 +00:00
sget-object v5, Ld0/a/d0;->b:Ld0/a/r1/n;
2020-09-16 23:45:23 +00:00
invoke-virtual {v4, v2, v5, v0}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v4
if-eqz v4, :cond_2
goto :goto_0
:cond_3
instance-of v5, v4, Ljava/lang/Throwable;
if-eqz v5, :cond_4
:goto_0
const/4 v3, 0x1
goto :goto_1
:cond_4
2020-10-05 23:18:16 +00:00
sget-object v5, Ld0/a/c0;->l:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
2020-09-16 23:45:23 +00:00
invoke-virtual {v5, v2, v4, v1}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v4
if-eqz v4, :cond_2
:cond_5
:goto_1
if-eqz v3, :cond_6
goto :goto_2
:cond_6
2020-10-05 23:18:16 +00:00
invoke-virtual {p1, v0}, Ld0/a/g;->g(Ljava/lang/Throwable;)Z
2020-09-16 23:45:23 +00:00
2020-10-05 23:18:16 +00:00
invoke-virtual {p1}, Ld0/a/g;->i()V
2020-09-16 23:45:23 +00:00
:goto_2
return-void
:cond_7
2020-09-08 08:16:32 +00:00
throw v1
2020-05-17 12:40:10 +00:00
.end method
2020-07-20 19:00:44 +00:00
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
check-cast p1, Ljava/lang/Throwable;
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
invoke-virtual {p0, p1}, Ld0/a/i;->i(Ljava/lang/Throwable;)V
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
return-object p1
2020-05-17 12:40:10 +00:00
.end method
.method public toString()Ljava/lang/String;
.locals 2
2020-07-20 19:00:44 +00:00
const-string v0, "ChildContinuation["
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
invoke-static {v0}, Lf/e/c/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
move-result-object v0
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
iget-object v1, p0, Ld0/a/i;->h:Ld0/a/g;
2020-05-17 12:40:10 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
2020-07-20 19:00:44 +00:00
const/16 v1, 0x5d
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
2020-05-17 12:40:10 +00:00
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method