Well, I've been in reverse engineering circles since 2007... Including Apple related ones, I don't have any issue with AI being used to clean-room a reverse engineering session, but by virtue of having been a former employee in any capacity, your code is a massive liability. I wouldn't take his code, ever, unless Apple literally hand signed by their highest layer and CEO that his code was okay for me to use for my OS or something like that, which would never happen.