	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_layer_state_set_user           ## -- Begin function layer_state_set_user
	.p2align	4, 0x90
_layer_state_set_user:                  ## @layer_state_set_user
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %r14d
	callq	_biton32
	xorl	%esi, %esi
	cmpl	$128, %eax
	movl	$255, %eax
	movq	_RGBLIGHT_MODE_STATIC_LIGHT@GOTPCREL(%rip), %rbx
	cmoveq	_RGBLIGHT_MODE_RAINBOW_SWIRL@GOTPCREL(%rip), %rbx
	cmovel	%eax, %esi
	xorl	%edi, %edi
	movl	$255, %edx
	callq	_rgblight_sethsv_noeeprom
	movl	(%rbx), %edi
	callq	_rgblight_mode_noeeprom
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RGBLIGHT_MODE_RAINBOW_SWIRL,4,2 ## @RGBLIGHT_MODE_RAINBOW_SWIRL
	.comm	_RGBLIGHT_MODE_STATIC_LIGHT,4,2 ## @RGBLIGHT_MODE_STATIC_LIGHT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_layer_state_set_user           ; -- Begin function layer_state_set_user
	.p2align	2
_layer_state_set_user:                  ; @layer_state_set_user
	.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
	mov	x19, x0
	bl	_biton32
	mov	w8, #255
	cmp	w0, #128
	csel	w1, w8, wzr, eq
Lloh0:
	adrp	x8, _RGBLIGHT_MODE_RAINBOW_SWIRL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RGBLIGHT_MODE_RAINBOW_SWIRL@GOTPAGEOFF]
Lloh2:
	adrp	x9, _RGBLIGHT_MODE_STATIC_LIGHT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _RGBLIGHT_MODE_STATIC_LIGHT@GOTPAGEOFF]
	csel	x20, x8, x9, eq
	mov	w0, #0
	mov	w2, #255
	bl	_rgblight_sethsv_noeeprom
	ldr	w0, [x20]
	bl	_rgblight_mode_noeeprom
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_RGBLIGHT_MODE_RAINBOW_SWIRL,4,2 ; @RGBLIGHT_MODE_RAINBOW_SWIRL
	.comm	_RGBLIGHT_MODE_STATIC_LIGHT,4,2 ; @RGBLIGHT_MODE_STATIC_LIGHT
.subsections_via_symbols
