	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function frontend_wiiu_parse_drive_list
_frontend_wiiu_parse_drive_list:        ## @frontend_wiiu_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
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	movq	_MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, %r14d
	testl	%esi, %esi
	jne	LBB0_4
## %bb.3:
	movq	_MSG_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_4:
	movq	_WIIU_SD_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	callq	_msg_hash_to_str
	movq	_FILE_TYPE_DIRECTORY@GOTPCREL(%rip), %r13
	movl	(%r13), %r8d
	movl	$0, (%rsp)
	xorl	%r15d, %r15d
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	movl	%r14d, %ecx
	xorl	%r9d, %r9d
	callq	_menu_entries_append_enum
	movq	_WIIU_USB_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msg_hash_to_str
	movl	(%r13), %r8d
	movl	$0, (%rsp)
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	movl	%r14d, %ecx
	xorl	%r9d, %r9d
	callq	_menu_entries_append_enum
	jmp	LBB0_5
LBB0_1:
	movl	$-1, %r15d
LBB0_5:
	movl	%r15d, %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	_WIIU_SD_PATH,4,2               ## @WIIU_SD_PATH
	.comm	_FILE_TYPE_DIRECTORY,4,2        ## @FILE_TYPE_DIRECTORY
	.comm	_WIIU_USB_PATH,4,2              ## @WIIU_USB_PATH
	.no_dead_strip	_frontend_wiiu_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_wiiu_parse_drive_list
_frontend_wiiu_parse_drive_list:        ; @frontend_wiiu_parse_drive_list
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_2
; %bb.1:
	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	x8, _MSG_UNKNOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_UNKNOWN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x22, _MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR@GOTPAGE
Lloh4:
	ldr	x22, [x22, _MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR@GOTPAGEOFF]
	ldr	w0, [x22]
	cmp	w1, #0
	csel	w20, w8, w0, eq
Lloh5:
	adrp	x8, _WIIU_SD_PATH@GOTPAGE
Lloh6:
	ldr	x8, [x8, _WIIU_SD_PATH@GOTPAGEOFF]
Lloh7:
	ldr	w21, [x8]
	bl	_msg_hash_to_str
	mov	x2, x0
Lloh8:
	adrp	x23, _FILE_TYPE_DIRECTORY@GOTPAGE
Lloh9:
	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
Lloh10:
	adrp	x8, _WIIU_USB_PATH@GOTPAGE
Lloh11:
	ldr	x8, [x8, _WIIU_USB_PATH@GOTPAGEOFF]
Lloh12:
	ldr	w21, [x8]
	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
LBB0_2:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	.cfi_same_value w23
	.cfi_same_value w24
	mov	w0, #-1
	ret
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.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	_WIIU_SD_PATH,4,2               ; @WIIU_SD_PATH
	.comm	_FILE_TYPE_DIRECTORY,4,2        ; @FILE_TYPE_DIRECTORY
	.comm	_WIIU_USB_PATH,4,2              ; @WIIU_USB_PATH
	.no_dead_strip	_frontend_wiiu_parse_drive_list
.subsections_via_symbols
