e.smali
.class public final Lio/reactivex/internal/operators/flowable/e;
.super Lio/reactivex/internal/operators/flowable/a;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lio/reactivex/internal/operators/flowable/e$a;,
Lio/reactivex/internal/operators/flowable/e$b;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"U:",
"Ljava/lang/Object;",
">",
"Lio/reactivex/internal/operators/flowable/a<",
"TT;TU;>;"
}
.end annotation
# instance fields
.field public final c:Lio/reactivex/functions/n;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/reactivex/functions/n<",
"-TT;+",
"Lorg/reactivestreams/a<",
"+TU;>;>;"
}
.end annotation
.end field
.field public final d:Z
.field public final e:I
.field public final f:I
# direct methods
.method public constructor <init>(Lio/reactivex/f;Lio/reactivex/functions/n;II)V
.registers 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lio/reactivex/f<",
"TT;>;",
"Lio/reactivex/functions/n<",
"-TT;+",
"Lorg/reactivestreams/a<",
"+TU;>;>;ZII)V"
}
.end annotation
.line 1
invoke-direct {p0, p1}, Lio/reactivex/internal/operators/flowable/a;-><init>(Lio/reactivex/f;)V
.line 2
iput-object p2, p0, Lio/reactivex/internal/operators/flowable/e;->c:Lio/reactivex/functions/n;
const/4 p1, 0x0
.line 3
iput-boolean p1, p0, Lio/reactivex/internal/operators/flowable/e;->d:Z
.line 4
iput p3, p0, Lio/reactivex/internal/operators/flowable/e;->e:I
.line 5
iput p4, p0, Lio/reactivex/internal/operators/flowable/e;->f:I
return-void
.end method
# virtual methods
.method public final k(Lorg/reactivestreams/b;)V
.registers 10
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lorg/reactivestreams/b<",
"-TU;>;)V"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/a;->b:Lio/reactivex/f;
iget-object v1, p0, Lio/reactivex/internal/operators/flowable/e;->c:Lio/reactivex/functions/n;
.line 2
instance-of v2, v0, Ljava/util/concurrent/Callable;
if-eqz v2, :cond_55
const/4 v2, 0x1
.line 3
:try_start_9
check-cast v0, Ljava/util/concurrent/Callable;
invoke-interface {v0}, Ljava/util/concurrent/Callable;->call()Ljava/lang/Object;
move-result-object v0
:try_end_f
.catchall {:try_start_9 .. :try_end_f} :catchall_4d
if-nez v0, :cond_15
.line 4
invoke-static {p1}, Lio/reactivex/internal/subscriptions/c;->complete(Lorg/reactivestreams/b;)V
goto :goto_56
.line 5
:cond_15
:try_start_15
invoke-interface {v1, v0}, Lio/reactivex/functions/n;->apply(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
const-string v1, "The mapper returned a null Publisher"
.line 6
invoke-static {v0, v1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
.line 7
check-cast v0, Lorg/reactivestreams/a;
:try_end_20
.catchall {:try_start_15 .. :try_end_20} :catchall_45
.line 8
instance-of v1, v0, Ljava/util/concurrent/Callable;
if-eqz v1, :cond_41
.line 9
:try_start_24
check-cast v0, Ljava/util/concurrent/Callable;
invoke-interface {v0}, Ljava/util/concurrent/Callable;->call()Ljava/lang/Object;
move-result-object v0
:try_end_2a
.catchall {:try_start_24 .. :try_end_2a} :catchall_39
if-nez v0, :cond_30
.line 10
invoke-static {p1}, Lio/reactivex/internal/subscriptions/c;->complete(Lorg/reactivestreams/b;)V
goto :goto_56
.line 11
:cond_30
new-instance v1, Lio/reactivex/internal/subscriptions/d;
invoke-direct {v1, p1, v0}, Lio/reactivex/internal/subscriptions/d;-><init>(Lorg/reactivestreams/b;Ljava/lang/Object;)V
invoke-interface {p1, v1}, Lorg/reactivestreams/b;->onSubscribe(Lorg/reactivestreams/c;)V
goto :goto_56
:catchall_39
move-exception v0
.line 12
invoke-static {v0}, Lcom/shopee/app/dre/codepush/task/a;->m(Ljava/lang/Throwable;)V
.line 13
invoke-static {v0, p1}, Lio/reactivex/internal/subscriptions/c;->error(Ljava/lang/Throwable;Lorg/reactivestreams/b;)V
goto :goto_56
.line 14
:cond_41
invoke-interface {v0, p1}, Lorg/reactivestreams/a;->a(Lorg/reactivestreams/b;)V
goto :goto_56
:catchall_45
move-exception v0
.line 15
invoke-static {v0}, Lcom/shopee/app/dre/codepush/task/a;->m(Ljava/lang/Throwable;)V
.line 16
invoke-static {v0, p1}, Lio/reactivex/internal/subscriptions/c;->error(Ljava/lang/Throwable;Lorg/reactivestreams/b;)V
goto :goto_56
:catchall_4d
move-exception v0
.line 17
invoke-static {v0}, Lcom/shopee/app/dre/codepush/task/a;->m(Ljava/lang/Throwable;)V
.line 18
invoke-static {v0, p1}, Lio/reactivex/internal/subscriptions/c;->error(Ljava/lang/Throwable;Lorg/reactivestreams/b;)V
goto :goto_56
:cond_55
const/4 v2, 0x0
:goto_56
if-eqz v2, :cond_59
return-void
.line 19
:cond_59
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/a;->b:Lio/reactivex/f;
iget-object v3, p0, Lio/reactivex/internal/operators/flowable/e;->c:Lio/reactivex/functions/n;
iget-boolean v4, p0, Lio/reactivex/internal/operators/flowable/e;->d:Z
iget v5, p0, Lio/reactivex/internal/operators/flowable/e;->e:I
iget v6, p0, Lio/reactivex/internal/operators/flowable/e;->f:I
.line 20
new-instance v7, Lio/reactivex/internal/operators/flowable/e$b;
move-object v1, v7
move-object v2, p1
invoke-direct/range {v1 .. v6}, Lio/reactivex/internal/operators/flowable/e$b;-><init>(Lorg/reactivestreams/b;Lio/reactivex/functions/n;ZII)V
.line 21
invoke-virtual {v0, v7}, Lio/reactivex/f;->j(Lio/reactivex/g;)V
return-void
.end method