	.file	"extr_bfa_svc.c_bfa_fcdiag_queuetest_send.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	bfa_fcdiag_queuetest_send, @function
bfa_fcdiag_queuetest_send:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edi, DWORD PTR 4[rdi]
	mov	esi, DWORD PTR [rbx]
	call	bfa_reqq_next@PLT
	test	rax, rax
	je	.L12
	mov	edi, DWORD PTR 4[rbx]
	mov	rbp, rax
	call	bfa_fn_lpu@PLT
	mov	edx, DWORD PTR BFI_DIAG_H2I_QTEST[rip]
	mov	esi, DWORD PTR BFI_MC_DIAG[rip]
	mov	edi, DWORD PTR 0[rbp]
	mov	ecx, eax
	call	bfi_h2i_set@PLT
	mov	rdx, QWORD PTR BFI_LMSG_PL_WSZ[rip]
	test	rdx, rdx
	je	.L4
	mov	rax, QWORD PTR 8[rbp]
	lea	rcx, [rax+rdx*4]
	.p2align 4,,10
	.p2align 3
.L5:
	mov	edx, DWORD PTR QTEST_PAT_DEFAULT[rip]
	add	rax, 4
	mov	DWORD PTR -4[rax], edx
	cmp	rax, rcx
	jne	.L5
.L4:
	mov	esi, DWORD PTR [rbx]
	mov	rdi, rbx
	call	bfa_trc@PLT
	mov	edi, DWORD PTR 4[rbx]
	mov	edx, DWORD PTR 0[rbp]
	mov	esi, DWORD PTR [rbx]
	call	bfa_reqq_produce@PLT
	mov	eax, DWORD PTR BFA_STATUS_OK[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	eax, DWORD PTR BFA_STATUS_DEVBUSY[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	bfa_fcdiag_queuetest_send, .-bfa_fcdiag_queuetest_send
	.comm	QTEST_PAT_DEFAULT,4,4
	.comm	BFI_MC_DIAG,4,4
	.comm	BFI_LMSG_PL_WSZ,8,8
	.comm	BFI_DIAG_H2I_QTEST,4,4
	.comm	BFA_STATUS_OK,4,4
	.comm	BFA_STATUS_DEVBUSY,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_bfa_svc.c_bfa_fcdiag_queuetest_send.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bfa_fcdiag_queuetest_send, %function
bfa_fcdiag_queuetest_send:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r1, [r0]
	mov	r4, r0
	ldr	r0, [r0, #4]
	bl	bfa_reqq_next
	subs	r5, r0, #0
	beq	.L12
	ldr	r2, .L13
	ldr	r3, .L13+4
	ldr	r0, [r4, #4]
	ldr	r7, [r2]
	ldr	r8, [r3]
	ldr	r6, [r5]
	bl	bfa_fn_lpu
	mov	r1, r7
	mov	r3, r0
	mov	r2, r8
	mov	r0, r6
	bl	bfi_h2i_set
	ldr	r3, .L13+8
	ldr	r1, [r3]
	cmp	r1, #0
	beq	.L4
	ldr	r3, [r5, #4]
	ldr	r0, .L13+12
	add	r1, r3, r1, lsl #2
	sub	r1, r1, #4
	sub	r3, r3, #4
.L5:
	ldr	r2, [r0]
	str	r2, [r3, #4]!
	cmp	r3, r1
	bne	.L5
.L4:
	ldr	r1, [r4]
	mov	r0, r4
	bl	bfa_trc
	ldr	r2, [r5]
	ldr	r1, [r4]
	ldr	r0, [r4, #4]
	bl	bfa_reqq_produce
	ldr	r3, .L13+16
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	ldr	r3, .L13+20
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L14:
	.align	2
.L13:
	.word	BFI_MC_DIAG
	.word	BFI_DIAG_H2I_QTEST
	.word	BFI_LMSG_PL_WSZ
	.word	QTEST_PAT_DEFAULT
	.word	BFA_STATUS_OK
	.word	BFA_STATUS_DEVBUSY
	.size	bfa_fcdiag_queuetest_send, .-bfa_fcdiag_queuetest_send
	.comm	QTEST_PAT_DEFAULT,4,4
	.comm	BFI_MC_DIAG,4,4
	.comm	BFI_LMSG_PL_WSZ,4,4
	.comm	BFI_DIAG_H2I_QTEST,4,4
	.comm	BFA_STATUS_OK,4,4
	.comm	BFA_STATUS_DEVBUSY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
