Interesting question, I'd say both.
The harder it is to stay in the middle class (by arbitrary standard of living) or "ascend" by incorporating in Ireland, the more hesitant people are regarding children. F.e. if middle class population % is big (like in Czechia or Sweden), there is higher fertility.