	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_KillKeyboard                   ## -- Begin function KillKeyboard
	.p2align	4, 0x90
_KillKeyboard:                          ## @KillKeyboard
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_initdone@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	_KBIBack@GOTPCREL(%rip), %rsi
	movl	$9, %edi
	callq	__go32_dpmi_set_protected_mode_interrupt_vector
	movq	_KBI@GOTPCREL(%rip), %rdi
	callq	__go32_dpmi_free_iret_wrapper
	movq	_KBIBackRM@GOTPCREL(%rip), %rsi
	movl	$9, %edi
	callq	__go32_dpmi_set_real_mode_interrupt_vector
	movq	_KBIRM@GOTPCREL(%rip), %rdi
	callq	__go32_dpmi_free_real_mode_callback
	movq	$0, (%rbx)
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_initdone,8,3                   ## @initdone
	.comm	_KBIBack,4,2                    ## @KBIBack
	.comm	_KBI,4,2                        ## @KBI
	.comm	_KBIBackRM,4,2                  ## @KBIBackRM
	.comm	_KBIRM,4,2                      ## @KBIRM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_KillKeyboard                   ; -- Begin function KillKeyboard
	.p2align	2
_KillKeyboard:                          ; @KillKeyboard
	.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
Lloh0:
	adrp	x19, _initdone@GOTPAGE
Lloh1:
	ldr	x19, [x19, _initdone@GOTPAGEOFF]
	ldr	x8, [x19]
	cbz	x8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x1, _KBIBack@GOTPAGE
Lloh3:
	ldr	x1, [x1, _KBIBack@GOTPAGEOFF]
	mov	w0, #9
	bl	__go32_dpmi_set_protected_mode_interrupt_vector
Lloh4:
	adrp	x0, _KBI@GOTPAGE
Lloh5:
	ldr	x0, [x0, _KBI@GOTPAGEOFF]
	bl	__go32_dpmi_free_iret_wrapper
Lloh6:
	adrp	x1, _KBIBackRM@GOTPAGE
Lloh7:
	ldr	x1, [x1, _KBIBackRM@GOTPAGEOFF]
	mov	w0, #9
	bl	__go32_dpmi_set_real_mode_interrupt_vector
Lloh8:
	adrp	x0, _KBIRM@GOTPAGE
Lloh9:
	ldr	x0, [x0, _KBIRM@GOTPAGEOFF]
	bl	__go32_dpmi_free_real_mode_callback
	str	xzr, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_initdone,8,3                   ; @initdone
	.comm	_KBIBack,4,2                    ; @KBIBack
	.comm	_KBI,4,2                        ; @KBI
	.comm	_KBIBackRM,4,2                  ; @KBIBackRM
	.comm	_KBIRM,4,2                      ; @KBIRM
.subsections_via_symbols
