apkfuckery/com.discord/smali_classes2/z/a/g1.smali
2020-04-17 21:35:49 +02:00

309 lines
5.9 KiB
Smali

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