package h3;

import com.google.firebase.firestore.Source;
import m3.AbstractC2467b;
import w4.C3137A;

/* JADX INFO: loaded from: classes.dex */
public final class E3 extends C4.j implements J4.e {

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

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

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

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public E3(String str, boolean z6, A4.d dVar) {
        super(2, dVar);
        this.f16780b = str;
        this.f16781c = z6;
    }

    @Override // C4.a
    public final A4.d create(Object obj, A4.d dVar) {
        return new E3(this.f16780b, this.f16781c, dVar);
    }

    @Override // J4.e
    public final Object invoke(Object obj, Object obj2) {
        return ((E3) 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.f16779a;
        if (i6 == 0) {
            AbstractC2467b.l(obj);
            String str = this.f16780b;
            if (!S4.p.Q0(str) && this.f16781c) {
                V2.L3 l32 = V2.L3.f7428a;
                Source source = Source.SERVER;
                this.f16779a = 1;
                if (V2.L3.s(str, source, this) == aVar) {
                    return aVar;
                }
            }
        } else {
            if (i6 != 1) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            AbstractC2467b.l(obj);
        }
        return C3137A.f25453a;
    }
}
