apkfuckery/com.discord/smali_classes2/r0/l/a/t2$c.smali
2020-07-08 16:44:49 +00:00

196 lines
3.8 KiB
Smali

.class public final Lr0/l/a/t2$c;
.super Lrx/Subscriber;
.source "OperatorZip.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lr0/l/a/t2;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x11
name = "c"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lrx/Subscriber<",
"[",
"Lrx/Observable;",
">;"
}
.end annotation
# instance fields
.field public final d:Lrx/Subscriber;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lrx/Subscriber<",
"-TR;>;"
}
.end annotation
.end field
.field public final e:Lr0/l/a/t2$a;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lr0/l/a/t2$a<",
"TR;>;"
}
.end annotation
.end field
.field public final f:Lr0/l/a/t2$b;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lr0/l/a/t2$b<",
"TR;>;"
}
.end annotation
.end field
.field public g:Z
# direct methods
.method public constructor <init>(Lr0/l/a/t2;Lrx/Subscriber;Lr0/l/a/t2$a;Lr0/l/a/t2$b;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lrx/Subscriber<",
"-TR;>;",
"Lr0/l/a/t2$a<",
"TR;>;",
"Lr0/l/a/t2$b<",
"TR;>;)V"
}
.end annotation
invoke-direct {p0}, Lrx/Subscriber;-><init>()V
iput-object p2, p0, Lr0/l/a/t2$c;->d:Lrx/Subscriber;
iput-object p3, p0, Lr0/l/a/t2$c;->e:Lr0/l/a/t2$a;
iput-object p4, p0, Lr0/l/a/t2$c;->f:Lr0/l/a/t2$b;
return-void
.end method
# virtual methods
.method public onCompleted()V
.locals 1
iget-boolean v0, p0, Lr0/l/a/t2$c;->g:Z
if-nez v0, :cond_0
iget-object v0, p0, Lr0/l/a/t2$c;->d:Lrx/Subscriber;
invoke-interface {v0}, Lr0/g;->onCompleted()V
:cond_0
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 1
iget-object v0, p0, Lr0/l/a/t2$c;->d:Lrx/Subscriber;
invoke-interface {v0, p1}, Lr0/g;->onError(Ljava/lang/Throwable;)V
return-void
.end method
.method public onNext(Ljava/lang/Object;)V
.locals 7
check-cast p1, [Lrx/Observable;
if-eqz p1, :cond_3
array-length v0, p1
if-nez v0, :cond_0
goto :goto_2
:cond_0
const/4 v0, 0x1
iput-boolean v0, p0, Lr0/l/a/t2$c;->g:Z
iget-object v0, p0, Lr0/l/a/t2$c;->e:Lr0/l/a/t2$a;
iget-object v1, p0, Lr0/l/a/t2$c;->f:Lr0/l/a/t2$b;
if-eqz v0, :cond_2
array-length v2, p1
new-array v2, v2, [Ljava/lang/Object;
const/4 v3, 0x0
const/4 v4, 0x0
:goto_0
array-length v5, p1
if-ge v4, v5, :cond_1
new-instance v5, Lr0/l/a/t2$a$a;
invoke-direct {v5, v0}, Lr0/l/a/t2$a$a;-><init>(Lr0/l/a/t2$a;)V
aput-object v5, v2, v4
iget-object v6, v0, Lr0/l/a/t2$a;->childSubscription:Lrx/subscriptions/CompositeSubscription;
invoke-virtual {v6, v5}, Lrx/subscriptions/CompositeSubscription;->a(Lrx/Subscription;)V
add-int/lit8 v4, v4, 0x1
goto :goto_0
:cond_1
iput-object v1, v0, Lr0/l/a/t2$a;->requested:Ljava/util/concurrent/atomic/AtomicLong;
iput-object v2, v0, Lr0/l/a/t2$a;->subscribers:[Ljava/lang/Object;
:goto_1
array-length v0, p1
if-ge v3, v0, :cond_4
aget-object v0, p1, v3
aget-object v1, v2, v3
check-cast v1, Lr0/l/a/t2$a$a;
invoke-virtual {v0, v1}, Lrx/Observable;->c0(Lrx/Subscriber;)Lrx/Subscription;
add-int/lit8 v3, v3, 0x1
goto :goto_1
:cond_2
const/4 p1, 0x0
throw p1
:cond_3
:goto_2
iget-object p1, p0, Lr0/l/a/t2$c;->d:Lrx/Subscriber;
invoke-interface {p1}, Lr0/g;->onCompleted()V
:cond_4
return-void
.end method