	.file	"extr_lru_cache.c_lc_reset.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	lc_reset
	.type	lc_reset, @function
lc_reset:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	add	rdi, 104
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	lea	r13, 16[rbp]
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	INIT_LIST_HEAD@PLT
	lea	rdi, 100[rbp]
	call	INIT_LIST_HEAD@PLT
	mov	rdi, r13
	call	INIT_LIST_HEAD@PLT
	lea	rdi, 96[rbp]
	call	INIT_LIST_HEAD@PLT
	mov	eax, DWORD PTR 8[rbp]
	xor	esi, esi
	mov	QWORD PTR 88[rbp], 0
	mov	QWORD PTR 80[rbp], 0
	mov	rdi, QWORD PTR 0[rbp]
	mov	QWORD PTR 72[rbp], 0
	lea	edx, 0[0+rax*4]
	mov	QWORD PTR 64[rbp], 0
	mov	QWORD PTR 56[rbp], 0
	mov	QWORD PTR 48[rbp], 0
	mov	QWORD PTR 40[rbp], 0
	mov	QWORD PTR 32[rbp], 0
	call	memset@PLT
	mov	eax, DWORD PTR 8[rbp]
	test	eax, eax
	je	.L1
	xor	r12d, r12d
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rax, QWORD PTR 24[rbp]
	mov	edx, r12d
	xor	esi, esi
	mov	rbx, QWORD PTR [rax+rdx*8]
	movsx	rax, DWORD PTR 20[rbp]
	mov	edx, DWORD PTR 12[rbp]
	mov	rdi, rbx
	sub	rdi, rax
	call	memset@PLT
	mov	DWORD PTR [rbx], r12d
	lea	rdi, 4[rbx]
	mov	rsi, r13
	mov	rax, QWORD PTR LC_FREE[rip]
	add	r12d, 1
	mov	QWORD PTR 16[rbx], rax
	mov	QWORD PTR 8[rbx], rax
	call	list_add@PLT
	cmp	DWORD PTR 8[rbp], r12d
	ja	.L3
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	lc_reset, .-lc_reset
	.comm	LC_FREE,8,8
	.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_lru_cache.c_lc_reset.c"
	.text
	.align	2
	.global	lc_reset
	.syntax unified
	.arm
	.fpu softvfp
	.type	lc_reset, %function
lc_reset:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	mov	r4, #0
	add	r0, r0, #64
	bl	INIT_LIST_HEAD
	add	r7, r5, #12
	add	r0, r5, #60
	bl	INIT_LIST_HEAD
	mov	r0, r7
	bl	INIT_LIST_HEAD
	add	r0, r5, #56
	bl	INIT_LIST_HEAD
	ldr	r2, [r5, #4]
	mov	r1, r4
	ldr	r0, [r5]
	str	r4, [r5, #52]
	lsl	r2, r2, #2
	str	r4, [r5, #48]
	str	r4, [r5, #44]
	str	r4, [r5, #40]
	str	r4, [r5, #36]
	str	r4, [r5, #32]
	str	r4, [r5, #28]
	str	r4, [r5, #24]
	bl	memset
	ldr	r3, [r5, #4]
	cmp	r3, r4
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r8, .L10
.L3:
	ldr	r3, [r5, #20]
	ldr	r0, [r5, #16]
	ldr	r6, [r3, r4, lsl #2]
	mov	r1, #0
	ldr	r2, [r5, #8]
	sub	r0, r6, r0
	bl	memset
	ldr	r3, [r8]
	mov	r1, r7
	str	r4, [r6]
	str	r3, [r6, #12]
	str	r3, [r6, #8]
	add	r0, r6, #4
	bl	list_add
	ldr	r3, [r5, #4]
	add	r4, r4, #1
	cmp	r3, r4
	bhi	.L3
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	.align	2
.L10:
	.word	LC_FREE
	.size	lc_reset, .-lc_reset
	.comm	LC_FREE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
