package P2;

import B4.InterfaceC0027x;
import W.InterfaceC0195i;
import a.AbstractC0212a;
import com.google.android.gms.internal.measurement.C1;
import d4.C0550i;
import i4.EnumC0643a;
import j4.AbstractC0806h;
import kotlin.jvm.functions.Function2;

/* JADX INFO: loaded from: classes.dex */
public final class g extends AbstractC0806h implements Function2 {

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

    /* JADX INFO: renamed from: l, reason: collision with root package name */
    public final /* synthetic */ h f2539l;

    /* JADX INFO: renamed from: m, reason: collision with root package name */
    public final /* synthetic */ a0.d f2540m;

    /* JADX INFO: renamed from: n, reason: collision with root package name */
    public final /* synthetic */ Long f2541n;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public g(h hVar, a0.d dVar, Long l5, h4.c cVar) {
        super(2, cVar);
        this.f2539l = hVar;
        this.f2540m = dVar;
        this.f2541n = l5;
    }

    @Override // j4.AbstractC0799a
    public final h4.c create(Object obj, h4.c cVar) {
        return new g(this.f2539l, this.f2540m, this.f2541n, cVar);
    }

    @Override // kotlin.jvm.functions.Function2
    public final Object invoke(Object obj, Object obj2) {
        return ((g) create((InterfaceC0027x) obj, (h4.c) obj2)).invokeSuspend(C0550i.f6143a);
    }

    @Override // j4.AbstractC0799a
    public final Object invokeSuspend(Object obj) throws Throwable {
        EnumC0643a enumC0643a = EnumC0643a.f6670k;
        int i = this.f2538k;
        if (i != 0) {
            if (i != 1) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            AbstractC0212a.H(obj);
            return obj;
        }
        AbstractC0212a.H(obj);
        InterfaceC0195i interfaceC0195i = this.f2539l.f2545c;
        f fVar = new f(this.f2540m, this.f2541n, null);
        this.f2538k = 1;
        Object objI = C1.i(interfaceC0195i, fVar, this);
        return objI == enumC0643a ? enumC0643a : objI;
    }
}
