śōkaparitāpēna by lamenting, mṛtaḥ the dead, śrēyasā with well-being, na yujyatē will not gain, atra here, yat whatever, anantaram later, kāryam should be done, tat that, samādhātum to take up, arhatha you may do.
'No lamentation revives the dead. So you should take up whatever is required now.