apkfuckery/com.discord/smali_classes2/l0/a/b1.smali

328 lines
6.6 KiB
Smali
Raw Normal View History

2020-09-02 04:07:20 +00:00
.class public abstract Ll0/a/b1;
.super Ll0/a/s;
.source "JobSupport.kt"
# interfaces
.implements Ll0/a/k0;
.implements Ll0/a/u0;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<J::",
"Lkotlinx/coroutines/Job;",
">",
"Ll0/a/s;",
"Ll0/a/k0;",
"Ll0/a/u0;"
}
.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
2020-09-08 08:16:32 +00:00
.locals 0
2020-09-02 04:07:20 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"(TJ;)V"
}
.end annotation
2020-09-08 08:16:32 +00:00
if-eqz p1, :cond_0
2020-09-02 04:07:20 +00:00
invoke-direct {p0}, Ll0/a/s;-><init>()V
iput-object p1, p0, Ll0/a/b1;->g:Lkotlinx/coroutines/Job;
return-void
2020-09-08 08:16:32 +00:00
:cond_0
const-string p1, "job"
invoke-static {p1}, Lk0/n/c/h;->c(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
2020-09-02 04:07:20 +00:00
.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, Ll0/a/b1;->g:Lkotlinx/coroutines/Job;
if-eqz v0, :cond_11
check-cast v0, Ll0/a/c1;
2020-09-08 08:16:32 +00:00
const/4 v1, 0x0
2020-09-02 04:07:20 +00:00
:cond_0
invoke-virtual {v0}, Ll0/a/c1;->x()Ljava/lang/Object;
2020-09-08 08:16:32 +00:00
move-result-object v2
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
instance-of v3, v2, Ll0/a/b1;
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
if-eqz v3, :cond_2
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
if-eq v2, p0, :cond_1
2020-09-02 04:07:20 +00:00
goto/16 :goto_4
:cond_1
2020-09-08 08:16:32 +00:00
sget-object v3, Ll0/a/c1;->d:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
sget-object v4, Ll0/a/d1;->c:Ll0/a/m0;
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
invoke-virtual {v3, v0, v2, v4}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
move-result v2
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
if-eqz v2, :cond_0
2020-09-02 04:07:20 +00:00
goto/16 :goto_4
:cond_2
2020-09-08 08:16:32 +00:00
instance-of v0, v2, Ll0/a/u0;
2020-09-02 04:07:20 +00:00
if-eqz v0, :cond_10
2020-09-08 08:16:32 +00:00
check-cast v2, Ll0/a/u0;
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
invoke-interface {v2}, Ll0/a/u0;->getList()Ll0/a/g1;
2020-09-02 04:07:20 +00:00
move-result-object v0
if-eqz v0, :cond_10
:cond_3
invoke-virtual {p0}, Ll0/a/r1/m;->d()Ljava/lang/Object;
move-result-object v0
2020-09-08 08:16:32 +00:00
instance-of v2, v0, Ll0/a/r1/s;
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
if-eqz v2, :cond_4
2020-09-02 04:07:20 +00:00
goto/16 :goto_4
:cond_4
if-ne v0, p0, :cond_5
goto/16 :goto_4
:cond_5
2020-09-08 08:16:32 +00:00
const-string v2, "null cannot be cast to non-null type kotlinx.coroutines.internal.Node /* = kotlinx.coroutines.internal.LockFreeLinkedListNode */"
2020-09-02 04:07:20 +00:00
if-eqz v0, :cond_f
2020-09-08 08:16:32 +00:00
move-object v3, v0
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
check-cast v3, Ll0/a/r1/m;
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
iget-object v4, v3, Ll0/a/r1/m;->_removedRef:Ljava/lang/Object;
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
check-cast v4, Ll0/a/r1/s;
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
if-eqz v4, :cond_6
2020-09-02 04:07:20 +00:00
goto :goto_0
:cond_6
2020-09-08 08:16:32 +00:00
new-instance v4, Ll0/a/r1/s;
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
invoke-direct {v4, v3}, Ll0/a/r1/s;-><init>(Ll0/a/r1/m;)V
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
sget-object v5, Ll0/a/r1/m;->f:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
invoke-virtual {v5, v3, v4}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->lazySet(Ljava/lang/Object;Ljava/lang/Object;)V
2020-09-02 04:07:20 +00:00
:goto_0
2020-09-08 08:16:32 +00:00
sget-object v5, Ll0/a/r1/m;->d:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
invoke-virtual {v5, p0, v0, v4}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
2020-09-02 04:07:20 +00:00
move-result v0
if-eqz v0, :cond_3
invoke-virtual {p0}, Ll0/a/r1/m;->g()Ll0/a/r1/m;
move-result-object v0
2020-09-08 08:16:32 +00:00
iget-object v4, p0, Ll0/a/r1/m;->_next:Ljava/lang/Object;
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
if-eqz v4, :cond_e
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
check-cast v4, Ll0/a/r1/s;
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
iget-object v4, v4, Ll0/a/r1/s;->a:Ll0/a/r1/m;
2020-09-02 04:07:20 +00:00
:goto_1
2020-09-08 08:16:32 +00:00
move-object v5, v4
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
move-object v4, v1
2020-09-02 04:07:20 +00:00
:cond_7
:goto_2
invoke-virtual {v5}, Ll0/a/r1/m;->d()Ljava/lang/Object;
move-result-object v6
instance-of v7, v6, Ll0/a/r1/s;
if-eqz v7, :cond_8
invoke-virtual {v5}, Ll0/a/r1/m;->g()Ll0/a/r1/m;
check-cast v6, Ll0/a/r1/s;
iget-object v5, v6, Ll0/a/r1/s;->a:Ll0/a/r1/m;
goto :goto_2
:cond_8
invoke-virtual {v0}, Ll0/a/r1/m;->d()Ljava/lang/Object;
move-result-object v6
instance-of v7, v6, Ll0/a/r1/s;
if-eqz v7, :cond_a
2020-09-08 08:16:32 +00:00
if-eqz v4, :cond_9
2020-09-02 04:07:20 +00:00
invoke-virtual {v0}, Ll0/a/r1/m;->g()Ll0/a/r1/m;
2020-09-08 08:16:32 +00:00
sget-object v7, Ll0/a/r1/m;->d:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
2020-09-02 04:07:20 +00:00
check-cast v6, Ll0/a/r1/s;
iget-object v6, v6, Ll0/a/r1/s;->a:Ll0/a/r1/m;
2020-09-08 08:16:32 +00:00
invoke-virtual {v7, v4, v0, v6}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
move-object v0, v4
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
move-object v4, v5
2020-09-02 04:07:20 +00:00
goto :goto_1
:cond_9
iget-object v0, v0, Ll0/a/r1/m;->_prev:Ljava/lang/Object;
invoke-static {v0}, Ll0/a/r1/l;->a(Ljava/lang/Object;)Ll0/a/r1/m;
move-result-object v0
goto :goto_2
:cond_a
if-eq v6, p0, :cond_d
if-eqz v6, :cond_c
2020-09-08 08:16:32 +00:00
move-object v4, v6
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
check-cast v4, Ll0/a/r1/m;
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
if-ne v4, v5, :cond_b
2020-09-02 04:07:20 +00:00
goto :goto_3
:cond_b
2020-09-08 08:16:32 +00:00
move-object v8, v4
2020-09-02 04:07:20 +00:00
2020-09-08 08:16:32 +00:00
move-object v4, v0
2020-09-02 04:07:20 +00:00
move-object v0, v8
goto :goto_2
:cond_c
new-instance v0, Lkotlin/TypeCastException;
2020-09-08 08:16:32 +00:00
invoke-direct {v0, v2}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
2020-09-02 04:07:20 +00:00
throw v0
:cond_d
sget-object v6, Ll0/a/r1/m;->d:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
invoke-virtual {v6, v0, p0, v5}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v6
if-eqz v6, :cond_7
:goto_3
iget-object v0, p0, Ll0/a/r1/m;->_prev:Ljava/lang/Object;
invoke-static {v0}, Ll0/a/r1/l;->a(Ljava/lang/Object;)Ll0/a/r1/m;
move-result-object v0
2020-09-08 08:16:32 +00:00
invoke-virtual {v3, v0, v1}, Ll0/a/r1/m;->b(Ll0/a/r1/m;Ll0/a/r1/r;)Ll0/a/r1/m;
2020-09-02 04:07:20 +00:00
goto :goto_4
:cond_e
new-instance v0, Lkotlin/TypeCastException;
const-string v1, "null cannot be cast to non-null type kotlinx.coroutines.internal.Removed"
invoke-direct {v0, v1}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
throw v0
:cond_f
new-instance v0, Lkotlin/TypeCastException;
2020-09-08 08:16:32 +00:00
invoke-direct {v0, v2}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
2020-09-02 04:07:20 +00:00
throw v0
:cond_10
:goto_4
return-void
:cond_11
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/g1;
.locals 1
const/4 v0, 0x0
return-object v0
.end method