Ion distributions at the dayside magnetopause