Prepare the chicken by rinsing, drying, and cutting it into bite-sized pieces.
In a large pot, heat olive oil over medium heat. Sauté diced onion for 5 minutes until soft, then add minced garlic and cook for 1 minute. Add spices and cook for another minute.
Add chicken pieces and chicken broth to the pot. Bring to a boil, then reduce heat and simmer for 15-20 minutes.
Remove chicken, shred it, and return to the pot. Add white beans, diced green chiles, and corn. Simmer for another 5-10 minutes.
Stir in heavy cream and season with salt and pepper. Simmer for a few more minutes before serving.