	.file	"extr_ambassador.c_fill_rx_pool.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"fill_rx_pool %p %hu %x"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"failed to allocate skb for RX pool %hu"
	.align 8
.LC2:
	.string	"allocated skb at %p, head %p, area %li"
	.text
	.p2align 4
	.type	fill_rx_pool, @function
fill_rx_pool:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r8, rdx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	movzx	r12d, sil
	mov	rdx, r13
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ecx, r12d
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movzx	ebx, sil
	lea	rsi, .LC0[rip]
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	edi, DWORD PTR DBG_FLOW[rip]
	or	edi, DWORD PTR DBG_POOL[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	PRINTD@PLT
	mov	edi, DWORD PTR dead[rip]
	lea	rsi, 32[r13]
	call	test_bit@PLT
	test	rax, rax
	jne	.L1
	sal	rbx, 5
	mov	r15, rsp
	add	rbx, QWORD PTR 24[r13]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L18:
	cmp	rax, QWORD PTR 16[rbx]
	jge	.L1
	mov	edi, DWORD PTR 24[rbx]
	mov	rsi, r14
	call	alloc_skb@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L15
	mov	rdi, QWORD PTR 8[rax]
	mov	esi, DWORD PTR 16[rax]
	call	check_area@PLT
	mov	rdi, rbp
	test	rax, rax
	jne	.L16
	call	skb_end_offset@PLT
	movzx	ecx, BYTE PTR 0[rbp]
	mov	rdx, rbp
	mov	edi, DWORD PTR DBG_SKB[rip]
	mov	r8, rax
	lea	rsi, .LC2[rip]
	xor	eax, eax
	call	PRINTD@PLT
	mov	rdi, rbp
	call	virt_to_bus@PLT
	mov	rdi, QWORD PTR 8[rbp]
	mov	DWORD PTR 4[rsp], eax
	call	virt_to_bus@PLT
	mov	edi, eax
	call	cpu_to_be32@PLT
	mov	edx, r12d
	mov	rsi, r15
	mov	rdi, r13
	mov	DWORD PTR [rsp], eax
	call	rx_give@PLT
	test	rax, rax
	jne	.L17
.L7:
	mov	rax, QWORD PTR [rbx]
	cmp	rax, QWORD PTR 8[rbx]
	jl	.L18
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L19
	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
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	edi, DWORD PTR DBG_SKB[rip]
	mov	edx, r12d
	or	edi, DWORD PTR DBG_POOL[rip]
	xor	eax, eax
	lea	rsi, .LC1[rip]
	call	PRINTD@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	call	dev_kfree_skb_any@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	mov	rdi, rbp
	call	dev_kfree_skb_any@PLT
	jmp	.L7
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	fill_rx_pool, .-fill_rx_pool
	.comm	dead,4,4
	.comm	DBG_SKB,4,4
	.comm	DBG_POOL,4,4
	.comm	DBG_FLOW,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_ambassador.c_fill_rx_pool.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"fill_rx_pool %p %hu %x\000"
	.align	2
.LC1:
	.ascii	"failed to allocate skb for RX pool %hu\000"
	.align	2
.LC2:
	.ascii	"allocated skb at %p, head %p, area %li\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fill_rx_pool, %function
fill_rx_pool:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r6, r0
	mov	r7, r1
	ldr	r3, .L20
	sub	sp, sp, #28
	ldr	r0, [r3]
	ldr	r3, .L20+4
	ldr	ip, .L20+8
	ldr	r1, [r3]
	mov	r8, r2
	str	r2, [sp]
	mov	r3, r7
	mov	r2, r6
	orr	r0, r0, r1
	ldr	r1, .L20+12
	ldr	ip, [ip]
	str	ip, [sp, #20]
	mov	ip,#0
	bl	PRINTD
	ldr	r3, .L20+16
	add	r1, r6, #16
	ldr	r0, [r3]
	bl	test_bit
	cmp	r0, #0
	bne	.L1
	ldr	r5, [r6, #12]
	ldr	r9, .L20+20
	add	r5, r5, r7, lsl #4
	b	.L7
.L18:
	ldr	r2, [r5, #8]
	cmp	r3, r2
	bge	.L1
	mov	r1, r8
	ldr	r0, [r5, #12]
	bl	alloc_skb
	subs	r4, r0, #0
	beq	.L15
	ldmib	r4, {r0, r1}
	bl	check_area
	cmp	r0, #0
	mov	r0, r4
	bne	.L16
	ldr	r3, .L20+24
	ldrb	r10, [r4]	@ zero_extendqisi2
	ldr	fp, [r3]
	bl	skb_end_offset
	mov	r2, r4
	mov	r1, r9
	mov	r3, r10
	str	r0, [sp]
	mov	r0, fp
	bl	PRINTD
	mov	r0, r4
	bl	virt_to_bus
	mov	r3, r0
	ldr	r0, [r4, #4]
	str	r3, [sp, #16]
	bl	virt_to_bus
	bl	cpu_to_be32
	mov	r3, r0
	mov	r2, r7
	mov	r0, r6
	add	r1, sp, #12
	str	r3, [sp, #12]
	bl	rx_give
	cmp	r0, #0
	bne	.L17
.L7:
	ldr	r3, [r5]
	ldr	r2, [r5, #4]
	cmp	r3, r2
	blt	.L18
.L1:
	ldr	r3, .L20+8
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L15:
	ldr	r2, .L20+24
	ldr	r3, .L20+4
	ldr	r0, [r2]
	ldr	r3, [r3]
	mov	r2, r7
	ldr	r1, .L20+28
	orr	r0, r0, r3
	bl	PRINTD
	b	.L1
.L16:
	bl	dev_kfree_skb_any
	b	.L1
.L17:
	mov	r0, r4
	bl	dev_kfree_skb_any
	b	.L7
.L19:
	bl	__stack_chk_fail
.L21:
	.align	2
.L20:
	.word	DBG_FLOW
	.word	DBG_POOL
	.word	.LC3
	.word	.LC0
	.word	dead
	.word	.LC2
	.word	DBG_SKB
	.word	.LC1
	.size	fill_rx_pool, .-fill_rx_pool
	.comm	dead,4,4
	.comm	DBG_SKB,4,4
	.comm	DBG_POOL,4,4
	.comm	DBG_FLOW,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
