e$a.smali

.class public final Lio/reactivex/internal/operators/maybe/e$a;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Lio/reactivex/i;
.implements Lio/reactivex/disposables/b;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lio/reactivex/internal/operators/maybe/e;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x19
    name = "a"
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "<T:",
        "Ljava/lang/Object;",
        ">",
        "Ljava/lang/Object;",
        "Lio/reactivex/i<",
        "TT;>;",
        "Lio/reactivex/disposables/b;"
    }
.end annotation


# instance fields
.field public final a:Lio/reactivex/i;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lio/reactivex/i<",
            "-TT;>;"
        }
    .end annotation
.end field

.field public final b:Lio/reactivex/internal/operators/maybe/e;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lio/reactivex/internal/operators/maybe/e<",
            "TT;>;"
        }
    .end annotation
.end field

.field public c:Lio/reactivex/disposables/b;


# direct methods
.method public constructor <init>(Lio/reactivex/i;Lio/reactivex/internal/operators/maybe/e;)V
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lio/reactivex/i<",
            "-TT;>;",
            "Lio/reactivex/internal/operators/maybe/e<",
            "TT;>;)V"
        }
    .end annotation

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

    .line 2
    iput-object p1, p0, Lio/reactivex/internal/operators/maybe/e$a;->a:Lio/reactivex/i;

    .line 3
    iput-object p2, p0, Lio/reactivex/internal/operators/maybe/e$a;->b:Lio/reactivex/internal/operators/maybe/e;

    return-void
.end method


# virtual methods
.method public final a()V
    .registers 2

    .line 1
    :try_start_0
    iget-object v0, p0, Lio/reactivex/internal/operators/maybe/e$a;->b:Lio/reactivex/internal/operators/maybe/e;

    invoke-static {v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
    :try_end_5
    .catchall {:try_start_0 .. :try_end_5} :catchall_6

    goto :goto_d

    :catchall_6
    move-exception v0

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

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

    :goto_d
    return-void
.end method

.method public final b(Ljava/lang/Throwable;)V
    .registers 6

    .line 1
    :try_start_0
    iget-object v0, p0, Lio/reactivex/internal/operators/maybe/e$a;->b:Lio/reactivex/internal/operators/maybe/e;

    iget-object v0, v0, Lio/reactivex/internal/operators/maybe/e;->c:Lio/reactivex/functions/f;

    invoke-interface {v0, p1}, Lio/reactivex/functions/f;->accept(Ljava/lang/Object;)V
    :try_end_7
    .catchall {:try_start_0 .. :try_end_7} :catchall_8

    goto :goto_1b

    :catchall_8
    move-exception v0

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

    .line 3
    new-instance v1, Lio/reactivex/exceptions/a;

    const/4 v2, 0x2

    new-array v2, v2, [Ljava/lang/Throwable;

    const/4 v3, 0x0

    aput-object p1, v2, v3

    const/4 p1, 0x1

    aput-object v0, v2, p1

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

    move-object p1, v1

    .line 4
    :goto_1b
    sget-object v0, Lio/reactivex/internal/disposables/c;->DISPOSED:Lio/reactivex/internal/disposables/c;

    iput-object v0, p0, Lio/reactivex/internal/operators/maybe/e$a;->c:Lio/reactivex/disposables/b;

    .line 5
    iget-object v0, p0, Lio/reactivex/internal/operators/maybe/e$a;->a:Lio/reactivex/i;

    invoke-interface {v0, p1}, Lio/reactivex/i;->onError(Ljava/lang/Throwable;)V

    .line 6
    invoke-virtual {p0}, Lio/reactivex/internal/operators/maybe/e$a;->a()V

    return-void
.end method

.method public final dispose()V
    .registers 2

    .line 1
    :try_start_0
    iget-object v0, p0, Lio/reactivex/internal/operators/maybe/e$a;->b:Lio/reactivex/internal/operators/maybe/e;

    invoke-static {v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
    :try_end_5
    .catchall {:try_start_0 .. :try_end_5} :catchall_6

    goto :goto_d

    :catchall_6
    move-exception v0

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

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

    .line 4
    :goto_d
    iget-object v0, p0, Lio/reactivex/internal/operators/maybe/e$a;->c:Lio/reactivex/disposables/b;

    invoke-interface {v0}, Lio/reactivex/disposables/b;->dispose()V

    .line 5
    sget-object v0, Lio/reactivex/internal/disposables/c;->DISPOSED:Lio/reactivex/internal/disposables/c;

    iput-object v0, p0, Lio/reactivex/internal/operators/maybe/e$a;->c:Lio/reactivex/disposables/b;

    return-void
.end method

.method public final isDisposed()Z
    .registers 2

    iget-object v0, p0, Lio/reactivex/internal/operators/maybe/e$a;->c:Lio/reactivex/disposables/b;

    invoke-interface {v0}, Lio/reactivex/disposables/b;->isDisposed()Z

    move-result v0

    return v0
.end method

.method public final onComplete()V
    .registers 3

    .line 1
    iget-object v0, p0, Lio/reactivex/internal/operators/maybe/e$a;->c:Lio/reactivex/disposables/b;

    sget-object v1, Lio/reactivex/internal/disposables/c;->DISPOSED:Lio/reactivex/internal/disposables/c;

    if-ne v0, v1, :cond_7

    return-void

    .line 2
    :cond_7
    :try_start_7
    iget-object v0, p0, Lio/reactivex/internal/operators/maybe/e$a;->b:Lio/reactivex/internal/operators/maybe/e;

    invoke-static {v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
    :try_end_c
    .catchall {:try_start_7 .. :try_end_c} :catchall_17

    .line 3
    iput-object v1, p0, Lio/reactivex/internal/operators/maybe/e$a;->c:Lio/reactivex/disposables/b;

    .line 4
    iget-object v0, p0, Lio/reactivex/internal/operators/maybe/e$a;->a:Lio/reactivex/i;

    invoke-interface {v0}, Lio/reactivex/i;->onComplete()V

    .line 5
    invoke-virtual {p0}, Lio/reactivex/internal/operators/maybe/e$a;->a()V

    return-void

    :catchall_17
    move-exception v0

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

    .line 7
    invoke-virtual {p0, v0}, Lio/reactivex/internal/operators/maybe/e$a;->b(Ljava/lang/Throwable;)V

    return-void
.end method

.method public final onError(Ljava/lang/Throwable;)V
    .registers 4

    .line 1
    iget-object v0, p0, Lio/reactivex/internal/operators/maybe/e$a;->c:Lio/reactivex/disposables/b;

    sget-object v1, Lio/reactivex/internal/disposables/c;->DISPOSED:Lio/reactivex/internal/disposables/c;

    if-ne v0, v1, :cond_a

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

    return-void

    .line 3
    :cond_a
    invoke-virtual {p0, p1}, Lio/reactivex/internal/operators/maybe/e$a;->b(Ljava/lang/Throwable;)V

    return-void
.end method

.method public final onSubscribe(Lio/reactivex/disposables/b;)V
    .registers 3

    .line 1
    iget-object v0, p0, Lio/reactivex/internal/operators/maybe/e$a;->c:Lio/reactivex/disposables/b;

    invoke-static {v0, p1}, Lio/reactivex/internal/disposables/c;->validate(Lio/reactivex/disposables/b;Lio/reactivex/disposables/b;)Z

    move-result v0

    if-eqz v0, :cond_25

    .line 2
    :try_start_8
    iget-object v0, p0, Lio/reactivex/internal/operators/maybe/e$a;->b:Lio/reactivex/internal/operators/maybe/e;

    invoke-static {v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
    :try_end_d
    .catchall {:try_start_8 .. :try_end_d} :catchall_15

    .line 3
    iput-object p1, p0, Lio/reactivex/internal/operators/maybe/e$a;->c:Lio/reactivex/disposables/b;

    .line 4
    iget-object p1, p0, Lio/reactivex/internal/operators/maybe/e$a;->a:Lio/reactivex/i;

    invoke-interface {p1, p0}, Lio/reactivex/i;->onSubscribe(Lio/reactivex/disposables/b;)V

    goto :goto_25

    :catchall_15
    move-exception v0

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

    .line 6
    invoke-interface {p1}, Lio/reactivex/disposables/b;->dispose()V

    .line 7
    sget-object p1, Lio/reactivex/internal/disposables/c;->DISPOSED:Lio/reactivex/internal/disposables/c;

    iput-object p1, p0, Lio/reactivex/internal/operators/maybe/e$a;->c:Lio/reactivex/disposables/b;

    .line 8
    iget-object p1, p0, Lio/reactivex/internal/operators/maybe/e$a;->a:Lio/reactivex/i;

    invoke-static {v0, p1}, Lio/reactivex/internal/disposables/d;->error(Ljava/lang/Throwable;Lio/reactivex/i;)V

    :cond_25
    :goto_25
    return-void
.end method

.method public final onSuccess(Ljava/lang/Object;)V
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TT;)V"
        }
    .end annotation

    .line 1
    iget-object v0, p0, Lio/reactivex/internal/operators/maybe/e$a;->c:Lio/reactivex/disposables/b;

    sget-object v1, Lio/reactivex/internal/disposables/c;->DISPOSED:Lio/reactivex/internal/disposables/c;

    if-ne v0, v1, :cond_7

    return-void

    .line 2
    :cond_7
    :try_start_7
    iget-object v0, p0, Lio/reactivex/internal/operators/maybe/e$a;->b:Lio/reactivex/internal/operators/maybe/e;

    iget-object v0, v0, Lio/reactivex/internal/operators/maybe/e;->b:Lio/reactivex/functions/f;

    invoke-interface {v0, p1}, Lio/reactivex/functions/f;->accept(Ljava/lang/Object;)V
    :try_end_e
    .catchall {:try_start_7 .. :try_end_e} :catchall_19

    .line 3
    iput-object v1, p0, Lio/reactivex/internal/operators/maybe/e$a;->c:Lio/reactivex/disposables/b;

    .line 4
    iget-object v0, p0, Lio/reactivex/internal/operators/maybe/e$a;->a:Lio/reactivex/i;

    invoke-interface {v0, p1}, Lio/reactivex/i;->onSuccess(Ljava/lang/Object;)V

    .line 5
    invoke-virtual {p0}, Lio/reactivex/internal/operators/maybe/e$a;->a()V

    return-void

    :catchall_19
    move-exception p1

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

    .line 7
    invoke-virtual {p0, p1}, Lio/reactivex/internal/operators/maybe/e$a;->b(Ljava/lang/Throwable;)V

    return-void
.end method