	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function frontend_ps2_parse_drive_list
_frontend_ps2_parse_drive_list:         ## @frontend_ps2_parse_drive_list
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR@GOTPCREL(%rip), %r12
	movq	%r12, %rax
	testl	%esi, %esi
	jne	LBB0_2
## %bb.1:
	movq	_MSG_UNKNOWN@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %r15d
	movq	_BOOT_DEVICE_MC0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rootDevicePath
	movq	%rax, %rbx
	movl	(%r12), %edi
	callq	_msg_hash_to_str
	movq	_FILE_TYPE_DIRECTORY@GOTPCREL(%rip), %r13
	movl	(%r13), %r8d
	movl	$0, (%rsp)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	movl	%r15d, %ecx
	xorl	%r9d, %r9d
	callq	_menu_entries_append_enum
	movq	_BOOT_DEVICE_MC1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rootDevicePath
	movq	%rax, %rbx
	movl	(%r12), %edi
	callq	_msg_hash_to_str
	movl	(%r13), %r8d
	movl	$0, (%rsp)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	movl	%r15d, %ecx
	xorl	%r9d, %r9d
	callq	_menu_entries_append_enum
	movq	_BOOT_DEVICE_CDFS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rootDevicePath
	movq	%rax, %rbx
	movl	(%r12), %edi
	callq	_msg_hash_to_str
	movl	(%r13), %r8d
	movl	$0, (%rsp)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	movl	%r15d, %ecx
	xorl	%r9d, %r9d
	callq	_menu_entries_append_enum
	movq	_BOOT_DEVICE_MASS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rootDevicePath
	movq	%rax, %rbx
	movl	(%r12), %edi
	callq	_msg_hash_to_str
	movl	(%r13), %r8d
	movl	$0, (%rsp)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	movl	%r15d, %ecx
	xorl	%r9d, %r9d
	callq	_menu_entries_append_enum
	movq	_BOOT_DEVICE_HOST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rootDevicePath
	movq	%rax, %rbx
	movl	(%r12), %edi
	callq	_msg_hash_to_str
	movl	(%r13), %r8d
	movl	$0, (%rsp)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	movl	%r15d, %ecx
	xorl	%r9d, %r9d
	callq	_menu_entries_append_enum
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR,4,2 ## @MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR
	.comm	_MSG_UNKNOWN,4,2                ## @MSG_UNKNOWN
	.comm	_BOOT_DEVICE_MC0,4,2            ## @BOOT_DEVICE_MC0
	.comm	_FILE_TYPE_DIRECTORY,4,2        ## @FILE_TYPE_DIRECTORY
	.comm	_BOOT_DEVICE_MC1,4,2            ## @BOOT_DEVICE_MC1
	.comm	_BOOT_DEVICE_CDFS,4,2           ## @BOOT_DEVICE_CDFS
	.comm	_BOOT_DEVICE_MASS,4,2           ## @BOOT_DEVICE_MASS
	.comm	_BOOT_DEVICE_HOST,4,2           ## @BOOT_DEVICE_HOST
	.no_dead_strip	_frontend_ps2_parse_drive_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function frontend_ps2_parse_drive_list
_frontend_ps2_parse_drive_list:         ; @frontend_ps2_parse_drive_list
	.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
	mov	x19, x0
Lloh0:
	adrp	x22, _MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR@GOTPAGEOFF]
Lloh2:
	adrp	x8, _MSG_UNKNOWN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MSG_UNKNOWN@GOTPAGEOFF]
	cmp	w1, #0
	csel	x8, x8, x22, eq
	ldr	w20, [x8]
Lloh4:
	adrp	x8, _BOOT_DEVICE_MC0@GOTPAGE
Lloh5:
	ldr	x8, [x8, _BOOT_DEVICE_MC0@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_rootDevicePath
	mov	x21, x0
	ldr	w0, [x22]
	bl	_msg_hash_to_str
	mov	x2, x0
Lloh7:
	adrp	x23, _FILE_TYPE_DIRECTORY@GOTPAGE
Lloh8:
	ldr	x23, [x23, _FILE_TYPE_DIRECTORY@GOTPAGEOFF]
	ldr	w4, [x23]
	mov	x0, x19
	mov	x1, x21
	mov	x3, x20
	mov	w5, #0
	mov	w6, #0
	bl	_menu_entries_append_enum
Lloh9:
	adrp	x8, _BOOT_DEVICE_MC1@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BOOT_DEVICE_MC1@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_rootDevicePath
	mov	x21, x0
	ldr	w0, [x22]
	bl	_msg_hash_to_str
	mov	x2, x0
	ldr	w4, [x23]
	mov	x0, x19
	mov	x1, x21
	mov	x3, x20
	mov	w5, #0
	mov	w6, #0
	bl	_menu_entries_append_enum
Lloh12:
	adrp	x8, _BOOT_DEVICE_CDFS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BOOT_DEVICE_CDFS@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_rootDevicePath
	mov	x21, x0
	ldr	w0, [x22]
	bl	_msg_hash_to_str
	mov	x2, x0
	ldr	w4, [x23]
	mov	x0, x19
	mov	x1, x21
	mov	x3, x20
	mov	w5, #0
	mov	w6, #0
	bl	_menu_entries_append_enum
Lloh15:
	adrp	x8, _BOOT_DEVICE_MASS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _BOOT_DEVICE_MASS@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_rootDevicePath
	mov	x21, x0
	ldr	w0, [x22]
	bl	_msg_hash_to_str
	mov	x2, x0
	ldr	w4, [x23]
	mov	x0, x19
	mov	x1, x21
	mov	x3, x20
	mov	w5, #0
	mov	w6, #0
	bl	_menu_entries_append_enum
Lloh18:
	adrp	x8, _BOOT_DEVICE_HOST@GOTPAGE
Lloh19:
	ldr	x8, [x8, _BOOT_DEVICE_HOST@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_rootDevicePath
	mov	x21, x0
	ldr	w0, [x22]
	bl	_msg_hash_to_str
	mov	x2, x0
	ldr	w4, [x23]
	mov	x0, x19
	mov	x1, x21
	mov	x3, x20
	mov	w5, #0
	mov	w6, #0
	bl	_menu_entries_append_enum
	mov	w0, #0
	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
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR,4,2 ; @MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR
	.comm	_MSG_UNKNOWN,4,2                ; @MSG_UNKNOWN
	.comm	_BOOT_DEVICE_MC0,4,2            ; @BOOT_DEVICE_MC0
	.comm	_FILE_TYPE_DIRECTORY,4,2        ; @FILE_TYPE_DIRECTORY
	.comm	_BOOT_DEVICE_MC1,4,2            ; @BOOT_DEVICE_MC1
	.comm	_BOOT_DEVICE_CDFS,4,2           ; @BOOT_DEVICE_CDFS
	.comm	_BOOT_DEVICE_MASS,4,2           ; @BOOT_DEVICE_MASS
	.comm	_BOOT_DEVICE_HOST,4,2           ; @BOOT_DEVICE_HOST
	.no_dead_strip	_frontend_ps2_parse_drive_list
.subsections_via_symbols
