package x;

import V4.InterfaceC0765i0;
import m3.AbstractC2467b;
import w4.C3137A;

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

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

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

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final /* synthetic */ C0 f25961c;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public v1(InterfaceC0765i0 interfaceC0765i0, C0 c02, A4.d dVar) {
        super(2, dVar);
        this.f25960b = interfaceC0765i0;
        this.f25961c = c02;
    }

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

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

    /* JADX WARN: Code restructure failed: missing block: B:14:0x0032, code lost:
    
        if (r4.f25961c.i(r4) == r0) goto L15;
     */
    @Override // C4.a
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public final Object invokeSuspend(Object obj) {
        B4.a aVar = B4.a.f492a;
        int i6 = this.f25959a;
        if (i6 == 0) {
            AbstractC2467b.l(obj);
            this.f25959a = 1;
            if (this.f25960b.join(this) != aVar) {
            }
            return aVar;
        }
        if (i6 != 1) {
            if (i6 != 2) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            AbstractC2467b.l(obj);
            return C3137A.f25453a;
        }
        AbstractC2467b.l(obj);
        this.f25959a = 2;
    }
}
