But if the progress bar is stuck underneath the Apple icon, you can try Safe Mode again after turning off the FileVault. Then you can see if it brings up the login window. If you succeed in turning off FileVault, you can restart your Mac normally. This makes Safe Mode be able to check and repair errors before the log-in window appears.
You could decrypt your startup drive temporarily through Reset Password Assistant. Sometimes Mac computer won't let you start in to Safe Mode because FileVault is enabled. You can find login items on macOS Ventura in System Settings. Click the Apple icon > System Preferences. If your Mac loads successfully in Safe Mode, try to uncheck login items in Users & Groups. Release the Shift to continue booting M1 Mac to Safe Mode, then try to uncheck login items.Press and hold the Shift key while tapping the power button to restart your Mac.