1822, Scottish, of unknown origin. Related: Yanked; yanking. The noun is 1818 in sense of "sudden blow, cuff."
Talking: He kept up his tedious yammer (1500+)
[fr Scots dialect, related to German Jammer, ''lamentation, misery'']
The penis; jang,wang: A macho machine, a celebration of the yang, bang, whang/ Like I need a three-foot yang-yang (1970s+)