	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_read_host_led_state            ## -- Begin function read_host_led_state
	.p2align	4, 0x90
_read_host_led_state:                   ## @read_host_led_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	xorl	%eax, %eax
	callq	_host_keyboard_leds
	movq	_USB_LED_NUM_LOCK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	btl	%ecx, %eax
	leaq	L_.str.1(%rip), %r14
	leaq	L_.str(%rip), %rsi
	cmovaeq	%r14, %rsi
	leaq	_read_host_led_state.led_str(%rip), %rbx
	movq	%rbx, %rdi
	callq	_strcpy
	xorl	%eax, %eax
	callq	_host_keyboard_leds
	movq	_USB_LED_CAPS_LOCK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	btl	%ecx, %eax
	leaq	L_.str.2(%rip), %rsi
	cmovaeq	%r14, %rsi
	movq	%rbx, %rdi
	callq	_strcat
	xorl	%eax, %eax
	callq	_host_keyboard_leds
	movq	_USB_LED_SCROLL_LOCK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	btl	%ecx, %eax
	leaq	L_.str.4(%rip), %rax
	leaq	L_.str.3(%rip), %rsi
	cmovaeq	%rax, %rsi
	movq	%rbx, %rdi
	callq	_strcat
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_read_host_led_state.led_str,24,4 ## @read_host_led_state.led_str
	.comm	_USB_LED_NUM_LOCK,4,2           ## @USB_LED_NUM_LOCK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NMLK"

L_.str.1:                               ## @.str.1
	.asciz	"    "

	.comm	_USB_LED_CAPS_LOCK,4,2          ## @USB_LED_CAPS_LOCK
L_.str.2:                               ## @.str.2
	.asciz	" CAPS"

	.comm	_USB_LED_SCROLL_LOCK,4,2        ## @USB_LED_SCROLL_LOCK
L_.str.3:                               ## @.str.3
	.asciz	" SCLK"

L_.str.4:                               ## @.str.4
	.asciz	"     "

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_read_host_led_state            ; -- Begin function read_host_led_state
	.p2align	2
_read_host_led_state:                   ; @read_host_led_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	_host_keyboard_leds
Lloh0:
	adrp	x8, _USB_LED_NUM_LOCK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _USB_LED_NUM_LOCK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	lsr	w8, w0, w8
Lloh3:
	adrp	x9, l_.str@PAGE
Lloh4:
	add	x9, x9, l_.str@PAGEOFF
Lloh5:
	adrp	x20, l_.str.1@PAGE
Lloh6:
	add	x20, x20, l_.str.1@PAGEOFF
	tst	w8, #0x1
	csel	x1, x20, x9, eq
Lloh7:
	adrp	x19, _read_host_led_state.led_str@PAGE
Lloh8:
	add	x19, x19, _read_host_led_state.led_str@PAGEOFF
	mov	x0, x19
	bl	_strcpy
	bl	_host_keyboard_leds
Lloh9:
	adrp	x8, _USB_LED_CAPS_LOCK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _USB_LED_CAPS_LOCK@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	lsr	w8, w0, w8
Lloh12:
	adrp	x9, l_.str.2@PAGE
Lloh13:
	add	x9, x9, l_.str.2@PAGEOFF
	tst	w8, #0x1
	csel	x1, x20, x9, eq
	mov	x0, x19
	bl	_strcat
	bl	_host_keyboard_leds
Lloh14:
	adrp	x8, _USB_LED_SCROLL_LOCK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _USB_LED_SCROLL_LOCK@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	lsr	w8, w0, w8
Lloh17:
	adrp	x9, l_.str.3@PAGE
Lloh18:
	add	x9, x9, l_.str.3@PAGEOFF
Lloh19:
	adrp	x10, l_.str.4@PAGE
Lloh20:
	add	x10, x10, l_.str.4@PAGEOFF
	tst	w8, #0x1
	csel	x1, x10, x9, eq
	mov	x0, x19
	bl	_strcat
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_read_host_led_state.led_str,24,0 ; @read_host_led_state.led_str
	.comm	_USB_LED_NUM_LOCK,4,2           ; @USB_LED_NUM_LOCK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NMLK"

l_.str.1:                               ; @.str.1
	.asciz	"    "

	.comm	_USB_LED_CAPS_LOCK,4,2          ; @USB_LED_CAPS_LOCK
l_.str.2:                               ; @.str.2
	.asciz	" CAPS"

	.comm	_USB_LED_SCROLL_LOCK,4,2        ; @USB_LED_SCROLL_LOCK
l_.str.3:                               ; @.str.3
	.asciz	" SCLK"

l_.str.4:                               ; @.str.4
	.asciz	"     "

.subsections_via_symbols
