apkfuckery/com.discord/smali_classes2/d0/a/z0.smali

198 lines
3.9 KiB
Smali
Raw Normal View History

2020-10-05 23:18:16 +00:00
.class public abstract Ld0/a/z0;
.super Ld0/a/s;
2020-07-20 19:00:44 +00:00
.source "JobSupport.kt"
2020-05-17 12:40:10 +00:00
2020-09-16 23:45:23 +00:00
# interfaces
2020-10-05 23:18:16 +00:00
.implements Ld0/a/h0;
.implements Ld0/a/s0;
2020-09-16 23:45:23 +00:00
2020-05-17 12:40:10 +00:00
2020-07-20 19:00:44 +00:00
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<J::",
"Lkotlinx/coroutines/Job;",
">",
2020-10-05 23:18:16 +00:00
"Ld0/a/s;",
"Ld0/a/h0;",
"Ld0/a/s0;"
2020-07-20 19:00:44 +00:00
}
.end annotation
2020-05-17 12:40:10 +00:00
2020-09-16 23:45:23 +00:00
# instance fields
.field public final g:Lkotlinx/coroutines/Job;
.annotation system Ldalvik/annotation/Signature;
value = {
"TJ;"
}
.end annotation
.end field
2020-05-17 12:40:10 +00:00
# direct methods
2020-07-20 19:00:44 +00:00
.method public constructor <init>(Lkotlinx/coroutines/Job;)V
2020-09-08 08:16:32 +00:00
.locals 0
2020-05-17 12:40:10 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2020-07-20 19:00:44 +00:00
"(TJ;)V"
2020-05-17 12:40:10 +00:00
}
.end annotation
2020-10-05 23:18:16 +00:00
invoke-direct {p0}, Ld0/a/s;-><init>()V
2020-09-16 23:45:23 +00:00
2020-10-05 23:18:16 +00:00
iput-object p1, p0, Ld0/a/z0;->g:Lkotlinx/coroutines/Job;
2020-09-16 23:45:23 +00:00
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
2020-10-05 23:18:16 +00:00
iget-object v0, p0, Ld0/a/z0;->g:Lkotlinx/coroutines/Job;
2020-09-16 23:45:23 +00:00
if-eqz v0, :cond_9
2020-10-05 23:18:16 +00:00
check-cast v0, Ld0/a/a1;
2020-09-16 23:45:23 +00:00
:cond_0
2020-10-05 23:18:16 +00:00
invoke-virtual {v0}, Ld0/a/a1;->A()Ljava/lang/Object;
2020-09-16 23:45:23 +00:00
move-result-object v1
2020-10-05 23:18:16 +00:00
instance-of v2, v1, Ld0/a/z0;
2020-09-16 23:45:23 +00:00
if-eqz v2, :cond_2
if-eq v1, p0, :cond_1
goto :goto_1
:cond_1
2020-10-05 23:18:16 +00:00
sget-object v2, Ld0/a/a1;->d:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
2020-09-16 23:45:23 +00:00
2020-10-05 23:18:16 +00:00
sget-object v3, Ld0/a/b1;->g:Ld0/a/j0;
2020-09-16 23:45:23 +00:00
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
2020-10-05 23:18:16 +00:00
instance-of v0, v1, Ld0/a/s0;
2020-09-16 23:45:23 +00:00
if-eqz v0, :cond_8
2020-10-05 23:18:16 +00:00
check-cast v1, Ld0/a/s0;
2020-09-16 23:45:23 +00:00
2020-10-05 23:18:16 +00:00
invoke-interface {v1}, Ld0/a/s0;->getList()Ld0/a/e1;
2020-09-16 23:45:23 +00:00
move-result-object v0
if-eqz v0, :cond_8
:cond_3
2020-10-05 23:18:16 +00:00
invoke-virtual {p0}, Ld0/a/r1/g;->d()Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
2020-09-16 23:45:23 +00:00
move-result-object v0
2020-10-05 23:18:16 +00:00
instance-of v1, v0, Ld0/a/r1/l;
2020-09-16 23:45:23 +00:00
if-eqz v1, :cond_4
2020-10-05 23:18:16 +00:00
check-cast v0, Ld0/a/r1/l;
2020-09-16 23:45:23 +00:00
2020-10-05 23:18:16 +00:00
iget-object v0, v0, Ld0/a/r1/l;->a:Ld0/a/r1/g;
2020-09-16 23:45:23 +00:00
goto :goto_1
:cond_4
if-ne v0, p0, :cond_5
2020-10-05 23:18:16 +00:00
check-cast v0, Ld0/a/r1/g;
2020-09-16 23:45:23 +00:00
goto :goto_1
:cond_5
if-eqz v0, :cond_7
move-object v1, v0
2020-10-05 23:18:16 +00:00
check-cast v1, Ld0/a/r1/g;
2020-09-16 23:45:23 +00:00
2020-10-05 23:18:16 +00:00
iget-object v2, v1, Ld0/a/r1/g;->_removedRef:Ljava/lang/Object;
2020-09-16 23:45:23 +00:00
2020-10-05 23:18:16 +00:00
check-cast v2, Ld0/a/r1/l;
2020-09-16 23:45:23 +00:00
if-eqz v2, :cond_6
goto :goto_0
:cond_6
2020-10-05 23:18:16 +00:00
new-instance v2, Ld0/a/r1/l;
2020-09-16 23:45:23 +00:00
2020-10-05 23:18:16 +00:00
invoke-direct {v2, v1}, Ld0/a/r1/l;-><init>(Ld0/a/r1/g;)V
2020-09-16 23:45:23 +00:00
2020-10-05 23:18:16 +00:00
sget-object v3, Ld0/a/r1/g;->f:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
2020-09-16 23:45:23 +00:00
invoke-virtual {v3, v1, v2}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->lazySet(Ljava/lang/Object;Ljava/lang/Object;)V
:goto_0
2020-10-05 23:18:16 +00:00
sget-object v3, Ld0/a/r1/g;->d:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
2020-09-16 23:45:23 +00:00
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
2020-10-05 23:18:16 +00:00
invoke-virtual {v1, v0}, Ld0/a/r1/g;->b(Ld0/a/r1/k;)Ld0/a/r1/g;
2020-09-16 23:45:23 +00:00
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
2020-05-17 12:40:10 +00:00
return-void
2020-09-16 23:45:23 +00:00
: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
2020-10-05 23:18:16 +00:00
.method public getList()Ld0/a/e1;
2020-09-16 23:45:23 +00:00
.locals 1
const/4 v0, 0x0
return-object v0
2020-05-17 12:40:10 +00:00
.end method