ej.smali

.class public final Lio/reactivex/internal/operators/observable/ej;
.super Lio/reactivex/x;
.source "ObservableReduceWithSingle.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "<T:",
        "Ljava/lang/Object;",
        "R:",
        "Ljava/lang/Object;",
        ">",
        "Lio/reactivex/x",
        "<TR;>;"
    }
.end annotation


# instance fields
.field private bQL:Lio/reactivex/b/c;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lio/reactivex/b/c",
            "<TR;-TT;TR;>;"
        }
    .end annotation
.end field

.field private bQN:Ljava/util/concurrent/Callable;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/concurrent/Callable",
            "<TR;>;"
        }
    .end annotation
.end field

.field private source:Lio/reactivex/p;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lio/reactivex/p",
            "<TT;>;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>(Lio/reactivex/p;Ljava/util/concurrent/Callable;Lio/reactivex/b/c;)V
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lio/reactivex/p",
            "<TT;>;",
            "Ljava/util/concurrent/Callable",
            "<TR;>;",
            "Lio/reactivex/b/c",
            "<TR;-TT;TR;>;)V"
        }
    .end annotation

    .prologue
    .line 40
    invoke-direct {p0}, Lio/reactivex/x;-><init>()V

    .line 41
    iput-object p1, p0, Lio/reactivex/internal/operators/observable/ej;->source:Lio/reactivex/p;

    .line 42
    iput-object p2, p0, Lio/reactivex/internal/operators/observable/ej;->bQN:Ljava/util/concurrent/Callable;

    .line 43
    iput-object p3, p0, Lio/reactivex/internal/operators/observable/ej;->bQL:Lio/reactivex/b/c;

    .line 44
    return-void
.end method


# virtual methods
.method protected final c(Lio/reactivex/z;)V
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lio/reactivex/z",
            "<-TR;>;)V"
        }
    .end annotation

    .prologue
    .line 51
    :try_start_0
    iget-object v0, p0, Lio/reactivex/internal/operators/observable/ej;->bQN:Ljava/util/concurrent/Callable;

    invoke-interface {v0}, Ljava/util/concurrent/Callable;->call()Ljava/lang/Object;

    move-result-object v0

    const-string v1, "The seedSupplier returned a null value"

    invoke-static {v0, v1}, Lio/reactivex/internal/functions/aj;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
    :try_end_b
    .catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_b} :catch_19

    move-result-object v0

    .line 57
    iget-object v1, p0, Lio/reactivex/internal/operators/observable/ej;->source:Lio/reactivex/p;

    new-instance v2, Lio/reactivex/internal/operators/observable/ei;

    iget-object v3, p0, Lio/reactivex/internal/operators/observable/ej;->bQL:Lio/reactivex/b/c;

    invoke-direct {v2, p1, v3, v0}, Lio/reactivex/internal/operators/observable/ei;-><init>(Lio/reactivex/z;Lio/reactivex/b/c;Ljava/lang/Object;)V

    invoke-interface {v1, v2}, Lio/reactivex/p;->subscribe(Lio/reactivex/r;)V

    .line 58
    :goto_18
    return-void

    .line 52
    :catch_19
    move-exception v0

    .line 53
    invoke-static {v0}, Lio/reactivex/exceptions/d;->throwIfFatal(Ljava/lang/Throwable;)V

    .line 54
    invoke-static {v0, p1}, Lio/reactivex/internal/disposables/EmptyDisposable;->error(Ljava/lang/Throwable;Lio/reactivex/z;)V

    goto :goto_18
.end method