apkfuckery/com.discord/smali_classes2/d0/a/z0.smali
2020-09-22 07:09:10 +00:00

197 lines
3.9 KiB
Smali

.class public abstract Ld0/a/z0;
.super Ld0/a/s;
.source "JobSupport.kt"
# interfaces
.implements Ld0/a/h0;
.implements Ld0/a/s0;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<J::",
"Lkotlinx/coroutines/Job;",
">",
"Ld0/a/s;",
"Ld0/a/h0;",
"Ld0/a/s0;"
}
.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
invoke-direct {p0}, Ld0/a/s;-><init>()V
iput-object p1, p0, Ld0/a/z0;->g:Lkotlinx/coroutines/Job;
return-void
.end method
# virtual methods
.method public a()Z
.locals 1
const/4 v0, 0x1
return v0
.end method
.method public dispose()V
.locals 4
iget-object v0, p0, Ld0/a/z0;->g:Lkotlinx/coroutines/Job;
if-eqz v0, :cond_9
check-cast v0, Ld0/a/a1;
:cond_0
invoke-virtual {v0}, Ld0/a/a1;->A()Ljava/lang/Object;
move-result-object v1
instance-of v2, v1, Ld0/a/z0;
if-eqz v2, :cond_2
if-eq v1, p0, :cond_1
goto :goto_1
:cond_1
sget-object v2, Ld0/a/a1;->d:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
sget-object v3, Ld0/a/b1;->g:Ld0/a/j0;
invoke-virtual {v2, v0, v1, v3}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_0
goto :goto_1
:cond_2
instance-of v0, v1, Ld0/a/s0;
if-eqz v0, :cond_8
check-cast v1, Ld0/a/s0;
invoke-interface {v1}, Ld0/a/s0;->getList()Ld0/a/e1;
move-result-object v0
if-eqz v0, :cond_8
:cond_3
invoke-virtual {p0}, Ld0/a/r1/g;->d()Ljava/lang/Object;
move-result-object v0
instance-of v1, v0, Ld0/a/r1/l;
if-eqz v1, :cond_4
check-cast v0, Ld0/a/r1/l;
iget-object v0, v0, Ld0/a/r1/l;->a:Ld0/a/r1/g;
goto :goto_1
:cond_4
if-ne v0, p0, :cond_5
check-cast v0, Ld0/a/r1/g;
goto :goto_1
:cond_5
if-eqz v0, :cond_7
move-object v1, v0
check-cast v1, Ld0/a/r1/g;
iget-object v2, v1, Ld0/a/r1/g;->_removedRef:Ljava/lang/Object;
check-cast v2, Ld0/a/r1/l;
if-eqz v2, :cond_6
goto :goto_0
:cond_6
new-instance v2, Ld0/a/r1/l;
invoke-direct {v2, v1}, Ld0/a/r1/l;-><init>(Ld0/a/r1/g;)V
sget-object v3, Ld0/a/r1/g;->f:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
invoke-virtual {v3, v1, v2}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->lazySet(Ljava/lang/Object;Ljava/lang/Object;)V
:goto_0
sget-object v3, Ld0/a/r1/g;->d:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
invoke-virtual {v3, p0, v0, v2}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_3
const/4 v0, 0x0
invoke-virtual {v1, v0}, Ld0/a/r1/g;->b(Ld0/a/r1/k;)Ld0/a/r1/g;
goto :goto_1
:cond_7
new-instance v0, Lkotlin/TypeCastException;
const-string v1, "null cannot be cast to non-null type kotlinx.coroutines.internal.Node /* = kotlinx.coroutines.internal.LockFreeLinkedListNode */"
invoke-direct {v0, v1}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
throw v0
:cond_8
:goto_1
return-void
:cond_9
new-instance v0, Lkotlin/TypeCastException;
const-string v1, "null cannot be cast to non-null type kotlinx.coroutines.JobSupport"
invoke-direct {v0, v1}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public getList()Ld0/a/e1;
.locals 1
const/4 v0, 0x0
return-object v0
.end method