	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_task_push_start_current_core   ## -- Begin function task_push_start_current_core
	.p2align	4, 0x90
_task_push_start_current_core:          ## @task_push_start_current_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$128, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_global_get_ptr
	movq	%rax, %r12
	xorl	%eax, %eax
	callq	_config_get_ptr
	testq	%r14, %r14
	je	LBB0_24
## %bb.1:
	movq	%rax, %r15
	movl	4(%rax), %eax
	movl	%eax, -40(%rbp)
	movq	_RARCH_CTL_IS_IPS_PREF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_rarch_ctl
	movq	%rax, -48(%rbp)
	movq	_RARCH_CTL_IS_BPS_PREF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_rarch_ctl
	movq	%rax, -56(%rbp)
	movq	_RARCH_CTL_IS_UPS_PREF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_rarch_ctl
	movq	%rax, -64(%rbp)
	movq	_RARCH_CTL_IS_PATCH_BLOCKED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_rarch_ctl
	movq	%rax, -72(%rbp)
	movq	_RARCH_CTL_IS_MISSING_BIOS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_rarch_ctl
	movq	%rax, -80(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -160(%rbp)
	movaps	%xmm0, -144(%rbp)
	movups	%xmm0, -132(%rbp)
	movaps	%xmm0, -112(%rbp)
	movaps	%xmm0, -96(%rbp)
	testq	%r12, %r12
	je	LBB0_8
## %bb.2:
	movl	8(%r12), %edi
	callq	_string_is_empty
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movl	8(%r12), %edi
	callq	_strdup
	movq	%rax, -152(%rbp)
LBB0_4:
	movl	4(%r12), %edi
	callq	_string_is_empty
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movl	4(%r12), %edi
	callq	_strdup
	movq	%rax, -144(%rbp)
LBB0_6:
	movl	(%r12), %edi
	callq	_string_is_empty
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movl	(%r12), %edi
	callq	_strdup
	movq	%rax, -136(%rbp)
LBB0_8:
	movl	(%r15), %edi
	callq	_string_is_empty
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:
	cmpq	$0, (%r14)
	jne	LBB0_12
LBB0_11:
	movq	_menu_content_environment_get@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
LBB0_12:
	movq	_RARCH_PATH_CONTENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_path_clear
	movq	_CORE_TYPE_PLAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %ebx
	movl	$1, %esi
	callq	_retroarch_set_current_core_type
	leaq	-160(%rbp), %rdi
	callq	_firmware_update_status
	testq	%rax, %rax
	jne	LBB0_16
## %bb.13:
	movq	%r14, %rdi
	callq	_content_load
	testl	%eax, %eax
	je	LBB0_14
## %bb.15:
	movl	$1, %ebx
	movl	$1, %edi
	xorl	%esi, %esi
	callq	_task_push_to_history_list
	jmp	LBB0_16
LBB0_9:
	movl	(%r15), %edi
	callq	_strdup
	movq	%rax, -160(%rbp)
	cmpq	$0, (%r14)
	jne	LBB0_12
	jmp	LBB0_11
LBB0_14:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_retroarch_menu_running
LBB0_16:
	movq	-152(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.17:
	callq	_free
LBB0_18:
	movq	-144(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_20
## %bb.19:
	callq	_free
LBB0_20:
	movq	-136(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_22
## %bb.21:
	callq	_free
LBB0_22:
	movq	-160(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_24
## %bb.23:
	callq	_free
LBB0_24:
	movl	%ebx, %eax
	addq	$128, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RARCH_CTL_IS_IPS_PREF,4,2      ## @RARCH_CTL_IS_IPS_PREF
	.comm	_RARCH_CTL_IS_BPS_PREF,4,2      ## @RARCH_CTL_IS_BPS_PREF
	.comm	_RARCH_CTL_IS_UPS_PREF,4,2      ## @RARCH_CTL_IS_UPS_PREF
	.comm	_RARCH_CTL_IS_PATCH_BLOCKED,4,2 ## @RARCH_CTL_IS_PATCH_BLOCKED
	.comm	_RARCH_CTL_IS_MISSING_BIOS,4,2  ## @RARCH_CTL_IS_MISSING_BIOS
	.comm	_menu_content_environment_get,8,3 ## @menu_content_environment_get
	.comm	_RARCH_PATH_CONTENT,4,2         ## @RARCH_PATH_CONTENT
	.comm	_CORE_TYPE_PLAIN,4,2            ## @CORE_TYPE_PLAIN
	.comm	_MESSAGE_QUEUE_ICON_DEFAULT,4,2 ## @MESSAGE_QUEUE_ICON_DEFAULT
	.comm	_MESSAGE_QUEUE_CATEGORY_INFO,4,2 ## @MESSAGE_QUEUE_CATEGORY_INFO
	.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_start_current_core   ; -- Begin function task_push_start_current_core
	.p2align	2
_task_push_start_current_core:          ; @task_push_start_current_core
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	mov	x19, x0
	bl	_global_get_ptr
	mov	x21, x0
	bl	_config_get_ptr
	cbz	x19, LBB0_22
; %bb.1:
	mov	x20, x0
	ldr	w8, [x0, #4]
	str	w8, [sp, #120]
Lloh0:
	adrp	x8, _RARCH_CTL_IS_IPS_PREF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RARCH_CTL_IS_IPS_PREF@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_rarch_ctl
	str	x0, [sp, #112]
Lloh3:
	adrp	x8, _RARCH_CTL_IS_BPS_PREF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RARCH_CTL_IS_BPS_PREF@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_rarch_ctl
	str	x0, [sp, #104]
Lloh6:
	adrp	x8, _RARCH_CTL_IS_UPS_PREF@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RARCH_CTL_IS_UPS_PREF@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_rarch_ctl
	str	x0, [sp, #96]
Lloh9:
	adrp	x8, _RARCH_CTL_IS_PATCH_BLOCKED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RARCH_CTL_IS_PATCH_BLOCKED@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_rarch_ctl
	str	x0, [sp, #88]
Lloh12:
	adrp	x8, _RARCH_CTL_IS_MISSING_BIOS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RARCH_CTL_IS_MISSING_BIOS@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_rarch_ctl
	str	x0, [sp, #80]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp]
	stur	q0, [sp, #28]
	stp	q0, q0, [sp, #48]
	cbz	x21, LBB0_8
; %bb.2:
	ldr	w0, [x21, #8]
	bl	_string_is_empty
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	w0, [x21, #8]
	bl	_strdup
	str	x0, [sp, #8]
LBB0_4:
	ldr	w0, [x21, #4]
	bl	_string_is_empty
	cbnz	w0, LBB0_6
; %bb.5:
	ldr	w0, [x21, #4]
	bl	_strdup
	str	x0, [sp, #16]
LBB0_6:
	ldr	w0, [x21]
	bl	_string_is_empty
	cbnz	w0, LBB0_8
; %bb.7:
	ldr	w0, [x21]
	bl	_strdup
	str	x0, [sp, #24]
LBB0_8:
	ldr	w0, [x20]
	bl	_string_is_empty
	cbz	w0, LBB0_24
; %bb.9:
	ldr	x8, [x19]
	cbnz	x8, LBB0_11
LBB0_10:
Lloh15:
	adrp	x8, _menu_content_environment_get@GOTPAGE
Lloh16:
	ldr	x8, [x8, _menu_content_environment_get@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_11:
Lloh18:
	adrp	x8, _RARCH_PATH_CONTENT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _RARCH_PATH_CONTENT@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_path_clear
Lloh21:
	adrp	x8, _CORE_TYPE_PLAIN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _CORE_TYPE_PLAIN@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	mov	w20, #1
	mov	w1, #1
	bl	_retroarch_set_current_core_type
	mov	x0, sp
	bl	_firmware_update_status
	cbnz	x0, LBB0_14
; %bb.12:
	mov	x0, x19
	bl	_content_load
	cbz	w0, LBB0_25
; %bb.13:
	mov	w20, #1
	mov	w0, #1
	mov	w1, #0
	bl	_task_push_to_history_list
LBB0_14:
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_16
LBB0_15:
	bl	_free
LBB0_16:
	ldr	x0, [sp, #16]
	cbz	x0, LBB0_18
; %bb.17:
	bl	_free
LBB0_18:
	ldr	x0, [sp, #24]
	cbz	x0, LBB0_20
; %bb.19:
	bl	_free
LBB0_20:
	ldr	x0, [sp]
	cbz	x0, LBB0_23
; %bb.21:
	bl	_free
	b	LBB0_23
LBB0_22:
	mov	w20, #0
LBB0_23:
	mov	x0, x20
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_24:
	ldr	w0, [x20]
	bl	_strdup
	str	x0, [sp]
	ldr	x8, [x19]
	cbnz	x8, LBB0_11
	b	LBB0_10
LBB0_25:
	bl	_retroarch_menu_running
	mov	w20, #0
	ldr	x0, [sp, #8]
	cbnz	x0, LBB0_15
	b	LBB0_16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_RARCH_CTL_IS_IPS_PREF,4,2      ; @RARCH_CTL_IS_IPS_PREF
	.comm	_RARCH_CTL_IS_BPS_PREF,4,2      ; @RARCH_CTL_IS_BPS_PREF
	.comm	_RARCH_CTL_IS_UPS_PREF,4,2      ; @RARCH_CTL_IS_UPS_PREF
	.comm	_RARCH_CTL_IS_PATCH_BLOCKED,4,2 ; @RARCH_CTL_IS_PATCH_BLOCKED
	.comm	_RARCH_CTL_IS_MISSING_BIOS,4,2  ; @RARCH_CTL_IS_MISSING_BIOS
	.comm	_menu_content_environment_get,8,3 ; @menu_content_environment_get
	.comm	_RARCH_PATH_CONTENT,4,2         ; @RARCH_PATH_CONTENT
	.comm	_CORE_TYPE_PLAIN,4,2            ; @CORE_TYPE_PLAIN
	.comm	_MESSAGE_QUEUE_ICON_DEFAULT,4,2 ; @MESSAGE_QUEUE_ICON_DEFAULT
	.comm	_MESSAGE_QUEUE_CATEGORY_INFO,4,2 ; @MESSAGE_QUEUE_CATEGORY_INFO
	.comm	_RARCH_MENU_CTL_SET_PENDING_QUICK_MENU,4,2 ; @RARCH_MENU_CTL_SET_PENDING_QUICK_MENU
.subsections_via_symbols
