package x;

import d3.C1931v0;
import m3.AbstractC2467b;
import w4.C3137A;

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

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

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

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

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

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

    @Override // C4.a
    public final A4.d create(Object obj, A4.d dVar) {
        C3201w0 c3201w0 = new C3201w0(this.f25966d, dVar);
        c3201w0.f25965c = obj;
        return c3201w0;
    }

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

    /* JADX WARN: Removed duplicated region for block: B:11:0x002b  */
    /* JADX WARN: Removed duplicated region for block: B:13:0x0037  */
    /* JADX WARN: Removed duplicated region for block: B:15:0x003a  */
    /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:13:0x0037 -> B:14:0x0038). Please report as a decompilation issue!!! */
    @Override // C4.a
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public final Object invokeSuspend(Object obj) {
        R4.m mVar;
        Object objInvoke;
        B4.a aVar = B4.a.f492a;
        int i6 = this.f25964b;
        if (i6 == 0) {
            AbstractC2467b.l(obj);
            mVar = (R4.m) this.f25965c;
            objInvoke = this.f25966d.invoke();
            if (objInvoke != null) {
            }
        } else {
            if (i6 != 1) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            Object obj2 = this.f25963a;
            mVar = (R4.m) this.f25965c;
            AbstractC2467b.l(obj);
            if (obj2 == null) {
                return C3137A.f25453a;
            }
            objInvoke = this.f25966d.invoke();
            if (objInvoke != null) {
                this.f25965c = mVar;
                this.f25963a = objInvoke;
                this.f25964b = 1;
                mVar.a(this, objInvoke);
                B4.a aVar2 = B4.a.f492a;
                return aVar;
            }
            obj2 = null;
            if (obj2 == null) {
            }
            objInvoke = this.f25966d.invoke();
            if (objInvoke != null) {
            }
        }
    }
}
