	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rgblight_decrease_hue          ## -- Begin function rgblight_decrease_hue
	.p2align	4, 0x90
_rgblight_decrease_hue:                 ## @rgblight_decrease_hue
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_rgblight_config@GOTPCREL(%rip), %rax
	movq	_RGBLIGHT_HUE_STEP@GOTPCREL(%rip), %rcx
	movl	(%rax), %esi
	movl	4(%rax), %edx
	subl	(%rcx), %esi
	leal	360(%rsi), %ecx
	testl	%esi, %esi
	cmovnsl	%esi, %ecx
	movslq	%ecx, %rdi
	imulq	$-1240768329, %rdi, %rcx        ## imm = 0xB60B60B7
	shrq	$32, %rcx
	addl	%edi, %ecx
	movl	%ecx, %esi
	shrl	$31, %esi
	sarl	$8, %ecx
	addl	%esi, %ecx
	imull	$360, %ecx, %ecx                ## imm = 0x168
	subl	%ecx, %edi
	movl	8(%rax), %esi
                                        ## kill: def $edi killed $edi killed $rdi
	popq	%rbp
	jmp	_rgblight_sethsv                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_rgblight_config,12,2           ## @rgblight_config
	.comm	_RGBLIGHT_HUE_STEP,4,2          ## @RGBLIGHT_HUE_STEP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rgblight_decrease_hue          ; -- Begin function rgblight_decrease_hue
	.p2align	2
_rgblight_decrease_hue:                 ; @rgblight_decrease_hue
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _rgblight_config@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rgblight_config@GOTPAGEOFF]
Lloh2:
	adrp	x9, _RGBLIGHT_HUE_STEP@GOTPAGE
Lloh3:
	ldr	x9, [x9, _RGBLIGHT_HUE_STEP@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	ldp	w10, w2, [x8]
	sub	w9, w10, w9
	add	w10, w9, #360
	cmp	w9, #0
	csel	w9, w10, w9, lt
	mov	w10, #24759
	movk	w10, #46603, lsl #16
	smull	x10, w9, w10
	lsr	x10, x10, #32
	add	w10, w10, w9
	asr	w11, w10, #8
	add	w10, w11, w10, lsr #31
	mov	w11, #360
	msub	w0, w10, w11, w9
	ldr	w1, [x8, #8]
	b	_rgblight_sethsv
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_rgblight_config,12,2           ; @rgblight_config
	.comm	_RGBLIGHT_HUE_STEP,4,2          ; @RGBLIGHT_HUE_STEP
.subsections_via_symbols
