	.file	"extr_menu_displaylist.c_menu_displaylist_parse_core_info.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	": "
.LC1:
	.string	""
.LC2:
	.string	", "
.LC3:
	.string	"(!) %s, %s: %s"
	.text
	.p2align 4
	.type	menu_displaylist_parse_core_info, @function
menu_displaylist_parse_core_info:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	mov	r12, rdi
	push	rbx
	sub	rsp, 152
	.cfi_offset 3, -56
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR PATH_MAX_LENGTH[rip]
	mov	rbx, rsp
	mov	r13, rax
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rbx, rax
	and	rdx, -16
	mov	rax, rbx
	cmp	rsp, rax
	je	.L3
.L50:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L50
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L51
.L4:
	mov	QWORD PTR -144[rbp], 0
	xor	eax, eax
	mov	rbx, rsp
	call	config_get_ptr@PLT
	lea	rdi, -144[rbp]
	mov	BYTE PTR [rsp], 0
	mov	QWORD PTR -184[rbp], rax
	call	core_info_get_current_core@PLT
	mov	rax, QWORD PTR -144[rbp]
	test	rax, rax
	je	.L5
	mov	r9d, DWORD PTR 128[rax]
	test	r9d, r9d
	je	.L5
	mov	edx, DWORD PTR MENU_ENUM_LABEL_VALUE_CORE_INFO_CORE_NAME[rip]
	xor	r14d, r14d
	mov	DWORD PTR -120[rbp], edx
	mov	edx, DWORD PTR MENU_ENUM_LABEL_VALUE_CORE_INFO_CORE_LABEL[rip]
	mov	DWORD PTR -104[rbp], edx
	mov	edx, DWORD PTR MENU_ENUM_LABEL_VALUE_CORE_INFO_SYSTEM_NAME[rip]
	mov	DWORD PTR -88[rbp], edx
	mov	edx, DWORD PTR MENU_ENUM_LABEL_VALUE_CORE_INFO_SYSTEM_MANUFACTURER[rip]
	mov	DWORD PTR -72[rbp], edx
	mov	rdx, QWORD PTR [rax]
	mov	QWORD PTR -128[rbp], rdx
	mov	rdx, QWORD PTR 8[rax]
	mov	QWORD PTR -112[rbp], rdx
	mov	rdx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -96[rbp], rdx
	mov	QWORD PTR -80[rbp], rax
	lea	rax, -128[rbp]
	mov	QWORD PTR -176[rbp], rax
	mov	r15, rax
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rcx, QWORD PTR [r15]
	test	rcx, rcx
	mov	QWORD PTR -168[rbp], rcx
	je	.L9
	mov	edi, DWORD PTR 8[r15]
	call	msg_hash_to_str@PLT
	mov	rcx, QWORD PTR -168[rbp]
	mov	r8d, r13d
	mov	rdi, rbx
	mov	rsi, rax
	lea	rdx, .LC0[rip]
	call	fill_pathname_join_concat_noext@PLT
	sub	rsp, 8
	mov	edi, DWORD PTR [r12]
	xor	r9d, r9d
	push	0
	mov	ecx, DWORD PTR MENU_ENUM_LABEL_CORE_INFO_ENTRY[rip]
	mov	rsi, rbx
	lea	rdx, .LC1[rip]
	mov	r8d, DWORD PTR MENU_SETTINGS_CORE_INFO_NONE[rip]
	call	menu_entries_append_enum@PLT
	pop	rdi
	pop	r8
.L9:
	add	r14d, 1
	add	r15, 16
.L8:
	mov	rdi, QWORD PTR -176[rbp]
	call	ARRAY_SIZE@PLT
	cmp	r14d, eax
	jb	.L10
	mov	rax, QWORD PTR -144[rbp]
	cmp	QWORD PTR 120[rax], 0
	jne	.L52
.L11:
	cmp	QWORD PTR 112[rax], 0
	jne	.L53
.L12:
	cmp	QWORD PTR 104[rax], 0
	jne	.L54
.L13:
	cmp	QWORD PTR 96[rax], 0
	jne	.L55
.L14:
	cmp	QWORD PTR 88[rax], 0
	jne	.L56
.L15:
	cmp	QWORD PTR 80[rax], 0
	jne	.L57
.L16:
	mov	edx, DWORD PTR 32[rax]
	test	edx, edx
	jne	.L58
.L17:
	cmp	QWORD PTR 48[rax], 0
	je	.L29
	mov	rax, QWORD PTR 40[rax]
	mov	edi, DWORD PTR [rax]
	test	edi, edi
	je	.L29
	xor	r15d, r15d
	lea	r14, .LC1[rip]
	.p2align 4,,10
	.p2align 3
.L30:
	mov	rax, QWORD PTR 8[rax]
	mov	edx, r15d
	mov	rdi, rbx
	add	r15d, 1
	mov	esi, DWORD PTR [rax+rdx*4]
	mov	edx, r13d
	call	strlcpy@PLT
	sub	rsp, 8
	mov	edi, DWORD PTR [r12]
	mov	rsi, rbx
	push	0
	mov	ecx, DWORD PTR MENU_ENUM_LABEL_CORE_INFO_ENTRY[rip]
	xor	r9d, r9d
	mov	rdx, r14
	mov	r8d, DWORD PTR MENU_SETTINGS_CORE_INFO_NONE[rip]
	call	menu_entries_append_enum@PLT
	mov	rax, QWORD PTR -144[rbp]
	pop	rcx
	pop	rsi
	mov	rax, QWORD PTR 40[rax]
	cmp	DWORD PTR [rax], r15d
	ja	.L30
.L29:
	mov	rax, QWORD PTR -184[rbp]
	cmp	QWORD PTR [rax], 0
	jne	.L59
.L7:
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L60
	lea	rsp, -40[rbp]
	xor	eax, eax
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	r14d, DWORD PTR MENU_ENUM_LABEL_NO_CORE_INFORMATION_AVAILABLE[rip]
	mov	edi, r14d
	call	msg_hash_to_str@PLT
	mov	edi, DWORD PTR MENU_ENUM_LABEL_VALUE_NO_CORE_INFORMATION_AVAILABLE[rip]
	mov	r13, rax
	call	msg_hash_to_str@PLT
	sub	rsp, 8
	mov	edi, DWORD PTR [r12]
	mov	ecx, r14d
	push	0
	mov	rsi, rax
	mov	rdx, r13
	xor	r9d, r9d
	xor	r8d, r8d
	call	menu_entries_append_enum@PLT
	mov	r14d, DWORD PTR MENU_ENUM_LABEL_CORE_DELETE[rip]
	mov	ebx, DWORD PTR MENU_SETTING_ACTION_CORE_DELETE[rip]
	mov	edi, r14d
	call	msg_hash_to_str@PLT
	mov	edi, DWORD PTR MENU_ENUM_LABEL_VALUE_CORE_DELETE[rip]
	mov	r13, rax
	call	msg_hash_to_str@PLT
	mov	DWORD PTR [rsp], 0
	mov	rsi, rax
.L48:
	mov	edi, DWORD PTR [r12]
	mov	rdx, r13
	xor	r9d, r9d
	mov	r8d, ebx
	mov	ecx, r14d
	call	menu_entries_append_enum@PLT
	pop	rax
	pop	rdx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L51:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L59:
	mov	r14d, DWORD PTR MENU_ENUM_LABEL_CORE_DELETE[rip]
	mov	ebx, DWORD PTR MENU_SETTING_ACTION_CORE_DELETE[rip]
	mov	edi, r14d
	call	msg_hash_to_str@PLT
	mov	edi, DWORD PTR MENU_ENUM_LABEL_VALUE_CORE_DELETE[rip]
	mov	r13, rax
	call	msg_hash_to_str@PLT
	sub	rsp, 8
	push	0
	mov	rsi, rax
	jmp	.L48
	.p2align 4,,10
	.p2align 3
.L58:
	mov	eax, DWORD PTR 64[rax]
	mov	edi, DWORD PTR RARCH_CTL_UNSET_MISSING_BIOS[rip]
	xor	esi, esi
	mov	DWORD PTR -148[rbp], 0
	mov	DWORD PTR -132[rbp], eax
	mov	rax, QWORD PTR -184[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	DWORD PTR -136[rbp], eax
	call	rarch_ctl@PLT
	lea	rsi, -148[rbp]
	lea	rdi, -136[rbp]
	call	core_info_list_update_missing_firmware@PLT
	mov	r15d, DWORD PTR -148[rbp]
	mov	r14d, eax
	test	r15d, r15d
	jne	.L61
.L18:
	mov	rax, QWORD PTR -144[rbp]
	test	r14d, r14d
	je	.L17
	mov	edi, DWORD PTR MENU_ENUM_LABEL_VALUE_CORE_INFO_FIRMWARE[rip]
	call	msg_hash_to_str@PLT
	mov	ecx, r13d
	lea	rdx, .LC0[rip]
	mov	rdi, rbx
	mov	rsi, rax
	call	fill_pathname_noext@PLT
	sub	rsp, 8
	mov	edi, DWORD PTR [r12]
	xor	r9d, r9d
	push	0
	mov	ecx, DWORD PTR MENU_ENUM_LABEL_CORE_INFO_ENTRY[rip]
	mov	rsi, rbx
	lea	rdx, .LC1[rip]
	mov	r8d, DWORD PTR MENU_SETTINGS_CORE_INFO_NONE[rip]
	call	menu_entries_append_enum@PLT
	mov	rcx, QWORD PTR -144[rbp]
	pop	r10
	pop	r11
	mov	r14d, DWORD PTR 32[rcx]
	mov	rax, rcx
	test	r14d, r14d
	je	.L17
	xor	r14d, r14d
	jmp	.L26
	.p2align 4,,10
	.p2align 3
.L62:
	mov	edi, DWORD PTR MENU_ENUM_LABEL_VALUE_OPTIONAL[rip]
	call	msg_hash_to_str@PLT
	mov	rdx, QWORD PTR -168[rbp]
	mov	r8, rax
.L23:
	mov	rax, QWORD PTR -144[rbp]
	mov	QWORD PTR -168[rbp], r8
	mov	rax, QWORD PTR 56[rax]
	cmp	QWORD PTR 16[rax+rdx], 0
	je	.L24
	mov	edi, DWORD PTR MENU_ENUM_LABEL_VALUE_MISSING[rip]
	call	msg_hash_to_str@PLT
	mov	r8, QWORD PTR -168[rbp]
	mov	rcx, rax
.L25:
	mov	r9, r15
	lea	rdx, .LC3[rip]
	mov	esi, r13d
	mov	rdi, rbx
	call	snprintf@PLT
	sub	rsp, 8
	mov	edi, DWORD PTR [r12]
	xor	r9d, r9d
	push	0
	mov	ecx, DWORD PTR MENU_ENUM_LABEL_CORE_INFO_ENTRY[rip]
	mov	rsi, rbx
	lea	rdx, .LC1[rip]
	mov	r8d, DWORD PTR MENU_SETTINGS_CORE_INFO_NONE[rip]
	call	menu_entries_append_enum@PLT
	mov	rcx, QWORD PTR -144[rbp]
	pop	r8
	pop	r9
.L21:
	add	r14d, 1
	mov	rax, rcx
	cmp	DWORD PTR 32[rcx], r14d
	jbe	.L17
.L26:
	mov	eax, r14d
	lea	rdx, [rax+rax*2]
	mov	rax, QWORD PTR 56[rcx]
	sal	rdx, 3
	add	rax, rdx
	mov	r15, QWORD PTR [rax]
	test	r15, r15
	je	.L21
	cmp	QWORD PTR 8[rax], 0
	mov	QWORD PTR -168[rbp], rdx
	jne	.L62
	mov	edi, DWORD PTR MENU_ENUM_LABEL_VALUE_REQUIRED[rip]
	call	msg_hash_to_str@PLT
	mov	rdx, QWORD PTR -168[rbp]
	mov	r8, rax
	jmp	.L23
	.p2align 4,,10
	.p2align 3
.L24:
	mov	edi, DWORD PTR MENU_ENUM_LABEL_VALUE_PRESENT[rip]
	call	msg_hash_to_str@PLT
	mov	r8, QWORD PTR -168[rbp]
	mov	rcx, rax
	jmp	.L25
	.p2align 4,,10
	.p2align 3
.L57:
	mov	edi, DWORD PTR MENU_ENUM_LABEL_VALUE_CORE_INFO_REQUIRED_HW_API[rip]
	call	msg_hash_to_str@PLT
	mov	ecx, r13d
	lea	rdx, .LC0[rip]
	mov	rdi, rbx
	mov	rsi, rax
	call	fill_pathname_noext@PLT
	mov	rax, QWORD PTR -144[rbp]
	mov	esi, r13d
	mov	rdi, rbx
	lea	rcx, .LC2[rip]
	mov	rdx, QWORD PTR 72[rax]
	call	string_list_join_concat@PLT
	sub	rsp, 8
	mov	edi, DWORD PTR [r12]
	mov	rsi, rbx
	push	0
	mov	ecx, DWORD PTR MENU_ENUM_LABEL_CORE_INFO_ENTRY[rip]
	xor	r9d, r9d
	lea	rdx, .LC1[rip]
	mov	r8d, DWORD PTR MENU_SETTINGS_CORE_INFO_NONE[rip]
	call	menu_entries_append_enum@PLT
	pop	rcx
	mov	rax, QWORD PTR -144[rbp]
	pop	rsi
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L56:
	mov	edi, DWORD PTR MENU_ENUM_LABEL_VALUE_CORE_INFO_SUPPORTED_EXTENSIONS[rip]
	call	msg_hash_to_str@PLT
	mov	ecx, r13d
	lea	rdx, .LC0[rip]
	mov	rdi, rbx
	mov	rsi, rax
	call	fill_pathname_noext@PLT
	mov	rax, QWORD PTR -144[rbp]
	mov	esi, r13d
	mov	rdi, rbx
	lea	rcx, .LC2[rip]
	mov	rdx, QWORD PTR 88[rax]
	call	string_list_join_concat@PLT
	sub	rsp, 8
	mov	edi, DWORD PTR [r12]
	xor	r9d, r9d
	push	0
	mov	ecx, DWORD PTR MENU_ENUM_LABEL_CORE_INFO_ENTRY[rip]
	mov	rsi, rbx
	lea	rdx, .LC1[rip]
	mov	r8d, DWORD PTR MENU_SETTINGS_CORE_INFO_NONE[rip]
	call	menu_entries_append_enum@PLT
	pop	rdi
	mov	rax, QWORD PTR -144[rbp]
	pop	r8
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L55:
	mov	edi, DWORD PTR MENU_ENUM_LABEL_VALUE_CORE_INFO_LICENSES[rip]
	call	msg_hash_to_str@PLT
	mov	ecx, r13d
	lea	rdx, .LC0[rip]
	mov	rdi, rbx
	mov	rsi, rax
	call	fill_pathname_noext@PLT
	mov	rax, QWORD PTR -144[rbp]
	mov	esi, r13d
	mov	rdi, rbx
	lea	rcx, .LC2[rip]
	mov	rdx, QWORD PTR 96[rax]
	call	string_list_join_concat@PLT
	sub	rsp, 8
	mov	edi, DWORD PTR [r12]
	xor	r9d, r9d
	push	0
	mov	ecx, DWORD PTR MENU_ENUM_LABEL_CORE_INFO_ENTRY[rip]
	mov	rsi, rbx
	lea	rdx, .LC1[rip]
	mov	r8d, DWORD PTR MENU_SETTINGS_CORE_INFO_NONE[rip]
	call	menu_entries_append_enum@PLT
	pop	r9
	mov	rax, QWORD PTR -144[rbp]
	pop	r10
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L54:
	mov	edi, DWORD PTR MENU_ENUM_LABEL_VALUE_CORE_INFO_PERMISSIONS[rip]
	call	msg_hash_to_str@PLT
	mov	ecx, r13d
	lea	rdx, .LC0[rip]
	mov	rdi, rbx
	mov	rsi, rax
	call	fill_pathname_noext@PLT
	mov	rax, QWORD PTR -144[rbp]
	mov	esi, r13d
	mov	rdi, rbx
	lea	rcx, .LC2[rip]
	mov	rdx, QWORD PTR 104[rax]
	call	string_list_join_concat@PLT
	sub	rsp, 8
	mov	edi, DWORD PTR [r12]
	xor	r9d, r9d
	push	0
	mov	ecx, DWORD PTR MENU_ENUM_LABEL_CORE_INFO_ENTRY[rip]
	mov	rsi, rbx
	lea	rdx, .LC1[rip]
	mov	r8d, DWORD PTR MENU_SETTINGS_CORE_INFO_NONE[rip]
	call	menu_entries_append_enum@PLT
	pop	r11
	mov	rax, QWORD PTR -144[rbp]
	pop	r14
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L53:
	mov	edi, DWORD PTR MENU_ENUM_LABEL_VALUE_CORE_INFO_AUTHORS[rip]
	call	msg_hash_to_str@PLT
	mov	ecx, r13d
	lea	rdx, .LC0[rip]
	mov	rdi, rbx
	mov	rsi, rax
	call	fill_pathname_noext@PLT
	mov	rax, QWORD PTR -144[rbp]
	mov	esi, r13d
	mov	rdi, rbx
	lea	rcx, .LC2[rip]
	mov	rdx, QWORD PTR 112[rax]
	call	string_list_join_concat@PLT
	sub	rsp, 8
	mov	edi, DWORD PTR [r12]
	xor	r9d, r9d
	push	0
	mov	ecx, DWORD PTR MENU_ENUM_LABEL_CORE_INFO_ENTRY[rip]
	mov	rsi, rbx
	lea	rdx, .LC1[rip]
	mov	r8d, DWORD PTR MENU_SETTINGS_CORE_INFO_NONE[rip]
	call	menu_entries_append_enum@PLT
	pop	r15
	mov	rax, QWORD PTR -144[rbp]
	pop	rdx
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L52:
	mov	edi, DWORD PTR MENU_ENUM_LABEL_VALUE_CORE_INFO_CATEGORIES[rip]
	call	msg_hash_to_str@PLT
	mov	ecx, r13d
	lea	rdx, .LC0[rip]
	mov	rdi, rbx
	mov	rsi, rax
	call	fill_pathname_noext@PLT
	mov	rax, QWORD PTR -144[rbp]
	mov	esi, r13d
	mov	rdi, rbx
	lea	rcx, .LC2[rip]
	mov	rdx, QWORD PTR 120[rax]
	call	string_list_join_concat@PLT
	sub	rsp, 8
	mov	edi, DWORD PTR [r12]
	mov	rsi, rbx
	push	0
	mov	ecx, DWORD PTR MENU_ENUM_LABEL_CORE_INFO_ENTRY[rip]
	xor	r9d, r9d
	lea	rdx, .LC1[rip]
	mov	r8d, DWORD PTR MENU_SETTINGS_CORE_INFO_NONE[rip]
	call	menu_entries_append_enum@PLT
	pop	rcx
	mov	rax, QWORD PTR -144[rbp]
	pop	rsi
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L61:
	mov	edi, DWORD PTR RARCH_CTL_SET_MISSING_BIOS[rip]
	xor	esi, esi
	call	rarch_ctl@PLT
	jmp	.L18
.L60:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	menu_displaylist_parse_core_info, .-menu_displaylist_parse_core_info
	.comm	RARCH_CTL_UNSET_MISSING_BIOS,4,4
	.comm	RARCH_CTL_SET_MISSING_BIOS,4,4
	.comm	PATH_MAX_LENGTH,4,4
	.comm	MENU_SETTING_ACTION_CORE_DELETE,4,4
	.comm	MENU_SETTINGS_CORE_INFO_NONE,4,4
	.comm	MENU_ENUM_LABEL_VALUE_REQUIRED,4,4
	.comm	MENU_ENUM_LABEL_VALUE_RDB_ENTRY_NAME,4,4
	.comm	MENU_ENUM_LABEL_VALUE_PRESENT,4,4
	.comm	MENU_ENUM_LABEL_VALUE_OPTIONAL,4,4
	.comm	MENU_ENUM_LABEL_VALUE_NO_CORE_INFORMATION_AVAILABLE,4,4
	.comm	MENU_ENUM_LABEL_VALUE_MISSING,4,4
	.comm	MENU_ENUM_LABEL_VALUE_CORE_INFO_SYSTEM_NAME,4,4
	.comm	MENU_ENUM_LABEL_VALUE_CORE_INFO_SYSTEM_MANUFACTURER,4,4
	.comm	MENU_ENUM_LABEL_VALUE_CORE_INFO_SUPPORTED_EXTENSIONS,4,4
	.comm	MENU_ENUM_LABEL_VALUE_CORE_INFO_REQUIRED_HW_API,4,4
	.comm	MENU_ENUM_LABEL_VALUE_CORE_INFO_PERMISSIONS,4,4
	.comm	MENU_ENUM_LABEL_VALUE_CORE_INFO_LICENSES,4,4
	.comm	MENU_ENUM_LABEL_VALUE_CORE_INFO_FIRMWARE,4,4
	.comm	MENU_ENUM_LABEL_VALUE_CORE_INFO_CORE_NAME,4,4
	.comm	MENU_ENUM_LABEL_VALUE_CORE_INFO_CORE_LABEL,4,4
	.comm	MENU_ENUM_LABEL_VALUE_CORE_INFO_CATEGORIES,4,4
	.comm	MENU_ENUM_LABEL_VALUE_CORE_INFO_AUTHORS,4,4
	.comm	MENU_ENUM_LABEL_VALUE_CORE_DELETE,4,4
	.comm	MENU_ENUM_LABEL_NO_CORE_INFORMATION_AVAILABLE,4,4
	.comm	MENU_ENUM_LABEL_CORE_INFO_ENTRY,4,4
	.comm	MENU_ENUM_LABEL_CORE_DELETE,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_displaylist.c_menu_displaylist_parse_core_info.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	": \000"
	.align	2
.LC1:
	.ascii	"\000"
	.align	2
.LC2:
	.ascii	", \000"
	.align	2
.LC3:
	.ascii	"(!) %s, %s: %s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	menu_displaylist_parse_core_info, %function
menu_displaylist_parse_core_info:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #92
	mov	r4, #0
	ldr	r3, .L83
	str	r0, [fp, #-96]
	ldr	r10, [r3]
	ldr	r3, .L83+4
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	add	r3, r10, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	str	r4, [fp, #-88]
	bl	config_get_ptr
	mov	r3, r0
	sub	r0, fp, #88
	str	r3, [fp, #-100]
	strb	r4, [sp, #16]
	bl	core_info_get_current_core
	ldr	r3, [fp, #-88]
	cmp	r3, r4
	beq	.L2
	ldr	r2, [r3, #64]
	cmp	r2, r4
	beq	.L2
	ldr	ip, .L83+8
	ldr	r0, .L83+12
	ldr	r1, .L83+16
	ldr	r2, .L83+20
	ldr	r6, [ip]
	ldr	r5, [r0]
	ldr	lr, [r1]
	ldr	ip, [r2]
	ldr	r8, .L83+24
	ldm	r3, {r0, r1, r2, r3}
	ldr	r7, .L83+28
	str	r6, [fp, #-68]
	str	r5, [fp, #-60]
	mov	r6, r4
	add	r9, sp, #16
	str	lr, [fp, #-52]
	str	ip, [fp, #-44]
	str	r0, [fp, #-72]
	str	r1, [fp, #-64]
	str	r2, [fp, #-56]
	str	r3, [fp, #-48]
	sub	r5, fp, #68
	b	.L5
.L7:
	ldr	r3, [r5, #-4]
	cmp	r3, #0
	beq	.L6
	ldr	r0, [r5]
	bl	msg_hash_to_str
	str	r10, [sp]
	mov	r1, r0
	ldr	r3, [r5, #-4]
	ldr	r2, .L83+32
	mov	r0, r9
	bl	fill_pathname_join_concat_noext
	ldr	r3, [r8]
	ldr	r0, [fp, #-96]
	stm	sp, {r3, r6}
	ldr	r3, .L83+36
	str	r6, [sp, #8]
	mov	r2, r7
	mov	r1, r9
	ldr	r3, [r3]
	ldr	r0, [r0]
	bl	menu_entries_append_enum
.L6:
	add	r4, r4, #1
	add	r5, r5, #8
.L5:
	sub	r0, fp, #72
	bl	ARRAY_SIZE
	cmp	r4, r0
	bcc	.L7
	ldr	r3, [fp, #-88]
	ldr	r2, [r3, #60]
	cmp	r2, #0
	bne	.L73
	ldr	r2, [r3, #56]
	cmp	r2, #0
	bne	.L74
.L9:
	ldr	r2, [r3, #52]
	cmp	r2, #0
	bne	.L75
.L10:
	ldr	r2, [r3, #48]
	cmp	r2, #0
	bne	.L76
.L11:
	ldr	r2, [r3, #44]
	cmp	r2, #0
	bne	.L77
.L12:
	ldr	r2, [r3, #40]
	cmp	r2, #0
	bne	.L78
.L13:
	ldr	r2, [r3, #16]
	cmp	r2, #0
	bne	.L79
.L14:
	ldr	r2, [r3, #24]
	cmp	r2, #0
	beq	.L27
	ldr	r3, [r3, #20]
	ldr	r2, [r3]
	cmp	r2, #0
	beq	.L27
	mov	r4, #0
	mov	r6, r4
	ldr	r8, .L83+36
	ldr	r5, .L83+24
	ldr	r7, .L83+28
.L28:
	ldr	r3, [r3, #4]
	mov	r2, r10
	ldr	r1, [r3, r4, lsl #2]
	mov	r0, r9
	bl	strlcpy
	ldr	r3, [r5]
	ldr	r0, [fp, #-96]
	stm	sp, {r3, r6}
	str	r6, [sp, #8]
	mov	r2, r7
	ldr	r3, [r8]
	mov	r1, r9
	ldr	r0, [r0]
	bl	menu_entries_append_enum
	ldr	r3, [fp, #-88]
	add	r4, r4, #1
	ldr	r3, [r3, #20]
	ldr	r2, [r3]
	cmp	r2, r4
	bhi	.L28
.L27:
	ldr	r3, [fp, #-100]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L80
.L4:
	ldr	r3, .L83+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L81
	mov	r0, #0
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	ldr	r3, .L83+40
	ldr	r8, [fp, #-96]
	ldr	r0, [r3]
	ldr	r7, [r8]
	bl	msg_hash_to_str
	ldr	r6, .L83+44
	mov	r5, r0
	ldr	r0, [r6]
	bl	msg_hash_to_str
	mov	r4, #0
	ldr	r3, [r6]
	mov	r2, r0
	mov	r1, r5
	mov	r0, r7
	str	r4, [sp, #8]
	str	r4, [sp, #4]
	str	r4, [sp]
	bl	menu_entries_append_enum
	ldr	r3, .L83+48
	ldr	r7, [r8]
	ldr	r0, [r3]
	bl	msg_hash_to_str
	ldr	r6, .L83+52
	mov	r5, r0
	ldr	r0, [r6]
	bl	msg_hash_to_str
	ldr	r3, .L83+56
	mov	r2, r0
	ldr	ip, [r3]
	str	r4, [sp, #8]
	str	r4, [sp, #4]
	ldr	r3, [r6]
	mov	r1, r5
	mov	r0, r7
	str	ip, [sp]
	bl	menu_entries_append_enum
	b	.L4
.L79:
	mov	r5, #0
	ldr	r2, [r3, #32]
	ldr	r3, [fp, #-100]
	ldr	r1, .L83+60
	ldr	r3, [r3, #4]
	ldr	r0, [r1]
	mov	r1, r5
	str	r3, [fp, #-80]
	str	r2, [fp, #-76]
	str	r5, [fp, #-84]
	bl	rarch_ctl
	sub	r1, fp, #84
	sub	r0, fp, #80
	bl	core_info_list_update_missing_firmware
	ldr	r3, [fp, #-84]
	mov	r4, r0
	cmp	r3, r5
	bne	.L82
.L15:
	cmp	r4, #0
	ldreq	r3, [fp, #-88]
	beq	.L14
	ldr	r3, .L83+64
	mov	r4, #0
	ldr	r0, [r3]
	bl	msg_hash_to_str
	ldr	r5, .L83+24
	mov	r1, r0
	mov	r3, r10
	ldr	r2, .L83+32
	mov	r0, r9
	bl	fill_pathname_noext
	ldr	r3, [r5]
	ldr	r0, [fp, #-96]
	stm	sp, {r3, r4}
	ldr	r8, .L83+36
	str	r4, [sp, #8]
	ldr	r3, [r8]
	ldr	r2, .L83+28
	mov	r1, r9
	ldr	r0, [r0]
	bl	menu_entries_append_enum
	ldr	r0, [fp, #-88]
	ldr	r2, [r0, #16]
	mov	r3, r0
	cmp	r2, r4
	beq	.L14
	str	r8, [fp, #-104]
	b	.L24
.L23:
	mov	r3, r7
	mov	r1, r10
	str	r0, [sp, #4]
	str	r2, [sp]
	mov	r0, r9
	ldr	r2, .L83+68
	bl	snprintf
	mov	r3, #0
	ldr	r2, [r5]
	ldr	r0, [fp, #-96]
	stm	sp, {r2, r3}
	str	r3, [sp, #8]
	ldr	r3, [fp, #-104]
	mov	r1, r9
	ldr	r3, [r3]
	ldr	r2, .L83+28
	ldr	r0, [r0]
	bl	menu_entries_append_enum
	ldr	r0, [fp, #-88]
.L18:
	ldr	r3, [r0, #16]
	add	r4, r4, #1
	cmp	r3, r4
	mov	r3, r0
	bls	.L14
.L24:
	ldr	r3, [r0, #28]
	add	r6, r4, r4, lsl #1
	ldr	r2, [r3, r6, lsl #2]
	lsl	r8, r6, #2
	cmp	r2, #0
	add	r3, r3, r6, lsl #2
	beq	.L18
	ldr	r3, [r3, #8]
	cmp	r3, #0
	ldrne	r3, .L83+72
	ldreq	r3, .L83+76
	ldr	r0, [r3]
	bl	msg_hash_to_str
	ldr	r1, [fp, #-88]
	mov	r7, r0
	ldr	r1, [r1, #28]
	add	r2, r1, r8
	ldr	r2, [r2, #4]
	cmp	r2, #0
	ldrne	r3, .L83+80
	ldreq	r3, .L83+84
	ldr	r0, [r3]
	bl	msg_hash_to_str
	ldr	r1, [fp, #-88]
	mov	r2, r0
	ldr	r1, [r1, #28]
	ldr	r0, [r1, r6, lsl #2]
	cmp	r0, #0
	bne	.L23
	ldr	r3, .L83+88
	str	r2, [fp, #-108]
	ldr	r0, [r3]
	bl	msg_hash_to_str
	ldr	r2, [fp, #-108]
	b	.L23
.L80:
	ldr	r3, .L83+48
	ldr	r2, [fp, #-96]
	ldr	r0, [r3]
	ldr	r6, [r2]
	bl	msg_hash_to_str
	ldr	r5, .L83+52
	mov	r4, r0
	ldr	r0, [r5]
	bl	msg_hash_to_str
	mov	ip, #0
	ldr	r3, .L83+56
	mov	r2, r0
	ldr	lr, [r3]
	mov	r1, r4
	ldr	r3, [r5]
	mov	r0, r6
	str	lr, [sp]
	str	ip, [sp, #8]
	str	ip, [sp, #4]
	bl	menu_entries_append_enum
	b	.L4
.L73:
	ldr	r3, .L83+92
	ldr	r5, .L83+24
	ldr	r0, [r3]
	bl	msg_hash_to_str
	mov	r3, r10
	mov	r1, r0
	ldr	r2, .L83+32
	mov	r0, r9
	bl	fill_pathname_noext
	ldr	r2, [fp, #-88]
	mov	r1, r10
	ldr	r3, .L83+96
	ldr	r2, [r2, #60]
	mov	r0, r9
	bl	string_list_join_concat
	mov	r3, #0
	ldr	r2, [r5]
	ldr	r0, [fp, #-96]
	ldr	r8, .L83+36
	str	r2, [sp]
	str	r3, [sp, #8]
	str	r3, [sp, #4]
	ldr	r3, [r8]
	ldr	r2, .L83+28
	mov	r1, r9
	ldr	r0, [r0]
	bl	menu_entries_append_enum
	ldr	r3, [fp, #-88]
	ldr	r2, [r3, #56]
	cmp	r2, #0
	beq	.L9
.L74:
	ldr	r3, .L83+100
	ldr	r5, .L83+24
	ldr	r0, [r3]
	bl	msg_hash_to_str
	mov	r3, r10
	mov	r1, r0
	ldr	r2, .L83+32
	mov	r0, r9
	bl	fill_pathname_noext
	ldr	r2, [fp, #-88]
	mov	r1, r10
	ldr	r3, .L83+96
	ldr	r2, [r2, #56]
	mov	r0, r9
	bl	string_list_join_concat
	mov	r3, #0
	ldr	r2, [r5]
	ldr	r0, [fp, #-96]
	ldr	r8, .L83+36
	str	r2, [sp]
	str	r3, [sp, #8]
	str	r3, [sp, #4]
	ldr	r3, [r8]
	ldr	r2, .L83+28
	mov	r1, r9
	ldr	r0, [r0]
	bl	menu_entries_append_enum
	ldr	r3, [fp, #-88]
	ldr	r2, [r3, #52]
	cmp	r2, #0
	beq	.L10
.L75:
	ldr	r3, .L83+104
	ldr	r5, .L83+24
	ldr	r0, [r3]
	bl	msg_hash_to_str
	mov	r3, r10
	mov	r1, r0
	ldr	r2, .L83+32
	mov	r0, r9
	bl	fill_pathname_noext
	ldr	r2, [fp, #-88]
	mov	r1, r10
	ldr	r3, .L83+96
	ldr	r2, [r2, #52]
	mov	r0, r9
	bl	string_list_join_concat
	mov	r3, #0
	ldr	r2, [r5]
	ldr	r0, [fp, #-96]
	ldr	r8, .L83+36
	str	r2, [sp]
	str	r3, [sp, #8]
	str	r3, [sp, #4]
	ldr	r3, [r8]
	ldr	r2, .L83+28
	mov	r1, r9
	ldr	r0, [r0]
	bl	menu_entries_append_enum
	ldr	r3, [fp, #-88]
	ldr	r2, [r3, #48]
	cmp	r2, #0
	beq	.L11
.L76:
	ldr	r3, .L83+108
	ldr	r5, .L83+24
	ldr	r0, [r3]
	bl	msg_hash_to_str
	mov	r3, r10
	mov	r1, r0
	ldr	r2, .L83+32
	mov	r0, r9
	bl	fill_pathname_noext
	ldr	r2, [fp, #-88]
	mov	r1, r10
	ldr	r3, .L83+96
	ldr	r2, [r2, #48]
	mov	r0, r9
	bl	string_list_join_concat
	mov	r3, #0
	ldr	r2, [r5]
	ldr	r0, [fp, #-96]
	ldr	r8, .L83+36
	str	r2, [sp]
	str	r3, [sp, #8]
	str	r3, [sp, #4]
	ldr	r3, [r8]
	ldr	r2, .L83+28
	mov	r1, r9
	ldr	r0, [r0]
	bl	menu_entries_append_enum
	ldr	r3, [fp, #-88]
	ldr	r2, [r3, #44]
	cmp	r2, #0
	beq	.L12
.L77:
	ldr	r3, .L83+112
	ldr	r5, .L83+24
	ldr	r0, [r3]
	bl	msg_hash_to_str
	mov	r3, r10
	mov	r1, r0
	ldr	r2, .L83+32
	mov	r0, r9
	bl	fill_pathname_noext
	ldr	r2, [fp, #-88]
	mov	r1, r10
	ldr	r3, .L83+96
	ldr	r2, [r2, #44]
	mov	r0, r9
	bl	string_list_join_concat
	mov	r3, #0
	ldr	r2, [r5]
	ldr	r0, [fp, #-96]
	ldr	r8, .L83+36
	str	r2, [sp]
	str	r3, [sp, #8]
	str	r3, [sp, #4]
	ldr	r3, [r8]
	ldr	r2, .L83+28
	mov	r1, r9
	ldr	r0, [r0]
	bl	menu_entries_append_enum
	ldr	r3, [fp, #-88]
	ldr	r2, [r3, #40]
	cmp	r2, #0
	beq	.L13
.L78:
	ldr	r3, .L83+116
	ldr	r5, .L83+24
	ldr	r0, [r3]
	bl	msg_hash_to_str
	mov	r3, r10
	mov	r1, r0
	ldr	r2, .L83+32
	mov	r0, r9
	bl	fill_pathname_noext
	ldr	r2, [fp, #-88]
	mov	r1, r10
	ldr	r3, .L83+96
	ldr	r2, [r2, #36]
	mov	r0, r9
	bl	string_list_join_concat
	mov	r3, #0
	ldr	r2, [r5]
	ldr	r0, [fp, #-96]
	ldr	r8, .L83+36
	str	r2, [sp]
	str	r3, [sp, #8]
	str	r3, [sp, #4]
	ldr	r3, [r8]
	ldr	r2, .L83+28
	mov	r1, r9
	ldr	r0, [r0]
	bl	menu_entries_append_enum
	ldr	r3, [fp, #-88]
	ldr	r2, [r3, #16]
	cmp	r2, #0
	beq	.L14
	b	.L79
.L82:
	ldr	r3, .L83+120
	mov	r1, r5
	ldr	r0, [r3]
	bl	rarch_ctl
	b	.L15
.L81:
	bl	__stack_chk_fail
.L84:
	.align	2
.L83:
	.word	PATH_MAX_LENGTH
	.word	.LC4
	.word	MENU_ENUM_LABEL_VALUE_CORE_INFO_CORE_NAME
	.word	MENU_ENUM_LABEL_VALUE_CORE_INFO_CORE_LABEL
	.word	MENU_ENUM_LABEL_VALUE_CORE_INFO_SYSTEM_NAME
	.word	MENU_ENUM_LABEL_VALUE_CORE_INFO_SYSTEM_MANUFACTURER
	.word	MENU_SETTINGS_CORE_INFO_NONE
	.word	.LC1
	.word	.LC0
	.word	MENU_ENUM_LABEL_CORE_INFO_ENTRY
	.word	MENU_ENUM_LABEL_VALUE_NO_CORE_INFORMATION_AVAILABLE
	.word	MENU_ENUM_LABEL_NO_CORE_INFORMATION_AVAILABLE
	.word	MENU_ENUM_LABEL_VALUE_CORE_DELETE
	.word	MENU_ENUM_LABEL_CORE_DELETE
	.word	MENU_SETTING_ACTION_CORE_DELETE
	.word	RARCH_CTL_UNSET_MISSING_BIOS
	.word	MENU_ENUM_LABEL_VALUE_CORE_INFO_FIRMWARE
	.word	.LC3
	.word	MENU_ENUM_LABEL_VALUE_MISSING
	.word	MENU_ENUM_LABEL_VALUE_PRESENT
	.word	MENU_ENUM_LABEL_VALUE_OPTIONAL
	.word	MENU_ENUM_LABEL_VALUE_REQUIRED
	.word	MENU_ENUM_LABEL_VALUE_RDB_ENTRY_NAME
	.word	MENU_ENUM_LABEL_VALUE_CORE_INFO_CATEGORIES
	.word	.LC2
	.word	MENU_ENUM_LABEL_VALUE_CORE_INFO_AUTHORS
	.word	MENU_ENUM_LABEL_VALUE_CORE_INFO_PERMISSIONS
	.word	MENU_ENUM_LABEL_VALUE_CORE_INFO_LICENSES
	.word	MENU_ENUM_LABEL_VALUE_CORE_INFO_SUPPORTED_EXTENSIONS
	.word	MENU_ENUM_LABEL_VALUE_CORE_INFO_REQUIRED_HW_API
	.word	RARCH_CTL_SET_MISSING_BIOS
	.size	menu_displaylist_parse_core_info, .-menu_displaylist_parse_core_info
	.comm	RARCH_CTL_UNSET_MISSING_BIOS,4,4
	.comm	RARCH_CTL_SET_MISSING_BIOS,4,4
	.comm	PATH_MAX_LENGTH,4,4
	.comm	MENU_SETTING_ACTION_CORE_DELETE,4,4
	.comm	MENU_SETTINGS_CORE_INFO_NONE,4,4
	.comm	MENU_ENUM_LABEL_VALUE_REQUIRED,4,4
	.comm	MENU_ENUM_LABEL_VALUE_RDB_ENTRY_NAME,4,4
	.comm	MENU_ENUM_LABEL_VALUE_PRESENT,4,4
	.comm	MENU_ENUM_LABEL_VALUE_OPTIONAL,4,4
	.comm	MENU_ENUM_LABEL_VALUE_NO_CORE_INFORMATION_AVAILABLE,4,4
	.comm	MENU_ENUM_LABEL_VALUE_MISSING,4,4
	.comm	MENU_ENUM_LABEL_VALUE_CORE_INFO_SYSTEM_NAME,4,4
	.comm	MENU_ENUM_LABEL_VALUE_CORE_INFO_SYSTEM_MANUFACTURER,4,4
	.comm	MENU_ENUM_LABEL_VALUE_CORE_INFO_SUPPORTED_EXTENSIONS,4,4
	.comm	MENU_ENUM_LABEL_VALUE_CORE_INFO_REQUIRED_HW_API,4,4
	.comm	MENU_ENUM_LABEL_VALUE_CORE_INFO_PERMISSIONS,4,4
	.comm	MENU_ENUM_LABEL_VALUE_CORE_INFO_LICENSES,4,4
	.comm	MENU_ENUM_LABEL_VALUE_CORE_INFO_FIRMWARE,4,4
	.comm	MENU_ENUM_LABEL_VALUE_CORE_INFO_CORE_NAME,4,4
	.comm	MENU_ENUM_LABEL_VALUE_CORE_INFO_CORE_LABEL,4,4
	.comm	MENU_ENUM_LABEL_VALUE_CORE_INFO_CATEGORIES,4,4
	.comm	MENU_ENUM_LABEL_VALUE_CORE_INFO_AUTHORS,4,4
	.comm	MENU_ENUM_LABEL_VALUE_CORE_DELETE,4,4
	.comm	MENU_ENUM_LABEL_NO_CORE_INFORMATION_AVAILABLE,4,4
	.comm	MENU_ENUM_LABEL_CORE_INFO_ENTRY,4,4
	.comm	MENU_ENUM_LABEL_CORE_DELETE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
