	.file	"extr_edac_mc_sysfs.c_mci_reset_counters_store.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mci_reset_counters_store, @function
mci_reset_counters_store:
.LFB0:
	.cfi_startproc
	endbr64
	mov	r10, rdx
	mov	edx, DWORD PTR [rdi]
	mov	QWORD PTR 40[rdi], 0
	mov	QWORD PTR 32[rdi], 0
	mov	QWORD PTR 24[rdi], 0
	mov	QWORD PTR 16[rdi], 0
	test	edx, edx
	jle	.L2
	mov	rax, QWORD PTR 8[rdi]
	lea	r9d, -1[rdx]
	sal	r9, 5
	lea	r8, 32[rax]
	add	r9, r8
	.p2align 4,,10
	.p2align 3
.L5:
	mov	esi, DWORD PTR [rax]
	mov	QWORD PTR 24[rax], 0
	mov	QWORD PTR 16[rax], 0
	test	esi, esi
	jle	.L3
	mov	rcx, QWORD PTR 8[rax]
	sub	esi, 1
	lea	rax, 8[rcx]
	lea	rsi, [rax+rsi*8]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L9:
	add	rax, 8
.L4:
	mov	QWORD PTR [rcx], 0
	mov	rcx, rax
	cmp	rax, rsi
	jne	.L9
.L3:
	mov	rax, r8
	cmp	r8, r9
	je	.L2
	add	r8, 32
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L2:
	mov	eax, DWORD PTR jiffies[rip]
	mov	DWORD PTR 4[rdi], eax
	mov	rax, r10
	ret
	.cfi_endproc
.LFE0:
	.size	mci_reset_counters_store, .-mci_reset_counters_store
	.comm	jiffies,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_edac_mc_sysfs.c_mci_reset_counters_store.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mci_reset_counters_store, %function
mci_reset_counters_store:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, #0
	push	{r4, r5, lr}
	mov	r5, r0
	ldr	r4, [r0]
	mov	r0, r2
	cmp	r4, ip
	str	ip, [r5, #24]
	str	ip, [r5, #20]
	str	ip, [r5, #16]
	str	ip, [r5, #12]
	ble	.L2
	ldr	lr, [r5, #8]
	add	r4, lr, r4, lsl #4
.L5:
	ldr	r1, [lr]
	str	ip, [lr, #12]
	cmp	r1, #0
	str	ip, [lr, #8]
	ble	.L3
	ldr	r3, [lr, #4]
	sub	r3, r3, #4
	add	r1, r3, r1, lsl #2
.L4:
	str	ip, [r3, #4]!
	cmp	r3, r1
	bne	.L4
.L3:
	add	lr, lr, #16
	cmp	lr, r4
	bne	.L5
.L2:
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [r5, #4]
	pop	{r4, r5, pc}
.L11:
	.align	2
.L10:
	.word	jiffies
	.size	mci_reset_counters_store, .-mci_reset_counters_store
	.comm	jiffies,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
