	.file	"extr_tree.c_x_delete_node.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"The root directory cannot be deleted"
	.text
	.p2align 4
	.type	x_delete_node, @function
x_delete_node:
.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
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	mov	rdi, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	svn_pool_create@PLT
	mov	ecx, DWORD PTR 8[r12]
	test	ecx, ecx
	je	.L13
	mov	rdi, r12
	mov	rbp, rax
	call	svn_fs_x__root_txn_id@PLT
	mov	rdi, rsp
	sub	rsp, 8
	.cfi_def_cfa_offset 88
	mov	rdx, r13
	push	rbp
	.cfi_def_cfa_offset 96
	mov	r8d, DWORD PTR TRUE[rip]
	mov	rsi, r12
	mov	r9, rbp
	xor	ecx, ecx
	mov	r14d, eax
	call	svn_fs_x__get_dag_path@PLT
	mov	edi, eax
	call	SVN_ERR@PLT
	mov	rax, QWORD PTR 16[rsp]
	mov	edi, DWORD PTR 12[rax]
	call	svn_fs_x__dag_node_kind@PLT
	mov	r15d, eax
	mov	rax, QWORD PTR 16[rsp]
	mov	rsi, QWORD PTR [rax]
	pop	rax
	.cfi_def_cfa_offset 88
	pop	rdx
	.cfi_def_cfa_offset 80
	test	rsi, rsi
	je	.L14
	mov	eax, DWORD PTR [r12]
	test	DWORD PTR SVN_FS_TXN_CHECK_LOCKS[rip], eax
	jne	.L15
.L5:
	mov	r8, rbp
	mov	rcx, rbp
	mov	rdx, r13
	mov	rdi, r12
	call	svn_fs_x__make_path_mutable@PLT
	mov	edi, eax
	call	SVN_ERR@PLT
	mov	rax, QWORD PTR [rsp]
	mov	edi, DWORD PTR 12[rax]
	call	svn_fs_x__dag_get_mergeinfo_count@PLT
	mov	rcx, rbp
	mov	edx, r14d
	mov	ebx, eax
	mov	rax, QWORD PTR [rsp]
	mov	esi, DWORD PTR 8[rax]
	mov	rax, QWORD PTR [rax]
	mov	edi, DWORD PTR [rax]
	call	svn_fs_x__dag_delete@PLT
	mov	edi, eax
	call	SVN_ERR@PLT
	mov	rdi, QWORD PTR [rsp]
	mov	rsi, rbp
	call	parent_path_path@PLT
	mov	rdi, r12
	mov	esi, eax
	call	svn_fs_x__invalidate_dag_cache@PLT
	test	ebx, ebx
	jg	.L16
.L6:
	mov	eax, DWORD PTR SVN_INVALID_REVNUM[rip]
	sub	rsp, 8
	.cfi_def_cfa_offset 88
	mov	rdx, r13
	mov	esi, r14d
	mov	r8d, DWORD PTR FALSE[rip]
	mov	ecx, DWORD PTR svn_fs_path_change_delete[rip]
	push	rbp
	.cfi_def_cfa_offset 96
	push	0
	.cfi_def_cfa_offset 104
	mov	edi, DWORD PTR 4[r12]
	push	rax
	.cfi_def_cfa_offset 112
	mov	r9d, r8d
	push	r15
	.cfi_def_cfa_offset 120
	push	r8
	.cfi_def_cfa_offset 128
	call	add_change@PLT
	add	rsp, 48
	.cfi_def_cfa_offset 80
	mov	edi, eax
	call	SVN_ERR@PLT
	mov	rdi, rbp
	call	svn_pool_destroy@PLT
	mov	rax, QWORD PTR SVN_NO_ERROR[rip]
.L1:
	mov	rbx, QWORD PTR 8[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L17
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L16:
	.cfi_restore_state
	mov	rax, QWORD PTR [rsp]
	neg	ebx
	mov	rdx, rbp
	mov	esi, ebx
	mov	rdi, QWORD PTR [rax]
	call	increment_mergeinfo_up_tree@PLT
	mov	edi, eax
	call	SVN_ERR@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rdi, r12
	call	SVN_FS__NOT_TXN@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	mov	esi, DWORD PTR 4[r12]
	mov	ecx, DWORD PTR FALSE[rip]
	mov	r8, rbp
	mov	rdi, r13
	mov	edx, DWORD PTR TRUE[rip]
	call	svn_fs_x__allow_locked_operation@PLT
	mov	edi, eax
	call	SVN_ERR@PLT
	mov	rax, QWORD PTR [rsp]
	mov	rsi, QWORD PTR [rax]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L14:
	lea	rdi, .LC0[rip]
	call	_@PLT
	mov	edi, DWORD PTR SVN_ERR_FS_ROOT_DIR[rip]
	xor	esi, esi
	mov	edx, eax
	call	svn_error_create@PLT
	jmp	.L1
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	x_delete_node, .-x_delete_node
	.comm	svn_fs_path_change_delete,4,4
	.comm	TRUE,4,4
	.comm	SVN_NO_ERROR,8,8
	.comm	SVN_INVALID_REVNUM,4,4
	.comm	SVN_FS_TXN_CHECK_LOCKS,4,4
	.comm	SVN_ERR_FS_ROOT_DIR,4,4
	.comm	FALSE,4,4
	.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_tree.c_x_delete_node.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"The root directory cannot be deleted\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	x_delete_node, %function
x_delete_node:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r0
	ldr	r3, .L17
	sub	sp, sp, #48
	mov	r0, r2
	ldr	r3, [r3]
	str	r3, [sp, #44]
	mov	r3,#0
	mov	r6, r1
	bl	svn_pool_create
	ldr	r3, [r5, #8]
	cmp	r3, #0
	beq	.L13
	mov	r4, r0
	mov	r0, r5
	bl	svn_fs_x__root_txn_id
	ldr	r8, .L17+4
	str	r4, [sp, #8]
	ldr	r3, [r8]
	mov	r1, r5
	mov	r2, r6
	stm	sp, {r3, r4}
	mov	r7, r0
	mov	r3, #0
	add	r0, sp, #40
	bl	svn_fs_x__get_dag_path
	bl	SVN_ERR
	ldr	r3, [sp, #40]
	ldr	r0, [r3, #8]
	bl	svn_fs_x__dag_node_kind
	ldr	r3, [sp, #40]
	mov	r9, r0
	ldr	r1, [r3]
	cmp	r1, #0
	beq	.L14
	ldr	r3, .L17+8
	ldr	r2, [r5]
	ldr	r3, [r3]
	ldr	r10, .L17+12
	tst	r2, r3
	bne	.L10
.L5:
	mov	r2, r6
	mov	r3, r4
	mov	r0, r5
	str	r4, [sp]
	bl	svn_fs_x__make_path_mutable
	bl	SVN_ERR
	ldr	r3, [sp, #40]
	ldr	r0, [r3, #8]
	bl	svn_fs_x__dag_get_mergeinfo_count
	ldr	r2, [sp, #40]
	mov	r3, r4
	mov	r8, r0
	ldm	r2, {r0, r1}
	mov	r2, r7
	ldr	r0, [r0]
	bl	svn_fs_x__dag_delete
	bl	SVN_ERR
	mov	r1, r4
	ldr	r0, [sp, #40]
	bl	parent_path_path
	mov	r1, r0
	mov	r0, r5
	bl	svn_fs_x__invalidate_dag_cache
	cmp	r8, #0
	bgt	.L15
.L6:
	mov	ip, #0
	ldr	r2, .L17+16
	ldr	r3, [r10]
	ldr	lr, [r2]
	str	r3, [sp, #8]
	str	r3, [sp, #4]
	str	r3, [sp]
	str	r4, [sp, #24]
	str	r9, [sp, #12]
	ldr	r3, .L17+20
	ldr	r0, [r5, #4]
	str	lr, [sp, #16]
	str	ip, [sp, #20]
	ldr	r3, [r3]
	mov	r2, r6
	mov	r1, r7
	bl	add_change
	bl	SVN_ERR
	mov	r0, r4
	bl	svn_pool_destroy
	ldr	r3, .L17+24
	ldr	r0, [r3]
.L1:
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	add	sp, sp, #48
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L15:
	ldr	r3, [sp, #40]
	mov	r2, r4
	ldr	r0, [r3]
	rsb	r1, r8, #0
	bl	increment_mergeinfo_up_tree
	bl	SVN_ERR
	b	.L6
.L13:
	mov	r0, r5
	bl	SVN_FS__NOT_TXN
	b	.L1
.L10:
	str	r4, [sp]
	ldr	r3, [r10]
	ldr	r1, [r5, #4]
	ldr	r2, [r8]
	mov	r0, r6
	bl	svn_fs_x__allow_locked_operation
	bl	SVN_ERR
	ldr	r3, [sp, #40]
	ldr	r1, [r3]
	b	.L5
.L14:
	ldr	r3, .L17+28
	ldr	r0, .L17+32
	ldr	r4, [r3]
	str	r1, [sp, #36]
	bl	_
	ldr	r1, [sp, #36]
	mov	r2, r0
	mov	r0, r4
	bl	svn_error_create
	b	.L1
.L16:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	.LC1
	.word	TRUE
	.word	SVN_FS_TXN_CHECK_LOCKS
	.word	FALSE
	.word	SVN_INVALID_REVNUM
	.word	svn_fs_path_change_delete
	.word	SVN_NO_ERROR
	.word	SVN_ERR_FS_ROOT_DIR
	.word	.LC0
	.size	x_delete_node, .-x_delete_node
	.comm	svn_fs_path_change_delete,4,4
	.comm	TRUE,4,4
	.comm	SVN_NO_ERROR,4,4
	.comm	SVN_INVALID_REVNUM,4,4
	.comm	SVN_FS_TXN_CHECK_LOCKS,4,4
	.comm	SVN_ERR_FS_ROOT_DIR,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
