package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.xk, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C2931xk extends Sb0 implements SC {
    public int p;
    public /* synthetic */ float q;
    public final /* synthetic */ ScrollCaptureCallbackC3026yk r;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public C2931xk(ScrollCaptureCallbackC3026yk scrollCaptureCallbackC3026yk, InterfaceC0220Im interfaceC0220Im) {
        super(2, interfaceC0220Im);
        this.r = scrollCaptureCallbackC3026yk;
    }

    @Override // o.SC
    public final Object f(Object obj, Object obj2) {
        return ((C2931xk) l(Float.valueOf(((Number) obj).floatValue()), (InterfaceC0220Im) obj2)).n(Oh0.a);
    }

    @Override // o.AbstractC0728ad
    public final InterfaceC0220Im l(Object obj, InterfaceC0220Im interfaceC0220Im) {
        C2931xk c2931xk = new C2931xk(this.r, interfaceC0220Im);
        c2931xk.q = ((Number) obj).floatValue();
        return c2931xk;
    }

    @Override // o.AbstractC0728ad
    public final Object n(Object obj) {
        int i = this.p;
        if (i == 0) {
            IJ.H(obj);
            float f = this.q;
            ScrollCaptureCallbackC3026yk scrollCaptureCallbackC3026yk = this.r;
            Object objG = scrollCaptureCallbackC3026yk.a.d.l.g(M50.e);
            if (objG == null) {
                objG = null;
            }
            SC sc = (SC) objG;
            if (sc == null) {
                throw AbstractC2462sn.q("Required value was null.");
            }
            C1765lT c1765lT = new C1765lT((Float.floatToRawIntBits(0.0f) << 32) | (Float.floatToRawIntBits(f) & 4294967295L));
            this.p = 1;
            obj = sc.f(c1765lT, this);
            EnumC0091Dn enumC0091Dn = EnumC0091Dn.l;
            if (obj == enumC0091Dn) {
                return enumC0091Dn;
            }
        } else {
            if (i != 1) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            IJ.H(obj);
        }
        return new Float(Float.intBitsToFloat((int) (((C1765lT) obj).a & 4294967295L)));
    }
}
