package x;

import C0.C0124z;
import m3.AbstractC2467b;
import o0.C2631b;
import w4.C3137A;

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

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

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final /* synthetic */ J4.f f25922b;

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

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

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public r1(J4.f fVar, C0 c02, C0124z c0124z, A4.d dVar) {
        super(2, dVar);
        this.f25922b = fVar;
        this.f25923c = c02;
        this.f25924d = c0124z;
    }

    @Override // C4.a
    public final A4.d create(Object obj, A4.d dVar) {
        return new r1(this.f25922b, this.f25923c, this.f25924d, dVar);
    }

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

    @Override // C4.a
    public final Object invokeSuspend(Object obj) {
        B4.a aVar = B4.a.f492a;
        int i6 = this.f25921a;
        if (i6 == 0) {
            AbstractC2467b.l(obj);
            C2631b c2631b = new C2631b(this.f25924d.f646c);
            this.f25921a = 1;
            if (this.f25922b.invoke(this.f25923c, c2631b, this) == aVar) {
                return aVar;
            }
        } else {
            if (i6 != 1) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            AbstractC2467b.l(obj);
        }
        return C3137A.f25453a;
    }
}
