package V2;

import com.debridstream.tv.HomeViewModel;
import java.util.List;

/* JADX INFO: loaded from: classes.dex */
public final class X1 extends C4.c {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public HomeViewModel f7616a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public Object f7617b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public List f7618c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public List f7619d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public /* synthetic */ Object f7620e;

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

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

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public X1(HomeViewModel homeViewModel, A4.d dVar) {
        super(dVar);
        this.f7621f = homeViewModel;
    }

    @Override // C4.a
    public final Object invokeSuspend(Object obj) {
        this.f7620e = obj;
        this.f7622j |= Integer.MIN_VALUE;
        return this.f7621f.applyBecauseYouWatchedDependencyChangeIfNeeded(this);
    }
}
package V2;

import com.debridstream.tv.HomeViewModel;
import java.util.List;

/**
 * This class represents a coroutine suspend function builder or a lambda implementation
 * that delegates to a HomeViewModel. It is likely used to handle a specific UI or data
 * operation that depends on the state of the HomeViewModel, possibly triggered by a
 * dependency change (e.g., a network request completion, a data refresh, or a user action).
 * The class extends a generic coroutine builder (C4.c) and implements the suspend logic
 * in the invokeSuspend method.
 */
public final class X1 extends C4.c {

    /**
     * Reference to the HomeViewModel instance. This is the primary dependency
     * that this class interacts with to perform its operation.
     */
    public HomeViewModel homeViewModel;

    /**
     * An object that might be a result holder, a callback, or a context object
     * passed along with the operation. Its exact type is not known without more
     * context, but it is stored here for use during execution.
     */
    public Object resultObject;

    /**
     * A list that could represent a collection of items (e.g., TV shows, movies)
     * to be processed or displayed. It is likely populated or used by the
     * HomeViewModel during the operation.
     */
    public List itemsList;

    /**
     * Another list, possibly representing a different set of data (e.g., categories,
     * filters, or a secondary data source) associated with the operation.
     */
    public List secondaryList;

    /**
     * A synthetic field used by the Kotlin compiler to store the result of the
     * suspend function. It holds the value returned by the lambda or the final
     * outcome of the operation.
     */
    public Object suspendResult;

    /**
     * Reference to the HomeViewModel instance passed to the constructor.
     * This is likely the same as 'homeViewModel' but kept separately for
     * compatibility with the generated code structure.
     */
    public final HomeViewModel viewModelRef;

    /**
     * An integer flag used to track the state of the coroutine or the operation.
     * It is initialized to 0 and modified during execution to indicate progress
     * or completion.
     */
    public int operationState;

    /**
     * Constructor for the X1 class.
     * @param homeViewModel The HomeViewModel instance to be used for the operation.
     * @param dVar A parameter of type A4.d, likely representing a coroutine context
     *              or a configuration object passed to the parent class.
     */
    public X1(HomeViewModel homeViewModel, A4.d dVar) {
        // Initialize the parent class with the provided context/configuration.
        super(dVar);
        // Store the HomeViewModel reference for later use.
        this.viewModelRef = homeViewModel;
    }

    /**
     * This method is the entry point for the suspend function generated by Kotlin.
     * It is called by the coroutine dispatcher to execute the logic defined in the
     * lambda associated with this class.
     * @param obj The continuation object passed by the coroutine framework, which
     *            contains the result of the previous suspension point.
     * @return The result of the operation, which is delegated to the HomeViewModel.
     */
    @Override // C4.a
    public final Object invokeSuspend(Object obj) {
        // Store the continuation object for potential use in error handling or
        // resumption logic.
        this.suspendResult = obj;
        // Set the operation state flag to indicate that the coroutine is running.
        // Integer.MIN_VALUE is used as a bitmask to avoid collisions with other flags.
        this.operationState |= Integer.MIN_VALUE;
        // Delegate the actual work to the HomeViewModel's method 'applyBecauseYouWatchedDependencyChangeIfNeeded'.
        // This method likely applies a change to the UI or data model based on a dependency update.
        return this.viewModelRef.applyBecauseYouWatchedDependencyChangeIfNeeded(this);
    }
}
