package h3;

import androidx.compose.runtime.MutableIntState;
import androidx.compose.runtime.State;
import com.debridstream.tv.screens.MoreEpisodesViewModel;
import m3.AbstractC2467b;
import w4.C3137A;

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

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final /* synthetic */ MoreEpisodesViewModel f17668a;

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

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

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

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final /* synthetic */ MutableIntState f17672e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final /* synthetic */ State f17673f;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public Z0(MoreEpisodesViewModel moreEpisodesViewModel, int i6, boolean z6, String str, MutableIntState mutableIntState, State state, A4.d dVar) {
        super(2, dVar);
        this.f17668a = moreEpisodesViewModel;
        this.f17669b = i6;
        this.f17670c = z6;
        this.f17671d = str;
        this.f17672e = mutableIntState;
        this.f17673f = state;
    }

    @Override // C4.a
    public final A4.d create(Object obj, A4.d dVar) {
        return new Z0(this.f17668a, this.f17669b, this.f17670c, this.f17671d, this.f17672e, this.f17673f, dVar);
    }

    @Override // J4.e
    public final Object invoke(Object obj, Object obj2) {
        Z0 z02 = (Z0) create((V4.C) obj, (A4.d) obj2);
        C3137A c3137a = C3137A.f25453a;
        z02.invokeSuspend(c3137a);
        return c3137a;
    }

    @Override // C4.a
    public final Object invokeSuspend(Object obj) {
        B4.a aVar = B4.a.f492a;
        AbstractC2467b.l(obj);
        J.f fVar = AbstractC2211w1.f18642a;
        int intValue = this.f17672e.getIntValue();
        String str = ((V2.n3) this.f17673f.getValue()).f7971a.f7887b;
        if (S4.p.Q0(str)) {
            str = "en";
        }
        MoreEpisodesViewModel moreEpisodesViewModel = this.f17668a;
        boolean z6 = this.f17670c;
        String str2 = this.f17671d;
        moreEpisodesViewModel.loadEpisodes(this.f17669b, intValue, z6, str2, str);
        return C3137A.f25453a;
    }
}
