	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_update_led                     ## -- Begin function update_led
	.p2align	4, 0x90
_update_led:                            ## @update_led
	.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	_layer_state@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_biton32
	addl	$-128, %eax
	cmpl	$2, %eax
	ja	LBB0_2
## %bb.1:
	cltq
	leaq	l_switch.table.update_led(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	movl	(%rax), %edi
	callq	_rgblight_sethsv_noeeprom
LBB0_2:
	movq	_USB_LED_CAPS_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IS_HOST_LED_ON
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	_HSV_WHITE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_rgblight_sethsv_range
	movl	(%rbx), %edi
	movl	$12, %esi
	movl	$16, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_rgblight_sethsv_range          ## TAILCALL
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_layer_state,4,2                ## @layer_state
	.comm	_HSV_BLUE,4,2                   ## @HSV_BLUE
	.comm	_HSV_CORAL,4,2                  ## @HSV_CORAL
	.comm	_HSV_MAGENTA,4,2                ## @HSV_MAGENTA
	.comm	_USB_LED_CAPS_LOCK,4,2          ## @USB_LED_CAPS_LOCK
	.comm	_HSV_WHITE,4,2                  ## @HSV_WHITE
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.update_led
l_switch.table.update_led:
	.quad	_HSV_MAGENTA
	.quad	_HSV_CORAL
	.quad	_HSV_BLUE

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_update_led                     ; -- Begin function update_led
	.p2align	2
_update_led:                            ; @update_led
	.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	x8, _layer_state@GOTPAGE
Lloh1:
	ldr	x8, [x8, _layer_state@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_biton32
	sub	w8, w0, #128
	cmp	w8, #2
	b.hi	LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, l_switch.table.update_led@PAGE
Lloh4:
	add	x9, x9, l_switch.table.update_led@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	ldr	w0, [x8]
	bl	_rgblight_sethsv_noeeprom
LBB0_2:
Lloh5:
	adrp	x8, _USB_LED_CAPS_LOCK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _USB_LED_CAPS_LOCK@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_IS_HOST_LED_ON
	cbz	x0, LBB0_4
; %bb.3:
Lloh8:
	adrp	x19, _HSV_WHITE@GOTPAGE
Lloh9:
	ldr	x19, [x19, _HSV_WHITE@GOTPAGEOFF]
	ldr	w0, [x19]
	mov	w1, #0
	mov	w2, #4
	bl	_rgblight_sethsv_range
	ldr	w0, [x19]
	mov	w1, #12
	mov	w2, #16
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rgblight_sethsv_range
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_layer_state,4,2                ; @layer_state
	.comm	_HSV_BLUE,4,2                   ; @HSV_BLUE
	.comm	_HSV_CORAL,4,2                  ; @HSV_CORAL
	.comm	_HSV_MAGENTA,4,2                ; @HSV_MAGENTA
	.comm	_USB_LED_CAPS_LOCK,4,2          ; @USB_LED_CAPS_LOCK
	.comm	_HSV_WHITE,4,2                  ; @HSV_WHITE
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.update_led
l_switch.table.update_led:
	.quad	_HSV_MAGENTA
	.quad	_HSV_CORAL
	.quad	_HSV_BLUE

.subsections_via_symbols
