From the same root of Italian macigno (“boulder”), with a change of gender.
masegna f (plural masegne)