	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_led_state_string
_get_led_state_string:                  ## @get_led_state_string
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	(%rsi), %eax
	movq	_USB_LED_NUM_LOCK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	btl	%ecx, %eax
	jae	LBB0_1
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movl	$4, %ebx
	movq	%r14, %rdi
	movl	$4, %edx
	callq	_memcpy
	movl	(%r15), %eax
	jmp	LBB0_3
LBB0_1:
	xorl	%ebx, %ebx
LBB0_3:
	movq	_USB_LED_CAPS_LOCK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	btl	%ecx, %eax
	jae	LBB0_5
## %bb.4:
	movl	%ebx, %edi
	addq	%r14, %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	$5, %edx
	callq	_memcpy
	addl	$5, %ebx
	movl	(%r15), %eax
LBB0_5:
	movq	_USB_LED_SCROLL_LOCK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	btl	%ecx, %eax
	jae	LBB0_7
## %bb.6:
	movl	%ebx, %edi
	addq	%r14, %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	$5, %edx
	callq	_memcpy
	addl	$5, %ebx
	movl	(%r15), %eax
LBB0_7:
	movq	_USB_LED_COMPOSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	btl	%ecx, %eax
	jae	LBB0_9
## %bb.8:
	movl	%ebx, %edi
	addq	%r14, %rdi
	leaq	L_.str.3(%rip), %rsi
	movl	$5, %edx
	callq	_memcpy
	addl	$5, %ebx
	movl	(%r15), %eax
LBB0_9:
	movq	_USB_LED_KANA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	btl	%ecx, %eax
	jae	LBB0_11
## %bb.10:
	movl	%ebx, %edi
	addq	%r14, %rdi
	leaq	L_.str.4(%rip), %rsi
	movl	$4, %edx
	callq	_memcpy
	addl	$4, %ebx
LBB0_11:
	movl	%ebx, %eax
	movb	$0, (%r14,%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_USB_LED_NUM_LOCK,4,2           ## @USB_LED_NUM_LOCK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NUM "

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

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

	.comm	_USB_LED_COMPOSE,4,2            ## @USB_LED_COMPOSE
L_.str.3:                               ## @.str.3
	.asciz	"COMP "

	.comm	_USB_LED_KANA,4,2               ## @USB_LED_KANA
L_.str.4:                               ## @.str.4
	.asciz	"KANA"

	.no_dead_strip	_get_led_state_string
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_led_state_string
_get_led_state_string:                  ; @get_led_state_string
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _USB_LED_NUM_LOCK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _USB_LED_NUM_LOCK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	lsr	w9, w8, w9
	tbz	w9, #0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w21, #4
	mov	x0, x19
	mov	w2, #4
	bl	_memcpy
	ldr	w8, [x20]
	b	LBB0_3
LBB0_2:
	mov	w21, #0
LBB0_3:
Lloh5:
	adrp	x9, _USB_LED_CAPS_LOCK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _USB_LED_CAPS_LOCK@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	lsr	w9, w8, w9
	tbz	w9, #0, LBB0_5
; %bb.4:
	add	x0, x19, w21, uxtw
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #5
	bl	_memcpy
	add	w21, w21, #5
	ldr	w8, [x20]
LBB0_5:
Lloh10:
	adrp	x9, _USB_LED_SCROLL_LOCK@GOTPAGE
Lloh11:
	ldr	x9, [x9, _USB_LED_SCROLL_LOCK@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	lsr	w9, w8, w9
	tbz	w9, #0, LBB0_7
; %bb.6:
	add	x0, x19, w21, uxtw
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w2, #5
	bl	_memcpy
	add	w21, w21, #5
	ldr	w8, [x20]
LBB0_7:
Lloh15:
	adrp	x9, _USB_LED_COMPOSE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _USB_LED_COMPOSE@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	lsr	w9, w8, w9
	tbz	w9, #0, LBB0_9
; %bb.8:
	add	x0, x19, w21, uxtw
Lloh18:
	adrp	x1, l_.str.3@PAGE
Lloh19:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w2, #5
	bl	_memcpy
	add	w21, w21, #5
	ldr	w8, [x20]
LBB0_9:
Lloh20:
	adrp	x9, _USB_LED_KANA@GOTPAGE
Lloh21:
	ldr	x9, [x9, _USB_LED_KANA@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	lsr	w8, w8, w9
	tbz	w8, #0, LBB0_11
; %bb.10:
	add	x0, x19, w21, uxtw
Lloh23:
	adrp	x1, l_.str.4@PAGE
Lloh24:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w2, #4
	bl	_memcpy
	add	w21, w21, #4
LBB0_11:
	strb	wzr, [x19, w21, uxtw]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_USB_LED_NUM_LOCK,4,2           ; @USB_LED_NUM_LOCK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NUM "

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

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

	.comm	_USB_LED_COMPOSE,4,2            ; @USB_LED_COMPOSE
l_.str.3:                               ; @.str.3
	.asciz	"COMP "

	.comm	_USB_LED_KANA,4,2               ; @USB_LED_KANA
l_.str.4:                               ; @.str.4
	.asciz	"KANA"

	.no_dead_strip	_get_led_state_string
.subsections_via_symbols
