	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function frontend_ctr_exec
_frontend_ctr_exec:                     ## @frontend_ctr_exec
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r13d
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_PATH_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	leal	200(%rbx), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -88(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_DEBUG_VAR
	movq	%r12, %rdi
	callq	_DEBUG_STR
	movb	$0, (%r15)
	movq	_elf_path_cst@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)
	movq	$0, -72(%rbp)
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rsi
	callq	_RARCH_LOG
	testl	%r13d, %r13d
	je	LBB0_3
## %bb.1:
	movq	_RARCH_PATH_CONTENT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_path_is_empty
	testl	%eax, %eax
	je	LBB0_2
LBB0_3:
	testq	%r12, %r12
	je	LBB0_9
LBB0_4:
	cmpb	$0, (%r12)
	jne	LBB0_5
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	(%rbx), %edi
	callq	_path_get
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_strcpy
	movq	%r15, -72(%rbp)
	movq	$0, -64(%rbp)
	movl	(%rbx), %edi
	callq	_path_get
	leaq	L_.str.1(%rip), %rdi
	movq	%rax, %rsi
	callq	_RARCH_LOG
	testq	%r12, %r12
	jne	LBB0_4
	jmp	LBB0_9
LBB0_11:
	callq	___stack_chk_fail
LBB0_5:
	xorl	%eax, %eax
	callq	_envIsHomebrew
	testq	%rax, %rax
	jne	LBB0_6
## %bb.7:
	leaq	L_.str.2(%rip), %r15
	movq	%r15, %rdi
	callq	_RARCH_WARN
	movq	%r15, %rdi
	callq	_RARCH_WARN
	leaq	L_.str.3(%rip), %rdi
	callq	_RARCH_WARN
	leaq	L_.str.4(%rip), %rdi
	callq	_RARCH_WARN
	leaq	L_.str.5(%rip), %rdi
	callq	_RARCH_WARN
	leaq	L_.str.6(%rip), %rdi
	callq	_RARCH_WARN
	leaq	L_.str.7(%rip), %rdi
	callq	_RARCH_WARN
	movq	%r15, %rdi
	callq	_RARCH_WARN
	movq	%r15, %rdi
	callq	_RARCH_WARN
	leaq	-80(%rbp), %rsi
	movq	%r12, %rdi
	callq	_exec_cia
	jmp	LBB0_8
LBB0_6:
	leaq	-80(%rbp), %rsi
	movq	%r12, %rdi
	callq	_exec_3dsx_no_path_in_args
LBB0_8:
	movq	_ERROR_TEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CFG_LANGUAGE_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-92(%rbp), %r15
	movq	%r15, %rdi
	callq	_errorInit
	leaq	L_.str.8(%rip), %rdx
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movq	%r12, %rcx
	callq	_snprintf
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_errorText
	movq	%r15, %rdi
	callq	_errorDisp
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_PATH_MAX,4,2                   ## @PATH_MAX
	.comm	_elf_path_cst,8,3               ## @elf_path_cst
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Attempt to load core: [%s].\n"

	.comm	_RARCH_PATH_CONTENT,4,2         ## @RARCH_PATH_CONTENT
L_.str.1:                               ## @.str.1
	.asciz	"content path: [%s].\n"

L_.str.2:                               ## @.str.2
	.asciz	"\n"

L_.str.3:                               ## @.str.3
	.asciz	"Warning:\n"

L_.str.4:                               ## @.str.4
	.asciz	"First core launch may take 20\n"

L_.str.5:                               ## @.str.5
	.asciz	"seconds! Do not force quit\n"

L_.str.6:                               ## @.str.6
	.asciz	"before then or your memory\n"

L_.str.7:                               ## @.str.7
	.asciz	"card may be corrupted!\n"

	.comm	_ERROR_TEXT,4,2                 ## @ERROR_TEXT
	.comm	_CFG_LANGUAGE_EN,4,2            ## @CFG_LANGUAGE_EN
L_.str.8:                               ## @.str.8
	.asciz	"Can't launch core:%s"

	.no_dead_strip	_frontend_ctr_exec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function frontend_ctr_exec
_frontend_ctr_exec:                     ; @frontend_ctr_exec
	.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
	sub	sp, sp, #48
	mov	x23, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _PATH_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PATH_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x10, x10, #0x1fffffff0
	sub	x22, x9, x10
	mov	sp, x22
	add	w20, w8, #200
	mov	x9, x20
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x20, #15
	and	x9, x9, #0x1fffffff0
	sub	x21, x8, x9
	mov	sp, x21
	bl	_DEBUG_VAR
	mov	x0, x19
	bl	_DEBUG_STR
	strb	wzr, [x22]
Lloh10:
	adrp	x8, _elf_path_cst@GOTPAGE
Lloh11:
	ldr	x8, [x8, _elf_path_cst@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	stp	x8, xzr, [x29, #-80]
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_RARCH_LOG
	cbz	w23, LBB0_2
; %bb.1:
Lloh15:
	adrp	x23, _RARCH_PATH_CONTENT@GOTPAGE
Lloh16:
	ldr	x23, [x23, _RARCH_PATH_CONTENT@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_path_is_empty
	cbz	w0, LBB0_6
LBB0_2:
	cbz	x19, LBB0_4
LBB0_3:
	ldrb	w8, [x19]
	cbnz	w8, LBB0_8
LBB0_4:
	ldur	x8, [x29, #-56]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.5:
	sub	sp, x29, #48
	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
LBB0_6:
	ldr	w0, [x23]
	bl	_path_get
	mov	x1, x0
	mov	x0, x22
	bl	_strcpy
	stp	x22, xzr, [x29, #-72]
	ldr	w0, [x23]
	bl	_path_get
	mov	x1, x0
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_RARCH_LOG
	cbnz	x19, LBB0_3
	b	LBB0_4
LBB0_7:
	bl	___stack_chk_fail
LBB0_8:
	bl	_envIsHomebrew
	cbnz	x0, LBB0_10
; %bb.9:
Lloh22:
	adrp	x22, l_.str.2@PAGE
Lloh23:
	add	x22, x22, l_.str.2@PAGEOFF
	mov	x0, x22
	bl	_RARCH_WARN
	mov	x0, x22
	bl	_RARCH_WARN
Lloh24:
	adrp	x0, l_.str.3@PAGE
Lloh25:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_RARCH_WARN
Lloh26:
	adrp	x0, l_.str.4@PAGE
Lloh27:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_RARCH_WARN
Lloh28:
	adrp	x0, l_.str.5@PAGE
Lloh29:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_RARCH_WARN
Lloh30:
	adrp	x0, l_.str.6@PAGE
Lloh31:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_RARCH_WARN
Lloh32:
	adrp	x0, l_.str.7@PAGE
Lloh33:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_RARCH_WARN
	mov	x0, x22
	bl	_RARCH_WARN
	mov	x0, x22
	bl	_RARCH_WARN
	sub	x1, x29, #80
	mov	x0, x19
	bl	_exec_cia
	b	LBB0_11
LBB0_10:
	sub	x1, x29, #80
	mov	x0, x19
	bl	_exec_3dsx_no_path_in_args
LBB0_11:
Lloh34:
	adrp	x8, _ERROR_TEXT@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ERROR_TEXT@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
Lloh37:
	adrp	x8, _CFG_LANGUAGE_EN@GOTPAGE
Lloh38:
	ldr	x8, [x8, _CFG_LANGUAGE_EN@GOTPAGEOFF]
Lloh39:
	ldr	w2, [x8]
	sub	x0, x29, #84
	bl	_errorInit
Lloh40:
	adrp	x2, l_.str.8@PAGE
Lloh41:
	add	x2, x2, l_.str.8@PAGEOFF
	mov	x0, x21
	mov	x1, x20
	mov	x3, x19
	bl	_snprintf
	sub	x0, x29, #84
	mov	x1, x21
	bl	_errorText
	sub	x0, x29, #84
	bl	_errorDisp
	mov	w0, #0
	bl	_exit
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_PATH_MAX,4,2                   ; @PATH_MAX
	.comm	_elf_path_cst,8,3               ; @elf_path_cst
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Attempt to load core: [%s].\n"

	.comm	_RARCH_PATH_CONTENT,4,2         ; @RARCH_PATH_CONTENT
l_.str.1:                               ; @.str.1
	.asciz	"content path: [%s].\n"

l_.str.2:                               ; @.str.2
	.asciz	"\n"

l_.str.3:                               ; @.str.3
	.asciz	"Warning:\n"

l_.str.4:                               ; @.str.4
	.asciz	"First core launch may take 20\n"

l_.str.5:                               ; @.str.5
	.asciz	"seconds! Do not force quit\n"

l_.str.6:                               ; @.str.6
	.asciz	"before then or your memory\n"

l_.str.7:                               ; @.str.7
	.asciz	"card may be corrupted!\n"

	.comm	_ERROR_TEXT,4,2                 ; @ERROR_TEXT
	.comm	_CFG_LANGUAGE_EN,4,2            ; @CFG_LANGUAGE_EN
l_.str.8:                               ; @.str.8
	.asciz	"Can't launch core:%s"

	.no_dead_strip	_frontend_ctr_exec
.subsections_via_symbols
