Had a listen to Dervish's version online. Basically the same song, alright, with some variations.
It's essentially a lullaby, incidentally, despite the 'back-story" mentioned by the OP. There's quite a tradition of such in the Connemara (West Galway) area.
Regards