package V2;

import android.content.Context;
import java.util.Map;
import m3.AbstractC2467b;
import w4.C3137A;

/* JADX INFO: renamed from: V2.d, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C0647d extends C4.j implements J4.e {

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

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public /* synthetic */ Object f7723b;

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

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

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final /* synthetic */ Map f7726e;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public C0647d(Context context, String str, Map map, A4.d dVar) {
        super(2, dVar);
        this.f7724c = context;
        this.f7725d = str;
        this.f7726e = map;
    }

    @Override // C4.a
    public final A4.d create(Object obj, A4.d dVar) {
        C0647d c0647d = new C0647d(this.f7724c, this.f7725d, this.f7726e, dVar);
        c0647d.f7723b = obj;
        return c0647d;
    }

    @Override // J4.e
    public final Object invoke(Object obj, Object obj2) {
        return ((C0647d) 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.f7722a;
        Object objD = C3137A.f25453a;
        try {
            if (i6 == 0) {
                AbstractC2467b.l(obj);
                String str = this.f7725d;
                Map map = this.f7726e;
                C0707p1 c0707p1 = C0707p1.f8004a;
                this.f7722a = 1;
                c5.e eVar = V4.N.f8259a;
                Object objH = V4.E.H(c5.d.f13466b, new C0694m1(map, str, null), this);
                if (objH != aVar) {
                    objH = objD;
                }
                if (objH == aVar) {
                    return aVar;
                }
            } else {
                if (i6 != 1) {
                    throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                }
                AbstractC2467b.l(obj);
            }
        } catch (Throwable th) {
            objD = AbstractC2467b.d(th);
        }
        w4.n.a(objD);
        return new w4.n(objD);
    }
}
