package q5;

import com.google.android.gms.internal.measurement.C1;
import f5.C0935L;
import f5.C0939P;
import h5.AbstractC1033b;
import j5.w;
import o6.x;

/* JADX INFO: renamed from: q5.o, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C1478o {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final C0939P f16302a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final w f16303b;

    public C1478o(C0939P c0939p, w wVar) {
        P6.g.e(c0939p, "userRepository");
        P6.g.e(wVar, "mapper");
        this.f16302a = c0939p;
        this.f16303b = wVar;
    }

    /* JADX WARN: Removed duplicated region for block: B:7:0x0013  */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public final Object a(String str, G6.c cVar) {
        C1477n c1477n;
        C1478o c1478o;
        if (cVar instanceof C1477n) {
            c1477n = (C1477n) cVar;
            int i = c1477n.f16301w;
            if ((i & Integer.MIN_VALUE) != 0) {
                c1477n.f16301w = i - Integer.MIN_VALUE;
            } else {
                c1477n = new C1477n(this, cVar);
            }
        }
        Object objA = c1477n.f16299u;
        F6.a aVar = F6.a.f2580q;
        int i5 = c1477n.f16301w;
        if (i5 == 0) {
            C1.N(objA);
            c1477n.f16298t = this;
            c1477n.f16301w = 1;
            C0939P c0939p = this.f16302a;
            c0939p.getClass();
            x xVar = AbstractC1033b.f13423a;
            objA = AbstractC1033b.a(new C0935L(c0939p, str, null), c1477n);
            if (objA == aVar) {
                return aVar;
            }
            c1478o = this;
        } else {
            if (i5 != 1) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            c1478o = c1477n.f16298t;
            C1.N(objA);
        }
        return C1.z((X4.c) objA, c1478o.f16303b);
    }
}
