Much earlier is:
Logan-Water and Logan-braes-
I helped a bonnie lassie on wi' her claiths;
First wi' her stockings, and then wi' her shoon;
And she gave me the glaiks when a' was done.
But had I kend what I ken now,
I should have bang'd her belly fou,
Her belly fou, and her apron up;
And hae shew'd her the way to Logan-kirk.