	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vmw_cursor_update_position
_vmw_cursor_update_position:            ## @vmw_cursor_update_position
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movl	%esi, %r13d
	movq	%rdi, %r12
	movq	8(%rdi), %rbx
	callq	_spin_lock
	xorl	%edi, %edi
	testl	%r13d, %r13d
	setne	%dil
	movq	_SVGA_FIFO_CURSOR_ON@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%rbx,%rax,4), %rsi
	callq	_vmw_mmio_write
	movq	_SVGA_FIFO_CURSOR_X@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%rbx,%rax,4), %rsi
	movl	%r15d, %edi
	callq	_vmw_mmio_write
	movq	_SVGA_FIFO_CURSOR_Y@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%rbx,%rax,4), %rsi
	movl	%r14d, %edi
	callq	_vmw_mmio_write
	movq	_SVGA_FIFO_CURSOR_COUNT@GOTPCREL(%rip), %r14
	movslq	(%r14), %rax
	leaq	(%rbx,%rax,4), %rdi
	callq	_vmw_mmio_read
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %edi
	movslq	(%r14), %rax
	leaq	(%rbx,%rax,4), %rsi
	callq	_vmw_mmio_write
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SVGA_FIFO_CURSOR_ON,4,2        ## @SVGA_FIFO_CURSOR_ON
	.comm	_SVGA_FIFO_CURSOR_X,4,2         ## @SVGA_FIFO_CURSOR_X
	.comm	_SVGA_FIFO_CURSOR_Y,4,2         ## @SVGA_FIFO_CURSOR_Y
	.comm	_SVGA_FIFO_CURSOR_COUNT,4,2     ## @SVGA_FIFO_CURSOR_COUNT
	.no_dead_strip	_vmw_cursor_update_position
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vmw_cursor_update_position
_vmw_cursor_update_position:            ; @vmw_cursor_update_position
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	ldr	x23, [x0, #8]
	bl	_spin_lock
	cmp	w21, #0
	cset	w0, ne
Lloh0:
	adrp	x8, _SVGA_FIFO_CURSOR_ON@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SVGA_FIFO_CURSOR_ON@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	add	x1, x23, x8, lsl #2
	bl	_vmw_mmio_write
Lloh3:
	adrp	x8, _SVGA_FIFO_CURSOR_X@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SVGA_FIFO_CURSOR_X@GOTPAGEOFF]
Lloh5:
	ldrsw	x8, [x8]
	add	x1, x23, x8, lsl #2
	mov	x0, x20
	bl	_vmw_mmio_write
Lloh6:
	adrp	x8, _SVGA_FIFO_CURSOR_Y@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SVGA_FIFO_CURSOR_Y@GOTPAGEOFF]
Lloh8:
	ldrsw	x8, [x8]
	add	x1, x23, x8, lsl #2
	mov	x0, x19
	bl	_vmw_mmio_write
Lloh9:
	adrp	x19, _SVGA_FIFO_CURSOR_COUNT@GOTPAGE
Lloh10:
	ldr	x19, [x19, _SVGA_FIFO_CURSOR_COUNT@GOTPAGEOFF]
	ldrsw	x8, [x19]
	add	x0, x23, x8, lsl #2
	bl	_vmw_mmio_read
	add	w0, w0, #1
	ldrsw	x8, [x19]
	add	x1, x23, x8, lsl #2
	bl	_vmw_mmio_write
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_spin_unlock
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SVGA_FIFO_CURSOR_ON,4,2        ; @SVGA_FIFO_CURSOR_ON
	.comm	_SVGA_FIFO_CURSOR_X,4,2         ; @SVGA_FIFO_CURSOR_X
	.comm	_SVGA_FIFO_CURSOR_Y,4,2         ; @SVGA_FIFO_CURSOR_Y
	.comm	_SVGA_FIFO_CURSOR_COUNT,4,2     ; @SVGA_FIFO_CURSOR_COUNT
	.no_dead_strip	_vmw_cursor_update_position
.subsections_via_symbols
