	.file	"extr_iavf_main.c_iavf_check_reset_complete.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	iavf_check_reset_complete, @function
iavf_check_reset_complete:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	ebx, 100
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L10:
	cmp	DWORD PTR VIRTCHNL_VFR_COMPLETED[rip], eax
	je	.L5
	mov	esi, 20
	mov	edi, 10
	call	usleep_range@PLT
	sub	ebx, 1
	je	.L9
.L3:
	mov	esi, DWORD PTR IAVF_VFGEN_RSTAT[rip]
	mov	rdi, rbp
	call	rd32@PLT
	and	eax, DWORD PTR IAVF_VFGEN_RSTAT_VFR_STATE_MASK[rip]
	cmp	DWORD PTR VIRTCHNL_VFR_VFACTIVE[rip], eax
	jne	.L10
.L5:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
.L9:
	.cfi_restore_state
	mov	eax, DWORD PTR EBUSY[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	iavf_check_reset_complete, .-iavf_check_reset_complete
	.comm	VIRTCHNL_VFR_VFACTIVE,4,4
	.comm	VIRTCHNL_VFR_COMPLETED,4,4
	.comm	IAVF_VFGEN_RSTAT_VFR_STATE_MASK,4,4
	.comm	IAVF_VFGEN_RSTAT,4,4
	.comm	EBUSY,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_check_reset_complete.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	iavf_check_reset_complete, %function
iavf_check_reset_complete:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, #100
	mov	r5, r0
	ldr	r8, .L11
	ldr	r7, .L11+4
	ldr	r6, .L11+8
	ldr	r9, .L11+12
	b	.L3
.L10:
	ldr	r3, [r9]
	cmp	r3, r0
	beq	.L5
	mov	r1, #20
	mov	r0, #10
	bl	usleep_range
	subs	r4, r4, #1
	beq	.L9
.L3:
	mov	r0, r5
	ldr	r1, [r8]
	bl	rd32
	ldr	r2, [r7]
	ldr	r3, [r6]
	and	r0, r0, r2
	cmp	r3, r0
	bne	.L10
.L5:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L9:
	ldr	r3, .L11+16
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L12:
	.align	2
.L11:
	.word	IAVF_VFGEN_RSTAT
	.word	IAVF_VFGEN_RSTAT_VFR_STATE_MASK
	.word	VIRTCHNL_VFR_VFACTIVE
	.word	VIRTCHNL_VFR_COMPLETED
	.word	EBUSY
	.size	iavf_check_reset_complete, .-iavf_check_reset_complete
	.comm	VIRTCHNL_VFR_VFACTIVE,4,4
	.comm	VIRTCHNL_VFR_COMPLETED,4,4
	.comm	IAVF_VFGEN_RSTAT_VFR_STATE_MASK,4,4
	.comm	IAVF_VFGEN_RSTAT,4,4
	.comm	EBUSY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
