package Y5;

import A6.n;
import O6.p;
import Z6.InterfaceC0382w;
import c7.C0592C;
import c7.H;
import com.google.android.gms.internal.measurement.C1;
import com.martsnew.tv.ui.splash.TvSplashFragment;

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

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

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

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

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

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

    @Override // G6.a
    public final Object p(Object obj) throws Throwable {
        F6.a aVar = F6.a.f2580q;
        int i = this.f7324u;
        if (i == 0) {
            C1.N(obj);
            TvSplashFragment tvSplashFragment = this.f7325v;
            C0592C c0592c = new C0592C(tvSplashFragment.h0().i, 1);
            c cVar = new c(null, tvSplashFragment);
            this.f7324u = 1;
            if (H.g(c0592c, cVar, this) == aVar) {
                return aVar;
            }
        } else {
            if (i != 1) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            C1.N(obj);
        }
        return n.f457a;
    }
}
