package x;

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

/* JADX INFO: renamed from: x.p0, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C3188p0 extends C4.j implements J4.e {

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

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

    @Override // C4.a
    public final A4.d create(Object obj, A4.d dVar) {
        C3188p0 c3188p0 = new C3188p0(2, dVar);
        c3188p0.f25888b = obj;
        return c3188p0;
    }

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

    @Override // C4.a
    public final Object invokeSuspend(Object obj) {
        V4.C c6;
        B4.a aVar = B4.a.f492a;
        int i6 = this.f25887a;
        if (i6 == 0) {
            AbstractC2467b.l(obj);
            c6 = (V4.C) this.f25888b;
        } else {
            if (i6 != 1) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            c6 = (V4.C) this.f25888b;
            AbstractC2467b.l(obj);
        }
        while (V4.E.u(c6.getCoroutineContext())) {
            q.H0 h0 = new q.H0(9);
            this.f25888b = c6;
            this.f25887a = 1;
            if (MonotonicFrameClockKt.withFrameNanos(h0, this) == aVar) {
                return aVar;
            }
        }
        return C3137A.f25453a;
    }
}
