Arcana Coelestia #4587
4587. 'And it happened in her suffering severely, in giving birth' means following temptations. This is clear from what has been stated immediately above in 4586, and so is clear without any further explanation.
Arcana Coelestia #1145
1145. That 'these are the generations of the sons of Noah' means derivative matters of doctrine and derivative forms of worship in the Ancient Church, which in general is Noah, is clear from the meaning of 'generations', dealt with already. In the external or literal sense, generations involve one being begotten from another, as is well known; but in the internal sense everything has regard to things that are celestial and spiritual, that is, to what are matters of charity and of faith. Thus 'generations' here means things of the Church, and therefore matters of doctrine, as will be better evident from what follows.