	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_InitMouse                      ## -- Begin function InitMouse
	.p2align	4, 0x90
_InitMouse:                             ## @InitMouse
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	leaq	-32(%rbp), %r14
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movl	$0, -32(%rbp)
	movl	$51, %edi
	movq	%r14, %rsi
	callq	___dpmi_int
	cmpl	$65535, -32(%rbp)               ## imm = 0xFFFF
	jne	LBB0_2
## %bb.1:
	leaq	-32(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movq	$7, -32(%rbp)
	movl	$260, -24(%rbp)                 ## imm = 0x104
	movl	$51, %edi
	movq	%rbx, %rsi
	callq	___dpmi_int
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movq	$8, -32(%rbp)
	movl	$260, -24(%rbp)                 ## imm = 0x104
	movl	$51, %edi
	movq	%rbx, %rsi
	callq	___dpmi_int
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movabsq	$34359738383, %rax              ## imm = 0x80000000F
	movq	%rax, -32(%rbp)
	movl	$8, -24(%rbp)
	movl	$51, %edi
	movq	%rbx, %rsi
	callq	___dpmi_int
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movl	$2, -32(%rbp)
	movl	$51, %edi
	movq	%rbx, %rsi
	callq	___dpmi_int
	movl	$1, %ebx
LBB0_2:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function InitMouse
lCPI0_0:
	.long	7                               ; 0x7
	.long	0                               ; 0x0
lCPI0_1:
	.long	8                               ; 0x8
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_InitMouse
	.p2align	2
_InitMouse:                             ; @InitMouse
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x0, sp
	mov	w1, #0
	mov	w2, #12
	bl	_memset
	str	wzr, [sp]
	mov	x1, sp
	mov	w0, #51
	bl	___dpmi_int
	mov	w0, #0
	ldr	w8, [sp]
	mov	w9, #65535
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
	mov	x0, sp
	mov	w1, #0
	mov	w2, #12
	bl	_memset
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp]
	mov	w19, #260
	str	w19, [sp, #8]
	mov	x1, sp
	mov	w0, #51
	bl	___dpmi_int
	mov	x0, sp
	mov	w1, #0
	mov	w2, #12
	bl	_memset
Lloh2:
	adrp	x8, lCPI0_1@PAGE
Lloh3:
	ldr	d0, [x8, lCPI0_1@PAGEOFF]
	str	d0, [sp]
	str	w19, [sp, #8]
	mov	x1, sp
	mov	w0, #51
	bl	___dpmi_int
	mov	x0, sp
	mov	w1, #0
	mov	w2, #12
	bl	_memset
	mov	w8, #15
	str	w8, [sp]
	movi.2s	v0, #8
	stur	d0, [sp, #4]
	mov	x1, sp
	mov	w0, #51
	bl	___dpmi_int
	mov	x0, sp
	mov	w1, #0
	mov	w2, #12
	bl	_memset
	mov	w8, #2
	str	w8, [sp]
	mov	x1, sp
	mov	w0, #51
	bl	___dpmi_int
	mov	w0, #1
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
