It sounds like you are experiencing an issue with the Trusted Platform Module (TPM) on your Ryzen 7 5800X processor, which is causing your PC to shut down. This is likely due to the fact that the attestation status is not supported, which is a security feature that verifies the authenticity of your hardware and software.
To resolve this issue, there are a few steps you can try:
Check your motherboard manual to ensure that it is compatible with the Ryzen 7 5800X processor and supports TPM 2.0. You mentioned that you have an ASUS B450 E Gaming ROG motherboard, which should be compatible with the processor and support TPM 2.0. However, it is always best to double-check.
Ensure that your BIOS is up-to-date. You mentioned that you have already updated to the latest BIOS version, which is a good first step.
Check your Windows 11 settings to ensure that the TPM is enabled. You can do this by going to the Settings app, clicking on "Update & Security", and then clicking on "Device security". From there, you can check if TPM is enabled and if it is functioning correctly.
If all else fails, you may need to reset your PC or consider upgrading to a newer motherboard that supports TPM 2.0. It's worth noting that the B450 E Gaming ROG motherboard should support TPM 2.0, so this may not be necessary.
If you do decide to upgrade your motherboard, a B550-XE motherboard should support the Ryzen 7 5800X processor and TPM 2.0. However, it is always a good idea to double-check the compatibility before making any purchases.