package xyz.stream.api.database;

import androidx.room.RoomDatabase;
import com.google.android.gms.internal.atv_ads_framework.d1;
import java.util.List;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutorService;
import vf.t;
import xyz.stream.api.viewmodel.VideoActionViewModel;

/* JADX INFO: loaded from: classes3.dex */
public final /* synthetic */ class b implements Callable {

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

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

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

    public /* synthetic */ b(int i10, int i11, Object obj) {
        this.f35786a = i11;
        this.f35788c = obj;
        this.f35787b = i10;
    }

    @Override // java.util.concurrent.Callable
    public final Object call() {
        int i10 = this.f35786a;
        int i11 = this.f35787b;
        Object obj = this.f35788c;
        switch (i10) {
            case 0:
                vf.i iVar = (vf.i) ((f) obj).f35808a.iptvDao();
                iVar.getClass();
                return (List) androidx.room.util.b.b(iVar.f33973a, true, false, new h3.d(i11, 1));
            case 1:
                ExecutorService executorService = n.f35835a;
                return Integer.valueOf(((Integer) androidx.room.util.b.b((RoomDatabase) ((d1) ((t) obj)).f19914b, true, false, new h3.d(i11, 4))).intValue());
            default:
                return ((VideoActionViewModel) obj).lambda$getGenreTask$0(i11);
        }
    }
}
