	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function rgbflag
LCPI0_0:
	.long	0x3b800000                      ## float 0.00390625
LCPI0_1:
	.long	0x3d4ccccd                      ## float 0.0500000007
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_rgbflag
	.p2align	4, 0x90
_rgbflag:                               ## @rgbflag
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movss	%xmm2, -12(%rbp)                ## 4-byte Spill
	movss	%xmm1, -8(%rbp)                 ## 4-byte Spill
	movss	%xmm0, -4(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	callq	_rgblight_get_val
	xorps	%xmm1, %xmm1
	cvtsi2ss	%rax, %xmm1
	mulss	LCPI0_0(%rip), %xmm1
	xorps	%xmm0, %xmm0
	cmpeqss	%xmm1, %xmm0
	movss	LCPI0_1(%rip), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	andps	%xmm0, %xmm2
	andnps	%xmm1, %xmm0
	orps	%xmm2, %xmm0
	movq	_user_rgb_mode@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	_led@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_shadowed_led@GOTPCREL(%rip), %rax
LBB0_3:
	movq	(%rax), %rax
	movss	-4(%rbp), %xmm1                 ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm1
	movss	%xmm1, (%rax)
	movss	-8(%rbp), %xmm1                 ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm1
	movss	%xmm1, 4(%rax)
	movss	-12(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm1
	movss	%xmm1, 8(%rax)
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbp
	jmp	_rgblight_set                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_user_rgb_mode,8,3              ## @user_rgb_mode
	.comm	_shadowed_led,8,3               ## @shadowed_led
	.comm	_led,8,3                        ## @led
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rgbflag                        ; -- Begin function rgbflag
	.p2align	2
_rgbflag:                               ; @rgbflag
	.cfi_startproc
; %bb.0:
	stp	d11, d10, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset b8, -24
	.cfi_offset b9, -32
	.cfi_offset b10, -40
	.cfi_offset b11, -48
	fmov	s8, s2
	fmov	s9, s1
	fmov	s10, s0
	bl	_rgblight_get_val
	scvtf	s0, x0
	mov	w8, #998244352
	fmov	s1, w8
	fmul	s0, s0, s1
	fcmp	s0, #0.0
	mov	w8, #52429
	movk	w8, #15692, lsl #16
	fmov	s1, w8
	fcsel	s0, s1, s0, eq
Lloh0:
	adrp	x8, _user_rgb_mode@GOTPAGE
Lloh1:
	ldr	x8, [x8, _user_rgb_mode@GOTPAGEOFF]
Lloh2:
	adrp	x9, _shadowed_led@GOTPAGE
Lloh3:
	ldr	x9, [x9, _shadowed_led@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x10, _led@GOTPAGE
Lloh6:
	ldr	x10, [x10, _led@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x10, x9, eq
	ldr	x8, [x8]
	fmul	s1, s0, s10
	fmul	s2, s0, s9
	stp	s1, s2, [x8]
	fmul	s0, s0, s8
	str	s0, [x8, #8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp], #48             ; 16-byte Folded Reload
	b	_rgblight_set
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_user_rgb_mode,8,3              ; @user_rgb_mode
	.comm	_shadowed_led,8,3               ; @shadowed_led
	.comm	_led,8,3                        ; @led
.subsections_via_symbols
