Uncertain, perhaps related to Old French amaisnier.
Practice speaking and memorizing "amainar" and many other words and sentences in Catalan.