package com.google.firebase.firestore.local;

import android.database.Cursor;
import com.google.firebase.firestore.util.BackgroundQueue;
import com.google.firebase.firestore.util.Consumer;
import java.util.HashMap;

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

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

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

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

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

    public /* synthetic */ s(SQLiteDocumentOverlayCache sQLiteDocumentOverlayCache, BackgroundQueue backgroundQueue, HashMap map, int i6) {
        this.f14065a = i6;
        this.f14066b = sQLiteDocumentOverlayCache;
        this.f14067c = backgroundQueue;
        this.f14068d = map;
    }

    @Override // com.google.firebase.firestore.util.Consumer
    public final void accept(Object obj) {
        switch (this.f14065a) {
            case 0:
                this.f14066b.lambda$getOverlays$2(this.f14067c, this.f14068d, (Cursor) obj);
                break;
            default:
                this.f14066b.lambda$getOverlays$4(this.f14067c, this.f14068d, (Cursor) obj);
                break;
        }
    }
}
