v.smali
.class public Lfb/v;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lfb/v$a;
}
.end annotation
.annotation runtime Lkotlin/Metadata;
.end annotation
# static fields
.field private static final a:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
.field private static final b:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
.field private static final c:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
# instance fields
.field private volatile _next:Ljava/lang/Object;
.field private volatile _prev:Ljava/lang/Object;
.field private volatile _removedRef:Ljava/lang/Object;
# direct methods
.method static constructor <clinit>()V
.registers 3
const-string v0, "_next"
const-class v1, Lfb/v;
const-class v2, Ljava/lang/Object;
invoke-static {v1, v2, v0}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->newUpdater(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
move-result-object v0
sput-object v0, Lfb/v;->a:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
const-string v0, "_prev"
invoke-static {v1, v2, v0}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->newUpdater(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
move-result-object v0
sput-object v0, Lfb/v;->b:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
const-string v0, "_removedRef"
invoke-static {v1, v2, v0}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->newUpdater(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
move-result-object v0
sput-object v0, Lfb/v;->c:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
return-void
.end method
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p0, p0, Lfb/v;->_next:Ljava/lang/Object;
iput-object p0, p0, Lfb/v;->_prev:Ljava/lang/Object;
return-void
.end method
.method public static final synthetic h(Lfb/v;Lfb/v;)V
.registers 2
invoke-direct {p0, p1}, Lfb/v;->n(Lfb/v;)V
return-void
.end method
.method public static final synthetic j()Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
.registers 1
sget-object v0, Lfb/v;->a:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
return-object v0
.end method
.method private final l(Lfb/d0;)Lfb/v;
.registers 10
:goto_0
sget-object v0, Lfb/v;->b:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
invoke-virtual {v0, p0}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lfb/v;
const/4 v1, 0x0
move-object v2, v0
:goto_a
move-object v3, v1
:goto_b
sget-object v4, Lfb/v;->a:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
invoke-virtual {v4, v2}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v5
if-ne v5, p0, :cond_20
if-ne v0, v2, :cond_16
return-object v2
:cond_16
sget-object v1, Lfb/v;->b:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
invoke-static {v1, p0, v0, v2}, Landroidx/concurrent/futures/b;->a(Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_1f
goto :goto_0
:cond_1f
return-object v2
:cond_20
invoke-virtual {p0}, Lfb/v;->r()Z
move-result v6
if-eqz v6, :cond_27
return-object v1
:cond_27
if-ne v5, p1, :cond_2a
return-object v2
:cond_2a
instance-of v6, v5, Lfb/d0;
if-eqz v6, :cond_34
check-cast v5, Lfb/d0;
invoke-virtual {v5, v2}, Lfb/d0;->a(Ljava/lang/Object;)Ljava/lang/Object;
goto :goto_0
:cond_34
instance-of v6, v5, Lfb/e0;
if-eqz v6, :cond_50
if-eqz v3, :cond_47
check-cast v5, Lfb/e0;
iget-object v5, v5, Lfb/e0;->a:Lfb/v;
invoke-static {v4, v3, v2, v5}, Landroidx/concurrent/futures/b;->a(Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v2
if-nez v2, :cond_45
goto :goto_0
:cond_45
move-object v2, v3
goto :goto_a
:cond_47
sget-object v4, Lfb/v;->b:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
invoke-virtual {v4, v2}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v2
check-cast v2, Lfb/v;
goto :goto_b
:cond_50
const-string v3, "null cannot be cast to non-null type kotlinx.coroutines.internal.LockFreeLinkedListNode{ kotlinx.coroutines.internal.LockFreeLinkedListKt.Node }"
invoke-static {v5, v3}, Lkotlin/jvm/internal/Intrinsics;->d(Ljava/lang/Object;Ljava/lang/String;)V
move-object v3, v5
check-cast v3, Lfb/v;
move-object v7, v3
move-object v3, v2
move-object v2, v7
goto :goto_b
.end method
.method private final m(Lfb/v;)Lfb/v;
.registers 3
:goto_0
invoke-virtual {p1}, Lfb/v;->r()Z
move-result v0
if-nez v0, :cond_7
return-object p1
:cond_7
sget-object v0, Lfb/v;->b:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
invoke-virtual {v0, p1}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lfb/v;
goto :goto_0
.end method
.method private final n(Lfb/v;)V
.registers 5
sget-object v0, Lfb/v;->b:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
:cond_2
invoke-virtual {v0, p1}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
check-cast v1, Lfb/v;
invoke-virtual {p0}, Lfb/v;->o()Ljava/lang/Object;
move-result-object v2
if-eq v2, p1, :cond_f
return-void
:cond_f
sget-object v2, Lfb/v;->b:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
invoke-static {v2, p1, v1, p0}, Landroidx/concurrent/futures/b;->a(Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_2
invoke-virtual {p0}, Lfb/v;->r()Z
move-result v0
if-eqz v0, :cond_21
const/4 v0, 0x0
invoke-direct {p1, v0}, Lfb/v;->l(Lfb/d0;)Lfb/v;
:cond_21
return-void
.end method
.method private final u()Lfb/e0;
.registers 3
sget-object v0, Lfb/v;->c:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
invoke-virtual {v0, p0}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
check-cast v1, Lfb/e0;
if-nez v1, :cond_12
new-instance v1, Lfb/e0;
invoke-direct {v1, p0}, Lfb/e0;-><init>(Lfb/v;)V
invoke-virtual {v0, p0, v1}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->lazySet(Ljava/lang/Object;Ljava/lang/Object;)V
:cond_12
return-object v1
.end method
# virtual methods
.method public final k(Lfb/v;)Z
.registers 3
.param p1 # Lfb/v;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
sget-object v0, Lfb/v;->b:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
invoke-virtual {v0, p1, p0}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->lazySet(Ljava/lang/Object;Ljava/lang/Object;)V
sget-object v0, Lfb/v;->a:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
invoke-virtual {v0, p1, p0}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->lazySet(Ljava/lang/Object;Ljava/lang/Object;)V
:cond_a
invoke-virtual {p0}, Lfb/v;->o()Ljava/lang/Object;
move-result-object v0
if-eq v0, p0, :cond_12
const/4 p1, 0x0
return p1
:cond_12
sget-object v0, Lfb/v;->a:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
invoke-static {v0, p0, p0, p1}, Landroidx/concurrent/futures/b;->a(Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_a
invoke-direct {p1, p0}, Lfb/v;->n(Lfb/v;)V
const/4 p1, 0x1
return p1
.end method
.method public final o()Ljava/lang/Object;
.registers 4
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
sget-object v0, Lfb/v;->a:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
:goto_2
invoke-virtual {v0, p0}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
instance-of v2, v1, Lfb/d0;
if-nez v2, :cond_b
return-object v1
:cond_b
check-cast v1, Lfb/d0;
invoke-virtual {v1, p0}, Lfb/d0;->a(Ljava/lang/Object;)Ljava/lang/Object;
goto :goto_2
.end method
.method public final p()Lfb/v;
.registers 2
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
invoke-virtual {p0}, Lfb/v;->o()Ljava/lang/Object;
move-result-object v0
invoke-static {v0}, Lfb/u;->b(Ljava/lang/Object;)Lfb/v;
move-result-object v0
return-object v0
.end method
.method public final q()Lfb/v;
.registers 2
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
const/4 v0, 0x0
invoke-direct {p0, v0}, Lfb/v;->l(Lfb/d0;)Lfb/v;
move-result-object v0
if-nez v0, :cond_13
sget-object v0, Lfb/v;->b:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
invoke-virtual {v0, p0}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lfb/v;
invoke-direct {p0, v0}, Lfb/v;->m(Lfb/v;)Lfb/v;
move-result-object v0
:cond_13
return-object v0
.end method
.method public r()Z
.registers 2
invoke-virtual {p0}, Lfb/v;->o()Ljava/lang/Object;
move-result-object v0
instance-of v0, v0, Lfb/e0;
return v0
.end method
.method public s()Z
.registers 2
invoke-virtual {p0}, Lfb/v;->t()Lfb/v;
move-result-object v0
if-nez v0, :cond_8
const/4 v0, 0x1
goto :goto_9
:cond_8
const/4 v0, 0x0
:goto_9
return v0
.end method
.method public final t()Lfb/v;
.registers 5
:cond_0
invoke-virtual {p0}, Lfb/v;->o()Ljava/lang/Object;
move-result-object v0
instance-of v1, v0, Lfb/e0;
if-eqz v1, :cond_d
check-cast v0, Lfb/e0;
iget-object v0, v0, Lfb/e0;->a:Lfb/v;
return-object v0
:cond_d
if-ne v0, p0, :cond_12
check-cast v0, Lfb/v;
return-object v0
:cond_12
const-string v1, "null cannot be cast to non-null type kotlinx.coroutines.internal.LockFreeLinkedListNode{ kotlinx.coroutines.internal.LockFreeLinkedListKt.Node }"
invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->d(Ljava/lang/Object;Ljava/lang/String;)V
move-object v1, v0
check-cast v1, Lfb/v;
invoke-direct {v1}, Lfb/v;->u()Lfb/e0;
move-result-object v2
sget-object v3, Lfb/v;->a:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
invoke-static {v3, p0, v0, v2}, Landroidx/concurrent/futures/b;->a(Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
const/4 v0, 0x0
invoke-direct {v1, v0}, Lfb/v;->l(Lfb/d0;)Lfb/v;
return-object v0
.end method
.method public toString()Ljava/lang/String;
.registers 3
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
new-instance v1, Lfb/v$b;
invoke-direct {v1, p0}, Lfb/v$b;-><init>(Ljava/lang/Object;)V
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const/16 v1, 0x40
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-static {p0}, Lbb/r0;->b(Ljava/lang/Object;)Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method
.method public final v(Lfb/v;Lfb/v;Lfb/v$a;)I
.registers 5
.param p1 # Lfb/v;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.param p2 # Lfb/v;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.param p3 # Lfb/v$a;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
sget-object v0, Lfb/v;->b:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
invoke-virtual {v0, p1, p0}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->lazySet(Ljava/lang/Object;Ljava/lang/Object;)V
sget-object v0, Lfb/v;->a:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
invoke-virtual {v0, p1, p2}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->lazySet(Ljava/lang/Object;Ljava/lang/Object;)V
iput-object p2, p3, Lfb/v$a;->c:Lfb/v;
invoke-static {v0, p0, p2, p3}, Landroidx/concurrent/futures/b;->a(Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p1
if-nez p1, :cond_14
const/4 p1, 0x0
return p1
:cond_14
invoke-virtual {p3, p0}, Lfb/b;->a(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
if-nez p1, :cond_1c
const/4 p1, 0x1
goto :goto_1d
:cond_1c
const/4 p1, 0x2
:goto_1d
return p1
.end method