package J5;

import A6.n;
import O6.p;
import Z6.InterfaceC0382w;
import androidx.lifecycle.EnumC0510o;
import androidx.lifecycle.P;
import com.google.android.gms.internal.measurement.C1;
import com.martsnew.tv.ui.login.email.TvLoginFragment;

/* JADX INFO: loaded from: classes.dex */
public final class g extends G6.i implements p {

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

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

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public g(E6.d dVar, TvLoginFragment tvLoginFragment) {
        super(2, dVar);
        this.f3496v = tvLoginFragment;
    }

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

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

    @Override // G6.a
    public final Object p(Object obj) throws Throwable {
        F6.a aVar = F6.a.f2580q;
        int i = this.f3495u;
        if (i == 0) {
            C1.N(obj);
            EnumC0510o enumC0510o = EnumC0510o.f8836s;
            TvLoginFragment tvLoginFragment = this.f3496v;
            f fVar = new f(null, tvLoginFragment);
            this.f3495u = 1;
            if (P.i(tvLoginFragment, enumC0510o, fVar, this) == aVar) {
                return aVar;
            }
        } else {
            if (i != 1) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            C1.N(obj);
        }
        return n.f457a;
    }
}
