package com.google.firebase.firestore.local;

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

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

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

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

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

    public /* synthetic */ B(SQLiteMutationQueue sQLiteMutationQueue, ArrayList arrayList, int i6) {
        this.f13990a = i6;
        this.f13991b = sQLiteMutationQueue;
        this.f13992c = arrayList;
    }

    @Override // com.google.firebase.firestore.util.Consumer
    public final void accept(Object obj) {
        switch (this.f13990a) {
            case 0:
                this.f13991b.lambda$getAllMutationBatchesAffectingDocumentKey$7(this.f13992c, (Cursor) obj);
                break;
            default:
                this.f13991b.lambda$getAllMutationBatches$6(this.f13992c, (Cursor) obj);
                break;
        }
    }
}
