	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs_fs__dag_delete          ## -- Begin function svn_fs_fs__dag_delete
	.p2align	4, 0x90
_svn_fs_fs__dag_delete:                 ## @svn_fs_fs__dag_delete
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rsi, %r12
	movq	(%rdi), %rax
	movq	_svn_node_dir@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.3:
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movq	8(%rdi), %r13
	callq	_svn_fs_fs__dag_check_mutable
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movq	%r12, %rdi
	callq	_svn_path_is_single_path_component
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	leaq	-48(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_get_node_revision
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	%r15, %rdi
	callq	_svn_pool_create
	movq	%rax, %r14
	movq	-48(%rbp), %rdx
	leaq	-64(%rbp), %rdi
	movq	%r13, %rsi
	movq	%r12, %rcx
	movq	%rax, %r8
	movq	%rax, %r9
	callq	_svn_fs_fs__rep_contents_dir_entry
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-64(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_svn_fs_fs__id_copy
	movq	%rax, %r13
	movq	%r14, %rdi
	callq	_svn_pool_destroy
	movq	8(%rbx), %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	callq	_svn_fs_fs__dag_delete_if_mutable
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	8(%rbx), %rdi
	movq	-48(%rbp), %rdx
	movq	_svn_node_unknown@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r15, (%rsp)
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rcx
	xorl	%r8d, %r8d
	callq	_svn_fs_fs__set_entry
	jmp	LBB0_10
LBB0_1:
	movq	_SVN_ERR_FS_NOT_DIRECTORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_2
LBB0_4:
	movq	_SVN_ERR_FS_NOT_MUTABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_2
LBB0_6:
	movq	_SVN_ERR_FS_NOT_SINGLE_PATH_COMPONENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rdx
LBB0_2:
	xorl	%esi, %esi
	movq	%r12, %rcx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_svn_error_createf              ## TAILCALL
LBB0_8:
	movq	_SVN_ERR_FS_NO_SUCH_ENTRY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rdx
	xorl	%esi, %esi
	movq	%r12, %rcx
	callq	_svn_error_createf
LBB0_10:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_svn_node_dir,8,3               ## @svn_node_dir
	.comm	_SVN_ERR_FS_NOT_DIRECTORY,4,2   ## @SVN_ERR_FS_NOT_DIRECTORY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Attempted to delete entry '%s' from *non*-directory node"

	.comm	_SVN_ERR_FS_NOT_MUTABLE,4,2     ## @SVN_ERR_FS_NOT_MUTABLE
L_.str.1:                               ## @.str.1
	.asciz	"Attempted to delete entry '%s' from immutable directory node"

	.comm	_SVN_ERR_FS_NOT_SINGLE_PATH_COMPONENT,4,2 ## @SVN_ERR_FS_NOT_SINGLE_PATH_COMPONENT
L_.str.2:                               ## @.str.2
	.asciz	"Attempted to delete a node with an illegal name '%s'"

	.comm	_SVN_ERR_FS_NO_SUCH_ENTRY,4,2   ## @SVN_ERR_FS_NO_SUCH_ENTRY
L_.str.3:                               ## @.str.3
	.asciz	"Delete failed--directory has no entry '%s'"

	.comm	_svn_node_unknown,4,2           ## @svn_node_unknown
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs_fs__dag_delete          ; -- Begin function svn_fs_fs__dag_delete
	.p2align	2
_svn_fs_fs__dag_delete:                 ; @svn_fs_fs__dag_delete
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _svn_node_dir@GOTPAGE
Lloh1:
	ldr	x9, [x9, _svn_node_dir@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
	mov	x20, x3
	mov	x21, x2
	mov	x22, x0
	ldr	x23, [x0, #8]
	bl	_svn_fs_fs__dag_check_mutable
	cbz	w0, LBB0_6
; %bb.2:
	mov	x0, x19
	bl	_svn_path_is_single_path_component
	cbz	w0, LBB0_7
; %bb.3:
	add	x0, sp, #8
	mov	x1, x22
	bl	_get_node_revision
	bl	_SVN_ERR
	mov	x0, x20
	bl	_svn_pool_create
	mov	x24, x0
	ldr	x2, [sp, #8]
	mov	x0, sp
	mov	x1, x23
	mov	x3, x19
	mov	x4, x24
	mov	x5, x24
	bl	_svn_fs_fs__rep_contents_dir_entry
	bl	_SVN_ERR
	ldr	x8, [sp]
	cbz	x8, LBB0_9
; %bb.4:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_svn_fs_fs__id_copy
	mov	x23, x0
	mov	x0, x24
	bl	_svn_pool_destroy
	ldr	x0, [x22, #8]
	mov	x1, x23
	mov	x2, x20
	bl	_svn_fs_fs__dag_delete_if_mutable
	bl	_SVN_ERR
	ldr	x0, [x22, #8]
	ldr	x2, [sp, #8]
Lloh3:
	adrp	x8, _svn_node_unknown@GOTPAGE
Lloh4:
	ldr	x8, [x8, _svn_node_unknown@GOTPAGEOFF]
Lloh5:
	ldr	w5, [x8]
	mov	x1, x21
	mov	x3, x19
	mov	x4, #0
	mov	x6, x20
	bl	_svn_fs_fs__set_entry
	b	LBB0_10
LBB0_5:
Lloh6:
	adrp	x8, _SVN_ERR_FS_NOT_DIRECTORY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SVN_ERR_FS_NOT_DIRECTORY@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_8
LBB0_6:
Lloh11:
	adrp	x8, _SVN_ERR_FS_NOT_MUTABLE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SVN_ERR_FS_NOT_MUTABLE@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x2, l_.str.1@PAGE
Lloh15:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_7:
Lloh16:
	adrp	x8, _SVN_ERR_FS_NOT_SINGLE_PATH_COMPONENT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SVN_ERR_FS_NOT_SINGLE_PATH_COMPONENT@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x2, l_.str.2@PAGE
Lloh20:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_8:
	mov	x1, #0
	mov	x3, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_svn_error_createf
LBB0_9:
Lloh21:
	adrp	x8, _SVN_ERR_FS_NO_SUCH_ENTRY@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SVN_ERR_FS_NO_SUCH_ENTRY@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
Lloh24:
	adrp	x2, l_.str.3@PAGE
Lloh25:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x1, #0
	mov	x3, x19
	bl	_svn_error_createf
LBB0_10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_svn_node_dir,8,3               ; @svn_node_dir
	.comm	_SVN_ERR_FS_NOT_DIRECTORY,4,2   ; @SVN_ERR_FS_NOT_DIRECTORY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Attempted to delete entry '%s' from *non*-directory node"

	.comm	_SVN_ERR_FS_NOT_MUTABLE,4,2     ; @SVN_ERR_FS_NOT_MUTABLE
l_.str.1:                               ; @.str.1
	.asciz	"Attempted to delete entry '%s' from immutable directory node"

	.comm	_SVN_ERR_FS_NOT_SINGLE_PATH_COMPONENT,4,2 ; @SVN_ERR_FS_NOT_SINGLE_PATH_COMPONENT
l_.str.2:                               ; @.str.2
	.asciz	"Attempted to delete a node with an illegal name '%s'"

	.comm	_SVN_ERR_FS_NO_SUCH_ENTRY,4,2   ; @SVN_ERR_FS_NO_SUCH_ENTRY
l_.str.3:                               ; @.str.3
	.asciz	"Delete failed--directory has no entry '%s'"

	.comm	_svn_node_unknown,4,2           ; @svn_node_unknown
.subsections_via_symbols
