	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function x_delete_node
_x_delete_node:                         ## @x_delete_node
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rdx, %rdi
	callq	_svn_pool_create
	cmpl	$0, 8(%rbx)
	je	LBB0_9
## %bb.1:
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_svn_fs_x__root_txn_id
	movl	%eax, %r12d
	movq	_TRUE@GOTPCREL(%rip), %r13
	movl	(%r13), %r8d
	subq	$8, %rsp
	leaq	-48(%rbp), %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	movq	%r15, %r9
	pushq	%r15
	callq	_svn_fs_x__get_dag_path
	addq	$16, %rsp
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-48(%rbp), %rax
	movl	12(%rax), %edi
	callq	_svn_fs_x__dag_node_kind
                                        ## kill: def $eax killed $eax def $rax
	movq	-48(%rbp), %rcx
	movq	(%rcx), %rsi
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.3:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_SVN_FS_TXN_CHECK_LOCKS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_5
## %bb.4:
	movl	4(%rbx), %esi
	movl	(%r13), %edx
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%r15, %r8
	callq	_svn_fs_x__allow_locked_operation
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-48(%rbp), %rax
	movq	(%rax), %rsi
LBB0_5:
	movq	%rbx, %rdi
	movq	%r14, %rdx
	movq	%r15, %rcx
	movq	%r15, %r8
	callq	_svn_fs_x__make_path_mutable
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-48(%rbp), %rax
	movl	12(%rax), %edi
	callq	_svn_fs_x__dag_get_mergeinfo_count
	movl	%eax, %r13d
	movq	-48(%rbp), %rax
	movq	(%rax), %rcx
	movl	(%rcx), %edi
	movl	8(%rax), %esi
	movl	%r12d, %edx
	movq	%r15, %rcx
	callq	_svn_fs_x__dag_delete
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-48(%rbp), %rdi
	movq	%r15, %rsi
	callq	_parent_path_path
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_svn_fs_x__invalidate_dag_cache
	testl	%r13d, %r13d
	jle	LBB0_7
## %bb.6:
	movq	-48(%rbp), %rax
	movq	(%rax), %rdi
	negl	%r13d
	movl	%r13d, %esi
	movq	%r15, %rdx
	callq	_increment_mergeinfo_up_tree
	movl	%eax, %edi
	callq	_SVN_ERR
LBB0_7:
	movl	4(%rbx), %edi
	movq	_svn_fs_path_change_delete@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_SVN_INVALID_REVNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	movl	%r12d, %esi
	movq	%r14, %rdx
	movl	%r8d, %r9d
	pushq	%r15
	pushq	$0
	pushq	%rax
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	pushq	%r8
	callq	_add_change
	addq	$48, %rsp
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	%r15, %rdi
	callq	_svn_pool_destroy
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_8
LBB0_9:
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SVN_FS__NOT_TXN                ## TAILCALL
LBB0_2:
	movq	_SVN_ERR_FS_ROOT_DIR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_svn_error_create
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_SVN_ERR_FS_ROOT_DIR,4,2        ## @SVN_ERR_FS_ROOT_DIR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"The root directory cannot be deleted"

	.comm	_SVN_FS_TXN_CHECK_LOCKS,4,2     ## @SVN_FS_TXN_CHECK_LOCKS
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_svn_fs_path_change_delete,4,2  ## @svn_fs_path_change_delete
	.comm	_SVN_INVALID_REVNUM,4,2         ## @SVN_INVALID_REVNUM
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.no_dead_strip	_x_delete_node
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function x_delete_node
_x_delete_node:                         ; @x_delete_node
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	mov	x21, x0
	mov	x0, x2
	bl	_svn_pool_create
	ldr	w8, [x21, #8]
	cbz	w8, LBB0_7
; %bb.1:
	mov	x19, x0
	mov	x0, x21
	bl	_svn_fs_x__root_txn_id
	mov	x22, x0
Lloh0:
	adrp	x24, _TRUE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _TRUE@GOTPAGEOFF]
	ldr	w4, [x24]
	add	x0, sp, #24
	mov	x1, x21
	mov	x2, x20
	mov	w3, #0
	mov	x5, x19
	mov	x6, x19
	bl	_svn_fs_x__get_dag_path
	bl	_SVN_ERR
	ldr	x8, [sp, #24]
	ldr	w0, [x8, #12]
	bl	_svn_fs_x__dag_node_kind
	ldr	x8, [sp, #24]
	ldr	x1, [x8]
	cbz	x1, LBB0_8
; %bb.2:
	mov	x23, x0
	ldr	w8, [x21]
Lloh2:
	adrp	x9, _SVN_FS_TXN_CHECK_LOCKS@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SVN_FS_TXN_CHECK_LOCKS@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	adrp	x25, _FALSE@GOTPAGE
Lloh6:
	ldr	x25, [x25, _FALSE@GOTPAGEOFF]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	ldr	w1, [x21, #4]
	ldr	w2, [x24]
	ldr	w3, [x25]
	mov	x0, x20
	mov	x4, x19
	bl	_svn_fs_x__allow_locked_operation
	bl	_SVN_ERR
	ldr	x8, [sp, #24]
	ldr	x1, [x8]
LBB0_4:
	mov	x0, x21
	mov	x2, x20
	mov	x3, x19
	mov	x4, x19
	bl	_svn_fs_x__make_path_mutable
	bl	_SVN_ERR
	ldr	x8, [sp, #24]
	ldr	w0, [x8, #12]
	bl	_svn_fs_x__dag_get_mergeinfo_count
	mov	x24, x0
	ldr	x8, [sp, #24]
	ldr	x9, [x8]
	ldr	w0, [x9]
	ldr	w1, [x8, #8]
	mov	x2, x22
	mov	x3, x19
	bl	_svn_fs_x__dag_delete
	bl	_SVN_ERR
	ldr	x0, [sp, #24]
	mov	x1, x19
	bl	_parent_path_path
	mov	x1, x0
	mov	x0, x21
	bl	_svn_fs_x__invalidate_dag_cache
	cmp	w24, #1
	b.lt	LBB0_6
; %bb.5:
	ldr	x8, [sp, #24]
	ldr	x0, [x8]
	neg	w1, w24
	mov	x2, x19
	bl	_increment_mergeinfo_up_tree
	bl	_SVN_ERR
LBB0_6:
Lloh7:
	adrp	x8, _svn_fs_path_change_delete@GOTPAGE
Lloh8:
	ldr	x8, [x8, _svn_fs_path_change_delete@GOTPAGEOFF]
	ldr	w0, [x21, #4]
Lloh9:
	ldr	w3, [x8]
	ldr	w4, [x25]
Lloh10:
	adrp	x8, _SVN_INVALID_REVNUM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SVN_INVALID_REVNUM@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	stp	xzr, x19, [sp, #8]
	str	w8, [sp]
	mov	x1, x22
	mov	x2, x20
	mov	x5, x4
	mov	x6, x4
	mov	x7, x23
	bl	_add_change
	bl	_SVN_ERR
	mov	x0, x19
	bl	_svn_pool_destroy
Lloh13:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh15:
	ldr	x0, [x8]
	b	LBB0_9
LBB0_7:
	mov	x0, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_SVN_FS__NOT_TXN
LBB0_8:
Lloh16:
	adrp	x8, _SVN_ERR_FS_ROOT_DIR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SVN_ERR_FS_ROOT_DIR@GOTPAGEOFF]
Lloh18:
	ldr	w19, [x8]
Lloh19:
	adrp	x0, l_.str@PAGE
Lloh20:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x2, x0
	mov	x0, x19
	mov	x1, #0
	bl	_svn_error_create
LBB0_9:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_SVN_ERR_FS_ROOT_DIR,4,2        ; @SVN_ERR_FS_ROOT_DIR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"The root directory cannot be deleted"

	.comm	_SVN_FS_TXN_CHECK_LOCKS,4,2     ; @SVN_FS_TXN_CHECK_LOCKS
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_svn_fs_path_change_delete,4,2  ; @svn_fs_path_change_delete
	.comm	_SVN_INVALID_REVNUM,4,2         ; @SVN_INVALID_REVNUM
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.no_dead_strip	_x_delete_node
.subsections_via_symbols
