1. flash the zip in magsik
2. Reboot to twrp and flash current twrp image
3. Reboot recovery and flash magisk
you do not have to unbrick if twrp fails to boot or decrypt... just flash magisk_patched boot image to both slots and reboot
nothing will be wiped