	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ps2mouse_reset
_ps2mouse_reset:                        ## @ps2mouse_reset
	.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	%rdi, %rbx
	addq	$44, %rdi
	callq	_pthread_mutex_isowned_np
	movl	%eax, %edi
	callq	_assert
	movq	%rbx, %rdi
	callq	_fifo_reset
	movq	%rbx, %rdi
	callq	_movement_reset
	movq	_PS2M_STS_ENABLE_DEV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movabsq	$429496729604, %rax             ## imm = 0x6400000004
	movq	%rax, (%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rbx)
	movups	%xmm0, 8(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PS2M_STS_ENABLE_DEV,4,2        ## @PS2M_STS_ENABLE_DEV
	.no_dead_strip	_ps2mouse_reset
.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 ps2mouse_reset
lCPI0_0:
	.long	4                               ; 0x4
	.long	100                             ; 0x64
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_ps2mouse_reset:                        ; @ps2mouse_reset
	.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
	add	x0, x0, #44
	bl	_pthread_mutex_isowned_np
	bl	_assert
	mov	x0, x19
	bl	_fifo_reset
	mov	x0, x19
	bl	_movement_reset
Lloh0:
	adrp	x8, _PS2M_STS_ENABLE_DEV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PS2M_STS_ENABLE_DEV@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #40]
Lloh3:
	adrp	x8, lCPI0_0@PAGE
Lloh4:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19]
	movi.2d	v0, #0000000000000000
	stur	q0, [x19, #8]
	stur	q0, [x19, #24]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PS2M_STS_ENABLE_DEV,4,2        ; @PS2M_STS_ENABLE_DEV
	.no_dead_strip	_ps2mouse_reset
.subsections_via_symbols
