	.file	"extr_nicvf_queues.c_nicvf_poll_reg.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Poll on reg 0x%llx failed\n"
	.text
	.p2align 4
	.type	nicvf_poll_reg, @function
nicvf_poll_reg:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	eax, ecx
	mov	r15d, esi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, r9d
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, 1
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, 10
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	DWORD PTR 12[rsp], ecx
	mov	ecx, r8d
	sal	rbp, cl
	mov	ecx, eax
	sub	ebp, 1
	sal	ebp, cl
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edx, r15d
	mov	esi, r13d
	mov	rdi, r12
	call	nicvf_queue_reg_read@PLT
	movzx	ecx, BYTE PTR 12[rsp]
	and	eax, ebp
	sar	eax, cl
	cmp	eax, r14d
	je	.L4
	mov	esi, 2000
	mov	edi, 1000
	call	usleep_range@PLT
	sub	ebx, 1
	jne	.L3
	mov	edi, DWORD PTR [r12]
	mov	edx, r13d
	lea	rsi, .LC0[rip]
	call	netdev_err@PLT
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, 1
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	add	rsp, 24
	.cfi_def_cfa_offset 56
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	nicvf_poll_reg, .-nicvf_poll_reg
	.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_nicvf_queues.c_nicvf_poll_reg.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Poll on reg 0x%llx failed\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nicvf_poll_reg, %function
nicvf_poll_reg:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mvn	r5, #0
	ldr	ip, [sp, #32]
	mov	r6, r3
	mvn	r5, r5, lsl ip
	mov	r7, r0
	mov	r9, r1
	mov	r8, r2
	mov	r4, #10
	ldr	r10, [sp, #36]
	lsl	r5, r5, r3
.L3:
	mov	r2, r9
	mov	r1, r8
	mov	r0, r7
	bl	nicvf_queue_reg_read
	and	r0, r0, r5
	cmp	r10, r0, asr r6
	beq	.L4
	mov	r1, #2000
	mov	r0, #1000
	bl	usleep_range
	subs	r4, r4, #1
	bne	.L3
	mov	r2, r8
	ldr	r0, [r7]
	ldr	r1, .L8
	bl	netdev_err
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L4:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L9:
	.align	2
.L8:
	.word	.LC0
	.size	nicvf_poll_reg, .-nicvf_poll_reg
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
