	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function menu_displaylist_parse_settings_internal_enum
_menu_displaylist_parse_settings_internal_enum: ## @menu_displaylist_parse_settings_internal_enum
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -48(%rbp)                 ## 4-byte Spill
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, %rbx
	movl	%edx, %r14d
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_config_get_ptr
	testq	%rbx, %rbx
	je	LBB0_27
## %bb.1:
	movl	%r14d, -76(%rbp)                ## 4-byte Spill
	cmpl	$0, (%rax)
	je	LBB0_2
LBB0_3:
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movl	%edx, %eax
	leaq	_menu_displaylist_parse_settings_internal_enum.precond_lut(%rip), %rcx
	movl	(%rcx,%rax,4), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leal	-146(%rdx), %r13d
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_setting_get_type
	cmpl	-52(%rbp), %eax                 ## 4-byte Folded Reload
	je	LBB0_24
LBB0_23:                                ##   in Loop: Header=BB0_4 Depth=1
	addq	$24, %rbx
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %r12
	movq	16(%rbx), %r15
	movq	%rbx, %rdi
	callq	_setting_get_type
	cmpl	$14, %r13d
	ja	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	$20351, %ecx                    ## imm = 0x4F7F
	btl	%r13d, %ecx
	jae	LBB0_6
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpl	-52(%rbp), %eax                 ## 4-byte Folded Reload
	jne	LBB0_20
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	testl	%r14d, %r14d
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_menu_setting_set_flags
	movl	$0, (%rsp)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%r15, %rdx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%eax, %r8d
	xorl	%r9d, %r9d
	callq	_menu_entries_append_enum
	jmp	LBB0_19
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_MENU_SETTINGS_INPUT_BEGIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	_MENU_SETTINGS_INPUT_END@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jb	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	%ecx, %r14d
	jmp	LBB0_16
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	$8320, %ecx                     ## imm = 0x2080
	btl	%r13d, %ecx
	jae	LBB0_7
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$137, %eax
	je	LBB0_11
	jmp	LBB0_20
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	leal	(%rax,%rdx), %r14d
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpl	%eax, %ecx
	cmovbl	%ecx, %r14d
	testl	%r14d, %r14d
	jne	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_menu_setting_set_flags
	movl	%eax, %r14d
LBB0_18:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%r15, %rdx
	movl	%r14d, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_menu_entries_append
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movl	-48(%rbp), %r14d                ## 4-byte Reload
LBB0_19:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	-72(%rbp)                       ## 8-byte Folded Spill
LBB0_20:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	addl	$-145, %eax
	cmpl	$15, %eax
	ja	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	$24833, %ecx                    ## imm = 0x6101
	btl	%eax, %ecx
	jb	LBB0_22
	jmp	LBB0_24
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	addl	$-129, %eax
	cmpl	$11, %eax
	ja	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	$3329, %ecx                     ## imm = 0xD01
	btl	%eax, %ecx
	jb	LBB0_22
	jmp	LBB0_11
LBB0_24:
	xorl	%eax, %eax
	cmpq	$0, -72(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_28
	jmp	LBB0_25
LBB0_2:
	movq	_SD_FLAG_ADVANCED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_3
LBB0_25:
	cmpl	$0, -76(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_27
## %bb.26:
	movq	_MENU_ENUM_LABEL_VALUE_NO_SETTINGS_FOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msg_hash_to_str
	movq	%rax, %rbx
	movq	_MENU_ENUM_LABEL_NO_SETTINGS_FOUND@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_msg_hash_to_str
	movl	(%r14), %ecx
	movl	$0, (%rsp)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%rax, %rdx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_menu_entries_append_enum
LBB0_27:
	movl	$-1, %eax
LBB0_28:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @menu_displaylist_parse_settings_internal_enum.precond_lut
_menu_displaylist_parse_settings_internal_enum.precond_lut:
	.long	140                             ## 0x8c
	.long	134                             ## 0x86
	.long	144                             ## 0x90
	.long	135                             ## 0x87
	.long	128                             ## 0x80
	.long	142                             ## 0x8e
	.long	138                             ## 0x8a
	.long	143                             ## 0x8f
	.long	140                             ## 0x8c
	.long	131                             ## 0x83
	.long	133                             ## 0x85
	.long	130                             ## 0x82
	.long	136                             ## 0x88
	.long	141                             ## 0x8d
	.long	134                             ## 0x86
	.long	132                             ## 0x84

	.comm	_SD_FLAG_ADVANCED,4,2           ## @SD_FLAG_ADVANCED
	.comm	_MENU_SETTINGS_INPUT_BEGIN,4,2  ## @MENU_SETTINGS_INPUT_BEGIN
	.comm	_MENU_SETTINGS_INPUT_END,4,2    ## @MENU_SETTINGS_INPUT_END
	.comm	_MENU_ENUM_LABEL_VALUE_NO_SETTINGS_FOUND,4,2 ## @MENU_ENUM_LABEL_VALUE_NO_SETTINGS_FOUND
	.comm	_MENU_ENUM_LABEL_NO_SETTINGS_FOUND,4,2 ## @MENU_ENUM_LABEL_NO_SETTINGS_FOUND
	.comm	_SD_FLAG_LAKKA_ADVANCED,4,2     ## @SD_FLAG_LAKKA_ADVANCED
	.no_dead_strip	_menu_displaylist_parse_settings_internal_enum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function menu_displaylist_parse_settings_internal_enum
_menu_displaylist_parse_settings_internal_enum: ; @menu_displaylist_parse_settings_internal_enum
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x5
	mov	x23, x4
	mov	x22, x3
	mov	x19, x2
	mov	x24, x1
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	bl	_config_get_ptr
	cbz	x22, LBB0_25
; %bb.1:
	str	w19, [sp, #4]                   ; 4-byte Folded Spill
	ldr	w8, [x0]
	cbz	w8, LBB0_22
LBB0_2:
	mov	x26, #0
Lloh0:
	adrp	x8, _menu_displaylist_parse_settings_internal_enum.precond_lut@PAGE
Lloh1:
	add	x8, x8, _menu_displaylist_parse_settings_internal_enum.precond_lut@PAGEOFF
	ldr	w27, [x8, w24, uxtw #2]
	sub	w28, w24, #146
	sub	w20, w24, #145
	mov	w19, #1
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	bl	_setting_get_type
	cmp	w0, w27
	b.eq	LBB0_20
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, #24
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x25, x24, [x22, #8]
	mov	x0, x22
	bl	_setting_get_type
	cmp	w28, #14
	b.hi	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	lsl	w8, w19, w28
	mov	w9, #20351
	tst	w8, w9
	b.eq	LBB0_16
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w0, w27
	b.ne	LBB0_14
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	cbz	w21, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	bl	_menu_setting_set_flags
	mov	x4, x0
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	mov	x1, x25
	mov	x2, x24
	mov	x3, x23
	mov	w5, #0
	mov	w6, #0
	bl	_menu_entries_append_enum
	b	LBB0_13
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh2:
	adrp	x8, _MENU_SETTINGS_INPUT_BEGIN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MENU_SETTINGS_INPUT_BEGIN@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _MENU_SETTINGS_INPUT_END@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MENU_SETTINGS_INPUT_END@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	w23, w9
	ccmp	w23, w8, #0, lo
	add	w8, w8, w26
	csel	w23, w8, w23, hs
	cbnz	w23, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	bl	_menu_setting_set_flags
	mov	x23, x0
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	mov	x1, x25
	mov	x2, x24
	mov	x3, x23
	mov	w4, #0
	mov	w5, #0
	bl	_menu_entries_append
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x26, x26, #1
LBB0_14:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w20, #15
	b.hi	LBB0_4
; %bb.15:                               ;   in Loop: Header=BB0_5 Depth=1
	lsl	w8, w19, w20
	mov	w9, #24833
	tst	w8, w9
	b.ne	LBB0_3
	b	LBB0_20
LBB0_16:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w9, #8320
	tst	w8, w9
	b.eq	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w0, #137
	b.eq	LBB0_8
	b	LBB0_14
LBB0_18:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	w8, w0, #129
	cmp	w8, #11
	b.hi	LBB0_8
; %bb.19:                               ;   in Loop: Header=BB0_5 Depth=1
	lsl	w8, w19, w8
	mov	w9, #3329
	tst	w8, w9
	b.ne	LBB0_3
	b	LBB0_8
LBB0_20:
	cbz	x26, LBB0_23
; %bb.21:
	mov	w0, #0
	b	LBB0_26
LBB0_22:
	ldr	w8, [x22]
Lloh8:
	adrp	x9, _SD_FLAG_ADVANCED@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SD_FLAG_ADVANCED@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
LBB0_23:
	ldr	w8, [sp, #4]                    ; 4-byte Folded Reload
	cbz	w8, LBB0_25
; %bb.24:
Lloh11:
	adrp	x8, _MENU_ENUM_LABEL_VALUE_NO_SETTINGS_FOUND@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MENU_ENUM_LABEL_VALUE_NO_SETTINGS_FOUND@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_msg_hash_to_str
	mov	x20, x0
Lloh14:
	adrp	x19, _MENU_ENUM_LABEL_NO_SETTINGS_FOUND@GOTPAGE
Lloh15:
	ldr	x19, [x19, _MENU_ENUM_LABEL_NO_SETTINGS_FOUND@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_msg_hash_to_str
	mov	x2, x0
	ldr	w3, [x19]
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	mov	x1, x20
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	bl	_menu_entries_append_enum
LBB0_25:
	mov	w0, #-1
LBB0_26:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @menu_displaylist_parse_settings_internal_enum.precond_lut
_menu_displaylist_parse_settings_internal_enum.precond_lut:
	.long	140                             ; 0x8c
	.long	134                             ; 0x86
	.long	144                             ; 0x90
	.long	135                             ; 0x87
	.long	128                             ; 0x80
	.long	142                             ; 0x8e
	.long	138                             ; 0x8a
	.long	143                             ; 0x8f
	.long	140                             ; 0x8c
	.long	131                             ; 0x83
	.long	133                             ; 0x85
	.long	130                             ; 0x82
	.long	136                             ; 0x88
	.long	141                             ; 0x8d
	.long	134                             ; 0x86
	.long	132                             ; 0x84

	.comm	_SD_FLAG_ADVANCED,4,2           ; @SD_FLAG_ADVANCED
	.comm	_MENU_SETTINGS_INPUT_BEGIN,4,2  ; @MENU_SETTINGS_INPUT_BEGIN
	.comm	_MENU_SETTINGS_INPUT_END,4,2    ; @MENU_SETTINGS_INPUT_END
	.comm	_MENU_ENUM_LABEL_VALUE_NO_SETTINGS_FOUND,4,2 ; @MENU_ENUM_LABEL_VALUE_NO_SETTINGS_FOUND
	.comm	_MENU_ENUM_LABEL_NO_SETTINGS_FOUND,4,2 ; @MENU_ENUM_LABEL_NO_SETTINGS_FOUND
	.comm	_SD_FLAG_LAKKA_ADVANCED,4,2     ; @SD_FLAG_LAKKA_ADVANCED
	.no_dead_strip	_menu_displaylist_parse_settings_internal_enum
.subsections_via_symbols
