ac$b.smali
.class final Lrx/c/a/ac$b;
.super Lrx/i;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lrx/c/a/ac;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = "b"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Lrx/i<",
"TT;>;"
}
.end annotation
# static fields
.field static final f:I
# instance fields
.field final a:Lrx/c/a/ac$d;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lrx/c/a/ac$d<",
"TT;>;"
}
.end annotation
.end field
.field final b:J
.field volatile c:Z
.field volatile d:Lrx/c/e/i;
.field e:I
# direct methods
.method static constructor <clinit>()V
.registers 1
.line 839
sget v0, Lrx/c/e/i;->b:I
div-int/lit8 v0, v0, 0x4
sput v0, Lrx/c/a/ac$b;->f:I
return-void
.end method
.method public constructor <init>(Lrx/c/a/ac$d;J)V
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lrx/c/a/ac$d<",
"TT;>;J)V"
}
.end annotation
.line 841
invoke-direct {p0}, Lrx/i;-><init>()V
.line 842
iput-object p1, p0, Lrx/c/a/ac$b;->a:Lrx/c/a/ac$d;
.line 843
iput-wide p2, p0, Lrx/c/a/ac$b;->b:J
return-void
.end method
# virtual methods
.method public final a()V
.registers 2
const/4 v0, 0x1
.line 862
iput-boolean v0, p0, Lrx/c/a/ac$b;->c:Z
.line 863
iget-object v0, p0, Lrx/c/a/ac$b;->a:Lrx/c/a/ac$d;
invoke-virtual {v0}, Lrx/c/a/ac$d;->d()V
return-void
.end method
.method public final a(Ljava/lang/Object;)V
.registers 10
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 852
iget-object v0, p0, Lrx/c/a/ac$b;->a:Lrx/c/a/ac$d;
.line 1343
iget-object v1, v0, Lrx/c/a/ac$d;->d:Lrx/c/a/ac$c;
invoke-virtual {v1}, Lrx/c/a/ac$c;->get()J
move-result-wide v1
const-wide/16 v3, 0x0
const/4 v5, 0x1
const/4 v6, 0x0
cmp-long v7, v1, v3
if-eqz v7, :cond_29
.line 1345
monitor-enter v0
.line 1347
:try_start_11
iget-object v1, v0, Lrx/c/a/ac$d;->d:Lrx/c/a/ac$c;
invoke-virtual {v1}, Lrx/c/a/ac$c;->get()J
move-result-wide v1
.line 1348
iget-boolean v7, v0, Lrx/c/a/ac$d;->j:Z
if-nez v7, :cond_23
cmp-long v7, v1, v3
if-eqz v7, :cond_23
.line 1349
iput-boolean v5, v0, Lrx/c/a/ac$d;->j:Z
const/4 v3, 0x1
goto :goto_24
:cond_23
const/4 v3, 0x0
.line 1352
:goto_24
monitor-exit v0
goto :goto_2b
:catchall_26
move-exception p1
monitor-exit v0
:try_end_28
.catchall {:try_start_11 .. :try_end_28} :catchall_26
throw p1
:cond_29
move-wide v1, v3
const/4 v3, 0x0
:goto_2b
if-eqz v3, :cond_92
.line 1355
iget-object v3, p0, Lrx/c/a/ac$b;->d:Lrx/c/e/i;
if-eqz v3, :cond_3f
.line 1356
invoke-virtual {v3}, Lrx/c/e/i;->d()Z
move-result v3
if-eqz v3, :cond_38
goto :goto_3f
.line 1359
:cond_38
invoke-static {p0, p1}, Lrx/c/a/ac$d;->a(Lrx/c/a/ac$b;Ljava/lang/Object;)V
.line 1360
invoke-virtual {v0}, Lrx/c/a/ac$d;->e()V
return-void
.line 1399
:cond_3f
:goto_3f
:try_start_3f
iget-object v3, v0, Lrx/c/a/ac$d;->a:Lrx/i;
invoke-virtual {v3, p1}, Lrx/i;->a(Ljava/lang/Object;)V
:try_end_44
.catchall {:try_start_3f .. :try_end_44} :catchall_45
goto :goto_5d
:catchall_45
move-exception p1
.line 1401
:try_start_46
iget-boolean v3, v0, Lrx/c/a/ac$d;->b:Z
if-nez v3, :cond_56
.line 1402
invoke-static {p1}, Lrx/exceptions/a;->b(Ljava/lang/Throwable;)V
:try_end_4d
.catchall {:try_start_46 .. :try_end_4d} :catchall_85
.line 1404
:try_start_4d
invoke-virtual {p0}, Lrx/c/a/ac$b;->unsubscribe()V
.line 1405
invoke-virtual {p0, p1}, Lrx/c/a/ac$b;->a(Ljava/lang/Throwable;)V
:try_end_53
.catchall {:try_start_4d .. :try_end_53} :catchall_54
return-void
:catchall_54
move-exception p1
goto :goto_87
.line 1408
:cond_56
:try_start_56
invoke-virtual {v0}, Lrx/c/a/ac$d;->c()Ljava/util/Queue;
move-result-object v3
invoke-interface {v3, p1}, Ljava/util/Queue;->offer(Ljava/lang/Object;)Z
:goto_5d
const-wide v3, 0x7fffffffffffffffL
cmp-long p1, v1, v3
if-eqz p1, :cond_6d
.line 1411
iget-object p1, v0, Lrx/c/a/ac$d;->d:Lrx/c/a/ac$c;
const-wide/16 v1, -0x1
.line 2139
invoke-virtual {p1, v1, v2}, Lrx/c/a/ac$c;->addAndGet(J)J
:cond_6d
const-wide/16 v1, 0x1
.line 1413
invoke-virtual {p0, v1, v2}, Lrx/c/a/ac$b;->b(J)V
.line 1415
monitor-enter v0
:try_end_73
.catchall {:try_start_56 .. :try_end_73} :catchall_85
.line 1417
:try_start_73
iget-boolean p1, v0, Lrx/c/a/ac$d;->k:Z
if-nez p1, :cond_7b
.line 1418
iput-boolean v6, v0, Lrx/c/a/ac$d;->j:Z
.line 1419
monitor-exit v0
return-void
.line 1421
:cond_7b
iput-boolean v6, v0, Lrx/c/a/ac$d;->k:Z
.line 1422
monitor-exit v0
:try_end_7e
.catchall {:try_start_73 .. :try_end_7e} :catchall_82
.line 1437
invoke-virtual {v0}, Lrx/c/a/ac$d;->e()V
return-void
:catchall_82
move-exception p1
.line 1422
:try_start_83
monitor-exit v0
:try_end_84
.catchall {:try_start_83 .. :try_end_84} :catchall_82
:try_start_84
throw p1
:try_end_85
.catchall {:try_start_84 .. :try_end_85} :catchall_54
:catchall_85
move-exception p1
const/4 v5, 0x0
:goto_87
if-nez v5, :cond_91
.line 1425
monitor-enter v0
.line 1426
:try_start_8a
iput-boolean v6, v0, Lrx/c/a/ac$d;->j:Z
.line 1427
monitor-exit v0
goto :goto_91
:catchall_8e
move-exception p1
monitor-exit v0
:try_end_90
.catchall {:try_start_8a .. :try_end_90} :catchall_8e
throw p1
:cond_91
:goto_91
throw p1
.line 1363
:cond_92
invoke-static {p0, p1}, Lrx/c/a/ac$d;->a(Lrx/c/a/ac$b;Ljava/lang/Object;)V
.line 1364
invoke-virtual {v0}, Lrx/c/a/ac$d;->d()V
return-void
.end method
.method public final a(Ljava/lang/Throwable;)V
.registers 3
const/4 v0, 0x1
.line 856
iput-boolean v0, p0, Lrx/c/a/ac$b;->c:Z
.line 857
iget-object v0, p0, Lrx/c/a/ac$b;->a:Lrx/c/a/ac$d;
invoke-virtual {v0}, Lrx/c/a/ac$d;->c()Ljava/util/Queue;
move-result-object v0
invoke-interface {v0, p1}, Ljava/util/Queue;->offer(Ljava/lang/Object;)Z
.line 858
iget-object p1, p0, Lrx/c/a/ac$b;->a:Lrx/c/a/ac$d;
invoke-virtual {p1}, Lrx/c/a/ac$d;->d()V
return-void
.end method
.method public final b()V
.registers 3
.line 847
sget v0, Lrx/c/e/i;->b:I
iput v0, p0, Lrx/c/a/ac$b;->e:I
.line 848
sget v0, Lrx/c/e/i;->b:I
int-to-long v0, v0
invoke-virtual {p0, v0, v1}, Lrx/c/a/ac$b;->a(J)V
return-void
.end method
.method public final b(J)V
.registers 4
.line 866
iget v0, p0, Lrx/c/a/ac$b;->e:I
long-to-int p2, p1
sub-int/2addr v0, p2
.line 867
sget p1, Lrx/c/a/ac$b;->f:I
if-le v0, p1, :cond_b
.line 868
iput v0, p0, Lrx/c/a/ac$b;->e:I
return-void
.line 871
:cond_b
sget p1, Lrx/c/e/i;->b:I
iput p1, p0, Lrx/c/a/ac$b;->e:I
.line 872
sget p1, Lrx/c/e/i;->b:I
sub-int/2addr p1, v0
if-lez p1, :cond_18
int-to-long p1, p1
.line 874
invoke-virtual {p0, p1, p2}, Lrx/c/a/ac$b;->a(J)V
:cond_18
return-void
.end method