It looks like Anne Keeffe may be the mother of Ellen Walsh and not Mary Anne Walsh. James Walsh the father.
Ireland, Catholic Parish Registers, 1655-1915; Name: Ellen Walsh; Baptism Age: 0; Event Type: Baptism; Birth Date: 1791; Baptism Date: 4 Aug 1791; Baptism Place: Cork, St Mary's, Cork city, Ireland; Diocese: Cork and Ross; Father: James Walsh; Mother: Anne Keeffe