b$b.smali

.class public final Lio/reactivex/internal/operators/flowable/b$b;
.super Lio/reactivex/internal/subscribers/b;
.source "SourceFile"


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

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

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


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

.field public final g:Lio/reactivex/functions/f;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lio/reactivex/functions/f<",
            "-",
            "Ljava/lang/Throwable;",
            ">;"
        }
    .end annotation
.end field

.field public final h:Lio/reactivex/functions/a;

.field public final i:Lio/reactivex/functions/a;


# direct methods
.method public constructor <init>(Lorg/reactivestreams/b;Lio/reactivex/functions/f;Lio/reactivex/functions/f;Lio/reactivex/functions/a;Lio/reactivex/functions/a;)V
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lorg/reactivestreams/b<",
            "-TT;>;",
            "Lio/reactivex/functions/f<",
            "-TT;>;",
            "Lio/reactivex/functions/f<",
            "-",
            "Ljava/lang/Throwable;",
            ">;",
            "Lio/reactivex/functions/a;",
            "Lio/reactivex/functions/a;",
            ")V"
        }
    .end annotation

    .line 1
    invoke-direct {p0, p1}, Lio/reactivex/internal/subscribers/b;-><init>(Lorg/reactivestreams/b;)V

    .line 2
    iput-object p2, p0, Lio/reactivex/internal/operators/flowable/b$b;->f:Lio/reactivex/functions/f;

    .line 3
    iput-object p3, p0, Lio/reactivex/internal/operators/flowable/b$b;->g:Lio/reactivex/functions/f;

    .line 4
    iput-object p4, p0, Lio/reactivex/internal/operators/flowable/b$b;->h:Lio/reactivex/functions/a;

    .line 5
    iput-object p5, p0, Lio/reactivex/internal/operators/flowable/b$b;->i:Lio/reactivex/functions/a;

    return-void
.end method


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

    .line 1
    iget-boolean v0, p0, Lio/reactivex/internal/subscribers/b;->d:Z

    if-eqz v0, :cond_5

    return-void

    .line 2
    :cond_5
    :try_start_5
    iget-object v0, p0, Lio/reactivex/internal/operators/flowable/b$b;->h:Lio/reactivex/functions/a;

    invoke-interface {v0}, Lio/reactivex/functions/a;->run()V
    :try_end_a
    .catchall {:try_start_5 .. :try_end_a} :catchall_20

    const/4 v0, 0x1

    .line 3
    iput-boolean v0, p0, Lio/reactivex/internal/subscribers/b;->d:Z

    .line 4
    iget-object v0, p0, Lio/reactivex/internal/subscribers/b;->a:Lorg/reactivestreams/b;

    invoke-interface {v0}, Lorg/reactivestreams/b;->onComplete()V

    .line 5
    :try_start_12
    iget-object v0, p0, Lio/reactivex/internal/operators/flowable/b$b;->i:Lio/reactivex/functions/a;

    invoke-interface {v0}, Lio/reactivex/functions/a;->run()V
    :try_end_17
    .catchall {:try_start_12 .. :try_end_17} :catchall_18

    goto :goto_1f

    :catchall_18
    move-exception v0

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

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

    :goto_1f
    return-void

    :catchall_20
    move-exception v0

    .line 8
    invoke-virtual {p0, v0}, Lio/reactivex/internal/subscribers/b;->a(Ljava/lang/Throwable;)V

    return-void
.end method

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

    .line 1
    iget-boolean v0, p0, Lio/reactivex/internal/subscribers/b;->d:Z

    if-eqz v0, :cond_8

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

    return-void

    :cond_8
    const/4 v0, 0x1

    .line 3
    iput-boolean v0, p0, Lio/reactivex/internal/subscribers/b;->d:Z

    const/4 v1, 0x0

    .line 4
    :try_start_c
    iget-object v2, p0, Lio/reactivex/internal/operators/flowable/b$b;->g:Lio/reactivex/functions/f;

    invoke-interface {v2, p1}, Lio/reactivex/functions/f;->accept(Ljava/lang/Object;)V
    :try_end_11
    .catchall {:try_start_c .. :try_end_11} :catchall_12

    goto :goto_28

    :catchall_12
    move-exception v2

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

    .line 6
    iget-object v3, p0, Lio/reactivex/internal/subscribers/b;->a:Lorg/reactivestreams/b;

    new-instance v4, Lio/reactivex/exceptions/a;

    const/4 v5, 0x2

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

    aput-object p1, v5, v1

    aput-object v2, v5, v0

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

    invoke-interface {v3, v4}, Lorg/reactivestreams/b;->onError(Ljava/lang/Throwable;)V

    const/4 v0, 0x0

    :goto_28
    if-eqz v0, :cond_2f

    .line 7
    iget-object v0, p0, Lio/reactivex/internal/subscribers/b;->a:Lorg/reactivestreams/b;

    invoke-interface {v0, p1}, Lorg/reactivestreams/b;->onError(Ljava/lang/Throwable;)V

    .line 8
    :cond_2f
    :try_start_2f
    iget-object p1, p0, Lio/reactivex/internal/operators/flowable/b$b;->i:Lio/reactivex/functions/a;

    invoke-interface {p1}, Lio/reactivex/functions/a;->run()V
    :try_end_34
    .catchall {:try_start_2f .. :try_end_34} :catchall_35

    goto :goto_3c

    :catchall_35
    move-exception p1

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

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

    :goto_3c
    return-void
.end method

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

    .line 1
    iget-boolean v0, p0, Lio/reactivex/internal/subscribers/b;->d:Z

    if-eqz v0, :cond_5

    return-void

    .line 2
    :cond_5
    iget v0, p0, Lio/reactivex/internal/subscribers/b;->e:I

    if-eqz v0, :cond_10

    .line 3
    iget-object p1, p0, Lio/reactivex/internal/subscribers/b;->a:Lorg/reactivestreams/b;

    const/4 v0, 0x0

    invoke-interface {p1, v0}, Lorg/reactivestreams/b;->onNext(Ljava/lang/Object;)V

    return-void

    .line 4
    :cond_10
    :try_start_10
    iget-object v0, p0, Lio/reactivex/internal/operators/flowable/b$b;->f:Lio/reactivex/functions/f;

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

    .line 5
    iget-object v0, p0, Lio/reactivex/internal/subscribers/b;->a:Lorg/reactivestreams/b;

    invoke-interface {v0, p1}, Lorg/reactivestreams/b;->onNext(Ljava/lang/Object;)V

    return-void

    :catchall_1b
    move-exception p1

    .line 6
    invoke-virtual {p0, p1}, Lio/reactivex/internal/subscribers/b;->a(Ljava/lang/Throwable;)V

    return-void
.end method

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

    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/Exception;
        }
    .end annotation

    const/4 v0, 0x0

    const/4 v1, 0x2

    const/4 v2, 0x1

    .line 1
    :try_start_3
    iget-object v3, p0, Lio/reactivex/internal/subscribers/b;->c:Lio/reactivex/internal/fuseable/e;

    invoke-interface {v3}, Lio/reactivex/internal/fuseable/h;->poll()Ljava/lang/Object;

    move-result-object v3
    :try_end_9
    .catchall {:try_start_3 .. :try_end_9} :catchall_47

    if-eqz v3, :cond_38

    .line 2
    :try_start_b
    iget-object v4, p0, Lio/reactivex/internal/operators/flowable/b$b;->f:Lio/reactivex/functions/f;

    invoke-interface {v4, v3}, Lio/reactivex/functions/f;->accept(Ljava/lang/Object;)V
    :try_end_10
    .catchall {:try_start_b .. :try_end_10} :catchall_16

    .line 3
    iget-object v0, p0, Lio/reactivex/internal/operators/flowable/b$b;->i:Lio/reactivex/functions/a;

    invoke-interface {v0}, Lio/reactivex/functions/a;->run()V

    goto :goto_46

    :catchall_16
    move-exception v3

    .line 4
    :try_start_17
    invoke-static {v3}, Lcom/shopee/app/dre/codepush/task/a;->m(Ljava/lang/Throwable;)V
    :try_end_1a
    .catchall {:try_start_17 .. :try_end_1a} :catchall_31

    .line 5
    :try_start_1a
    iget-object v4, p0, Lio/reactivex/internal/operators/flowable/b$b;->g:Lio/reactivex/functions/f;

    invoke-interface {v4, v3}, Lio/reactivex/functions/f;->accept(Ljava/lang/Object;)V
    :try_end_1f
    .catchall {:try_start_1a .. :try_end_1f} :catchall_24

    .line 6
    :try_start_1f
    invoke-static {v3}, Lio/reactivex/internal/util/g;->c(Ljava/lang/Throwable;)Ljava/lang/Exception;

    move-result-object v0

    throw v0

    :catchall_24
    move-exception v4

    .line 7
    new-instance v5, Lio/reactivex/exceptions/a;

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

    aput-object v3, v1, v0

    aput-object v4, v1, v2

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

    throw v5
    :try_end_31
    .catchall {:try_start_1f .. :try_end_31} :catchall_31

    :catchall_31
    move-exception v0

    .line 8
    iget-object v1, p0, Lio/reactivex/internal/operators/flowable/b$b;->i:Lio/reactivex/functions/a;

    invoke-interface {v1}, Lio/reactivex/functions/a;->run()V

    throw v0

    .line 9
    :cond_38
    iget v0, p0, Lio/reactivex/internal/subscribers/b;->e:I

    if-ne v0, v2, :cond_46

    .line 10
    iget-object v0, p0, Lio/reactivex/internal/operators/flowable/b$b;->h:Lio/reactivex/functions/a;

    invoke-interface {v0}, Lio/reactivex/functions/a;->run()V

    .line 11
    iget-object v0, p0, Lio/reactivex/internal/operators/flowable/b$b;->i:Lio/reactivex/functions/a;

    invoke-interface {v0}, Lio/reactivex/functions/a;->run()V

    :cond_46
    :goto_46
    return-object v3

    :catchall_47
    move-exception v3

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

    .line 13
    :try_start_4b
    iget-object v4, p0, Lio/reactivex/internal/operators/flowable/b$b;->g:Lio/reactivex/functions/f;

    invoke-interface {v4, v3}, Lio/reactivex/functions/f;->accept(Ljava/lang/Object;)V
    :try_end_50
    .catchall {:try_start_4b .. :try_end_50} :catchall_55

    .line 14
    invoke-static {v3}, Lio/reactivex/internal/util/g;->c(Ljava/lang/Throwable;)Ljava/lang/Exception;

    move-result-object v0

    throw v0

    :catchall_55
    move-exception v4

    .line 15
    new-instance v5, Lio/reactivex/exceptions/a;

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

    aput-object v3, v1, v0

    aput-object v4, v1, v2

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

    throw v5
.end method

.method public final requestFusion(I)I
    .registers 2

    const/4 p1, 0x0

    return p1
.end method