a.smali

.class public final Lio/reactivex/e/a;
.super Ljava/lang/Object;
.source "RxJavaPlugins.java"


# static fields
.field static volatile a:Lio/reactivex/b/g;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lio/reactivex/b/g<",
            "-",
            "Ljava/lang/Throwable;",
            ">;"
        }
    .end annotation
.end field

.field static volatile b:Lio/reactivex/b/o;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lio/reactivex/b/o<",
            "-",
            "Ljava/lang/Runnable;",
            "+",
            "Ljava/lang/Runnable;",
            ">;"
        }
    .end annotation
.end field

.field static volatile c:Lio/reactivex/b/o;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lio/reactivex/b/o<",
            "-",
            "Ljava/util/concurrent/Callable<",
            "Lio/reactivex/x;",
            ">;+",
            "Lio/reactivex/x;",
            ">;"
        }
    .end annotation
.end field

.field static volatile d:Lio/reactivex/b/o;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lio/reactivex/b/o<",
            "-",
            "Ljava/util/concurrent/Callable<",
            "Lio/reactivex/x;",
            ">;+",
            "Lio/reactivex/x;",
            ">;"
        }
    .end annotation
.end field

.field static volatile e:Lio/reactivex/b/o;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lio/reactivex/b/o<",
            "-",
            "Ljava/util/concurrent/Callable<",
            "Lio/reactivex/x;",
            ">;+",
            "Lio/reactivex/x;",
            ">;"
        }
    .end annotation
.end field

.field static volatile f:Lio/reactivex/b/o;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lio/reactivex/b/o<",
            "-",
            "Ljava/util/concurrent/Callable<",
            "Lio/reactivex/x;",
            ">;+",
            "Lio/reactivex/x;",
            ">;"
        }
    .end annotation
.end field

.field static volatile g:Lio/reactivex/b/o;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lio/reactivex/b/o<",
            "-",
            "Lio/reactivex/x;",
            "+",
            "Lio/reactivex/x;",
            ">;"
        }
    .end annotation
.end field

.field static volatile h:Lio/reactivex/b/o;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lio/reactivex/b/o<",
            "-",
            "Lio/reactivex/x;",
            "+",
            "Lio/reactivex/x;",
            ">;"
        }
    .end annotation
.end field

.field static volatile i:Lio/reactivex/b/o;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lio/reactivex/b/o<",
            "-",
            "Lio/reactivex/x;",
            "+",
            "Lio/reactivex/x;",
            ">;"
        }
    .end annotation
.end field

.field static volatile j:Lio/reactivex/b/o;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lio/reactivex/b/o<",
            "-",
            "Lio/reactivex/e;",
            "+",
            "Lio/reactivex/e;",
            ">;"
        }
    .end annotation
.end field

.field static volatile k:Lio/reactivex/b/o;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lio/reactivex/b/o<",
            "-",
            "Lio/reactivex/a/a;",
            "+",
            "Lio/reactivex/a/a;",
            ">;"
        }
    .end annotation
.end field

.field static volatile l:Lio/reactivex/b/o;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lio/reactivex/b/o<",
            "-",
            "Lio/reactivex/p;",
            "+",
            "Lio/reactivex/p;",
            ">;"
        }
    .end annotation
.end field

.field static volatile m:Lio/reactivex/b/o;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lio/reactivex/b/o<",
            "-",
            "Lio/reactivex/d/a;",
            "+",
            "Lio/reactivex/d/a;",
            ">;"
        }
    .end annotation
.end field

.field static volatile n:Lio/reactivex/b/o;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lio/reactivex/b/o<",
            "-",
            "Lio/reactivex/i;",
            "+",
            "Lio/reactivex/i;",
            ">;"
        }
    .end annotation
.end field

.field static volatile o:Lio/reactivex/b/o;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lio/reactivex/b/o<",
            "-",
            "Lio/reactivex/y;",
            "+",
            "Lio/reactivex/y;",
            ">;"
        }
    .end annotation
.end field

.field static volatile p:Lio/reactivex/b/o;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lio/reactivex/b/o<",
            "-",
            "Lio/reactivex/a;",
            "+",
            "Lio/reactivex/a;",
            ">;"
        }
    .end annotation
.end field

.field static volatile q:Lio/reactivex/b/c;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lio/reactivex/b/c<",
            "-",
            "Lio/reactivex/e;",
            "-",
            "Lf/b/c;",
            "+",
            "Lf/b/c;",
            ">;"
        }
    .end annotation
.end field

.field static volatile r:Lio/reactivex/b/c;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lio/reactivex/b/c<",
            "-",
            "Lio/reactivex/i;",
            "-",
            "Lio/reactivex/k;",
            "+",
            "Lio/reactivex/k;",
            ">;"
        }
    .end annotation
.end field

.field static volatile s:Lio/reactivex/b/c;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lio/reactivex/b/c<",
            "-",
            "Lio/reactivex/p;",
            "-",
            "Lio/reactivex/w;",
            "+",
            "Lio/reactivex/w;",
            ">;"
        }
    .end annotation
.end field

.field static volatile t:Lio/reactivex/b/c;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lio/reactivex/b/c<",
            "-",
            "Lio/reactivex/y;",
            "-",
            "Lio/reactivex/z;",
            "+",
            "Lio/reactivex/z;",
            ">;"
        }
    .end annotation
.end field

.field static volatile u:Lio/reactivex/b/c;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lio/reactivex/b/c<",
            "-",
            "Lio/reactivex/a;",
            "-",
            "Lio/reactivex/b;",
            "+",
            "Lio/reactivex/b;",
            ">;"
        }
    .end annotation
.end field

.field static volatile v:Lio/reactivex/b/e;

.field static volatile w:Z

.field static volatile x:Z


# direct methods
.method public static a(Lio/reactivex/e;Lf/b/c;)Lf/b/c;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<T:",
            "Ljava/lang/Object;",
            ">(",
            "Lio/reactivex/e<",
            "TT;>;",
            "Lf/b/c<",
            "-TT;>;)",
            "Lf/b/c<",
            "-TT;>;"
        }
    .end annotation

    .line 16
    sget-object v0, Lio/reactivex/e/a;->q:Lio/reactivex/b/c;

    if-eqz v0, :cond_b

    .line 17
    invoke-static {v0, p0, p1}, Lio/reactivex/e/a;->a(Lio/reactivex/b/c;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lf/b/c;

    return-object p0

    :cond_b
    return-object p1
.end method

.method public static a(Lio/reactivex/a/a;)Lio/reactivex/a/a;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<T:",
            "Ljava/lang/Object;",
            ">(",
            "Lio/reactivex/a/a<",
            "TT;>;)",
            "Lio/reactivex/a/a<",
            "TT;>;"
        }
    .end annotation

    .line 30
    sget-object v0, Lio/reactivex/e/a;->k:Lio/reactivex/b/o;

    if-eqz v0, :cond_a

    .line 31
    invoke-static {v0, p0}, Lio/reactivex/e/a;->a(Lio/reactivex/b/o;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lio/reactivex/a/a;

    :cond_a
    return-object p0
.end method

.method public static a(Lio/reactivex/a;)Lio/reactivex/a;
    .registers 2

    .line 38
    sget-object v0, Lio/reactivex/e/a;->p:Lio/reactivex/b/o;

    if-eqz v0, :cond_a

    .line 39
    invoke-static {v0, p0}, Lio/reactivex/e/a;->a(Lio/reactivex/b/o;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lio/reactivex/a;

    :cond_a
    return-object p0
.end method

.method public static a(Lio/reactivex/a;Lio/reactivex/b;)Lio/reactivex/b;
    .registers 3

    .line 22
    sget-object v0, Lio/reactivex/e/a;->u:Lio/reactivex/b/c;

    if-eqz v0, :cond_b

    .line 23
    invoke-static {v0, p0, p1}, Lio/reactivex/e/a;->a(Lio/reactivex/b/c;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lio/reactivex/b;

    return-object p0

    :cond_b
    return-object p1
.end method

.method public static a(Lio/reactivex/d/a;)Lio/reactivex/d/a;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<T:",
            "Ljava/lang/Object;",
            ">(",
            "Lio/reactivex/d/a<",
            "TT;>;)",
            "Lio/reactivex/d/a<",
            "TT;>;"
        }
    .end annotation

    .line 34
    sget-object v0, Lio/reactivex/e/a;->m:Lio/reactivex/b/o;

    if-eqz v0, :cond_a

    .line 35
    invoke-static {v0, p0}, Lio/reactivex/e/a;->a(Lio/reactivex/b/o;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lio/reactivex/d/a;

    :cond_a
    return-object p0
.end method

.method public static a(Lio/reactivex/e;)Lio/reactivex/e;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<T:",
            "Ljava/lang/Object;",
            ">(",
            "Lio/reactivex/e<",
            "TT;>;)",
            "Lio/reactivex/e<",
            "TT;>;"
        }
    .end annotation

    .line 28
    sget-object v0, Lio/reactivex/e/a;->j:Lio/reactivex/b/o;

    if-eqz v0, :cond_a

    .line 29
    invoke-static {v0, p0}, Lio/reactivex/e/a;->a(Lio/reactivex/b/o;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lio/reactivex/e;

    :cond_a
    return-object p0
.end method

.method public static a(Lio/reactivex/i;)Lio/reactivex/i;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<T:",
            "Ljava/lang/Object;",
            ">(",
            "Lio/reactivex/i<",
            "TT;>;)",
            "Lio/reactivex/i<",
            "TT;>;"
        }
    .end annotation

    .line 26
    sget-object v0, Lio/reactivex/e/a;->n:Lio/reactivex/b/o;

    if-eqz v0, :cond_a

    .line 27
    invoke-static {v0, p0}, Lio/reactivex/e/a;->a(Lio/reactivex/b/o;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lio/reactivex/i;

    :cond_a
    return-object p0
.end method

.method public static a(Lio/reactivex/i;Lio/reactivex/k;)Lio/reactivex/k;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<T:",
            "Ljava/lang/Object;",
            ">(",
            "Lio/reactivex/i<",
            "TT;>;",
            "Lio/reactivex/k<",
            "-TT;>;)",
            "Lio/reactivex/k<",
            "-TT;>;"
        }
    .end annotation

    .line 24
    sget-object v0, Lio/reactivex/e/a;->r:Lio/reactivex/b/c;

    if-eqz v0, :cond_b

    .line 25
    invoke-static {v0, p0, p1}, Lio/reactivex/e/a;->a(Lio/reactivex/b/c;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lio/reactivex/k;

    return-object p0

    :cond_b
    return-object p1
.end method

.method public static a(Lio/reactivex/p;)Lio/reactivex/p;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<T:",
            "Ljava/lang/Object;",
            ">(",
            "Lio/reactivex/p<",
            "TT;>;)",
            "Lio/reactivex/p<",
            "TT;>;"
        }
    .end annotation

    .line 32
    sget-object v0, Lio/reactivex/e/a;->l:Lio/reactivex/b/o;

    if-eqz v0, :cond_a

    .line 33
    invoke-static {v0, p0}, Lio/reactivex/e/a;->a(Lio/reactivex/b/o;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lio/reactivex/p;

    :cond_a
    return-object p0
.end method

.method public static a(Lio/reactivex/p;Lio/reactivex/w;)Lio/reactivex/w;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<T:",
            "Ljava/lang/Object;",
            ">(",
            "Lio/reactivex/p<",
            "TT;>;",
            "Lio/reactivex/w<",
            "-TT;>;)",
            "Lio/reactivex/w<",
            "-TT;>;"
        }
    .end annotation

    .line 18
    sget-object v0, Lio/reactivex/e/a;->s:Lio/reactivex/b/c;

    if-eqz v0, :cond_b

    .line 19
    invoke-static {v0, p0, p1}, Lio/reactivex/e/a;->a(Lio/reactivex/b/c;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lio/reactivex/w;

    return-object p0

    :cond_b
    return-object p1
.end method

.method static a(Lio/reactivex/b/o;Ljava/util/concurrent/Callable;)Lio/reactivex/x;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lio/reactivex/b/o<",
            "-",
            "Ljava/util/concurrent/Callable<",
            "Lio/reactivex/x;",
            ">;+",
            "Lio/reactivex/x;",
            ">;",
            "Ljava/util/concurrent/Callable<",
            "Lio/reactivex/x;",
            ">;)",
            "Lio/reactivex/x;"
        }
    .end annotation

    .line 46
    invoke-static {p0, p1}, Lio/reactivex/e/a;->a(Lio/reactivex/b/o;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p0

    const-string p1, "Scheduler Callable result can\'t be null"

    invoke-static {p0, p1}, Lio/reactivex/internal/functions/a;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;

    check-cast p0, Lio/reactivex/x;

    return-object p0
.end method

.method public static a(Lio/reactivex/x;)Lio/reactivex/x;
    .registers 2

    .line 2
    sget-object v0, Lio/reactivex/e/a;->g:Lio/reactivex/b/o;

    if-nez v0, :cond_5

    return-object p0

    .line 3
    :cond_5
    invoke-static {v0, p0}, Lio/reactivex/e/a;->a(Lio/reactivex/b/o;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lio/reactivex/x;

    return-object p0
.end method

.method static a(Ljava/util/concurrent/Callable;)Lio/reactivex/x;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/concurrent/Callable<",
            "Lio/reactivex/x;",
            ">;)",
            "Lio/reactivex/x;"
        }
    .end annotation

    .line 44
    :try_start_0
    invoke-interface {p0}, Ljava/util/concurrent/Callable;->call()Ljava/lang/Object;

    move-result-object p0

    const-string v0, "Scheduler Callable result can\'t be null"

    invoke-static {p0, v0}, Lio/reactivex/internal/functions/a;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;

    check-cast p0, Lio/reactivex/x;
    :try_end_b
    .catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_b} :catch_c

    return-object p0

    :catch_c
    move-exception p0

    .line 45
    invoke-static {p0}, Lio/reactivex/internal/util/ExceptionHelper;->b(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;

    move-result-object p0

    throw p0
.end method

.method public static a(Lio/reactivex/y;)Lio/reactivex/y;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<T:",
            "Ljava/lang/Object;",
            ">(",
            "Lio/reactivex/y<",
            "TT;>;)",
            "Lio/reactivex/y<",
            "TT;>;"
        }
    .end annotation

    .line 36
    sget-object v0, Lio/reactivex/e/a;->o:Lio/reactivex/b/o;

    if-eqz v0, :cond_a

    .line 37
    invoke-static {v0, p0}, Lio/reactivex/e/a;->a(Lio/reactivex/b/o;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lio/reactivex/y;

    :cond_a
    return-object p0
.end method

.method public static a(Lio/reactivex/y;Lio/reactivex/z;)Lio/reactivex/z;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<T:",
            "Ljava/lang/Object;",
            ">(",
            "Lio/reactivex/y<",
            "TT;>;",
            "Lio/reactivex/z<",
            "-TT;>;)",
            "Lio/reactivex/z<",
            "-TT;>;"
        }
    .end annotation

    .line 20
    sget-object v0, Lio/reactivex/e/a;->t:Lio/reactivex/b/c;

    if-eqz v0, :cond_b

    .line 21
    invoke-static {v0, p0, p1}, Lio/reactivex/e/a;->a(Lio/reactivex/b/c;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lio/reactivex/z;

    return-object p0

    :cond_b
    return-object p1
.end method

.method static a(Lio/reactivex/b/c;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<T:",
            "Ljava/lang/Object;",
            "U:",
            "Ljava/lang/Object;",
            "R:",
            "Ljava/lang/Object;",
            ">(",
            "Lio/reactivex/b/c<",
            "TT;TU;TR;>;TT;TU;)TR;"
        }
    .end annotation

    .line 42
    :try_start_0
    invoke-interface {p0, p1, p2}, Lio/reactivex/b/c;->apply(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p0
    :try_end_4
    .catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_4} :catch_5

    return-object p0

    :catch_5
    move-exception p0

    .line 43
    invoke-static {p0}, Lio/reactivex/internal/util/ExceptionHelper;->b(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;

    move-result-object p0

    throw p0
.end method

.method static a(Lio/reactivex/b/o;Ljava/lang/Object;)Ljava/lang/Object;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<T:",
            "Ljava/lang/Object;",
            "R:",
            "Ljava/lang/Object;",
            ">(",
            "Lio/reactivex/b/o<",
            "TT;TR;>;TT;)TR;"
        }
    .end annotation

    .line 40
    :try_start_0
    invoke-interface {p0, p1}, Lio/reactivex/b/o;->apply(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p0
    :try_end_4
    .catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_4} :catch_5

    return-object p0

    :catch_5
    move-exception p0

    .line 41
    invoke-static {p0}, Lio/reactivex/internal/util/ExceptionHelper;->b(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;

    move-result-object p0

    throw p0
.end method

.method public static a(Ljava/lang/Runnable;)Ljava/lang/Runnable;
    .registers 2

    const-string v0, "run is null"

    .line 10
    invoke-static {p0, v0}, Lio/reactivex/internal/functions/a;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;

    .line 11
    sget-object v0, Lio/reactivex/e/a;->b:Lio/reactivex/b/o;

    if-nez v0, :cond_a

    return-object p0

    .line 12
    :cond_a
    invoke-static {v0, p0}, Lio/reactivex/e/a;->a(Lio/reactivex/b/o;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Ljava/lang/Runnable;

    return-object p0
.end method

.method public static a(Lio/reactivex/b/g;)V
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lio/reactivex/b/g<",
            "-",
            "Ljava/lang/Throwable;",
            ">;)V"
        }
    .end annotation

    .line 13
    sget-boolean v0, Lio/reactivex/e/a;->w:Z

    if-nez v0, :cond_7

    .line 14
    sput-object p0, Lio/reactivex/e/a;->a:Lio/reactivex/b/g;

    return-void

    .line 15
    :cond_7
    new-instance p0, Ljava/lang/IllegalStateException;

    const-string v0, "Plugins can\'t be changed anymore"

    invoke-direct {p0, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw p0
.end method

.method public static a()Z
    .registers 1

    .line 1
    sget-boolean v0, Lio/reactivex/e/a;->x:Z

    return v0
.end method

.method static a(Ljava/lang/Throwable;)Z
    .registers 3

    .line 4
    instance-of v0, p0, Lio/reactivex/exceptions/OnErrorNotImplementedException;

    const/4 v1, 0x1

    if-eqz v0, :cond_6

    return v1

    .line 5
    :cond_6
    instance-of v0, p0, Lio/reactivex/exceptions/MissingBackpressureException;

    if-eqz v0, :cond_b

    return v1

    .line 6
    :cond_b
    instance-of v0, p0, Ljava/lang/IllegalStateException;

    if-eqz v0, :cond_10

    return v1

    .line 7
    :cond_10
    instance-of v0, p0, Ljava/lang/NullPointerException;

    if-eqz v0, :cond_15

    return v1

    .line 8
    :cond_15
    instance-of v0, p0, Ljava/lang/IllegalArgumentException;

    if-eqz v0, :cond_1a

    return v1

    .line 9
    :cond_1a
    instance-of p0, p0, Lio/reactivex/exceptions/CompositeException;

    if-eqz p0, :cond_1f

    return v1

    :cond_1f
    const/4 p0, 0x0

    return p0
.end method

.method public static b(Lio/reactivex/x;)Lio/reactivex/x;
    .registers 2

    .line 14
    sget-object v0, Lio/reactivex/e/a;->h:Lio/reactivex/b/o;

    if-nez v0, :cond_5

    return-object p0

    .line 15
    :cond_5
    invoke-static {v0, p0}, Lio/reactivex/e/a;->a(Lio/reactivex/b/o;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lio/reactivex/x;

    return-object p0
.end method

.method public static b(Ljava/util/concurrent/Callable;)Lio/reactivex/x;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/concurrent/Callable<",
            "Lio/reactivex/x;",
            ">;)",
            "Lio/reactivex/x;"
        }
    .end annotation

    const-string v0, "Scheduler Callable can\'t be null"

    .line 1
    invoke-static {p0, v0}, Lio/reactivex/internal/functions/a;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;

    .line 2
    sget-object v0, Lio/reactivex/e/a;->c:Lio/reactivex/b/o;

    if-nez v0, :cond_e

    .line 3
    invoke-static {p0}, Lio/reactivex/e/a;->a(Ljava/util/concurrent/Callable;)Lio/reactivex/x;

    move-result-object p0

    return-object p0

    .line 4
    :cond_e
    invoke-static {v0, p0}, Lio/reactivex/e/a;->a(Lio/reactivex/b/o;Ljava/util/concurrent/Callable;)Lio/reactivex/x;

    move-result-object p0

    return-object p0
.end method

.method public static b(Ljava/lang/Throwable;)V
    .registers 3

    .line 5
    sget-object v0, Lio/reactivex/e/a;->a:Lio/reactivex/b/g;

    if-nez p0, :cond_c

    .line 6
    new-instance p0, Ljava/lang/NullPointerException;

    const-string v1, "onError called with null. Null values are generally not allowed in 2.x operators and sources."

    invoke-direct {p0, v1}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V

    goto :goto_18

    .line 7
    :cond_c
    invoke-static {p0}, Lio/reactivex/e/a;->a(Ljava/lang/Throwable;)Z

    move-result v1

    if-nez v1, :cond_18

    .line 8
    new-instance v1, Lio/reactivex/exceptions/UndeliverableException;

    invoke-direct {v1, p0}, Lio/reactivex/exceptions/UndeliverableException;-><init>(Ljava/lang/Throwable;)V

    move-object p0, v1

    :cond_18
    :goto_18
    if-eqz v0, :cond_25

    .line 9
    :try_start_1a
    invoke-interface {v0, p0}, Lio/reactivex/b/g;->accept(Ljava/lang/Object;)V
    :try_end_1d
    .catch Ljava/lang/Throwable; {:try_start_1a .. :try_end_1d} :catch_1e

    return-void

    :catch_1e
    move-exception v0

    .line 10
    invoke-virtual {v0}, Ljava/lang/Throwable;->printStackTrace()V

    .line 11
    invoke-static {v0}, Lio/reactivex/e/a;->c(Ljava/lang/Throwable;)V

    .line 12
    :cond_25
    invoke-virtual {p0}, Ljava/lang/Throwable;->printStackTrace()V

    .line 13
    invoke-static {p0}, Lio/reactivex/e/a;->c(Ljava/lang/Throwable;)V

    return-void
.end method

.method public static b()Z
    .registers 1

    .line 16
    sget-object v0, Lio/reactivex/e/a;->v:Lio/reactivex/b/e;

    if-eqz v0, :cond_f

    .line 17
    :try_start_4
    invoke-interface {v0}, Lio/reactivex/b/e;->getAsBoolean()Z

    move-result v0
    :try_end_8
    .catch Ljava/lang/Throwable; {:try_start_4 .. :try_end_8} :catch_9

    return v0

    :catch_9
    move-exception v0

    .line 18
    invoke-static {v0}, Lio/reactivex/internal/util/ExceptionHelper;->b(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;

    move-result-object v0

    throw v0

    :cond_f
    const/4 v0, 0x0

    return v0
.end method

.method public static c(Lio/reactivex/x;)Lio/reactivex/x;
    .registers 2

    .line 8
    sget-object v0, Lio/reactivex/e/a;->i:Lio/reactivex/b/o;

    if-nez v0, :cond_5

    return-object p0

    .line 9
    :cond_5
    invoke-static {v0, p0}, Lio/reactivex/e/a;->a(Lio/reactivex/b/o;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lio/reactivex/x;

    return-object p0
.end method

.method public static c(Ljava/util/concurrent/Callable;)Lio/reactivex/x;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/concurrent/Callable<",
            "Lio/reactivex/x;",
            ">;)",
            "Lio/reactivex/x;"
        }
    .end annotation

    const-string v0, "Scheduler Callable can\'t be null"

    .line 1
    invoke-static {p0, v0}, Lio/reactivex/internal/functions/a;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;

    .line 2
    sget-object v0, Lio/reactivex/e/a;->e:Lio/reactivex/b/o;

    if-nez v0, :cond_e

    .line 3
    invoke-static {p0}, Lio/reactivex/e/a;->a(Ljava/util/concurrent/Callable;)Lio/reactivex/x;

    move-result-object p0

    return-object p0

    .line 4
    :cond_e
    invoke-static {v0, p0}, Lio/reactivex/e/a;->a(Lio/reactivex/b/o;Ljava/util/concurrent/Callable;)Lio/reactivex/x;

    move-result-object p0

    return-object p0
.end method

.method static c(Ljava/lang/Throwable;)V
    .registers 3

    .line 5
    invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;

    move-result-object v0

    .line 6
    invoke-virtual {v0}, Ljava/lang/Thread;->getUncaughtExceptionHandler()Ljava/lang/Thread$UncaughtExceptionHandler;

    move-result-object v1

    .line 7
    invoke-interface {v1, v0, p0}, Ljava/lang/Thread$UncaughtExceptionHandler;->uncaughtException(Ljava/lang/Thread;Ljava/lang/Throwable;)V

    return-void
.end method

.method public static d(Ljava/util/concurrent/Callable;)Lio/reactivex/x;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/concurrent/Callable<",
            "Lio/reactivex/x;",
            ">;)",
            "Lio/reactivex/x;"
        }
    .end annotation

    const-string v0, "Scheduler Callable can\'t be null"

    .line 1
    invoke-static {p0, v0}, Lio/reactivex/internal/functions/a;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;

    .line 2
    sget-object v0, Lio/reactivex/e/a;->f:Lio/reactivex/b/o;

    if-nez v0, :cond_e

    .line 3
    invoke-static {p0}, Lio/reactivex/e/a;->a(Ljava/util/concurrent/Callable;)Lio/reactivex/x;

    move-result-object p0

    return-object p0

    .line 4
    :cond_e
    invoke-static {v0, p0}, Lio/reactivex/e/a;->a(Lio/reactivex/b/o;Ljava/util/concurrent/Callable;)Lio/reactivex/x;

    move-result-object p0

    return-object p0
.end method

.method public static e(Ljava/util/concurrent/Callable;)Lio/reactivex/x;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/concurrent/Callable<",
            "Lio/reactivex/x;",
            ">;)",
            "Lio/reactivex/x;"
        }
    .end annotation

    const-string v0, "Scheduler Callable can\'t be null"

    .line 1
    invoke-static {p0, v0}, Lio/reactivex/internal/functions/a;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;

    .line 2
    sget-object v0, Lio/reactivex/e/a;->d:Lio/reactivex/b/o;

    if-nez v0, :cond_e

    .line 3
    invoke-static {p0}, Lio/reactivex/e/a;->a(Ljava/util/concurrent/Callable;)Lio/reactivex/x;

    move-result-object p0

    return-object p0

    .line 4
    :cond_e
    invoke-static {v0, p0}, Lio/reactivex/e/a;->a(Lio/reactivex/b/o;Ljava/util/concurrent/Callable;)Lio/reactivex/x;

    move-result-object p0

    return-object p0
.end method