apkfuckery/com.discord/smali_classes2/u/a/g1.smali
2019-12-21 02:41:59 +01:00

309 lines
5.9 KiB
Smali

.class public abstract Lu/a/g1;
.super Lu/a/t;
.source "JobSupport.kt"
# interfaces
.implements Lu/a/o0;
.implements Lu/a/y0;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<J::",
"Lkotlinx/coroutines/Job;",
">",
"Lu/a/t;",
"Lu/a/o0;",
"Lu/a/y0;"
}
.end annotation
# instance fields
.field public final g:Lkotlinx/coroutines/Job;
.annotation system Ldalvik/annotation/Signature;
value = {
"TJ;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lkotlinx/coroutines/Job;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(TJ;)V"
}
.end annotation
if-eqz p1, :cond_0
invoke-direct {p0}, Lu/a/t;-><init>()V
iput-object p1, p0, Lu/a/g1;->g:Lkotlinx/coroutines/Job;
return-void
:cond_0
const-string p1, "job"
invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
# virtual methods
.method public a()Z
.locals 1
const/4 v0, 0x1
return v0
.end method
.method public dispose()V
.locals 9
iget-object v0, p0, Lu/a/g1;->g:Lkotlinx/coroutines/Job;
if-eqz v0, :cond_10
check-cast v0, Lu/a/h1;
const/4 v1, 0x0
:cond_0
invoke-virtual {v0}, Lu/a/h1;->g()Ljava/lang/Object;
move-result-object v2
instance-of v3, v2, Lu/a/g1;
if-eqz v3, :cond_2
if-eq v2, p0, :cond_1
goto/16 :goto_3
:cond_1
sget-object v3, Lu/a/h1;->d:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
sget-object v4, Lu/a/i1;->c:Lu/a/q0;
invoke-virtual {v3, v0, v2, v4}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_0
goto/16 :goto_3
:cond_2
instance-of v0, v2, Lu/a/y0;
if-eqz v0, :cond_f
check-cast v2, Lu/a/y0;
invoke-interface {v2}, Lu/a/y0;->getList()Lu/a/l1;
move-result-object v0
if-eqz v0, :cond_f
:cond_3
invoke-virtual {p0}, Lu/a/a2/n;->b()Ljava/lang/Object;
move-result-object v0
instance-of v2, v0, Lu/a/a2/t;
if-eqz v2, :cond_4
goto/16 :goto_3
:cond_4
if-ne v0, p0, :cond_5
goto/16 :goto_3
:cond_5
const-string v2, "null cannot be cast to non-null type kotlinx.coroutines.internal.Node /* = kotlinx.coroutines.internal.LockFreeLinkedListNode */"
if-eqz v0, :cond_e
move-object v3, v0
check-cast v3, Lu/a/a2/n;
invoke-virtual {v3}, Lu/a/a2/n;->f()Lu/a/a2/t;
move-result-object v4
sget-object v5, Lu/a/a2/n;->d:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
invoke-virtual {v5, p0, v0, v4}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_3
invoke-virtual {p0}, Lu/a/a2/n;->e()Lu/a/a2/n;
move-result-object v0
iget-object v4, p0, Lu/a/a2/n;->_next:Ljava/lang/Object;
if-eqz v4, :cond_d
check-cast v4, Lu/a/a2/t;
iget-object v4, v4, Lu/a/a2/t;->a:Lu/a/a2/n;
:goto_0
move-object v5, v1
:cond_6
:goto_1
invoke-virtual {v4}, Lu/a/a2/n;->b()Ljava/lang/Object;
move-result-object v6
instance-of v7, v6, Lu/a/a2/t;
if-eqz v7, :cond_7
invoke-virtual {v4}, Lu/a/a2/n;->e()Lu/a/a2/n;
check-cast v6, Lu/a/a2/t;
iget-object v4, v6, Lu/a/a2/t;->a:Lu/a/a2/n;
goto :goto_1
:cond_7
invoke-virtual {v0}, Lu/a/a2/n;->b()Ljava/lang/Object;
move-result-object v6
instance-of v7, v6, Lu/a/a2/t;
if-eqz v7, :cond_9
if-eqz v5, :cond_8
invoke-virtual {v0}, Lu/a/a2/n;->e()Lu/a/a2/n;
sget-object v7, Lu/a/a2/n;->d:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
check-cast v6, Lu/a/a2/t;
iget-object v6, v6, Lu/a/a2/t;->a:Lu/a/a2/n;
invoke-virtual {v7, v5, v0, v6}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
move-object v0, v5
goto :goto_0
:cond_8
iget-object v0, v0, Lu/a/a2/n;->_prev:Ljava/lang/Object;
invoke-static {v0}, Lu/a/a2/m;->a(Ljava/lang/Object;)Lu/a/a2/n;
move-result-object v0
goto :goto_1
:cond_9
if-eq v6, p0, :cond_c
if-eqz v6, :cond_b
move-object v5, v6
check-cast v5, Lu/a/a2/n;
if-ne v5, v4, :cond_a
goto :goto_2
:cond_a
move-object v8, v5
move-object v5, v0
move-object v0, v8
goto :goto_1
:cond_b
new-instance v0, Lt/l;
invoke-direct {v0, v2}, Lt/l;-><init>(Ljava/lang/String;)V
throw v0
:cond_c
sget-object v6, Lu/a/a2/n;->d:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
invoke-virtual {v6, v0, p0, v4}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v6
if-eqz v6, :cond_6
:goto_2
iget-object v0, p0, Lu/a/a2/n;->_prev:Ljava/lang/Object;
invoke-static {v0}, Lu/a/a2/m;->a(Ljava/lang/Object;)Lu/a/a2/n;
move-result-object v0
invoke-virtual {v3, v0, v1}, Lu/a/a2/n;->a(Lu/a/a2/n;Lu/a/a2/s;)Lu/a/a2/n;
goto :goto_3
:cond_d
new-instance v0, Lt/l;
const-string v1, "null cannot be cast to non-null type kotlinx.coroutines.internal.Removed"
invoke-direct {v0, v1}, Lt/l;-><init>(Ljava/lang/String;)V
throw v0
:cond_e
new-instance v0, Lt/l;
invoke-direct {v0, v2}, Lt/l;-><init>(Ljava/lang/String;)V
throw v0
:cond_f
:goto_3
return-void
:cond_10
new-instance v0, Lt/l;
const-string v1, "null cannot be cast to non-null type kotlinx.coroutines.JobSupport"
invoke-direct {v0, v1}, Lt/l;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public getList()Lu/a/l1;
.locals 1
const/4 v0, 0x0
return-object v0
.end method