	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function frontend_ps3_exec
_frontend_ps3_exec:                     ## @frontend_ps3_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	%rbx
	subq	$280, %rsp                      ## imm = 0x118
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	xorl	%eax, %eax
	callq	_verbosity_is_enabled
	movl	%eax, %r14d
	xorl	%eax, %eax
	callq	_verbosity_enable
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	callq	_RARCH_LOG
	testl	%ebx, %ebx
	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:
	movq	%r15, %rdi
	xorl	%esi, %esi
	jmp	LBB0_4
LBB0_2:
	movl	(%rbx), %edi
	callq	_path_get
	leaq	-288(%rbp), %rbx
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	$256, %edx                      ## imm = 0x100
	callq	_strlcpy
	movq	%rbx, -304(%rbp)
	movq	$0, -296(%rbp)
	leaq	-304(%rbp), %rsi
	movq	%r15, %rdi
LBB0_4:
	xorl	%edx, %edx
	callq	_frontend_ps3_exec_exitspawn
	xorl	%eax, %eax
	callq	_sceNpTerm
	xorl	%eax, %eax
	callq	_sys_net_finalize_network
	movq	_CELL_SYSMODULE_SYSUTIL_NP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cellSysmoduleUnloadModule
	movq	_CELL_SYSMODULE_NET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cellSysmoduleUnloadModule
	xorl	%eax, %eax
	testl	%r14d, %r14d
	je	LBB0_6
## %bb.5:
	callq	_verbosity_enable
	jmp	LBB0_7
LBB0_6:
	callq	_verbosity_disable
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	addq	$280, %rsp                      ## imm = 0x118
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Attempt to load executable: [%s].\n"

	.comm	_RARCH_PATH_CONTENT,4,2         ## @RARCH_PATH_CONTENT
	.comm	_CELL_SYSMODULE_SYSUTIL_NP,4,2  ## @CELL_SYSMODULE_SYSUTIL_NP
	.comm	_CELL_SYSMODULE_NET,4,2         ## @CELL_SYSMODULE_NET
	.no_dead_strip	_frontend_ps3_exec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function frontend_ps3_exec
_frontend_ps3_exec:                     ; @frontend_ps3_exec
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #336
	.cfi_def_cfa_offset 336
	stp	x22, x21, [sp, #288]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #304]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #320]            ; 16-byte Folded Spill
	add	x29, sp, #320
	.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	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	bl	_verbosity_is_enabled
	mov	x19, x0
	bl	_verbosity_enable
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_RARCH_LOG
	cbz	w21, LBB0_2
; %bb.1:
Lloh5:
	adrp	x21, _RARCH_PATH_CONTENT@GOTPAGE
Lloh6:
	ldr	x21, [x21, _RARCH_PATH_CONTENT@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_path_is_empty
	cbz	w0, LBB0_3
LBB0_2:
	mov	x0, x20
	mov	x1, #0
	b	LBB0_4
LBB0_3:
	ldr	w0, [x21]
	bl	_path_get
	mov	x1, x0
	add	x21, sp, #24
	add	x0, sp, #24
	mov	w2, #256
	bl	_strlcpy
	stp	x21, xzr, [sp, #8]
	add	x1, sp, #8
	mov	x0, x20
LBB0_4:
	mov	x2, #0
	bl	_frontend_ps3_exec_exitspawn
	bl	_sceNpTerm
	bl	_sys_net_finalize_network
Lloh7:
	adrp	x8, _CELL_SYSMODULE_SYSUTIL_NP@GOTPAGE
Lloh8:
	ldr	x8, [x8, _CELL_SYSMODULE_SYSUTIL_NP@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_cellSysmoduleUnloadModule
Lloh10:
	adrp	x8, _CELL_SYSMODULE_NET@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CELL_SYSMODULE_NET@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_cellSysmoduleUnloadModule
	cbz	w19, LBB0_6
; %bb.5:
	bl	_verbosity_enable
	b	LBB0_7
LBB0_6:
	bl	_verbosity_disable
LBB0_7:
	ldur	x8, [x29, #-40]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	ldp	x29, x30, [sp, #320]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #304]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #288]            ; 16-byte Folded Reload
	add	sp, sp, #336
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Attempt to load executable: [%s].\n"

	.comm	_RARCH_PATH_CONTENT,4,2         ; @RARCH_PATH_CONTENT
	.comm	_CELL_SYSMODULE_SYSUTIL_NP,4,2  ; @CELL_SYSMODULE_SYSUTIL_NP
	.comm	_CELL_SYSMODULE_NET,4,2         ; @CELL_SYSMODULE_NET
	.no_dead_strip	_frontend_ps3_exec
.subsections_via_symbols
