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