	.file	"extr_qi.c_empty_retired_fq.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Volatile dequeue fail for FQ: %u\n"
	.text
	.p2align 4
	.type	empty_retired_fq, @function
empty_retired_fq:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	edx, DWORD PTR QM_VDQCR_PRECEDENCE_VDQCR[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	or	edx, DWORD PTR QM_VDQCR_NUMFRAMES_TILLEMPTY[rip]
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	mov	esi, DWORD PTR QMAN_VOLATILE_FLAG_WAIT_INT[rip]
	mov	rdi, rbx
	or	esi, DWORD PTR QMAN_VOLATILE_FLAG_FINISH[rip]
	call	qman_volatile_dequeue@PLT
	test	eax, eax
	jne	.L10
	.p2align 4,,10
	.p2align 3
.L2:
	xor	eax, eax
	call	smp_processor_id@PLT
	mov	edi, eax
	call	qman_get_affine_portal@PLT
	mov	esi, 16
	mov	rdi, rax
	call	qman_p_poll_dqrr@PLT
	mov	eax, DWORD PTR [rbx]
	and	eax, DWORD PTR QMAN_FQ_STATE_NE[rip]
	mov	r12d, eax
	jne	.L2
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	edx, DWORD PTR 4[rbx]
	mov	r12d, eax
	mov	rdi, rbp
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	empty_retired_fq, .-empty_retired_fq
	.comm	QM_VDQCR_PRECEDENCE_VDQCR,4,4
	.comm	QM_VDQCR_NUMFRAMES_TILLEMPTY,4,4
	.comm	QMAN_VOLATILE_FLAG_WAIT_INT,4,4
	.comm	QMAN_VOLATILE_FLAG_FINISH,4,4
	.comm	QMAN_FQ_STATE_NE,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_qi.c_empty_retired_fq.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Volatile dequeue fail for FQ: %u\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	empty_retired_fq, %function
empty_retired_fq:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	ldr	ip, .L9
	mov	r6, r0
	ldr	r2, .L9+4
	ldr	r0, .L9+8
	ldr	r1, .L9+12
	ldr	lr, [ip]
	ldr	r2, [r2]
	ldr	ip, [r0]
	ldr	r1, [r1]
	mov	r0, r5
	orr	r2, lr, r2
	orr	r1, ip, r1
	bl	qman_volatile_dequeue
	subs	r4, r0, #0
	bne	.L6
	ldr	r6, .L9+16
.L2:
	bl	smp_processor_id
	bl	qman_get_affine_portal
	mov	r1, #16
	bl	qman_p_poll_dqrr
	ldr	r0, [r5]
	ldr	r4, [r6]
	ands	r4, r0, r4
	bne	.L2
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L6:
	mov	r0, r6
	ldr	r2, [r5, #4]
	ldr	r1, .L9+20
	bl	dev_err
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L10:
	.align	2
.L9:
	.word	QM_VDQCR_PRECEDENCE_VDQCR
	.word	QM_VDQCR_NUMFRAMES_TILLEMPTY
	.word	QMAN_VOLATILE_FLAG_WAIT_INT
	.word	QMAN_VOLATILE_FLAG_FINISH
	.word	QMAN_FQ_STATE_NE
	.word	.LC0
	.size	empty_retired_fq, .-empty_retired_fq
	.comm	QM_VDQCR_PRECEDENCE_VDQCR,4,4
	.comm	QM_VDQCR_NUMFRAMES_TILLEMPTY,4,4
	.comm	QMAN_VOLATILE_FLAG_WAIT_INT,4,4
	.comm	QMAN_VOLATILE_FLAG_FINISH,4,4
	.comm	QMAN_FQ_STATE_NE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
