Damaged ignition switch?

My cylinder assembly freely pulls out of the ignition switch regardless of what position it's in. The pin seems fine on the cylinder, but it looks like the switch is damaged where the pin is supposed to seat.

IMG20241003143302.jpg
IMG20241003143233.jpg

IMG20241003143209.jpg

IMG20241003144303.jpg