Dude you don't need twrp to root. He has no obligation other than twrp magisk anyway. It doesn't make any sense
https://www.getdroidtips.com/how-to-root-poco-x4-gt/
Post in thread '23.1.9/10' https://xiaomi.eu/community/threads/23-1-9-10.67900/post-683123
https://sourceforge.net/projects/recovery-for-xiaomi-devices/files/mars/twrp-3.7.0_12-v7.0_A13-mars-skkk.img/download
https://sourceforge.net/projects/recovery-for-xiaomi-devices/files/alioth/twrp-3.7.0_12-v7.0_A13-alioth-skkk.img/download
Post in thread '23.1.9/10' https://xiaomi.eu/community/threads/23-1-9-10.67900/post-683123