	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_led_set_user                   ## -- Begin function led_set_user
	.p2align	4, 0x90
_led_set_user:                          ## @led_set_user
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_DDRB@GOTPCREL(%rip), %rax
	orb	$16, (%rax)
	movq	_DDRD@GOTPCREL(%rip), %rax
	orb	$-64, (%rax)
	movq	_USB_LED_NUM_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%eax, %eax
	btl	%ecx, %edi
	setb	%al
	movq	_PORTD@GOTPCREL(%rip), %r8
	movl	$-193, %edx
	andl	(%r8), %edx
	shll	$7, %eax
	orl	%edx, %eax
	movq	_USB_LED_CAPS_LOCK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	xorl	%esi, %esi
	btl	%edx, %edi
	setb	%sil
	movq	_PORTB@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ecx
	andl	$-17, %ecx
	shll	$4, %esi
	orl	%ecx, %esi
	movl	%esi, (%rdx)
	movq	_USB_LED_SCROLL_LOCK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%edx, %edx
	btl	%ecx, %edi
	setb	%dl
	shll	$6, %edx
	orl	%eax, %edx
	movl	%edx, (%r8)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DDRB,4,2                       ## @DDRB
	.comm	_DDRD,4,2                       ## @DDRD
	.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	_PORTB,4,2                      ## @PORTB
	.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_user                   ; -- Begin function led_set_user
	.p2align	2
_led_set_user:                          ; @led_set_user
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _DDRB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DDRB@GOTPAGEOFF]
	ldr	w9, [x8]
	orr	w9, w9, #0x10
	str	w9, [x8]
Lloh2:
	adrp	x8, _DDRD@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DDRD@GOTPAGEOFF]
	ldr	w9, [x8]
	orr	w9, w9, #0xc0
	str	w9, [x8]
Lloh4:
	adrp	x8, _USB_LED_NUM_LOCK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _USB_LED_NUM_LOCK@GOTPAGEOFF]
Lloh6:
	adrp	x9, _PORTD@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PORTD@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w10, [x9]
	and	w10, w10, #0xffffff3f
	lsr	w8, w0, w8
	lsl	w8, w8, #31
	orr	w8, w10, w8, lsr #24
Lloh9:
	adrp	x10, _USB_LED_CAPS_LOCK@GOTPAGE
Lloh10:
	ldr	x10, [x10, _USB_LED_CAPS_LOCK@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
Lloh12:
	adrp	x11, _PORTB@GOTPAGE
Lloh13:
	ldr	x11, [x11, _PORTB@GOTPAGEOFF]
	ldr	w12, [x11]
	and	w12, w12, #0xffffffef
	lsr	w10, w0, w10
	lsl	w10, w10, #31
	orr	w10, w12, w10, lsr #27
Lloh14:
	adrp	x12, _USB_LED_SCROLL_LOCK@GOTPAGE
Lloh15:
	ldr	x12, [x12, _USB_LED_SCROLL_LOCK@GOTPAGEOFF]
	str	w10, [x11]
Lloh16:
	ldr	w10, [x12]
	lsr	w10, w0, w10
	lsl	w10, w10, #31
	orr	w8, w8, w10, lsr #25
	str	w8, [x9]
	ret
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh8
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DDRB,4,2                       ; @DDRB
	.comm	_DDRD,4,2                       ; @DDRD
	.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	_PORTB,4,2                      ; @PORTB
	.comm	_USB_LED_SCROLL_LOCK,4,2        ; @USB_LED_SCROLL_LOCK
.subsections_via_symbols
