.class public abstract Lq9/j0;
.super Lq9/k0;
.source ""

# interfaces
.implements Lq9/b0;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lq9/j0$b;,
        Lq9/j0$a;,
        Lq9/j0$c;
    }
.end annotation


# static fields
.field public static final synthetic v:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;

.field public static final synthetic w:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;


# instance fields
.field private volatile synthetic _delayed:Ljava/lang/Object;

.field private volatile synthetic _isCompleted:I

.field private volatile synthetic _queue:Ljava/lang/Object;


# direct methods
.method static constructor <clinit>()V
    .registers 3

    const-class v0, Ljava/lang/Object;

    const-class v1, Lq9/j0;

    const-string v2, "_queue"

    invoke-static {v1, v0, v2}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->newUpdater(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;

    move-result-object v2

    sput-object v2, Lq9/j0;->v:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;

    const-string v2, "_delayed"

    invoke-static {v1, v0, v2}, 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, Lq9/j0;->w:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;

    return-void
.end method

.method public constructor <init>()V
    .registers 2

    invoke-direct {p0}, Lq9/k0;-><init>()V

    const/4 v0, 0x0

    iput-object v0, p0, Lq9/j0;->_queue:Ljava/lang/Object;

    iput-object v0, p0, Lq9/j0;->_delayed:Ljava/lang/Object;

    const/4 v0, 0x0

    iput v0, p0, Lq9/j0;->_isCompleted:I

    return-void
.end method


# virtual methods
.method public final Y(Lb9/f;Ljava/lang/Runnable;)V
    .registers 3

    invoke-virtual {p0, p2}, Lq9/j0;->h0(Ljava/lang/Runnable;)V

    return-void
.end method

.method public g(JLq9/f;)V
    .registers 7
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(J",
            "Lq9/f<",
            "-",
            "Ly8/k;",
            ">;)V"
        }
    .end annotation

    const-wide/16 v0, 0x0

    cmp-long v2, p1, v0

    if-gtz v2, :cond_7

    goto :goto_1a

    :cond_7
    const-wide v0, 0x8637bd05af6L

    cmp-long v0, p1, v0

    if-ltz v0, :cond_16

    const-wide v0, 0x7fffffffffffffffL

    goto :goto_1a

    :cond_16
    const-wide/32 v0, 0xf4240

    mul-long/2addr v0, p1

    :goto_1a
    const-wide p1, 0x3fffffffffffffffL    # 1.9999999999999998

    cmp-long p1, v0, p1

    if-gez p1, :cond_3a

    invoke-static {}, Ljava/lang/System;->nanoTime()J

    move-result-wide p1

    new-instance v2, Lq9/j0$a;

    add-long/2addr v0, p1

    invoke-direct {v2, p0, v0, v1, p3}, Lq9/j0$a;-><init>(Lq9/j0;JLq9/f;)V

    .line 1
    new-instance v0, Lq9/g0;

    invoke-direct {v0, v2}, Lq9/g0;-><init>(Lq9/f0;)V

    check-cast p3, Lq9/g;

    invoke-virtual {p3, v0}, Lq9/g;->t(Lh9/b;)V

    .line 2
    invoke-virtual {p0, p1, p2, v2}, Lq9/j0;->m0(JLq9/j0$b;)V

    :cond_3a
    return-void
.end method

.method public final h0(Ljava/lang/Runnable;)V
    .registers 3

    invoke-virtual {p0, p1}, Lq9/j0;->i0(Ljava/lang/Runnable;)Z

    move-result v0

    if-eqz v0, :cond_14

    .line 1
    invoke-virtual {p0}, Lq9/k0;->g0()Ljava/lang/Thread;

    move-result-object p1

    invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;

    move-result-object v0

    if-eq v0, p1, :cond_19

    invoke-static {p1}, Ljava/util/concurrent/locks/LockSupport;->unpark(Ljava/lang/Thread;)V

    goto :goto_19

    .line 2
    :cond_14
    sget-object v0, Lq9/z;->x:Lq9/z;

    invoke-virtual {v0, p1}, Lq9/j0;->h0(Ljava/lang/Runnable;)V

    :cond_19
    :goto_19
    return-void
.end method

.method public final i0(Ljava/lang/Runnable;)Z
    .registers 7

    :cond_0
    :goto_0
    iget-object v0, p0, Lq9/j0;->_queue:Ljava/lang/Object;

    .line 1
    iget v1, p0, Lq9/j0;->_isCompleted:I

    const/4 v2, 0x0

    if-eqz v1, :cond_8

    return v2

    :cond_8
    const/4 v1, 0x1

    if-nez v0, :cond_15

    .line 2
    sget-object v0, Lq9/j0;->v:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;

    const/4 v2, 0x0

    invoke-virtual {v0, p0, v2, p1}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    return v1

    :cond_15
    instance-of v3, v0, Ls9/j;

    if-eqz v3, :cond_34

    move-object v3, v0

    check-cast v3, Ls9/j;

    invoke-virtual {v3, p1}, Ls9/j;->a(Ljava/lang/Object;)I

    move-result v4

    if-eqz v4, :cond_33

    if-eq v4, v1, :cond_29

    const/4 v0, 0x2

    if-eq v4, v0, :cond_28

    goto :goto_0

    :cond_28
    return v2

    :cond_29
    sget-object v1, Lq9/j0;->v:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;

    invoke-virtual {v3}, Ls9/j;->e()Ls9/j;

    move-result-object v2

    invoke-virtual {v1, p0, v0, v2}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z

    goto :goto_0

    :cond_33
    return v1

    .line 3
    :cond_34
    sget-object v3, Lq9/l0;->b:Lf/o;

    if-ne v0, v3, :cond_39

    return v2

    .line 4
    :cond_39
    new-instance v2, Ls9/j;

    const/16 v3, 0x8

    invoke-direct {v2, v3, v1}, Ls9/j;-><init>(IZ)V

    move-object v3, v0

    check-cast v3, Ljava/lang/Runnable;

    invoke-virtual {v2, v3}, Ls9/j;->a(Ljava/lang/Object;)I

    invoke-virtual {v2, p1}, Ls9/j;->a(Ljava/lang/Object;)I

    sget-object v3, Lq9/j0;->v: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_0

    return v1
.end method

.method public j0()Z
    .registers 5

    .line 1
    iget-object v0, p0, Lq9/i0;->u:Lz5/qa;

    const/4 v1, 0x1

    const/4 v2, 0x0

    if-nez v0, :cond_7

    goto :goto_d

    .line 2
    :cond_7
    iget v3, v0, Lz5/qa;->b:I

    iget v0, v0, Lz5/qa;->c:I

    if-ne v3, v0, :cond_f

    :goto_d
    move v0, v1

    goto :goto_10

    :cond_f
    move v0, v2

    :goto_10
    if-nez v0, :cond_13

    return v2

    .line 3
    :cond_13
    iget-object v0, p0, Lq9/j0;->_delayed:Ljava/lang/Object;

    check-cast v0, Lq9/j0$c;

    if-eqz v0, :cond_20

    invoke-virtual {v0}, Ls9/q;->c()Z

    move-result v0

    if-nez v0, :cond_20

    return v2

    :cond_20
    iget-object v0, p0, Lq9/j0;->_queue:Ljava/lang/Object;

    if-nez v0, :cond_25

    goto :goto_36

    :cond_25
    instance-of v3, v0, Ls9/j;

    if-eqz v3, :cond_30

    check-cast v0, Ls9/j;

    invoke-virtual {v0}, Ls9/j;->d()Z

    move-result v1

    goto :goto_36

    .line 4
    :cond_30
    sget-object v3, Lq9/l0;->b:Lf/o;

    if-ne v0, v3, :cond_35

    goto :goto_36

    :cond_35
    move v1, v2

    :goto_36
    return v1
.end method

.method public k0()J
    .registers 12

    invoke-virtual {p0}, Lq9/i0;->f0()Z

    move-result v0

    const-wide/16 v1, 0x0

    if-eqz v0, :cond_9

    return-wide v1

    :cond_9
    iget-object v0, p0, Lq9/j0;->_delayed:Ljava/lang/Object;

    check-cast v0, Lq9/j0$c;

    const/4 v3, 0x1

    const/4 v4, 0x0

    const/4 v5, 0x0

    if-eqz v0, :cond_4c

    invoke-virtual {v0}, Ls9/q;->c()Z

    move-result v6

    if-nez v6, :cond_4c

    invoke-static {}, Ljava/lang/System;->nanoTime()J

    move-result-wide v6

    :cond_1c
    monitor-enter v0

    :try_start_1d
    invoke-virtual {v0}, Ls9/q;->b()Ls9/r;

    move-result-object v8
    :try_end_21
    .catchall {:try_start_1d .. :try_end_21} :catchall_49

    if-nez v8, :cond_26

    monitor-exit v0

    move-object v8, v5

    goto :goto_44

    :cond_26
    :try_start_26
    check-cast v8, Lq9/j0$b;

    .line 1
    iget-wide v9, v8, Lq9/j0$b;->r:J

    sub-long v9, v6, v9

    cmp-long v9, v9, v1

    if-ltz v9, :cond_32

    move v9, v3

    goto :goto_33

    :cond_32
    move v9, v4

    :goto_33
    if-eqz v9, :cond_3a

    .line 2
    invoke-virtual {p0, v8}, Lq9/j0;->i0(Ljava/lang/Runnable;)Z

    move-result v8

    goto :goto_3b

    :cond_3a
    move v8, v4

    :goto_3b
    if-eqz v8, :cond_42

    invoke-virtual {v0, v4}, Ls9/q;->d(I)Ls9/r;

    move-result-object v8
    :try_end_41
    .catchall {:try_start_26 .. :try_end_41} :catchall_49

    goto :goto_43

    :cond_42
    move-object v8, v5

    :goto_43
    monitor-exit v0

    :goto_44
    check-cast v8, Lq9/j0$b;

    if-nez v8, :cond_1c

    goto :goto_4c

    :catchall_49
    move-exception v1

    monitor-exit v0

    throw v1

    .line 3
    :cond_4c
    :goto_4c
    iget-object v0, p0, Lq9/j0;->_queue:Ljava/lang/Object;

    if-nez v0, :cond_52

    :goto_50
    move-object v7, v5

    goto :goto_7e

    :cond_52
    instance-of v6, v0, Ls9/j;

    if-eqz v6, :cond_6e

    move-object v6, v0

    check-cast v6, Ls9/j;

    invoke-virtual {v6}, Ls9/j;->f()Ljava/lang/Object;

    move-result-object v7

    sget-object v8, Ls9/j;->g:Lf/o;

    if-eq v7, v8, :cond_64

    check-cast v7, Ljava/lang/Runnable;

    goto :goto_7e

    :cond_64
    sget-object v7, Lq9/j0;->v:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;

    invoke-virtual {v6}, Ls9/j;->e()Ls9/j;

    move-result-object v6

    invoke-virtual {v7, p0, v0, v6}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z

    goto :goto_4c

    .line 4
    :cond_6e
    sget-object v6, Lq9/l0;->b:Lf/o;

    if-ne v0, v6, :cond_73

    goto :goto_50

    .line 5
    :cond_73
    sget-object v6, Lq9/j0;->v:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;

    invoke-virtual {v6, p0, v0, v5}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result v6

    if-eqz v6, :cond_4c

    move-object v7, v0

    check-cast v7, Ljava/lang/Runnable;

    :goto_7e
    if-eqz v7, :cond_84

    .line 6
    invoke-interface {v7}, Ljava/lang/Runnable;->run()V

    return-wide v1

    .line 7
    :cond_84
    iget-object v0, p0, Lq9/i0;->u:Lz5/qa;

    const-wide v6, 0x7fffffffffffffffL

    if-nez v0, :cond_8e

    goto :goto_98

    .line 8
    :cond_8e
    iget v8, v0, Lz5/qa;->b:I

    iget v0, v0, Lz5/qa;->c:I

    if-ne v8, v0, :cond_95

    goto :goto_96

    :cond_95
    move v3, v4

    :goto_96
    if-eqz v3, :cond_9a

    :goto_98
    move-wide v3, v6

    goto :goto_9b

    :cond_9a
    move-wide v3, v1

    :goto_9b
    cmp-long v0, v3, v1

    if-nez v0, :cond_a0

    goto :goto_db

    .line 9
    :cond_a0
    iget-object v0, p0, Lq9/j0;->_queue:Ljava/lang/Object;

    if-nez v0, :cond_a5

    goto :goto_b2

    :cond_a5
    instance-of v3, v0, Ls9/j;

    if-eqz v3, :cond_d6

    check-cast v0, Ls9/j;

    invoke-virtual {v0}, Ls9/j;->d()Z

    move-result v0

    if-nez v0, :cond_b2

    goto :goto_db

    :cond_b2
    :goto_b2
    iget-object v0, p0, Lq9/j0;->_delayed:Ljava/lang/Object;

    check-cast v0, Lq9/j0$c;

    if-nez v0, :cond_b9

    goto :goto_c2

    .line 10
    :cond_b9
    monitor-enter v0

    :try_start_ba
    invoke-virtual {v0}, Ls9/q;->b()Ls9/r;

    move-result-object v3
    :try_end_be
    .catchall {:try_start_ba .. :try_end_be} :catchall_d3

    monitor-exit v0

    .line 11
    move-object v5, v3

    check-cast v5, Lq9/j0$b;

    :goto_c2
    if-nez v5, :cond_c5

    goto :goto_da

    :cond_c5
    iget-wide v3, v5, Lq9/j0$b;->r:J

    invoke-static {}, Ljava/lang/System;->nanoTime()J

    move-result-wide v5

    sub-long/2addr v3, v5

    cmp-long v0, v3, v1

    if-gez v0, :cond_d1

    goto :goto_db

    :cond_d1
    move-wide v1, v3

    goto :goto_db

    :catchall_d3
    move-exception v1

    .line 12
    monitor-exit v0

    throw v1

    .line 13
    :cond_d6
    sget-object v3, Lq9/l0;->b:Lf/o;

    if-ne v0, v3, :cond_db

    :goto_da
    move-wide v1, v6

    :cond_db
    :goto_db
    return-wide v1
.end method

.method public final l0()V
    .registers 2

    const/4 v0, 0x0

    iput-object v0, p0, Lq9/j0;->_queue:Ljava/lang/Object;

    iput-object v0, p0, Lq9/j0;->_delayed:Ljava/lang/Object;

    return-void
.end method

.method public final m0(JLq9/j0$b;)V
    .registers 16

    .line 1
    iget v0, p0, Lq9/j0;->_isCompleted:I

    const/4 v1, 0x0

    const/4 v2, 0x2

    const/4 v3, 0x0

    const/4 v4, 0x1

    if-eqz v0, :cond_a

    move v0, v4

    goto :goto_62

    .line 2
    :cond_a
    iget-object v0, p0, Lq9/j0;->_delayed:Ljava/lang/Object;

    check-cast v0, Lq9/j0$c;

    if-nez v0, :cond_21

    sget-object v0, Lq9/j0;->w:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;

    new-instance v5, Lq9/j0$c;

    invoke-direct {v5, p1, p2}, Lq9/j0$c;-><init>(J)V

    invoke-virtual {v0, p0, v3, v5}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z

    iget-object v0, p0, Lq9/j0;->_delayed:Ljava/lang/Object;

    check-cast v0, Lq9/j0$c;

    invoke-static {v0}, Lx/e;->d(Ljava/lang/Object;)V

    .line 3
    :cond_21
    monitor-enter p3

    :try_start_22
    iget-object v5, p3, Lq9/j0$b;->s:Ljava/lang/Object;

    .line 4
    sget-object v6, Lq9/l0;->a:Lf/o;

    if-ne v5, v6, :cond_2a

    move v0, v2

    goto :goto_61

    .line 5
    :cond_2a
    monitor-enter v0
    :try_end_2b
    .catchall {:try_start_22 .. :try_end_2b} :catchall_a4

    :try_start_2b
    invoke-virtual {v0}, Ls9/q;->b()Ls9/r;

    move-result-object v5

    check-cast v5, Lq9/j0$b;

    .line 6
    iget v6, p0, Lq9/j0;->_isCompleted:I
    :try_end_33
    .catchall {:try_start_2b .. :try_end_33} :catchall_a1

    if-eqz v6, :cond_38

    .line 7
    :try_start_35
    monitor-exit v0
    :try_end_36
    .catchall {:try_start_35 .. :try_end_36} :catchall_a4

    move v0, v4

    goto :goto_61

    :cond_38
    const-wide/16 v6, 0x0

    if-nez v5, :cond_3e

    move-wide v8, p1

    goto :goto_4f

    :cond_3e
    :try_start_3e
    iget-wide v8, v5, Lq9/j0$b;->r:J

    sub-long v10, v8, p1

    cmp-long v5, v10, v6

    if-ltz v5, :cond_47

    move-wide v8, p1

    :cond_47
    iget-wide v10, v0, Lq9/j0$c;->b:J

    sub-long v10, v8, v10

    cmp-long v5, v10, v6

    if-lez v5, :cond_51

    :goto_4f
    iput-wide v8, v0, Lq9/j0$c;->b:J

    :cond_51
    iget-wide v8, p3, Lq9/j0$b;->r:J

    iget-wide v10, v0, Lq9/j0$c;->b:J

    sub-long/2addr v8, v10

    cmp-long v5, v8, v6

    if-gez v5, :cond_5c

    iput-wide v10, p3, Lq9/j0$b;->r:J

    :cond_5c
    invoke-virtual {v0, p3}, Ls9/q;->a(Ls9/r;)V
    :try_end_5f
    .catchall {:try_start_3e .. :try_end_5f} :catchall_a1

    :try_start_5f
    monitor-exit v0
    :try_end_60
    .catchall {:try_start_5f .. :try_end_60} :catchall_a4

    move v0, v1

    :goto_61
    monitor-exit p3

    :goto_62
    if-eqz v0, :cond_7b

    if-eq v0, v4, :cond_75

    if-ne v0, v2, :cond_69

    goto :goto_9d

    :cond_69
    const-string p1, "unexpected result"

    .line 8
    new-instance p2, Ljava/lang/IllegalStateException;

    invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-direct {p2, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw p2

    .line 9
    :cond_75
    sget-object v0, Lq9/z;->x:Lq9/z;

    invoke-virtual {v0, p1, p2, p3}, Lq9/j0;->m0(JLq9/j0$b;)V

    goto :goto_9d

    .line 10
    :cond_7b
    iget-object p1, p0, Lq9/j0;->_delayed:Ljava/lang/Object;

    check-cast p1, Lq9/j0$c;

    if-nez p1, :cond_82

    goto :goto_8b

    .line 11
    :cond_82
    monitor-enter p1

    :try_start_83
    invoke-virtual {p1}, Ls9/q;->b()Ls9/r;

    move-result-object p2
    :try_end_87
    .catchall {:try_start_83 .. :try_end_87} :catchall_9e

    monitor-exit p1

    .line 12
    move-object v3, p2

    check-cast v3, Lq9/j0$b;

    :goto_8b
    if-ne v3, p3, :cond_8e

    move v1, v4

    :cond_8e
    if-eqz v1, :cond_9d

    .line 13
    invoke-virtual {p0}, Lq9/k0;->g0()Ljava/lang/Thread;

    move-result-object p1

    invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;

    move-result-object p2

    if-eq p2, p1, :cond_9d

    invoke-static {p1}, Ljava/util/concurrent/locks/LockSupport;->unpark(Ljava/lang/Thread;)V

    :cond_9d
    :goto_9d
    return-void

    :catchall_9e
    move-exception p2

    .line 14
    monitor-exit p1

    throw p2

    :catchall_a1
    move-exception p1

    .line 15
    :try_start_a2
    monitor-exit v0

    throw p1
    :try_end_a4
    .catchall {:try_start_a2 .. :try_end_a4} :catchall_a4

    :catchall_a4
    move-exception p1

    monitor-exit p3

    throw p1
.end method

.method public shutdown()V
    .registers 7

    sget-object v0, Lq9/j1;->a:Lq9/j1;

    .line 1
    sget-object v0, Lq9/j1;->b:Ljava/lang/ThreadLocal;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Ljava/lang/ThreadLocal;->set(Ljava/lang/Object;)V

    const/4 v0, 0x1

    .line 2
    iput v0, p0, Lq9/j0;->_isCompleted:I

    .line 3
    :cond_b
    iget-object v2, p0, Lq9/j0;->_queue:Ljava/lang/Object;

    if-nez v2, :cond_1a

    sget-object v2, Lq9/j0;->v:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;

    .line 4
    sget-object v3, Lq9/l0;->b:Lf/o;

    .line 5
    invoke-virtual {v2, p0, v1, v3}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_b

    goto :goto_3e

    :cond_1a
    instance-of v3, v2, Ls9/j;

    if-eqz v3, :cond_24

    check-cast v2, Ls9/j;

    invoke-virtual {v2}, Ls9/j;->b()Z

    goto :goto_3e

    .line 6
    :cond_24
    sget-object v3, Lq9/l0;->b:Lf/o;

    if-ne v2, v3, :cond_29

    goto :goto_3e

    .line 7
    :cond_29
    new-instance v3, Ls9/j;

    const/16 v4, 0x8

    invoke-direct {v3, v4, v0}, Ls9/j;-><init>(IZ)V

    move-object v4, v2

    check-cast v4, Ljava/lang/Runnable;

    invoke-virtual {v3, v4}, Ls9/j;->a(Ljava/lang/Object;)I

    sget-object v4, Lq9/j0;->v:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;

    invoke-virtual {v4, p0, v2, v3}, Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_b

    .line 8
    :goto_3e
    invoke-virtual {p0}, Lq9/j0;->k0()J

    move-result-wide v2

    const-wide/16 v4, 0x0

    cmp-long v0, v2, v4

    if-gtz v0, :cond_49

    goto :goto_3e

    .line 9
    :cond_49
    invoke-static {}, Ljava/lang/System;->nanoTime()J

    move-result-wide v2

    :goto_4d
    iget-object v0, p0, Lq9/j0;->_delayed:Ljava/lang/Object;

    check-cast v0, Lq9/j0$c;

    if-nez v0, :cond_55

    move-object v0, v1

    goto :goto_5b

    :cond_55
    invoke-virtual {v0}, Ls9/q;->e()Ls9/r;

    move-result-object v0

    check-cast v0, Lq9/j0$b;

    :goto_5b
    if-nez v0, :cond_5e

    return-void

    .line 10
    :cond_5e
    sget-object v4, Lq9/z;->x:Lq9/z;

    invoke-virtual {v4, v2, v3, v0}, Lq9/j0;->m0(JLq9/j0$b;)V

    goto :goto_4d
.end method
