	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_send_keyboard                  ## -- Begin function send_keyboard
	.p2align	4, 0x90
_send_keyboard:                         ## @send_keyboard
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_udi_hid_kbd_b_report_trans_ongoing@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_3
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_main_subtasks
	cmpq	$0, (%rbx)
	jne	LBB0_1
LBB0_3:
	xorl	%eax, %eax
	callq	___get_PRIMASK
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	___disable_irq
	xorl	%eax, %eax
	callq	___DMB
	movq	_udi_hid_kbd_report@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	movq	_UDI_HID_KBD_REPORT_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movq	_udi_hid_kbd_b_report_valid@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	xorl	%eax, %eax
	callq	_udi_hid_kbd_send_report
	xorl	%eax, %eax
	callq	___DMB
	movl	%ebx, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	___set_PRIMASK                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_udi_hid_kbd_b_report_trans_ongoing,8,3 ## @udi_hid_kbd_b_report_trans_ongoing
	.comm	_udi_hid_kbd_report,4,2         ## @udi_hid_kbd_report
	.comm	_UDI_HID_KBD_REPORT_SIZE,4,2    ## @UDI_HID_KBD_REPORT_SIZE
	.comm	_udi_hid_kbd_b_report_valid,4,2 ## @udi_hid_kbd_b_report_valid
	.comm	_UDI_HID_NKRO_REPORT_SIZE,4,2   ## @UDI_HID_NKRO_REPORT_SIZE
	.comm	_keymap_config,4,2              ## @keymap_config
	.comm	_udi_hid_nkro_b_report_trans_ongoing,8,3 ## @udi_hid_nkro_b_report_trans_ongoing
	.comm	_udi_hid_nkro_b_report_valid,4,2 ## @udi_hid_nkro_b_report_valid
	.comm	_udi_hid_nkro_report,4,2        ## @udi_hid_nkro_report
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_send_keyboard                  ; -- Begin function send_keyboard
	.p2align	2
_send_keyboard:                         ; @send_keyboard
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x20, _udi_hid_kbd_b_report_trans_ongoing@GOTPAGE
Lloh1:
	ldr	x20, [x20, _udi_hid_kbd_b_report_trans_ongoing@GOTPAGEOFF]
	ldr	x8, [x20]
	cbz	x8, LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	bl	_main_subtasks
	ldr	x8, [x20]
	cbnz	x8, LBB0_1
LBB0_2:
	bl	___get_PRIMASK
	mov	x20, x0
	bl	___disable_irq
	bl	___DMB
Lloh2:
	adrp	x8, _udi_hid_kbd_report@GOTPAGE
Lloh3:
	ldr	x8, [x8, _udi_hid_kbd_report@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldr	w1, [x19]
Lloh5:
	adrp	x8, _UDI_HID_KBD_REPORT_SIZE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _UDI_HID_KBD_REPORT_SIZE@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	bl	_memcpy
Lloh8:
	adrp	x8, _udi_hid_kbd_b_report_valid@GOTPAGE
Lloh9:
	ldr	x8, [x8, _udi_hid_kbd_b_report_valid@GOTPAGEOFF]
	mov	w9, #1
Lloh10:
	str	w9, [x8]
	bl	_udi_hid_kbd_send_report
	bl	___DMB
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	___set_PRIMASK
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_udi_hid_kbd_b_report_trans_ongoing,8,3 ; @udi_hid_kbd_b_report_trans_ongoing
	.comm	_udi_hid_kbd_report,4,2         ; @udi_hid_kbd_report
	.comm	_UDI_HID_KBD_REPORT_SIZE,4,2    ; @UDI_HID_KBD_REPORT_SIZE
	.comm	_udi_hid_kbd_b_report_valid,4,2 ; @udi_hid_kbd_b_report_valid
	.comm	_UDI_HID_NKRO_REPORT_SIZE,4,2   ; @UDI_HID_NKRO_REPORT_SIZE
	.comm	_keymap_config,4,2              ; @keymap_config
	.comm	_udi_hid_nkro_b_report_trans_ongoing,8,3 ; @udi_hid_nkro_b_report_trans_ongoing
	.comm	_udi_hid_nkro_b_report_valid,4,2 ; @udi_hid_nkro_b_report_valid
	.comm	_udi_hid_nkro_report,4,2        ; @udi_hid_nkro_report
.subsections_via_symbols
