apkfuckery/com.discord/smali_classes2/l0/a/z0.smali
2020-09-09 19:21:20 +00:00

197 lines
3.9 KiB
Smali

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