	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __init_menu_screen_settings_layout
___init_menu_screen_settings_layout:    ## @__init_menu_screen_settings_layout
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	xorl	%edi, %edi
	callq	_r_strbuf_new
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_menus_settings_screen@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	(%rax), %r12
	testq	%r12, %r12
	je	LBB0_5
## %bb.1:
	xorl	%r14d, %r14d
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rcx), %ecx
	movq	%r12, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%eax, %edx
	callq	___add_menu
	movq	(%r15), %rax
	movq	%r12, %rcx
	movq	8(%rax,%r14), %r12
	addq	$8, %r14
	testq	%r12, %r12
	movq	%r15, %rbx
	movq	%rcx, %r15
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_r_strbuf_set
	movq	%r13, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_r_strbuf_append
	movl	(%r15), %edi
	movq	%r12, %rsi
	callq	_r_config_get
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_r_strbuf_append
	movq	(%rbx), %rax
	movq	(%rax,%r14), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	movq	%r15, %r12
	movq	%rbx, %r15
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_r_strbuf_get
	movq	___config_toggle_cb@GOTPCREL(%rip), %rcx
	testl	%ebx, %ebx
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	___config_value_cb@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_5:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_r_strbuf_free                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_menus_settings_screen,8,3      ## @menus_settings_screen
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	": "

L_.str.1:                               ## @.str.1
	.asciz	"scr.color"

	.comm	___config_value_cb,4,2          ## @__config_value_cb
	.comm	___config_toggle_cb,4,2         ## @__config_toggle_cb
	.no_dead_strip	___init_menu_screen_settings_layout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __init_menu_screen_settings_layout
___init_menu_screen_settings_layout:    ; @__init_menu_screen_settings_layout
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x1
	mov	x20, x0
	mov	x0, #0
	bl	_r_strbuf_new
	mov	x21, x0
Lloh0:
	adrp	x25, _menus_settings_screen@GOTPAGE
Lloh1:
	ldr	x25, [x25, _menus_settings_screen@GOTPAGEOFF]
	ldr	x8, [x25]
	ldr	x24, [x8]
	cbz	x24, LBB0_3
; %bb.1:
	mov	x26, #0
Lloh2:
	adrp	x22, l_.str@PAGE
Lloh3:
	add	x22, x22, l_.str@PAGEOFF
Lloh4:
	adrp	x27, ___config_value_cb@GOTPAGE
Lloh5:
	ldr	x27, [x27, ___config_value_cb@GOTPAGEOFF]
Lloh6:
	adrp	x28, ___config_toggle_cb@GOTPAGE
Lloh7:
	ldr	x28, [x28, ___config_toggle_cb@GOTPAGEOFF]
Lloh8:
	adrp	x23, l_.str.1@PAGE
Lloh9:
	add	x23, x23, l_.str.1@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x24
	bl	_r_strbuf_set
	mov	x0, x21
	mov	x1, x22
	bl	_r_strbuf_append
	ldr	w0, [x20]
	mov	x1, x24
	bl	_r_config_get
	mov	x1, x0
	mov	x0, x21
	bl	_r_strbuf_append
	ldr	x8, [x25]
	ldr	x0, [x8, x26]
	mov	x1, x23
	bl	_strcmp
	mov	x24, x0
	mov	x0, x21
	bl	_r_strbuf_get
	mov	x2, x0
	cmp	w24, #0
	csel	x8, x27, x28, eq
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	___add_menu
	ldr	x8, [x25]
	add	x8, x8, x26
	ldr	x24, [x8, #8]
	add	x26, x26, #8
	cbnz	x24, LBB0_2
LBB0_3:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_r_strbuf_free
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_menus_settings_screen,8,3      ; @menus_settings_screen
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	": "

l_.str.1:                               ; @.str.1
	.asciz	"scr.color"

	.comm	___config_value_cb,4,2          ; @__config_value_cb
	.comm	___config_toggle_cb,4,2         ; @__config_toggle_cb
	.no_dead_strip	___init_menu_screen_settings_layout
.subsections_via_symbols
