	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_task_push_load_content_with_new_core_from_companion_ui ## -- Begin function task_push_load_content_with_new_core_from_companion_ui
	.p2align	4, 0x90
_task_push_load_content_with_new_core_from_companion_ui: ## @task_push_load_content_with_new_core_from_companion_ui
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r13
	xorl	%eax, %eax
	callq	_global_get_ptr
	movq	%rax, %rbx
	movq	_RARCH_PATH_CONTENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_path_set
	movq	_RARCH_PATH_CORE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_path_set
	movq	__launched_from_cli@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.1:
	movq	(%rbx), %rdi
	testq	%r15, %r15
	je	LBB0_3
## %bb.2:
	movq	%r15, %rsi
	movl	$8, %edx
	callq	_strlcpy
	jmp	LBB0_4
LBB0_3:
	movb	$0, (%rdi)
LBB0_4:
	movq	%r14, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_task_load_content_callback
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setne	%cl
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RARCH_PATH_CONTENT,4,2         ## @RARCH_PATH_CONTENT
	.comm	_RARCH_PATH_CORE,4,2            ## @RARCH_PATH_CORE
	.comm	__launched_from_cli,4,2         ## @_launched_from_cli
	.comm	_CMD_EVENT_LOAD_CORE,4,2        ## @CMD_EVENT_LOAD_CORE
	.comm	_RARCH_MENU_CTL_SET_PENDING_QUICK_MENU,4,2 ## @RARCH_MENU_CTL_SET_PENDING_QUICK_MENU
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_task_push_load_content_with_new_core_from_companion_ui ; -- Begin function task_push_load_content_with_new_core_from_companion_ui
	.p2align	2
_task_push_load_content_with_new_core_from_companion_ui: ; @task_push_load_content_with_new_core_from_companion_ui
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x23, x0
	bl	_global_get_ptr
	mov	x21, x0
Lloh0:
	adrp	x8, _RARCH_PATH_CONTENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RARCH_PATH_CONTENT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_path_set
Lloh3:
	adrp	x8, _RARCH_PATH_CORE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RARCH_PATH_CORE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_path_set
Lloh6:
	adrp	x8, __launched_from_cli@GOTPAGE
Lloh7:
	ldr	x8, [x8, __launched_from_cli@GOTPAGEOFF]
Lloh8:
	str	wzr, [x8]
	cbz	x21, LBB0_4
; %bb.1:
	ldr	x0, [x21]
	cbz	x20, LBB0_3
; %bb.2:
	mov	x1, x20
	mov	w2, #8
	bl	_strlcpy
	b	LBB0_4
LBB0_3:
	strb	wzr, [x0]
LBB0_4:
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	bl	_task_load_content_callback
	cmp	w0, #0
	cset	w0, ne
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RARCH_PATH_CONTENT,4,2         ; @RARCH_PATH_CONTENT
	.comm	_RARCH_PATH_CORE,4,2            ; @RARCH_PATH_CORE
	.comm	__launched_from_cli,4,2         ; @_launched_from_cli
	.comm	_CMD_EVENT_LOAD_CORE,4,2        ; @CMD_EVENT_LOAD_CORE
	.comm	_RARCH_MENU_CTL_SET_PENDING_QUICK_MENU,4,2 ; @RARCH_MENU_CTL_SET_PENDING_QUICK_MENU
.subsections_via_symbols
