sa tasya tam dasam drstva
sah—he, Vasistha; tasya—of Sudyumna; tam—that; dasam—condition; drstva—seeing; krpaya—out of mercy; bhrsa-piditah—being very much aggrieved; sudyumnasya—of Sudyumna; asayan—desiring; pumstvam—the maleness; upadhavata—began to worship; sankaram—Lord Siva.
Upon seeing Sudyumna’s deplorable condition, Vasistha was very much aggrieved. Desiring for Sudyumna to regain his maleness, Vasistha again began to worship Lord Sankara [Siva].
Link to this page: https://prabhupadabooks.com/sb/9/1/37