package com.google.firebase.firestore;

import com.google.firebase.firestore.FirestoreKt;

/* JADX INFO: renamed from: com.google.firebase.firestore.r, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes3.dex */
public final /* synthetic */ class C1290r implements EventListener {

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

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

    public /* synthetic */ C1290r(Object obj, int i6) {
        this.f14107a = i6;
        this.f14108b = obj;
    }

    @Override // com.google.firebase.firestore.EventListener
    public final void onEvent(Object obj, FirebaseFirestoreException firebaseFirestoreException) {
        switch (this.f14107a) {
            case 0:
                FirestoreKt.AnonymousClass1.invokeSuspend$lambda$0((X4.t) this.f14108b, (DocumentSnapshot) obj, firebaseFirestoreException);
                break;
            case 1:
                FirestoreKt.AnonymousClass2.invokeSuspend$lambda$0((X4.t) this.f14108b, (QuerySnapshot) obj, firebaseFirestoreException);
                break;
            default:
                FirebaseFirestore.lambda$addSnapshotsInSyncListener$9((Runnable) this.f14108b, (Void) obj, firebaseFirestoreException);
                break;
        }
    }
}
