	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_led_set_user                   ## -- Begin function led_set_user
	.weak_definition	_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	_USB_LED_CAPS_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	btl	%eax, %edi
	movq	_CAPSLOCK_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jae	LBB0_2
## %bb.1:
	movq	_DDRD@GOTPCREL(%rip), %rcx
	orl	%eax, (%rcx)
	movq	_PORTD@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	jmp	LBB0_3
LBB0_2:
	notl	%eax
	movq	_DDRD@GOTPCREL(%rip), %rcx
	andl	%eax, (%rcx)
	movq	_PORTD@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
LBB0_3:
	movq	_PORTD@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_USB_LED_CAPS_LOCK,4,2          ## @USB_LED_CAPS_LOCK
	.comm	_CAPSLOCK_PORT,4,2              ## @CAPSLOCK_PORT
	.comm	_DDRD,4,2                       ## @DDRD
	.comm	_PORTD,4,2                      ## @PORTD
.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
	.weak_definition	_led_set_user
	.p2align	2
_led_set_user:                          ; @led_set_user
	.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, _CAPSLOCK_PORT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CAPSLOCK_PORT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	lsr	w10, w0, w8
Lloh6:
	adrp	x8, _PORTD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PORTD@GOTPAGEOFF]
	tbz	w10, #0, LBB0_2
; %bb.1:
Lloh8:
	adrp	x10, _DDRD@GOTPAGE
Lloh9:
	ldr	x10, [x10, _DDRD@GOTPAGEOFF]
	ldr	w11, [x10]
	orr	w11, w11, w9
	str	w11, [x10]
	ldr	w10, [x8]
	orr	w9, w10, w9
	str	w9, [x8]
	ret
LBB0_2:
Lloh10:
	adrp	x10, _DDRD@GOTPAGE
Lloh11:
	ldr	x10, [x10, _DDRD@GOTPAGEOFF]
	ldr	w11, [x10]
	bic	w11, w11, w9
	str	w11, [x10]
	ldr	w10, [x8]
	bic	w9, w10, w9
	str	w9, [x8]
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_USB_LED_CAPS_LOCK,4,2          ; @USB_LED_CAPS_LOCK
	.comm	_CAPSLOCK_PORT,4,2              ; @CAPSLOCK_PORT
	.comm	_DDRD,4,2                       ; @DDRD
	.comm	_PORTD,4,2                      ; @PORTD
.subsections_via_symbols
