apkfuckery/com.discord/smali_classes2/a0/a/g1.smali
2020-04-17 19:35:24 +02:00

309 lines
6 KiB
Smali

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