moto x pure i need help booting it back up to normal state?

A

AC Question

I have a moto x pure edition I am rooted and have a unlocked bootloader was trying out the rom broken os ironically my phone restarted itself and now when I try to reboot in recovery mode with twrp installed I just get the twrp loading screen. and when I load into the phone like normal I just get stuck on the boot logo. the only mode I can get in and out of is the bootloader mode. if anyone can help me I would greatly appreciate it.