Masochistically has 2 different meanings across 1 category:
Adverb
in a masochistic manner
"masochistically he insisted on an even greater workload"
In a masochistic manner.