	.file	"extr_bfa_svc.c_bfa_fcxp_res_recfg.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	bfa_fcxp_res_recfg
	.type	bfa_fcxp_res_recfg, @function
bfa_fcxp_res_recfg:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	BFA_FCXP_MOD@PLT
	mov	rbx, rax
	mov	eax, DWORD PTR [rax]
	sub	eax, ebp
	test	eax, eax
	jle	.L1
	xor	r14d, r14d
	mov	r12, rsp
	lea	r13, 8[rbx]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L10:
	lea	rdi, 16[rbx]
	mov	rsi, r12
	add	r14d, 1
	call	bfa_q_deq_tail@PLT
	mov	rdi, QWORD PTR [rsp]
	lea	rsi, 12[rbx]
	call	list_add_tail@PLT
	mov	eax, DWORD PTR [rbx]
	sub	eax, ebp
	cmp	eax, r14d
	jle	.L1
.L5:
	sar	eax
	cmp	eax, r14d
	jg	.L10
	mov	rsi, r12
	mov	rdi, r13
	add	r14d, 1
	call	bfa_q_deq_tail@PLT
	mov	rdi, QWORD PTR [rsp]
	lea	rsi, 4[rbx]
	call	list_add_tail@PLT
	mov	eax, DWORD PTR [rbx]
	sub	eax, ebp
	cmp	eax, r14d
	jg	.L5
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L11
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
.L11:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	bfa_fcxp_res_recfg, .-bfa_fcxp_res_recfg
	.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_fcxp_res_recfg.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	bfa_fcxp_res_recfg
	.syntax unified
	.arm
	.fpu softvfp
	.type	bfa_fcxp_res_recfg, %function
bfa_fcxp_res_recfg:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r3, .L12
	sub	sp, sp, #12
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	mov	r6, r1
	bl	BFA_FCXP_MOD
	ldr	r3, [r0]
	sub	r3, r3, r6
	cmp	r3, #0
	ble	.L1
	mov	r5, r0
	mov	r4, #0
	add	r9, r0, #8
	add	r8, r0, #4
	add	r7, r0, #16
	b	.L5
.L10:
	mov	r0, r7
	bl	bfa_q_deq_tail
	ldr	r0, [sp]
	add	r1, r5, #12
	bl	list_add_tail
.L4:
	ldr	r3, [r5]
	add	r4, r4, #1
	sub	r3, r3, r6
	cmp	r3, r4
	ble	.L1
.L5:
	cmp	r4, r3, asr #1
	mov	r1, sp
	blt	.L10
	mov	r0, r9
	bl	bfa_q_deq_tail
	mov	r1, r8
	ldr	r0, [sp]
	bl	list_add_tail
	b	.L4
.L1:
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	.LC0
	.size	bfa_fcxp_res_recfg, .-bfa_fcxp_res_recfg
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
