	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_backlight_update_state         ## -- Begin function backlight_update_state
	.p2align	4, 0x90
_backlight_update_state:                ## @backlight_update_state
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_cli
	movq	_backlight_state_led@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	movq	_STATE_LED_SCROLL_LOCK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	btl	%ecx, %eax
	movl	$255, %r14d
	movl	$255, %edi
	cmovael	%ebx, %edi
	movq	_STATE_LED_CAPS_LOCK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	btl	%ecx, %eax
	movl	$255, %esi
	cmovael	%ebx, %esi
	movq	_STATE_LED_NUM_LOCK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	btl	%ecx, %eax
	movl	$255, %edx
	cmovael	%ebx, %edx
	movq	_Device_STATUSLED@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	callq	_send_color
	movl	(%r15), %eax
	movq	_STATE_LED_LAYER_1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	btl	%ecx, %eax
	movl	$255, %edi
	cmovael	%ebx, %edi
	movq	_STATE_LED_LAYER_2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	btl	%ecx, %eax
	movl	$255, %esi
	cmovael	%ebx, %esi
	movq	_STATE_LED_LAYER_0@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	btl	%ecx, %eax
	movl	$255, %edx
	cmovael	%ebx, %edx
	movl	(%r12), %ecx
	callq	_send_color
	movl	(%r15), %eax
	movq	_STATE_LED_LAYER_4@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	btl	%ecx, %eax
	movl	$255, %edi
	cmovael	%ebx, %edi
	movq	_STATE_LED_LAYER_3@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	btl	%ecx, %eax
	cmovael	%ebx, %r14d
	movl	(%r12), %ecx
	movl	%r14d, %esi
	xorl	%edx, %edx
	callq	_send_color
	xorl	%eax, %eax
	callq	_sei
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_show                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_backlight_state_led,4,2        ## @backlight_state_led
	.comm	_STATE_LED_SCROLL_LOCK,4,2      ## @STATE_LED_SCROLL_LOCK
	.comm	_STATE_LED_CAPS_LOCK,4,2        ## @STATE_LED_CAPS_LOCK
	.comm	_STATE_LED_NUM_LOCK,4,2         ## @STATE_LED_NUM_LOCK
	.comm	_Device_STATUSLED,4,2           ## @Device_STATUSLED
	.comm	_STATE_LED_LAYER_1,4,2          ## @STATE_LED_LAYER_1
	.comm	_STATE_LED_LAYER_2,4,2          ## @STATE_LED_LAYER_2
	.comm	_STATE_LED_LAYER_0,4,2          ## @STATE_LED_LAYER_0
	.comm	_STATE_LED_LAYER_4,4,2          ## @STATE_LED_LAYER_4
	.comm	_STATE_LED_LAYER_3,4,2          ## @STATE_LED_LAYER_3
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_backlight_update_state         ; -- Begin function backlight_update_state
	.p2align	2
_backlight_update_state:                ; @backlight_update_state
	.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
	bl	_cli
Lloh0:
	adrp	x19, _backlight_state_led@GOTPAGE
Lloh1:
	ldr	x19, [x19, _backlight_state_led@GOTPAGEOFF]
	ldr	w8, [x19]
Lloh2:
	adrp	x9, _STATE_LED_SCROLL_LOCK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _STATE_LED_SCROLL_LOCK@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	lsr	w9, w8, w9
	sbfx	w9, w9, #0, #1
	and	w0, w9, #0xff
Lloh5:
	adrp	x9, _STATE_LED_CAPS_LOCK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _STATE_LED_CAPS_LOCK@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	lsr	w9, w8, w9
	sbfx	w9, w9, #0, #1
	and	w1, w9, #0xff
Lloh8:
	adrp	x9, _STATE_LED_NUM_LOCK@GOTPAGE
Lloh9:
	ldr	x9, [x9, _STATE_LED_NUM_LOCK@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	lsr	w8, w8, w9
	sbfx	w8, w8, #0, #1
	and	w2, w8, #0xff
Lloh11:
	adrp	x20, _Device_STATUSLED@GOTPAGE
Lloh12:
	ldr	x20, [x20, _Device_STATUSLED@GOTPAGEOFF]
	ldr	w3, [x20]
	bl	_send_color
Lloh13:
	adrp	x8, _STATE_LED_LAYER_1@GOTPAGE
Lloh14:
	ldr	x8, [x8, _STATE_LED_LAYER_1@GOTPAGEOFF]
	ldr	w9, [x19]
Lloh15:
	ldr	w8, [x8]
	lsr	w8, w9, w8
	sbfx	w8, w8, #0, #1
Lloh16:
	adrp	x10, _STATE_LED_LAYER_2@GOTPAGE
Lloh17:
	ldr	x10, [x10, _STATE_LED_LAYER_2@GOTPAGEOFF]
	and	w0, w8, #0xff
Lloh18:
	ldr	w8, [x10]
	lsr	w8, w9, w8
	sbfx	w8, w8, #0, #1
Lloh19:
	adrp	x10, _STATE_LED_LAYER_0@GOTPAGE
Lloh20:
	ldr	x10, [x10, _STATE_LED_LAYER_0@GOTPAGEOFF]
	and	w1, w8, #0xff
Lloh21:
	ldr	w8, [x10]
	lsr	w8, w9, w8
	sbfx	w8, w8, #0, #1
	and	w2, w8, #0xff
	ldr	w3, [x20]
	bl	_send_color
Lloh22:
	adrp	x8, _STATE_LED_LAYER_4@GOTPAGE
Lloh23:
	ldr	x8, [x8, _STATE_LED_LAYER_4@GOTPAGEOFF]
	ldr	w9, [x19]
Lloh24:
	ldr	w8, [x8]
	lsr	w8, w9, w8
	sbfx	w8, w8, #0, #1
Lloh25:
	adrp	x10, _STATE_LED_LAYER_3@GOTPAGE
Lloh26:
	ldr	x10, [x10, _STATE_LED_LAYER_3@GOTPAGEOFF]
	and	w0, w8, #0xff
Lloh27:
	ldr	w8, [x10]
	lsr	w8, w9, w8
	sbfx	w8, w8, #0, #1
	and	w1, w8, #0xff
	ldr	w3, [x20]
	mov	w2, #0
	bl	_send_color
	bl	_sei
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_show
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_backlight_state_led,4,2        ; @backlight_state_led
	.comm	_STATE_LED_SCROLL_LOCK,4,2      ; @STATE_LED_SCROLL_LOCK
	.comm	_STATE_LED_CAPS_LOCK,4,2        ; @STATE_LED_CAPS_LOCK
	.comm	_STATE_LED_NUM_LOCK,4,2         ; @STATE_LED_NUM_LOCK
	.comm	_Device_STATUSLED,4,2           ; @Device_STATUSLED
	.comm	_STATE_LED_LAYER_1,4,2          ; @STATE_LED_LAYER_1
	.comm	_STATE_LED_LAYER_2,4,2          ; @STATE_LED_LAYER_2
	.comm	_STATE_LED_LAYER_0,4,2          ; @STATE_LED_LAYER_0
	.comm	_STATE_LED_LAYER_4,4,2          ; @STATE_LED_LAYER_4
	.comm	_STATE_LED_LAYER_3,4,2          ; @STATE_LED_LAYER_3
.subsections_via_symbols
