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