Start by blending six garlic cloves with one cup of water.
Pour the garlic-water mixture into a pot containing seven cups of boiling water, half a white onion, salt, and the chicken thighs. Cook for about 45 minutes.
Once the chicken is cooked, remove it from the pot and allow it to cool before shredding it.
Peel and seed four roasted poblano peppers. Cut two of them into smaller pieces and set the other two aside for blending.
In a separate pot, boil six tomatillos and one serrano pepper until they change color, which should take about four minutes. Then, transfer them to a blender along with one cup of water.
To the blender, add eight ounces of room-temperature cream cheese, the two reserved roasted poblanos, a quarter of a white onion, two garlic cloves, a small bunch of cilantro, one can of media crema, 2½ teaspoons of chicken bouillon, and ⅛ teaspoon of black pepper. Blend until smooth and set aside.
Heat some oil in a pan over medium heat and sauté half a white onion with three minced garlic cloves for about a minute.
Add one can of corn, the two diced poblanos, and the shredded chicken to the pan. Season with salt and pepper, mixing everything well.
Stir in the blended salsa, reserving about one and a half cups for later. Check the seasoning, lower the heat, and let it simmer for five minutes before setting aside.
Fry about twenty tortillas for ten seconds on each side.
In a 9-by-13 baking dish, layer the tortillas, followed by the chicken-corn filling, and then Monterey Jack cheese. Repeat the layers, finishing with a layer of tortillas, the reserved salsa, and more cheese on top.
Bake in a preheated oven at 350°F for about 20 minutes. Optionally, broil for 2-3 minutes to crisp the top.
Remove from the oven, let it rest briefly, then cut into portions and serve.
