	.file	"extr_platform_ps2.c_frontend_ps2_parse_drive_list.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	frontend_ps2_parse_drive_list, @function
frontend_ps2_parse_drive_list:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR[rip]
	test	esi, esi
	mov	ebx, DWORD PTR FILE_TYPE_DIRECTORY[rip]
	mov	r12d, edi
	cmove	r12d, DWORD PTR MSG_UNKNOWN[rip]
	call	msg_hash_to_str@PLT
	mov	edi, DWORD PTR BOOT_DEVICE_MC0[rip]
	mov	r13d, eax
	call	rootDevicePath@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 56
	mov	r8d, ebx
	mov	ecx, r12d
	push	0
	.cfi_def_cfa_offset 64
	mov	edx, r13d
	mov	rsi, rax
	xor	r9d, r9d
	mov	rdi, rbp
	call	menu_entries_append_enum@PLT
	mov	edi, DWORD PTR MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR[rip]
	mov	ebx, DWORD PTR FILE_TYPE_DIRECTORY[rip]
	call	msg_hash_to_str@PLT
	mov	edi, DWORD PTR BOOT_DEVICE_MC1[rip]
	mov	r13d, eax
	call	rootDevicePath@PLT
	mov	r8d, ebx
	mov	ecx, r12d
	mov	edx, r13d
	mov	rsi, rax
	xor	r9d, r9d
	mov	rdi, rbp
	mov	DWORD PTR [rsp], 0
	call	menu_entries_append_enum@PLT
	mov	edi, DWORD PTR MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR[rip]
	mov	ebx, DWORD PTR FILE_TYPE_DIRECTORY[rip]
	call	msg_hash_to_str@PLT
	mov	edi, DWORD PTR BOOT_DEVICE_CDFS[rip]
	mov	r13d, eax
	call	rootDevicePath@PLT
	mov	r8d, ebx
	mov	ecx, r12d
	mov	edx, r13d
	mov	rsi, rax
	xor	r9d, r9d
	mov	rdi, rbp
	mov	DWORD PTR [rsp], 0
	call	menu_entries_append_enum@PLT
	mov	edi, DWORD PTR MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR[rip]
	mov	ebx, DWORD PTR FILE_TYPE_DIRECTORY[rip]
	call	msg_hash_to_str@PLT
	mov	edi, DWORD PTR BOOT_DEVICE_MASS[rip]
	mov	r13d, eax
	call	rootDevicePath@PLT
	mov	r8d, ebx
	mov	ecx, r12d
	mov	edx, r13d
	mov	rsi, rax
	xor	r9d, r9d
	mov	rdi, rbp
	mov	DWORD PTR [rsp], 0
	call	menu_entries_append_enum@PLT
	mov	edi, DWORD PTR MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR[rip]
	mov	ebx, DWORD PTR FILE_TYPE_DIRECTORY[rip]
	call	msg_hash_to_str@PLT
	mov	edi, DWORD PTR BOOT_DEVICE_HOST[rip]
	mov	r13d, eax
	call	rootDevicePath@PLT
	mov	r8d, ebx
	mov	ecx, r12d
	mov	edx, r13d
	mov	rdi, rbp
	mov	rsi, rax
	xor	r9d, r9d
	mov	DWORD PTR [rsp], 0
	call	menu_entries_append_enum@PLT
	add	rsp, 24
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	frontend_ps2_parse_drive_list, .-frontend_ps2_parse_drive_list
	.comm	MSG_UNKNOWN,4,4
	.comm	MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR,4,4
	.comm	FILE_TYPE_DIRECTORY,4,4
	.comm	BOOT_DEVICE_MC1,4,4
	.comm	BOOT_DEVICE_MC0,4,4
	.comm	BOOT_DEVICE_MASS,4,4
	.comm	BOOT_DEVICE_HOST,4,4
	.comm	BOOT_DEVICE_CDFS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_platform_ps2.c_frontend_ps2_parse_drive_list.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	frontend_ps2_parse_drive_list, %function
frontend_ps2_parse_drive_list:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	cmp	r1, #0
	ldreq	r3, .L6
	ldrne	r6, .L6+4
	ldreq	r7, [r3]
	ldr	r3, .L6+8
	sub	sp, sp, #20
	mov	r5, r0
	ldr	r0, [r3]
	ldrne	r7, [r6]
	ldreq	r6, .L6+4
	bl	rootDevicePath
	mov	r9, r0
	ldr	r0, [r6]
	mov	r4, #0
	bl	msg_hash_to_str
	ldr	r8, .L6+12
	mov	r2, r0
	ldr	r3, [r8]
	mov	r1, r9
	str	r3, [sp]
	mov	r0, r5
	mov	r3, r7
	str	r4, [sp, #8]
	str	r4, [sp, #4]
	bl	menu_entries_append_enum
	ldr	r3, .L6+16
	ldr	r0, [r3]
	bl	rootDevicePath
	mov	r9, r0
	ldr	r0, [r6]
	bl	msg_hash_to_str
	ldr	r3, [r8]
	mov	r2, r0
	mov	r1, r9
	stm	sp, {r3, r4}
	mov	r0, r5
	mov	r3, r7
	str	r4, [sp, #8]
	bl	menu_entries_append_enum
	ldr	r3, .L6+20
	ldr	r0, [r3]
	bl	rootDevicePath
	mov	r9, r0
	ldr	r0, [r6]
	bl	msg_hash_to_str
	ldr	r3, [r8]
	mov	r2, r0
	mov	r1, r9
	stm	sp, {r3, r4}
	mov	r0, r5
	mov	r3, r7
	str	r4, [sp, #8]
	bl	menu_entries_append_enum
	ldr	r3, .L6+24
	ldr	r0, [r3]
	bl	rootDevicePath
	mov	r9, r0
	ldr	r0, [r6]
	bl	msg_hash_to_str
	ldr	r3, [r8]
	mov	r2, r0
	mov	r1, r9
	stm	sp, {r3, r4}
	mov	r0, r5
	mov	r3, r7
	str	r4, [sp, #8]
	bl	menu_entries_append_enum
	ldr	r3, .L6+28
	ldr	r0, [r3]
	bl	rootDevicePath
	mov	r1, r0
	ldr	r0, [r6]
	mov	r6, r1
	bl	msg_hash_to_str
	ldr	r3, [r8]
	mov	r2, r0
	str	r3, [sp]
	mov	r1, r6
	mov	r3, r7
	mov	r0, r5
	str	r4, [sp, #8]
	str	r4, [sp, #4]
	bl	menu_entries_append_enum
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L7:
	.align	2
.L6:
	.word	MSG_UNKNOWN
	.word	MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR
	.word	BOOT_DEVICE_MC0
	.word	FILE_TYPE_DIRECTORY
	.word	BOOT_DEVICE_MC1
	.word	BOOT_DEVICE_CDFS
	.word	BOOT_DEVICE_MASS
	.word	BOOT_DEVICE_HOST
	.size	frontend_ps2_parse_drive_list, .-frontend_ps2_parse_drive_list
	.comm	MSG_UNKNOWN,4,4
	.comm	MENU_ENUM_LABEL_FILE_DETECT_CORE_LIST_PUSH_DIR,4,4
	.comm	FILE_TYPE_DIRECTORY,4,4
	.comm	BOOT_DEVICE_MC1,4,4
	.comm	BOOT_DEVICE_MC0,4,4
	.comm	BOOT_DEVICE_MASS,4,4
	.comm	BOOT_DEVICE_HOST,4,4
	.comm	BOOT_DEVICE_CDFS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
