package o;

import android.os.Build;
import androidx.compose.foundation.MagnifierElement;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.te0, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final /* synthetic */ class C2540te0 implements OC {
    public final /* synthetic */ int l;
    public final /* synthetic */ InterfaceC2281qr m;
    public final /* synthetic */ InterfaceC1191fR n;

    public /* synthetic */ C2540te0(InterfaceC2281qr interfaceC2281qr, InterfaceC1191fR interfaceC1191fR, int i) {
        this.l = i;
        this.m = interfaceC2281qr;
        this.n = interfaceC1191fR;
    }

    @Override // o.OC
    public final Object g(Object obj) {
        switch (this.l) {
            case 0:
                S1 s1 = new S1(28, (NC) obj);
                C2540te0 c2540te0 = new C2540te0(this.m, this.n, 1);
                if (AbstractC1664kN.a()) {
                    return AbstractC1664kN.a() ? new MagnifierElement(s1, c2540te0, Build.VERSION.SDK_INT == 28 ? C1293gX.b : C1293gX.c) : JP.a;
                }
                throw new UnsupportedOperationException("Magnifier is only supported on API level 28 and higher.");
            default:
                float fB = C0226Is.b(((C0226Is) obj).a);
                InterfaceC2281qr interfaceC2281qr = this.m;
                this.n.setValue(new C1470iI((interfaceC2281qr.N(fB) << 32) | (interfaceC2281qr.N(C0226Is.a(r7.a)) & 4294967295L)));
                return Oh0.a;
        }
    }
}
