	.file	"extr_vmwgfx_kms.c_vmw_cursor_update_position.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	vmw_cursor_update_position, @function
vmw_cursor_update_position:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, esi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, ecx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, QWORD PTR 8[rdi]
	call	spin_lock@PLT
	movsx	rax, DWORD PTR SVGA_FIFO_CURSOR_ON[rip]
	xor	edi, edi
	test	r14d, r14d
	setne	dil
	lea	rsi, [rbx+rax*4]
	call	vmw_mmio_write@PLT
	movsx	rax, DWORD PTR SVGA_FIFO_CURSOR_X[rip]
	mov	edi, r13d
	lea	rsi, [rbx+rax*4]
	call	vmw_mmio_write@PLT
	movsx	rax, DWORD PTR SVGA_FIFO_CURSOR_Y[rip]
	mov	edi, r12d
	lea	rsi, [rbx+rax*4]
	call	vmw_mmio_write@PLT
	movsx	rax, DWORD PTR SVGA_FIFO_CURSOR_COUNT[rip]
	lea	rdi, [rbx+rax*4]
	call	vmw_mmio_read@PLT
	movsx	rdx, DWORD PTR SVGA_FIFO_CURSOR_COUNT[rip]
	lea	edi, 1[rax]
	lea	rsi, [rbx+rdx*4]
	call	vmw_mmio_write@PLT
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	spin_unlock@PLT
	.cfi_endproc
.LFE0:
	.size	vmw_cursor_update_position, .-vmw_cursor_update_position
	.comm	SVGA_FIFO_CURSOR_Y,4,4
	.comm	SVGA_FIFO_CURSOR_X,4,4
	.comm	SVGA_FIFO_CURSOR_ON,4,4
	.comm	SVGA_FIFO_CURSOR_COUNT,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_vmwgfx_kms.c_vmw_cursor_update_position.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vmw_cursor_update_position, %function
vmw_cursor_update_position:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r8, r1
	mov	r7, r2
	mov	r6, r3
	ldr	r4, [r0, #4]
	mov	r5, r0
	bl	spin_lock
	ldr	r3, .L4
	subs	r0, r8, #0
	ldr	r1, [r3]
	movne	r0, #1
	add	r1, r4, r1, lsl #2
	bl	vmw_mmio_write
	ldr	r3, .L4+4
	mov	r0, r7
	ldr	r1, [r3]
	ldr	r8, .L4+8
	add	r1, r4, r1, lsl #2
	bl	vmw_mmio_write
	ldr	r3, .L4+12
	mov	r0, r6
	ldr	r1, [r3]
	add	r1, r4, r1, lsl #2
	bl	vmw_mmio_write
	ldr	r0, [r8]
	add	r0, r4, r0, lsl #2
	bl	vmw_mmio_read
	ldr	r1, [r8]
	add	r0, r0, #1
	add	r1, r4, r1, lsl #2
	bl	vmw_mmio_write
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	b	spin_unlock
.L5:
	.align	2
.L4:
	.word	SVGA_FIFO_CURSOR_ON
	.word	SVGA_FIFO_CURSOR_X
	.word	SVGA_FIFO_CURSOR_COUNT
	.word	SVGA_FIFO_CURSOR_Y
	.size	vmw_cursor_update_position, .-vmw_cursor_update_position
	.comm	SVGA_FIFO_CURSOR_Y,4,4
	.comm	SVGA_FIFO_CURSOR_X,4,4
	.comm	SVGA_FIFO_CURSOR_ON,4,4
	.comm	SVGA_FIFO_CURSOR_COUNT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
