package C5;

import Z6.InterfaceC0382w;
import androidx.lifecycle.EnumC0510o;
import androidx.lifecycle.P;
import com.google.android.gms.internal.measurement.C1;
import com.martsnew.tv.ui.continuewatch.TvContinueWatchFragment;

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

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

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

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

    @Override // O6.p
    public final Object k(Object obj, Object obj2) {
        return ((i) 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 i(this.f1356v, dVar);
    }

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