package V;

import M2.D0;
import android.os.Build;
import androidx.compose.runtime.MutableState;
import i0.C2252p;
import v.C2989L0;
import v.C3052u0;
import v.y0;
import w4.C3137A;

/* JADX INFO: loaded from: classes.dex */
public final /* synthetic */ class l0 implements J4.c {

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

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final /* synthetic */ h1.c f7122b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final /* synthetic */ MutableState f7123c;

    public /* synthetic */ l0(h1.c cVar, MutableState mutableState, int i6) {
        this.f7121a = i6;
        this.f7122b = cVar;
        this.f7123c = mutableState;
    }

    @Override // J4.c
    public final Object invoke(Object obj) {
        switch (this.f7121a) {
            case 0:
                C2252p c2252p = C2252p.f18820a;
                D0 d02 = new D0((J4.a) obj, 1);
                l0 l0Var = new l0(this.f7122b, this.f7123c, 1);
                if (y0.a()) {
                    return y0.a() ? new C3052u0(d02, l0Var, Build.VERSION.SDK_INT == 28 ? C2989L0.f24744b : C2989L0.f24745c) : c2252p;
                }
                throw new UnsupportedOperationException("Magnifier is only supported on API level 28 and higher.");
            default:
                h1.h hVar = (h1.h) obj;
                float fB = h1.h.b(hVar.f16620a);
                h1.c cVar = this.f7122b;
                this.f7123c.setValue(new h1.l((((long) cVar.g0(fB)) << 32) | (((long) cVar.g0(h1.h.a(hVar.f16620a))) & 4294967295L)));
                return C3137A.f25453a;
        }
    }
}
