.class public Landroidx/databinding/ViewDataBinding$f;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Landroidx/lifecycle/u;
.implements Landroidx/databinding/l;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Landroidx/databinding/ViewDataBinding;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x9
    name = "f"
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Landroidx/lifecycle/u;",
        "Landroidx/databinding/l<",
        "Landroidx/lifecycle/LiveData<",
        "*>;>;"
    }
.end annotation


# instance fields
.field public final r:Landroidx/databinding/o;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Landroidx/databinding/o<",
            "Landroidx/lifecycle/LiveData<",
            "*>;>;"
        }
    .end annotation
.end field

.field public s:Ljava/lang/ref/WeakReference;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/lang/ref/WeakReference<",
            "Landroidx/lifecycle/n;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>(Landroidx/databinding/ViewDataBinding;ILjava/lang/ref/ReferenceQueue;)V
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroidx/databinding/ViewDataBinding;",
            "I",
            "Ljava/lang/ref/ReferenceQueue<",
            "Landroidx/databinding/ViewDataBinding;",
            ">;)V"
        }
    .end annotation

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

    const/4 v0, 0x0

    iput-object v0, p0, Landroidx/databinding/ViewDataBinding$f;->s:Ljava/lang/ref/WeakReference;

    new-instance v0, Landroidx/databinding/o;

    invoke-direct {v0, p1, p2, p0, p3}, Landroidx/databinding/o;-><init>(Landroidx/databinding/ViewDataBinding;ILandroidx/databinding/l;Ljava/lang/ref/ReferenceQueue;)V

    iput-object v0, p0, Landroidx/databinding/ViewDataBinding$f;->r:Landroidx/databinding/o;

    return-void
.end method


# virtual methods
.method public a(Ljava/lang/Object;)V
    .registers 2

    check-cast p1, Landroidx/lifecycle/LiveData;

    .line 1
    invoke-virtual {p1, p0}, Landroidx/lifecycle/LiveData;->i(Landroidx/lifecycle/u;)V

    return-void
.end method

.method public b(Ljava/lang/Object;)V
    .registers 3

    check-cast p1, Landroidx/lifecycle/LiveData;

    .line 1
    iget-object v0, p0, Landroidx/databinding/ViewDataBinding$f;->s:Ljava/lang/ref/WeakReference;

    if-nez v0, :cond_8

    const/4 v0, 0x0

    goto :goto_e

    :cond_8
    invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroidx/lifecycle/n;

    :goto_e
    if-eqz v0, :cond_13

    .line 2
    invoke-virtual {p1, v0, p0}, Landroidx/lifecycle/LiveData;->e(Landroidx/lifecycle/n;Landroidx/lifecycle/u;)V

    :cond_13
    return-void
.end method

.method public c(Landroidx/lifecycle/n;)V
    .registers 4

    .line 1
    iget-object v0, p0, Landroidx/databinding/ViewDataBinding$f;->s:Ljava/lang/ref/WeakReference;

    if-nez v0, :cond_6

    const/4 v0, 0x0

    goto :goto_c

    :cond_6
    invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroidx/lifecycle/n;

    .line 2
    :goto_c
    iget-object v1, p0, Landroidx/databinding/ViewDataBinding$f;->r:Landroidx/databinding/o;

    .line 3
    iget-object v1, v1, Landroidx/databinding/o;->c:Ljava/lang/Object;

    .line 4
    check-cast v1, Landroidx/lifecycle/LiveData;

    if-eqz v1, :cond_1e

    if-eqz v0, :cond_19

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

    :cond_19
    if-eqz p1, :cond_1e

    invoke-virtual {v1, p1, p0}, Landroidx/lifecycle/LiveData;->e(Landroidx/lifecycle/n;Landroidx/lifecycle/u;)V

    :cond_1e
    if-eqz p1, :cond_27

    new-instance v0, Ljava/lang/ref/WeakReference;

    invoke-direct {v0, p1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V

    iput-object v0, p0, Landroidx/databinding/ViewDataBinding$f;->s:Ljava/lang/ref/WeakReference;

    :cond_27
    return-void
.end method

.method public d(Ljava/lang/Object;)V
    .registers 6

    iget-object p1, p0, Landroidx/databinding/ViewDataBinding$f;->r:Landroidx/databinding/o;

    .line 1
    invoke-virtual {p1}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroidx/databinding/ViewDataBinding;

    if-nez v0, :cond_d

    invoke-virtual {p1}, Landroidx/databinding/o;->a()Z

    :cond_d
    if-eqz v0, :cond_23

    .line 2
    iget-object p1, p0, Landroidx/databinding/ViewDataBinding$f;->r:Landroidx/databinding/o;

    iget v1, p1, Landroidx/databinding/o;->b:I

    .line 3
    iget-object p1, p1, Landroidx/databinding/o;->c:Ljava/lang/Object;

    const/4 v2, 0x0

    .line 4
    iget-boolean v3, v0, Landroidx/databinding/ViewDataBinding;->E:Z

    if-nez v3, :cond_23

    invoke-virtual {v0, v1, p1, v2}, Landroidx/databinding/ViewDataBinding;->l0(ILjava/lang/Object;I)Z

    move-result p1

    if-eqz p1, :cond_23

    invoke-virtual {v0}, Landroidx/databinding/ViewDataBinding;->o0()V

    :cond_23
    return-void
.end method
