package com.google.firebase.firestore;

import com.google.android.gms.tasks.Continuation;
import com.google.android.gms.tasks.Task;

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

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

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

    public /* synthetic */ n(Object obj, int i6) {
        this.f14098a = i6;
        this.f14099b = obj;
    }

    @Override // com.google.android.gms.tasks.Continuation
    public final Object then(Task task) {
        switch (this.f14098a) {
            case 0:
                return ((FirebaseFirestore) this.f14099b).lambda$getNamedQuery$8(task);
            case 1:
                return ((Query) this.f14099b).lambda$get$1(task);
            default:
                return ((Transaction) this.f14099b).lambda$getAsync$0(task);
        }
    }
}
