	.file	"extr_xlpge.c_nlm_xlpge_submit_rx_free_desc.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Cannot allocate mbuf\n"
.LC1:
	.string	"Bad ptr for %p\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"Too many credit fails for send free desc"
	.text
	.p2align 4
	.globl	nlm_xlpge_submit_rx_free_desc
	.type	nlm_xlpge_submit_rx_free_desc, @function
nlm_xlpge_submit_rx_free_desc:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	test	esi, esi
	jle	.L1
	mov	r12, rdi
	mov	r14d, esi
	xor	r13d, r13d
	mov	rbp, rsp
	.p2align 4,,10
	.p2align 3
.L7:
	mov	edx, 8
	xor	esi, esi
	mov	rdi, rbp
	call	memset@PLT
	xor	eax, eax
	call	get_buf@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L17
	mov	r15, QWORD PTR [rsp]
	mov	rdi, rax
	call	vtophys@PLT
	mov	QWORD PTR [r15], rax
	mov	rax, QWORD PTR [rsp]
	cmp	QWORD PTR [rax], 0
	je	.L18
	mov	ebx, 10002
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L20:
	sub	ebx, 1
	je	.L19
.L5:
	mov	edi, DWORD PTR [r12]
	xor	edx, edx
	mov	rcx, rbp
	mov	esi, 1
	call	nlm_fmn_msgsend@PLT
	test	eax, eax
	jne	.L20
	add	r13d, 1
	cmp	r14d, r13d
	jne	.L7
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L21
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
.L19:
	.cfi_restore_state
	lea	rdi, .LC2[rip]
	add	r13d, 1
	call	puts@PLT
	cmp	r14d, r13d
	jne	.L7
	jmp	.L1
.L17:
	mov	edi, DWORD PTR 4[r12]
	lea	rsi, .LC0[rip]
	call	device_printf@PLT
	jmp	.L1
.L18:
	mov	rsi, rbx
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	printf@PLT
	jmp	.L1
.L21:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	nlm_xlpge_submit_rx_free_desc, .-nlm_xlpge_submit_rx_free_desc
	.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_xlpge.c_nlm_xlpge_submit_rx_free_desc.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Cannot allocate mbuf\012\000"
	.align	2
.LC1:
	.ascii	"Bad ptr for %p\012\000"
	.align	2
.LC2:
	.ascii	"Too many credit fails for send free desc\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	nlm_xlpge_submit_rx_free_desc
	.syntax unified
	.arm
	.fpu softvfp
	.type	nlm_xlpge_submit_rx_free_desc, %function
nlm_xlpge_submit_rx_free_desc:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r3, .L22
	sub	sp, sp, #8
	subs	r7, r1, #0
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	ble	.L1
	mov	r6, #0
	mov	r5, r0
	mov	r8, r6
	ldr	r9, .L22+4
.L7:
	str	r8, [sp]
	bl	get_buf
	subs	r4, r0, #0
	beq	.L17
	ldr	r10, [sp]
	bl	vtophys
	ldr	r3, [sp]
	str	r0, [r10]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L18
	ldr	r4, .L22+8
	b	.L5
.L20:
	subs	r4, r4, #1
	beq	.L19
.L5:
	mov	r3, sp
	mov	r2, #0
	mov	r1, #1
	ldr	r0, [r5]
	bl	nlm_fmn_msgsend
	cmp	r0, #0
	bne	.L20
	add	r6, r6, #1
	cmp	r7, r6
	bne	.L7
.L1:
	ldr	r3, .L22
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L21
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L19:
	mov	r0, r9
	add	r6, r6, #1
	bl	puts
	cmp	r7, r6
	bne	.L7
	b	.L1
.L17:
	ldr	r0, [r5, #4]
	ldr	r1, .L22+12
	bl	device_printf
	b	.L1
.L18:
	mov	r1, r4
	ldr	r0, .L22+16
	bl	printf
	b	.L1
.L21:
	bl	__stack_chk_fail
.L23:
	.align	2
.L22:
	.word	.LC3
	.word	.LC2
	.word	10002
	.word	.LC0
	.word	.LC1
	.size	nlm_xlpge_submit_rx_free_desc, .-nlm_xlpge_submit_rx_free_desc
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
