	.file	"extr_menu_displaylist.c_menu_displaylist_parse_settings_internal_enum.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	menu_displaylist_parse_settings_internal_enum, @function
menu_displaylist_parse_settings_internal_enum:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	lea	rax, precond_lut.1975[rip]
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, r8d
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	DWORD PTR 44[rsp], edx
	mov	edx, esi
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	QWORD PTR 24[rsp], rdi
	mov	DWORD PTR 36[rsp], r9d
	mov	DWORD PTR 40[rsp], eax
	xor	eax, eax
	call	config_get_ptr@PLT
	mov	eax, DWORD PTR [rax]
	test	r13, r13
	je	.L32
	test	eax, eax
	je	.L35
.L24:
	lea	eax, -146[rbp]
	lea	r12, .L20[rip]
	mov	r14, r13
	mov	QWORD PTR 8[rsp], 0
	mov	DWORD PTR 20[rsp], eax
	lea	eax, -145[rbp]
	lea	rbp, .L9[rip]
	mov	DWORD PTR 32[rsp], eax
.L21:
	mov	rdi, r14
	mov	r15, QWORD PTR 8[r14]
	mov	r13, QWORD PTR 16[r14]
	call	setting_get_type@PLT
	mov	esi, DWORD PTR 20[rsp]
	cmp	esi, 14
	ja	.L7
	mov	edx, esi
	movsx	rdx, DWORD PTR 0[rbp+rdx*4]
	add	rdx, rbp
	notrack jmp	rdx
	.section	.rodata
	.align 4
	.align 4
.L9:
	.long	.L8-.L9
	.long	.L8-.L9
	.long	.L8-.L9
	.long	.L8-.L9
	.long	.L8-.L9
	.long	.L8-.L9
	.long	.L8-.L9
	.long	.L10-.L9
	.long	.L8-.L9
	.long	.L8-.L9
	.long	.L8-.L9
	.long	.L8-.L9
	.long	.L11-.L9
	.long	.L10-.L9
	.long	.L8-.L9
	.text
	.p2align 4,,10
	.p2align 3
.L8:
	cmp	DWORD PTR 40[rsp], eax
	jne	.L13
.L7:
	mov	edi, DWORD PTR 36[rsp]
	test	edi, edi
	jne	.L36
.L14:
	mov	eax, DWORD PTR MENU_SETTINGS_INPUT_BEGIN[rip]
	cmp	eax, ebx
	ja	.L16
	cmp	DWORD PTR MENU_SETTINGS_INPUT_END[rip], ebx
	ja	.L37
.L16:
	test	ebx, ebx
	je	.L38
.L17:
	mov	rdi, QWORD PTR 24[rsp]
	xor	r9d, r9d
	xor	r8d, r8d
	mov	ecx, ebx
	mov	rdx, r13
	mov	rsi, r15
	call	menu_entries_append@PLT
.L15:
	add	QWORD PTR 8[rsp], 1
.L13:
	mov	eax, DWORD PTR 32[rsp]
	cmp	eax, 15
	ja	.L18
	movsx	rax, DWORD PTR [r12+rax*4]
	add	rax, r12
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L20:
	.long	.L12-.L20
	.long	.L19-.L20
	.long	.L19-.L20
	.long	.L19-.L20
	.long	.L19-.L20
	.long	.L19-.L20
	.long	.L19-.L20
	.long	.L19-.L20
	.long	.L12-.L20
	.long	.L19-.L20
	.long	.L19-.L20
	.long	.L19-.L20
	.long	.L19-.L20
	.long	.L12-.L20
	.long	.L12-.L20
	.long	.L19-.L20
	.text
	.p2align 4,,10
	.p2align 3
.L10:
	cmp	eax, 137
	jne	.L13
	mov	edi, DWORD PTR 36[rsp]
	test	edi, edi
	je	.L14
	.p2align 4,,10
	.p2align 3
.L36:
	mov	rdi, r14
	call	menu_setting_set_flags@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 120
	mov	ecx, ebx
	mov	rsi, r15
	push	0
	.cfi_def_cfa_offset 128
	mov	rdi, QWORD PTR 40[rsp]
	mov	r8d, eax
	xor	r9d, r9d
	mov	rdx, r13
	call	menu_entries_append_enum@PLT
	pop	rcx
	.cfi_def_cfa_offset 120
	pop	rsi
	.cfi_def_cfa_offset 112
	jmp	.L15
.L19:
	cmp	QWORD PTR 8[rsp], 0
	je	.L22
	xor	eax, eax
.L1:
	add	rsp, 56
	.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
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	lea	ecx, -129[rax]
	cmp	ecx, 11
	ja	.L7
	mov	eax, 1
	sal	rax, cl
	test	eax, 3329
	je	.L7
.L12:
	mov	rdi, r14
	call	setting_get_type@PLT
	cmp	eax, DWORD PTR 40[rsp]
	je	.L19
.L18:
	add	r14, 24
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L35:
	mov	eax, DWORD PTR SD_FLAG_ADVANCED[rip]
	test	DWORD PTR 0[r13], eax
	je	.L24
.L22:
	mov	r8d, DWORD PTR 44[rsp]
	test	r8d, r8d
	jne	.L39
.L32:
	mov	eax, -1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L37:
	mov	ebx, DWORD PTR 8[rsp]
	add	ebx, eax
	test	ebx, ebx
	jne	.L17
.L38:
	mov	rdi, r14
	call	menu_setting_set_flags@PLT
	mov	ebx, eax
	jmp	.L17
.L39:
	mov	r13d, DWORD PTR MENU_ENUM_LABEL_NO_SETTINGS_FOUND[rip]
	mov	edi, r13d
	call	msg_hash_to_str@PLT
	mov	edi, DWORD PTR MENU_ENUM_LABEL_VALUE_NO_SETTINGS_FOUND[rip]
	mov	r12, rax
	call	msg_hash_to_str@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 120
	mov	rdx, r12
	xor	r9d, r9d
	push	0
	.cfi_def_cfa_offset 128
	mov	rdi, QWORD PTR 40[rsp]
	mov	rsi, rax
	xor	r8d, r8d
	mov	ecx, r13d
	call	menu_entries_append_enum@PLT
	pop	rax
	.cfi_def_cfa_offset 120
	pop	rdx
	.cfi_def_cfa_offset 112
	jmp	.L32
	.cfi_endproc
.LFE0:
	.size	menu_displaylist_parse_settings_internal_enum, .-menu_displaylist_parse_settings_internal_enum
	.section	.rodata
	.align 32
	.type	precond_lut.1975, @object
	.size	precond_lut.1975, 64
precond_lut.1975:
	.long	140
	.long	134
	.long	144
	.long	135
	.long	128
	.long	142
	.long	138
	.long	143
	.long	140
	.long	131
	.long	133
	.long	130
	.long	136
	.long	141
	.long	134
	.long	132
	.comm	SD_FLAG_LAKKA_ADVANCED,4,4
	.comm	SD_FLAG_ADVANCED,4,4
	.comm	MENU_SETTINGS_INPUT_END,4,4
	.comm	MENU_SETTINGS_INPUT_BEGIN,4,4
	.comm	MENU_ENUM_LABEL_VALUE_NO_SETTINGS_FOUND,4,4
	.comm	MENU_ENUM_LABEL_NO_SETTINGS_FOUND,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_settings_internal_enum.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	menu_displaylist_parse_settings_internal_enum, %function
menu_displaylist_parse_settings_internal_enum:
	@ args = 8, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r6, r1
	ldr	r1, .L39
	mov	r4, r3
	ldr	r3, [r1, r6, lsl #2]
	sub	sp, sp, #36
	str	r3, [sp, #24]
	mov	r8, r0
	ldr	r7, [sp, #72]
	str	r2, [sp, #28]
	bl	config_get_ptr
	cmp	r4, #0
	ldr	r3, [r0]
	beq	.L32
	cmp	r3, #0
	beq	.L35
	mov	r5, #0
.L4:
	sub	r3, r6, #146
	ldr	fp, .L39+4
	str	r3, [sp, #20]
.L21:
	mov	r0, r4
	ldmib	r4, {r9, r10}
	bl	setting_get_type
	ldr	r3, [sp, #20]
	cmp	r3, #14
	ldrls	pc, [pc, r3, asl #2]
	b	.L7
.L9:
	.word	.L8
	.word	.L8
	.word	.L8
	.word	.L8
	.word	.L8
	.word	.L8
	.word	.L8
	.word	.L10
	.word	.L8
	.word	.L8
	.word	.L8
	.word	.L8
	.word	.L11
	.word	.L10
	.word	.L8
.L8:
	ldr	r3, [sp, #24]
	cmp	r3, r0
	bne	.L13
.L7:
	ldr	r3, [sp, #76]
	cmp	r3, #0
	bne	.L36
.L14:
	ldr	r3, .L39+8
	ldr	r3, [r3]
	cmp	r3, r7
	bhi	.L16
	ldr	r2, .L39+12
	ldr	r2, [r2]
	cmp	r2, r7
	addhi	r7, r3, r5
.L16:
	cmp	r7, #0
	beq	.L37
.L17:
	mov	r3, #0
	mov	r2, r10
	str	r3, [sp, #4]
	str	r3, [sp]
	mov	r1, r9
	mov	r3, r7
	mov	r0, r8
	bl	menu_entries_append
.L15:
	add	r5, r5, #1
.L13:
	sub	r3, r6, #145
	cmp	r3, #15
	ldrls	pc, [pc, r3, asl #2]
	b	.L18
.L20:
	.word	.L12
	.word	.L19
	.word	.L19
	.word	.L19
	.word	.L19
	.word	.L19
	.word	.L19
	.word	.L19
	.word	.L12
	.word	.L19
	.word	.L19
	.word	.L19
	.word	.L19
	.word	.L12
	.word	.L12
	.word	.L19
.L19:
	cmp	r5, #0
	beq	.L22
	mov	r0, #0
.L1:
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L11:
	sub	r0, r0, #129
	cmp	r0, #11
	bhi	.L7
	mov	r3, #1
	ands	r3, fp, r3, lsl r0
	beq	.L7
.L12:
	mov	r0, r4
	bl	setting_get_type
	ldr	r3, [sp, #24]
	cmp	r0, r3
	beq	.L19
.L18:
	add	r4, r4, #12
	b	.L21
.L35:
	ldr	r2, .L39+16
	ldr	r3, [r4]
	ldr	r5, [r2]
	ands	r5, r5, r3
	beq	.L4
.L22:
	ldr	r3, [sp, #28]
	cmp	r3, #0
	bne	.L38
.L32:
	mvn	r0, #0
	b	.L1
.L10:
	cmp	r0, #137
	bne	.L13
	ldr	r3, [sp, #76]
	cmp	r3, #0
	beq	.L14
.L36:
	mov	r0, r4
	bl	menu_setting_set_flags
	mov	r3, #0
	str	r0, [sp]
	str	r3, [sp, #8]
	str	r3, [sp, #4]
	mov	r2, r10
	mov	r1, r9
	mov	r3, r7
	mov	r0, r8
	bl	menu_entries_append_enum
	b	.L15
.L37:
	mov	r0, r4
	bl	menu_setting_set_flags
	mov	r7, r0
	b	.L17
.L38:
	ldr	r3, .L39+20
	ldr	r5, .L39+24
	ldr	r0, [r3]
	bl	msg_hash_to_str
	mov	r4, r0
	ldr	r0, [r5]
	bl	msg_hash_to_str
	mov	ip, #0
	ldr	r3, [r5]
	mov	r2, r0
	mov	r1, r4
	mov	r0, r8
	str	ip, [sp, #8]
	str	ip, [sp, #4]
	str	ip, [sp]
	bl	menu_entries_append_enum
	b	.L32
.L40:
	.align	2
.L39:
	.word	.LANCHOR0
	.word	3329
	.word	MENU_SETTINGS_INPUT_BEGIN
	.word	MENU_SETTINGS_INPUT_END
	.word	SD_FLAG_ADVANCED
	.word	MENU_ENUM_LABEL_VALUE_NO_SETTINGS_FOUND
	.word	MENU_ENUM_LABEL_NO_SETTINGS_FOUND
	.size	menu_displaylist_parse_settings_internal_enum, .-menu_displaylist_parse_settings_internal_enum
	.comm	SD_FLAG_LAKKA_ADVANCED,4,4
	.comm	SD_FLAG_ADVANCED,4,4
	.comm	MENU_SETTINGS_INPUT_END,4,4
	.comm	MENU_SETTINGS_INPUT_BEGIN,4,4
	.comm	MENU_ENUM_LABEL_VALUE_NO_SETTINGS_FOUND,4,4
	.comm	MENU_ENUM_LABEL_NO_SETTINGS_FOUND,4,4
	.section	.rodata
	.align	2
	.set	.LANCHOR0,. + 0
	.type	precond_lut.4259, %object
	.size	precond_lut.4259, 64
precond_lut.4259:
	.word	140
	.word	134
	.word	144
	.word	135
	.word	128
	.word	142
	.word	138
	.word	143
	.word	140
	.word	131
	.word	133
	.word	130
	.word	136
	.word	141
	.word	134
	.word	132
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
