package p;

import m3.AbstractC2467b;
import q.C2769d;
import q.C2783k;
import q.C2790n0;
import q.EnumC2781j;
import w4.C3137A;

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

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

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

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

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

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public i0(h0 h0Var, long j4, k0 k0Var, A4.d dVar) {
        super(2, dVar);
        this.f22754b = h0Var;
        this.f22755c = j4;
        this.f22756d = k0Var;
    }

    @Override // C4.a
    public final A4.d create(Object obj, A4.d dVar) {
        return new i0(this.f22754b, this.f22755c, this.f22756d, dVar);
    }

    @Override // J4.e
    public final Object invoke(Object obj, Object obj2) {
        return ((i0) 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.f22753a;
        h0 h0Var = this.f22754b;
        k0 k0Var = this.f22756d;
        if (i6 == 0) {
            AbstractC2467b.l(obj);
            C2769d c2769d = h0Var.f22750a;
            h1.l lVar = new h1.l(this.f22755c);
            C2790n0 c2790n0 = k0Var.f22768b;
            this.f22753a = 1;
            obj = C2769d.c(c2769d, lVar, c2790n0, null, this, 12);
            if (obj == aVar) {
                return aVar;
            }
        } else {
            if (i6 != 1) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            AbstractC2467b.l(obj);
        }
        if (((C2783k) obj).f23359b == EnumC2781j.f23352b) {
            k0Var.getClass();
        }
        return C3137A.f25453a;
    }
}
