	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___config_toggle_cb             ## -- Begin function __config_toggle_cb
	.p2align	4, 0x90
___config_toggle_cb:                    ## @__config_toggle_cb
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	movq	(%rax), %rbx
	movq	16(%rbx), %rax
	movslq	(%rbx), %rcx
	movq	-8(%rax,%rcx,8), %r15
	movq	(%r15), %rax
	movq	24(%r15), %rcx
	movq	(%rcx,%rax,8), %rax
	movl	8(%rax), %edi
	callq	_r_strbuf_new
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_r_strbuf_get
	movl	%eax, %edi
	movl	$58, %esi
	callq	_r_str_split
	movl	(%r14), %r12d
	movq	%r13, %rdi
	callq	_r_strbuf_get
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_r_config_toggle
	movq	%r13, %rdi
	callq	_r_strbuf_free
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	___set_refresh_all
	movq	16(%r15), %rax
	movq	8(%rax), %rax
	movl	(%rax), %edi
	callq	_free
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	___draw_menu
	movl	%eax, %edi
	callq	_r_strbuf_drain
	movq	16(%r15), %rcx
	movq	8(%rcx), %rcx
	movl	%eax, (%rcx)
	movl	(%rbx), %r9d
	cmpl	$2, %r9d
	jl	LBB0_9
## %bb.1:
	movl	%r9d, %edx
	movslq	4(%rbx), %r8
	decq	%r9
	cmpl	$2, %edx
	jne	LBB0_3
## %bb.2:
	movl	$1, %edx
	testb	$1, %r9b
	jne	LBB0_7
	jmp	LBB0_8
LBB0_3:
	leaq	(,%r8,8), %rsi
	movq	%r9, %rdi
	andq	$-2, %rdi
	negq	%rdi
	movl	$1, %edx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rbx), %rax
	movq	(%rax,%rdx,8), %rax
	movq	16(%rax), %rax
	movq	(%rax), %rcx
	movl	$1, (%rcx)
	movq	8(%rbx), %rcx
	addq	%rsi, %rcx
	movq	%rax, -8(%rcx,%rdx,8)
	movq	16(%rbx), %rax
	movq	8(%rax,%rdx,8), %rax
	movq	16(%rax), %rax
	movq	(%rax), %rcx
	movl	$1, (%rcx)
	movq	8(%rbx), %rcx
	addq	%rsi, %rcx
	movq	%rax, (%rcx,%rdx,8)
	leaq	(%rdi,%rdx), %rax
	addq	$2, %rax
	addq	$2, %rdx
	cmpq	$1, %rax
	jne	LBB0_4
## %bb.5:
	addq	%rdx, %r8
	decq	%r8
	testb	$1, %r9b
	je	LBB0_8
LBB0_7:
	movq	16(%rbx), %rax
	movq	(%rax,%rdx,8), %rax
	movq	16(%rax), %rax
	movq	(%rax), %rcx
	movl	$1, (%rcx)
	movq	8(%rbx), %rcx
	movq	%rax, (%rcx,%r8,8)
	incq	%r8
LBB0_8:
	movl	%r8d, 4(%rbx)
LBB0_9:
	movl	8(%r15), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_11
## %bb.10:
	movq	___init_menu_disasm_asm_settings_layout@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	___update_menu
LBB0_11:
	movl	8(%r15), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_13
## %bb.12:
	movq	___init_menu_screen_settings_layout@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	___update_menu
LBB0_13:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"asm"

L_.str.1:                               ## @.str.1
	.asciz	"Settings.Disassembly.asm"

	.comm	___init_menu_disasm_asm_settings_layout,4,2 ## @__init_menu_disasm_asm_settings_layout
L_.str.2:                               ## @.str.2
	.asciz	"Screen"

L_.str.3:                               ## @.str.3
	.asciz	"Settings.Screen"

	.comm	___init_menu_screen_settings_layout,4,2 ## @__init_menu_screen_settings_layout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___config_toggle_cb             ; -- Begin function __config_toggle_cb
	.p2align	2
___config_toggle_cb:                    ; @__config_toggle_cb
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x23, [x8]
	ldr	x8, [x23, #16]
	ldrsw	x9, [x23]
	add	x8, x8, x9, lsl #3
	ldur	x20, [x8, #-8]
	ldr	x8, [x20, #24]
	ldr	x9, [x20]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w0, [x8, #8]
	bl	_r_strbuf_new
	mov	x21, x0
	bl	_r_strbuf_get
	mov	w1, #58
	bl	_r_str_split
	ldr	w22, [x19]
	mov	x0, x21
	bl	_r_strbuf_get
	mov	x1, x0
	mov	x0, x22
	bl	_r_config_toggle
	mov	x0, x21
	bl	_r_strbuf_free
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	___set_refresh_all
	ldr	x8, [x20, #16]
	ldr	x8, [x8, #8]
	ldr	w0, [x8]
	bl	_free
	mov	x0, x19
	mov	x1, x20
	bl	___draw_menu
	bl	_r_strbuf_drain
	ldr	x8, [x20, #16]
	ldr	x8, [x8, #8]
	str	w0, [x8]
	ldr	w10, [x23]
	cmp	w10, #2
	b.lt	LBB0_4
; %bb.1:
	mov	x8, #0
	ldrsw	x11, [x23, #4]
	and	x9, x11, #0xffffffff
	sub	x10, x10, #1
	lsl	x11, x11, #3
	mov	w12, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x13, x8, #3
	ldp	x15, x14, [x23, #8]
	add	x14, x14, x13
	ldr	x14, [x14, #8]
	ldr	x14, [x14, #16]
	ldr	x16, [x14]
	str	w12, [x16]
	add	x15, x15, x11
	str	x14, [x15, x13]
	add	x8, x8, #1
	cmp	x10, x8
	b.ne	LBB0_2
; %bb.3:
	add	w8, w9, w8
	str	w8, [x23, #4]
LBB0_4:
	ldr	w0, [x20, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbnz	w0, LBB0_6
; %bb.5:
Lloh2:
	adrp	x8, ___init_menu_disasm_asm_settings_layout@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___init_menu_disasm_asm_settings_layout@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	___update_menu
LBB0_6:
	ldr	w0, [x20, #8]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcmp
	cbnz	w0, LBB0_8
; %bb.7:
Lloh9:
	adrp	x8, ___init_menu_screen_settings_layout@GOTPAGE
Lloh10:
	ldr	x8, [x8, ___init_menu_screen_settings_layout@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	___update_menu
LBB0_8:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"asm"

l_.str.1:                               ; @.str.1
	.asciz	"Settings.Disassembly.asm"

	.comm	___init_menu_disasm_asm_settings_layout,4,2 ; @__init_menu_disasm_asm_settings_layout
l_.str.2:                               ; @.str.2
	.asciz	"Screen"

l_.str.3:                               ; @.str.3
	.asciz	"Settings.Screen"

	.comm	___init_menu_screen_settings_layout,4,2 ; @__init_menu_screen_settings_layout
.subsections_via_symbols
