Roughly chop the onion and tomatoes. Keep them aside.
Take a cooking pan and add a tbsp of oil.
Let the oil heat until it smokes a little. Keep the flame on medium.
Now, add the cumin seeds. Stir them until they crackle and then add the dried green chilis along with the garlic cloves.
Fry them until the raw scent of the garlic is gone.
Then, add the bay leaf, cloves, cinnamon stick, green cardamom, black cardamom, black peppercorns, and mace.
Stir them until they are fragrant. Keep the temperature on low to medium.
Next, add the coriander seeds. Stir everything for about 30 seconds.
Now, add the til or sesame seeds to the pan.
Stir all the ingredients for 1 more minute.
After this, add the poppy seeds and stir for 50 seconds more. Stir consistently.
When done, transfer them onto a plate.
In the same pan add a bit more oil.
After it hits up, add the roughly chopped onions and tomato.
Sauté them for a minute and then add a bit of salt. Fry them for 6-8 minutes more, keeping the temperature on medium.
Let everything cool properly.
After they cool down, transfer everything into a mixer blender (remove the bay leaves).
Add in the dried desiccated coconut and then blend everything into a fine smooth paste. Keep them aside.