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

180 lines
3.8 KiB
Smali
Raw Normal View History

2020-11-16 01:00:50 +00:00
.class public final La0/a/i;
.super La0/a/x0;
.source "JobSupport.kt"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"La0/a/x0<",
"Lkotlinx/coroutines/Job;",
">;"
}
.end annotation
# instance fields
.field public final h:La0/a/g;
.annotation system Ldalvik/annotation/Signature;
value = {
"La0/a/g<",
"*>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lkotlinx/coroutines/Job;La0/a/g;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlinx/coroutines/Job;",
"La0/a/g<",
"*>;)V"
}
.end annotation
invoke-direct {p0, p1}, La0/a/x0;-><init>(Lkotlinx/coroutines/Job;)V
iput-object p2, p0, La0/a/i;->h:La0/a/g;
return-void
.end method
# virtual methods
.method public i(Ljava/lang/Throwable;)V
.locals 6
iget-object p1, p0, La0/a/i;->h:La0/a/g;
iget-object v0, p0, La0/a/z0;->g:Lkotlinx/coroutines/Job;
const/4 v1, 0x0
if-eqz p1, :cond_7
invoke-interface {v0}, Lkotlinx/coroutines/Job;->e()Ljava/util/concurrent/CancellationException;
move-result-object v0
iget v2, p1, La0/a/f0;->f:I
const/4 v3, 0x0
if-eqz v2, :cond_0
goto :goto_1
:cond_0
iget-object v2, p1, La0/a/g;->h:Lkotlin/coroutines/Continuation;
instance-of v4, v2, La0/a/c0;
if-nez v4, :cond_1
move-object v2, v1
:cond_1
check-cast v2, La0/a/c0;
if-eqz v2, :cond_5
:cond_2
iget-object v4, v2, La0/a/c0;->_reusableCancellableContinuation:Ljava/lang/Object;
sget-object v5, La0/a/d0;->b:La0/a/r1/n;
invoke-static {v4, v5}, Lz/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v5
if-eqz v5, :cond_3
sget-object v4, La0/a/c0;->l:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
sget-object v5, La0/a/d0;->b:La0/a/r1/n;
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
sget-object v5, La0/a/c0;->l:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
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
invoke-virtual {p1, v0}, La0/a/g;->g(Ljava/lang/Throwable;)Z
invoke-virtual {p1}, La0/a/g;->i()V
:goto_2
return-void
:cond_7
throw v1
.end method
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
check-cast p1, Ljava/lang/Throwable;
invoke-virtual {p0, p1}, La0/a/i;->i(Ljava/lang/Throwable;)V
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method
.method public toString()Ljava/lang/String;
.locals 2
const-string v0, "ChildContinuation["
invoke-static {v0}, Lf/e/c/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
iget-object v1, p0, La0/a/i;->h:La0/a/g;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)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