a.smali
.class final Lio/reactivex/internal/operators/mixed/a;
.super Ljava/lang/Object;
.source "ScalarXMapZHelper.java"
# direct methods
.method static a(Ljava/lang/Object;Lio/reactivex/b/o;Lio/reactivex/b;)Z
.registers 5
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Object;",
"Lio/reactivex/b/o<",
"-TT;+",
"Lio/reactivex/c;",
">;",
"Lio/reactivex/b;",
")Z"
}
.end annotation
.line 1
instance-of v0, p0, Ljava/util/concurrent/Callable;
if-eqz v0, :cond_2c
.line 2
check-cast p0, Ljava/util/concurrent/Callable;
const/4 v0, 0x0
const/4 v1, 0x1
.line 3
:try_start_8
invoke-interface {p0}, Ljava/util/concurrent/Callable;->call()Ljava/lang/Object;
move-result-object p0
if-eqz p0, :cond_1a
.line 4
invoke-interface {p1, p0}, Lio/reactivex/b/o;->apply(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p0
const-string p1, "The mapper returned a null CompletableSource"
invoke-static {p0, p1}, Lio/reactivex/internal/functions/a;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
move-object v0, p0
check-cast v0, Lio/reactivex/c;
:try_end_1a
.catch Ljava/lang/Throwable; {:try_start_8 .. :try_end_1a} :catch_24
:cond_1a
if-nez v0, :cond_20
.line 5
invoke-static {p2}, Lio/reactivex/internal/disposables/EmptyDisposable;->complete(Lio/reactivex/b;)V
goto :goto_23
.line 6
:cond_20
invoke-interface {v0, p2}, Lio/reactivex/c;->a(Lio/reactivex/b;)V
:goto_23
return v1
:catch_24
move-exception p0
.line 7
invoke-static {p0}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 8
invoke-static {p0, p2}, Lio/reactivex/internal/disposables/EmptyDisposable;->error(Ljava/lang/Throwable;Lio/reactivex/b;)V
return v1
:cond_2c
const/4 p0, 0x0
return p0
.end method
.method static a(Ljava/lang/Object;Lio/reactivex/b/o;Lio/reactivex/w;)Z
.registers 5
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Object;",
"Lio/reactivex/b/o<",
"-TT;+",
"Lio/reactivex/m<",
"+TR;>;>;",
"Lio/reactivex/w<",
"-TR;>;)Z"
}
.end annotation
.line 9
instance-of v0, p0, Ljava/util/concurrent/Callable;
if-eqz v0, :cond_30
.line 10
check-cast p0, Ljava/util/concurrent/Callable;
const/4 v0, 0x0
const/4 v1, 0x1
.line 11
:try_start_8
invoke-interface {p0}, Ljava/util/concurrent/Callable;->call()Ljava/lang/Object;
move-result-object p0
if-eqz p0, :cond_1a
.line 12
invoke-interface {p1, p0}, Lio/reactivex/b/o;->apply(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p0
const-string p1, "The mapper returned a null MaybeSource"
invoke-static {p0, p1}, Lio/reactivex/internal/functions/a;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
move-object v0, p0
check-cast v0, Lio/reactivex/m;
:try_end_1a
.catch Ljava/lang/Throwable; {:try_start_8 .. :try_end_1a} :catch_28
:cond_1a
if-nez v0, :cond_20
.line 13
invoke-static {p2}, Lio/reactivex/internal/disposables/EmptyDisposable;->complete(Lio/reactivex/w;)V
goto :goto_27
.line 14
:cond_20
invoke-static {p2}, Lio/reactivex/internal/operators/maybe/MaybeToObservable;->a(Lio/reactivex/w;)Lio/reactivex/k;
move-result-object p0
invoke-interface {v0, p0}, Lio/reactivex/m;->a(Lio/reactivex/k;)V
:goto_27
return v1
:catch_28
move-exception p0
.line 15
invoke-static {p0}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 16
invoke-static {p0, p2}, Lio/reactivex/internal/disposables/EmptyDisposable;->error(Ljava/lang/Throwable;Lio/reactivex/w;)V
return v1
:cond_30
const/4 p0, 0x0
return p0
.end method
.method static b(Ljava/lang/Object;Lio/reactivex/b/o;Lio/reactivex/w;)Z
.registers 5
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
"R:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Object;",
"Lio/reactivex/b/o<",
"-TT;+",
"Lio/reactivex/A<",
"+TR;>;>;",
"Lio/reactivex/w<",
"-TR;>;)Z"
}
.end annotation
.line 1
instance-of v0, p0, Ljava/util/concurrent/Callable;
if-eqz v0, :cond_30
.line 2
check-cast p0, Ljava/util/concurrent/Callable;
const/4 v0, 0x0
const/4 v1, 0x1
.line 3
:try_start_8
invoke-interface {p0}, Ljava/util/concurrent/Callable;->call()Ljava/lang/Object;
move-result-object p0
if-eqz p0, :cond_1a
.line 4
invoke-interface {p1, p0}, Lio/reactivex/b/o;->apply(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p0
const-string p1, "The mapper returned a null SingleSource"
invoke-static {p0, p1}, Lio/reactivex/internal/functions/a;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
move-object v0, p0
check-cast v0, Lio/reactivex/A;
:try_end_1a
.catch Ljava/lang/Throwable; {:try_start_8 .. :try_end_1a} :catch_28
:cond_1a
if-nez v0, :cond_20
.line 5
invoke-static {p2}, Lio/reactivex/internal/disposables/EmptyDisposable;->complete(Lio/reactivex/w;)V
goto :goto_27
.line 6
:cond_20
invoke-static {p2}, Lio/reactivex/internal/operators/single/SingleToObservable;->a(Lio/reactivex/w;)Lio/reactivex/z;
move-result-object p0
invoke-interface {v0, p0}, Lio/reactivex/A;->a(Lio/reactivex/z;)V
:goto_27
return v1
:catch_28
move-exception p0
.line 7
invoke-static {p0}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 8
invoke-static {p0, p2}, Lio/reactivex/internal/disposables/EmptyDisposable;->error(Ljava/lang/Throwable;Lio/reactivex/w;)V
return v1
:cond_30
const/4 p0, 0x0
return p0
.end method