package G5;

import Z6.InterfaceC0382w;
import com.google.android.gms.internal.measurement.C1;
import com.martsnew.tv.ui.history.TvHistoryFragment;

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

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

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

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

    @Override // O6.p
    public final Object k(Object obj, Object obj2) throws Throwable {
        ((e) m((E6.d) obj2, (InterfaceC0382w) obj)).p(A6.n.f457a);
        return F6.a.f2580q;
    }

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

    @Override // G6.a
    public final Object p(Object obj) throws Throwable {
        int i = 1;
        F6.a aVar = F6.a.f2580q;
        int i5 = this.f2987u;
        if (i5 != 0) {
            if (i5 != 1) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            throw I1.a.j(obj);
        }
        C1.N(obj);
        int i8 = TvHistoryFragment.f11150N1;
        TvHistoryFragment tvHistoryFragment = this.f2988v;
        q qVarY0 = tvHistoryFragment.Y0();
        c cVar = new c(tvHistoryFragment, i);
        this.f2987u = 1;
        qVarY0.i.o(cVar, this);
        return aVar;
    }
}
