	.file	"extr_crawler.c_do_lru_crawler_start.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Kicking LRU crawler off for LRU %u\n"
	.text
	.p2align 4
	.type	do_lru_crawler_start, @function
do_lru_crawler_start:
.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
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	lea	rbp, 0[0+rdi*4]
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rdi, QWORD PTR lru_locks[rip]
	add	rdi, rbp
	call	pthread_mutex_lock@PLT
	lea	rax, 0[rbp+rbx]
	mov	rdi, QWORD PTR crawlers[rip]
	lea	r13, [rbx+rax*2]
	sal	r13, 3
	add	rdi, r13
	mov	eax, DWORD PTR [rdi]
	test	eax, eax
	je	.L2
	mov	rdi, QWORD PTR lru_locks[rip]
	add	rdi, rbp
	call	pthread_mutex_unlock@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	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
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	cmp	DWORD PTR settings[rip], 2
	jg	.L11
.L4:
	cmp	QWORD PTR LRU_CRAWLER_CAP_REMAINING[rip], r12
	mov	QWORD PTR 80[rdi], 0
	mov	QWORD PTR 72[rdi], 0
	mov	DWORD PTR [rdi], 1
	mov	QWORD PTR 64[rdi], 0
	mov	QWORD PTR 56[rdi], 0
	mov	QWORD PTR 48[rdi], 0
	je	.L12
.L5:
	cmp	r12, 1
	mov	QWORD PTR 16[rdi], rbx
	sbb	r12, -1
	mov	QWORD PTR 40[rdi], 0
	mov	QWORD PTR 8[rdi], r12
	mov	QWORD PTR 32[rdi], 0
	mov	QWORD PTR 24[rdi], 0
	call	do_item_linktail_q@PLT
	mov	rdi, QWORD PTR lru_locks[rip]
	add	DWORD PTR crawler_count[rip], 1
	add	rdi, rbp
	call	pthread_mutex_unlock@PLT
	xor	eax, eax
	call	STATS_LOCK@PLT
	xor	eax, eax
	add	DWORD PTR stats[rip], 1
	mov	DWORD PTR stats_state[rip], 1
	call	STATS_UNLOCK@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, 1
	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
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	edi, DWORD PTR stderr[rip]
	mov	rdx, rbx
	lea	rsi, .LC0[rip]
	call	fprintf@PLT
	mov	rdi, QWORD PTR crawlers[rip]
	add	rdi, r13
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rdi, rbx
	call	do_get_lru_size@PLT
	mov	rdi, QWORD PTR crawlers[rip]
	mov	r12, rax
	add	rdi, r13
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	do_lru_crawler_start, .-do_lru_crawler_start
	.comm	stderr,4,4
	.comm	stats_state,4,4
	.comm	stats,4,4
	.comm	settings,4,4
	.comm	lru_locks,8,8
	.comm	crawlers,8,8
	.comm	crawler_count,4,4
	.comm	LRU_CRAWLER_CAP_REMAINING,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_crawler.c_do_lru_crawler_start.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Kicking LRU crawler off for LRU %u\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_lru_crawler_start, %function
do_lru_crawler_start:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r0
	ldr	r7, .L14
	lsl	r6, r0, #2
	ldr	r0, [r7]
	ldr	r8, .L14+4
	add	r0, r0, r4, lsl #2
	mov	r5, r1
	bl	pthread_mutex_lock
	add	r0, r6, r4
	ldr	r3, [r8]
	add	r0, r4, r0, lsl #1
	lsl	r9, r0, #2
	ldr	r2, [r3, r9]
	add	r0, r3, r0, lsl #2
	cmp	r2, #0
	beq	.L2
	ldr	r0, [r7]
	add	r0, r0, r6
	bl	pthread_mutex_unlock
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	ldr	r3, .L14+8
	ldr	r3, [r3]
	cmp	r3, #2
	bgt	.L12
.L4:
	mov	r3, #0
	mov	r2, #1
	ldr	r1, .L14+12
	str	r3, [r0, #40]
	ldr	r1, [r1]
	str	r3, [r0, #36]
	cmp	r1, r5
	str	r3, [r0, #32]
	str	r3, [r0, #28]
	str	r3, [r0, #24]
	str	r2, [r0]
	beq	.L13
.L5:
	mov	r3, #0
	mov	r8, #1
	cmp	r5, #0
	addne	r5, r5, #1
	str	r5, [r0, #4]
	str	r4, [r0, #8]
	str	r3, [r0, #20]
	str	r3, [r0, #16]
	str	r3, [r0, #12]
	bl	do_item_linktail_q
	ldr	r2, .L14+16
	ldr	r0, [r7]
	ldr	r3, [r2]
	add	r0, r0, r6
	add	r3, r3, r8
	str	r3, [r2]
	bl	pthread_mutex_unlock
	bl	STATS_LOCK
	ldr	r2, .L14+20
	ldr	r1, .L14+24
	ldr	r3, [r2]
	str	r8, [r1]
	add	r3, r3, r8
	str	r3, [r2]
	bl	STATS_UNLOCK
	mov	r0, r8
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L12:
	ldr	r3, .L14+28
	mov	r2, r4
	ldr	r0, [r3]
	ldr	r1, .L14+32
	bl	fprintf
	ldr	r0, [r8]
	add	r0, r0, r9
	b	.L4
.L13:
	mov	r0, r4
	bl	do_get_lru_size
	mov	r5, r0
	ldr	r0, [r8]
	add	r0, r0, r9
	b	.L5
.L15:
	.align	2
.L14:
	.word	lru_locks
	.word	crawlers
	.word	settings
	.word	LRU_CRAWLER_CAP_REMAINING
	.word	crawler_count
	.word	stats
	.word	stats_state
	.word	stderr
	.word	.LC0
	.size	do_lru_crawler_start, .-do_lru_crawler_start
	.comm	stderr,4,4
	.comm	stats_state,4,4
	.comm	stats,4,4
	.comm	settings,4,4
	.comm	lru_locks,4,4
	.comm	crawlers,4,4
	.comm	crawler_count,4,4
	.comm	LRU_CRAWLER_CAP_REMAINING,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
