	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_USBKeyboard_ToggleLed          ## -- Begin function USBKeyboard_ToggleLed
	.p2align	4, 0x90
_USBKeyboard_ToggleLed:                 ## @USBKeyboard_ToggleLed
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	__kbd@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	$1, %edx
	movl	%edi, %ecx
	shll	%cl, %edx
	xorl	%edx, (%rax)
	xorl	%eax, %eax
	callq	__set_output_report
	sarq	$63, %rax
	xorl	$1, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_1:
	movl	$-1, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__kbd,8,3                       ## @_kbd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_USBKeyboard_ToggleLed          ; -- Begin function USBKeyboard_ToggleLed
	.p2align	2
_USBKeyboard_ToggleLed:                 ; @USBKeyboard_ToggleLed
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, __kbd@GOTPAGE
Lloh1:
	ldr	x8, [x8, __kbd@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w9, [x8]
	mov	w10, #1
	lsl	w10, w10, w0
	eor	w9, w9, w10
	str	w9, [x8]
	bl	__set_output_report
	asr	x8, x0, #63
	eor	w0, w8, #0x1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	w0, #-1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	__kbd,8,3                       ; @_kbd
.subsections_via_symbols
