package com.google.firebase.firestore.local;

import com.google.firebase.database.collection.ImmutableSortedMap;
import com.google.firebase.firestore.model.SnapshotVersion;
import com.google.firebase.firestore.remote.RemoteEvent;
import com.google.firebase.firestore.util.Supplier;

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

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

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

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

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

    public /* synthetic */ n(LocalStore localStore, Object obj, Object obj2, int i6) {
        this.f14052a = i6;
        this.f14053b = localStore;
        this.f14054c = obj;
        this.f14055d = obj2;
    }

    @Override // com.google.firebase.firestore.util.Supplier
    public final Object get() {
        switch (this.f14052a) {
            case 0:
                return this.f14053b.lambda$applyRemoteEvent$6((RemoteEvent) this.f14054c, (SnapshotVersion) this.f14055d);
            default:
                return this.f14053b.lambda$applyBundledDocuments$11((ImmutableSortedMap) this.f14054c, (TargetData) this.f14055d);
        }
    }
}
