	.file	"extr_extstore.c_extstore_delete.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	extstore_delete
	.type	extstore_delete, @function
extstore_delete:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	esi, esi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, r8d
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, ecx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR 8[rdi]
	mov	QWORD PTR 8[rsp], rdx
	lea	rdx, [rsi+rsi*2]
	lea	rbx, [rax+rdx*8]
	lea	r15, 16[rbx]
	mov	rdi, r15
	call	pthread_mutex_lock@PLT
	mov	r14d, DWORD PTR 20[rbx]
	test	r14d, r14d
	jne	.L6
	mov	rax, QWORD PTR 8[rsp]
	cmp	QWORD PTR [rbx], rax
	jne	.L6
	mov	edx, DWORD PTR 8[rbx]
	mov	rdi, rbp
	mov	eax, edx
	sub	eax, r13d
	cmp	edx, r13d
	mov	edx, DWORD PTR 12[rbx]
	cmovb	eax, r14d
	mov	DWORD PTR 8[rbx], eax
	mov	eax, edx
	sub	eax, r12d
	cmp	edx, r12d
	cmovb	eax, r14d
	mov	DWORD PTR 12[rbx], eax
	call	STAT_L@PLT
	sub	DWORD PTR 0[rbp], r13d
	mov	rdi, rbp
	sub	DWORD PTR 4[rbp], r12d
	call	STAT_UL@PLT
	mov	eax, DWORD PTR 12[rbx]
	test	eax, eax
	je	.L11
.L2:
	mov	rdi, r15
	call	pthread_mutex_unlock@PLT
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r14d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rdi, rbp
	call	extstore_run_maint@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L6:
	mov	r14d, -1
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	extstore_delete, .-extstore_delete
	.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_extstore.c_extstore_delete.c"
	.text
	.align	2
	.global	extstore_delete
	.syntax unified
	.arm
	.fpu softvfp
	.type	extstore_delete, %function
extstore_delete:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r9, [r0, #8]
	add	r1, r1, r1, lsl #2
	add	r6, r9, r1, lsl #2
	add	fp, r6, #12
	mov	r4, r0
	mov	r0, fp
	mov	r10, r2
	mov	r7, r3
	lsl	r5, r1, #2
	bl	pthread_mutex_lock
	ldr	r8, [r6, #16]
	cmp	r8, #0
	bne	.L6
	ldr	r3, [r9, r5]
	cmp	r3, r10
	bne	.L6
	ldr	r2, [sp, #40]
	ldr	r3, [r6, #4]
	mov	r0, r4
	cmp	r3, r2
	subcs	r2, r3, r2
	ldr	r3, [r6, #8]
	movcc	r2, r8
	cmp	r3, r7
	movcc	r3, #0
	subcs	r3, r3, r7
	str	r2, [r6, #4]
	str	r3, [r6, #8]
	bl	STAT_L
	ldm	r4, {r2, r3}
	ldr	r1, [sp, #40]
	sub	r7, r3, r7
	sub	r9, r2, r1
	mov	r0, r4
	str	r9, [r4]
	str	r7, [r4, #4]
	bl	STAT_UL
	ldr	r3, [r6, #8]
	cmp	r3, #0
	beq	.L11
.L2:
	mov	r0, fp
	bl	pthread_mutex_unlock
	mov	r0, r8
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L11:
	mov	r0, r4
	bl	extstore_run_maint
	b	.L2
.L6:
	mvn	r8, #0
	b	.L2
	.size	extstore_delete, .-extstore_delete
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
