Into the red: An M-band study of the chemistry and rotation of β Pictoris b at high spectral resolution