stir mayonnaise, garlic, rosemary, salt, and black pepper together in a bowl. place chicken pieces into a 9x13-inch baking dish, spread mayonnaise mixture over chicken, and top with parmesan cheese.