package f5;

import Z6.InterfaceC0382w;
import b5.C0545f;
import com.google.android.gms.internal.measurement.C1;
import n4.u0;

/* JADX INFO: renamed from: f5.m, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C0952m extends G6.i implements O6.p {

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

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

    /* JADX INFO: renamed from: w, reason: collision with root package name */
    public final /* synthetic */ C0926C f12808w;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public C0952m(String str, C0926C c0926c, E6.d dVar) {
        super(2, dVar);
        this.f12807v = str;
        this.f12808w = c0926c;
    }

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

    @Override // G6.a
    public final E6.d m(E6.d dVar, Object obj) {
        return new C0952m(this.f12807v, this.f12808w, dVar);
    }

    /* JADX WARN: Code restructure failed: missing block: B:13:0x0037, code lost:
    
        if (r7 == r0) goto L19;
     */
    /* JADX WARN: Code restructure failed: missing block: B:18:0x0050, code lost:
    
        if (r7 == r0) goto L19;
     */
    @Override // G6.a
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public final Object p(Object obj) throws Throwable {
        F6.a aVar = F6.a.f2580q;
        int i = this.f12806u;
        if (i != 0) {
            if (i == 1) {
                C1.N(obj);
                return new X4.b(obj);
            }
            if (i != 2) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            C1.N(obj);
            return new X4.b(obj);
        }
        C1.N(obj);
        C0926C c0926c = this.f12808w;
        String str = this.f12807v;
        if (str == null) {
            C0545f c0545f = c0926c.f12716d;
            this.f12806u = 1;
            obj = u0.v(this, c0545f.f9211a, new M5.b(8), true, false);
        } else {
            C0545f c0545f2 = c0926c.f12716d;
            this.f12806u = 2;
            obj = u0.v(this, c0545f2.f9211a, new X6.f(1, str), true, false);
        }
        return aVar;
    }
}
