	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_led_cur_rgb_values
_update_led_cur_rgb_values:             ## @update_led_cur_rgb_values
	.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
	movq	_led_cur@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	(%rax), %rcx
	movq	_UNDERGLOW_SCAN_CODE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_2
## %bb.1:
	movq	_UNDERGLOW_R@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	24(%rax), %rax
	movq	%rcx, (%rax)
	movq	_UNDERGLOW_G@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx), %rcx
	movq	16(%rcx), %rcx
	movq	%rax, (%rcx)
	movq	_UNDERGLOW_B@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_3
LBB0_2:
	movq	_MAX_R@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MIN_R@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_calculate_new_color_component_value
	movq	(%rbx), %rcx
	movq	24(%rcx), %rcx
	movq	%rax, (%rcx)
	movq	_MAX_G@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MIN_G@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_calculate_new_color_component_value
	movq	(%rbx), %rcx
	movq	16(%rcx), %rcx
	movq	%rax, (%rcx)
	movq	_MAX_B@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MIN_B@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_calculate_new_color_component_value
LBB0_3:
	movq	(%rbx), %rcx
	movq	8(%rcx), %rcx
	movq	%rax, (%rcx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_led_cur,8,3                    ## @led_cur
	.comm	_UNDERGLOW_SCAN_CODE,8,3        ## @UNDERGLOW_SCAN_CODE
	.comm	_UNDERGLOW_R,8,3                ## @UNDERGLOW_R
	.comm	_UNDERGLOW_G,8,3                ## @UNDERGLOW_G
	.comm	_UNDERGLOW_B,8,3                ## @UNDERGLOW_B
	.comm	_MAX_R,4,2                      ## @MAX_R
	.comm	_MIN_R,4,2                      ## @MIN_R
	.comm	_MAX_G,4,2                      ## @MAX_G
	.comm	_MIN_G,4,2                      ## @MIN_G
	.comm	_MAX_B,4,2                      ## @MAX_B
	.comm	_MIN_B,4,2                      ## @MIN_B
	.no_dead_strip	_update_led_cur_rgb_values
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_led_cur_rgb_values
_update_led_cur_rgb_values:             ; @update_led_cur_rgb_values
	.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
Lloh0:
	adrp	x19, _led_cur@GOTPAGE
Lloh1:
	ldr	x19, [x19, _led_cur@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	x9, [x8]
Lloh2:
	adrp	x10, _UNDERGLOW_SCAN_CODE@GOTPAGE
Lloh3:
	ldr	x10, [x10, _UNDERGLOW_SCAN_CODE@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.1:
Lloh5:
	adrp	x9, _UNDERGLOW_R@GOTPAGE
Lloh6:
	ldr	x9, [x9, _UNDERGLOW_R@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ldr	x8, [x8, #24]
	str	x9, [x8]
Lloh8:
	adrp	x8, _UNDERGLOW_G@GOTPAGE
Lloh9:
	ldr	x8, [x8, _UNDERGLOW_G@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	x9, [x19]
	ldr	x9, [x9, #16]
	str	x8, [x9]
Lloh11:
	adrp	x8, _UNDERGLOW_B@GOTPAGE
Lloh12:
	ldr	x8, [x8, _UNDERGLOW_B@GOTPAGEOFF]
Lloh13:
	ldr	x0, [x8]
	b	LBB0_3
LBB0_2:
Lloh14:
	adrp	x8, _MAX_R@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MAX_R@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x8, _MIN_R@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MIN_R@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	bl	_calculate_new_color_component_value
	ldr	x8, [x19]
	ldr	x8, [x8, #24]
	str	x0, [x8]
Lloh20:
	adrp	x8, _MAX_G@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MAX_G@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x8, _MIN_G@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MIN_G@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	bl	_calculate_new_color_component_value
	ldr	x8, [x19]
	ldr	x8, [x8, #16]
	str	x0, [x8]
Lloh26:
	adrp	x8, _MAX_B@GOTPAGE
Lloh27:
	ldr	x8, [x8, _MAX_B@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
Lloh29:
	adrp	x8, _MIN_B@GOTPAGE
Lloh30:
	ldr	x8, [x8, _MIN_B@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	bl	_calculate_new_color_component_value
LBB0_3:
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	str	x0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_led_cur,8,3                    ; @led_cur
	.comm	_UNDERGLOW_SCAN_CODE,8,3        ; @UNDERGLOW_SCAN_CODE
	.comm	_UNDERGLOW_R,8,3                ; @UNDERGLOW_R
	.comm	_UNDERGLOW_G,8,3                ; @UNDERGLOW_G
	.comm	_UNDERGLOW_B,8,3                ; @UNDERGLOW_B
	.comm	_MAX_R,4,2                      ; @MAX_R
	.comm	_MIN_R,4,2                      ; @MIN_R
	.comm	_MAX_G,4,2                      ; @MAX_G
	.comm	_MIN_G,4,2                      ; @MIN_G
	.comm	_MAX_B,4,2                      ; @MAX_B
	.comm	_MIN_B,4,2                      ; @MIN_B
	.no_dead_strip	_update_led_cur_rgb_values
.subsections_via_symbols
