In the same pot the chicken was seared in, reduce the heat to medium and add in the onion, jalapeño and poblano.
Sauté until soft, about 3 minutes.
Add in the garlic, cumin, coriander, oregano, smoked paprika, cinnamon and bay leaves. Stir and cook until fragrant, about 30 seconds.
Add in the chicken, guajillo chiles, ancho chili and chicken stock.
Stir everything together, scraping the bottom of the pan with a wooden spoon.
Bring to a boil, then reduce heat to low and simmer for 20 minutes.
Remove the guajillo chiles and ancho chili, and add them to a blender with the tomatoes.
Ladle in about 1 cup (240 milliliters) of the cooking broth and blend until smooth.
Pour it into your simmering broth. Rinse the blender with 1 cup (240 milliliters) of water and pour it back into the broth.
Stir together and let it simmer 30 minutes.
Remove the chicken from the pot and turn off the heat.
Shred the chicken and add it back to the pot.
Add in the corn kernels and black beans. Let them cook in the residual heat for 10 minutes. Do not bring the soup back to a boil or the chicken will become rubbery.