Inherited from Latin glattīre, with /p/ for uncertain reasons.
Practice speaking and memorizing "glapir" and many other words and sentences in Catalan.