package G0;

import androidx.compose.runtime.CompositionContext;
import w4.C3137A;

/* JADX INFO: loaded from: classes.dex */
public final class A0 extends kotlin.jvm.internal.p implements J4.e {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final /* synthetic */ int f1843a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final /* synthetic */ B0 f1844b;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public /* synthetic */ A0(B0 b02, int i6) {
        super(2);
        this.f1843a = i6;
        this.f1844b = b02;
    }

    @Override // J4.e
    public final Object invoke(Object obj, Object obj2) {
        switch (this.f1843a) {
            case 0:
                this.f1844b.a().f1937b = (CompositionContext) obj2;
                break;
            case 1:
                W wA = this.f1844b.a();
                ((I0.H) obj).c0(new Q(wA, (J4.e) obj2, wA.f1950s));
                break;
            default:
                I0.H h5 = (I0.H) obj;
                W w6 = h5.f2164L;
                B0 b02 = this.f1844b;
                if (w6 == null) {
                    w6 = new W(h5, b02.f1847a);
                    h5.f2164L = w6;
                }
                b02.f1848b = w6;
                b02.a().f();
                W wA2 = b02.a();
                E0 e0 = wA2.f1938c;
                E0 e02 = b02.f1847a;
                if (e0 != e02) {
                    wA2.f1938c = e02;
                    wA2.g(false);
                    I0.H.V(wA2.f1936a, false, 7);
                }
                break;
        }
        return C3137A.f25453a;
    }
}
