	.file	"extr_vmwgfx_execbuf.c_vmw_execbuf_fence_commands.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Fence submission error. Syncing.\n"
	.text
	.p2align 4
	.globl	vmw_execbuf_fence_commands
	.type	vmw_execbuf_fence_commands, @function
vmw_execbuf_fence_commands:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, 1
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rcx
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	test	rcx, rcx
	setne	al
	test	rdi, rdi
	sete	dil
	movzx	edi, dil
	and	edi, eax
	call	BUG_ON@PLT
	lea	rsi, 4[rsp]
	mov	rdi, rbp
	call	vmw_fifo_send_fence@PLT
	xor	edi, edi
	test	eax, eax
	setne	dil
	call	unlikely@PLT
	test	rax, rax
	jne	.L15
	mov	r10d, DWORD PTR 4[rsp]
	mov	r9d, DWORD PTR 0[rbp]
	test	rbx, rbx
	je	.L3
.L18:
	mov	rdi, r12
	mov	r8, rbx
	mov	rcx, r13
	mov	edx, r10d
	mov	esi, r9d
	call	vmw_user_fence_create@PLT
	mov	r12d, eax
.L4:
	xor	edi, edi
	test	r12d, r12d
	setne	dil
	and	edi, r14d
	call	unlikely@PLT
	test	rax, rax
	jne	.L16
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L17
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 40
	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
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	xor	r14d, r14d
	call	VMW_DEBUG_USER@PLT
	mov	r10d, DWORD PTR 4[rsp]
	mov	r9d, DWORD PTR 0[rbp]
	test	rbx, rbx
	jne	.L18
.L3:
	mov	rdx, r13
	mov	esi, r10d
	mov	edi, r9d
	call	vmw_fence_create@PLT
	mov	r12d, eax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L16:
	mov	r9d, DWORD PTR VMW_FENCE_WAIT_TIMEOUT[rip]
	mov	ecx, DWORD PTR 4[rsp]
	xor	r8d, r8d
	xor	edx, edx
	xor	esi, esi
	mov	rdi, rbp
	call	vmw_fallback_wait@PLT
	mov	QWORD PTR 0[r13], 0
	jmp	.L1
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	vmw_execbuf_fence_commands, .-vmw_execbuf_fence_commands
	.comm	VMW_FENCE_WAIT_TIMEOUT,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_execbuf.c_vmw_execbuf_fence_commands.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Fence submission error. Syncing.\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	vmw_execbuf_fence_commands
	.syntax unified
	.arm
	.fpu softvfp
	.type	vmw_execbuf_fence_commands, %function
vmw_execbuf_fence_commands:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r0
	clz	r0, r0
	mov	r5, r1
	cmp	r3, #0
	mov	r6, r2
	ldr	r2, .L17
	sub	sp, sp, #16
	lsr	r0, r0, #5
	moveq	r0, #0
	ldr	r2, [r2]
	str	r2, [sp, #12]
	mov	r2,#0
	mov	r4, r3
	bl	BUG_ON
	add	r1, sp, #8
	mov	r0, r5
	bl	vmw_fifo_send_fence
	subs	r0, r0, #0
	movne	r0, #1
	bl	unlikely
	cmp	r0, #0
	moveq	r8, #1
	bne	.L13
	cmp	r4, #0
	ldr	r0, [r5]
	ldr	r2, [sp, #8]
	beq	.L3
.L16:
	mov	r1, r0
	str	r4, [sp]
	mov	r0, r7
	mov	r3, r6
	bl	vmw_user_fence_create
	mov	r4, r0
.L4:
	cmp	r4, #0
	movne	r0, r8
	moveq	r0, #0
	bl	unlikely
	cmp	r0, #0
	bne	.L14
.L1:
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	mov	r0, r4
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	ldr	r0, .L17+4
	bl	VMW_DEBUG_USER
	cmp	r4, #0
	mov	r8, #0
	ldr	r0, [r5]
	ldr	r2, [sp, #8]
	bne	.L16
.L3:
	mov	r1, r2
	mov	r2, r6
	bl	vmw_fence_create
	mov	r4, r0
	b	.L4
.L14:
	mov	r7, #0
	ldr	r3, .L17+8
	mov	r0, r5
	ldr	r3, [r3]
	mov	r2, r7
	str	r3, [sp, #4]
	mov	r1, r7
	ldr	r3, [sp, #8]
	str	r7, [sp]
	bl	vmw_fallback_wait
	str	r7, [r6]
	b	.L1
.L15:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	.LC1
	.word	.LC0
	.word	VMW_FENCE_WAIT_TIMEOUT
	.size	vmw_execbuf_fence_commands, .-vmw_execbuf_fence_commands
	.comm	VMW_FENCE_WAIT_TIMEOUT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
