	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_led_set_kb                     ## -- Begin function led_set_kb
	.p2align	4, 0x90
_led_set_kb:                            ## @led_set_kb
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_USB_LED_NUM_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ecx, %ecx
	btl	%eax, %edi
	setb	%cl
	movq	_PORTD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	$-29, %edx
	leal	(%rdx,%rcx,4), %ecx
	movq	_USB_LED_CAPS_LOCK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	xorl	%esi, %esi
	btl	%edx, %edi
	setb	%sil
	leal	(%rcx,%rsi,8), %ecx
	movq	_USB_LED_SCROLL_LOCK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	xorl	%esi, %esi
	btl	%edx, %edi
	setb	%sil
	shll	$4, %esi
	orl	%ecx, %esi
	movl	%esi, (%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_USB_LED_NUM_LOCK,4,2           ## @USB_LED_NUM_LOCK
	.comm	_PORTD,4,2                      ## @PORTD
	.comm	_USB_LED_CAPS_LOCK,4,2          ## @USB_LED_CAPS_LOCK
	.comm	_USB_LED_SCROLL_LOCK,4,2        ## @USB_LED_SCROLL_LOCK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_led_set_kb                     ; -- Begin function led_set_kb
	.p2align	2
_led_set_kb:                            ; @led_set_kb
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _USB_LED_NUM_LOCK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _USB_LED_NUM_LOCK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _PORTD@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PORTD@GOTPAGEOFF]
	ldr	w10, [x9]
	and	w10, w10, #0xffffffe3
	lsr	w8, w0, w8
	lsl	w8, w8, #31
Lloh5:
	adrp	x11, _USB_LED_CAPS_LOCK@GOTPAGE
Lloh6:
	ldr	x11, [x11, _USB_LED_CAPS_LOCK@GOTPAGEOFF]
	orr	w8, w10, w8, lsr #29
Lloh7:
	ldr	w10, [x11]
	lsr	w10, w0, w10
	lsl	w10, w10, #31
Lloh8:
	adrp	x11, _USB_LED_SCROLL_LOCK@GOTPAGE
Lloh9:
	ldr	x11, [x11, _USB_LED_SCROLL_LOCK@GOTPAGEOFF]
	orr	w8, w8, w10, lsr #28
Lloh10:
	ldr	w10, [x11]
	lsr	w10, w0, w10
	lsl	w10, w10, #31
	orr	w8, w8, w10, lsr #27
	str	w8, [x9]
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_USB_LED_NUM_LOCK,4,2           ; @USB_LED_NUM_LOCK
	.comm	_PORTD,4,2                      ; @PORTD
	.comm	_USB_LED_CAPS_LOCK,4,2          ; @USB_LED_CAPS_LOCK
	.comm	_USB_LED_SCROLL_LOCK,4,2        ; @USB_LED_SCROLL_LOCK
.subsections_via_symbols
