Green’s Dictionary of Slang

tallywags n.

also tarriwags, tarrywags
[? SE tally, a notched stick or tail n. (2)]

[late 17C–early 19C] the testicles; the male genitals.