package Z4;

import A6.n;
import E6.d;
import G6.i;
import O6.p;
import Y6.c;
import Z6.AbstractC0385z;
import Z6.InterfaceC0382w;
import com.google.android.gms.internal.measurement.C1;
import f5.C0946g;
import v0.AbstractC1664c;

/* JADX INFO: loaded from: classes.dex */
public final class b extends i implements p {

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

    /* JADX INFO: renamed from: v, reason: collision with root package name */
    public final /* synthetic */ C0946g f7428v;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public b(C0946g c0946g, d dVar) {
        super(2, dVar);
        this.f7428v = c0946g;
    }

    @Override // O6.p
    public final Object k(Object obj, Object obj2) {
        return ((b) m((d) obj2, (InterfaceC0382w) obj)).p(n.f457a);
    }

    @Override // G6.a
    public final d m(d dVar, Object obj) {
        return new b(this.f7428v, dVar);
    }

    @Override // G6.a
    public final Object p(Object obj) throws Throwable {
        F6.a aVar = F6.a.f2580q;
        int i = this.f7427u;
        if (i == 0) {
            C1.N(obj);
            int i5 = Y6.a.f7349t;
            long jB = AbstractC1664c.B(20L, c.SECONDS);
            a aVar2 = new a(this.f7428v, null);
            this.f7427u = 1;
            if (AbstractC0385z.D(AbstractC0385z.z(jB), aVar2, this) == aVar) {
                return aVar;
            }
        } else {
            if (i != 1) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            C1.N(obj);
        }
        return n.f457a;
    }
}
