This is <1% of the total code that Apple writes

Yeah, the most important, least readable, and oldest code. It's exactly the stuff that's expensive to maintain.

It's not that expensive.