Melt the butter in a soup pot over medium heat. Add the onion and celery and cook 5 minutes, until soft.
Add the garlic and cook 30 seconds.
Sprinkle in the flour and stir 1 to 2 minutes, until it smells toasted.
Whisk in the stock gradually, smoothing out lumps.
Add the potatoes and simmer 15 minutes, until tender when pierced.
Stir in the corn, green chiles, cumin and chili powder, and simmer 5 more minutes.
Add the shredded chicken and warm through for 2 minutes.
Lower the heat and stir in the cream and milk. Keep at a gentle simmer, not a boil.
Add the cheddar a handful at a time, stirring until each handful melts in smooth before adding more; rushing this step is what makes a chowder turn grainy.
Season with salt and pepper. Check the thickness: it should be thick enough to hold a slightly stretchy sheen from the cheese and coat a spoon fully.
Ladle into bowls and top with cilantro, with lime wedges on the side.
Good to Know
Use a rotisserie chicken to skip the cooking step entirely, and reheat low and slow, stirring often, since boiled cheese turns oily and separates from the broth.