	.file	"extr_hyperv_fb.c_synthvid_negotiate_ver.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Time out on waiting version response\n"
	.text
	.p2align 4
	.type	synthvid_negotiate_ver, @function
synthvid_negotiate_ver:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	hv_get_drvdata@PLT
	xor	esi, esi
	mov	edx, 24
	mov	r13, QWORD PTR [rax]
	mov	rbx, QWORD PTR 16[r13]
	mov	rdi, rbx
	call	memset@PLT
	mov	QWORD PTR 8[rbx], r12
	mov	rsi, rbx
	mov	rdi, rbp
	mov	eax, DWORD PTR SYNTHVID_VERSION_REQUEST[rip]
	mov	DWORD PTR 16[rbx], 8
	mov	DWORD PTR 20[rbx], eax
	call	synthvid_send@PLT
	mov	esi, DWORD PTR VSP_TIMEOUT[rip]
	lea	rdi, 8[r13]
	call	wait_for_completion_timeout@PLT
	test	eax, eax
	je	.L7
	mov	eax, DWORD PTR [rbx]
	test	eax, eax
	je	.L8
.L3:
	endbr64
	mov	QWORD PTR 0[r13], r12
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	eax, DWORD PTR ENODEV[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	neg	eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	pr_err@PLT
	mov	eax, DWORD PTR ETIMEDOUT[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	neg	eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	synthvid_negotiate_ver, .-synthvid_negotiate_ver
	.comm	VSP_TIMEOUT,4,4
	.comm	SYNTHVID_VERSION_REQUEST,4,4
	.comm	ETIMEDOUT,4,4
	.comm	ENODEV,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_hyperv_fb.c_synthvid_negotiate_ver.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Time out on waiting version response\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	synthvid_negotiate_ver, %function
synthvid_negotiate_ver:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	mov	r6, r0
	bl	hv_get_drvdata
	ldr	r7, [r0]
	mov	r2, #16
	ldr	r4, [r7, #8]
	mov	r1, #0
	mov	r0, r4
	bl	memset
	mov	r3, #8
	ldr	r2, .L8
	mov	r1, r4
	ldr	r2, [r2]
	str	r3, [r4, #8]
	str	r2, [r4, #12]
	mov	r0, r6
	str	r5, [r4, #4]
	bl	synthvid_send
	ldr	r3, .L8+4
	add	r0, r7, #4
	ldr	r1, [r3]
	bl	wait_for_completion_timeout
	cmp	r0, #0
	beq	.L7
.L3:
	ldr	r3, [r4]
	cmp	r3, #0
	ldreq	r3, .L8+8
	strne	r5, [r7]
	ldreq	r0, [r3]
	rsbeq	r0, r0, #0
	movne	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	ldr	r0, .L8+12
	bl	pr_err
	ldr	r3, .L8+16
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	.align	2
.L8:
	.word	SYNTHVID_VERSION_REQUEST
	.word	VSP_TIMEOUT
	.word	ENODEV
	.word	.LC0
	.word	ETIMEDOUT
	.size	synthvid_negotiate_ver, .-synthvid_negotiate_ver
	.comm	VSP_TIMEOUT,4,4
	.comm	SYNTHVID_VERSION_REQUEST,4,4
	.comm	ETIMEDOUT,4,4
	.comm	ENODEV,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
