	.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	_USB_LED_CAPS_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	btl	%eax, %edi
	movq	_DDRD@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	jae	LBB0_2
## %bb.1:
	orl	$64, %ecx
	movl	%ecx, (%rax)
	movq	_PORTD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	$64, %eax
	jmp	LBB0_3
LBB0_2:
	andl	$-65, %ecx
	movl	%ecx, (%rax)
	movq	_PORTD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	$-65, %eax
LBB0_3:
	movq	_PORTD@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_USB_LED_NUM_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	btl	%eax, %edi
	movq	_DDRC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	jae	LBB0_5
## %bb.4:
	orl	$128, %ecx
	movl	%ecx, (%rax)
	movq	_PORTC@GOTPCREL(%rip), %rcx
	movl	$-129, %eax
	orl	(%rcx), %eax
	jmp	LBB0_6
LBB0_5:
	andl	$-129, %ecx
	movl	%ecx, (%rax)
	movq	_PORTC@GOTPCREL(%rip), %rcx
	movl	$-129, %eax
	andl	(%rcx), %eax
LBB0_6:
	movq	_PORTC@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	_DDRD,4,2                       ## @DDRD
	.comm	_PORTD,4,2                      ## @PORTD
	.comm	_USB_LED_NUM_LOCK,4,2           ## @USB_LED_NUM_LOCK
	.comm	_DDRC,4,2                       ## @DDRC
	.comm	_PORTC,4,2                      ## @PORTC
.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, _USB_LED_CAPS_LOCK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _USB_LED_CAPS_LOCK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _DDRD@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DDRD@GOTPAGEOFF]
	ldr	w10, [x9]
	lsr	w11, w0, w8
Lloh5:
	adrp	x8, _PORTD@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PORTD@GOTPAGEOFF]
	tbz	w11, #0, LBB0_2
; %bb.1:
	orr	w10, w10, #0x40
	str	w10, [x9]
	ldr	w9, [x8]
	orr	w9, w9, #0x40
	b	LBB0_3
LBB0_2:
	and	w10, w10, #0xffffffbf
	str	w10, [x9]
	ldr	w9, [x8]
	and	w9, w9, #0xffffffbf
LBB0_3:
	str	w9, [x8]
Lloh7:
	adrp	x8, _USB_LED_NUM_LOCK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _USB_LED_NUM_LOCK@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _DDRC@GOTPAGE
Lloh11:
	ldr	x9, [x9, _DDRC@GOTPAGEOFF]
	ldr	w10, [x9]
	lsr	w11, w0, w8
Lloh12:
	adrp	x8, _PORTC@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PORTC@GOTPAGEOFF]
	tbz	w11, #0, LBB0_5
; %bb.4:
	orr	w10, w10, #0x80
	str	w10, [x9]
	ldr	w9, [x8]
	orr	w9, w9, #0xffffff7f
	str	w9, [x8]
	ret
LBB0_5:
	and	w10, w10, #0xffffff7f
	str	w10, [x9]
	ldr	w9, [x8]
	and	w9, w9, #0xffffff7f
	str	w9, [x8]
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_USB_LED_CAPS_LOCK,4,2          ; @USB_LED_CAPS_LOCK
	.comm	_DDRD,4,2                       ; @DDRD
	.comm	_PORTD,4,2                      ; @PORTD
	.comm	_USB_LED_NUM_LOCK,4,2           ; @USB_LED_NUM_LOCK
	.comm	_DDRC,4,2                       ; @DDRC
	.comm	_PORTC,4,2                      ; @PORTC
.subsections_via_symbols
