.class public Landroidx/lifecycle/o;
.super Landroidx/lifecycle/i;
.source ""


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Landroidx/lifecycle/o$a;
    }
.end annotation


# instance fields
.field public a:Lm/a;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lm/a<",
            "Landroidx/lifecycle/m;",
            "Landroidx/lifecycle/o$a;",
            ">;"
        }
    .end annotation
.end field

.field public b:Landroidx/lifecycle/i$c;

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

.field public d:I

.field public e:Z

.field public f:Z

.field public g:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList<",
            "Landroidx/lifecycle/i$c;",
            ">;"
        }
    .end annotation
.end field

.field public final h:Z


# direct methods
.method public constructor <init>(Landroidx/lifecycle/n;)V
    .registers 3

    .line 1
    invoke-direct {p0}, Landroidx/lifecycle/i;-><init>()V

    new-instance v0, Lm/a;

    invoke-direct {v0}, Lm/a;-><init>()V

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

    const/4 v0, 0x0

    iput v0, p0, Landroidx/lifecycle/o;->d:I

    iput-boolean v0, p0, Landroidx/lifecycle/o;->e:Z

    iput-boolean v0, p0, Landroidx/lifecycle/o;->f:Z

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Landroidx/lifecycle/o;->g:Ljava/util/ArrayList;

    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/lifecycle/o;->c:Ljava/lang/ref/WeakReference;

    sget-object p1, Landroidx/lifecycle/i$c;->s:Landroidx/lifecycle/i$c;

    iput-object p1, p0, Landroidx/lifecycle/o;->b:Landroidx/lifecycle/i$c;

    const/4 p1, 0x1

    iput-boolean p1, p0, Landroidx/lifecycle/o;->h:Z

    return-void
.end method

.method public static f(Landroidx/lifecycle/i$c;Landroidx/lifecycle/i$c;)Landroidx/lifecycle/i$c;
    .registers 3

    if-eqz p1, :cond_9

    invoke-virtual {p1, p0}, Ljava/lang/Enum;->compareTo(Ljava/lang/Enum;)I

    move-result v0

    if-gez v0, :cond_9

    move-object p0, p1

    :cond_9
    return-object p0
.end method


# virtual methods
.method public a(Landroidx/lifecycle/m;)V
    .registers 8

    const-string v0, "addObserver"

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

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

    sget-object v1, Landroidx/lifecycle/i$c;->r:Landroidx/lifecycle/i$c;

    if-ne v0, v1, :cond_c

    goto :goto_e

    :cond_c
    sget-object v1, Landroidx/lifecycle/i$c;->s:Landroidx/lifecycle/i$c;

    :goto_e
    new-instance v0, Landroidx/lifecycle/o$a;

    invoke-direct {v0, p1, v1}, Landroidx/lifecycle/o$a;-><init>(Landroidx/lifecycle/m;Landroidx/lifecycle/i$c;)V

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

    invoke-virtual {v1, p1, v0}, Lm/a;->g(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Landroidx/lifecycle/o$a;

    if-eqz v1, :cond_1e

    return-void

    :cond_1e
    iget-object v1, p0, Landroidx/lifecycle/o;->c:Ljava/lang/ref/WeakReference;

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

    move-result-object v1

    check-cast v1, Landroidx/lifecycle/n;

    if-nez v1, :cond_29

    return-void

    :cond_29
    iget v2, p0, Landroidx/lifecycle/o;->d:I

    const/4 v3, 0x1

    if-nez v2, :cond_35

    iget-boolean v2, p0, Landroidx/lifecycle/o;->e:Z

    if-eqz v2, :cond_33

    goto :goto_35

    :cond_33
    const/4 v2, 0x0

    goto :goto_36

    :cond_35
    :goto_35
    move v2, v3

    :goto_36
    invoke-virtual {p0, p1}, Landroidx/lifecycle/o;->c(Landroidx/lifecycle/m;)Landroidx/lifecycle/i$c;

    move-result-object v4

    iget v5, p0, Landroidx/lifecycle/o;->d:I

    add-int/2addr v5, v3

    iput v5, p0, Landroidx/lifecycle/o;->d:I

    :goto_3f
    iget-object v5, v0, Landroidx/lifecycle/o$a;->a:Landroidx/lifecycle/i$c;

    invoke-virtual {v5, v4}, Ljava/lang/Enum;->compareTo(Ljava/lang/Enum;)I

    move-result v4

    if-gez v4, :cond_80

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

    .line 1
    iget-object v4, v4, Lm/a;->v:Ljava/util/HashMap;

    invoke-virtual {v4, p1}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_80

    .line 2
    iget-object v4, v0, Landroidx/lifecycle/o$a;->a:Landroidx/lifecycle/i$c;

    .line 3
    iget-object v5, p0, Landroidx/lifecycle/o;->g:Ljava/util/ArrayList;

    invoke-virtual {v5, v4}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 4
    iget-object v4, v0, Landroidx/lifecycle/o$a;->a:Landroidx/lifecycle/i$c;

    invoke-static {v4}, Landroidx/lifecycle/i$b;->d(Landroidx/lifecycle/i$c;)Landroidx/lifecycle/i$b;

    move-result-object v4

    if-eqz v4, :cond_6b

    invoke-virtual {v0, v1, v4}, Landroidx/lifecycle/o$a;->a(Landroidx/lifecycle/n;Landroidx/lifecycle/i$b;)V

    invoke-virtual {p0}, Landroidx/lifecycle/o;->h()V

    invoke-virtual {p0, p1}, Landroidx/lifecycle/o;->c(Landroidx/lifecycle/m;)Landroidx/lifecycle/i$c;

    move-result-object v4

    goto :goto_3f

    :cond_6b
    new-instance p1, Ljava/lang/IllegalStateException;

    const-string v1, "no event up from "

    invoke-static {v1}, Landroidx/activity/c;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v0, v0, Landroidx/lifecycle/o$a;->a:Landroidx/lifecycle/i$c;

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw p1

    :cond_80
    if-nez v2, :cond_85

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

    :cond_85
    iget p1, p0, Landroidx/lifecycle/o;->d:I

    sub-int/2addr p1, v3

    iput p1, p0, Landroidx/lifecycle/o;->d:I

    return-void
.end method

.method public b(Landroidx/lifecycle/m;)V
    .registers 3

    const-string v0, "removeObserver"

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

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

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

    return-void
.end method

.method public final c(Landroidx/lifecycle/m;)Landroidx/lifecycle/i$c;
    .registers 5

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

    .line 1
    iget-object v1, v0, Lm/a;->v:Ljava/util/HashMap;

    invoke-virtual {v1, p1}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v1

    const/4 v2, 0x0

    if-eqz v1, :cond_16

    .line 2
    iget-object v0, v0, Lm/a;->v:Ljava/util/HashMap;

    invoke-virtual {v0, p1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lm/b$c;

    iget-object p1, p1, Lm/b$c;->u:Lm/b$c;

    goto :goto_17

    :cond_16
    move-object p1, v2

    :goto_17
    if-eqz p1, :cond_20

    .line 3
    iget-object p1, p1, Lm/b$c;->s:Ljava/lang/Object;

    .line 4
    check-cast p1, Landroidx/lifecycle/o$a;

    iget-object p1, p1, Landroidx/lifecycle/o$a;->a:Landroidx/lifecycle/i$c;

    goto :goto_21

    :cond_20
    move-object p1, v2

    :goto_21
    iget-object v0, p0, Landroidx/lifecycle/o;->g:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->isEmpty()Z

    move-result v0

    if-nez v0, :cond_38

    iget-object v0, p0, Landroidx/lifecycle/o;->g:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v1

    add-int/lit8 v1, v1, -0x1

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    move-object v2, v0

    check-cast v2, Landroidx/lifecycle/i$c;

    :cond_38
    iget-object v0, p0, Landroidx/lifecycle/o;->b:Landroidx/lifecycle/i$c;

    invoke-static {v0, p1}, Landroidx/lifecycle/o;->f(Landroidx/lifecycle/i$c;Landroidx/lifecycle/i$c;)Landroidx/lifecycle/i$c;

    move-result-object p1

    invoke-static {p1, v2}, Landroidx/lifecycle/o;->f(Landroidx/lifecycle/i$c;Landroidx/lifecycle/i$c;)Landroidx/lifecycle/i$c;

    move-result-object p1

    return-object p1
.end method

.method public final d(Ljava/lang/String;)V
    .registers 5
    .annotation build Landroid/annotation/SuppressLint;
        value = {
            "RestrictedApi"
        }
    .end annotation

    iget-boolean v0, p0, Landroidx/lifecycle/o;->h:Z

    if-eqz v0, :cond_1d

    invoke-static {}, Ll/a;->e()Ll/a;

    move-result-object v0

    invoke-virtual {v0}, Ll/a;->b()Z

    move-result v0

    if-eqz v0, :cond_f

    goto :goto_1d

    :cond_f
    new-instance v0, Ljava/lang/IllegalStateException;

    const-string v1, "Method "

    const-string v2, " must be called on the main thread"

    invoke-static {v1, p1, v2}, Le/b;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-direct {v0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_1d
    :goto_1d
    return-void
.end method

.method public e(Landroidx/lifecycle/i$b;)V
    .registers 3

    const-string v0, "handleLifecycleEvent"

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

    invoke-virtual {p1}, Landroidx/lifecycle/i$b;->b()Landroidx/lifecycle/i$c;

    move-result-object p1

    invoke-virtual {p0, p1}, Landroidx/lifecycle/o;->g(Landroidx/lifecycle/i$c;)V

    return-void
.end method

.method public final g(Landroidx/lifecycle/i$c;)V
    .registers 3

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

    if-ne v0, p1, :cond_5

    return-void

    :cond_5
    iput-object p1, p0, Landroidx/lifecycle/o;->b:Landroidx/lifecycle/i$c;

    iget-boolean p1, p0, Landroidx/lifecycle/o;->e:Z

    const/4 v0, 0x1

    if-nez p1, :cond_1a

    iget p1, p0, Landroidx/lifecycle/o;->d:I

    if-eqz p1, :cond_11

    goto :goto_1a

    :cond_11
    iput-boolean v0, p0, Landroidx/lifecycle/o;->e:Z

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

    const/4 p1, 0x0

    iput-boolean p1, p0, Landroidx/lifecycle/o;->e:Z

    return-void

    :cond_1a
    :goto_1a
    iput-boolean v0, p0, Landroidx/lifecycle/o;->f:Z

    return-void
.end method

.method public final h()V
    .registers 3

    iget-object v0, p0, Landroidx/lifecycle/o;->g:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v1

    add-int/lit8 v1, v1, -0x1

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->remove(I)Ljava/lang/Object;

    return-void
.end method

.method public final i()V
    .registers 8

    iget-object v0, p0, Landroidx/lifecycle/o;->c:Ljava/lang/ref/WeakReference;

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

    move-result-object v0

    check-cast v0, Landroidx/lifecycle/n;

    if-eqz v0, :cond_13f

    .line 1
    :cond_a
    iget-object v1, p0, Landroidx/lifecycle/o;->a:Lm/a;

    .line 2
    iget v2, v1, Lm/b;->u:I

    const/4 v3, 0x1

    const/4 v4, 0x0

    if-nez v2, :cond_13

    goto :goto_2b

    .line 3
    :cond_13
    iget-object v2, v1, Lm/b;->r:Lm/b$c;

    .line 4
    iget-object v2, v2, Lm/b$c;->s:Ljava/lang/Object;

    .line 5
    check-cast v2, Landroidx/lifecycle/o$a;

    iget-object v2, v2, Landroidx/lifecycle/o$a;->a:Landroidx/lifecycle/i$c;

    .line 6
    iget-object v5, v1, Lm/b;->s:Lm/b$c;

    .line 7
    iget-object v5, v5, Lm/b$c;->s:Ljava/lang/Object;

    .line 8
    check-cast v5, Landroidx/lifecycle/o$a;

    iget-object v5, v5, Landroidx/lifecycle/o$a;->a:Landroidx/lifecycle/i$c;

    if-ne v2, v5, :cond_2a

    iget-object v2, p0, Landroidx/lifecycle/o;->b:Landroidx/lifecycle/i$c;

    if-ne v2, v5, :cond_2a

    goto :goto_2b

    :cond_2a
    move v3, v4

    .line 9
    :goto_2b
    iput-boolean v4, p0, Landroidx/lifecycle/o;->f:Z

    if-nez v3, :cond_13e

    iget-object v2, p0, Landroidx/lifecycle/o;->b:Landroidx/lifecycle/i$c;

    .line 10
    iget-object v1, v1, Lm/b;->r:Lm/b$c;

    .line 11
    iget-object v1, v1, Lm/b$c;->s:Ljava/lang/Object;

    .line 12
    check-cast v1, Landroidx/lifecycle/o$a;

    iget-object v1, v1, Landroidx/lifecycle/o$a;->a:Landroidx/lifecycle/i$c;

    invoke-virtual {v2, v1}, Ljava/lang/Enum;->compareTo(Ljava/lang/Enum;)I

    move-result v1

    if-gez v1, :cond_c3

    .line 13
    iget-object v1, p0, Landroidx/lifecycle/o;->a:Lm/a;

    .line 14
    new-instance v2, Lm/b$b;

    iget-object v3, v1, Lm/b;->s:Lm/b$c;

    iget-object v4, v1, Lm/b;->r:Lm/b$c;

    invoke-direct {v2, v3, v4}, Lm/b$b;-><init>(Lm/b$c;Lm/b$c;)V

    iget-object v1, v1, Lm/b;->t:Ljava/util/WeakHashMap;

    sget-object v3, Ljava/lang/Boolean;->FALSE:Ljava/lang/Boolean;

    invoke-virtual {v1, v2, v3}, Ljava/util/WeakHashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 15
    :cond_51
    invoke-virtual {v2}, Lm/b$e;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_c3

    iget-boolean v1, p0, Landroidx/lifecycle/o;->f:Z

    if-nez v1, :cond_c3

    invoke-virtual {v2}, Lm/b$e;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/util/Map$Entry;

    invoke-interface {v1}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Landroidx/lifecycle/o$a;

    :goto_67
    iget-object v4, v3, Landroidx/lifecycle/o$a;->a:Landroidx/lifecycle/i$c;

    iget-object v5, p0, Landroidx/lifecycle/o;->b:Landroidx/lifecycle/i$c;

    invoke-virtual {v4, v5}, Ljava/lang/Enum;->compareTo(Ljava/lang/Enum;)I

    move-result v4

    if-lez v4, :cond_51

    iget-boolean v4, p0, Landroidx/lifecycle/o;->f:Z

    if-nez v4, :cond_51

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

    invoke-interface {v1}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Landroidx/lifecycle/m;

    invoke-virtual {v4, v5}, Lm/a;->contains(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_51

    iget-object v4, v3, Landroidx/lifecycle/o$a;->a:Landroidx/lifecycle/i$c;

    .line 16
    invoke-virtual {v4}, Ljava/lang/Enum;->ordinal()I

    move-result v4

    const/4 v5, 0x2

    if-eq v4, v5, :cond_9a

    const/4 v5, 0x3

    if-eq v4, v5, :cond_97

    const/4 v5, 0x4

    if-eq v4, v5, :cond_94

    const/4 v4, 0x0

    goto :goto_9c

    :cond_94
    sget-object v4, Landroidx/lifecycle/i$b;->ON_PAUSE:Landroidx/lifecycle/i$b;

    goto :goto_9c

    :cond_97
    sget-object v4, Landroidx/lifecycle/i$b;->ON_STOP:Landroidx/lifecycle/i$b;

    goto :goto_9c

    :cond_9a
    sget-object v4, Landroidx/lifecycle/i$b;->ON_DESTROY:Landroidx/lifecycle/i$b;

    :goto_9c
    if-eqz v4, :cond_ae

    .line 17
    invoke-virtual {v4}, Landroidx/lifecycle/i$b;->b()Landroidx/lifecycle/i$c;

    move-result-object v5

    .line 18
    iget-object v6, p0, Landroidx/lifecycle/o;->g:Ljava/util/ArrayList;

    invoke-virtual {v6, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 19
    invoke-virtual {v3, v0, v4}, Landroidx/lifecycle/o$a;->a(Landroidx/lifecycle/n;Landroidx/lifecycle/i$b;)V

    invoke-virtual {p0}, Landroidx/lifecycle/o;->h()V

    goto :goto_67

    :cond_ae
    new-instance v0, Ljava/lang/IllegalStateException;

    const-string v1, "no event down from "

    invoke-static {v1}, Landroidx/activity/c;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, v3, Landroidx/lifecycle/o$a;->a:Landroidx/lifecycle/i$c;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0

    .line 20
    :cond_c3
    iget-object v1, p0, Landroidx/lifecycle/o;->a:Lm/a;

    .line 21
    iget-object v1, v1, Lm/b;->s:Lm/b$c;

    .line 22
    iget-boolean v2, p0, Landroidx/lifecycle/o;->f:Z

    if-nez v2, :cond_a

    if-eqz v1, :cond_a

    iget-object v2, p0, Landroidx/lifecycle/o;->b:Landroidx/lifecycle/i$c;

    .line 23
    iget-object v1, v1, Lm/b$c;->s:Ljava/lang/Object;

    .line 24
    check-cast v1, Landroidx/lifecycle/o$a;

    iget-object v1, v1, Landroidx/lifecycle/o$a;->a:Landroidx/lifecycle/i$c;

    invoke-virtual {v2, v1}, Ljava/lang/Enum;->compareTo(Ljava/lang/Enum;)I

    move-result v1

    if-lez v1, :cond_a

    .line 25
    iget-object v1, p0, Landroidx/lifecycle/o;->a:Lm/a;

    invoke-virtual {v1}, Lm/b;->c()Lm/b$d;

    move-result-object v1

    :cond_e1
    invoke-virtual {v1}, Lm/b$d;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_a

    iget-boolean v2, p0, Landroidx/lifecycle/o;->f:Z

    if-nez v2, :cond_a

    invoke-virtual {v1}, Lm/b$d;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/Map$Entry;

    invoke-interface {v2}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Landroidx/lifecycle/o$a;

    :goto_f7
    iget-object v4, v3, Landroidx/lifecycle/o$a;->a:Landroidx/lifecycle/i$c;

    iget-object v5, p0, Landroidx/lifecycle/o;->b:Landroidx/lifecycle/i$c;

    invoke-virtual {v4, v5}, Ljava/lang/Enum;->compareTo(Ljava/lang/Enum;)I

    move-result v4

    if-gez v4, :cond_e1

    iget-boolean v4, p0, Landroidx/lifecycle/o;->f:Z

    if-nez v4, :cond_e1

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

    invoke-interface {v2}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Landroidx/lifecycle/m;

    invoke-virtual {v4, v5}, Lm/a;->contains(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_e1

    iget-object v4, v3, Landroidx/lifecycle/o$a;->a:Landroidx/lifecycle/i$c;

    .line 26
    iget-object v5, p0, Landroidx/lifecycle/o;->g:Ljava/util/ArrayList;

    invoke-virtual {v5, v4}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 27
    iget-object v4, v3, Landroidx/lifecycle/o$a;->a:Landroidx/lifecycle/i$c;

    invoke-static {v4}, Landroidx/lifecycle/i$b;->d(Landroidx/lifecycle/i$c;)Landroidx/lifecycle/i$b;

    move-result-object v4

    if-eqz v4, :cond_129

    invoke-virtual {v3, v0, v4}, Landroidx/lifecycle/o$a;->a(Landroidx/lifecycle/n;Landroidx/lifecycle/i$b;)V

    invoke-virtual {p0}, Landroidx/lifecycle/o;->h()V

    goto :goto_f7

    :cond_129
    new-instance v0, Ljava/lang/IllegalStateException;

    const-string v1, "no event up from "

    invoke-static {v1}, Landroidx/activity/c;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, v3, Landroidx/lifecycle/o$a;->a:Landroidx/lifecycle/i$c;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_13e
    return-void

    .line 28
    :cond_13f
    new-instance v0, Ljava/lang/IllegalStateException;

    const-string v1, "LifecycleOwner of this LifecycleRegistry is alreadygarbage collected. It is too late to change lifecycle state."

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0
.end method
