	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_update_led_state_c             ## -- Begin function update_led_state_c
	.p2align	4, 0x90
_update_led_state_c:                    ## @update_led_state_c
	.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	_rgb@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jle	LBB0_1
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	movq	_td_state@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_SINGLE_HOLD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.10:
	movq	_HSV_BLUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_set_colors                     ## TAILCALL
LBB0_2:
	movq	_l_state@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	_S_ENGLISH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	_HSV_RED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%eax, %eax
	callq	_set_colors
	movq	(%rbx), %rax
LBB0_4:
	movq	_S_QRUSSIAN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	movq	_HSV_GREEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%eax, %eax
	callq	_set_colors
	movq	(%rbx), %rax
LBB0_6:
	movq	_S_COLEMAK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.7:
	movq	_HSV_YELLOW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%eax, %eax
	callq	_set_colors
	movq	(%rbx), %rax
LBB0_8:
	movq	_S_CRUSSIAN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.11:
	movl	$85, %edi
	movl	$100, %esi
	movl	$100, %edx
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_set_colors                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_rgb,8,3                        ## @rgb
	.comm	_td_state,8,3                   ## @td_state
	.comm	_SINGLE_HOLD,8,3                ## @SINGLE_HOLD
	.comm	_HSV_BLUE,4,2                   ## @HSV_BLUE
	.comm	_l_state,8,3                    ## @l_state
	.comm	_S_ENGLISH,8,3                  ## @S_ENGLISH
	.comm	_HSV_RED,4,2                    ## @HSV_RED
	.comm	_S_QRUSSIAN,8,3                 ## @S_QRUSSIAN
	.comm	_HSV_GREEN,4,2                  ## @HSV_GREEN
	.comm	_S_COLEMAK,8,3                  ## @S_COLEMAK
	.comm	_HSV_YELLOW,4,2                 ## @HSV_YELLOW
	.comm	_S_CRUSSIAN,8,3                 ## @S_CRUSSIAN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_update_led_state_c             ; -- Begin function update_led_state_c
	.p2align	2
_update_led_state_c:                    ; @update_led_state_c
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [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 w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _rgb@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rgb@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, #0
	b.le	LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_2:
Lloh3:
	adrp	x8, _td_state@GOTPAGE
Lloh4:
	ldr	x8, [x8, _td_state@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _SINGLE_HOLD@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SINGLE_HOLD@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, _HSV_BLUE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HSV_BLUE@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_set_colors
LBB0_4:
Lloh12:
	adrp	x19, _l_state@GOTPAGE
Lloh13:
	ldr	x19, [x19, _l_state@GOTPAGEOFF]
	ldr	x8, [x19]
Lloh14:
	adrp	x9, _S_ENGLISH@GOTPAGE
Lloh15:
	ldr	x9, [x9, _S_ENGLISH@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
Lloh17:
	adrp	x8, _HSV_RED@GOTPAGE
Lloh18:
	ldr	x8, [x8, _HSV_RED@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_set_colors
	ldr	x8, [x19]
LBB0_6:
Lloh20:
	adrp	x9, _S_QRUSSIAN@GOTPAGE
Lloh21:
	ldr	x9, [x9, _S_QRUSSIAN@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:
Lloh23:
	adrp	x8, _HSV_GREEN@GOTPAGE
Lloh24:
	ldr	x8, [x8, _HSV_GREEN@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	bl	_set_colors
	ldr	x8, [x19]
LBB0_8:
Lloh26:
	adrp	x9, _S_COLEMAK@GOTPAGE
Lloh27:
	ldr	x9, [x9, _S_COLEMAK@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.9:
Lloh29:
	adrp	x8, _HSV_YELLOW@GOTPAGE
Lloh30:
	ldr	x8, [x8, _HSV_YELLOW@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	bl	_set_colors
	ldr	x8, [x19]
LBB0_10:
Lloh32:
	adrp	x9, _S_CRUSSIAN@GOTPAGE
Lloh33:
	ldr	x9, [x9, _S_CRUSSIAN@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_1
; %bb.11:
	mov	w8, #100
	stp	x8, x8, [sp]
	mov	w0, #85
	bl	_set_colors
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_rgb,8,3                        ; @rgb
	.comm	_td_state,8,3                   ; @td_state
	.comm	_SINGLE_HOLD,8,3                ; @SINGLE_HOLD
	.comm	_HSV_BLUE,4,2                   ; @HSV_BLUE
	.comm	_l_state,8,3                    ; @l_state
	.comm	_S_ENGLISH,8,3                  ; @S_ENGLISH
	.comm	_HSV_RED,4,2                    ; @HSV_RED
	.comm	_S_QRUSSIAN,8,3                 ; @S_QRUSSIAN
	.comm	_HSV_GREEN,4,2                  ; @HSV_GREEN
	.comm	_S_COLEMAK,8,3                  ; @S_COLEMAK
	.comm	_HSV_YELLOW,4,2                 ; @HSV_YELLOW
	.comm	_S_CRUSSIAN,8,3                 ; @S_CRUSSIAN
.subsections_via_symbols
