	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CC_PaintCross
_CC_PaintCross:                         ## @CC_PaintCross
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movl	28(%rdi), %edi
	movq	_IDC_COLOR_GRAPH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetDlgItem
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_IsWindowVisible
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	xorl	%eax, %eax
	callq	_GetDialogBaseUnits
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_GetDialogBaseUnits
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%rax,2), %ecx
	leal	(%rax,%rax,2), %eax
	addl	$3, %eax
	testl	%ecx, %ecx
	cmovnsl	%ecx, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movslq	(%r13), %r15
	movslq	4(%r13), %r14
	leaq	-96(%rbp), %r12
	movl	%ebx, %edi
	movq	%r12, %rsi
	callq	_GetClientRect
	movl	%ebx, -68(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	callq	_GetDC
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_CreateRectRgnIndirect
	movl	%ebx, %r12d
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_SelectClipRgn
	imulq	-88(%rbp), %r15
	movq	_MAXHORI@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%r15, %rax
	orq	%rcx, %rax
	shrq	$32, %rax
	je	LBB0_2
## %bb.3:
	movq	%r15, %rax
	cqto
	idivq	%rcx
	movq	%rax, %r15
	jmp	LBB0_4
LBB0_2:
	movl	%r15d, %eax
	xorl	%edx, %edx
	divl	%ecx
	movl	%eax, %r15d
LBB0_4:
	movq	-96(%rbp), %rbx
	imulq	%rbx, %r14
	movq	_MAXVERT@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%r14, %rax
	orq	%rcx, %rax
	shrq	$32, %rax
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	je	LBB0_5
## %bb.6:
	movq	%r14, %rax
	cqto
	idivq	%rcx
	jmp	LBB0_7
LBB0_5:
	movl	%r14d, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
LBB0_7:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	leal	-1(%rdx), %edi
	sarl	$2, %esi
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	subq	%rax, %rbx
	movl	8(%r13), %esi
	movl	12(%r13), %ecx
	subl	%esi, %ecx
	je	LBB0_9
## %bb.8:
	movl	16(%r13), %edx
	movl	20(%r13), %r8d
	subl	%edx, %r8d
	movl	24(%r13), %r9d
	movq	_SRCCOPY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	movq	%rdi, %r14
	movl	%r12d, %edi
	pushq	%rax
	pushq	%rdx
	pushq	%rsi
	callq	_BitBlt
	movq	%r14, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	addq	$32, %rsp
LBB0_9:
	movl	%r12d, %r14d
	movl	%r15d, %r12d
	subl	%edi, %r12d
	leal	-1(%r12), %eax
	movl	%eax, 8(%r13)
	leal	(%rdi,%r15), %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	leal	(%rdx,%r15), %eax
	movl	%eax, 12(%r13)
	movl	%ebx, %eax
	subl	%edi, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	decl	%eax
	movl	%eax, 16(%r13)
	addl	%ebx, %edi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	addl	%ebx, %edx
	movl	%edx, 20(%r13)
	movq	_PS_SOLID@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_RGB
	movl	%r13d, %edi
	movl	$3, %esi
	movl	%eax, %edx
	callq	_CreatePen
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_SelectObject
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	leaq	-112(%rbp), %r13
	movl	%r14d, %edi
	movl	%r12d, %esi
	movl	%ebx, %edx
	movq	%r13, %rcx
	callq	_MoveToEx
	movl	%r15d, %esi
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	subl	%r12d, %esi
	movl	%r14d, %edi
	movl	%ebx, %edx
	callq	_LineTo
	leal	(%r12,%r15), %esi
	movl	%r14d, %edi
	movl	%ebx, %edx
	movq	%r13, %rcx
	callq	_MoveToEx
	movl	%r14d, %edi
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	movl	%ebx, %edx
	callq	_LineTo
	movl	%r14d, %edi
	movl	%r15d, %esi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movq	%r13, %rcx
	callq	_MoveToEx
	movl	%ebx, %edx
	subl	%r12d, %edx
	movl	%r14d, %edi
	movl	%r15d, %esi
	callq	_LineTo
	addl	%r12d, %ebx
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%ebx, %edx
	movq	%r13, %rcx
	callq	_MoveToEx
	movl	%r14d, %edi
	movl	%r15d, %esi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_LineTo
	movl	%r14d, %edi
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	callq	_SelectObject
	movl	%eax, %edi
	callq	_DeleteObject
	movl	-68(%rbp), %edi                 ## 4-byte Reload
	movl	%r14d, %esi
	callq	_ReleaseDC
LBB0_10:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IDC_COLOR_GRAPH,4,2            ## @IDC_COLOR_GRAPH
	.comm	_MAXHORI,8,3                    ## @MAXHORI
	.comm	_MAXVERT,8,3                    ## @MAXVERT
	.comm	_SRCCOPY,4,2                    ## @SRCCOPY
	.comm	_PS_SOLID,4,2                   ## @PS_SOLID
	.no_dead_strip	_CC_PaintCross
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CC_PaintCross
_CC_PaintCross:                         ; @CC_PaintCross
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x23, x0
	ldr	w0, [x0, #28]
Lloh0:
	adrp	x8, _IDC_COLOR_GRAPH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IDC_COLOR_GRAPH@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_GetDlgItem
	mov	x19, x0
	bl	_IsWindowVisible
	cbz	x0, LBB0_4
; %bb.1:
	bl	_GetDialogBaseUnits
	mov	x24, x0
	sub	w27, w0, #1
	bl	_GetDialogBaseUnits
	add	w8, w0, w0, lsl #1
	add	w9, w8, #3
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w25, w8, #2
	ldpsw	x21, x22, [x23]
	add	x1, sp, #32
	mov	x0, x19
	bl	_GetClientRect
	mov	x0, x19
	bl	_GetDC
	mov	x20, x0
	add	x0, sp, #32
	bl	_CreateRectRgnIndirect
	mov	x1, x0
	mov	x0, x20
	bl	_SelectClipRgn
Lloh3:
	adrp	x8, _MAXHORI@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXHORI@GOTPAGEOFF]
	ldp	x10, x9, [sp, #32]
	mul	x9, x9, x21
Lloh5:
	ldr	x8, [x8]
	mul	x11, x10, x22
Lloh6:
	adrp	x12, _MAXVERT@GOTPAGE
Lloh7:
	ldr	x12, [x12, _MAXVERT@GOTPAGEOFF]
Lloh8:
	ldr	x12, [x12]
	sdiv	x11, x11, x12
	sub	x22, x10, x11
	ldp	w1, w10, [x23, #8]
	sdiv	x21, x9, x8
	subs	w3, w10, w1
	b.eq	LBB0_3
; %bb.2:
	ldp	w2, w8, [x23, #16]
	sub	w4, w8, w2
	ldr	w5, [x23, #24]
Lloh9:
	adrp	x8, _SRCCOPY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SRCCOPY@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [sp]
	mov	x0, x20
	mov	x6, x1
	mov	x7, x2
	bl	_BitBlt
LBB0_3:
	sub	w28, w21, w27
	sub	w8, w28, #1
	add	w9, w27, w21
	str	w9, [sp, #12]                   ; 4-byte Folded Spill
	add	w9, w24, w21
	stp	w8, w9, [x23, #8]
	sub	w26, w22, w27
	sub	w8, w26, #1
	add	w27, w27, w22
	add	w9, w24, w22
	stp	w8, w9, [x23, #16]
Lloh12:
	adrp	x8, _PS_SOLID@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PS_SOLID@GOTPAGEOFF]
Lloh14:
	ldr	w23, [x8]
	mov	w0, #0
	mov	w1, #0
	mov	w2, #0
	bl	_RGB
	mov	x2, x0
	mov	x0, x23
	mov	w1, #3
	bl	_CreatePen
	mov	x1, x0
	mov	x0, x20
	bl	_SelectObject
	mov	x23, x0
	add	x3, sp, #16
	mov	x0, x20
	mov	x1, x28
	mov	x2, x22
	bl	_MoveToEx
	sub	w1, w21, w25
	mov	x0, x20
	mov	x2, x22
	bl	_LineTo
	add	w1, w25, w21
	add	x3, sp, #16
	mov	x0, x20
	mov	x2, x22
	bl	_MoveToEx
	mov	x0, x20
	ldr	w1, [sp, #12]                   ; 4-byte Folded Reload
	mov	x2, x22
	bl	_LineTo
	add	x3, sp, #16
	mov	x0, x20
	mov	x1, x21
	mov	x2, x26
	bl	_MoveToEx
	sub	w2, w22, w25
	mov	x0, x20
	mov	x1, x21
	bl	_LineTo
	add	w2, w25, w22
	add	x3, sp, #16
	mov	x0, x20
	mov	x1, x21
	bl	_MoveToEx
	mov	x0, x20
	mov	x1, x21
	mov	x2, x27
	bl	_LineTo
	mov	x0, x20
	mov	x1, x23
	bl	_SelectObject
	bl	_DeleteObject
	mov	x0, x19
	mov	x1, x20
	bl	_ReleaseDC
LBB0_4:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_IDC_COLOR_GRAPH,4,2            ; @IDC_COLOR_GRAPH
	.comm	_MAXHORI,8,3                    ; @MAXHORI
	.comm	_MAXVERT,8,3                    ; @MAXVERT
	.comm	_SRCCOPY,4,2                    ; @SRCCOPY
	.comm	_PS_SOLID,4,2                   ; @PS_SOLID
	.no_dead_strip	_CC_PaintCross
.subsections_via_symbols
