package V2;

import com.debridstream.tv.HomeViewModel;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Set;

/* JADX INFO: renamed from: V2.u2, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C0727u2 extends C4.c {

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

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

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

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

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public LinkedHashMap f8106e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public Iterator f8107f;

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

    /* JADX INFO: renamed from: k, reason: collision with root package name */
    public final /* synthetic */ HomeViewModel f8109k;
    public int l;

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

    @Override // C4.a
    public final Object invokeSuspend(Object obj) {
        this.f8108j = obj;
        this.l |= Integer.MIN_VALUE;
        return this.f8109k.resolveBecauseYouWatchedCatalogEntries(this);
    }
}
package V2;

import com.debridstream.tv.HomeViewModel;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Set;

/**
 * This class represents a coroutine job (or similar async task) associated with a HomeViewModel.
 * It extends a base class (C4.c) and is used to resolve catalog entries based on the user's watch history.
 * The class holds references to the HomeViewModel, a set of resolved entries, a list of items,
 * and a LinkedHashMap for additional data. It also manages the suspension state via the 'l' field
 * and the 'invokeSuspend' method, which delegates the actual resolution logic to the HomeViewModel.
 */
public final class C0727u2 extends C4.c {

    /**
     * Reference to the HomeViewModel instance associated with this job.
     * Renamed from 'a' to 'homeViewModel' for clarity.
     */
    public HomeViewModel homeViewModel;

    /**
     * A string field, possibly representing a category, filter, or identifier.
     * Renamed from 'b' to 'filterString' for clarity.
     */
    public String filterString;

    /**
     * A Set of objects, likely representing resolved catalog entries or similar items.
     * Renamed from 'c' to 'resolvedEntries' for clarity.
     */
    public Set resolvedEntries;

    /**
     * A List of objects, possibly containing additional data or metadata.
     * Renamed from 'd' to 'additionalData' for clarity.
     */
    public List additionalData;

    /**
     * A LinkedHashMap, likely storing key-value pairs for structured data.
     * Renamed from 'e' to 'metadataMap' for clarity.
     */
    public LinkedHashMap metadataMap;

    /**
     * An Iterator, possibly used to traverse the resolved entries or additional data.
     * Renamed from 'f' to 'entriesIterator' for clarity.
     */
    public Iterator entriesIterator;

    /**
     * A synthetic field, likely used internally by the coroutine framework.
     * Renamed from 'j' to 'coroutineContext' for clarity.
     */
    public Object coroutineContext;

    /**
     * Reference to the HomeViewModel passed in the constructor, possibly for direct access.
     * Renamed from 'k' to 'viewModelRef' for clarity.
     */
    public final HomeViewModel viewModelRef;

    /**
     * An integer flag used to track the suspension state of the coroutine.
     * The bitwise OR with Integer.MIN_VALUE indicates a suspended state.
     * Renamed from 'l' to 'suspensionState' for clarity.
     */
    public int suspensionState;

    /**
     * Constructor for C0727u2.
     * Initializes the class with a HomeViewModel and a base class parameter (dVar).
     * The base class parameter is passed to the superclass constructor.
     * 
     * @param homeViewModel The HomeViewModel instance to associate with this job.
     * @param dVar The base class parameter (likely a coroutine context or similar).
     */
    public C0727u2(HomeViewModel homeViewModel, A4.d dVar) {
        // Call the superclass constructor with the provided base class parameter.
        super(dVar);
        // Store the HomeViewModel reference.
        this.viewModelRef = homeViewModel;
        // Initialize other fields to null or default values as needed.
        this.homeViewModel = homeViewModel;
        this.filterString = null;
        this.resolvedEntries = null;
        this.additionalData = null;
        this.metadataMap = null;
        this.entriesIterator = null;
        this.coroutineContext = null;
        this.suspensionState = 0;
    }

    /**
     * The invokeSuspend method is the entry point for the coroutine's execution.
     * It handles the suspension and resumption of the coroutine.
     * 
     * @param obj The result of the previous suspension, typically null on the first call.
     * @return The result of the coroutine, which is the outcome of the HomeViewModel's resolveBecauseYouWatchedCatalogEntries method.
     */
    @Override // C4.a
    public final Object invokeSuspend(Object obj) {
        // Store the previous suspension result in the coroutineContext field.
        this.coroutineContext = obj;
        // Mark the coroutine as suspended by setting the suspensionState flag.
        this.suspensionState |= Integer.MIN_VALUE;
        // Delegate the actual resolution logic to the HomeViewModel.
        // This method likely resolves catalog entries based on the user's watch history.
        return this.viewModelRef.resolveBecauseYouWatchedCatalogEntries(this);
    }
}package V2;

import com.debridstream.tv.HomeViewModel;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Set;

/**
 * This class represents a coroutine job (or similar async task) associated with a HomeViewModel.
 * It extends a base class (C4.c) and is used to resolve catalog entries based on the user's watch history.
 * The class holds references to the HomeViewModel, a set of resolved entries, a list of items,
 * and a LinkedHashMap for additional data. It also manages the suspension state via the 'l' field
 * and the 'invokeSuspend' method, which delegates the actual resolution logic to the HomeViewModel.
 */
public final class C0727u2 extends C4.c {

    /**
     * Reference to the HomeViewModel instance associated with this job.
     * Renamed from 'a' to 'homeViewModel' for clarity.
     */
    public HomeViewModel homeViewModel;

    /**
     * A string field, possibly representing a category, filter, or identifier.
     * Renamed from 'b' to 'filterString' for clarity.
     */
    public String filterString;

    /**
     * A Set of objects, likely representing resolved catalog entries or similar items.
     * Renamed from 'c' to 'resolvedEntries' for clarity.
     */
    public Set resolvedEntries;

    /**
     * A List of objects, possibly containing additional data or metadata.
     * Renamed from 'd' to 'additionalData' for clarity.
     */
    public List additionalData;

    /**
     * A LinkedHashMap, likely storing key-value pairs for structured data.
     * Renamed from 'e' to 'metadataMap' for clarity.
     */
    public LinkedHashMap metadataMap;

    /**
     * An Iterator, possibly used to traverse the resolved entries or additional data.
     * Renamed from 'f' to 'entriesIterator' for clarity.
     */
    public Iterator entriesIterator;

    /**
     * A synthetic field, likely used internally by the coroutine framework.
     * Renamed from 'j' to 'coroutineContext' for clarity.
     */
    public Object coroutineContext;

    /**
     * Reference to the HomeViewModel passed in the constructor, possibly for direct access.
     * Renamed from 'k' to 'viewModelRef' for clarity.
     */
    public final HomeViewModel viewModelRef;

    /**
     * An integer flag used to track the suspension state of the coroutine.
     * The bitwise OR with Integer.MIN_VALUE indicates a suspended state.
     * Renamed from 'l' to 'suspensionState' for clarity.
     */
    public int suspensionState;

    /**
     * Constructor for C0727u2.
     * Initializes the class with a HomeViewModel and a base class parameter (dVar).
     * The base class parameter is passed to the superclass constructor.
     * 
     * @param homeViewModel The HomeViewModel instance to associate with this job.
     * @param dVar The base class parameter (likely a coroutine context or similar).
     */
    public C0727u2(HomeViewModel homeViewModel, A4.d dVar) {
        // Call the superclass constructor with the provided base class parameter.
        super(dVar);
        // Store the HomeViewModel reference.
        this.viewModelRef = homeViewModel;
    }

    /**
     * The invokeSuspend method is the entry point for the coroutine's execution.
     * It handles the suspension and resumption of the coroutine.
     * 
     * @param obj The result of the previous suspension, typically null on the first call.
     * @return The result of the coroutine, which is the outcome of the HomeViewModel's resolveBecauseYouWatchedCatalogEntries method.
     */
    @Override // C4.a
    public final Object invokeSuspend(Object obj) {
        // Store the previous suspension result in the coroutineContext field.
        this.coroutineContext = obj;
        // Mark the coroutine as suspended by setting the suspensionState flag.
        this.suspensionState |= Integer.MIN_VALUE;
        // Delegate the actual resolution logic to the HomeViewModel.
        // This method likely resolves catalog entries based on the user's watch history.
        return this.viewModelRef.resolveBecauseYouWatchedCatalogEntries(this);
    }
}
