package com.google.firebase.firestore.remote;

import com.google.android.gms.tasks.Continuation;
import com.google.android.gms.tasks.Task;
import java.util.HashMap;
import k4.i0;

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

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

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

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

    public /* synthetic */ e(int i6, Object obj, Object obj2) {
        this.f14119a = i6;
        this.f14120b = obj;
        this.f14121c = obj2;
    }

    @Override // com.google.android.gms.tasks.Continuation
    public final Object then(Task task) {
        switch (this.f14119a) {
            case 0:
                return ((Datastore) this.f14120b).lambda$runAggregateQuery$1((HashMap) this.f14121c, task);
            default:
                return ((GrpcCallProvider) this.f14120b).lambda$createClientCall$0((i0) this.f14121c, task);
        }
    }
}
