	.file	"extr_ethernet-mem.c_cvm_oct_mem_empty_fpa.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Warning: Freeing of pool %u had too many mbufs (%d)\n"
	.align 8
.LC1:
	.string	"Warning: Freeing of pool %u is missing %d mbufs\n"
	.text
	.p2align 4
	.globl	cvm_oct_mem_empty_fpa
	.type	cvm_oct_mem_empty_fpa, @function
cvm_oct_mem_empty_fpa:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, edi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
.L3:
	xor	eax, eax
	mov	edi, ebp
	call	cvmx_fpa_alloc@PLT
	test	eax, eax
	jne	.L11
	test	r12d, r12d
	js	.L12
	jne	.L13
	add	rsp, 8
	.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
.L11:
	.cfi_restore_state
	cdqe
	sub	r12d, 1
	mov	rdi, QWORD PTR -8[rax]
	xor	eax, eax
	call	m_freem@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L13:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	edx, r12d
	mov	esi, ebp
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	lea	rdi, .LC1[rip]
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	printf@PLT
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	edx, r12d
	mov	esi, ebp
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	lea	rdi, .LC0[rip]
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	printf@PLT
	.cfi_endproc
.LFE0:
	.size	cvm_oct_mem_empty_fpa, .-cvm_oct_mem_empty_fpa
	.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_ethernet-mem.c_cvm_oct_mem_empty_fpa.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Warning: Freeing of pool %u had too many mbufs (%d)"
	.ascii	"\012\000"
	.align	2
.LC1:
	.ascii	"Warning: Freeing of pool %u is missing %d mbufs\012"
	.ascii	"\000"
	.text
	.align	2
	.global	cvm_oct_mem_empty_fpa
	.syntax unified
	.arm
	.fpu softvfp
	.type	cvm_oct_mem_empty_fpa, %function
cvm_oct_mem_empty_fpa:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	mov	r5, r2
.L3:
	mov	r0, r4
	bl	cvmx_fpa_alloc
	cmp	r0, #0
	bne	.L10
	cmp	r5, #0
	blt	.L11
	popeq	{r4, r5, r6, pc}
	mov	r2, r5
	mov	r1, r4
	pop	{r4, r5, r6, lr}
	ldr	r0, .L12
	b	printf
.L10:
	ldr	r0, [r0, #-4]
	sub	r5, r5, #1
	bl	m_freem
	b	.L3
.L11:
	mov	r2, r5
	mov	r1, r4
	pop	{r4, r5, r6, lr}
	ldr	r0, .L12+4
	b	printf
.L13:
	.align	2
.L12:
	.word	.LC1
	.word	.LC0
	.size	cvm_oct_mem_empty_fpa, .-cvm_oct_mem_empty_fpa
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
