From a (deprecated template usage) [etyl] Manx form of McPhail. Also an English nickname from the quail bird.
Quaile