	.file	"extr_menu_filebrowser.c_filebrowser_parse.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	""
	.text
	.p2align 4
	.globl	filebrowser_parse
	.type	filebrowser_parse, @function
filebrowser_parse:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 136
	.cfi_def_cfa_offset 192
	mov	DWORD PTR 40[rsp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 120[rsp], rax
	xor	eax, eax
	call	config_get_ptr@PLT
	mov	QWORD PTR 32[rsp], 0
	mov	QWORD PTR 8[rsp], rax
	test	r12, r12
	je	.L2
	mov	rax, QWORD PTR [r12]
	mov	QWORD PTR 32[rsp], rax
.L2:
	mov	rdi, QWORD PTR 32[rsp]
	call	string_is_empty@PLT
	mov	DWORD PTR 24[rsp], 0
	test	eax, eax
	je	.L127
.L3:
	mov	rax, QWORD PTR 8[rsp]
	mov	ebp, DWORD PTR [rax]
	xor	eax, eax
	call	runloop_get_system_info@PLT
	mov	r13, QWORD PTR [rax]
	test	r13, r13
	je	.L4
	xor	eax, eax
	call	content_get_subsystem@PLT
	movsx	rbx, eax
	mov	rax, rbx
	sal	rax, 4
	add	r13, rax
	test	r12, r12
	je	.L64
.L140:
	mov	rax, QWORD PTR 8[r12]
	cmp	rax, QWORD PTR FILE_TYPE_SHADER_PRESET[rip]
	je	.L65
	cmp	rax, QWORD PTR FILE_TYPE_SHADER[rip]
	mov	eax, 1
	cmove	ebp, eax
.L7:
	mov	edi, DWORD PTR MENU_ENUM_LABEL_SCAN_FILE[rip]
	call	msg_hash_to_str@PLT
	mov	edi, DWORD PTR 32[r12]
	mov	rsi, rax
	call	string_is_equal@PLT
	test	rax, rax
	mov	eax, 0
	cmovne	ebp, eax
	mov	eax, DWORD PTR 24[rsp]
	test	eax, eax
	je	.L128
	mov	eax, DWORD PTR filebrowser_types[rip]
	cmp	eax, DWORD PTR FILEBROWSER_SELECT_FILE_SUBSYSTEM[rip]
	je	.L8
	mov	rsi, QWORD PTR 24[r12]
	mov	rdi, QWORD PTR 32[rsp]
	call	file_archive_get_file_list@PLT
	mov	r13, rax
.L9:
	cmp	DWORD PTR filebrowser_types[rip], 140
	je	.L125
	test	r13, r13
	je	.L60
	mov	BYTE PTR 47[rsp], 1
.L19:
	mov	esi, 1
	mov	rdi, r13
	xor	ebp, ebp
	call	dir_list_sort@PLT
	mov	rax, QWORD PTR 0[r13]
	mov	DWORD PTR 28[rsp], 0
	mov	QWORD PTR 16[rsp], rax
	test	rax, rax
	jne	.L25
	jmp	.L129
	.p2align 4,,10
	.p2align 3
.L135:
	cmp	eax, 129
	je	.L130
	mov	eax, DWORD PTR FILEBROWSER_SELECT_FONT[rip]
	cmp	DWORD PTR filebrowser_types[rip], eax
	mov	ebx, DWORD PTR FILE_TYPE_FONT[rip]
	je	.L33
	mov	ebx, DWORD PTR 8[r12]
.L33:
	cmp	DWORD PTR 40[rsp], 142
	je	.L131
.L31:
	cmp	ebx, 139
	je	.L29
	mov	eax, DWORD PTR filebrowser_types[rip]
	sub	eax, 140
	cmp	eax, 1
	jbe	.L49
.L29:
	mov	rdi, r14
	call	string_is_empty@PLT
	or	eax, DWORD PTR 24[rsp]
	je	.L132
.L35:
	mov	eax, DWORD PTR FILEBROWSER_SELECT_COLLECTION[rip]
	cmp	DWORD PTR filebrowser_types[rip], eax
	je	.L133
	cmp	ebx, 139
	jne	.L38
.L37:
	mov	r15d, DWORD PTR MENU_ENUM_LABEL_FILE_BROWSER_DIRECTORY[rip]
	mov	r8d, 139
	.p2align 4,,10
	.p2align 3
.L48:
	add	DWORD PTR 28[rsp], 1
	lea	rdx, 48[rsp]
	xor	r9d, r9d
	mov	ecx, r15d
	sub	rsp, 8
	.cfi_def_cfa_offset 200
	mov	edi, DWORD PTR 16[r12]
	mov	rsi, r14
	push	0
	.cfi_def_cfa_offset 208
	call	menu_entries_append_enum@PLT
	pop	r10
	.cfi_def_cfa_offset 200
	pop	r11
	.cfi_def_cfa_offset 192
.L49:
	add	rbp, 1
	cmp	QWORD PTR 16[rsp], rbp
	je	.L134
.L25:
	mov	rax, rbp
	mov	r15d, DWORD PTR MSG_UNKNOWN[rip]
	sal	rax, 4
	add	rax, QWORD PTR 8[r13]
	mov	r14, QWORD PTR [rax]
	mov	BYTE PTR 48[rsp], 0
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, 132
	je	.L27
	cmp	eax, 133
	jne	.L135
	mov	ebx, DWORD PTR FILE_TYPE_CARCHIVE[rip]
	jmp	.L31
	.p2align 4,,10
	.p2align 3
.L65:
	mov	ebp, 1
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L133:
	cmp	ebx, 139
	je	.L37
	mov	ebx, DWORD PTR FILE_TYPE_PLAYLIST_COLLECTION[rip]
.L38:
	mov	rdi, r14
	call	path_is_media_type@PLT
	cmp	eax, DWORD PTR RARCH_CONTENT_MUSIC[rip]
	je	.L39
	mov	rax, QWORD PTR 8[rsp]
	cmp	QWORD PTR 16[rax], 0
	jne	.L41
	mov	rax, QWORD PTR 8[rsp]
	cmp	QWORD PTR 8[rax], 0
	je	.L47
.L41:
	mov	rdi, r14
	call	path_is_media_type@PLT
	cmp	eax, 131
	je	.L136
.L47:
	lea	eax, -135[rbx]
	cmp	eax, 4
	ja	.L42
	lea	rdx, .L43[rip]
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L43:
	.long	.L39-.L43
	.long	.L46-.L43
	.long	.L45-.L43
	.long	.L44-.L43
	.long	.L37-.L43
	.text
	.p2align 4,,10
	.p2align 3
.L39:
	mov	r15d, DWORD PTR MENU_ENUM_LABEL_FILE_BROWSER_MUSIC_OPEN[rip]
	mov	r8d, 135
	jmp	.L48
	.p2align 4,,10
	.p2align 3
.L136:
	mov	eax, DWORD PTR FILEBROWSER_SELECT_IMAGE[rip]
	cmp	DWORD PTR filebrowser_types[rip], eax
	jne	.L47
.L44:
	mov	r15d, DWORD PTR MENU_ENUM_LABEL_FILE_BROWSER_IMAGE[rip]
	mov	r8d, 138
	jmp	.L48
	.p2align 4,,10
	.p2align 3
.L45:
	mov	r15d, DWORD PTR MENU_ENUM_LABEL_FILE_BROWSER_IMAGE_OPEN_WITH_VIEWER[rip]
	mov	r8d, 137
	jmp	.L48
	.p2align 4,,10
	.p2align 3
.L46:
	mov	r15d, DWORD PTR MENU_ENUM_LABEL_FILE_BROWSER_MOVIE_OPEN[rip]
	mov	r8d, 136
	jmp	.L48
	.p2align 4,,10
	.p2align 3
.L130:
	mov	rdi, r14
	mov	ebx, 139
	call	string_is_empty@PLT
	or	eax, DWORD PTR 24[rsp]
	jne	.L35
.L132:
	mov	rdi, r14
	call	path_basename@PLT
	mov	r14, rax
	jmp	.L35
	.p2align 4,,10
	.p2align 3
.L27:
	mov	ebx, DWORD PTR FILE_TYPE_IN_CARCHIVE[rip]
	jmp	.L31
	.p2align 4,,10
	.p2align 3
.L134:
	cmp	QWORD PTR 0[r13], 0
	jne	.L137
.L50:
	mov	r9d, DWORD PTR 28[rsp]
	test	r9d, r9d
	je	.L26
.L24:
	mov	esi, DWORD PTR 24[rsp]
	test	esi, esi
	jne	.L1
	cmp	BYTE PTR 47[rsp], 0
	je	.L1
	mov	edi, DWORD PTR MENU_ENUM_LABEL_VALUE_PARENT_DIRECTORY[rip]
	mov	ebx, DWORD PTR FILE_TYPE_PARENT_DIRECTORY[rip]
	mov	r13d, DWORD PTR MENU_ENUM_LABEL_PARENT_DIRECTORY[rip]
	call	msg_hash_to_str@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 200
	xor	r9d, r9d
	mov	r8d, ebx
	push	0
	.cfi_def_cfa_offset 208
	mov	edi, DWORD PTR 16[r12]
	mov	ecx, r13d
	mov	rsi, rax
	mov	rdx, QWORD PTR 48[rsp]
	call	menu_entries_prepend@PLT
	pop	rdx
	.cfi_def_cfa_offset 200
	pop	rcx
	.cfi_def_cfa_offset 192
.L1:
	mov	rax, QWORD PTR 120[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L138
	add	rsp, 136
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
.L42:
	.cfi_restore_state
	mov	r8d, ebx
	jmp	.L48
	.p2align 4,,10
	.p2align 3
.L8:
	test	r13, r13
	je	.L10
	cmp	QWORD PTR subsystem_current_count[rip], 0
	jg	.L139
.L10:
	cmp	eax, 140
	je	.L72
.L60:
	mov	BYTE PTR 47[rsp], 1
.L57:
	mov	edi, DWORD PTR MENU_ENUM_LABEL_VALUE_UNABLE_TO_READ_COMPRESSED_FILE[rip]
	call	msg_hash_to_str@PLT
	mov	rsi, rax
.L21:
	test	r12, r12
	je	.L1
	sub	rsp, 8
	.cfi_def_cfa_offset 200
	mov	edi, DWORD PTR 16[r12]
	xor	r9d, r9d
	xor	r8d, r8d
	push	0
	.cfi_def_cfa_offset 208
	mov	ecx, DWORD PTR MENU_ENUM_LABEL_VALUE_DIRECTORY_NOT_FOUND[rip]
	lea	rdx, .LC0[rip]
	call	menu_entries_append_enum@PLT
	pop	rbx
	.cfi_def_cfa_offset 200
	pop	rbp
	.cfi_def_cfa_offset 192
	jmp	.L24
	.p2align 4,,10
	.p2align 3
.L127:
	mov	rdi, QWORD PTR 32[rsp]
	call	path_is_compressed_file@PLT
	mov	DWORD PTR 24[rsp], eax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	xor	eax, eax
	mov	r13, QWORD PTR subsystem_data[rip]
	call	content_get_subsystem@PLT
	movsx	rbx, eax
	sal	rbx, 4
	add	r13, rbx
	test	r12, r12
	jne	.L140
.L64:
	mov	BYTE PTR 47[rsp], 0
.L6:
	mov	rdi, QWORD PTR 32[rsp]
	call	string_is_empty@PLT
	test	eax, eax
	mov	eax, DWORD PTR filebrowser_types[rip]
	jne	.L13
	cmp	eax, DWORD PTR FILEBROWSER_SELECT_FILE_SUBSYSTEM[rip]
	je	.L141
	mov	rax, QWORD PTR 8[rsp]
	mov	ecx, DWORD PTR 24[rax]
	test	ebp, ebp
	je	.L68
	cmp	BYTE PTR 47[rsp], 0
	je	.L68
	mov	rsi, QWORD PTR 24[r12]
.L17:
	mov	rdi, QWORD PTR 32[rsp]
	xor	r9d, r9d
	mov	r8d, 1
	mov	edx, 1
	call	dir_list_new@PLT
	mov	r13, rax
.L16:
	cmp	DWORD PTR filebrowser_types[rip], 140
	je	.L142
.L18:
	test	r13, r13
	jne	.L19
	.p2align 4,,10
	.p2align 3
.L56:
	mov	r13d, DWORD PTR 24[rsp]
	test	r13d, r13d
	jne	.L57
	mov	edi, DWORD PTR MENU_ENUM_LABEL_VALUE_DIRECTORY_NOT_FOUND[rip]
	call	msg_hash_to_str@PLT
	mov	rsi, rax
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L141:
	test	r13, r13
	je	.L13
	cmp	QWORD PTR subsystem_current_count[rip], 0
	jle	.L13
	xor	eax, eax
	call	content_get_subsystem_rom_id@PLT
	cmp	rax, QWORD PTR 0[r13]
	jb	.L14
	mov	eax, DWORD PTR filebrowser_types[rip]
	.p2align 4,,10
	.p2align 3
.L13:
	cmp	eax, 140
	jne	.L56
	test	r12, r12
	je	.L56
	xor	r13d, r13d
	jmp	.L53
	.p2align 4,,10
	.p2align 3
.L72:
	xor	r13d, r13d
.L125:
	mov	BYTE PTR 47[rsp], 1
.L53:
	mov	ebx, DWORD PTR MENU_ENUM_LABEL_USE_THIS_DIRECTORY[rip]
	mov	ebp, DWORD PTR FILE_TYPE_USE_DIRECTORY[rip]
	mov	edi, ebx
	call	msg_hash_to_str@PLT
	mov	edi, DWORD PTR MENU_ENUM_LABEL_VALUE_USE_THIS_DIRECTORY[rip]
	mov	r14, rax
	call	msg_hash_to_str@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 200
	mov	edi, DWORD PTR 16[r12]
	mov	ecx, ebx
	push	0
	.cfi_def_cfa_offset 208
	mov	rdx, r14
	mov	rsi, rax
	xor	r9d, r9d
	mov	r8d, ebp
	call	menu_entries_prepend@PLT
	pop	r14
	.cfi_def_cfa_offset 200
	pop	r15
	.cfi_def_cfa_offset 192
	test	r13, r13
	jne	.L19
	jmp	.L56
	.p2align 4,,10
	.p2align 3
.L129:
	mov	rdi, r13
	call	string_list_free@PLT
.L26:
	mov	r14d, DWORD PTR MENU_ENUM_LABEL_NO_ITEMS[rip]
	mov	ebx, DWORD PTR MENU_SETTING_NO_ITEM[rip]
	mov	edi, r14d
	call	msg_hash_to_str@PLT
	mov	edi, DWORD PTR MENU_ENUM_LABEL_VALUE_NO_ITEMS[rip]
	mov	r13, rax
	call	msg_hash_to_str@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 200
	mov	r8d, ebx
	xor	r9d, r9d
	push	0
	.cfi_def_cfa_offset 208
	mov	edi, DWORD PTR 16[r12]
	mov	rsi, rax
	mov	ecx, r14d
	mov	rdx, r13
	call	menu_entries_append_enum@PLT
	pop	rdi
	.cfi_def_cfa_offset 200
	pop	r8
	.cfi_def_cfa_offset 192
	jmp	.L24
	.p2align 4,,10
	.p2align 3
.L139:
	mov	rbx, QWORD PTR 8[r13]
	xor	eax, eax
	call	content_get_subsystem_rom_id@PLT
	mov	rdi, QWORD PTR 32[rsp]
	mov	rsi, QWORD PTR [rbx+rax*8]
	call	file_archive_get_file_list@PLT
	mov	r13, rax
	jmp	.L9
.L142:
	test	r12, r12
	je	.L18
	jmp	.L53
	.p2align 4,,10
	.p2align 3
.L131:
	mov	rdi, r14
	call	path_is_compressed_file@PLT
	test	eax, eax
	cmovne	ebx, DWORD PTR FILE_TYPE_CARCHIVE[rip]
	jmp	.L31
	.p2align 4,,10
	.p2align 3
.L137:
	mov	rdi, r13
	call	string_list_free@PLT
	jmp	.L50
	.p2align 4,,10
	.p2align 3
.L68:
	xor	esi, esi
	jmp	.L17
.L14:
	mov	rax, QWORD PTR 8[rsp]
	mov	r14d, DWORD PTR 24[rax]
	test	ebp, ebp
	je	.L67
	cmp	BYTE PTR 47[rsp], 0
	je	.L67
	mov	rbx, QWORD PTR 8[r13]
	xor	eax, eax
	call	content_get_subsystem_rom_id@PLT
	mov	rsi, QWORD PTR [rbx+rax*8]
.L15:
	mov	rdi, QWORD PTR 32[rsp]
	xor	r9d, r9d
	mov	ecx, r14d
	mov	edx, 1
	mov	r8d, 1
	call	dir_list_new@PLT
	mov	r13, rax
	jmp	.L16
.L67:
	xor	esi, esi
	jmp	.L15
.L138:
	call	__stack_chk_fail@PLT
.L128:
	mov	BYTE PTR 47[rsp], 1
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	filebrowser_parse, .-filebrowser_parse
	.comm	subsystem_data,8,8
	.comm	subsystem_current_count,8,8
	.comm	filebrowser_types,4,4
	.comm	RARCH_CONTENT_MUSIC,4,4
	.comm	MSG_UNKNOWN,4,4
	.comm	MENU_SETTING_NO_ITEM,4,4
	.comm	MENU_ENUM_LABEL_VALUE_USE_THIS_DIRECTORY,4,4
	.comm	MENU_ENUM_LABEL_VALUE_UNABLE_TO_READ_COMPRESSED_FILE,4,4
	.comm	MENU_ENUM_LABEL_VALUE_SCAN_THIS_DIRECTORY,4,4
	.comm	MENU_ENUM_LABEL_VALUE_PARENT_DIRECTORY,4,4
	.comm	MENU_ENUM_LABEL_VALUE_NO_ITEMS,4,4
	.comm	MENU_ENUM_LABEL_VALUE_DIRECTORY_NOT_FOUND,4,4
	.comm	MENU_ENUM_LABEL_USE_THIS_DIRECTORY,4,4
	.comm	MENU_ENUM_LABEL_SCAN_THIS_DIRECTORY,4,4
	.comm	MENU_ENUM_LABEL_SCAN_FILE,4,4
	.comm	MENU_ENUM_LABEL_PARENT_DIRECTORY,4,4
	.comm	MENU_ENUM_LABEL_NO_ITEMS,4,4
	.comm	MENU_ENUM_LABEL_FILE_BROWSER_PLAIN_FILE,4,4
	.comm	MENU_ENUM_LABEL_FILE_BROWSER_MUSIC_OPEN,4,4
	.comm	MENU_ENUM_LABEL_FILE_BROWSER_MOVIE_OPEN,4,4
	.comm	MENU_ENUM_LABEL_FILE_BROWSER_IMAGE_OPEN_WITH_VIEWER,4,4
	.comm	MENU_ENUM_LABEL_FILE_BROWSER_IMAGE,4,4
	.comm	MENU_ENUM_LABEL_FILE_BROWSER_DIRECTORY,4,4
	.comm	FILE_TYPE_USE_DIRECTORY,4,4
	.comm	FILE_TYPE_SHADER_PRESET,8,8
	.comm	FILE_TYPE_SHADER,8,8
	.comm	FILE_TYPE_SCAN_DIRECTORY,4,4
	.comm	FILE_TYPE_PLAYLIST_COLLECTION,4,4
	.comm	FILE_TYPE_PARENT_DIRECTORY,4,4
	.comm	FILE_TYPE_NONE,4,4
	.comm	FILE_TYPE_IN_CARCHIVE,4,4
	.comm	FILE_TYPE_FONT,4,4
	.comm	FILE_TYPE_CARCHIVE,4,4
	.comm	FILEBROWSER_SELECT_IMAGE,4,4
	.comm	FILEBROWSER_SELECT_FONT,4,4
	.comm	FILEBROWSER_SELECT_FILE_SUBSYSTEM,4,4
	.comm	FILEBROWSER_SELECT_COLLECTION,4,4
	.comm	DISPLAYLIST_IMAGES,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_menu_filebrowser.c_filebrowser_parse.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	filebrowser_parse
	.syntax unified
	.arm
	.fpu softvfp
	.type	filebrowser_parse, %function
filebrowser_parse:
	@ args = 0, pretend = 0, frame = 96
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r6, r0
	sub	sp, sp, #116
	ldr	r3, .L132
	str	r1, [sp, #36]
	ldr	r3, [r3]
	str	r3, [sp, #108]
	mov	r3,#0
	bl	config_get_ptr
	cmp	r6, #0
	ldrne	r3, [r6]
	streq	r6, [sp, #28]
	strne	r3, [sp, #28]
	mov	r10, r0
	ldr	r0, [sp, #28]
	bl	string_is_empty
	cmp	r0, #0
	movne	r3, #0
	strne	r3, [sp, #16]
	beq	.L115
.L3:
	ldr	r5, [r10]
	bl	runloop_get_system_info
	ldr	r4, [r0]
	cmp	r4, #0
	ldreq	r3, .L132+4
	ldreq	r4, [r3]
	bl	content_get_subsystem
	cmp	r6, #0
	add	r4, r4, r0, lsl #3
	beq	.L64
	ldr	r2, .L132+8
	ldr	r3, [r6, #4]
	ldr	r2, [r2]
	cmp	r3, r2
	moveq	r5, #1
	beq	.L7
	ldr	r2, .L132+12
	ldr	r2, [r2]
	cmp	r3, r2
	moveq	r5, #1
.L7:
	ldr	r3, .L132+16
	ldr	r7, [r6, #16]
	ldr	r0, [r3]
	bl	msg_hash_to_str
	mov	r1, r0
	mov	r0, r7
	bl	string_is_equal
	ldr	r3, [sp, #16]
	cmp	r0, #0
	movne	r5, #0
	cmp	r3, #0
	beq	.L116
	ldr	r7, .L132+20
	ldr	r2, .L132+24
	ldr	r3, [r7]
	ldr	r2, [r2]
	cmp	r3, r2
	bne	.L117
	cmp	r4, #0
	beq	.L10
	ldr	r2, .L132+28
	ldr	r2, [r2]
	cmp	r2, #0
	bgt	.L118
.L10:
	cmp	r3, #140
	beq	.L72
.L60:
	mov	r3, #1
	str	r3, [sp, #32]
.L57:
	ldr	r3, .L132+32
	ldr	r0, [r3]
	bl	msg_hash_to_str
	mov	r1, r0
	b	.L21
.L117:
	ldr	r1, [r6, #12]
	ldr	r0, [sp, #28]
	bl	file_archive_get_file_list
	mov	r8, r0
.L9:
	ldr	r3, [r7]
	cmp	r3, #140
	beq	.L112
	cmp	r8, #0
	beq	.L60
	mov	r3, #1
	str	r3, [sp, #32]
.L19:
	mov	r1, #1
	mov	r0, r8
	bl	dir_list_sort
	ldr	r3, [r8]
	cmp	r3, #0
	str	r3, [sp, #24]
	beq	.L119
	mov	r3, #0
	str	r6, [sp, #20]
	mov	r9, r3
	mov	r4, r3
	b	.L25
.L125:
	cmp	r2, #129
	beq	.L120
	ldr	r2, .L132+36
	ldr	r0, [r7]
	ldr	r2, [r2]
	cmp	r0, r2
	ldrne	r3, [sp, #20]
	ldreq	r2, .L132+40
	ldrne	r5, [r3, #4]
	ldr	r3, [sp, #36]
	ldreq	r5, [r2]
	cmp	r3, #142
	beq	.L121
.L31:
	cmp	r5, #139
	beq	.L29
	ldr	r2, [r7]
	sub	r2, r2, #140
	cmp	r2, #1
	bls	.L49
.L29:
	mov	r0, r6
	bl	string_is_empty
	ldr	r3, [sp, #16]
	orrs	r3, r0, r3
	beq	.L122
.L35:
	ldr	r3, .L132+44
	ldr	r0, [r7]
	ldr	r2, [r3]
	cmp	r0, r2
	beq	.L123
	cmp	r5, #139
	bne	.L38
.L37:
	mov	r5, #139
	ldr	r3, .L132+48
	ldr	fp, [r3]
.L48:
	mov	r2, #0
	ldr	r0, [sp, #20]
	str	r2, [sp, #8]
	str	r2, [sp, #4]
	str	r5, [sp]
	mov	r3, fp
	mov	r1, r6
	ldr	r0, [r0, #8]
	add	r2, sp, #44
	add	r9, r9, #1
	bl	menu_entries_append_enum
.L49:
	ldr	r3, [sp, #24]
	add	r4, r4, #1
	cmp	r3, r4
	beq	.L124
.L25:
	mov	r0, #0
	ldr	r2, [r8, #4]
	ldr	r3, .L132+52
	ldr	r6, [r2, r4, lsl #3]
	add	r2, r2, r4, lsl #3
	strb	r0, [sp, #44]
	ldr	r2, [r2, #4]
	ldr	fp, [r3]
	cmp	r2, #132
	beq	.L27
	cmp	r2, #133
	bne	.L125
.L113:
	ldr	r2, .L132+56
	ldr	r5, [r2]
	b	.L31
.L123:
	cmp	r5, #139
	beq	.L37
	ldr	r2, .L132+60
	ldr	r5, [r2]
.L38:
	mov	r0, r6
	bl	path_is_media_type
	ldr	r3, .L132+64
	ldr	r2, [r3]
	cmp	r0, r2
	beq	.L39
	ldr	r2, [r10, #8]
	cmp	r2, #0
	bne	.L41
	ldr	r2, [r10, #4]
	cmp	r2, #0
	beq	.L47
.L41:
	mov	r0, r6
	bl	path_is_media_type
	cmp	r0, #131
	beq	.L126
.L47:
	sub	r2, r5, #135
	cmp	r2, #4
	ldrls	pc, [pc, r2, asl #2]
	b	.L48
.L43:
	.word	.L39
	.word	.L46
	.word	.L45
	.word	.L44
	.word	.L37
.L39:
	ldr	r3, .L132+68
	mov	r5, #135
	ldr	fp, [r3]
	b	.L48
.L126:
	ldr	r3, .L132+72
	ldr	r0, [r7]
	ldr	r2, [r3]
	cmp	r0, r2
	bne	.L47
.L44:
	ldr	r3, .L132+76
	mov	r5, #138
	ldr	fp, [r3]
	b	.L48
.L45:
	ldr	r3, .L132+80
	mov	r5, #137
	ldr	fp, [r3]
	b	.L48
.L46:
	ldr	r3, .L132+84
	mov	r5, #136
	ldr	fp, [r3]
	b	.L48
.L120:
	mov	r5, #139
	b	.L29
.L27:
	ldr	r2, .L132+88
	ldr	r5, [r2]
	b	.L31
.L122:
	mov	r0, r6
	bl	path_basename
	mov	r6, r0
	b	.L35
.L124:
	ldr	r3, [r8]
	mov	r4, r9
	cmp	r3, #0
	ldr	r6, [sp, #20]
	bne	.L127
.L50:
	cmp	r4, #0
	beq	.L26
.L24:
	ldr	r3, [sp, #16]
	ldr	r0, [sp, #32]
	cmp	r3, #0
	movne	r0, #0
	cmp	r0, #0
	beq	.L1
	ldr	r3, .L132+92
	ldr	r4, [r6, #8]
	ldr	r0, [r3]
	bl	msg_hash_to_str
	mov	r3, #0
	ldr	r2, .L132+96
	ldr	ip, .L132+100
	ldr	lr, [r2]
	str	r3, [sp, #8]
	str	lr, [sp]
	str	r3, [sp, #4]
	mov	r1, r0
	ldr	r2, [sp, #28]
	mov	r0, r4
	ldr	r3, [ip]
	bl	menu_entries_prepend
.L1:
	ldr	r3, .L132
	ldr	r2, [r3]
	ldr	r3, [sp, #108]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L128
	add	sp, sp, #116
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L115:
	ldr	r0, [sp, #28]
	bl	path_is_compressed_file
	str	r0, [sp, #16]
	b	.L3
.L64:
	str	r6, [sp, #32]
.L6:
	ldr	r0, [sp, #28]
	bl	string_is_empty
	cmp	r0, #0
	ldr	r7, .L132+20
	beq	.L129
.L11:
	ldr	r3, [r7]
.L13:
	cmp	r3, #140
	beq	.L130
.L56:
	ldr	r3, [sp, #16]
	cmp	r3, #0
	bne	.L57
	ldr	r3, .L132+104
	ldr	r0, [r3]
	bl	msg_hash_to_str
	mov	r1, r0
.L21:
	cmp	r6, #0
	beq	.L1
	mov	r3, #0
	ldr	r2, .L132+104
	str	r3, [sp, #8]
	str	r3, [sp, #4]
	str	r3, [sp]
	ldr	r3, [r2]
	ldr	r0, [r6, #8]
	ldr	r2, .L132+108
	bl	menu_entries_append_enum
	b	.L24
.L72:
	mov	r8, #0
.L112:
	mov	r3, #1
	str	r3, [sp, #32]
.L53:
	ldr	r3, .L132+112
	ldr	r5, [r6, #8]
	ldr	r0, [r3]
	bl	msg_hash_to_str
	ldr	r9, .L132+116
	mov	r4, r0
	ldr	r0, [r9]
	bl	msg_hash_to_str
	mov	ip, #0
	ldr	r3, .L132+120
	mov	r2, r0
	ldr	lr, [r3]
	mov	r1, r4
	ldr	r3, [r9]
	mov	r0, r5
	str	lr, [sp]
	str	ip, [sp, #8]
	str	ip, [sp, #4]
	bl	menu_entries_prepend
.L18:
	cmp	r8, #0
	bne	.L19
	b	.L56
.L119:
	mov	r0, r8
	bl	string_list_free
.L26:
	ldr	r3, .L132+124
	ldr	r5, [r6, #8]
	ldr	r0, [r3]
	bl	msg_hash_to_str
	ldr	r7, .L132+128
	mov	r4, r0
	ldr	r0, [r7]
	bl	msg_hash_to_str
	mov	ip, #0
	ldr	r3, .L132+132
	mov	r2, r0
	ldr	lr, [r3]
	mov	r1, r4
	ldr	r3, [r7]
	mov	r0, r5
	str	lr, [sp]
	str	ip, [sp, #8]
	str	ip, [sp, #4]
	bl	menu_entries_append_enum
	b	.L24
.L129:
	ldr	r2, .L132+24
	ldr	r3, [r7]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L131
	cmp	r5, #0
	ldr	r1, [sp, #32]
	moveq	r1, #0
	cmp	r1, #0
	ldrne	r1, [r6, #12]
.L17:
	mov	r0, #0
	mov	r2, #1
	ldr	r3, [r10, #12]
	str	r0, [sp, #4]
	str	r2, [sp]
	ldr	r0, [sp, #28]
	bl	dir_list_new
	ldr	r3, [r7]
	mov	r8, r0
	cmp	r3, #140
	bne	.L18
	cmp	r6, #0
	beq	.L18
	b	.L53
.L118:
	ldr	r4, [r4, #4]
	bl	content_get_subsystem_rom_id
	ldr	r1, [r4, r0, lsl #2]
	ldr	r0, [sp, #28]
	bl	file_archive_get_file_list
	mov	r8, r0
	b	.L9
.L121:
	mov	r0, r6
	bl	path_is_compressed_file
	cmp	r0, #0
	beq	.L31
	b	.L113
.L127:
	mov	r0, r8
	bl	string_list_free
	b	.L50
.L130:
	cmp	r6, #0
	beq	.L56
	mov	r8, #0
	b	.L53
.L131:
	cmp	r4, #0
	beq	.L13
	ldr	r2, .L132+28
	ldr	r2, [r2]
	cmp	r2, #0
	ble	.L13
	bl	content_get_subsystem_rom_id
	ldr	r3, [r4]
	cmp	r0, r3
	bcs	.L11
	cmp	r5, #0
	ldr	r1, [sp, #32]
	moveq	r1, #0
	cmp	r1, #0
	beq	.L17
	ldr	r4, [r4, #4]
	bl	content_get_subsystem_rom_id
	ldr	r1, [r4, r0, lsl #2]
	b	.L17
.L128:
	bl	__stack_chk_fail
.L116:
	mov	r3, #1
	str	r3, [sp, #32]
	b	.L6
.L133:
	.align	2
.L132:
	.word	.LC1
	.word	subsystem_data
	.word	FILE_TYPE_SHADER_PRESET
	.word	FILE_TYPE_SHADER
	.word	MENU_ENUM_LABEL_SCAN_FILE
	.word	filebrowser_types
	.word	FILEBROWSER_SELECT_FILE_SUBSYSTEM
	.word	subsystem_current_count
	.word	MENU_ENUM_LABEL_VALUE_UNABLE_TO_READ_COMPRESSED_FILE
	.word	FILEBROWSER_SELECT_FONT
	.word	FILE_TYPE_FONT
	.word	FILEBROWSER_SELECT_COLLECTION
	.word	MENU_ENUM_LABEL_FILE_BROWSER_DIRECTORY
	.word	MSG_UNKNOWN
	.word	FILE_TYPE_CARCHIVE
	.word	FILE_TYPE_PLAYLIST_COLLECTION
	.word	RARCH_CONTENT_MUSIC
	.word	MENU_ENUM_LABEL_FILE_BROWSER_MUSIC_OPEN
	.word	FILEBROWSER_SELECT_IMAGE
	.word	MENU_ENUM_LABEL_FILE_BROWSER_IMAGE
	.word	MENU_ENUM_LABEL_FILE_BROWSER_IMAGE_OPEN_WITH_VIEWER
	.word	MENU_ENUM_LABEL_FILE_BROWSER_MOVIE_OPEN
	.word	FILE_TYPE_IN_CARCHIVE
	.word	MENU_ENUM_LABEL_VALUE_PARENT_DIRECTORY
	.word	FILE_TYPE_PARENT_DIRECTORY
	.word	MENU_ENUM_LABEL_PARENT_DIRECTORY
	.word	MENU_ENUM_LABEL_VALUE_DIRECTORY_NOT_FOUND
	.word	.LC0
	.word	MENU_ENUM_LABEL_VALUE_USE_THIS_DIRECTORY
	.word	MENU_ENUM_LABEL_USE_THIS_DIRECTORY
	.word	FILE_TYPE_USE_DIRECTORY
	.word	MENU_ENUM_LABEL_VALUE_NO_ITEMS
	.word	MENU_ENUM_LABEL_NO_ITEMS
	.word	MENU_SETTING_NO_ITEM
	.size	filebrowser_parse, .-filebrowser_parse
	.comm	subsystem_data,4,4
	.comm	subsystem_current_count,4,4
	.comm	filebrowser_types,4,4
	.comm	RARCH_CONTENT_MUSIC,4,4
	.comm	MSG_UNKNOWN,4,4
	.comm	MENU_SETTING_NO_ITEM,4,4
	.comm	MENU_ENUM_LABEL_VALUE_USE_THIS_DIRECTORY,4,4
	.comm	MENU_ENUM_LABEL_VALUE_UNABLE_TO_READ_COMPRESSED_FILE,4,4
	.comm	MENU_ENUM_LABEL_VALUE_SCAN_THIS_DIRECTORY,4,4
	.comm	MENU_ENUM_LABEL_VALUE_PARENT_DIRECTORY,4,4
	.comm	MENU_ENUM_LABEL_VALUE_NO_ITEMS,4,4
	.comm	MENU_ENUM_LABEL_VALUE_DIRECTORY_NOT_FOUND,4,4
	.comm	MENU_ENUM_LABEL_USE_THIS_DIRECTORY,4,4
	.comm	MENU_ENUM_LABEL_SCAN_THIS_DIRECTORY,4,4
	.comm	MENU_ENUM_LABEL_SCAN_FILE,4,4
	.comm	MENU_ENUM_LABEL_PARENT_DIRECTORY,4,4
	.comm	MENU_ENUM_LABEL_NO_ITEMS,4,4
	.comm	MENU_ENUM_LABEL_FILE_BROWSER_PLAIN_FILE,4,4
	.comm	MENU_ENUM_LABEL_FILE_BROWSER_MUSIC_OPEN,4,4
	.comm	MENU_ENUM_LABEL_FILE_BROWSER_MOVIE_OPEN,4,4
	.comm	MENU_ENUM_LABEL_FILE_BROWSER_IMAGE_OPEN_WITH_VIEWER,4,4
	.comm	MENU_ENUM_LABEL_FILE_BROWSER_IMAGE,4,4
	.comm	MENU_ENUM_LABEL_FILE_BROWSER_DIRECTORY,4,4
	.comm	FILE_TYPE_USE_DIRECTORY,4,4
	.comm	FILE_TYPE_SHADER_PRESET,4,4
	.comm	FILE_TYPE_SHADER,4,4
	.comm	FILE_TYPE_SCAN_DIRECTORY,4,4
	.comm	FILE_TYPE_PLAYLIST_COLLECTION,4,4
	.comm	FILE_TYPE_PARENT_DIRECTORY,4,4
	.comm	FILE_TYPE_NONE,4,4
	.comm	FILE_TYPE_IN_CARCHIVE,4,4
	.comm	FILE_TYPE_FONT,4,4
	.comm	FILE_TYPE_CARCHIVE,4,4
	.comm	FILEBROWSER_SELECT_IMAGE,4,4
	.comm	FILEBROWSER_SELECT_FONT,4,4
	.comm	FILEBROWSER_SELECT_FILE_SUBSYSTEM,4,4
	.comm	FILEBROWSER_SELECT_COLLECTION,4,4
	.comm	DISPLAYLIST_IMAGES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
