package o;

import androidx.activity.ComponentActivity;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.Dk, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0088Dk extends AbstractC3054z {
    public final MV t;
    public boolean u;

    public C0088Dk(ComponentActivity componentActivity) {
        super(componentActivity);
        this.t = AbstractC0752ap.X(null);
    }

    @Override // o.AbstractC3054z
    public final void a(int i, C0321Mk c0321Mk) {
        c0321Mk.X(420213850);
        int i2 = (c0321Mk.h(this) ? 4 : 2) | i;
        if (c0321Mk.N(i2 & 1, (i2 & 3) != 2)) {
            SC sc = (SC) this.t.getValue();
            if (sc == null) {
                c0321Mk.V(-1238798753);
            } else {
                c0321Mk.V(98586082);
                sc.f(c0321Mk, 0);
            }
            c0321Mk.q(false);
        } else {
            c0321Mk.Q();
        }
        L00 l00S = c0321Mk.s();
        if (l00S != null) {
            l00S.d = new C2959y(this, i, 3);
        }
    }

    @Override // android.view.ViewGroup, android.view.View
    public CharSequence getAccessibilityClassName() {
        return C0088Dk.class.getName();
    }

    @Override // o.AbstractC3054z
    public boolean getShouldCreateCompositionOnAttachedToWindow() {
        return this.u;
    }

    public final void setContent(SC sc) {
        this.u = true;
        this.t.setValue(sc);
        if (isAttachedToWindow()) {
            if (this.f817o == null && !isAttachedToWindow()) {
                throw new IllegalStateException("createComposition requires either a parent reference or the View to be attachedto a window. Attach the View or call setParentCompositionReference.");
            }
            c();
        }
    }

    public static /* synthetic */ void getShouldCreateCompositionOnAttachedToWindow$annotations() {
    }
}
