	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_led_set                        ## -- Begin function led_set
	.p2align	4, 0x90
_led_set:                               ## @led_set
	.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_SCROLL_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_PS2_LED_SCROLL_LOCK@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %edx
	shll	%cl, %edx
	xorl	%r9d, %r9d
	btl	%eax, %edi
	cmovael	%r9d, %edx
	movl	$1, %eax
	movq	_USB_LED_NUM_LOCK@GOTPCREL(%rip), %r8
	movq	_PS2_LED_NUM_LOCK@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %esi
	shll	%cl, %esi
	movl	(%r8), %ecx
	btl	%ecx, %edi
	cmovael	%r9d, %esi
	orl	%edx, %esi
	movq	_USB_LED_CAPS_LOCK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_PS2_LED_CAPS_LOCK@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	btl	%edx, %edi
	cmovael	%r9d, %eax
	orl	%esi, %eax
	movl	%eax, %edi
	popq	%rbp
	jmp	_ps2_host_set_led               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_USB_LED_SCROLL_LOCK,4,2        ## @USB_LED_SCROLL_LOCK
	.comm	_PS2_LED_SCROLL_LOCK,4,2        ## @PS2_LED_SCROLL_LOCK
	.comm	_USB_LED_NUM_LOCK,4,2           ## @USB_LED_NUM_LOCK
	.comm	_PS2_LED_NUM_LOCK,4,2           ## @PS2_LED_NUM_LOCK
	.comm	_USB_LED_CAPS_LOCK,4,2          ## @USB_LED_CAPS_LOCK
	.comm	_PS2_LED_CAPS_LOCK,4,2          ## @PS2_LED_CAPS_LOCK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_led_set                        ; -- Begin function led_set
	.p2align	2
_led_set:                               ; @led_set
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _USB_LED_SCROLL_LOCK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _USB_LED_SCROLL_LOCK@GOTPAGEOFF]
Lloh2:
	adrp	x9, _PS2_LED_SCROLL_LOCK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PS2_LED_SCROLL_LOCK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	mov	w10, #1
	lsl	w9, w10, w9
	lsr	w8, w0, w8
	sbfx	w8, w8, #0, #1
	and	w8, w8, w9
Lloh6:
	adrp	x9, _USB_LED_NUM_LOCK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _USB_LED_NUM_LOCK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x11, _PS2_LED_NUM_LOCK@GOTPAGE
Lloh10:
	ldr	x11, [x11, _PS2_LED_NUM_LOCK@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	lsl	w11, w10, w11
	lsr	w9, w0, w9
	sbfx	w9, w9, #0, #1
	and	w9, w9, w11
	orr	w8, w9, w8
Lloh12:
	adrp	x9, _USB_LED_CAPS_LOCK@GOTPAGE
Lloh13:
	ldr	x9, [x9, _USB_LED_CAPS_LOCK@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x11, _PS2_LED_CAPS_LOCK@GOTPAGE
Lloh16:
	ldr	x11, [x11, _PS2_LED_CAPS_LOCK@GOTPAGEOFF]
Lloh17:
	ldr	w11, [x11]
	lsl	w10, w10, w11
	lsr	w9, w0, w9
	sbfx	w9, w9, #0, #1
	and	w9, w9, w10
	orr	w0, w8, w9
	b	_ps2_host_set_led
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_USB_LED_SCROLL_LOCK,4,2        ; @USB_LED_SCROLL_LOCK
	.comm	_PS2_LED_SCROLL_LOCK,4,2        ; @PS2_LED_SCROLL_LOCK
	.comm	_USB_LED_NUM_LOCK,4,2           ; @USB_LED_NUM_LOCK
	.comm	_PS2_LED_NUM_LOCK,4,2           ; @PS2_LED_NUM_LOCK
	.comm	_USB_LED_CAPS_LOCK,4,2          ; @USB_LED_CAPS_LOCK
	.comm	_PS2_LED_CAPS_LOCK,4,2          ; @PS2_LED_CAPS_LOCK
.subsections_via_symbols
