y$b$a.smali
.class final Lrx/c/a/y$b$a;
.super Ljava/util/concurrent/atomic/AtomicBoolean;
.source "SourceFile"
# interfaces
.implements Lrx/e;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lrx/c/a/y$b;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x10
name = "a"
.end annotation
# instance fields
.field final synthetic a:Lrx/c/a/y$b;
# direct methods
.method constructor <init>(Lrx/c/a/y$b;)V
.registers 2
.line 311
iput-object p1, p0, Lrx/c/a/y$b$a;->a:Lrx/c/a/y$b;
invoke-direct {p0}, Ljava/util/concurrent/atomic/AtomicBoolean;-><init>()V
return-void
.end method
# virtual methods
.method public final a(J)V
.registers 23
move-object/from16 v0, p0
move-wide/from16 v1, p1
.line 318
iget-object v3, v0, Lrx/c/a/y$b$a;->a:Lrx/c/a/y$b;
.line 319
iget-object v4, v3, Lrx/c/a/y$b;->f:Ljava/util/concurrent/atomic/AtomicLong;
iget-object v5, v3, Lrx/c/a/y$b;->e:Ljava/util/ArrayDeque;
iget-object v6, v3, Lrx/c/a/y$b;->a:Lrx/i;
.line 2054
new-instance v7, Lrx/c/e/o$1;
invoke-direct {v7}, Lrx/c/e/o$1;-><init>()V
const-wide/16 v8, 0x0
cmp-long v10, v1, v8
if-ltz v10, :cond_8c
const/4 v10, 0x1
const-wide/high16 v11, -0x8000000000000000L
const/4 v13, 0x0
cmp-long v14, v1, v8
if-nez v14, :cond_2c
.line 2250
invoke-virtual {v4}, Ljava/util/concurrent/atomic/AtomicLong;->get()J
move-result-wide v4
and-long/2addr v4, v11
cmp-long v6, v4, v8
if-nez v6, :cond_2a
:goto_28
const/4 v4, 0x1
goto :goto_57
:cond_2a
const/4 v4, 0x0
goto :goto_57
.line 2254
:cond_2c
:goto_2c
invoke-virtual {v4}, Ljava/util/concurrent/atomic/AtomicLong;->get()J
move-result-wide v14
and-long v16, v14, v11
const-wide v18, 0x7fffffffffffffffL
and-long v8, v14, v18
.line 2263
invoke-static {v8, v9, v1, v2}, Lrx/c/a/a;->b(JJ)J
move-result-wide v8
or-long v8, v8, v16
.line 2268
invoke-virtual {v4, v14, v15, v8, v9}, Ljava/util/concurrent/atomic/AtomicLong;->compareAndSet(JJ)Z
move-result v8
if-eqz v8, :cond_89
cmp-long v8, v14, v11
if-nez v8, :cond_50
.line 2272
invoke-static {v4, v5, v6, v7}, Lrx/c/a/a;->a(Ljava/util/concurrent/atomic/AtomicLong;Ljava/util/Queue;Lrx/i;Lrx/b/f;)V
const/4 v4, 0x0
const-wide/16 v8, 0x0
goto :goto_57
:cond_50
const-wide/16 v8, 0x0
cmp-long v4, v16, v8
if-nez v4, :cond_2a
goto :goto_28
:goto_57
if-eqz v4, :cond_88
cmp-long v4, v1, v8
if-eqz v4, :cond_88
.line 321
invoke-virtual/range {p0 .. p0}, Lrx/c/a/y$b$a;->get()Z
move-result v4
if-nez v4, :cond_7e
invoke-virtual {v0, v13, v10}, Lrx/c/a/y$b$a;->compareAndSet(ZZ)Z
move-result v4
if-eqz v4, :cond_7e
.line 322
iget v4, v3, Lrx/c/a/y$b;->c:I
int-to-long v4, v4
const-wide/16 v6, 0x1
sub-long/2addr v1, v6
invoke-static {v4, v5, v1, v2}, Lrx/c/a/a;->a(JJ)J
move-result-wide v1
.line 323
iget v4, v3, Lrx/c/a/y$b;->b:I
int-to-long v4, v4
invoke-static {v1, v2, v4, v5}, Lrx/c/a/a;->b(JJ)J
move-result-wide v1
.line 3237
invoke-virtual {v3, v1, v2}, Lrx/c/a/y$b;->a(J)V
return-void
.line 327
:cond_7e
iget v4, v3, Lrx/c/a/y$b;->c:I
int-to-long v4, v4
invoke-static {v4, v5, v1, v2}, Lrx/c/a/a;->a(JJ)J
move-result-wide v1
.line 4237
invoke-virtual {v3, v1, v2}, Lrx/c/a/y$b;->a(J)V
:cond_88
return-void
:cond_89
const-wide/16 v8, 0x0
goto :goto_2c
.line 2247
:cond_8c
new-instance v3, Ljava/lang/IllegalArgumentException;
invoke-static/range {p1 .. p2}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;
move-result-object v1
const-string v2, "n >= 0 required but it was "
invoke-virtual {v2, v1}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
move-result-object v1
invoke-direct {v3, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
goto :goto_9d
:goto_9c
throw v3
:goto_9d
goto :goto_9c
.end method