	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CC_EditSetRGB
_CC_EditSetRGB:                         ## @CC_EditSetRGB
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movl	4(%rdi), %edi
	movq	_IDC_COLOR_GRAPH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetDlgItem
	movl	%eax, %edi
	callq	_IsWindowVisible
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	8(%r15), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_GetRValue
	movl	%eax, %r12d
	movl	%ebx, %edi
	callq	_GetGValue
	movl	%eax, %r13d
	movl	%ebx, %edi
	callq	_GetBValue
	movl	%eax, %r14d
	movq	_TRUE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	movl	%eax, (%r15)
	movl	4(%r15), %edi
	movq	_IDC_COLOR_EDIT_R@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %ecx
	movl	%r12d, %edx
	callq	_SetDlgItemInt
	movl	4(%r15), %edi
	movq	_IDC_COLOR_EDIT_G@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %ecx
	movl	%r13d, %edx
	callq	_SetDlgItemInt
	movl	4(%r15), %edi
	movq	_IDC_COLOR_EDIT_B@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %ecx
	movl	%r14d, %edx
	callq	_SetDlgItemInt
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
LBB0_2:
	addq	$8, %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	_TRUE,4,2                       ## @TRUE
	.comm	_IDC_COLOR_EDIT_R,4,2           ## @IDC_COLOR_EDIT_R
	.comm	_IDC_COLOR_EDIT_G,4,2           ## @IDC_COLOR_EDIT_G
	.comm	_IDC_COLOR_EDIT_B,4,2           ## @IDC_COLOR_EDIT_B
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_CC_EditSetRGB
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CC_EditSetRGB
_CC_EditSetRGB:                         ; @CC_EditSetRGB
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldr	w0, [x0, #4]
Lloh0:
	adrp	x8, _IDC_COLOR_GRAPH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IDC_COLOR_GRAPH@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_GetDlgItem
	bl	_IsWindowVisible
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
	ldr	w20, [x8]
	mov	x0, x20
	bl	_GetRValue
	mov	x21, x0
	mov	x0, x20
	bl	_GetGValue
	mov	x22, x0
	mov	x0, x20
	bl	_GetBValue
	mov	x20, x0
Lloh3:
	adrp	x23, _TRUE@GOTPAGE
Lloh4:
	ldr	x23, [x23, _TRUE@GOTPAGEOFF]
	ldr	w8, [x23]
	str	w8, [x19]
	ldr	w0, [x19, #4]
Lloh5:
	adrp	x8, _IDC_COLOR_EDIT_R@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IDC_COLOR_EDIT_R@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	ldr	w3, [x23]
	mov	x2, x21
	bl	_SetDlgItemInt
	ldr	w0, [x19, #4]
Lloh8:
	adrp	x8, _IDC_COLOR_EDIT_G@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IDC_COLOR_EDIT_G@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	ldr	w3, [x23]
	mov	x2, x22
	bl	_SetDlgItemInt
	ldr	w0, [x19, #4]
Lloh11:
	adrp	x8, _IDC_COLOR_EDIT_B@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IDC_COLOR_EDIT_B@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	ldr	w3, [x23]
	mov	x2, x20
	bl	_SetDlgItemInt
Lloh14:
	adrp	x8, _FALSE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_IDC_COLOR_GRAPH,4,2            ; @IDC_COLOR_GRAPH
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_IDC_COLOR_EDIT_R,4,2           ; @IDC_COLOR_EDIT_R
	.comm	_IDC_COLOR_EDIT_G,4,2           ; @IDC_COLOR_EDIT_G
	.comm	_IDC_COLOR_EDIT_B,4,2           ; @IDC_COLOR_EDIT_B
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_CC_EditSetRGB
.subsections_via_symbols
