package androidx.media3.datasource;

import android.net.Uri;
import com.google.firebase.firestore.core.FirestoreClient;
import com.google.firebase.firestore.core.Query;
import com.google.firebase.firestore.model.DocumentKey;
import java.util.concurrent.Callable;

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

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

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

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

    public /* synthetic */ c(int i6, Object obj, Object obj2) {
        this.f12275a = i6;
        this.f12276b = obj;
        this.f12277c = obj2;
    }

    @Override // java.util.concurrent.Callable
    public final Object call() {
        switch (this.f12275a) {
            case 0:
                return ((DataSourceBitmapLoader) this.f12276b).lambda$decodeBitmap$1((byte[]) this.f12277c);
            case 1:
                return ((DataSourceBitmapLoader) this.f12276b).lambda$loadBitmap$2((Uri) this.f12277c);
            case 2:
                return ((FirestoreClient) this.f12276b).lambda$getDocumentsFromLocalCache$11((Query) this.f12277c);
            default:
                return ((FirestoreClient) this.f12276b).lambda$getDocumentFromLocalCache$9((DocumentKey) this.f12277c);
        }
    }
}
