package q;

import androidx.compose.runtime.MonotonicFrameClockKt;
import h3.C2177q2;
import m3.AbstractC2467b;
import w4.C3137A;

/* JADX INFO: loaded from: classes.dex */
public final class z0 extends C4.j implements J4.e {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public float f23490a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public int f23491b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public /* synthetic */ Object f23492c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final /* synthetic */ A0 f23493d;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public z0(A0 a02, A4.d dVar) {
        super(2, dVar);
        this.f23493d = a02;
    }

    @Override // C4.a
    public final A4.d create(Object obj, A4.d dVar) {
        z0 z0Var = new z0(this.f23493d, dVar);
        z0Var.f23492c = obj;
        return z0Var;
    }

    @Override // J4.e
    public final Object invoke(Object obj, Object obj2) {
        return ((z0) create((V4.C) obj, (A4.d) obj2)).invokeSuspend(C3137A.f25453a);
    }

    @Override // C4.a
    public final Object invokeSuspend(Object obj) {
        float fL;
        V4.C c6;
        B4.a aVar = B4.a.f492a;
        int i6 = this.f23491b;
        if (i6 == 0) {
            AbstractC2467b.l(obj);
            V4.C c7 = (V4.C) this.f23492c;
            fL = AbstractC2771e.l(c7.getCoroutineContext());
            c6 = c7;
        } else {
            if (i6 != 1) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            fL = this.f23490a;
            c6 = (V4.C) this.f23492c;
            AbstractC2467b.l(obj);
        }
        while (V4.E.v(c6)) {
            C2177q2 c2177q2 = new C2177q2(this.f23493d, fL);
            this.f23492c = c6;
            this.f23490a = fL;
            this.f23491b = 1;
            if (MonotonicFrameClockKt.withFrameNanos(c2177q2, this) == aVar) {
                return aVar;
            }
        }
        return C3137A.f25453a;
    }
}
