It is strongly recommended to use 32-bit Windows XP SP3 . The 64-bit version of XP has extremely limited driver support for modern audio, video, and USB hardware.
Windows XP on UEFI: Yes, It’s Possible (But Should You Do It?) install windows xp on uefi system
During the installation process, you may encounter an error message indicating that Windows XP is not compatible with the UEFI system. To overcome this: It is strongly recommended to use 32-bit Windows XP SP3