	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_task_push_load_new_core        ## -- Begin function task_push_load_new_core
	.p2align	4, 0x90
_task_push_load_new_core:               ## @task_push_load_new_core
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%ecx, %r14d
	movq	%rdi, %rsi
	movq	_RARCH_PATH_CORE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_path_set
	movq	_CMD_EVENT_LOAD_CORE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_command_event
	movq	_FRONTEND_FORK_CORE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_frontend_driver_set_fork
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	$1, %ebx
	movl	%r14d, %edi
	movl	$1, %esi
	callq	_retroarch_set_current_core_type
LBB0_2:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RARCH_PATH_CORE,4,2            ## @RARCH_PATH_CORE
	.comm	_CMD_EVENT_LOAD_CORE,4,2        ## @CMD_EVENT_LOAD_CORE
	.comm	_FRONTEND_FORK_CORE,4,2         ## @FRONTEND_FORK_CORE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_task_push_load_new_core        ; -- Begin function task_push_load_new_core
	.p2align	2
_task_push_load_new_core:               ; @task_push_load_new_core
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x3
	mov	x1, x0
Lloh0:
	adrp	x8, _RARCH_PATH_CORE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RARCH_PATH_CORE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_path_set
Lloh3:
	adrp	x8, _CMD_EVENT_LOAD_CORE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CMD_EVENT_LOAD_CORE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_command_event
Lloh6:
	adrp	x8, _FRONTEND_FORK_CORE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FRONTEND_FORK_CORE@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_frontend_driver_set_fork
	cbz	w0, LBB0_2
; %bb.1:
	mov	w20, #1
	mov	x0, x19
	mov	w1, #1
	bl	_retroarch_set_current_core_type
	b	LBB0_3
LBB0_2:
	mov	w20, #0
LBB0_3:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RARCH_PATH_CORE,4,2            ; @RARCH_PATH_CORE
	.comm	_CMD_EVENT_LOAD_CORE,4,2        ; @CMD_EVENT_LOAD_CORE
	.comm	_FRONTEND_FORK_CORE,4,2         ; @FRONTEND_FORK_CORE
.subsections_via_symbols
