	.file	"extr_dos-keyboard.c_KillKeyboard.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	KillKeyboard
	.type	KillKeyboard, @function
KillKeyboard:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	QWORD PTR initdone[rip], 0
	jne	.L8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	lea	rsi, KBIBack[rip]
	mov	edi, 9
	call	_go32_dpmi_set_protected_mode_interrupt_vector@PLT
	lea	rdi, KBI[rip]
	call	_go32_dpmi_free_iret_wrapper@PLT
	lea	rsi, KBIBackRM[rip]
	mov	edi, 9
	call	_go32_dpmi_set_real_mode_interrupt_vector@PLT
	lea	rdi, KBIRM[rip]
	call	_go32_dpmi_free_real_mode_callback@PLT
	mov	QWORD PTR initdone[rip], 0
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	KillKeyboard, .-KillKeyboard
	.comm	initdone,8,8
	.comm	KBIRM,4,4
	.comm	KBIBackRM,4,4
	.comm	KBIBack,4,4
	.comm	KBI,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_dos-keyboard.c_KillKeyboard.c"
	.text
	.align	2
	.global	KillKeyboard
	.syntax unified
	.arm
	.fpu softvfp
	.type	KillKeyboard, %function
KillKeyboard:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r4, .L8
	ldr	r3, [r4]
	cmp	r3, #0
	popeq	{r4, pc}
	ldr	r1, .L8+4
	mov	r0, #9
	bl	_go32_dpmi_set_protected_mode_interrupt_vector
	ldr	r0, .L8+8
	bl	_go32_dpmi_free_iret_wrapper
	ldr	r1, .L8+12
	mov	r0, #9
	bl	_go32_dpmi_set_real_mode_interrupt_vector
	ldr	r0, .L8+16
	bl	_go32_dpmi_free_real_mode_callback
	mov	r3, #0
	str	r3, [r4]
	pop	{r4, pc}
.L9:
	.align	2
.L8:
	.word	initdone
	.word	KBIBack
	.word	KBI
	.word	KBIBackRM
	.word	KBIRM
	.size	KillKeyboard, .-KillKeyboard
	.comm	initdone,4,4
	.comm	KBIRM,4,4
	.comm	KBIBackRM,4,4
	.comm	KBIBack,4,4
	.comm	KBI,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
