The Shulchan Aruch ruled that on Yom Kippur they circumcise after keri'at haTorah and bless “Asher Kidesh” without a cup. The Beit Yosef rejected giving the wine to the infant himself. The Rema wrote to circumcise before the megillah, but later poskim held that the megillah comes first.