(Apple) Rewrite apple_run_core