2019-02-04 20:08:30 +00:00
|
|
|
.class final Lrx/internal/a/ah$d;
|
|
|
|
.super Lrx/Subscriber;
|
2019-02-04 20:29:01 +00:00
|
|
|
.source "OperatorMerge.java"
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
|
|
value = Lrx/internal/a/ah;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x18
|
|
|
|
name = "d"
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"<T:",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">",
|
|
|
|
"Lrx/Subscriber<",
|
|
|
|
"Lrx/Observable<",
|
|
|
|
"+TT;>;>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
2019-02-17 00:24:05 +00:00
|
|
|
.field static final bBD:[Lrx/internal/a/ah$b;
|
2019-02-04 20:08:30 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"[",
|
|
|
|
"Lrx/internal/a/ah$b<",
|
|
|
|
"*>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-02-17 00:24:05 +00:00
|
|
|
.field volatile bBA:[Lrx/internal/a/ah$b;
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"[",
|
|
|
|
"Lrx/internal/a/ah$b<",
|
|
|
|
"*>;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
.field bBB:J
|
|
|
|
|
|
|
|
.field bBC:J
|
|
|
|
|
|
|
|
.field final bBE:I
|
|
|
|
|
|
|
|
.field bBF:I
|
|
|
|
|
|
|
|
.field final bBq:Z
|
2019-02-14 22:50:29 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.field final bBr:I
|
2019-02-14 22:50:29 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.field bBx:Lrx/internal/a/ah$c;
|
2019-02-04 20:08:30 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2019-02-08 08:21:44 +00:00
|
|
|
"Lrx/internal/a/ah$c<",
|
|
|
|
"TT;>;"
|
2019-02-04 20:08:30 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.field volatile bBy:Ljava/util/concurrent/ConcurrentLinkedQueue;
|
2019-02-04 20:08:30 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2019-02-08 08:21:44 +00:00
|
|
|
"Ljava/util/concurrent/ConcurrentLinkedQueue<",
|
|
|
|
"Ljava/lang/Throwable;",
|
|
|
|
">;"
|
2019-02-04 20:08:30 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.field final bBz:Ljava/lang/Object;
|
2019-02-08 08:21:44 +00:00
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
.field final child:Lrx/Subscriber;
|
2019-02-04 20:08:30 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2019-02-04 20:32:01 +00:00
|
|
|
"Lrx/Subscriber<",
|
|
|
|
"-TT;>;"
|
2019-02-04 20:08:30 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
.field volatile done:Z
|
|
|
|
|
|
|
|
.field emitting:Z
|
|
|
|
|
|
|
|
.field lastIndex:I
|
|
|
|
|
|
|
|
.field missed:Z
|
|
|
|
|
|
|
|
.field volatile queue:Ljava/util/Queue;
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/Queue<",
|
|
|
|
"Ljava/lang/Object;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
.field volatile subscriptions:Lrx/subscriptions/CompositeSubscription;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method static constructor <clinit>()V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
new-array v0, v0, [Lrx/internal/a/ah$b;
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
sput-object v0, Lrx/internal/a/ah$d;->bBD:[Lrx/internal/a/ah$b;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public constructor <init>(Lrx/Subscriber;ZI)V
|
|
|
|
.locals 0
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Lrx/Subscriber<",
|
|
|
|
"-TT;>;ZI)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lrx/Subscriber;-><init>()V
|
|
|
|
|
|
|
|
iput-object p1, p0, Lrx/internal/a/ah$d;->child:Lrx/Subscriber;
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iput-boolean p2, p0, Lrx/internal/a/ah$d;->bBq:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iput p3, p0, Lrx/internal/a/ah$d;->bBr:I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
new-instance p1, Ljava/lang/Object;
|
|
|
|
|
|
|
|
invoke-direct {p1}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iput-object p1, p0, Lrx/internal/a/ah$d;->bBz:Ljava/lang/Object;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
sget-object p1, Lrx/internal/a/ah$d;->bBD:[Lrx/internal/a/ah$b;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iput-object p1, p0, Lrx/internal/a/ah$d;->bBA:[Lrx/internal/a/ah$b;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const p1, 0x7fffffff
|
|
|
|
|
|
|
|
if-ne p3, p1, :cond_0
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iput p1, p0, Lrx/internal/a/ah$d;->bBE:I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const-wide p1, 0x7fffffffffffffffL
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1, p2}, Lrx/internal/a/ah$d;->request(J)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
shr-int/lit8 p1, p3, 0x1
|
|
|
|
|
|
|
|
const/4 p2, 0x1
|
|
|
|
|
|
|
|
invoke-static {p2, p1}, Ljava/lang/Math;->max(II)I
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iput p1, p0, Lrx/internal/a/ah$d;->bBE:I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
int-to-long p1, p3
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
invoke-virtual {p0, p1, p2}, Lrx/internal/a/ah$d;->request(J)V
|
|
|
|
|
|
|
|
return-void
|
2019-02-04 20:08:30 +00:00
|
|
|
.end method
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.method private DY()Lrx/subscriptions/CompositeSubscription;
|
2019-02-04 20:08:30 +00:00
|
|
|
.locals 2
|
|
|
|
|
|
|
|
iget-object v0, p0, Lrx/internal/a/ah$d;->subscriptions:Lrx/subscriptions/CompositeSubscription;
|
|
|
|
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
monitor-enter p0
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
iget-object v1, p0, Lrx/internal/a/ah$d;->subscriptions:Lrx/subscriptions/CompositeSubscription;
|
|
|
|
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
|
|
|
|
new-instance v0, Lrx/subscriptions/CompositeSubscription;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Lrx/subscriptions/CompositeSubscription;-><init>()V
|
|
|
|
|
|
|
|
iput-object v0, p0, Lrx/internal/a/ah$d;->subscriptions:Lrx/subscriptions/CompositeSubscription;
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
move-object v1, v0
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
monitor-exit p0
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
invoke-virtual {p0, v1}, Lrx/internal/a/ah$d;->add(Lrx/Subscription;)V
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
move-object v0, v1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception v0
|
|
|
|
|
|
|
|
:try_start_1
|
|
|
|
monitor-exit p0
|
|
|
|
:try_end_1
|
|
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
:goto_0
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.method private DZ()V
|
2019-02-04 20:08:30 +00:00
|
|
|
.locals 4
|
|
|
|
|
|
|
|
new-instance v0, Ljava/util/ArrayList;
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v1, p0, Lrx/internal/a/ah$d;->bBy:Ljava/util/concurrent/ConcurrentLinkedQueue;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
|
|
|
|
|
|
|
|
invoke-interface {v0}, Ljava/util/List;->size()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
const/4 v3, 0x1
|
|
|
|
|
|
|
|
if-ne v1, v3, :cond_0
|
|
|
|
|
|
|
|
iget-object v1, p0, Lrx/internal/a/ah$d;->child:Lrx/Subscriber;
|
|
|
|
|
|
|
|
invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
invoke-virtual {v1, v0}, Lrx/Subscriber;->onError(Ljava/lang/Throwable;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
iget-object v1, p0, Lrx/internal/a/ah$d;->child:Lrx/Subscriber;
|
|
|
|
|
|
|
|
new-instance v3, Lrx/a/a;
|
|
|
|
|
|
|
|
invoke-direct {v3, v0, v2}, Lrx/a/a;-><init>(Ljava/util/Collection;B)V
|
|
|
|
|
|
|
|
invoke-virtual {v1, v3}, Lrx/Subscriber;->onError(Ljava/lang/Throwable;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.method private Ec()Z
|
2019-02-04 20:08:30 +00:00
|
|
|
.locals 3
|
|
|
|
|
|
|
|
iget-object v0, p0, Lrx/internal/a/ah$d;->child:Lrx/Subscriber;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lrx/Subscriber;->isUnsubscribed()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
return v1
|
|
|
|
|
|
|
|
:cond_0
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v0, p0, Lrx/internal/a/ah$d;->bBy:Ljava/util/concurrent/ConcurrentLinkedQueue;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-boolean v2, p0, Lrx/internal/a/ah$d;->bBq:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-nez v2, :cond_1
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
invoke-interface {v0}, Ljava/util/Queue;->isEmpty()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
|
|
|
|
:try_start_0
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-direct {p0}, Lrx/internal/a/ah$d;->DZ()V
|
2019-02-04 20:08:30 +00:00
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lrx/internal/a/ah$d;->unsubscribe()V
|
|
|
|
|
|
|
|
return v1
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception v0
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lrx/internal/a/ah$d;->unsubscribe()V
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private a(Lrx/internal/a/ah$b;)V
|
|
|
|
.locals 7
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Lrx/internal/a/ah$b<",
|
|
|
|
"TT;>;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v0, p1, Lrx/internal/a/ah$b;->bBu:Lrx/internal/util/i;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
iget-object v0, p0, Lrx/internal/a/ah$d;->subscriptions:Lrx/subscriptions/CompositeSubscription;
|
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Lrx/subscriptions/CompositeSubscription;->e(Lrx/Subscription;)V
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v0, p0, Lrx/internal/a/ah$d;->bBz:Ljava/lang/Object;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
monitor-enter v0
|
|
|
|
|
|
|
|
:try_start_0
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v1, p0, Lrx/internal/a/ah$d;->bBA:[Lrx/internal/a/ah$b;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
array-length v2, v1
|
|
|
|
|
|
|
|
const/4 v3, -0x1
|
|
|
|
|
|
|
|
const/4 v4, 0x0
|
|
|
|
|
|
|
|
const/4 v5, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-ge v5, v2, :cond_1
|
|
|
|
|
|
|
|
aget-object v6, v1, v5
|
|
|
|
|
|
|
|
invoke-virtual {p1, v6}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v6
|
|
|
|
|
|
|
|
if-eqz v6, :cond_0
|
|
|
|
|
|
|
|
move v3, v5
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
add-int/lit8 v5, v5, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
:goto_1
|
|
|
|
if-gez v3, :cond_2
|
|
|
|
|
|
|
|
monitor-exit v0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const/4 p1, 0x1
|
|
|
|
|
|
|
|
if-ne v2, p1, :cond_3
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
sget-object p1, Lrx/internal/a/ah$d;->bBD:[Lrx/internal/a/ah$b;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iput-object p1, p0, Lrx/internal/a/ah$d;->bBA:[Lrx/internal/a/ah$b;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
monitor-exit v0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
add-int/lit8 v5, v2, -0x1
|
|
|
|
|
|
|
|
new-array v5, v5, [Lrx/internal/a/ah$b;
|
|
|
|
|
|
|
|
invoke-static {v1, v4, v5, v4, v3}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
|
|
|
|
|
|
|
|
add-int/lit8 v4, v3, 0x1
|
|
|
|
|
|
|
|
sub-int/2addr v2, v3
|
|
|
|
|
|
|
|
sub-int/2addr v2, p1
|
|
|
|
|
|
|
|
invoke-static {v1, v4, v5, v3, v2}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iput-object v5, p0, Lrx/internal/a/ah$d;->bBA:[Lrx/internal/a/ah$b;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
monitor-exit v0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception p1
|
|
|
|
|
|
|
|
monitor-exit v0
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
throw p1
|
2019-02-04 20:29:01 +00:00
|
|
|
|
|
|
|
return-void
|
2019-02-04 20:08:30 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
.method static a(Lrx/internal/a/ah$b;Ljava/lang/Object;)V
|
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Lrx/internal/a/ah$b<",
|
|
|
|
"TT;>;TT;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v0, p0, Lrx/internal/a/ah$b;->bBu:Lrx/internal/util/i;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-static {}, Lrx/internal/util/i;->EA()Lrx/internal/util/i;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Lrx/internal/a/ah$b;->add(Lrx/Subscription;)V
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iput-object v0, p0, Lrx/internal/a/ah$b;->bBu:Lrx/internal/util/i;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
:cond_0
|
|
|
|
:try_start_0
|
2019-02-04 20:32:01 +00:00
|
|
|
invoke-static {p1}, Lrx/internal/a/g;->by(Ljava/lang/Object;)Ljava/lang/Object;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Lrx/internal/util/i;->onNext(Ljava/lang/Object;)V
|
|
|
|
:try_end_0
|
|
|
|
.catch Lrx/a/c; {:try_start_0 .. :try_end_0} :catch_1
|
|
|
|
.catch Ljava/lang/IllegalStateException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
move-exception p1
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lrx/internal/a/ah$b;->isUnsubscribed()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lrx/internal/a/ah$b;->unsubscribe()V
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Lrx/internal/a/ah$b;->onError(Ljava/lang/Throwable;)V
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:catch_1
|
|
|
|
move-exception p1
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lrx/internal/a/ah$b;->unsubscribe()V
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Lrx/internal/a/ah$b;->onError(Ljava/lang/Throwable;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
.method private bF(Ljava/lang/Object;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
.locals 2
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(TT;)V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
iget-object v0, p0, Lrx/internal/a/ah$d;->queue:Ljava/util/Queue;
|
|
|
|
|
|
|
|
if-nez v0, :cond_4
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget v0, p0, Lrx/internal/a/ah$d;->bBr:I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const v1, 0x7fffffff
|
|
|
|
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
|
|
|
|
new-instance v0, Lrx/internal/util/a/h;
|
|
|
|
|
|
|
|
sget v1, Lrx/internal/util/i;->SIZE:I
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Lrx/internal/util/a/h;-><init>(I)V
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
goto :goto_1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
:cond_0
|
|
|
|
add-int/lit8 v1, v0, -0x1
|
|
|
|
|
|
|
|
and-int/2addr v1, v0
|
|
|
|
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
if-eqz v1, :cond_3
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-static {}, Lrx/internal/util/b/ae;->EI()Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
|
|
|
|
new-instance v1, Lrx/internal/util/b/q;
|
|
|
|
|
|
|
|
invoke-direct {v1, v0}, Lrx/internal/util/b/q;-><init>(I)V
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
move-object v0, v1
|
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
new-instance v1, Lrx/internal/util/a/d;
|
|
|
|
|
|
|
|
invoke-direct {v1, v0}, Lrx/internal/util/a/d;-><init>(I)V
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
move-object v0, v1
|
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
new-instance v1, Lrx/internal/util/a/e;
|
|
|
|
|
|
|
|
invoke-direct {v1, v0}, Lrx/internal/util/a/e;-><init>(I)V
|
|
|
|
|
|
|
|
move-object v0, v1
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
:goto_1
|
2019-02-04 20:08:30 +00:00
|
|
|
iput-object v0, p0, Lrx/internal/a/ah$d;->queue:Ljava/util/Queue;
|
|
|
|
|
|
|
|
:cond_4
|
2019-02-04 20:32:01 +00:00
|
|
|
invoke-static {p1}, Lrx/internal/a/g;->by(Ljava/lang/Object;)Ljava/lang/Object;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-interface {v0, v1}, Ljava/util/Queue;->offer(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_5
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lrx/internal/a/ah$d;->unsubscribe()V
|
|
|
|
|
|
|
|
new-instance v0, Lrx/a/c;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Lrx/a/c;-><init>()V
|
|
|
|
|
|
|
|
invoke-static {v0, p1}, Lrx/a/g;->a(Ljava/lang/Throwable;Ljava/lang/Object;)Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Lrx/internal/a/ah$d;->onError(Ljava/lang/Throwable;)V
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2019-02-17 00:24:05 +00:00
|
|
|
.method final DX()Ljava/util/Queue;
|
2019-02-04 20:08:30 +00:00
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"()",
|
|
|
|
"Ljava/util/Queue<",
|
|
|
|
"Ljava/lang/Throwable;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v0, p0, Lrx/internal/a/ah$d;->bBy:Ljava/util/concurrent/ConcurrentLinkedQueue;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
|
|
|
|
monitor-enter p0
|
|
|
|
|
|
|
|
:try_start_0
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v0, p0, Lrx/internal/a/ah$d;->bBy:Ljava/util/concurrent/ConcurrentLinkedQueue;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
new-instance v0, Ljava/util/concurrent/ConcurrentLinkedQueue;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/util/concurrent/ConcurrentLinkedQueue;-><init>()V
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iput-object v0, p0, Lrx/internal/a/ah$d;->bBy:Ljava/util/concurrent/ConcurrentLinkedQueue;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
:cond_0
|
|
|
|
monitor-exit p0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception v0
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
:goto_0
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.method final Ea()V
|
2019-02-04 20:08:30 +00:00
|
|
|
.locals 2
|
|
|
|
|
|
|
|
monitor-enter p0
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
iget-boolean v0, p0, Lrx/internal/a/ah$d;->emitting:Z
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
iput-boolean v1, p0, Lrx/internal/a/ah$d;->missed:Z
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
iput-boolean v1, p0, Lrx/internal/a/ah$d;->emitting:Z
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {p0}, Lrx/internal/a/ah$d;->Eb()V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception v0
|
|
|
|
|
|
|
|
:try_start_1
|
|
|
|
monitor-exit p0
|
|
|
|
:try_end_1
|
|
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
.method Eb()V
|
2019-02-04 20:29:01 +00:00
|
|
|
.locals 22
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-object/from16 v1, p0
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
iget-object v4, v1, Lrx/internal/a/ah$d;->child:Lrx/Subscriber;
|
|
|
|
|
|
|
|
:goto_0
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-direct/range {p0 .. p0}, Lrx/internal/a/ah$d;->Ec()Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
iget-object v5, v1, Lrx/internal/a/ah$d;->queue:Ljava/util/Queue;
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v0, v1, Lrx/internal/a/ah$d;->bBx:Lrx/internal/a/ah$c;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Lrx/internal/a/ah$c;->get()J
|
|
|
|
|
|
|
|
move-result-wide v6
|
|
|
|
|
|
|
|
const-wide v8, 0x7fffffffffffffffL
|
|
|
|
|
|
|
|
cmp-long v0, v6, v8
|
|
|
|
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
|
|
|
|
const/4 v10, 0x1
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const/4 v10, 0x0
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
const-wide/16 v11, 0x1
|
|
|
|
|
|
|
|
const-wide/16 v14, 0x0
|
|
|
|
|
|
|
|
if-eqz v5, :cond_9
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
move/from16 v16, v0
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
:goto_3
|
|
|
|
cmp-long v17, v6, v14
|
|
|
|
|
|
|
|
if-lez v17, :cond_5
|
|
|
|
|
|
|
|
invoke-interface {v5}, Ljava/util/Queue;->poll()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v17
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-direct/range {p0 .. p0}, Lrx/internal/a/ah$d;->Ec()Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
if-eqz v17, :cond_4
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
invoke-static/range {v17 .. v17}, Lrx/internal/a/g;->bC(Ljava/lang/Object;)Ljava/lang/Object;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_6
|
|
|
|
|
|
|
|
:try_start_1
|
|
|
|
invoke-virtual {v4, v0}, Lrx/Subscriber;->onNext(Ljava/lang/Object;)V
|
|
|
|
:try_end_1
|
|
|
|
.catch Ljava/lang/Throwable; {:try_start_1 .. :try_end_1} :catch_0
|
|
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_6
|
|
|
|
|
|
|
|
goto :goto_4
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
move-exception v0
|
|
|
|
|
|
|
|
move-object/from16 v18, v0
|
|
|
|
|
|
|
|
:try_start_2
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-boolean v0, v1, Lrx/internal/a/ah$d;->bBq:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_3
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
invoke-static/range {v18 .. v18}, Lrx/a/b;->D(Ljava/lang/Throwable;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
:try_end_2
|
|
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_6
|
|
|
|
|
|
|
|
:try_start_3
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lrx/internal/a/ah$d;->unsubscribe()V
|
|
|
|
|
|
|
|
move-object/from16 v2, v18
|
|
|
|
|
|
|
|
invoke-virtual {v4, v2}, Lrx/Subscriber;->onError(Ljava/lang/Throwable;)V
|
|
|
|
:try_end_3
|
|
|
|
.catchall {:try_start_3 .. :try_end_3} :catchall_0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception v0
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
const/16 v21, 0x1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
goto/16 :goto_14
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
:cond_3
|
|
|
|
move-object/from16 v8, v18
|
|
|
|
|
|
|
|
:try_start_4
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual/range {p0 .. p0}, Lrx/internal/a/ah$d;->DX()Ljava/util/Queue;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-interface {v0, v8}, Ljava/util/Queue;->offer(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
:goto_4
|
|
|
|
add-int/lit8 v16, v16, 0x1
|
|
|
|
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
|
|
|
|
sub-long/2addr v6, v11
|
|
|
|
|
|
|
|
move-object/from16 v0, v17
|
|
|
|
|
|
|
|
const-wide v8, 0x7fffffffffffffffL
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
move-object/from16 v0, v17
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
if-lez v2, :cond_7
|
|
|
|
|
|
|
|
if-eqz v10, :cond_6
|
|
|
|
|
|
|
|
const-wide v6, 0x7fffffffffffffffL
|
|
|
|
|
|
|
|
goto :goto_5
|
|
|
|
|
|
|
|
:cond_6
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v6, v1, Lrx/internal/a/ah$d;->bBx:Lrx/internal/a/ah$c;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
neg-int v2, v2
|
|
|
|
|
|
|
|
int-to-long v7, v2
|
|
|
|
|
|
|
|
invoke-virtual {v6, v7, v8}, Lrx/internal/a/ah$c;->addAndGet(J)J
|
|
|
|
|
|
|
|
move-result-wide v6
|
|
|
|
|
|
|
|
:cond_7
|
|
|
|
:goto_5
|
|
|
|
cmp-long v2, v6, v14
|
|
|
|
|
|
|
|
if-eqz v2, :cond_a
|
|
|
|
|
|
|
|
if-nez v0, :cond_8
|
|
|
|
|
|
|
|
goto :goto_6
|
|
|
|
|
|
|
|
:cond_8
|
|
|
|
move/from16 v0, v16
|
|
|
|
|
|
|
|
const-wide v8, 0x7fffffffffffffffL
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_9
|
|
|
|
const/16 v16, 0x0
|
|
|
|
|
|
|
|
:cond_a
|
|
|
|
:goto_6
|
|
|
|
iget-boolean v0, v1, Lrx/internal/a/ah$d;->done:Z
|
|
|
|
|
|
|
|
iget-object v2, v1, Lrx/internal/a/ah$d;->queue:Ljava/util/Queue;
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v5, v1, Lrx/internal/a/ah$d;->bBA:[Lrx/internal/a/ah$b;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
array-length v8, v5
|
|
|
|
|
|
|
|
if-eqz v0, :cond_e
|
|
|
|
|
|
|
|
if-eqz v2, :cond_b
|
|
|
|
|
|
|
|
invoke-interface {v2}, Ljava/util/Queue;->isEmpty()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_e
|
|
|
|
|
|
|
|
:cond_b
|
|
|
|
if-nez v8, :cond_e
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v0, v1, Lrx/internal/a/ah$d;->bBy:Ljava/util/concurrent/ConcurrentLinkedQueue;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_d
|
|
|
|
|
|
|
|
invoke-interface {v0}, Ljava/util/Queue;->isEmpty()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_c
|
|
|
|
|
|
|
|
goto :goto_7
|
|
|
|
|
|
|
|
:cond_c
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-direct/range {p0 .. p0}, Lrx/internal/a/ah$d;->DZ()V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_d
|
|
|
|
:goto_7
|
|
|
|
invoke-virtual {v4}, Lrx/Subscriber;->onCompleted()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_e
|
2019-02-04 20:29:01 +00:00
|
|
|
if-lez v8, :cond_23
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-wide v11, v1, Lrx/internal/a/ah$d;->bBC:J
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
iget v0, v1, Lrx/internal/a/ah$d;->lastIndex:I
|
|
|
|
|
|
|
|
if-le v8, v0, :cond_f
|
|
|
|
|
|
|
|
aget-object v2, v5, v0
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
move-object/from16 v17, v4
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
iget-wide v3, v2, Lrx/internal/a/ah$b;->id:J
|
|
|
|
|
|
|
|
cmp-long v2, v3, v11
|
|
|
|
|
|
|
|
if-eqz v2, :cond_13
|
|
|
|
|
|
|
|
goto :goto_8
|
|
|
|
|
|
|
|
:cond_f
|
2019-02-04 20:29:01 +00:00
|
|
|
move-object/from16 v17, v4
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
:goto_8
|
|
|
|
if-gt v8, v0, :cond_10
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
:cond_10
|
|
|
|
move v2, v0
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
:goto_9
|
|
|
|
if-ge v0, v8, :cond_12
|
|
|
|
|
|
|
|
aget-object v3, v5, v2
|
|
|
|
|
|
|
|
iget-wide v3, v3, Lrx/internal/a/ah$b;->id:J
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
cmp-long v21, v3, v11
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
if-eqz v21, :cond_12
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
add-int/lit8 v3, v2, 0x1
|
|
|
|
|
|
|
|
if-ne v3, v8, :cond_11
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
goto :goto_a
|
|
|
|
|
|
|
|
:cond_11
|
|
|
|
move v2, v3
|
|
|
|
|
|
|
|
:goto_a
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
|
|
|
|
goto :goto_9
|
|
|
|
|
|
|
|
:cond_12
|
|
|
|
iput v2, v1, Lrx/internal/a/ah$d;->lastIndex:I
|
|
|
|
|
|
|
|
aget-object v0, v5, v2
|
|
|
|
|
|
|
|
iget-wide v3, v0, Lrx/internal/a/ah$b;->id:J
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iput-wide v3, v1, Lrx/internal/a/ah$d;->bBC:J
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move v0, v2
|
|
|
|
|
|
|
|
:cond_13
|
|
|
|
move v2, v0
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
:goto_b
|
2019-02-04 20:29:01 +00:00
|
|
|
if-ge v0, v8, :cond_21
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-direct/range {p0 .. p0}, Lrx/internal/a/ah$d;->Ec()Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result v4
|
|
|
|
|
|
|
|
if-eqz v4, :cond_14
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_14
|
|
|
|
aget-object v4, v5, v2
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
move-wide v11, v6
|
|
|
|
|
|
|
|
const/4 v6, 0x0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
:goto_c
|
2019-02-04 20:32:01 +00:00
|
|
|
move-object v7, v6
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
const/4 v6, 0x0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
:goto_d
|
2019-02-04 20:32:01 +00:00
|
|
|
cmp-long v21, v11, v14
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
if-lez v21, :cond_18
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-direct/range {p0 .. p0}, Lrx/internal/a/ah$d;->Ec()Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
move-result v21
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
if-eqz v21, :cond_15
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_15
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v9, v4, Lrx/internal/a/ah$b;->bBu:Lrx/internal/util/i;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
if-eqz v9, :cond_17
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
invoke-virtual {v9}, Lrx/internal/util/i;->poll()Ljava/lang/Object;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
move-result-object v7
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
if-eqz v7, :cond_16
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
invoke-static {v7}, Lrx/internal/a/g;->bC(Ljava/lang/Object;)Ljava/lang/Object;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
move-result-object v9
|
2019-02-04 20:08:30 +00:00
|
|
|
:try_end_4
|
|
|
|
.catchall {:try_start_4 .. :try_end_4} :catchall_6
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
move-object/from16 v13, v17
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
:try_start_5
|
2019-02-04 20:29:01 +00:00
|
|
|
invoke-virtual {v13, v9}, Lrx/Subscriber;->onNext(Ljava/lang/Object;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
:try_end_5
|
|
|
|
.catch Ljava/lang/Throwable; {:try_start_5 .. :try_end_5} :catch_1
|
|
|
|
.catchall {:try_start_5 .. :try_end_5} :catchall_6
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
const-wide/16 v19, 0x1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
sub-long v11, v11, v19
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
add-int/lit8 v6, v6, 0x1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
move-object/from16 v17, v13
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
goto :goto_d
|
|
|
|
|
|
|
|
:catch_1
|
|
|
|
move-exception v0
|
|
|
|
|
|
|
|
move-object v2, v0
|
|
|
|
|
|
|
|
:try_start_6
|
2019-02-04 20:32:01 +00:00
|
|
|
invoke-static {v2}, Lrx/a/b;->D(Ljava/lang/Throwable;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
:try_end_6
|
|
|
|
.catchall {:try_start_6 .. :try_end_6} :catchall_0
|
|
|
|
|
|
|
|
:try_start_7
|
|
|
|
invoke-virtual {v13, v2}, Lrx/Subscriber;->onError(Ljava/lang/Throwable;)V
|
|
|
|
:try_end_7
|
|
|
|
.catchall {:try_start_7 .. :try_end_7} :catchall_1
|
|
|
|
|
|
|
|
:try_start_8
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lrx/internal/a/ah$d;->unsubscribe()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:catchall_1
|
|
|
|
move-exception v0
|
|
|
|
|
|
|
|
move-object v2, v0
|
|
|
|
|
|
|
|
invoke-virtual/range {p0 .. p0}, Lrx/internal/a/ah$d;->unsubscribe()V
|
|
|
|
|
|
|
|
throw v2
|
|
|
|
:try_end_8
|
|
|
|
.catchall {:try_start_8 .. :try_end_8} :catchall_0
|
|
|
|
|
|
|
|
:cond_16
|
2019-02-04 20:29:01 +00:00
|
|
|
move-object/from16 v13, v17
|
|
|
|
|
|
|
|
const-wide/16 v19, 0x1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
goto :goto_e
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
:cond_17
|
|
|
|
move-object/from16 v13, v17
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
const-wide/16 v19, 0x1
|
|
|
|
|
|
|
|
goto :goto_e
|
|
|
|
|
|
|
|
:cond_18
|
|
|
|
move-object/from16 v13, v17
|
|
|
|
|
|
|
|
const-wide/16 v19, 0x1
|
|
|
|
|
|
|
|
:goto_e
|
2019-02-04 20:32:01 +00:00
|
|
|
if-lez v6, :cond_1a
|
2019-02-04 20:29:01 +00:00
|
|
|
|
|
|
|
if-nez v10, :cond_19
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
:try_start_9
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v9, v1, Lrx/internal/a/ah$d;->bBx:Lrx/internal/a/ah$c;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
neg-int v11, v6
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
int-to-long v11, v11
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
invoke-virtual {v9, v11, v12}, Lrx/internal/a/ah$c;->addAndGet(J)J
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
move-result-wide v11
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
goto :goto_f
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
:cond_19
|
2019-02-04 20:32:01 +00:00
|
|
|
const-wide v11, 0x7fffffffffffffffL
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
:goto_f
|
2019-02-04 20:32:01 +00:00
|
|
|
int-to-long v14, v6
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {v4, v14, v15}, Lrx/internal/a/ah$b;->aI(J)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const-wide/16 v14, 0x0
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
:cond_1a
|
2019-02-04 20:32:01 +00:00
|
|
|
cmp-long v6, v11, v14
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
if-eqz v6, :cond_1c
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
if-nez v7, :cond_1b
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
goto :goto_10
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
:cond_1b
|
2019-02-04 20:32:01 +00:00
|
|
|
move-object v6, v7
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
move-object/from16 v17, v13
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const-wide/16 v14, 0x0
|
|
|
|
|
|
|
|
goto :goto_c
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
:cond_1c
|
|
|
|
:goto_10
|
2019-02-04 20:32:01 +00:00
|
|
|
iget-boolean v6, v4, Lrx/internal/a/ah$b;->done:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v7, v4, Lrx/internal/a/ah$b;->bBu:Lrx/internal/util/i;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
if-eqz v6, :cond_1f
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
if-eqz v7, :cond_1d
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
invoke-virtual {v7}, Lrx/internal/util/i;->isEmpty()Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
move-result v6
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
if-eqz v6, :cond_1f
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
:cond_1d
|
2019-02-04 20:08:30 +00:00
|
|
|
invoke-direct {v1, v4}, Lrx/internal/a/ah$d;->a(Lrx/internal/a/ah$b;)V
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-direct/range {p0 .. p0}, Lrx/internal/a/ah$d;->Ec()Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
if-eqz v3, :cond_1e
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
:cond_1e
|
2019-02-04 20:08:30 +00:00
|
|
|
add-int/lit8 v16, v16, 0x1
|
|
|
|
|
|
|
|
const/4 v3, 0x1
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
const-wide/16 v6, 0x0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
goto :goto_11
|
|
|
|
|
|
|
|
:cond_1f
|
2019-02-04 20:32:01 +00:00
|
|
|
const-wide/16 v6, 0x0
|
2019-02-04 20:29:01 +00:00
|
|
|
|
|
|
|
:goto_11
|
2019-02-04 20:32:01 +00:00
|
|
|
cmp-long v4, v11, v6
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
if-eqz v4, :cond_22
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
if-ne v2, v8, :cond_20
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
:cond_20
|
2019-02-04 20:08:30 +00:00
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
move-wide v14, v6
|
|
|
|
|
|
|
|
move-wide v6, v11
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
move-object/from16 v17, v13
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
goto/16 :goto_b
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
:cond_21
|
|
|
|
move-object/from16 v13, v17
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
:cond_22
|
2019-02-04 20:08:30 +00:00
|
|
|
iput v2, v1, Lrx/internal/a/ah$d;->lastIndex:I
|
|
|
|
|
|
|
|
aget-object v0, v5, v2
|
|
|
|
|
|
|
|
iget-wide v4, v0, Lrx/internal/a/ah$b;->id:J
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iput-wide v4, v1, Lrx/internal/a/ah$d;->bBC:J
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move/from16 v0, v16
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
goto :goto_12
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
:cond_23
|
2019-02-04 20:08:30 +00:00
|
|
|
move-object v13, v4
|
|
|
|
|
|
|
|
move/from16 v0, v16
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
:goto_12
|
|
|
|
if-lez v0, :cond_24
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
int-to-long v4, v0
|
|
|
|
|
|
|
|
invoke-virtual {v1, v4, v5}, Lrx/internal/a/ah$d;->request(J)V
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
:cond_24
|
|
|
|
if-nez v3, :cond_26
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
monitor-enter p0
|
|
|
|
:try_end_9
|
|
|
|
.catchall {:try_start_9 .. :try_end_9} :catchall_6
|
|
|
|
|
|
|
|
:try_start_a
|
|
|
|
iget-boolean v0, v1, Lrx/internal/a/ah$d;->missed:Z
|
|
|
|
:try_end_a
|
|
|
|
.catchall {:try_start_a .. :try_end_a} :catchall_3
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
if-nez v0, :cond_25
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
:try_start_b
|
|
|
|
iput-boolean v2, v1, Lrx/internal/a/ah$d;->emitting:Z
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
:try_end_b
|
|
|
|
.catchall {:try_start_b .. :try_end_b} :catchall_2
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:catchall_2
|
|
|
|
move-exception v0
|
|
|
|
|
|
|
|
const/4 v2, 0x1
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
goto :goto_13
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
:cond_25
|
2019-02-04 20:08:30 +00:00
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
:try_start_c
|
|
|
|
iput-boolean v2, v1, Lrx/internal/a/ah$d;->missed:Z
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
:try_end_c
|
|
|
|
.catchall {:try_start_c .. :try_end_c} :catchall_3
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
move-object v4, v13
|
|
|
|
|
|
|
|
goto/16 :goto_0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
:catchall_3
|
|
|
|
move-exception v0
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
:goto_13
|
2019-02-04 20:08:30 +00:00
|
|
|
:try_start_d
|
|
|
|
monitor-exit p0
|
|
|
|
:try_end_d
|
|
|
|
.catchall {:try_start_d .. :try_end_d} :catchall_5
|
|
|
|
|
|
|
|
:try_start_e
|
|
|
|
throw v0
|
|
|
|
:try_end_e
|
|
|
|
.catchall {:try_start_e .. :try_end_e} :catchall_4
|
|
|
|
|
|
|
|
:catchall_4
|
|
|
|
move-exception v0
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
move/from16 v21, v2
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
goto :goto_14
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
:catchall_5
|
|
|
|
move-exception v0
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
goto :goto_13
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
:cond_26
|
2019-02-04 20:08:30 +00:00
|
|
|
move-object v4, v13
|
|
|
|
|
|
|
|
goto/16 :goto_0
|
|
|
|
|
|
|
|
:catchall_6
|
|
|
|
move-exception v0
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
const/16 v21, 0x0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
:goto_14
|
|
|
|
if-nez v21, :cond_27
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
monitor-enter p0
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
:try_start_f
|
|
|
|
iput-boolean v2, v1, Lrx/internal/a/ah$d;->emitting:Z
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
goto :goto_15
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
:catchall_7
|
|
|
|
move-exception v0
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
:try_end_f
|
|
|
|
.catchall {:try_start_f .. :try_end_f} :catchall_7
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
2019-02-04 20:29:01 +00:00
|
|
|
:cond_27
|
|
|
|
:goto_15
|
2019-02-04 20:08:30 +00:00
|
|
|
throw v0
|
2019-02-04 20:29:01 +00:00
|
|
|
|
|
|
|
return-void
|
2019-02-04 20:08:30 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final onCompleted()V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
iput-boolean v0, p0, Lrx/internal/a/ah$d;->done:Z
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {p0}, Lrx/internal/a/ah$d;->Ea()V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final onError(Ljava/lang/Throwable;)V
|
|
|
|
.locals 1
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {p0}, Lrx/internal/a/ah$d;->DX()Ljava/util/Queue;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-interface {v0, p1}, Ljava/util/Queue;->offer(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
const/4 p1, 0x1
|
|
|
|
|
|
|
|
iput-boolean p1, p0, Lrx/internal/a/ah$d;->done:Z
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {p0}, Lrx/internal/a/ah$d;->Ea()V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final synthetic onNext(Ljava/lang/Object;)V
|
|
|
|
.locals 7
|
|
|
|
|
|
|
|
check-cast p1, Lrx/Observable;
|
|
|
|
|
|
|
|
if-eqz p1, :cond_d
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-static {}, Lrx/Observable;->Dv()Lrx/Observable;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
if-ne p1, v0, :cond_1
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget p1, p0, Lrx/internal/a/ah$d;->bBF:I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
add-int/2addr p1, v1
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget v0, p0, Lrx/internal/a/ah$d;->bBE:I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-ne p1, v0, :cond_0
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iput v2, p0, Lrx/internal/a/ah$d;->bBF:I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
int-to-long v0, p1
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0, v1}, Lrx/internal/a/ah$d;->request(J)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
2019-02-17 00:24:05 +00:00
|
|
|
iput p1, p0, Lrx/internal/a/ah$d;->bBF:I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
instance-of v0, p1, Lrx/internal/util/k;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_c
|
|
|
|
|
|
|
|
check-cast p1, Lrx/internal/util/k;
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object p1, p1, Lrx/internal/util/k;->bFz:Ljava/lang/Object;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v0, p0, Lrx/internal/a/ah$d;->bBx:Lrx/internal/a/ah$c;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Lrx/internal/a/ah$c;->get()J
|
|
|
|
|
|
|
|
move-result-wide v3
|
|
|
|
|
|
|
|
const-wide/16 v5, 0x0
|
|
|
|
|
|
|
|
cmp-long v0, v3, v5
|
|
|
|
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
|
|
|
|
monitor-enter p0
|
|
|
|
|
|
|
|
:try_start_0
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v0, p0, Lrx/internal/a/ah$d;->bBx:Lrx/internal/a/ah$c;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Lrx/internal/a/ah$c;->get()J
|
|
|
|
|
|
|
|
move-result-wide v3
|
|
|
|
|
|
|
|
iget-boolean v0, p0, Lrx/internal/a/ah$d;->emitting:Z
|
|
|
|
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
|
|
|
|
cmp-long v0, v3, v5
|
|
|
|
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
|
|
|
|
iput-boolean v1, p0, Lrx/internal/a/ah$d;->emitting:Z
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
monitor-exit p0
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception p1
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
move-wide v3, v5
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
if-eqz v0, :cond_b
|
|
|
|
|
|
|
|
iget-object v0, p0, Lrx/internal/a/ah$d;->queue:Ljava/util/Queue;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_5
|
|
|
|
|
|
|
|
invoke-interface {v0}, Ljava/util/Queue;->isEmpty()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:cond_4
|
2019-02-04 20:32:01 +00:00
|
|
|
invoke-direct {p0, p1}, Lrx/internal/a/ah$d;->bF(Ljava/lang/Object;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {p0}, Lrx/internal/a/ah$d;->Eb()V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
:goto_2
|
|
|
|
:try_start_1
|
|
|
|
iget-object v0, p0, Lrx/internal/a/ah$d;->child:Lrx/Subscriber;
|
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Lrx/Subscriber;->onNext(Ljava/lang/Object;)V
|
|
|
|
:try_end_1
|
|
|
|
.catch Ljava/lang/Throwable; {:try_start_1 .. :try_end_1} :catch_0
|
|
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_1
|
|
|
|
|
|
|
|
goto :goto_3
|
|
|
|
|
|
|
|
:catchall_1
|
|
|
|
move-exception p1
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
goto :goto_5
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
move-exception p1
|
|
|
|
|
|
|
|
:try_start_2
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-boolean v0, p0, Lrx/internal/a/ah$d;->bBq:Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_6
|
|
|
|
|
2019-02-04 20:32:01 +00:00
|
|
|
invoke-static {p1}, Lrx/a/b;->D(Ljava/lang/Throwable;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
:try_end_2
|
|
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_1
|
|
|
|
|
|
|
|
:try_start_3
|
|
|
|
invoke-virtual {p0}, Lrx/internal/a/ah$d;->unsubscribe()V
|
|
|
|
|
|
|
|
invoke-virtual {p0, p1}, Lrx/internal/a/ah$d;->onError(Ljava/lang/Throwable;)V
|
|
|
|
:try_end_3
|
|
|
|
.catchall {:try_start_3 .. :try_end_3} :catchall_2
|
|
|
|
|
|
|
|
goto :goto_7
|
|
|
|
|
|
|
|
:catchall_2
|
|
|
|
move-exception p1
|
|
|
|
|
|
|
|
goto :goto_5
|
|
|
|
|
|
|
|
:cond_6
|
|
|
|
:try_start_4
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {p0}, Lrx/internal/a/ah$d;->DX()Ljava/util/Queue;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-interface {v0, p1}, Ljava/util/Queue;->offer(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
:goto_3
|
|
|
|
const-wide v5, 0x7fffffffffffffffL
|
|
|
|
|
|
|
|
cmp-long p1, v3, v5
|
|
|
|
|
|
|
|
if-eqz p1, :cond_7
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object p1, p0, Lrx/internal/a/ah$d;->bBx:Lrx/internal/a/ah$c;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const-wide/16 v3, -0x1
|
|
|
|
|
|
|
|
invoke-virtual {p1, v3, v4}, Lrx/internal/a/ah$c;->addAndGet(J)J
|
|
|
|
|
|
|
|
:cond_7
|
2019-02-17 00:24:05 +00:00
|
|
|
iget p1, p0, Lrx/internal/a/ah$d;->bBF:I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
add-int/2addr p1, v1
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget v0, p0, Lrx/internal/a/ah$d;->bBE:I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-ne p1, v0, :cond_8
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iput v2, p0, Lrx/internal/a/ah$d;->bBF:I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
int-to-long v3, p1
|
|
|
|
|
|
|
|
invoke-virtual {p0, v3, v4}, Lrx/internal/a/ah$d;->request(J)V
|
|
|
|
|
|
|
|
goto :goto_4
|
|
|
|
|
|
|
|
:cond_8
|
2019-02-17 00:24:05 +00:00
|
|
|
iput p1, p0, Lrx/internal/a/ah$d;->bBF:I
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
:goto_4
|
|
|
|
monitor-enter p0
|
|
|
|
:try_end_4
|
|
|
|
.catchall {:try_start_4 .. :try_end_4} :catchall_1
|
|
|
|
|
|
|
|
:try_start_5
|
|
|
|
iget-boolean p1, p0, Lrx/internal/a/ah$d;->missed:Z
|
|
|
|
|
|
|
|
if-nez p1, :cond_9
|
|
|
|
|
|
|
|
iput-boolean v2, p0, Lrx/internal/a/ah$d;->emitting:Z
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
|
|
|
|
goto :goto_7
|
|
|
|
|
|
|
|
:cond_9
|
|
|
|
iput-boolean v2, p0, Lrx/internal/a/ah$d;->missed:Z
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
:try_end_5
|
|
|
|
.catchall {:try_start_5 .. :try_end_5} :catchall_3
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {p0}, Lrx/internal/a/ah$d;->Eb()V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:catchall_3
|
|
|
|
move-exception p1
|
|
|
|
|
|
|
|
:try_start_6
|
|
|
|
monitor-exit p0
|
|
|
|
:try_end_6
|
|
|
|
.catchall {:try_start_6 .. :try_end_6} :catchall_3
|
|
|
|
|
|
|
|
:try_start_7
|
|
|
|
throw p1
|
|
|
|
:try_end_7
|
|
|
|
.catchall {:try_start_7 .. :try_end_7} :catchall_2
|
|
|
|
|
|
|
|
:goto_5
|
|
|
|
if-nez v1, :cond_a
|
|
|
|
|
|
|
|
monitor-enter p0
|
|
|
|
|
|
|
|
:try_start_8
|
|
|
|
iput-boolean v2, p0, Lrx/internal/a/ah$d;->emitting:Z
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
|
|
|
|
goto :goto_6
|
|
|
|
|
|
|
|
:catchall_4
|
|
|
|
move-exception p1
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
:try_end_8
|
|
|
|
.catchall {:try_start_8 .. :try_end_8} :catchall_4
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_a
|
|
|
|
:goto_6
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_b
|
2019-02-04 20:32:01 +00:00
|
|
|
invoke-direct {p0, p1}, Lrx/internal/a/ah$d;->bF(Ljava/lang/Object;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {p0}, Lrx/internal/a/ah$d;->Ea()V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
:goto_7
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_c
|
|
|
|
new-instance v0, Lrx/internal/a/ah$b;
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-wide v3, p0, Lrx/internal/a/ah$d;->bBB:J
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
const-wide/16 v5, 0x1
|
|
|
|
|
|
|
|
add-long/2addr v5, v3
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iput-wide v5, p0, Lrx/internal/a/ah$d;->bBB:J
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-direct {v0, p0, v3, v4}, Lrx/internal/a/ah$b;-><init>(Lrx/internal/a/ah$d;J)V
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-direct {p0}, Lrx/internal/a/ah$d;->DY()Lrx/subscriptions/CompositeSubscription;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-virtual {v1, v0}, Lrx/subscriptions/CompositeSubscription;->add(Lrx/Subscription;)V
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v1, p0, Lrx/internal/a/ah$d;->bBz:Ljava/lang/Object;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
monitor-enter v1
|
|
|
|
|
|
|
|
:try_start_9
|
2019-02-17 00:24:05 +00:00
|
|
|
iget-object v3, p0, Lrx/internal/a/ah$d;->bBA:[Lrx/internal/a/ah$b;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
array-length v4, v3
|
|
|
|
|
|
|
|
add-int/lit8 v5, v4, 0x1
|
|
|
|
|
|
|
|
new-array v5, v5, [Lrx/internal/a/ah$b;
|
|
|
|
|
|
|
|
invoke-static {v3, v2, v5, v2, v4}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
|
|
|
|
|
|
|
|
aput-object v0, v5, v4
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
iput-object v5, p0, Lrx/internal/a/ah$d;->bBA:[Lrx/internal/a/ah$b;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
monitor-exit v1
|
|
|
|
:try_end_9
|
|
|
|
.catchall {:try_start_9 .. :try_end_9} :catchall_5
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Lrx/Observable;->a(Lrx/Subscriber;)Lrx/Subscription;
|
|
|
|
|
2019-02-17 00:24:05 +00:00
|
|
|
invoke-virtual {p0}, Lrx/internal/a/ah$d;->Ea()V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
goto :goto_8
|
|
|
|
|
|
|
|
:catchall_5
|
|
|
|
move-exception p1
|
|
|
|
|
|
|
|
:try_start_a
|
|
|
|
monitor-exit v1
|
|
|
|
:try_end_a
|
|
|
|
.catchall {:try_start_a .. :try_end_a} :catchall_5
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_d
|
|
|
|
:goto_8
|
|
|
|
return-void
|
|
|
|
.end method
|