Crystallinity versus mass-loss rate in asymptotic giant branch stars