	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ColorsPanel_eventHandler
_ColorsPanel_eventHandler:              ## @ColorsPanel_eventHandler
	.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
	movl	%esi, %ebx
	movq	%rdi, %r13
	movq	_IGNORED@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	callq	_Panel_getSelectedIndex
	movl	%eax, %r15d
	cmpl	$32, %ebx
	jbe	LBB0_3
LBB0_1:
	addl	$-128, %ebx
	cmpl	$3, %ebx
	jb	LBB0_4
## %bb.2:
	movq	_HANDLED@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	je	LBB0_8
	jmp	LBB0_9
LBB0_3:
	movl	%ebx, %eax
	movabsq	$4294976512, %rcx               ## imm = 0x100002400
	btq	%rax, %rcx
	jae	LBB0_1
LBB0_4:
	movq	_ColorSchemeNames@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.5:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_Panel_get
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_CheckItem_set
	movq	(%r14), %rax
	cmpq	$0, 8(%rax,%rbx,8)
	leaq	1(%rbx), %rbx
	jne	LBB0_6
LBB0_7:
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_Panel_get
	movq	%rax, %rdi
	movl	$1, %esi
	callq	_CheckItem_set
	movq	8(%r13), %rax
	movl	%r15d, (%rax)
	movq	_HANDLED@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
LBB0_8:
	movq	8(%r13), %rax
	movl	$1, 4(%rax)
	movq	(%r13), %rax
	movq	16(%rax), %r12
	movl	%r15d, %edi
	callq	_CRT_setColors
	xorl	%eax, %eax
	callq	_clear
	movq	(%r13), %rax
	movl	12(%rax), %edi
	xorl	%esi, %esi
	callq	_Vector_get
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_Header_draw
	movq	_CRT_colors@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	_PANEL_HEADER_FOCUS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %esi
	movq	%r13, %rdi
	callq	_RichString_setAttr
	movq	(%r15), %rax
	movq	_PANEL_HEADER_UNFOCUS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %esi
	movq	%rbx, %rdi
	callq	_RichString_setAttr
	movq	(%r13), %rdi
	movl	8(%rdi), %esi
	movl	(%r12), %edx
	movl	(%rdi), %r8d
	movl	4(%rdi), %ecx
	callq	_ScreenManager_resize
LBB0_9:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IGNORED,8,3                    ## @IGNORED
	.comm	_ColorSchemeNames,8,3           ## @ColorSchemeNames
	.comm	_HANDLED,8,3                    ## @HANDLED
	.comm	_CRT_colors,8,3                 ## @CRT_colors
	.comm	_PANEL_HEADER_FOCUS,8,3         ## @PANEL_HEADER_FOCUS
	.comm	_PANEL_HEADER_UNFOCUS,8,3       ## @PANEL_HEADER_UNFOCUS
	.no_dead_strip	_ColorsPanel_eventHandler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ColorsPanel_eventHandler
_ColorsPanel_eventHandler:              ; @ColorsPanel_eventHandler
	.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	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _IGNORED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IGNORED@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	bl	_Panel_getSelectedIndex
	mov	x21, x0
	cmp	w22, #32
	b.ls	LBB0_3
LBB0_1:
	sub	w8, w22, #128
	cmp	w8, #3
	b.lo	LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _HANDLED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HANDLED@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x20, x8
	b.eq	LBB0_8
	b	LBB0_9
LBB0_3:
	mov	w8, w22
	mov	w9, #1
	lsl	x8, x9, x8
	mov	x9, #9216
	movk	x9, #1, lsl #32
	tst	x8, x9
	b.eq	LBB0_1
LBB0_4:
Lloh6:
	adrp	x22, _ColorSchemeNames@GOTPAGE
Lloh7:
	ldr	x22, [x22, _ColorSchemeNames@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.5:
	mov	x20, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_Panel_get
	mov	w1, #0
	bl	_CheckItem_set
	ldr	x8, [x22]
	add	x8, x8, x20, lsl #3
	add	x20, x20, #1
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_6
LBB0_7:
	mov	x0, x19
	mov	x1, x21
	bl	_Panel_get
	mov	w1, #1
	bl	_CheckItem_set
	ldr	x8, [x19, #8]
	str	w21, [x8]
Lloh8:
	adrp	x8, _HANDLED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HANDLED@GOTPAGEOFF]
Lloh10:
	ldr	x20, [x8]
LBB0_8:
	mov	w8, #1
	ldp	x10, x9, [x19]
	str	w8, [x9, #4]
	ldr	x22, [x10, #16]
	mov	x0, x21
	bl	_CRT_setColors
	bl	_clear
	ldr	x8, [x19]
	ldr	w0, [x8, #12]
	mov	w1, #0
	bl	_Vector_get
	mov	x21, x0
	mov	x0, x22
	bl	_Header_draw
Lloh11:
	adrp	x23, _CRT_colors@GOTPAGE
Lloh12:
	ldr	x23, [x23, _CRT_colors@GOTPAGEOFF]
	ldr	x8, [x23]
Lloh13:
	adrp	x9, _PANEL_HEADER_FOCUS@GOTPAGE
Lloh14:
	ldr	x9, [x9, _PANEL_HEADER_FOCUS@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	ldr	w1, [x8, x9, lsl #2]
	mov	x0, x19
	bl	_RichString_setAttr
	ldr	x8, [x23]
Lloh16:
	adrp	x9, _PANEL_HEADER_UNFOCUS@GOTPAGE
Lloh17:
	ldr	x9, [x9, _PANEL_HEADER_UNFOCUS@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	ldr	w1, [x8, x9, lsl #2]
	mov	x0, x21
	bl	_RichString_setAttr
	ldr	x0, [x19]
	ldp	w3, w1, [x0, #4]
	ldr	w2, [x22]
	ldr	w4, [x0]
	bl	_ScreenManager_resize
LBB0_9:
	mov	x0, x20
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_IGNORED,8,3                    ; @IGNORED
	.comm	_ColorSchemeNames,8,3           ; @ColorSchemeNames
	.comm	_HANDLED,8,3                    ; @HANDLED
	.comm	_CRT_colors,8,3                 ; @CRT_colors
	.comm	_PANEL_HEADER_FOCUS,8,3         ; @PANEL_HEADER_FOCUS
	.comm	_PANEL_HEADER_UNFOCUS,8,3       ; @PANEL_HEADER_UNFOCUS
	.no_dead_strip	_ColorsPanel_eventHandler
.subsections_via_symbols
