	.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_CAPS_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ecx, %ecx
	btl	%eax, %edi
	setb	%cl
	movq	_DDRB@GOTPCREL(%rip), %rax
	movl	$-129, %edx
	andl	(%rax), %edx
	shll	$7, %ecx
	orl	%edx, %ecx
	movl	%ecx, (%rax)
	movq	_PORTB@GOTPCREL(%rip), %rax
	andb	$127, (%rax)
	popq	%rbp
	jmp	_led_set_user                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_USB_LED_CAPS_LOCK,4,2          ## @USB_LED_CAPS_LOCK
	.comm	_DDRB,4,2                       ## @DDRB
	.comm	_PORTB,4,2                      ## @PORTB
.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_CAPS_LOCK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _USB_LED_CAPS_LOCK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _DDRB@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DDRB@GOTPAGEOFF]
	ldr	w10, [x9]
	and	w10, w10, #0xffffff7f
	lsr	w8, w0, w8
	lsl	w8, w8, #31
	orr	w8, w10, w8, lsr #24
	str	w8, [x9]
Lloh5:
	adrp	x8, _PORTB@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PORTB@GOTPAGEOFF]
	ldr	w9, [x8]
	and	w9, w9, #0xffffff7f
	str	w9, [x8]
	b	_led_set_user
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_USB_LED_CAPS_LOCK,4,2          ; @USB_LED_CAPS_LOCK
	.comm	_DDRB,4,2                       ; @DDRB
	.comm	_PORTB,4,2                      ; @PORTB
.subsections_via_symbols
