	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CC_WMMouseMove
_CC_WMMouseMove:                        ## @CC_WMMouseMove
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %r8d
	movq	(%rdi), %rsi
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	leaq	8(%rdi), %rax
	movq	_IDC_COLOR_GRAPH@GOTPCREL(%rip), %rcx
	addq	$12, %rdi
	xorl	%edx, %edx
	cmpq	(%rcx), %rsi
	cmoveq	%rdi, %rdx
	leaq	16(%rbx), %rcx
	cmovneq	%rax, %rcx
	movl	32(%rbx), %edi
	callq	_CC_MouseCheckColorGraph
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	8(%rbx), %edx
	movl	12(%rbx), %edi
	movl	16(%rbx), %esi
	callq	_CC_HSLtoRGB
	movq	24(%rbx), %rcx
	movl	%eax, (%rcx)
	movq	%rbx, %rdi
	callq	_CC_EditSetRGB
	movq	%rbx, %rdi
	callq	_CC_EditSetHSL
	movq	%rbx, %rdi
	callq	_CC_PaintCross
	movq	%rbx, %rdi
	callq	_CC_PaintTriangle
	movq	%rbx, %rdi
	callq	_CC_PaintSelectedColor
	jmp	LBB0_5
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_4:
	xorl	%eax, %eax
	callq	_ReleaseCapture
	movq	$0, (%rbx)
LBB0_5:
	movl	$1, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IDC_COLOR_GRAPH,8,3            ## @IDC_COLOR_GRAPH
	.no_dead_strip	_CC_WMMouseMove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CC_WMMouseMove
_CC_WMMouseMove:                        ; @CC_WMMouseMove
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x4, x1
	ldr	x1, [x0]
	cbz	x1, LBB0_3
; %bb.1:
	mov	x19, x0
	add	x8, x0, #8
Lloh0:
	adrp	x9, _IDC_COLOR_GRAPH@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IDC_COLOR_GRAPH@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x10, x0, #12
	add	x11, x0, #16
	cmp	x1, x9
	csel	x2, x10, xzr, eq
	csel	x3, x11, x8, eq
	ldr	w0, [x0, #32]
	bl	_CC_MouseCheckColorGraph
	cbz	x0, LBB0_4
; %bb.2:
	ldp	w0, w1, [x19, #12]
	ldr	w2, [x19, #8]
	bl	_CC_HSLtoRGB
	ldr	x8, [x19, #24]
	str	w0, [x8]
	mov	x0, x19
	bl	_CC_EditSetRGB
	mov	x0, x19
	bl	_CC_EditSetHSL
	mov	x0, x19
	bl	_CC_PaintCross
	mov	x0, x19
	bl	_CC_PaintTriangle
	mov	x0, x19
	bl	_CC_PaintSelectedColor
	b	LBB0_5
LBB0_3:
	mov	w0, #0
	b	LBB0_6
LBB0_4:
	bl	_ReleaseCapture
	str	xzr, [x19]
LBB0_5:
	mov	w0, #1
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IDC_COLOR_GRAPH,8,3            ; @IDC_COLOR_GRAPH
	.no_dead_strip	_CC_WMMouseMove
.subsections_via_symbols
