	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vmmouse_disable
_vmmouse_disable:                       ## @vmmouse_disable
	.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
	movq	_ABSPOINTER_COMMAND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_VMMOUSE_CMD_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_VMMOUSE_CMD
	movq	_ABSPOINTER_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_VMMOUSE_CMD
	movq	_VMMOUSE_ERROR@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_psmouse_warn                   ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ABSPOINTER_COMMAND,4,2         ## @ABSPOINTER_COMMAND
	.comm	_VMMOUSE_CMD_DISABLE,4,2        ## @VMMOUSE_CMD_DISABLE
	.comm	_ABSPOINTER_STATUS,4,2          ## @ABSPOINTER_STATUS
	.comm	_VMMOUSE_ERROR,4,2              ## @VMMOUSE_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to disable vmmouse device\n"

	.no_dead_strip	_vmmouse_disable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vmmouse_disable
_vmmouse_disable:                       ; @vmmouse_disable
	.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	x8, _ABSPOINTER_COMMAND@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ABSPOINTER_COMMAND@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _VMMOUSE_CMD_DISABLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VMMOUSE_CMD_DISABLE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_VMMOUSE_CMD
Lloh6:
	adrp	x8, _ABSPOINTER_STATUS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ABSPOINTER_STATUS@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_VMMOUSE_CMD
Lloh9:
	adrp	x8, _VMMOUSE_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _VMMOUSE_ERROR@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cbz	w8, LBB0_2
; %bb.1:
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_psmouse_warn
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ABSPOINTER_COMMAND,4,2         ; @ABSPOINTER_COMMAND
	.comm	_VMMOUSE_CMD_DISABLE,4,2        ; @VMMOUSE_CMD_DISABLE
	.comm	_ABSPOINTER_STATUS,4,2          ; @ABSPOINTER_STATUS
	.comm	_VMMOUSE_ERROR,4,2              ; @VMMOUSE_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to disable vmmouse device\n"

	.no_dead_strip	_vmmouse_disable
.subsections_via_symbols
