package h3;

import androidx.room.h;
import com.google.android.gms.internal.atv_ads_framework.d1;
import sd.l;
import v6.j;
import xyz.stream.api.database.entity.EpgEntity;
import xyz.stream.api.database.entity.MyListEntity;
import xyz.stream.download.db.DownloadInfoEntity;
import xyz.stream.download.db.FileInfoDao_Impl;

/* JADX INFO: loaded from: classes.dex */
public final /* synthetic */ class c implements l {

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

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

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

    public /* synthetic */ c(Object obj, Object obj2, int i10) {
        this.f26412a = i10;
        this.f26413b = obj;
        this.f26414c = obj2;
    }

    @Override // sd.l
    public final Object invoke(Object obj) {
        int i10 = this.f26412a;
        Object obj2 = this.f26414c;
        Object obj3 = this.f26413b;
        switch (i10) {
            case 0:
                l3.b bVar = (l3.b) obj;
                nb.g.i(bVar, "db");
                bVar.u((String) obj3, (Object[]) obj2);
                return kd.e.f29109a;
            case 1:
                e eVar = (e) obj3;
                l3.b bVar2 = (l3.b) obj;
                nb.g.i(bVar2, "db");
                eVar.getClass();
                bVar2.o(null);
                eVar.getClass();
                throw null;
            case 2:
                h hVar = (h) ((j) obj3).f33701b;
                hVar.insert((k3.a) obj, (EpgEntity) obj2);
                return null;
            case 3:
                h hVar2 = (h) ((d1) obj3).f19915c;
                hVar2.insert((k3.a) obj, (MyListEntity) obj2);
                return null;
            default:
                return ((FileInfoDao_Impl) obj3).lambda$save$0((DownloadInfoEntity) obj2, (k3.a) obj);
        }
    }
}
