Garuda Purana (Jyotisha Selections) · by Vyasa
Chapter 8 · Gems: Diamond and Pearl
वज्रमुक्तापरीक्षा
देवानामथ यक्षाणां सिद्धानां पवनाशिनाम् ।रत्नवीजमयं ग्राहः सुमहानभवत्तदा ॥ ५ ॥
In the full Garuda Purana (Purva Khanda) this is chapter 68, verse 5.
Then the gods, yakshas (nature spirits), siddhas (perfected beings) and snakes rushed in. There was a great scramble for the gem seeds.
Simple meaning: The gods and other beings rushed to grab the seeds of gems.
तेषान्तु पततां वेगाद्विमानेन विहायसा ।
As they flew past in a hurry, gem seeds fell to the earth here and there.
महोदधौ सरिति वा पर्वते काननेऽपि वा ।
Each place where a seed fell became a mine for that gem.
तेषु रक्षोविषव्यालव्याधिघ्नान्यघहानि च ।
Some gems from these mines protect and cleanse. Others have no good qualities.