	.file	"extr_xlpge.c_nlm_xlpge_rx.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"cpu %d: ERR Rx packet paddr %jx, temp %p, mag %lx\n"
	.text
	.p2align 4
	.type	nlm_xlpge_rx, @function
nlm_xlpge_rx:
.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
	mov	r13d, ecx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	r15, QWORD PTR 16[rdi]
	mov	rdi, rdx
	sub	rdi, QWORD PTR NAE_CACHELINE_SIZE[rip]
	call	nlm_paddr_ld@PLT
	mov	rdi, rbx
	sub	rdi, QWORD PTR NAE_CACHELINE_SIZE[rip]
	add	rdi, 4
	mov	rbp, rax
	call	nlm_paddr_ld@PLT
	cmp	rax, 15731629
	jne	.L7
	cmp	QWORD PTR 8[r12], 0
	mov	QWORD PTR 16[rbp], r15
	jne	.L8
	mov	DWORD PTR 4[rbp], r13d
	mov	DWORD PTR 8[rbp], r13d
.L4:
	mov	esi, DWORD PTR IFCOUNTER_IPACKETS[rip]
	mov	rdi, r15
	mov	edx, 1
	call	if_inc_counter@PLT
	mov	rax, QWORD PTR [r15]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rsi, rbp
	pop	rbx
	.cfi_def_cfa_offset 48
	mov	rdi, r15
	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
	jmp	rax
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	eax, DWORD PTR [r12]
	add	eax, 1
	sal	eax, 4
	add	DWORD PTR 0[rbp], eax
	sub	r13d, eax
	mov	DWORD PTR 4[rbp], r13d
	mov	DWORD PTR 8[rbp], r13d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L7:
	mov	r14, rax
	xor	eax, eax
	call	nlm_cpuid@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 56
	mov	r8, r14
	mov	rcx, rbp
	mov	esi, eax
	mov	edx, ebx
	lea	rdi, .LC0[rip]
	pop	rbx
	.cfi_def_cfa_offset 48
	xor	eax, eax
	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
	jmp	printf@PLT
	.cfi_endproc
.LFE0:
	.size	nlm_xlpge_rx, .-nlm_xlpge_rx
	.comm	NAE_CACHELINE_SIZE,8,8
	.comm	IFCOUNTER_IPACKETS,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_xlpge.c_nlm_xlpge_rx.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"cpu %d: ERR Rx packet paddr %jx, temp %p, mag %lx\012"
	.ascii	"\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nlm_xlpge_rx, %function
nlm_xlpge_rx:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r6, r0
	ldr	r8, .L10
	sub	sp, sp, #12
	ldr	r0, [r8]
	mov	r5, r2
	sub	r0, r2, r0
	mov	r7, r3
	ldr	r9, [r6, #8]
	bl	nlm_paddr_ld
	ldr	r2, [r8]
	mov	r4, r0
	sub	r0, r5, r2
	add	r0, r0, #4
	bl	nlm_paddr_ld
	ldr	r3, .L10+4
	cmp	r0, r3
	bne	.L9
	ldr	r3, [r6, #4]
	mov	r0, r9
	cmp	r3, #0
	ldrne	r2, [r6]
	ldrne	r1, [r4]
	addne	r2, r2, #1
	ldr	r3, .L10+8
	subne	r7, r7, r2, lsl #4
	addne	r2, r1, r2, lsl #4
	strne	r2, [r4]
	ldr	r1, [r3]
	mov	r2, #1
	str	r9, [r4, #12]
	strne	r7, [r4, #4]
	strne	r7, [r4, #8]
	streq	r7, [r4, #4]
	streq	r7, [r4, #8]
	bl	if_inc_counter
	mov	r1, r4
	mov	r0, r9
	ldr	r3, [r9]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, lr}
	bx	r3
.L9:
	mov	r8, r0
	bl	nlm_cpuid
	mov	r3, r4
	mov	r1, r0
	mov	r2, r5
	str	r8, [sp]
	ldr	r0, .L10+12
	bl	printf
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L11:
	.align	2
.L10:
	.word	NAE_CACHELINE_SIZE
	.word	15731629
	.word	IFCOUNTER_IPACKETS
	.word	.LC0
	.size	nlm_xlpge_rx, .-nlm_xlpge_rx
	.comm	NAE_CACHELINE_SIZE,4,4
	.comm	IFCOUNTER_IPACKETS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
