	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CC_PaintLumBar
_CC_PaintLumBar:                        ## @CC_PaintLumBar
	.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
	movq	%rdi, %r12
	movl	8(%rdi), %edi
	movq	_IDC_COLOR_LUMBAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetDlgItem
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_IsWindowVisible
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movl	%ebx, %edi
	callq	_GetDC
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	leaq	-72(%rbp), %rsi
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	callq	_GetClientRect
	movq	-72(%rbp), %rsi
	movq	%rsi, -48(%rbp)
	movq	_YSTEPS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%ebx, %ebx
	movl	$240, %eax
	xorl	%edx, %edx
	idivl	%ecx
	movl	%eax, %edi
	movl	%esi, %eax
	cltd
	idivl	%ecx
	movl	%edi, -52(%rbp)                 ## 4-byte Spill
	cmpl	$-239, %edi
	jl	LBB0_4
## %bb.2:
	movl	%eax, %r14d
	notl	%r14d
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %r13d
	negl	%r13d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	addl	%r14d, %esi
	xorl	%edi, %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_max
	movl	%eax, -44(%rbp)
	movl	(%r12), %esi
	movl	4(%r12), %edi
	movl	%ebx, %edx
	callq	_CC_HSLtoRGB
	movl	%eax, %edi
	callq	_CreateSolidBrush
	movl	%eax, %r15d
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	leaq	-48(%rbp), %rsi
	movl	%eax, %edx
	callq	_FillRect
	movl	%r15d, %edi
	callq	_DeleteObject
	movl	-44(%rbp), %esi
	movl	%esi, -48(%rbp)
	addl	-52(%rbp), %ebx                 ## 4-byte Folded Reload
	leal	(%rbx,%r13), %eax
	cmpl	$240, %eax
	jl	LBB0_3
LBB0_4:
	leaq	-48(%rbp), %r14
	movl	-60(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %edi
	movq	%r14, %rsi
	callq	_GetClientRect
	movq	_BDR_SUNKENOUTER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_BF_RECT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	movq	%r14, %rsi
	callq	_DrawEdge
	movl	%r15d, %edi
	movl	%ebx, %esi
	callq	_ReleaseDC
LBB0_5:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IDC_COLOR_LUMBAR,4,2           ## @IDC_COLOR_LUMBAR
	.comm	_YSTEPS,4,2                     ## @YSTEPS
	.comm	_BDR_SUNKENOUTER,4,2            ## @BDR_SUNKENOUTER
	.comm	_BF_RECT,4,2                    ## @BF_RECT
	.no_dead_strip	_CC_PaintLumBar
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CC_PaintLumBar
_CC_PaintLumBar:                        ; @CC_PaintLumBar
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x0
	ldr	w0, [x0, #8]
Lloh0:
	adrp	x8, _IDC_COLOR_LUMBAR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IDC_COLOR_LUMBAR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_GetDlgItem
	mov	x19, x0
	bl	_IsWindowVisible
	cbz	x0, LBB0_5
; %bb.1:
	mov	x0, x19
	bl	_GetDC
	mov	x21, x0
	mov	x1, sp
	mov	x0, x19
	bl	_GetClientRect
	ldr	x8, [sp]
	str	x8, [sp, #8]
Lloh3:
	adrp	x9, _YSTEPS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _YSTEPS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	mov	w10, #240
	sdiv	w24, w10, w9
	cmn	w24, #239
	b.lt	LBB0_4
; %bb.2:
	mov	w22, #0
	sdiv	w9, w8, w9
	mvn	w25, w9
	neg	w26, w24
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	w1, w8, w25
	mov	w0, #0
	bl	_max
	str	w0, [sp, #12]
	ldp	w1, w0, [x20]
	mov	x2, x22
	bl	_CC_HSLtoRGB
	bl	_CreateSolidBrush
	mov	x23, x0
	add	x1, sp, #8
	mov	x0, x21
	mov	x2, x23
	bl	_FillRect
	mov	x0, x23
	bl	_DeleteObject
	ldr	w8, [sp, #12]
	str	w8, [sp, #8]
	add	w22, w22, w24
	add	w9, w26, w22
	cmp	w9, #240
	b.lt	LBB0_3
LBB0_4:
	add	x1, sp, #8
	mov	x0, x19
	bl	_GetClientRect
Lloh6:
	adrp	x8, _BDR_SUNKENOUTER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BDR_SUNKENOUTER@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _BF_RECT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BF_RECT@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	add	x1, sp, #8
	mov	x0, x21
	bl	_DrawEdge
	mov	x0, x19
	mov	x1, x21
	bl	_ReleaseDC
LBB0_5:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_IDC_COLOR_LUMBAR,4,2           ; @IDC_COLOR_LUMBAR
	.comm	_YSTEPS,4,2                     ; @YSTEPS
	.comm	_BDR_SUNKENOUTER,4,2            ; @BDR_SUNKENOUTER
	.comm	_BF_RECT,4,2                    ; @BF_RECT
	.no_dead_strip	_CC_PaintLumBar
.subsections_via_symbols
