	.file	"extr_nmclan_cs.c_update_stats.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	update_stats, @function
update_stats:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	ebp, edi
	mov	rdi, rsi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	netdev_priv@PLT
	mov	edx, DWORD PTR MACE_RCVCC[rip]
	mov	esi, ebp
	mov	rbx, rax
	mov	rdi, rax
	call	mace_read@PLT
	add	QWORD PTR 64[rbx], rax
	mov	esi, ebp
	mov	rdi, rbx
	mov	edx, DWORD PTR MACE_RNTPC[rip]
	call	mace_read@PLT
	add	QWORD PTR 56[rbx], rax
	mov	esi, ebp
	mov	rdi, rbx
	mov	edx, DWORD PTR MACE_MPC[rip]
	call	mace_read@PLT
	add	rax, QWORD PTR 32[rbx]
	mov	edx, DWORD PTR [rbx]
	mov	QWORD PTR 32[rbx], rax
	mov	rcx, rax
	mov	eax, DWORD PTR 48[rbx]
	sal	edx, 8
	mov	DWORD PTR 104[rbx], eax
	mov	eax, DWORD PTR 8[rbx]
	movsx	rdx, edx
	add	rdx, QWORD PTR 64[rbx]
	sal	eax, 8
	mov	QWORD PTR 120[rbx], rdx
	mov	edx, DWORD PTR 4[rbx]
	cdqe
	add	rax, rcx
	sal	edx, 8
	mov	QWORD PTR 88[rbx], rax
	mov	rax, QWORD PTR 12[rbx]
	movsx	rdx, edx
	add	rdx, QWORD PTR 56[rbx]
	mov	QWORD PTR 112[rbx], rdx
	mov	rdx, QWORD PTR 40[rbx]
	mov	QWORD PTR 72[rbx], rax
	mov	rax, QWORD PTR 20[rbx]
	mov	QWORD PTR 96[rbx], rdx
	mov	QWORD PTR 80[rbx], rax
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	update_stats, .-update_stats
	.comm	MACE_RNTPC,4,4
	.comm	MACE_RCVCC,4,4
	.comm	MACE_MPC,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_nmclan_cs.c_update_stats.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	update_stats, %function
update_stats:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	mov	r0, r1
	bl	netdev_priv
	ldr	r3, .L4
	mov	r4, r0
	mov	r1, r5
	ldr	r2, [r3]
	bl	mace_read
	ldr	r3, [r4, #48]
	ldr	r2, .L4+4
	add	r3, r3, r0
	mov	r1, r5
	ldr	r2, [r2]
	str	r3, [r4, #48]
	mov	r0, r4
	bl	mace_read
	ldr	r3, [r4, #44]
	ldr	r2, .L4+8
	add	r0, r3, r0
	mov	r1, r5
	ldr	r2, [r2]
	str	r0, [r4, #44]
	mov	r0, r4
	bl	mace_read
	ldr	ip, [r4, #28]
	ldr	r3, [r4]
	ldr	r2, [r4, #48]
	add	r0, r0, ip
	add	r2, r2, r3, lsl #8
	ldr	ip, [r4, #4]
	ldr	r1, [r4, #8]
	ldr	r3, [r4, #44]
	add	r1, r0, r1, lsl #8
	add	r3, r3, ip, lsl #8
	ldr	r5, [r4, #40]
	ldr	lr, [r4, #36]
	ldr	ip, [r4, #32]
	str	r0, [r4, #28]
	str	r1, [r4, #68]
	ldr	r0, [r4, #24]
	ldr	r1, [r4, #20]
	str	r2, [r4, #88]
	str	r3, [r4, #84]
	ldr	r2, [r4, #16]
	ldr	r3, [r4, #12]
	str	r5, [r4, #80]
	str	lr, [r4, #76]
	str	ip, [r4, #72]
	str	r0, [r4, #64]
	str	r1, [r4, #60]
	str	r2, [r4, #56]
	str	r3, [r4, #52]
	pop	{r4, r5, r6, pc}
.L5:
	.align	2
.L4:
	.word	MACE_RCVCC
	.word	MACE_RNTPC
	.word	MACE_MPC
	.size	update_stats, .-update_stats
	.comm	MACE_RNTPC,4,4
	.comm	MACE_RCVCC,4,4
	.comm	MACE_MPC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
