b.smali

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

# interfaces
.implements Lio/reactivex/s;


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


# instance fields
.field public a:Lio/reactivex/disposables/b;


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

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

    return-void
.end method


# virtual methods
.method public final onSubscribe(Lio/reactivex/disposables/b;)V
    .registers 5

    .line 1
    iget-object v0, p0, Lio/reactivex/observers/b;->a:Lio/reactivex/disposables/b;

    invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v1

    const-string v2, "next is null"

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

    if-eqz v0, :cond_19

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

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

    if-eq v0, v2, :cond_17

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

    :cond_17
    const/4 v0, 0x0

    goto :goto_1a

    :cond_19
    const/4 v0, 0x1

    :goto_1a
    if-eqz v0, :cond_1e

    .line 6
    iput-object p1, p0, Lio/reactivex/observers/b;->a:Lio/reactivex/disposables/b;

    :cond_1e
    return-void
.end method