	.file	"extr_iavf_main.c_iavf_init_version_check.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Admin queue command never completed\n"
	.align 8
.LC1:
	.string	"Unsupported PF API version %d.%d, expected %d.%d\n"
	.align 8
.LC2:
	.string	"Unable to send config request (%d)\n"
	.text
	.p2align 4
	.type	iavf_init_version_check, @function
iavf_init_version_check:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	lea	r14, 16[rdi]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR __IAVF_INIT_VERSION_CHECK[rip]
	cmp	QWORD PTR [rdi], rax
	mov	r13, QWORD PTR 24[rdi]
	setne	dil
	mov	r12d, DWORD PTR EAGAIN[rip]
	movzx	edi, dil
	call	WARN_ON@PLT
	mov	rdi, r14
	call	iavf_asq_done@PLT
	test	eax, eax
	je	.L9
	mov	rdi, rbp
	call	iavf_verify_api_ver@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L4
	cmp	DWORD PTR IAVF_ERR_ADMIN_QUEUE_NO_WORK[rip], eax
	je	.L10
	mov	ecx, DWORD PTR 8[rbp]
	mov	edx, DWORD PTR 12[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, r13
	mov	r9d, DWORD PTR VIRTCHNL_VERSION_MINOR[rip]
	mov	r8d, DWORD PTR VIRTCHNL_VERSION_MAJOR[rip]
	xor	eax, eax
	call	dev_err@PLT
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L4:
	.cfi_restore_state
	mov	rdi, rbp
	call	iavf_send_vf_config_msg@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L11
.L3:
	endbr64
	mov	rax, QWORD PTR __IAVF_INIT_GET_RESOURCES[rip]
	mov	QWORD PTR 0[rbp], rax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L9:
	.cfi_restore_state
	mov	rdi, r13
	lea	rsi, .LC0[rip]
	neg	r12d
	call	dev_err@PLT
	mov	rdi, r14
	call	iavf_shutdown_adminq@PLT
	mov	rax, QWORD PTR __IAVF_STARTUP[rip]
	mov	QWORD PTR 0[rbp], rax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L10:
	.cfi_restore_state
	add	rsp, 8
	.cfi_remember_state
	.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	iavf_send_api_ver@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	edx, eax
	lea	rsi, .LC2[rip]
	mov	rdi, r13
	xor	eax, eax
	call	dev_err@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	iavf_init_version_check, .-iavf_init_version_check
	.comm	__IAVF_STARTUP,8,8
	.comm	__IAVF_INIT_VERSION_CHECK,8,8
	.comm	__IAVF_INIT_GET_RESOURCES,8,8
	.comm	VIRTCHNL_VERSION_MINOR,4,4
	.comm	VIRTCHNL_VERSION_MAJOR,4,4
	.comm	IAVF_ERR_ADMIN_QUEUE_NO_WORK,4,4
	.comm	EAGAIN,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_iavf_main.c_iavf_init_version_check.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Admin queue command never completed\012\000"
	.align	2
.LC1:
	.ascii	"Unsupported PF API version %d.%d, expected %d.%d\012"
	.ascii	"\000"
	.align	2
.LC2:
	.ascii	"Unable to send config request (%d)\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	iavf_init_version_check, %function
iavf_init_version_check:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r6, r0
	mov	r4, r0
	ldr	r3, .L12
	ldr	r0, [r6], #12
	ldr	r2, [r3]
	ldr	r3, .L12+4
	subs	r0, r0, r2
	movne	r0, #1
	sub	sp, sp, #12
	ldr	r5, [r3]
	ldr	r7, [r4, #16]
	bl	WARN_ON
	mov	r0, r6
	bl	iavf_asq_done
	cmp	r0, #0
	beq	.L9
	mov	r0, r4
	bl	iavf_verify_api_ver
	subs	r5, r0, #0
	beq	.L4
	ldr	r3, .L12+8
	ldr	r3, [r3]
	cmp	r3, r5
	beq	.L10
	ldr	r2, .L12+12
	ldr	r3, .L12+16
	ldr	r2, [r2]
	ldr	r3, [r3]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r0, r7
	ldr	r3, [r4, #4]
	ldr	r2, [r4, #8]
	ldr	r1, .L12+20
	bl	dev_err
.L1:
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L4:
	mov	r0, r4
	bl	iavf_send_vf_config_msg
	subs	r5, r0, #0
	bne	.L11
.L3:
	mov	r0, r5
	ldr	r3, .L12+24
	ldr	r3, [r3]
	str	r3, [r4]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L9:
	ldr	r1, .L12+28
	mov	r0, r7
	bl	dev_err
	rsb	r5, r5, #0
	mov	r0, r6
	bl	iavf_shutdown_adminq
	mov	r0, r5
	ldr	r3, .L12+32
	ldr	r3, [r3]
	str	r3, [r4]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L10:
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	iavf_send_api_ver
.L11:
	mov	r0, r7
	mov	r2, r5
	ldr	r1, .L12+36
	bl	dev_err
	b	.L1
.L13:
	.align	2
.L12:
	.word	__IAVF_INIT_VERSION_CHECK
	.word	EAGAIN
	.word	IAVF_ERR_ADMIN_QUEUE_NO_WORK
	.word	VIRTCHNL_VERSION_MINOR
	.word	VIRTCHNL_VERSION_MAJOR
	.word	.LC1
	.word	__IAVF_INIT_GET_RESOURCES
	.word	.LC0
	.word	__IAVF_STARTUP
	.word	.LC2
	.size	iavf_init_version_check, .-iavf_init_version_check
	.comm	__IAVF_STARTUP,4,4
	.comm	__IAVF_INIT_VERSION_CHECK,4,4
	.comm	__IAVF_INIT_GET_RESOURCES,4,4
	.comm	VIRTCHNL_VERSION_MINOR,4,4
	.comm	VIRTCHNL_VERSION_MAJOR,4,4
	.comm	IAVF_ERR_ADMIN_QUEUE_NO_WORK,4,4
	.comm	EAGAIN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
