	.file	"extr_bfa_core.c_bfa_iocfc_start_submod.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	bfa_iocfc_start_submod, @function
bfa_iocfc_start_submod:
.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
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR BFA_TRUE[rip]
	mov	QWORD PTR 8[rdi], rax
	mov	eax, DWORD PTR BFI_IOC_MAX_CQS[rip]
	test	eax, eax
	jle	.L2
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L3:
	mov	esi, ebx
	mov	rdi, rbp
	call	bfa_rspq_ci@PLT
	mov	esi, ebx
	mov	rdi, rbp
	add	ebx, 1
	mov	edx, eax
	call	bfa_isr_rspq_ack@PLT
	cmp	DWORD PTR BFI_IOC_MAX_CQS[rip], ebx
	jg	.L3
.L2:
	mov	rax, QWORD PTR hal_mods[rip]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L4
	mov	ebx, 8
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdi, rbp
	call	[QWORD PTR [rax]]
	mov	rax, QWORD PTR hal_mods[rip]
	mov	rax, QWORD PTR [rax+rbx]
	add	rbx, 8
	test	rax, rax
	jne	.L5
.L4:
	mov	rax, QWORD PTR BFA_TRUE[rip]
	mov	QWORD PTR 0[rbp], rax
	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_iocfc_start_submod, .-bfa_iocfc_start_submod
	.comm	hal_mods,8,8
	.comm	BFI_IOC_MAX_CQS,4,4
	.comm	BFA_TRUE,8,8
	.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_core.c_bfa_iocfc_start_submod.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bfa_iocfc_start_submod, %function
bfa_iocfc_start_submod:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r7, .L13
	ldr	r6, .L13+4
	ldr	r2, [r7]
	ldr	r3, [r6]
	cmp	r2, #0
	mov	r5, r0
	str	r3, [r0, #4]
	ble	.L2
	mov	r4, #0
.L3:
	mov	r1, r4
	mov	r0, r5
	bl	bfa_rspq_ci
	mov	r1, r4
	mov	r2, r0
	mov	r0, r5
	bl	bfa_isr_rspq_ack
	ldr	r3, [r7]
	add	r4, r4, #1
	cmp	r3, r4
	bgt	.L3
.L2:
	ldr	r7, .L13+8
	ldr	r3, [r7]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L4
	mov	r4, #4
.L5:
	ldr	r3, [r3]
	mov	r0, r5
	blx	r3
	ldr	r3, [r7]
	ldr	r3, [r3, r4]
	add	r4, r4, #4
	cmp	r3, #0
	bne	.L5
.L4:
	ldr	r3, [r6]
	str	r3, [r5]
	pop	{r4, r5, r6, r7, r8, pc}
.L14:
	.align	2
.L13:
	.word	BFI_IOC_MAX_CQS
	.word	BFA_TRUE
	.word	hal_mods
	.size	bfa_iocfc_start_submod, .-bfa_iocfc_start_submod
	.comm	hal_mods,4,4
	.comm	BFI_IOC_MAX_CQS,4,4
	.comm	BFA_TRUE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
