package androidx.lifecycle;

/* JADX INFO: loaded from: classes.dex */
public final class m {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final l f2668a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final Lifecycle$State f2669b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final e f2670c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final androidx.core.view.x f2671d;

    public m(l lVar, Lifecycle$State lifecycle$State, e eVar, kotlinx.coroutines.y0 y0Var) {
        nb.g.i(lVar, "lifecycle");
        nb.g.i(lifecycle$State, "minState");
        nb.g.i(eVar, "dispatchQueue");
        this.f2668a = lVar;
        this.f2669b = lifecycle$State;
        this.f2670c = eVar;
        androidx.core.view.x xVar = new androidx.core.view.x(this, y0Var, 1);
        this.f2671d = xVar;
        if (((r) lVar).f2692c != Lifecycle$State.f2631a) {
            lVar.a(xVar);
        } else {
            y0Var.e(null);
            a();
        }
    }

    public final void a() {
        this.f2668a.b(this.f2671d);
        e eVar = this.f2670c;
        eVar.f2647b = true;
        eVar.a();
    }
}
