Why enable IRQ so

In the source code of MCU,reset_handler_stage_two() is called in reset_handler().

My question is why enable IRQ so quickly, just after reset all system interrupt priorities? Can we eanble IRQ brefore calling armcm_main()in the end of reset_handler_stage_two()?

What’s the difference between those two solutions?