Stir together butter and garlic.
Spread butter mixture evenly over bottom half of bread. Spread mayonnaise evenly over top half of bread. Layer bottom half evenly with ham slices, asparagus, and cheese slices; place on a baking sheet.
Broil 2 inches from heat 1 minute or just until cheese melts. Top with remaining bread half.