This is a Dhyan Mantra or a mantra for concentration recited to incur the blessings of. Matsyendranatha or Machindranath. Machindranath is the first of the nine saints and masters the Navnath’s.He is also the Guru of Gorakshanath.
He is also known as Adinath or the First Master. Most of the mantras and remedies have originated from the Nath Sampradaya or the Nath linage and tradition, which is active even today.
Om adinatho gururyasya gorakshasyachyo guru: tamham mahasiddham jagatgurum ll
ॐ आदिनाथो गुरूर्यस्य गोरक्षस्यचयो गुरु: तमहं महासिद्धम जगतगुरुम् ll