wryly (adv.)
1570s, from wry + -ly (2).