	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CC_WMInitDialog
_CC_WMInitDialog:                       ## @CC_WMInitDialog
	.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
	movq	%rdx, %rbx
	movl	%esi, %r14d
	movl	%edi, %r15d
	leaq	L_.str(%rip), %rdi
	movq	%rdx, %rsi
	callq	_TRACE
	cmpl	$24, (%rbx)
	jne	LBB0_1
## %bb.2:
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movl	$40, %edi
	callq	_heap_alloc_zero
	movq	%rax, %r13
	movq	%rax, %r14
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, 16(%rax)
	movl	%r15d, 36(%rax)
	movq	_szColourDialogProp@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	movq	%r13, %rdx
	callq	_SetPropW
	movq	16(%r13), %rax
	movq	_CC_SHOWHELP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 4(%rax)
	jne	LBB0_4
## %bb.3:
	movq	_pshHelp@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_GetDlgItem
	movq	_SW_HIDE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_ShowWindow
LBB0_4:
	movq	_SETRGBSTRINGA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_RegisterWindowMessageA
	movl	%eax, 32(%r14)
	addq	$24, %r13
	movl	%r15d, %edi
	movq	%r13, %rsi
	callq	_GetWindowRect
	movq	16(%r14), %rax
	movl	4(%rax), %eax
	movq	_CC_FULLOPEN@GOTPCREL(%rip), %rbx
	testl	%eax, (%rbx)
	jne	LBB0_6
## %bb.5:
	movq	_CC_PREVENTFULLOPEN@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
LBB0_6:
	movq	_IDC_COLOR_DEFINE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_GetDlgItem
	movq	_FALSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_EnableWindow
	movq	16(%r14), %rax
	movl	4(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_8
## %bb.7:
	movq	_CC_PREVENTFULLOPEN@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_15
LBB0_8:
	movq	(%r13), %r13
	movq	%r13, -88(%rbp)
	movq	%r13, %rax
	shrq	$32, %rax
	subl	%eax, %r13d
	movq	_IDC_COLOR_GRAPH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_GetDlgItem
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -80(%rbp)
	leaq	-80(%rbp), %rbx
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_ClientToScreen
	movl	%r15d, %edi
	movq	%rbx, %rsi
	callq	_ScreenToClient
	leaq	-88(%rbp), %rsi
	movl	%r15d, %edi
	callq	_GetClientRect
	movq	_SM_CXDLGFRAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GetSystemMetrics
	addq	-80(%rbp), %rax
	movq	%rax, -80(%rbp)
	movq	_SWP_NOMOVE@GOTPCREL(%rip), %rcx
	movq	_SWP_NOZORDER@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	%edx, (%rsp)
	movl	%r15d, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%rax, %r8
	movl	%r13d, %r9d
	callq	_SetWindowPos
	movq	_IDC_COLOR_EDIT_H@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_IDC_COLOR_EDIT_B@GOTPCREL(%rip), %r13
	cmpl	(%r13), %ebx
	jg	LBB0_11
## %bb.9:
	movq	_SW_HIDE@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %edi
	movl	%ebx, %esi
	callq	_GetDlgItem
	movl	(%r12), %esi
	movl	%eax, %edi
	callq	_ShowWindow
	leal	1(%rbx), %eax
	cmpl	(%r13), %ebx
	movl	%eax, %ebx
	jl	LBB0_10
LBB0_11:
	movq	_IDC_COLOR_HL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_IDC_COLOR_BL@GOTPCREL(%rip), %r13
	cmpl	(%r13), %ebx
	jg	LBB0_14
## %bb.12:
	movq	_SW_HIDE@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %edi
	movl	%ebx, %esi
	callq	_GetDlgItem
	movl	(%r12), %esi
	movl	%eax, %edi
	callq	_ShowWindow
	leal	1(%rbx), %eax
	cmpl	(%r13), %ebx
	movl	%eax, %ebx
	jl	LBB0_13
LBB0_14:
	movq	_IDC_COLOR_RES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_GetDlgItem
	movq	_SW_HIDE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	%eax, %edi
	callq	_ShowWindow
	movq	_IDC_COLOR_ADD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_GetDlgItem
	movl	(%rbx), %esi
	movl	%eax, %edi
	callq	_ShowWindow
	movq	_IDC_COLOR_GRAPH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_GetDlgItem
	movl	(%rbx), %esi
	movl	%eax, %edi
	callq	_ShowWindow
	movq	_IDC_COLOR_RESULT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_GetDlgItem
	movl	(%rbx), %esi
	movl	%eax, %edi
	callq	_ShowWindow
	movl	%r15d, %edi
	movl	$1090, %esi                     ## imm = 0x442
	callq	_GetDlgItem
	movl	(%rbx), %esi
	movl	%eax, %edi
	callq	_ShowWindow
	jmp	LBB0_16
LBB0_1:
	movl	%r15d, %edi
	xorl	%esi, %esi
	callq	_EndDialog
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	jmp	LBB0_22
LBB0_15:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_CC_SwitchToFullSize
LBB0_16:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_IDC_COLOR_EDIT_H@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_IDC_COLOR_EDIT_B@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %r12d
	jg	LBB0_19
## %bb.17:
	movq	_EM_LIMITTEXT@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %edi
	movl	%r12d, %esi
	callq	_GetDlgItem
	movl	(%r13), %esi
	movl	%eax, %edi
	movl	$3, %edx
	xorl	%ecx, %ecx
	callq	_SendMessageA
	leal	1(%r12), %eax
	cmpl	(%rbx), %r12d
	movl	%eax, %r12d
	jl	LBB0_18
LBB0_19:
	movq	16(%r14), %rdi
	callq	_CC_HookCallChk
	testq	%rax, %rax
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	je	LBB0_21
## %bb.20:
	movq	16(%r14), %rax
	movl	16(%rax), %edi
	movq	_WM_INITDIALOG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %esi
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	callq	_CallWindowProcA
	movl	%eax, %r13d
LBB0_21:
	movq	16(%r14), %rax
	movq	8(%rax), %rdi
	callq	_GetRValue
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	16(%r14), %rax
	movq	8(%rax), %rdi
	callq	_GetGValue
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	16(%r14), %rax
	movq	8(%rax), %rdi
	callq	_GetBValue
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_CC_PaintSelectedColor
	movq	16(%r14), %rax
	movq	8(%rax), %rsi
	movl	$72, %edi
	callq	_CC_RGBtoHSL
	movl	%eax, (%r14)
	movq	16(%r14), %rax
	movq	8(%rax), %rsi
	movl	$83, %edi
	callq	_CC_RGBtoHSL
	movl	%eax, 4(%r14)
	movq	16(%r14), %rax
	movq	8(%rax), %rsi
	movl	$76, %edi
	callq	_CC_RGBtoHSL
	movl	%eax, 8(%r14)
	movq	_IDC_COLOR_EDIT_H@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movq	_TRUE@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	movl	%r15d, %edi
	callq	_SetDlgItemInt
	movq	_IDC_COLOR_EDIT_S@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r14), %edx
	movl	(%r12), %ecx
	movl	%r15d, %edi
	callq	_SetDlgItemInt
	movq	_IDC_COLOR_EDIT_L@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%r14), %edx
	movl	(%r12), %ecx
	movl	%r15d, %edi
	callq	_SetDlgItemInt
	movq	_IDC_COLOR_EDIT_R@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %ecx
	movl	%r15d, %edi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_SetDlgItemInt
	movq	_IDC_COLOR_EDIT_G@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %ecx
	movl	%r15d, %edi
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	callq	_SetDlgItemInt
	movl	(%rbx), %esi
	movl	(%r12), %ecx
	movl	%r15d, %edi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_SetDlgItemInt
	movq	%r14, %rdi
	callq	_CC_PaintCross
	movq	%r14, %rdi
	callq	_CC_PaintTriangle
LBB0_22:
	movl	%r13d, %eax
	addq	$56, %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	"WM_INITDIALOG lParam=%08lX\n"

	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_szColourDialogProp,4,2         ## @szColourDialogProp
	.comm	_CC_SHOWHELP,4,2                ## @CC_SHOWHELP
	.comm	_pshHelp,4,2                    ## @pshHelp
	.comm	_SW_HIDE,4,2                    ## @SW_HIDE
	.comm	_SETRGBSTRINGA,4,2              ## @SETRGBSTRINGA
	.comm	_CC_FULLOPEN,4,2                ## @CC_FULLOPEN
	.comm	_CC_PREVENTFULLOPEN,4,2         ## @CC_PREVENTFULLOPEN
	.comm	_IDC_COLOR_DEFINE,4,2           ## @IDC_COLOR_DEFINE
	.comm	_IDC_COLOR_GRAPH,4,2            ## @IDC_COLOR_GRAPH
	.comm	_SM_CXDLGFRAME,4,2              ## @SM_CXDLGFRAME
	.comm	_SWP_NOMOVE,4,2                 ## @SWP_NOMOVE
	.comm	_SWP_NOZORDER,4,2               ## @SWP_NOZORDER
	.comm	_IDC_COLOR_EDIT_H,4,2           ## @IDC_COLOR_EDIT_H
	.comm	_IDC_COLOR_EDIT_B,4,2           ## @IDC_COLOR_EDIT_B
	.comm	_IDC_COLOR_HL,4,2               ## @IDC_COLOR_HL
	.comm	_IDC_COLOR_BL,4,2               ## @IDC_COLOR_BL
	.comm	_IDC_COLOR_RES,4,2              ## @IDC_COLOR_RES
	.comm	_IDC_COLOR_ADD,4,2              ## @IDC_COLOR_ADD
	.comm	_IDC_COLOR_RESULT,4,2           ## @IDC_COLOR_RESULT
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_EM_LIMITTEXT,4,2               ## @EM_LIMITTEXT
	.comm	_WM_INITDIALOG,4,2              ## @WM_INITDIALOG
	.comm	_IDC_COLOR_EDIT_S,4,2           ## @IDC_COLOR_EDIT_S
	.comm	_IDC_COLOR_EDIT_L,4,2           ## @IDC_COLOR_EDIT_L
	.comm	_IDC_COLOR_EDIT_R,4,2           ## @IDC_COLOR_EDIT_R
	.comm	_IDC_COLOR_EDIT_G,4,2           ## @IDC_COLOR_EDIT_G
	.comm	_CC_RGBINIT,4,2                 ## @CC_RGBINIT
	.comm	_cpos,4,2                       ## @cpos
	.comm	_j,4,2                          ## @j
	.comm	_predefcolors,8,3               ## @predefcolors
	.no_dead_strip	_CC_WMInitDialog
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CC_WMInitDialog
_CC_WMInitDialog:                       ; @CC_WMInitDialog
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x2
	bl	_TRACE
	ldr	w8, [x21]
	cmp	w8, #24
	b.ne	LBB0_12
; %bb.1:
	mov	w0, #40
	bl	_heap_alloc_zero
	mov	x20, x0
	str	x21, [x0, #16]
	str	w19, [x0, #36]
Lloh2:
	adrp	x8, _szColourDialogProp@GOTPAGE
Lloh3:
	ldr	x8, [x8, _szColourDialogProp@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_SetPropW
	ldr	x8, [x20, #16]
	ldr	w8, [x8, #4]
Lloh5:
	adrp	x9, _CC_SHOWHELP@GOTPAGE
Lloh6:
	ldr	x9, [x9, _CC_SHOWHELP@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	adrp	x24, _SW_HIDE@GOTPAGE
Lloh9:
	ldr	x24, [x24, _SW_HIDE@GOTPAGEOFF]
	tst	w9, w8
	b.ne	LBB0_3
; %bb.2:
Lloh10:
	adrp	x8, _pshHelp@GOTPAGE
Lloh11:
	ldr	x8, [x8, _pshHelp@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_GetDlgItem
	ldr	w1, [x24]
	bl	_ShowWindow
LBB0_3:
Lloh13:
	adrp	x8, _SETRGBSTRINGA@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SETRGBSTRINGA@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_RegisterWindowMessageA
	str	w0, [x20, #32]
	add	x23, x20, #24
	mov	x0, x19
	mov	x1, x23
	bl	_GetWindowRect
	ldr	x8, [x20, #16]
	ldr	w8, [x8, #4]
Lloh16:
	adrp	x27, _CC_FULLOPEN@GOTPAGE
Lloh17:
	ldr	x27, [x27, _CC_FULLOPEN@GOTPAGEOFF]
	ldr	w9, [x27]
Lloh18:
	adrp	x26, _IDC_COLOR_EDIT_H@GOTPAGE
Lloh19:
	ldr	x26, [x26, _IDC_COLOR_EDIT_H@GOTPAGEOFF]
Lloh20:
	adrp	x25, _IDC_COLOR_EDIT_B@GOTPAGE
Lloh21:
	ldr	x25, [x25, _IDC_COLOR_EDIT_B@GOTPAGEOFF]
	tst	w9, w8
	b.ne	LBB0_5
; %bb.4:
Lloh22:
	adrp	x9, _CC_PREVENTFULLOPEN@GOTPAGE
Lloh23:
	ldr	x9, [x9, _CC_PREVENTFULLOPEN@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
LBB0_5:
Lloh25:
	adrp	x8, _IDC_COLOR_DEFINE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _IDC_COLOR_DEFINE@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_GetDlgItem
Lloh28:
	adrp	x8, _FALSE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	bl	_EnableWindow
	ldr	x8, [x20, #16]
	ldr	w8, [x8, #4]
	ldr	w9, [x27]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
Lloh31:
	adrp	x9, _CC_PREVENTFULLOPEN@GOTPAGE
Lloh32:
	ldr	x9, [x9, _CC_PREVENTFULLOPEN@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
LBB0_7:
	ldr	x8, [x23]
	str	x8, [sp, #24]
	lsr	x9, x8, #32
	sub	w23, w8, w9
Lloh34:
	adrp	x27, _IDC_COLOR_GRAPH@GOTPAGE
Lloh35:
	ldr	x27, [x27, _IDC_COLOR_GRAPH@GOTPAGEOFF]
	ldr	w1, [x27]
	mov	x0, x19
	bl	_GetDlgItem
	stp	xzr, xzr, [sp, #8]
	add	x1, sp, #8
	bl	_ClientToScreen
	add	x1, sp, #8
	mov	x0, x19
	bl	_ScreenToClient
	add	x1, sp, #24
	mov	x0, x19
	bl	_GetClientRect
Lloh36:
	adrp	x8, _SM_CXDLGFRAME@GOTPAGE
Lloh37:
	ldr	x8, [x8, _SM_CXDLGFRAME@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
	bl	_GetSystemMetrics
	ldr	x8, [sp, #8]
	add	x4, x8, x0
Lloh39:
	adrp	x8, _SWP_NOMOVE@GOTPAGE
Lloh40:
	ldr	x8, [x8, _SWP_NOMOVE@GOTPAGEOFF]
	str	x4, [sp, #8]
Lloh41:
	ldr	w8, [x8]
Lloh42:
	adrp	x9, _SWP_NOZORDER@GOTPAGE
Lloh43:
	ldr	x9, [x9, _SWP_NOZORDER@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	orr	w6, w9, w8
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	x5, x23
	bl	_SetWindowPos
	ldr	w23, [x26]
	ldr	w8, [x25]
	cmp	w23, w8
	b.gt	LBB0_9
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x23
	bl	_GetDlgItem
	ldr	w1, [x24]
	bl	_ShowWindow
	add	w8, w23, #1
	ldr	w9, [x25]
	cmp	w23, w9
	mov	x23, x8
	b.lt	LBB0_8
LBB0_9:
Lloh45:
	adrp	x8, _IDC_COLOR_HL@GOTPAGE
Lloh46:
	ldr	x8, [x8, _IDC_COLOR_HL@GOTPAGEOFF]
Lloh47:
	ldr	w23, [x8]
Lloh48:
	adrp	x28, _IDC_COLOR_BL@GOTPAGE
Lloh49:
	ldr	x28, [x28, _IDC_COLOR_BL@GOTPAGEOFF]
	ldr	w8, [x28]
	cmp	w23, w8
	b.gt	LBB0_11
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x23
	bl	_GetDlgItem
	ldr	w1, [x24]
	bl	_ShowWindow
	add	w8, w23, #1
	ldr	w9, [x28]
	cmp	w23, w9
	mov	x23, x8
	b.lt	LBB0_10
LBB0_11:
Lloh50:
	adrp	x8, _IDC_COLOR_RES@GOTPAGE
Lloh51:
	ldr	x8, [x8, _IDC_COLOR_RES@GOTPAGEOFF]
Lloh52:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_GetDlgItem
	ldr	w1, [x24]
	bl	_ShowWindow
Lloh53:
	adrp	x8, _IDC_COLOR_ADD@GOTPAGE
Lloh54:
	ldr	x8, [x8, _IDC_COLOR_ADD@GOTPAGEOFF]
Lloh55:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_GetDlgItem
	ldr	w1, [x24]
	bl	_ShowWindow
	ldr	w1, [x27]
	mov	x0, x19
	bl	_GetDlgItem
	ldr	w1, [x24]
	bl	_ShowWindow
Lloh56:
	adrp	x8, _IDC_COLOR_RESULT@GOTPAGE
Lloh57:
	ldr	x8, [x8, _IDC_COLOR_RESULT@GOTPAGEOFF]
Lloh58:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_GetDlgItem
	ldr	w1, [x24]
	bl	_ShowWindow
	mov	x0, x19
	mov	w1, #1090
	bl	_GetDlgItem
	ldr	w1, [x24]
	bl	_ShowWindow
	b	LBB0_14
LBB0_12:
	mov	x0, x19
	mov	w1, #0
	bl	_EndDialog
Lloh59:
	adrp	x8, _FALSE@GOTPAGE
Lloh60:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh61:
	ldr	w23, [x8]
	b	LBB0_20
LBB0_13:
	mov	x0, x20
	mov	x1, #0
	bl	_CC_SwitchToFullSize
LBB0_14:
Lloh62:
	adrp	x27, _TRUE@GOTPAGE
Lloh63:
	ldr	x27, [x27, _TRUE@GOTPAGEOFF]
	ldr	w23, [x27]
	ldr	w24, [x26]
	ldr	w8, [x25]
	cmp	w24, w8
	b.gt	LBB0_17
; %bb.15:
Lloh64:
	adrp	x28, _EM_LIMITTEXT@GOTPAGE
Lloh65:
	ldr	x28, [x28, _EM_LIMITTEXT@GOTPAGEOFF]
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x24
	bl	_GetDlgItem
	ldr	w1, [x28]
	mov	w2, #3
	mov	w3, #0
	bl	_SendMessageA
	add	w8, w24, #1
	ldr	w9, [x25]
	cmp	w24, w9
	mov	x24, x8
	b.lt	LBB0_16
LBB0_17:
	ldr	x0, [x20, #16]
	bl	_CC_HookCallChk
	cbz	x0, LBB0_19
; %bb.18:
	ldr	x8, [x20, #16]
	ldr	w0, [x8, #16]
Lloh66:
	adrp	x8, _WM_INITDIALOG@GOTPAGE
Lloh67:
	ldr	x8, [x8, _WM_INITDIALOG@GOTPAGEOFF]
Lloh68:
	ldr	w2, [x8]
	mov	x1, x19
	mov	x3, x22
	mov	x4, x21
	bl	_CallWindowProcA
	mov	x23, x0
LBB0_19:
	ldr	x8, [x20, #16]
	ldr	x0, [x8, #8]
	bl	_GetRValue
	mov	x24, x0
	ldr	x8, [x20, #16]
	ldr	x0, [x8, #8]
	bl	_GetGValue
	mov	x22, x0
	ldr	x8, [x20, #16]
	ldr	x0, [x8, #8]
	bl	_GetBValue
	mov	x21, x0
	mov	x0, x20
	bl	_CC_PaintSelectedColor
	ldr	x8, [x20, #16]
	ldr	x1, [x8, #8]
	mov	w0, #72
	bl	_CC_RGBtoHSL
	str	w0, [x20]
	ldr	x8, [x20, #16]
	ldr	x1, [x8, #8]
	mov	w0, #83
	bl	_CC_RGBtoHSL
	str	w0, [x20, #4]
	ldr	x8, [x20, #16]
	ldr	x1, [x8, #8]
	mov	w0, #76
	bl	_CC_RGBtoHSL
	str	w0, [x20, #8]
	ldr	w1, [x26]
	ldr	w2, [x20]
	ldr	w3, [x27]
	mov	x0, x19
	bl	_SetDlgItemInt
Lloh69:
	adrp	x8, _IDC_COLOR_EDIT_S@GOTPAGE
Lloh70:
	ldr	x8, [x8, _IDC_COLOR_EDIT_S@GOTPAGEOFF]
Lloh71:
	ldr	w1, [x8]
	ldr	w2, [x20, #4]
	ldr	w3, [x27]
	mov	x0, x19
	bl	_SetDlgItemInt
Lloh72:
	adrp	x8, _IDC_COLOR_EDIT_L@GOTPAGE
Lloh73:
	ldr	x8, [x8, _IDC_COLOR_EDIT_L@GOTPAGEOFF]
Lloh74:
	ldr	w1, [x8]
	ldr	w2, [x20, #8]
	ldr	w3, [x27]
	mov	x0, x19
	bl	_SetDlgItemInt
Lloh75:
	adrp	x8, _IDC_COLOR_EDIT_R@GOTPAGE
Lloh76:
	ldr	x8, [x8, _IDC_COLOR_EDIT_R@GOTPAGEOFF]
Lloh77:
	ldr	w1, [x8]
	ldr	w3, [x27]
	mov	x0, x19
	mov	x2, x24
	bl	_SetDlgItemInt
Lloh78:
	adrp	x8, _IDC_COLOR_EDIT_G@GOTPAGE
Lloh79:
	ldr	x8, [x8, _IDC_COLOR_EDIT_G@GOTPAGEOFF]
Lloh80:
	ldr	w1, [x8]
	ldr	w3, [x27]
	mov	x0, x19
	mov	x2, x22
	bl	_SetDlgItemInt
	ldr	w1, [x25]
	ldr	w3, [x27]
	mov	x0, x19
	mov	x2, x21
	bl	_SetDlgItemInt
	mov	x0, x20
	bl	_CC_PaintCross
	mov	x0, x20
	bl	_CC_PaintTriangle
LBB0_20:
	mov	x0, x23
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WM_INITDIALOG lParam=%08lX\n"

	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_szColourDialogProp,4,2         ; @szColourDialogProp
	.comm	_CC_SHOWHELP,4,2                ; @CC_SHOWHELP
	.comm	_pshHelp,4,2                    ; @pshHelp
	.comm	_SW_HIDE,4,2                    ; @SW_HIDE
	.comm	_SETRGBSTRINGA,4,2              ; @SETRGBSTRINGA
	.comm	_CC_FULLOPEN,4,2                ; @CC_FULLOPEN
	.comm	_CC_PREVENTFULLOPEN,4,2         ; @CC_PREVENTFULLOPEN
	.comm	_IDC_COLOR_DEFINE,4,2           ; @IDC_COLOR_DEFINE
	.comm	_IDC_COLOR_GRAPH,4,2            ; @IDC_COLOR_GRAPH
	.comm	_SM_CXDLGFRAME,4,2              ; @SM_CXDLGFRAME
	.comm	_SWP_NOMOVE,4,2                 ; @SWP_NOMOVE
	.comm	_SWP_NOZORDER,4,2               ; @SWP_NOZORDER
	.comm	_IDC_COLOR_EDIT_H,4,2           ; @IDC_COLOR_EDIT_H
	.comm	_IDC_COLOR_EDIT_B,4,2           ; @IDC_COLOR_EDIT_B
	.comm	_IDC_COLOR_HL,4,2               ; @IDC_COLOR_HL
	.comm	_IDC_COLOR_BL,4,2               ; @IDC_COLOR_BL
	.comm	_IDC_COLOR_RES,4,2              ; @IDC_COLOR_RES
	.comm	_IDC_COLOR_ADD,4,2              ; @IDC_COLOR_ADD
	.comm	_IDC_COLOR_RESULT,4,2           ; @IDC_COLOR_RESULT
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_EM_LIMITTEXT,4,2               ; @EM_LIMITTEXT
	.comm	_WM_INITDIALOG,4,2              ; @WM_INITDIALOG
	.comm	_IDC_COLOR_EDIT_S,4,2           ; @IDC_COLOR_EDIT_S
	.comm	_IDC_COLOR_EDIT_L,4,2           ; @IDC_COLOR_EDIT_L
	.comm	_IDC_COLOR_EDIT_R,4,2           ; @IDC_COLOR_EDIT_R
	.comm	_IDC_COLOR_EDIT_G,4,2           ; @IDC_COLOR_EDIT_G
	.comm	_CC_RGBINIT,4,2                 ; @CC_RGBINIT
	.comm	_cpos,4,2                       ; @cpos
	.comm	_j,4,2                          ; @j
	.comm	_predefcolors,8,3               ; @predefcolors
	.no_dead_strip	_CC_WMInitDialog
.subsections_via_symbols
