Heat a stovetop pressure cooker over medium heat or set an electric cooker to sauté. Add the onion and dry sauté for 1 minute. Add the garlic and chile and cook 1 minute longer.
Add the chana dal, galangal, lime leaves, ¾ cup of the stock, the coconut milk, and curry paste. Lock the lid on the cooker. Bring to high pressure; cook for 3 minutes. Let the pressure come down naturally. Remove the lid, carefully tilting it away from you.
Add the squash, mushrooms, and remaining 1 cup stock. Lock the lid back on the cooker. Bring to high pressure; cook for 3 minutes. Quick release the pressure. Remove the lid, carefully tilting it away from you.
Stir in the broccoli. Lock the lid back on and let sit for 2 minutes. Carefully open the lid. Remove the galangal slices.
Transfer the mixture to a large bowl. Add lime juice to taste, sprinkle with cilantro, and serve.