package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.n50, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C1927n50 extends Sb0 implements SC {
    public C2212q50 p;
    public A10 q;
    public long r;
    public int s;
    public /* synthetic */ Object t;
    public final /* synthetic */ C2212q50 u;
    public final /* synthetic */ A10 v;
    public final /* synthetic */ long w;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public C1927n50(C2212q50 c2212q50, A10 a10, long j, InterfaceC0220Im interfaceC0220Im) {
        super(2, interfaceC0220Im);
        this.u = c2212q50;
        this.v = a10;
        this.w = j;
    }

    @Override // o.SC
    public final Object f(Object obj, Object obj2) {
        return ((C1927n50) l((C2022o50) obj, (InterfaceC0220Im) obj2)).n(Oh0.a);
    }

    @Override // o.AbstractC0728ad
    public final InterfaceC0220Im l(Object obj, InterfaceC0220Im interfaceC0220Im) {
        C1927n50 c1927n50 = new C1927n50(this.u, this.v, this.w, interfaceC0220Im);
        c1927n50.t = obj;
        return c1927n50;
    }

    @Override // o.AbstractC0728ad
    public final Object n(Object obj) {
        C2212q50 c2212q50;
        A10 a10;
        long j;
        C2212q50 c2212q502;
        int i = this.s;
        OU ou = OU.m;
        if (i == 0) {
            IJ.H(obj);
            C2022o50 c2022o50 = (C2022o50) this.t;
            c2212q50 = this.u;
            C1832m50 c1832m50 = new C1832m50(c2212q50, c2022o50);
            C3031ym0 c3031ym0 = c2212q50.c;
            A10 a102 = this.v;
            long j2 = a102.l;
            OU ou2 = c2212q50.d;
            long j3 = this.w;
            float fD = c2212q50.d(ou2 == ou ? C1791lj0.b(j3) : C1791lj0.c(j3));
            this.t = c2212q50;
            this.p = c2212q50;
            this.q = a102;
            this.r = j2;
            this.s = 1;
            c3031ym0.getClass();
            obj = AbstractC1692kh0.T((C0758as) c3031ym0.n, new C0586Wp(fD, c3031ym0, c1832m50, null), this);
            EnumC0091Dn enumC0091Dn = EnumC0091Dn.l;
            if (obj == enumC0091Dn) {
                return enumC0091Dn;
            }
            a10 = a102;
            j = j2;
            c2212q502 = c2212q50;
        } else {
            if (i != 1) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            j = this.r;
            a10 = this.q;
            c2212q50 = this.p;
            c2212q502 = (C2212q50) this.t;
            IJ.H(obj);
        }
        float fD2 = c2212q502.d(((Number) obj).floatValue());
        a10.l = c2212q50.d == ou ? C1791lj0.a(j, fD2, 0.0f, 2) : C1791lj0.a(j, 0.0f, fD2, 1);
        return Oh0.a;
    }
}
