	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CC_MouseCheckPredefColorArray
_CC_MouseCheckPredefColorArray:         ## @CC_MouseCheckPredefColorArray
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r13
	leaq	-56(%rbp), %rbx
	movl	%ecx, %edi
	movq	%rbx, %rsi
	callq	_CONV_LPARAMTOPOINT
	movl	8(%r13), %edi
	movq	%rbx, %rsi
	callq	_ClientToScreen
	movl	8(%r13), %edi
	movq	_IDC_COLOR_PREDEF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetDlgItem
	movl	%eax, %r12d
	leaq	-80(%rbp), %rbx
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_GetWindowRect
	movq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_PtInRect
	movq	_FALSE@GOTPCREL(%rip), %r15
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movl	-80(%rbp), %eax
	movl	-72(%rbp), %ecx
	subl	-76(%rbp), %eax
	cltd
	idivl	%r14d
	movl	%r14d, -60(%rbp)                ## 4-byte Spill
	movl	%eax, %r14d
	subl	-68(%rbp), %ecx
	movl	%ecx, %eax
	cltd
	idivl	-44(%rbp)                       ## 4-byte Folded Reload
	movl	%eax, %ebx
	leaq	-56(%rbp), %rsi
	movl	%r12d, %edi
	callq	_ScreenToClient
	movl	-56(%rbp), %eax
	cltd
	idivl	%r14d
	movl	%eax, %ecx
	movq	_DISTANCE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	subl	%esi, %r14d
	cmpl	%r14d, %edx
	jge	LBB0_4
## %bb.2:
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	-60(%rbp), %r9d                 ## 4-byte Reload
	movl	-52(%rbp), %eax
	cltd
	idivl	%ebx
	subl	%esi, %ebx
	cmpl	%ebx, %edx
	jge	LBB0_4
## %bb.3:
	movq	_predefcolors@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movslq	%eax, %rsi
	movq	(%rdx,%rsi,8), %rdx
	movslq	%ecx, %rsi
	movl	(%rdx,%rsi,4), %edx
	movq	(%r13), %rsi
	movl	%edx, (%rsi)
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	%ecx, %edx
	movl	%eax, %ecx
	callq	_CC_DrawFocusRect
	movq	_TRUE@GOTPCREL(%rip), %r15
LBB0_4:
	movl	(%r15), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IDC_COLOR_PREDEF,4,2           ## @IDC_COLOR_PREDEF
	.comm	_DISTANCE,4,2                   ## @DISTANCE
	.comm	_predefcolors,8,3               ## @predefcolors
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_CC_MouseCheckPredefColorArray
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CC_MouseCheckPredefColorArray
_CC_MouseCheckPredefColorArray:         ; @CC_MouseCheckPredefColorArray
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	add	x1, sp, #24
	mov	x0, x3
	bl	_CONV_LPARAMTOPOINT
	ldr	w0, [x21, #8]
	add	x1, sp, #24
	bl	_ClientToScreen
	ldr	w0, [x21, #8]
Lloh0:
	adrp	x8, _IDC_COLOR_PREDEF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IDC_COLOR_PREDEF@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_GetDlgItem
	mov	x22, x0
	add	x1, sp, #8
	bl	_GetWindowRect
	ldr	x1, [sp, #24]
	add	x0, sp, #8
	bl	_PtInRect
	cbz	x0, LBB0_4
; %bb.1:
	ldp	w8, w9, [sp, #8]
	sub	w8, w8, w9
	ldp	w23, w24, [sp, #16]
	sdiv	w25, w8, w19
	add	x1, sp, #24
	mov	x0, x22
	bl	_ScreenToClient
	ldr	w8, [sp, #24]
	sdiv	w2, w8, w25
	msub	w9, w2, w25, w8
Lloh3:
	adrp	x8, _DISTANCE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DISTANCE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	sub	w10, w25, w8
	cmp	w9, w10
	b.ge	LBB0_4
; %bb.2:
	sub	w9, w23, w24
	sdiv	w9, w9, w20
	ldr	w10, [sp, #28]
	sdiv	w3, w10, w9
	msub	w10, w3, w9, w10
	sub	w8, w9, w8
	cmp	w10, w8
	b.ge	LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _predefcolors@GOTPAGE
Lloh7:
	ldr	x8, [x8, _predefcolors@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	x8, [x8, w3, sxtw #3]
	ldr	w8, [x8, w2, sxtw #2]
	ldr	x9, [x21]
	str	w8, [x9]
	mov	x0, x21
	mov	x1, x22
	mov	x4, x20
	mov	x5, x19
	bl	_CC_DrawFocusRect
Lloh9:
	adrp	x8, _TRUE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh11:
	adrp	x8, _FALSE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_IDC_COLOR_PREDEF,4,2           ; @IDC_COLOR_PREDEF
	.comm	_DISTANCE,4,2                   ; @DISTANCE
	.comm	_predefcolors,8,3               ; @predefcolors
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_CC_MouseCheckPredefColorArray
.subsections_via_symbols
