package ya;

import com.bumptech.glide.load.engine.p;
import e.t;
import java.util.concurrent.Callable;
import vf.i;
import vf.m;
import xyz.stream.api.database.entity.ServerEntity;
import xyz.stream.api.database.l;

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

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

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

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

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

    public /* synthetic */ d(Object obj, Object obj2, Object obj3, int i10) {
        this.f36916a = i10;
        this.f36917b = obj;
        this.f36918c = obj2;
        this.f36919d = obj3;
    }

    @Override // java.util.concurrent.Callable
    public final Object call() {
        int i10 = this.f36916a;
        Object obj = this.f36919d;
        Object obj2 = this.f36918c;
        Object obj3 = this.f36917b;
        switch (i10) {
            case 0:
                f fVar = (f) obj3;
                fVar.getClass();
                return fVar.f36923a.submit(new t((Callable) obj2, (nb.c) obj, 24));
            case 1:
                i iVar = (i) ((xyz.stream.api.database.f) obj3).f35808a.serverDao();
                iVar.getClass();
                return (ServerEntity) androidx.room.util.b.b(iVar.f33973a, true, false, new vf.c((String) obj2, (String) obj));
            default:
                m mVar = ((l) obj3).f35829b;
                return ((p) mVar).g(((Integer) obj2).intValue(), (String) obj);
        }
    }
}
