b.smali

.class public abstract Lio/reactivex/b;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Lio/reactivex/d;


# direct methods
.method public constructor <init>()V
    .registers 1

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

    return-void
.end method

.method public static varargs c([Lio/reactivex/d;)Lio/reactivex/b;
    .registers 3

    .line 1
    array-length v0, p0

    if-nez v0, :cond_6

    .line 2
    sget-object p0, Lio/reactivex/internal/operators/completable/b;->a:Lio/reactivex/internal/operators/completable/b;

    return-object p0

    .line 3
    :cond_6
    array-length v0, p0

    const/4 v1, 0x1

    if-ne v0, v1, :cond_20

    const/4 v0, 0x0

    .line 4
    aget-object p0, p0, v0

    const-string v0, "source is null"

    .line 5
    invoke-static {p0, v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;

    .line 6
    instance-of v0, p0, Lio/reactivex/b;

    if-eqz v0, :cond_19

    .line 7
    check-cast p0, Lio/reactivex/b;

    goto :goto_1f

    .line 8
    :cond_19
    new-instance v0, Lio/reactivex/internal/operators/completable/e;

    invoke-direct {v0, p0}, Lio/reactivex/internal/operators/completable/e;-><init>(Lio/reactivex/d;)V

    move-object p0, v0

    :goto_1f
    return-object p0

    .line 9
    :cond_20
    new-instance v0, Lio/reactivex/internal/operators/completable/a;

    invoke-direct {v0, p0}, Lio/reactivex/internal/operators/completable/a;-><init>([Lio/reactivex/d;)V

    return-object v0
.end method

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

    new-instance v0, Lio/reactivex/internal/operators/completable/d;

    invoke-direct {v0, p0}, Lio/reactivex/internal/operators/completable/d;-><init>(Ljava/util/concurrent/Callable;)V

    return-object v0
.end method


# virtual methods
.method public final a(Lio/reactivex/c;)V
    .registers 4

    const-string v0, "s is null"

    .line 1
    invoke-static {p1, v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;

    .line 2
    :try_start_5
    invoke-virtual {p0, p1}, Lio/reactivex/b;->f(Lio/reactivex/c;)V
    :try_end_8
    .catch Ljava/lang/NullPointerException; {:try_start_5 .. :try_end_8} :catch_1b
    .catchall {:try_start_5 .. :try_end_8} :catchall_9

    return-void

    :catchall_9
    move-exception p1

    .line 3
    invoke-static {p1}, Lcom/shopee/app/dre/codepush/task/a;->m(Ljava/lang/Throwable;)V

    .line 4
    invoke-static {p1}, Lio/reactivex/plugins/a;->b(Ljava/lang/Throwable;)V

    .line 5
    new-instance v0, Ljava/lang/NullPointerException;

    const-string v1, "Actually not, but can\'t pass out an exception otherwise..."

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

    .line 6
    invoke-virtual {v0, p1}, Ljava/lang/Throwable;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;

    .line 7
    throw v0

    :catch_1b
    move-exception p1

    .line 8
    throw p1
.end method

.method public final e(Lio/reactivex/functions/a;Lio/reactivex/functions/f;)Lio/reactivex/disposables/b;
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lio/reactivex/functions/a;",
            "Lio/reactivex/functions/f<",
            "-",
            "Ljava/lang/Throwable;",
            ">;)",
            "Lio/reactivex/disposables/b;"
        }
    .end annotation

    .line 1
    new-instance v0, Lio/reactivex/internal/observers/i;

    invoke-direct {v0, p2, p1}, Lio/reactivex/internal/observers/i;-><init>(Lio/reactivex/functions/f;Lio/reactivex/functions/a;)V

    .line 2
    invoke-virtual {p0, v0}, Lio/reactivex/b;->a(Lio/reactivex/c;)V

    return-object v0
.end method

.method public abstract f(Lio/reactivex/c;)V
.end method

.method public final g(Lio/reactivex/t;)Lio/reactivex/b;
    .registers 3

    const-string v0, "scheduler is null"

    .line 1
    invoke-static {p1, v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;

    .line 2
    new-instance v0, Lio/reactivex/internal/operators/completable/g;

    invoke-direct {v0, p0, p1}, Lio/reactivex/internal/operators/completable/g;-><init>(Lio/reactivex/d;Lio/reactivex/t;)V

    return-object v0
.end method