package v;

import m3.AbstractC2467b;
import w4.C3137A;

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

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

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final /* synthetic */ x0 f24970b;

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

    @Override // C4.a
    public final A4.d create(Object obj, A4.d dVar) {
        return new w0(this.f24970b, dVar);
    }

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

    /* JADX WARN: Code restructure failed: missing block: B:19:0x003f, code lost:
    
        if (androidx.compose.runtime.MonotonicFrameClockKt.withFrameMillis(r6, r5) == r0) goto L20;
     */
    /* JADX WARN: Path cross not found for [B:13:0x0025, B:16:0x002e], limit reached: 23 */
    /* JADX WARN: Path cross not found for [B:16:0x002e, B:13:0x0025], limit reached: 23 */
    /* JADX WARN: Removed duplicated region for block: B:11:0x0021  */
    /* JADX WARN: Removed duplicated region for block: B:13:0x0025  */
    /* JADX WARN: Removed duplicated region for block: B:18:0x0032  */
    /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:17:0x0030 -> B:11:0x0021). Please report as a decompilation issue!!! */
    /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:19:0x003f -> B:21:0x0042). Please report as a decompilation issue!!! */
    @Override // C4.a
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public final Object invokeSuspend(Object obj) {
        X4.e eVar;
        B4.a aVar = B4.a.f492a;
        int i6 = this.f24969a;
        x0 x0Var = this.f24970b;
        if (i6 == 0) {
            AbstractC2467b.l(obj);
            eVar = x0Var.f24980n;
            if (eVar != null) {
            }
            if (x0Var.f24976f == null) {
            }
            return aVar;
        }
        if (i6 == 1) {
            AbstractC2467b.l(obj);
            if (x0Var.f24976f == null) {
            }
            return aVar;
        }
        if (i6 != 2) {
            throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
        }
        AbstractC2467b.l(obj);
        InterfaceC2983I0 interfaceC2983I0 = x0Var.f24976f;
        if (interfaceC2983I0 != null) {
            ((C2987K0) interfaceC2983I0).d();
        }
        eVar = x0Var.f24980n;
        if (eVar != null) {
            this.f24969a = 1;
            if (eVar.e(this) != aVar) {
            }
            return aVar;
        }
        if (x0Var.f24976f == null) {
            q.H0 h0 = new q.H0(9);
            this.f24969a = 2;
        } else {
            eVar = x0Var.f24980n;
            if (eVar != null) {
            }
            if (x0Var.f24976f == null) {
            }
        }
        return aVar;
    }
}
