	.file	"extr_pmemcached-data.c_tree_delete_prefix.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	tree_delete_prefix
	.type	tree_delete_prefix, @function
tree_delete_prefix:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	test	rdi, rdi
	je	.L10
	mov	eax, r8d
	mov	r15, rsi
	mov	rbp, rdi
	mov	r14d, edx
	sar	eax, 31
	mov	r12d, ecx
	mov	r13d, r8d
	mov	esi, eax
	xor	esi, r8d
	sub	esi, eax
	mov	eax, ecx
	sar	eax, 31
	mov	edi, eax
	xor	edi, ecx
	sub	edi, eax
	call	min@PLT
	mov	esi, r14d
	mov	rdi, r15
	mov	r8, rax
	mov	rax, QWORD PTR 0[rbp]
	sub	r8, 1
	mov	edx, DWORD PTR 4[rax]
	mov	ecx, DWORD PTR [rax]
	call	mystrcmp2@PLT
	xor	edi, edi
	test	r12d, r12d
	mov	ebx, eax
	setg	dil
	call	assert@PLT
	lea	eax, 2[r14]
	test	ebx, ebx
	cmove	ebx, eax
	test	ebx, ebx
	js	.L11
	cmp	ebx, r12d
	jg	.L11
.L4:
	test	ebx, ebx
	jle	.L6
	test	r13d, r13d
	jg	.L7
	mov	eax, r13d
	neg	eax
	cmp	eax, ebx
	jg	.L7
.L8:
	mov	rax, QWORD PTR 0[rbp]
	mov	eax, DWORD PTR [rax]
	mov	edx, eax
	neg	edx
	cmp	edx, ebx
	jg	.L9
	mov	r12, rbp
	cmp	eax, ebx
	jge	.L1
.L9:
	mov	rsi, QWORD PTR 8[rbp]
	mov	rdi, QWORD PTR 16[rbp]
	call	tree_merge@PLT
	mov	rdi, QWORD PTR 0[rbp]
	mov	r12, rax
	call	free_wildcard_entry@PLT
	mov	rdi, rbp
	call	free_tree_node@PLT
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r12
	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
.L6:
	.cfi_restore_state
	jne	.L8
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rdi, QWORD PTR 8[rbp]
	mov	r8d, r13d
	mov	ecx, ebx
	mov	edx, r14d
	mov	rsi, r15
	call	tree_delete_prefix
	mov	QWORD PTR 8[rbp], rax
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rdi, QWORD PTR 16[rbp]
	mov	r8d, ebx
	mov	ecx, r12d
	mov	edx, r14d
	neg	r8d
	mov	rsi, r15
	call	tree_delete_prefix
	mov	QWORD PTR 16[rbp], rax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L10:
	xor	r12d, r12d
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	tree_delete_prefix, .-tree_delete_prefix
	.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_pmemcached-data.c_tree_delete_prefix.c"
	.text
	.align	2
	.global	tree_delete_prefix
	.syntax unified
	.arm
	.fpu softvfp
	.type	tree_delete_prefix, %function
tree_delete_prefix:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	subs	r4, r0, #0
	sub	sp, sp, #8
	ldr	r9, [sp, #40]
	beq	.L9
	mov	r6, r3
	mov	r8, r1
	ldr	r3, [r4]
	eor	r1, r9, r9, asr #31
	eor	r0, r6, r6, asr #31
	sub	r1, r1, r9, asr #31
	sub	r0, r0, r6, asr #31
	mov	r7, r2
	ldr	r5, [r3, #4]
	ldr	r10, [r3]
	bl	min
	sub	r0, r0, #1
	mov	r3, r10
	mov	r2, r5
	mov	r1, r7
	str	r0, [sp]
	mov	r0, r8
	bl	mystrcmp2
	mov	r5, r0
	cmp	r6, #0
	movle	r0, #0
	movgt	r0, #1
	bl	assert
	cmp	r5, #0
	addeq	r5, r7, #2
	cmp	r5, r6
	movle	r3, #0
	movgt	r3, #1
	orrs	r3, r3, r5, lsr #31
	bne	.L15
.L4:
	cmp	r5, #0
	ble	.L5
	cmp	r9, #0
	bgt	.L6
	rsb	r3, r9, #0
	cmp	r3, r5
	bgt	.L6
.L7:
	ldr	r3, [r4]
	ldr	r3, [r3]
	cmp	r3, r5
	movge	r0, #0
	movlt	r0, #1
	rsb	r3, r3, #0
	cmp	r3, r5
	movle	r3, r0
	orrgt	r3, r0, #1
	cmp	r3, #0
	beq	.L9
.L8:
	ldr	r1, [r4, #4]
	ldr	r0, [r4, #8]
	bl	tree_merge
	mov	r5, r0
	ldr	r0, [r4]
	bl	free_wildcard_entry
	mov	r0, r4
	bl	free_tree_node
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L5:
	bne	.L7
	b	.L8
.L6:
	str	r9, [sp]
	mov	r2, r7
	mov	r1, r8
	mov	r3, r5
	ldr	r0, [r4, #4]
	bl	tree_delete_prefix
	str	r0, [r4, #4]
	b	.L7
.L9:
	mov	r5, r4
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L15:
	rsb	r2, r5, #0
	str	r2, [sp]
	mov	r3, r6
	mov	r2, r7
	mov	r1, r8
	ldr	r0, [r4, #8]
	bl	tree_delete_prefix
	str	r0, [r4, #8]
	b	.L4
	.size	tree_delete_prefix, .-tree_delete_prefix
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
