Etymology
Today it means: In a contorted manner. Full definition →
From contorted + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.