package V2;

import androidx.compose.runtime.State;
import com.debridstream.tv.ProfileViewModel;
import m3.AbstractC2467b;
import w4.C3137A;

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

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

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final /* synthetic */ androidx.navigation.H f7328b;

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

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public G(A4.d dVar, State state, androidx.navigation.H h5, ProfileViewModel profileViewModel) {
        super(2, dVar);
        this.f7327a = profileViewModel;
        this.f7328b = h5;
        this.f7329c = state;
    }

    @Override // C4.a
    public final A4.d create(Object obj, A4.d dVar) {
        return new G(dVar, this.f7329c, this.f7328b, this.f7327a);
    }

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

    @Override // C4.a
    public final Object invokeSuspend(Object obj) {
        B4.a aVar = B4.a.f492a;
        AbstractC2467b.l(obj);
        q.F0 f0 = AbstractC0693m0.f7892a;
        boolean z6 = ((T2) this.f7329c.getValue()).f7551i;
        C3137A c3137a = C3137A.f25453a;
        if (!z6) {
            return c3137a;
        }
        this.f7327a.onProfilePickerResumeFailureHandled();
        this.f7328b.m("profile_selector", new C0736x(4));
        return c3137a;
    }
}
