'Gar' simply means 'very' in this context.
Eichenhof, your 'indeed with very great effort,' is closer than my translation. However, you aren't claiming the song's language is Mittelhochdeutsch, are you? You just found it helped you understand better?