	.file	"extr_dm-cache-policy-smq.c_l_add_before.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	l_add_before, @function
l_add_before:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rsi
	mov	rsi, rdx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdx
	call	l_prev@PLT
	test	rax, rax
	je	.L6
	mov	r13, rax
	mov	rax, QWORD PTR 8[rbx]
	mov	rsi, rbx
	mov	rdi, rbp
	mov	QWORD PTR 8[r12], rax
	call	to_index@PLT
	mov	rsi, r12
	mov	rdi, rbp
	mov	QWORD PTR 16[r12], rax
	call	to_index@PLT
	mov	QWORD PTR 8[rbx], rax
	mov	QWORD PTR 16[r13], rax
	mov	eax, DWORD PTR [r12]
	test	eax, eax
	jne	.L1
	add	DWORD PTR [r14], 1
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	rdx, r12
	mov	rsi, r14
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	l_add_head@PLT
	.cfi_endproc
.LFE0:
	.size	l_add_before, .-l_add_before
	.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_dm-cache-policy-smq.c_l_add_before.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	l_add_before, %function
l_add_before:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r8, r1
	mov	r1, r2
	mov	r4, r2
	mov	r5, r3
	mov	r7, r0
	bl	l_prev
	subs	r6, r0, #0
	beq	.L6
	ldr	r3, [r4, #4]
	mov	r1, r4
	str	r3, [r5, #4]
	mov	r0, r7
	bl	to_index
	mov	r1, r5
	str	r0, [r5, #8]
	mov	r0, r7
	bl	to_index
	ldr	r3, [r5]
	str	r0, [r4, #4]
	cmp	r3, #0
	str	r0, [r6, #8]
	ldreq	r3, [r8]
	addeq	r3, r3, #1
	streq	r3, [r8]
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	mov	r2, r5
	mov	r1, r8
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, lr}
	b	l_add_head
	.size	l_add_before, .-l_add_before
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
