	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_menu_subsystem_populate        ## -- Begin function menu_subsystem_populate
	.p2align	4, 0x90
_menu_subsystem_populate:               ## @menu_subsystem_populate
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -112(%rbp)                ## 8-byte Spill
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%eax, %eax
	callq	_config_get_ptr
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movl	4(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_string_is_equal
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	leaq	l_.str.2(%rip), %rcx
	leaq	L_.str.1(%rip), %rdx
	leaq	-64(%rbp), %rdi
	movl	$16, %esi
	xorl	%eax, %eax
	callq	_snprintf
	testq	%r13, %r13
	je	LBB0_39
## %bb.1:
	movq	_subsystem_current_count@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_39
## %bb.2:
	xorl	%r15d, %r15d
	jmp	LBB0_3
LBB0_36:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_strlcpy
	movq	%r12, %rsp
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_37:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %ebx
	movq	_MENU_ENUM_LABEL_SUBSYSTEM_ADD@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_msg_hash_to_str
	movl	(%r14), %ecx
	movq	_MENU_SETTINGS_SUBSYSTEM_ADD@GOTPCREL(%rip), %rdx
	movq	(%rdx), %r8
	addq	%r15, %r8
	subq	$8, %rsp
	movl	%ebx, %edi
LBB0_38:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	%eax, %edx
	xorl	%r9d, %r9d
	pushq	$0
	callq	_menu_entries_append_enum
	addq	$16, %rsp
	movq	-136(%rbp), %rsp                ## 8-byte Reload
	incq	%r15
	addq	$24, %r13
	movq	_subsystem_current_count@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpq	%rax, %r15
	jae	LBB0_39
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_17 Depth 2
	movq	%rsp, %r14
	movq	_PATH_MAX_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	xorl	%eax, %eax
	callq	_content_get_subsystem
	movl	%eax, %eax
	cmpq	%rax, %r15
	movq	%r14, -136(%rbp)                ## 8-byte Spill
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	jne	LBB0_29
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_content_get_subsystem_rom_id
	movq	8(%r13), %rcx
	cmpl	(%r13), %eax
	jge	LBB0_13
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
                                        ## kill: def $esi killed $esi killed $rsi
	leaq	L_.str.3(%rip), %rdx
	leaq	-64(%rbp), %r8
	xorl	%eax, %eax
	callq	_snprintf
	cmpl	$0, -76(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-104(%rbp), %rax                ## 8-byte Reload
	cmpl	$0, (%rax)
	jne	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rsp, -88(%rbp)                 ## 8-byte Spill
	movq	_PATH_MAX_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	movq	16(%r13), %r13
	xorl	%eax, %eax
	callq	_content_get_subsystem_rom_id
	cltq
	movq	(%r13,%rax,8), %r9
	movq	%r14, %rdi
	movl	%ebx, %esi
	leaq	L_.str.4(%rip), %rdx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leaq	L_.str.5(%rip), %r8
	xorl	%eax, %eax
	callq	_snprintf
	testl	%eax, %eax
	js	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_PATH_MAX_LENGTH@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jl	LBB0_11
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_verbosity_is_enabled
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.6(%rip), %rdi
	callq	_RARCH_WARN
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movl	%r12d, %edx
	callq	_strlcpy
	movq	-88(%rbp), %rsp                 ## 8-byte Reload
	movq	-96(%rbp), %r13                 ## 8-byte Reload
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %r14d
	movq	_MENU_ENUM_LABEL_SUBSYSTEM_ADD@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_msg_hash_to_str
	movl	(%rbx), %ecx
	movq	_MENU_SETTINGS_SUBSYSTEM_ADD@GOTPCREL(%rip), %rdx
	movq	(%rdx), %r8
	addq	%r15, %r8
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r13), %rcx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	leaq	L_.str.10(%rip), %rdx
	xorl	%eax, %eax
	callq	_snprintf
	cmpl	$0, -76(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_37
## %bb.30:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-104(%rbp), %rax                ## 8-byte Reload
	cmpl	$0, (%rax)
	jne	LBB0_37
## %bb.31:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, (%r13)
	jle	LBB0_37
## %bb.32:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	movq	%rsp, %r12
	movq	_PATH_MAX_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	movq	16(%r13), %rax
	movq	(%rax), %r9
	movq	%r14, %rdi
	movl	%ebx, %esi
	leaq	L_.str.4(%rip), %rdx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leaq	L_.str.5(%rip), %r8
	xorl	%eax, %eax
	callq	_snprintf
	testl	%eax, %eax
	js	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_PATH_MAX_LENGTH@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jl	LBB0_36
LBB0_34:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_verbosity_is_enabled
	testq	%rax, %rax
	je	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.6(%rip), %rdi
	callq	_RARCH_WARN
	jmp	LBB0_36
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rbx
	movl	%ebx, %esi
	leaq	L_.str.7(%rip), %rdx
	leaq	-64(%rbp), %r8
	xorl	%eax, %eax
	callq	_snprintf
	cmpl	$0, -76(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_27
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-104(%rbp), %rax                ## 8-byte Reload
	cmpl	$0, (%rax)
	jne	LBB0_27
## %bb.15:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	movq	%rsp, -88(%rbp)                 ## 8-byte Spill
	movq	_PATH_MAX_LENGTH@GOTPCREL(%rip), %r13
	movl	(%r13), %r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movl	(%r13), %eax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -128(%rbp)                ## 8-byte Spill
	movb	$0, (%r14)
	xorl	%eax, %eax
	callq	_content_get_subsystem_rom_id
	testl	%eax, %eax
	je	LBB0_20
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r13d, %r13d
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_17 Depth=2
	incl	%r13d
	xorl	%eax, %eax
	callq	_content_get_subsystem_rom_id
	cmpl	%eax, %r13d
	jae	LBB0_20
LBB0_17:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r13d, %edi
	callq	_content_get_subsystem_rom
	movl	%eax, %edi
	callq	_path_basename
	movq	%r14, %rdi
	movq	%rax, %rsi
	movl	%r12d, %edx
	callq	_strlcat
	xorl	%eax, %eax
	callq	_content_get_subsystem_rom_id
	decl	%eax
	cmpl	%eax, %r13d
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=2
	movq	%r14, %rdi
	leaq	L_.str.8(%rip), %rsi
	movl	%r12d, %edx
	callq	_strlcat
	jmp	LBB0_19
LBB0_20:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	callq	_string_is_empty
	testl	%eax, %eax
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	jne	LBB0_26
## %bb.21:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-128(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rdi
	movq	-120(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	leaq	L_.str.9(%rip), %rdx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%r14, %r8
	xorl	%eax, %eax
	callq	_snprintf
	testl	%eax, %eax
	js	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_PATH_MAX_LENGTH@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jl	LBB0_25
LBB0_23:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_verbosity_is_enabled
	testq	%rax, %rax
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.6(%rip), %rdi
	callq	_RARCH_WARN
LBB0_25:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_strlcpy
LBB0_26:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-88(%rbp), %rsp                 ## 8-byte Reload
LBB0_27:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %r14d
	movq	_MENU_ENUM_LABEL_SUBSYSTEM_LOAD@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_msg_hash_to_str
	movl	(%rbx), %ecx
	movq	_MENU_SETTINGS_SUBSYSTEM_LOAD@GOTPCREL(%rip), %rdx
	movq	(%rdx), %r8
LBB0_28:                                ##   in Loop: Header=BB0_3 Depth=1
	subq	$8, %rsp
	movl	%r14d, %edi
	jmp	LBB0_38
LBB0_39:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_41
## %bb.40:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_41:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rgui"

L_.str.1:                               ## @.str.1
	.asciz	"%s"

	.section	__TEXT,__const
l_.str.2:                               ## @.str.2
	.asciz	"*"

	.comm	_subsystem_current_count,4,2    ## @subsystem_current_count
	.comm	_PATH_MAX_LENGTH,4,2            ## @PATH_MAX_LENGTH
	.section	__TEXT,__cstring,cstring_literals
L_.str.3:                               ## @.str.3
	.asciz	"Load %s %s"

L_.str.4:                               ## @.str.4
	.asciz	"%s [%s %s]"

L_.str.5:                               ## @.str.5
	.asciz	"Current Content:"

L_.str.6:                               ## @.str.6
	.asciz	"Menu subsystem entry: Description label truncated.\n"

	.comm	_MENU_ENUM_LABEL_SUBSYSTEM_ADD,4,2 ## @MENU_ENUM_LABEL_SUBSYSTEM_ADD
	.comm	_MENU_SETTINGS_SUBSYSTEM_ADD,8,3 ## @MENU_SETTINGS_SUBSYSTEM_ADD
L_.str.7:                               ## @.str.7
	.asciz	"Start %s %s"

L_.str.8:                               ## @.str.8
	.asciz	"|"

L_.str.9:                               ## @.str.9
	.asciz	"%s [%s]"

	.comm	_MENU_ENUM_LABEL_SUBSYSTEM_LOAD,4,2 ## @MENU_ENUM_LABEL_SUBSYSTEM_LOAD
	.comm	_MENU_SETTINGS_SUBSYSTEM_LOAD,8,3 ## @MENU_SETTINGS_SUBSYSTEM_LOAD
L_.str.10:                              ## @.str.10
	.asciz	"Load %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_menu_subsystem_populate        ; -- Begin function menu_subsystem_populate
	.p2align	2
_menu_subsystem_populate:               ; @menu_subsystem_populate
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #64
	mov	x19, 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, #-88]
	bl	_config_get_ptr
	mov	x28, x0
	ldr	w0, [x0, #4]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_string_is_equal
	mov	x22, x0
Lloh5:
	adrp	x3, l_.str.2@PAGE
Lloh6:
	add	x3, x3, l_.str.2@PAGEOFF
Lloh7:
	adrp	x2, l_.str.1@PAGE
Lloh8:
	add	x2, x2, l_.str.1@PAGEOFF
	sub	x0, x29, #104
	mov	w1, #16
	bl	_snprintf
	cbz	x20, LBB0_38
; %bb.1:
Lloh9:
	adrp	x26, _subsystem_current_count@GOTPAGE
Lloh10:
	ldr	x26, [x26, _subsystem_current_count@GOTPAGEOFF]
	ldr	w8, [x26]
	cbz	w8, LBB0_38
; %bb.2:
	mov	x21, #0
	stur	x28, [x29, #-112]               ; 8-byte Folded Spill
	b	LBB0_7
LBB0_3:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x25
	mov	x1, x23
	mov	x2, x24
	bl	_strlcpy
	mov	sp, x26
LBB0_4:                                 ;   in Loop: Header=BB0_7 Depth=1
Lloh11:
	adrp	x26, _subsystem_current_count@GOTPAGE
Lloh12:
	ldr	x26, [x26, _subsystem_current_count@GOTPAGEOFF]
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w23, [x19]
Lloh13:
	adrp	x24, _MENU_ENUM_LABEL_SUBSYSTEM_ADD@GOTPAGE
Lloh14:
	ldr	x24, [x24, _MENU_ENUM_LABEL_SUBSYSTEM_ADD@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_msg_hash_to_str
	mov	x2, x0
	ldr	w3, [x24]
Lloh15:
	adrp	x8, _MENU_SETTINGS_SUBSYSTEM_ADD@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MENU_SETTINGS_SUBSYSTEM_ADD@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	add	x4, x8, x21
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x23
	mov	x1, x25
	mov	w5, #0
	mov	w6, #0
	bl	_menu_entries_append_enum
	mov	sp, x27
	add	x21, x21, #1
	add	x20, x20, #24
	ldr	w8, [x26]
	cmp	x21, x8
	b.hs	LBB0_38
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_28 Depth 2
	mov	x27, sp
Lloh18:
	adrp	x8, _PATH_MAX_LENGTH@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PATH_MAX_LENGTH@GOTPAGEOFF]
Lloh20:
	ldr	w24, [x8]
	mov	x9, x24
Lloh21:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh22:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x24, #15
	and	x9, x9, #0x1fffffff0
	sub	x25, x8, x9
	mov	sp, x25
	bl	_content_get_subsystem
	cmp	x21, w0, uxtw
	b.ne	LBB0_16
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	bl	_content_get_subsystem_rom_id
	ldr	w8, [x20]
	ldr	x3, [x20, #8]
	sub	sp, sp, #16
	cmp	w0, w8
	b.ge	LBB0_23
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	sub	x8, x29, #104
	str	x8, [sp]
	mov	x0, x25
	mov	x1, x24
Lloh23:
	adrp	x2, l_.str.3@PAGE
Lloh24:
	add	x2, x2, l_.str.3@PAGEOFF
	bl	_snprintf
	add	sp, sp, #16
	cbz	w22, LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x28]
	cbnz	w8, LBB0_5
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x8, sp
	stur	x8, [x29, #-120]                ; 8-byte Folded Spill
Lloh25:
	adrp	x8, _PATH_MAX_LENGTH@GOTPAGE
Lloh26:
	ldr	x8, [x8, _PATH_MAX_LENGTH@GOTPAGEOFF]
Lloh27:
	ldr	w26, [x8]
	mov	x9, x26
Lloh28:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh29:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x26, #15
	and	x9, x9, #0x1fffffff0
	sub	x23, x8, x9
	mov	sp, x23
	ldr	x28, [x20, #16]
	bl	_content_get_subsystem_rom_id
	ldr	x9, [x28, w0, sxtw #3]
Lloh30:
	adrp	x8, l_.str.5@PAGE
Lloh31:
	add	x8, x8, l_.str.5@PAGEOFF
	stp	x8, x9, [sp, #-16]!
	mov	x0, x23
	mov	x1, x26
Lloh32:
	adrp	x2, l_.str.4@PAGE
Lloh33:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x3, x25
	bl	_snprintf
	add	sp, sp, #16
	tbnz	w0, #31, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh34:
	adrp	x8, _PATH_MAX_LENGTH@GOTPAGE
Lloh35:
	ldr	x8, [x8, _PATH_MAX_LENGTH@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	cmp	w0, w8
	b.lt	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_7 Depth=1
	bl	_verbosity_is_enabled
	cbz	x0, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh37:
	adrp	x0, l_.str.6@PAGE
Lloh38:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_RARCH_WARN
LBB0_15:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x25
	mov	x1, x23
	mov	x2, x24
	bl	_strlcpy
	ldp	x8, x28, [x29, #-120]           ; 16-byte Folded Reload
	mov	sp, x8
	b	LBB0_4
LBB0_16:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x3, [x20, #8]
	mov	x0, x25
	mov	x1, x24
Lloh39:
	adrp	x2, l_.str.10@PAGE
Lloh40:
	add	x2, x2, l_.str.10@PAGEOFF
	bl	_snprintf
	cbz	w22, LBB0_5
; %bb.17:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x28]
	cbnz	w8, LBB0_5
; %bb.18:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.19:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x26, sp
Lloh41:
	adrp	x8, _PATH_MAX_LENGTH@GOTPAGE
Lloh42:
	ldr	x8, [x8, _PATH_MAX_LENGTH@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	mov	x9, x1
Lloh44:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh45:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x1, #15
	and	x9, x9, #0x1fffffff0
	sub	x23, x8, x9
	mov	sp, x23
	ldr	x8, [x20, #16]
	ldr	x9, [x8]
Lloh46:
	adrp	x8, l_.str.5@PAGE
Lloh47:
	add	x8, x8, l_.str.5@PAGEOFF
	stp	x8, x9, [sp, #-16]!
	mov	x0, x23
                                        ; kill: def $w1 killed $w1 killed $x1
Lloh48:
	adrp	x2, l_.str.4@PAGE
Lloh49:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x3, x25
	bl	_snprintf
	add	sp, sp, #16
	tbnz	w0, #31, LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh50:
	adrp	x8, _PATH_MAX_LENGTH@GOTPAGE
Lloh51:
	ldr	x8, [x8, _PATH_MAX_LENGTH@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
	cmp	w0, w8
	b.lt	LBB0_3
LBB0_21:                                ;   in Loop: Header=BB0_7 Depth=1
	bl	_verbosity_is_enabled
	cbz	x0, LBB0_3
; %bb.22:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh53:
	adrp	x0, l_.str.6@PAGE
Lloh54:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_RARCH_WARN
	b	LBB0_3
LBB0_23:                                ;   in Loop: Header=BB0_7 Depth=1
	sub	x8, x29, #104
	str	x8, [sp]
	mov	x0, x25
	mov	x1, x24
Lloh55:
	adrp	x2, l_.str.7@PAGE
Lloh56:
	add	x2, x2, l_.str.7@PAGEOFF
	bl	_snprintf
	add	sp, sp, #16
	cbz	w22, LBB0_37
; %bb.24:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x28]
	cbnz	w8, LBB0_37
; %bb.25:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x8, sp
	stur	x8, [x29, #-120]                ; 8-byte Folded Spill
Lloh57:
	adrp	x12, _PATH_MAX_LENGTH@GOTPAGE
Lloh58:
	ldr	x12, [x12, _PATH_MAX_LENGTH@GOTPAGEOFF]
	ldr	w28, [x12]
	mov	x9, x28
Lloh59:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh60:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x28, #15
	and	x9, x9, #0x1fffffff0
	sub	x26, x8, x9
	mov	sp, x26
	ldr	w12, [x12]
	mov	x9, x12
Lloh61:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh62:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x12, #15
	and	x9, x9, #0x1fffffff0
	sub	x8, x8, x9
	stp	x12, x8, [x29, #-136]           ; 16-byte Folded Spill
	mov	sp, x8
	strb	wzr, [x26]
	bl	_content_get_subsystem_rom_id
	cbz	w0, LBB0_30
; %bb.26:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	w23, #0
	b	LBB0_28
LBB0_27:                                ;   in Loop: Header=BB0_28 Depth=2
	add	w23, w23, #1
	bl	_content_get_subsystem_rom_id
	cmp	w23, w0
	b.hs	LBB0_30
LBB0_28:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x23
	bl	_content_get_subsystem_rom
	bl	_path_basename
	mov	x1, x0
	mov	x0, x26
	mov	x2, x28
	bl	_strlcat
	bl	_content_get_subsystem_rom_id
	sub	w8, w0, #1
	cmp	w23, w8
	b.eq	LBB0_27
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=2
	mov	x0, x26
Lloh63:
	adrp	x1, l_.str.8@PAGE
Lloh64:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x2, x28
	bl	_strlcat
	b	LBB0_27
LBB0_30:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x26
	bl	_string_is_empty
	ldur	x28, [x29, #-112]               ; 8-byte Folded Reload
	cbnz	w0, LBB0_36
; %bb.31:                               ;   in Loop: Header=BB0_7 Depth=1
	str	x26, [sp, #-16]!
	ldp	x1, x23, [x29, #-136]           ; 16-byte Folded Reload
	mov	x0, x23
                                        ; kill: def $w1 killed $w1 killed $x1
Lloh65:
	adrp	x2, l_.str.9@PAGE
Lloh66:
	add	x2, x2, l_.str.9@PAGEOFF
	mov	x3, x25
	bl	_snprintf
	add	sp, sp, #16
	tbnz	w0, #31, LBB0_33
; %bb.32:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh67:
	adrp	x8, _PATH_MAX_LENGTH@GOTPAGE
Lloh68:
	ldr	x8, [x8, _PATH_MAX_LENGTH@GOTPAGEOFF]
Lloh69:
	ldr	w8, [x8]
	cmp	w0, w8
	b.lt	LBB0_35
LBB0_33:                                ;   in Loop: Header=BB0_7 Depth=1
	bl	_verbosity_is_enabled
	cbz	x0, LBB0_35
; %bb.34:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh70:
	adrp	x0, l_.str.6@PAGE
Lloh71:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_RARCH_WARN
LBB0_35:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x25
	mov	x1, x23
	mov	x2, x24
	bl	_strlcpy
LBB0_36:                                ;   in Loop: Header=BB0_7 Depth=1
	ldur	x8, [x29, #-120]                ; 8-byte Folded Reload
	mov	sp, x8
Lloh72:
	adrp	x26, _subsystem_current_count@GOTPAGE
Lloh73:
	ldr	x26, [x26, _subsystem_current_count@GOTPAGEOFF]
LBB0_37:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w23, [x19]
Lloh74:
	adrp	x24, _MENU_ENUM_LABEL_SUBSYSTEM_LOAD@GOTPAGE
Lloh75:
	ldr	x24, [x24, _MENU_ENUM_LABEL_SUBSYSTEM_LOAD@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_msg_hash_to_str
	mov	x2, x0
	ldr	w3, [x24]
Lloh76:
	adrp	x8, _MENU_SETTINGS_SUBSYSTEM_LOAD@GOTPAGE
Lloh77:
	ldr	x8, [x8, _MENU_SETTINGS_SUBSYSTEM_LOAD@GOTPAGEOFF]
Lloh78:
	ldr	x4, [x8]
	b	LBB0_6
LBB0_38:
	ldur	x8, [x29, #-88]
Lloh79:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh80:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh81:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_40
; %bb.39:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_40:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGot	Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rgui"

l_.str.1:                               ; @.str.1
	.asciz	"%s"

	.section	__TEXT,__const
l_.str.2:                               ; @.str.2
	.asciz	"*"

	.comm	_subsystem_current_count,4,2    ; @subsystem_current_count
	.comm	_PATH_MAX_LENGTH,4,2            ; @PATH_MAX_LENGTH
	.section	__TEXT,__cstring,cstring_literals
l_.str.3:                               ; @.str.3
	.asciz	"Load %s %s"

l_.str.4:                               ; @.str.4
	.asciz	"%s [%s %s]"

l_.str.5:                               ; @.str.5
	.asciz	"Current Content:"

l_.str.6:                               ; @.str.6
	.asciz	"Menu subsystem entry: Description label truncated.\n"

	.comm	_MENU_ENUM_LABEL_SUBSYSTEM_ADD,4,2 ; @MENU_ENUM_LABEL_SUBSYSTEM_ADD
	.comm	_MENU_SETTINGS_SUBSYSTEM_ADD,8,3 ; @MENU_SETTINGS_SUBSYSTEM_ADD
l_.str.7:                               ; @.str.7
	.asciz	"Start %s %s"

l_.str.8:                               ; @.str.8
	.asciz	"|"

l_.str.9:                               ; @.str.9
	.asciz	"%s [%s]"

	.comm	_MENU_ENUM_LABEL_SUBSYSTEM_LOAD,4,2 ; @MENU_ENUM_LABEL_SUBSYSTEM_LOAD
	.comm	_MENU_SETTINGS_SUBSYSTEM_LOAD,8,3 ; @MENU_SETTINGS_SUBSYSTEM_LOAD
l_.str.10:                              ; @.str.10
	.asciz	"Load %s"

.subsections_via_symbols
