	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function menu_displaylist_parse_cores
_menu_displaylist_parse_cores:          ## @menu_displaylist_parse_cores
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%eax, %eax
	callq	_config_get_ptr
	movq	%rax, %r15
	movq	(%r13), %r14
	movq	%r14, %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movl	16(%r13), %edi
	movl	$1, %ebx
	movl	$1, %esi
	callq	_frontend_driver_parse_drive_list
	testq	%rax, %rax
	je	LBB0_41
## %bb.2:
	movl	16(%r13), %edi
	movq	_MSG_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_FILE_TYPE_DIRECTORY@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	subq	$8, %rsp
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
	xorl	%r9d, %r9d
	pushq	$0
	callq	_menu_entries_append_enum
	addq	$16, %rsp
	jmp	LBB0_41
LBB0_3:
	xorl	%eax, %eax
	callq	_string_list_new
	movq	%rax, %rbx
	movl	24(%r13), %edx
	movl	(%r15), %r8d
	subq	$8, %rsp
	movq	%rax, %rdi
	movq	%r14, %rsi
	movl	$1, %ecx
	xorl	%r9d, %r9d
	pushq	$0
	callq	_dir_list_append
	addq	$16, %rsp
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_string_list_free
	xorl	%ebx, %ebx
LBB0_5:
	movq	_PATH_MAX_LENGTH@GOTPCREL(%rip), %r15
	movslq	(%r15), %rdi
	callq	_malloc
	movq	%rax, %r12
	movb	$0, (%rax)
	movl	(%r15), %edx
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_fill_pathname_parent_dir
	movq	%r12, %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	movq	%rbx, -136(%rbp)                ## 8-byte Spill
	je	LBB0_7
## %bb.6:
	movl	16(%r13), %ebx
	movq	_MENU_ENUM_LABEL_VALUE_PARENT_DIRECTORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msg_hash_to_str
	movq	_MENU_ENUM_LABEL_PARENT_DIRECTORY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_FILE_TYPE_PARENT_DIRECTORY@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	subq	$8, %rsp
	movl	%ebx, %edi
	movq	-136(%rbp), %rbx                ## 8-byte Reload
	movq	%rax, %rsi
	movq	%r14, %rdx
	xorl	%r9d, %r9d
	pushq	$0
	callq	_menu_entries_prepend
	addq	$16, %rsp
LBB0_7:
	movq	%r12, %rdi
	callq	_free
	testq	%rbx, %rbx
	je	LBB0_37
## %bb.8:
	movl	20(%r13), %r14d
	movq	_MENU_ENUM_LABEL_CORE_LIST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msg_hash_to_str
	movl	%r14d, %edi
	movq	%rax, %rsi
	callq	_string_is_equal
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movl	$1, 8(%r13)
LBB0_10:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_dir_list_sort
	movq	(%rbx), %r15
	testq	%r15, %r15
	je	LBB0_39
## %bb.11:
	movq	%r13, -128(%rbp)                ## 8-byte Spill
	movl	$8, %r13d
	movl	$0, -116(%rbp)                  ## 4-byte Folded Spill
	jmp	LBB0_16
LBB0_12:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	_FILE_TYPE_DIRECTORY@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_MENU_ENUM_LABEL_FILE_BROWSER_DIRECTORY@GOTPCREL(%rip), %rcx
LBB0_13:                                ##   in Loop: Header=BB0_16 Depth=1
	movl	(%rcx), %ecx
	incl	-116(%rbp)                      ## 4-byte Folded Spill
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movl	16(%rax), %edi
	subq	$8, %rsp
	movq	%r12, %rsi
	leaq	-112(%rbp), %rdx
	movl	%r14d, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	callq	_menu_entries_append_enum
	addq	$16, %rsp
LBB0_14:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	-136(%rbp), %rbx                ## 8-byte Reload
LBB0_15:                                ##   in Loop: Header=BB0_16 Depth=1
	addq	$16, %r13
	decq	%r15
	je	LBB0_29
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movb	$0, -112(%rbp)
	movq	8(%rbx), %rax
	movl	(%rax,%r13), %ecx
	leal	-130(%rcx), %edx
	cmpl	$2, %edx
	jb	LBB0_15
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	_FILE_TYPE_DIRECTORY@GOTPCREL(%rip), %rdx
	cmpl	$129, %ecx
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	_FILE_TYPE_CORE@GOTPCREL(%rip), %rdx
LBB0_19:                                ##   in Loop: Header=BB0_16 Depth=1
	movl	(%rdx), %r14d
	movq	_FILE_TYPE_DIRECTORY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	-8(%rax,%r13), %r12
	movq	%r12, %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	%r12, %rdi
	callq	_path_basename
	movq	%rax, %r12
LBB0_21:                                ##   in Loop: Header=BB0_16 Depth=1
	xorl	%eax, %eax
	callq	_frontend_driver_has_fork
	testq	%rax, %rax
	je	LBB0_26
## %bb.22:                              ##   in Loop: Header=BB0_16 Depth=1
	movl	%ebx, -148(%rbp)                ## 4-byte Spill
	movl	%r14d, -152(%rbp)               ## 4-byte Spill
	movq	%rsp, -160(%rbp)                ## 8-byte Spill
	movq	_PATH_MAX_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movb	$0, (%rbx)
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_frontend_driver_get_salamander_basename
	testq	%rax, %rax
	je	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_string_is_equal_noncase
	testq	%rax, %rax
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	-160(%rbp), %rsp                ## 8-byte Reload
	jmp	LBB0_14
LBB0_25:                                ##   in Loop: Header=BB0_16 Depth=1
	movl	-148(%rbp), %eax                ## 4-byte Reload
	cmpl	%eax, -152(%rbp)                ## 4-byte Folded Reload
	movq	-160(%rbp), %rsp                ## 8-byte Reload
	je	LBB0_14
	jmp	LBB0_27
LBB0_26:                                ##   in Loop: Header=BB0_16 Depth=1
	cmpl	%ebx, %r14d
	je	LBB0_12
LBB0_27:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	_FILE_TYPE_CORE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movl	20(%rax), %ebx
	movq	_MENU_ENUM_LABEL_SIDELOAD_CORE_LIST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msg_hash_to_str
	movl	%ebx, %edi
	movq	%rax, %rsi
	callq	_string_is_equal
	movq	_MENU_ENUM_LABEL_FILE_BROWSER_SIDELOAD_CORE@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	jne	LBB0_13
## %bb.28:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	_MENU_ENUM_LABEL_FILE_BROWSER_CORE@GOTPCREL(%rip), %rcx
	jmp	LBB0_13
LBB0_29:
	movq	%rbx, %rdi
	callq	_string_list_free
	cmpl	$0, -116(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_40
## %bb.30:
	movq	$0, -112(%rbp)
	movq	$0, -168(%rbp)
	leaq	-112(%rbp), %rdi
	callq	_core_info_get_list
	leaq	-168(%rbp), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_menu_entries_get_last_stack
	movq	-128(%rbp), %r14                ## 8-byte Reload
	movl	16(%r14), %edi
	callq	_file_list_get_size
	testq	%rax, %rax
	je	LBB0_38
## %bb.31:
	movq	%rax, %r12
	xorl	%ebx, %ebx
	leaq	-144(%rbp), %r15
	leaq	-120(%rbp), %r13
	jmp	LBB0_34
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_34 Depth=1
	movq	%r13, %rdi
	callq	_free
	movq	%r14, %rdi
	callq	_free
	movq	-128(%rbp), %r14                ## 8-byte Reload
	movq	%r15, %r12
	leaq	-144(%rbp), %r15
	leaq	-120(%rbp), %r13
LBB0_33:                                ##   in Loop: Header=BB0_34 Depth=1
	incq	%rbx
	cmpq	%rbx, %r12
	je	LBB0_38
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	movl	$0, -120(%rbp)
	movq	$0, -144(%rbp)
	movl	16(%r14), %edi
	subq	$8, %rsp
	movq	%rbx, %rsi
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	movq	%r13, %r8
	xorl	%r9d, %r9d
	pushq	$0
	callq	_menu_entries_get_at_offset
	addq	$16, %rsp
	movl	-120(%rbp), %eax
	movq	_FILE_TYPE_CORE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_33
## %bb.35:                              ##   in Loop: Header=BB0_34 Depth=1
	movq	%r12, %r15
	movq	_PATH_MAX_LENGTH@GOTPCREL(%rip), %rax
	movslq	(%rax), %r12
	movq	%r12, %rdi
	callq	_malloc
	movq	%rax, %r13
	movq	%r12, %rdi
	callq	_malloc
	movq	%rax, %r14
	movb	$0, (%rax)
	movb	$0, (%r13)
	movq	-168(%rbp), %rsi
	movq	-144(%rbp), %rdx
	movq	%r13, %rdi
	movq	%r12, %rcx
	callq	_fill_pathname_join
	movq	-112(%rbp), %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	movq	%r12, %rcx
	callq	_core_info_list_get_display_name
	testq	%rax, %rax
	je	LBB0_32
## %bb.36:                              ##   in Loop: Header=BB0_34 Depth=1
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movl	16(%rax), %edi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_file_list_set_alt_at_offset
	jmp	LBB0_32
LBB0_37:
	movq	_MENU_ENUM_LABEL_VALUE_DIRECTORY_NOT_FOUND@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_msg_hash_to_str
	movl	16(%r13), %edi
	movl	(%rbx), %ecx
	subq	$8, %rsp
	leaq	L_.str.1(%rip), %rdx
	movq	%rax, %rsi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	callq	_menu_entries_append_enum
	addq	$16, %rsp
	movl	$1, %ebx
	jmp	LBB0_41
LBB0_38:
	movl	$1, 12(%r14)
	movl	-116(%rbp), %ebx                ## 4-byte Reload
	jmp	LBB0_41
LBB0_39:
	movq	%rbx, %rdi
	callq	_string_list_free
LBB0_40:
	xorl	%ebx, %ebx
LBB0_41:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_43
## %bb.42:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_43:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/"

L_.str.1:                               ## @.str.1
	.space	1

	.comm	_MSG_UNKNOWN,4,2                ## @MSG_UNKNOWN
	.comm	_FILE_TYPE_DIRECTORY,4,2        ## @FILE_TYPE_DIRECTORY
	.comm	_PATH_MAX_LENGTH,4,2            ## @PATH_MAX_LENGTH
	.comm	_MENU_ENUM_LABEL_VALUE_PARENT_DIRECTORY,4,2 ## @MENU_ENUM_LABEL_VALUE_PARENT_DIRECTORY
	.comm	_MENU_ENUM_LABEL_PARENT_DIRECTORY,4,2 ## @MENU_ENUM_LABEL_PARENT_DIRECTORY
	.comm	_FILE_TYPE_PARENT_DIRECTORY,4,2 ## @FILE_TYPE_PARENT_DIRECTORY
	.comm	_MENU_ENUM_LABEL_VALUE_DIRECTORY_NOT_FOUND,4,2 ## @MENU_ENUM_LABEL_VALUE_DIRECTORY_NOT_FOUND
	.comm	_MENU_ENUM_LABEL_CORE_LIST,4,2  ## @MENU_ENUM_LABEL_CORE_LIST
	.comm	_FILE_TYPE_NONE,4,2             ## @FILE_TYPE_NONE
	.comm	_FILE_TYPE_CORE,4,2             ## @FILE_TYPE_CORE
	.comm	_MENU_ENUM_LABEL_FILE_BROWSER_DIRECTORY,4,2 ## @MENU_ENUM_LABEL_FILE_BROWSER_DIRECTORY
	.comm	_MENU_ENUM_LABEL_SIDELOAD_CORE_LIST,4,2 ## @MENU_ENUM_LABEL_SIDELOAD_CORE_LIST
	.comm	_MENU_ENUM_LABEL_FILE_BROWSER_SIDELOAD_CORE,4,2 ## @MENU_ENUM_LABEL_FILE_BROWSER_SIDELOAD_CORE
	.comm	_MENU_ENUM_LABEL_FILE_BROWSER_CORE,4,2 ## @MENU_ENUM_LABEL_FILE_BROWSER_CORE
	.no_dead_strip	_menu_displaylist_parse_cores
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function menu_displaylist_parse_cores
_menu_displaylist_parse_cores:          ; @menu_displaylist_parse_cores
	.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, #112
	mov	x19, x1
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	x22, x0
	ldr	x20, [x19]
	mov	x0, x20
	bl	_string_is_empty
	cbz	x0, LBB0_3
; %bb.1:
	ldr	w0, [x19, #16]
	mov	w20, #1
	mov	w1, #1
	bl	_frontend_driver_parse_drive_list
	cbz	x0, LBB0_35
; %bb.2:
	ldr	w0, [x19, #16]
Lloh3:
	adrp	x8, _MSG_UNKNOWN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSG_UNKNOWN@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
Lloh6:
	adrp	x8, _FILE_TYPE_DIRECTORY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FILE_TYPE_DIRECTORY@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
Lloh11:
	adrp	x2, l_.str.1@PAGE
Lloh12:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_34
LBB0_3:
	bl	_string_list_new
	mov	x21, x0
	ldr	w2, [x19, #24]
	ldr	w4, [x22]
	mov	x1, x20
	mov	w3, #1
	mov	w5, #0
	mov	w6, #0
	bl	_dir_list_append
	cbnz	w0, LBB0_5
; %bb.4:
	mov	x0, x21
	bl	_string_list_free
	mov	x21, #0
LBB0_5:
Lloh13:
	adrp	x23, _PATH_MAX_LENGTH@GOTPAGE
Lloh14:
	ldr	x23, [x23, _PATH_MAX_LENGTH@GOTPAGEOFF]
	ldrsw	x0, [x23]
	bl	_malloc
	mov	x22, x0
	strb	wzr, [x0]
	ldr	w2, [x23]
	mov	x1, x20
	bl	_fill_pathname_parent_dir
	mov	x0, x22
	bl	_string_is_empty
	cbz	x0, LBB0_7
; %bb.6:
	ldr	w23, [x19, #16]
Lloh15:
	adrp	x8, _MENU_ENUM_LABEL_VALUE_PARENT_DIRECTORY@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MENU_ENUM_LABEL_VALUE_PARENT_DIRECTORY@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_msg_hash_to_str
	mov	x1, x0
Lloh18:
	adrp	x8, _MENU_ENUM_LABEL_PARENT_DIRECTORY@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MENU_ENUM_LABEL_PARENT_DIRECTORY@GOTPAGEOFF]
Lloh20:
	ldr	w3, [x8]
Lloh21:
	adrp	x8, _FILE_TYPE_PARENT_DIRECTORY@GOTPAGE
Lloh22:
	ldr	x8, [x8, _FILE_TYPE_PARENT_DIRECTORY@GOTPAGEOFF]
Lloh23:
	ldr	w4, [x8]
	mov	x0, x23
	mov	x2, x20
	mov	w5, #0
	mov	w6, #0
	bl	_menu_entries_prepend
LBB0_7:
	mov	x0, x22
	bl	_free
	cbz	x21, LBB0_33
; %bb.8:
	ldr	w20, [x19, #20]
Lloh24:
	adrp	x8, _MENU_ENUM_LABEL_CORE_LIST@GOTPAGE
Lloh25:
	ldr	x8, [x8, _MENU_ENUM_LABEL_CORE_LIST@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	bl	_msg_hash_to_str
	mov	x1, x0
	mov	x0, x20
	bl	_string_is_equal
	cbz	x0, LBB0_10
; %bb.9:
	mov	w8, #1
	str	w8, [x19, #8]
LBB0_10:
	mov	x0, x21
	mov	w1, #1
	bl	_dir_list_sort
	ldr	x25, [x21]
	cbz	x25, LBB0_38
; %bb.11:
	mov	x28, #0
	mov	w20, #0
Lloh27:
	adrp	x26, _FILE_TYPE_CORE@GOTPAGE
Lloh28:
	ldr	x26, [x26, _FILE_TYPE_CORE@GOTPAGEOFF]
	stur	x21, [x29, #-184]               ; 8-byte Folded Spill
	b	LBB0_15
LBB0_12:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	w23, [x26]
	ldr	w24, [x19, #20]
Lloh29:
	adrp	x8, _MENU_ENUM_LABEL_SIDELOAD_CORE_LIST@GOTPAGE
Lloh30:
	ldr	x8, [x8, _MENU_ENUM_LABEL_SIDELOAD_CORE_LIST@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	bl	_msg_hash_to_str
	mov	x1, x0
	mov	x0, x24
	bl	_string_is_equal
	cmp	x0, #0
Lloh32:
	adrp	x8, _MENU_ENUM_LABEL_FILE_BROWSER_SIDELOAD_CORE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _MENU_ENUM_LABEL_FILE_BROWSER_SIDELOAD_CORE@GOTPAGEOFF]
Lloh34:
	adrp	x9, _MENU_ENUM_LABEL_FILE_BROWSER_CORE@GOTPAGE
Lloh35:
	ldr	x9, [x9, _MENU_ENUM_LABEL_FILE_BROWSER_CORE@GOTPAGEOFF]
	csel	x8, x9, x8, eq
LBB0_13:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	w3, [x8]
	add	w20, w20, #1
	ldr	w0, [x19, #16]
	sub	x2, x29, #152
	mov	x1, x22
	mov	x4, x23
	mov	w5, #0
	mov	w6, #0
	bl	_menu_entries_append_enum
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	x28, x28, #16
	subs	x25, x25, #1
	b.eq	LBB0_25
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	sturb	wzr, [x29, #-152]
	ldr	x8, [x21, #8]
	add	x9, x8, x28
	ldr	w9, [x9, #8]
	sub	w10, w9, #130
	cmp	w10, #2
	b.lo	LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	cmp	w9, #129
Lloh36:
	adrp	x10, _FILE_TYPE_DIRECTORY@GOTPAGE
Lloh37:
	ldr	x10, [x10, _FILE_TYPE_DIRECTORY@GOTPAGEOFF]
	csel	x9, x10, x26, eq
	ldr	w24, [x9]
	ldr	w27, [x10]
	ldr	x22, [x8, x28]
	mov	x0, x22
	bl	_string_is_empty
	cbz	x0, LBB0_22
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	bl	_frontend_driver_has_fork
	cbz	x0, LBB0_23
LBB0_18:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	x21, x19
	mov	x19, x20
	mov	x20, x26
	mov	x26, sp
Lloh38:
	adrp	x8, _PATH_MAX_LENGTH@GOTPAGE
Lloh39:
	ldr	x8, [x8, _PATH_MAX_LENGTH@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	mov	x9, x1
Lloh41:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh42:
	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
	strb	wzr, [x23]
	mov	x0, x23
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_frontend_driver_get_salamander_basename
	cbz	x0, LBB0_21
; %bb.19:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x22
	mov	x1, x23
	bl	_string_is_equal_noncase
	cbz	x0, LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	sp, x26
	mov	x26, x20
	mov	x20, x19
	mov	x19, x21
	ldur	x21, [x29, #-184]               ; 8-byte Folded Reload
	b	LBB0_14
LBB0_21:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	sp, x26
	cmp	w24, w27
	mov	x26, x20
	mov	x20, x19
	mov	x19, x21
	ldur	x21, [x29, #-184]               ; 8-byte Folded Reload
	b.ne	LBB0_12
	b	LBB0_14
LBB0_22:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x22
	bl	_path_basename
	mov	x22, x0
	bl	_frontend_driver_has_fork
	cbnz	x0, LBB0_18
LBB0_23:                                ;   in Loop: Header=BB0_15 Depth=1
	cmp	w24, w27
	b.ne	LBB0_12
; %bb.24:                               ;   in Loop: Header=BB0_15 Depth=1
Lloh43:
	adrp	x8, _FILE_TYPE_DIRECTORY@GOTPAGE
Lloh44:
	ldr	x8, [x8, _FILE_TYPE_DIRECTORY@GOTPAGEOFF]
Lloh45:
	ldr	w23, [x8]
Lloh46:
	adrp	x8, _MENU_ENUM_LABEL_FILE_BROWSER_DIRECTORY@GOTPAGE
Lloh47:
	ldr	x8, [x8, _MENU_ENUM_LABEL_FILE_BROWSER_DIRECTORY@GOTPAGEOFF]
	b	LBB0_13
LBB0_25:
	mov	x0, x21
	bl	_string_list_free
	cbz	w20, LBB0_35
; %bb.26:
	stp	xzr, xzr, [x29, #-160]
	sub	x0, x29, #152
	bl	_core_info_get_list
	sub	x0, x29, #160
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	mov	x4, #0
	bl	_menu_entries_get_last_stack
	ldr	w0, [x19, #16]
	bl	_file_list_get_size
	cbz	x0, LBB0_37
; %bb.27:
	mov	x21, x0
	mov	x22, #0
	b	LBB0_30
LBB0_28:                                ;   in Loop: Header=BB0_30 Depth=1
	mov	x0, x23
	bl	_free
	mov	x0, x24
	bl	_free
LBB0_29:                                ;   in Loop: Header=BB0_30 Depth=1
	add	x22, x22, #1
	cmp	x21, x22
	b.eq	LBB0_37
LBB0_30:                                ; =>This Inner Loop Header: Depth=1
	stur	wzr, [x29, #-164]
	stur	xzr, [x29, #-176]
	ldr	w0, [x19, #16]
	sub	x2, x29, #176
	sub	x4, x29, #164
	mov	x1, x22
	mov	x3, #0
	mov	x5, #0
	mov	x6, #0
	bl	_menu_entries_get_at_offset
	ldur	w8, [x29, #-164]
	ldr	w9, [x26]
	cmp	w8, w9
	b.ne	LBB0_29
; %bb.31:                               ;   in Loop: Header=BB0_30 Depth=1
Lloh48:
	adrp	x8, _PATH_MAX_LENGTH@GOTPAGE
Lloh49:
	ldr	x8, [x8, _PATH_MAX_LENGTH@GOTPAGEOFF]
Lloh50:
	ldrsw	x25, [x8]
	mov	x0, x25
	bl	_malloc
	mov	x23, x0
	mov	x0, x25
	bl	_malloc
	mov	x24, x0
	strb	wzr, [x0]
	strb	wzr, [x23]
	ldur	x1, [x29, #-160]
	ldur	x2, [x29, #-176]
	mov	x0, x23
	mov	x3, x25
	bl	_fill_pathname_join
	ldur	x0, [x29, #-152]
	mov	x1, x23
	mov	x2, x24
	mov	x3, x25
	bl	_core_info_list_get_display_name
	cbz	x0, LBB0_28
; %bb.32:                               ;   in Loop: Header=BB0_30 Depth=1
	ldr	w0, [x19, #16]
	mov	x1, x22
	mov	x2, x24
	bl	_file_list_set_alt_at_offset
	b	LBB0_28
LBB0_33:
Lloh51:
	adrp	x20, _MENU_ENUM_LABEL_VALUE_DIRECTORY_NOT_FOUND@GOTPAGE
Lloh52:
	ldr	x20, [x20, _MENU_ENUM_LABEL_VALUE_DIRECTORY_NOT_FOUND@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_msg_hash_to_str
	mov	x1, x0
	ldr	w0, [x19, #16]
	ldr	w3, [x20]
Lloh53:
	adrp	x2, l_.str.1@PAGE
Lloh54:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w4, #0
LBB0_34:
	mov	w5, #0
	mov	w6, #0
	bl	_menu_entries_append_enum
	mov	w20, #1
LBB0_35:
	ldur	x8, [x29, #-88]
Lloh55:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh56:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh57:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_39
; %bb.36:
	mov	x0, x20
	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_37:
	mov	w8, #1
	str	w8, [x19, #12]
	b	LBB0_35
LBB0_38:
	mov	x0, x21
	bl	_string_list_free
	mov	w20, #0
	b	LBB0_35
LBB0_39:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/"

l_.str.1:                               ; @.str.1
	.space	1

	.comm	_MSG_UNKNOWN,4,2                ; @MSG_UNKNOWN
	.comm	_FILE_TYPE_DIRECTORY,4,2        ; @FILE_TYPE_DIRECTORY
	.comm	_PATH_MAX_LENGTH,4,2            ; @PATH_MAX_LENGTH
	.comm	_MENU_ENUM_LABEL_VALUE_PARENT_DIRECTORY,4,2 ; @MENU_ENUM_LABEL_VALUE_PARENT_DIRECTORY
	.comm	_MENU_ENUM_LABEL_PARENT_DIRECTORY,4,2 ; @MENU_ENUM_LABEL_PARENT_DIRECTORY
	.comm	_FILE_TYPE_PARENT_DIRECTORY,4,2 ; @FILE_TYPE_PARENT_DIRECTORY
	.comm	_MENU_ENUM_LABEL_VALUE_DIRECTORY_NOT_FOUND,4,2 ; @MENU_ENUM_LABEL_VALUE_DIRECTORY_NOT_FOUND
	.comm	_MENU_ENUM_LABEL_CORE_LIST,4,2  ; @MENU_ENUM_LABEL_CORE_LIST
	.comm	_FILE_TYPE_NONE,4,2             ; @FILE_TYPE_NONE
	.comm	_FILE_TYPE_CORE,4,2             ; @FILE_TYPE_CORE
	.comm	_MENU_ENUM_LABEL_FILE_BROWSER_DIRECTORY,4,2 ; @MENU_ENUM_LABEL_FILE_BROWSER_DIRECTORY
	.comm	_MENU_ENUM_LABEL_SIDELOAD_CORE_LIST,4,2 ; @MENU_ENUM_LABEL_SIDELOAD_CORE_LIST
	.comm	_MENU_ENUM_LABEL_FILE_BROWSER_SIDELOAD_CORE,4,2 ; @MENU_ENUM_LABEL_FILE_BROWSER_SIDELOAD_CORE
	.comm	_MENU_ENUM_LABEL_FILE_BROWSER_CORE,4,2 ; @MENU_ENUM_LABEL_FILE_BROWSER_CORE
	.no_dead_strip	_menu_displaylist_parse_cores
.subsections_via_symbols
