package o;

import androidx.compose.ui.input.pointer.PointerInputEventHandler;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.k4, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C1639k4 implements PointerInputEventHandler {
    public final /* synthetic */ int a;
    public final /* synthetic */ Object b;

    public /* synthetic */ C1639k4(int i, Object obj) {
        this.a = i;
        this.b = obj;
    }

    @Override // androidx.compose.ui.input.pointer.PointerInputEventHandler
    public final Object invoke(MX mx, InterfaceC0220Im interfaceC0220Im) {
        switch (this.a) {
            case 0:
                Object objD = IJ.d(mx, new T20((C1734l4) this.b, null, 2), interfaceC0220Im);
                return objD == EnumC0091Dn.l ? objD : Oh0.a;
            case 1:
                C1981nj0 c1981nj0 = new C1981nj0();
                A10 a10 = new A10();
                C1453i50 c1453i50 = (C1453i50) this.b;
                a10.l = AbstractC2539te.R(c1453i50).b(0L);
                int i = 1;
                Object objR = C80.r(new C0760at(mx, c1453i50, new C0641Ys(0, c1453i50, c1981nj0), new C1358h6(c1981nj0, mx, c1453i50, 5), new C0667Zs(c1453i50, 0), new C0667Zs(c1453i50, i), new C0583Wm(c1453i50, a10, c1981nj0, i), null), interfaceC0220Im);
                return objR == EnumC0091Dn.l ? objR : Oh0.a;
            case 2:
                Object objH0 = ((Wb0) mx).H0(new T20((OC) this.b, null, 1), interfaceC0220Im);
                return objH0 == EnumC0091Dn.l ? objH0 : Oh0.a;
            case 3:
                Object objD2 = IJ.d(mx, new F50((C1775lb0) this.b, null), interfaceC0220Im);
                return objD2 == EnumC0091Dn.l ? objD2 : Oh0.a;
            case 4:
                Object objD3 = IJ.d(mx, new T20(new C2200q(1, (C1874md0) this.b, C1874md0.class, "tryShowContextMenu", "tryShowContextMenu-k-4lQ0M(J)V", 0, 0, 2), null, 0), interfaceC0220Im);
                Oh0 oh0 = Oh0.a;
                EnumC0091Dn enumC0091Dn = EnumC0091Dn.l;
                if (objD3 != enumC0091Dn) {
                    objD3 = oh0;
                }
                return objD3 == enumC0091Dn ? objD3 : oh0;
            default:
                Object objR2 = C80.r(new C0547Vc(mx, (Bd0) this.b, null, 4), interfaceC0220Im);
                Oh0 oh02 = Oh0.a;
                EnumC0091Dn enumC0091Dn2 = EnumC0091Dn.l;
                if (objR2 != enumC0091Dn2) {
                    objR2 = oh02;
                }
                return objR2 == enumC0091Dn2 ? objR2 : oh02;
        }
    }
}
