	.file	"extr_qlcnic_ethtool.c_qlcnic_update_stats.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	qlcnic_update_stats
	.type	qlcnic_update_stats, @function
qlcnic_update_stats:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	edx, 20
	mov	rbx, rdi
	xor	esi, esi
	sub	rsp, 32
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	rdi, rsp
	call	memset@PLT
	mov	edx, DWORD PTR [rbx]
	mov	r9d, DWORD PTR 16[rsp]
	mov	r8d, DWORD PTR 12[rsp]
	mov	edi, DWORD PTR 8[rsp]
	mov	esi, DWORD PTR 4[rsp]
	mov	ecx, DWORD PTR [rsp]
	test	edx, edx
	jle	.L3
	mov	rax, QWORD PTR 24[rbx]
	sub	edx, 1
	lea	r10, [rdx+rdx*4]
	lea	rdx, 40[rax]
	lea	r10, [rdx+r10*8]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L9:
	add	rdx, 40
.L4:
	add	r9d, DWORD PTR 32[rax]
	add	r8d, DWORD PTR 24[rax]
	add	edi, DWORD PTR 16[rax]
	add	esi, DWORD PTR 8[rax]
	add	ecx, DWORD PTR [rax]
	mov	rax, rdx
	cmp	r10, rdx
	jne	.L9
.L3:
	mov	DWORD PTR 20[rbx], r9d
	mov	DWORD PTR 16[rbx], r8d
	mov	DWORD PTR 12[rbx], edi
	mov	DWORD PTR 8[rbx], esi
	mov	DWORD PTR 4[rbx], ecx
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L10
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
.L10:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	qlcnic_update_stats, .-qlcnic_update_stats
	.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_qlcnic_ethtool.c_qlcnic_update_stats.c"
	.text
	.align	2
	.global	qlcnic_update_stats
	.syntax unified
	.arm
	.fpu softvfp
	.type	qlcnic_update_stats, %function
qlcnic_update_stats:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r2, #0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r10, [r0]
	mov	r1, r2
	cmp	r10, #0
	mov	ip, r2
	mov	lr, r2
	mov	r4, r2
	ble	.L2
	ldr	r3, [r0, #24]
	add	r10, r10, r10, lsl #2
	add	r10, r3, r10, lsl #2
.L3:
	ldmib	r3, {r6, r7, r8, r9}
	ldr	r5, [r3], #20
	add	r4, r4, r9
	cmp	r10, r3
	add	lr, lr, r8
	add	ip, ip, r7
	add	r1, r1, r6
	add	r2, r2, r5
	bne	.L3
.L2:
	str	r4, [r0, #20]
	str	lr, [r0, #16]
	str	ip, [r0, #12]
	str	r1, [r0, #8]
	str	r2, [r0, #4]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
	.size	qlcnic_update_stats, .-qlcnic_update_stats
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
