You don't need to rewrite them from scratch. They've had those companies for years and it's a good bet that they've done work to make it more portable. It was already available back when Macs were using PPC, so the code is obviously somewhat portable.