If you Google for ‘xfs’ and ‘Mac’ then there appear to be several options available. Not tried them myself but I have used the Paragon drivers on Windows to read xfs formatted drives, although it looks like there are other free options now available for use on macOS. The other option I see mentioned is to run up a Linux VM under macOS as Linux has built-in support for xfs.