.class Landroidx/lifecycle/LiveData$LifecycleBoundObserver;
.super Landroidx/lifecycle/LiveData$c;
.source ""

# interfaces
.implements Landroidx/lifecycle/l;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Landroidx/lifecycle/LiveData;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x1
    name = "LifecycleBoundObserver"
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Landroidx/lifecycle/LiveData<",
        "TT;>.c;",
        "Landroidx/lifecycle/l;"
    }
.end annotation


# instance fields
.field public final v:Landroidx/lifecycle/n;

.field public final synthetic w:Landroidx/lifecycle/LiveData;


# direct methods
.method public constructor <init>(Landroidx/lifecycle/LiveData;Landroidx/lifecycle/n;Landroidx/lifecycle/u;)V
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroidx/lifecycle/n;",
            "Landroidx/lifecycle/u<",
            "-TT;>;)V"
        }
    .end annotation

    iput-object p1, p0, Landroidx/lifecycle/LiveData$LifecycleBoundObserver;->w:Landroidx/lifecycle/LiveData;

    invoke-direct {p0, p1, p3}, Landroidx/lifecycle/LiveData$c;-><init>(Landroidx/lifecycle/LiveData;Landroidx/lifecycle/u;)V

    iput-object p2, p0, Landroidx/lifecycle/LiveData$LifecycleBoundObserver;->v:Landroidx/lifecycle/n;

    return-void
.end method


# virtual methods
.method public g(Landroidx/lifecycle/n;Landroidx/lifecycle/i$b;)V
    .registers 4

    iget-object p1, p0, Landroidx/lifecycle/LiveData$LifecycleBoundObserver;->v:Landroidx/lifecycle/n;

    invoke-interface {p1}, Landroidx/lifecycle/n;->a()Landroidx/lifecycle/i;

    move-result-object p1

    check-cast p1, Landroidx/lifecycle/o;

    .line 1
    iget-object p1, p1, Landroidx/lifecycle/o;->b:Landroidx/lifecycle/i$c;

    .line 2
    sget-object p2, Landroidx/lifecycle/i$c;->r:Landroidx/lifecycle/i$c;

    if-ne p1, p2, :cond_16

    iget-object p1, p0, Landroidx/lifecycle/LiveData$LifecycleBoundObserver;->w:Landroidx/lifecycle/LiveData;

    iget-object p2, p0, Landroidx/lifecycle/LiveData$c;->r:Landroidx/lifecycle/u;

    invoke-virtual {p1, p2}, Landroidx/lifecycle/LiveData;->i(Landroidx/lifecycle/u;)V

    return-void

    :cond_16
    const/4 p2, 0x0

    :goto_17
    if-eq p2, p1, :cond_2e

    invoke-virtual {p0}, Landroidx/lifecycle/LiveData$LifecycleBoundObserver;->k()Z

    move-result p2

    invoke-virtual {p0, p2}, Landroidx/lifecycle/LiveData$c;->h(Z)V

    iget-object p2, p0, Landroidx/lifecycle/LiveData$LifecycleBoundObserver;->v:Landroidx/lifecycle/n;

    invoke-interface {p2}, Landroidx/lifecycle/n;->a()Landroidx/lifecycle/i;

    move-result-object p2

    check-cast p2, Landroidx/lifecycle/o;

    .line 3
    iget-object p2, p2, Landroidx/lifecycle/o;->b:Landroidx/lifecycle/i$c;

    move-object v0, p2

    move-object p2, p1

    move-object p1, v0

    goto :goto_17

    :cond_2e
    return-void
.end method

.method public i()V
    .registers 3

    iget-object v0, p0, Landroidx/lifecycle/LiveData$LifecycleBoundObserver;->v:Landroidx/lifecycle/n;

    invoke-interface {v0}, Landroidx/lifecycle/n;->a()Landroidx/lifecycle/i;

    move-result-object v0

    check-cast v0, Landroidx/lifecycle/o;

    const-string v1, "removeObserver"

    .line 1
    invoke-virtual {v0, v1}, Landroidx/lifecycle/o;->d(Ljava/lang/String;)V

    iget-object v0, v0, Landroidx/lifecycle/o;->a:Lm/a;

    invoke-virtual {v0, p0}, Lm/a;->h(Ljava/lang/Object;)Ljava/lang/Object;

    return-void
.end method

.method public j(Landroidx/lifecycle/n;)Z
    .registers 3

    iget-object v0, p0, Landroidx/lifecycle/LiveData$LifecycleBoundObserver;->v:Landroidx/lifecycle/n;

    if-ne v0, p1, :cond_6

    const/4 p1, 0x1

    goto :goto_7

    :cond_6
    const/4 p1, 0x0

    :goto_7
    return p1
.end method

.method public k()Z
    .registers 3

    iget-object v0, p0, Landroidx/lifecycle/LiveData$LifecycleBoundObserver;->v:Landroidx/lifecycle/n;

    invoke-interface {v0}, Landroidx/lifecycle/n;->a()Landroidx/lifecycle/i;

    move-result-object v0

    check-cast v0, Landroidx/lifecycle/o;

    .line 1
    iget-object v0, v0, Landroidx/lifecycle/o;->b:Landroidx/lifecycle/i$c;

    .line 2
    sget-object v1, Landroidx/lifecycle/i$c;->u:Landroidx/lifecycle/i$c;

    .line 3
    invoke-virtual {v0, v1}, Ljava/lang/Enum;->compareTo(Ljava/lang/Enum;)I

    move-result v0

    if-ltz v0, :cond_14

    const/4 v0, 0x1

    goto :goto_15

    :cond_14
    const/4 v0, 0x0

    :goto_15
    return v0
.end method
