	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs_base__dag_delete        ## -- Begin function svn_fs_base__dag_delete
	.p2align	4, 0x90
_svn_fs_base__dag_delete:               ## @svn_fs_base__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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rsi, %r15
	movq	$0, -56(%rbp)
	movq	(%rdi), %rax
	movq	_svn_node_dir@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.3:
	movq	%r8, %r12
	movq	%rdx, %rbx
	movq	%rdi, %r13
	movq	8(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rsi
	callq	_svn_fs_base__dag_check_mutable
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movq	%r15, %rdi
	callq	_svn_path_is_single_path_component
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movl	16(%r13), %edx
	leaq	-72(%rbp), %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rcx
	movq	%r12, %r8
	callq	_svn_fs_bdb__get_node_revision
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-72(%rbp), %rax
	movq	%r14, %rbx
	movq	(%rax), %r14
	testq	%r14, %r14
	je	LBB0_8
## %bb.9:
	leaq	-64(%rbp), %rdi
	movq	%r14, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	%rbx, %r8
	movq	%r12, %r9
	callq	_svn_fs_base__get_mutable_rep
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-64(%rbp), %rdi
	movq	%r14, %rsi
	callq	_svn_fs_base__same_keys
	testl	%eax, %eax
	jne	LBB0_11
## %bb.10:
	movq	-64(%rbp), %rax
	movq	-72(%rbp), %rcx
	movq	%rax, (%rcx)
	movl	16(%r13), %esi
	movq	-72(%rbp), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rcx
	movq	%r12, %r8
	callq	_svn_fs_bdb__put_node_revision
	movl	%eax, %edi
	callq	_SVN_ERR
LBB0_11:
	leaq	-104(%rbp), %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	movq	%rbx, -120(%rbp)                ## 8-byte Spill
	movq	%rbx, %rcx
	movq	%r12, %r8
	callq	_svn_fs_base__rep_contents
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	-104(%rbp), %esi
	movl	-100(%rbp), %edi
	movq	%r12, %rdx
	callq	_svn_skel__parse
	movq	%rax, -112(%rbp)
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	leaq	-56(%rbp), %rdi
	movq	%rax, %rsi
	movq	%r12, %rdx
	callq	_svn_fs_base__parse_entries_skel
	movl	%eax, %edi
	callq	_SVN_ERR
LBB0_13:
	movq	-56(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.14:
	movq	%r15, %rsi
	callq	_svn_hash_gets
	testq	%rax, %rax
	je	LBB0_8
## %bb.15:
	movq	%rax, %r14
	movq	%r13, %rdi
	callq	_svn_fs_base__dag_get_fs
	leaq	-128(%rbp), %rdi
	movl	%eax, %esi
	movq	%r14, %rdx
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rcx
	movq	%r12, %r8
	callq	_svn_fs_base__dag_get_node
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	8(%r13), %rdi
	movq	%r14, %rsi
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdx
	movq	%rbx, %rcx
	movq	%r12, %r8
	callq	_svn_fs_base__dag_delete_if_mutable
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-56(%rbp), %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_svn_hash_sets
	movq	-56(%rbp), %rsi
	leaq	-112(%rbp), %rdi
	movq	%r12, %rdx
	callq	_svn_fs_base__unparse_entries_skel
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-112(%rbp), %rdi
	movq	%r12, %rsi
	callq	_svn_skel__unparse
	movq	%rax, %r14
	movq	-64(%rbp), %rdx
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r12, (%rsp)
	leaq	-96(%rbp), %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rcx
	movq	%rbx, %r9
	callq	_svn_fs_base__rep_contents_write_stream
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	4(%r14), %eax
	movl	%eax, -76(%rbp)
	movq	-96(%rbp), %rdi
	movl	(%r14), %esi
	leaq	-76(%rbp), %rdx
	callq	_svn_stream_write
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-96(%rbp), %rdi
	callq	_svn_stream_close
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_16
LBB0_1:
	movq	_SVN_ERR_FS_NOT_DIRECTORY@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_2
LBB0_4:
	movq	_SVN_ERR_FS_NOT_MUTABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_2
LBB0_8:
	movq	_SVN_ERR_FS_NO_SUCH_ENTRY@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.3(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	movq	%r15, %rcx
	callq	_svn_error_createf
LBB0_16:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_SVN_ERR_FS_NOT_SINGLE_PATH_COMPONENT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.2(%rip), %rdi
LBB0_2:
	callq	__
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	movq	%r15, %rcx
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_svn_error_createf              ## TAILCALL
	.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	_TRUE,4,2                       ## @TRUE
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs_base__dag_delete        ; -- Begin function svn_fs_base__dag_delete
	.p2align	2
_svn_fs_base__dag_delete:               ; @svn_fs_base__dag_delete
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x19, x1
	str	xzr, [sp, #40]
	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_11
; %bb.1:
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x24, x0
	ldr	x23, [x0, #8]
	mov	x1, x2
	bl	_svn_fs_base__dag_check_mutable
	cbz	w0, LBB0_12
; %bb.2:
	mov	x0, x19
	bl	_svn_path_is_single_path_component
	cbz	w0, LBB0_15
; %bb.3:
	ldr	w2, [x24, #16]
	add	x0, sp, #56
	mov	x1, x23
	mov	x3, x21
	mov	x4, x20
	bl	_svn_fs_bdb__get_node_revision
	bl	_SVN_ERR
	ldr	x8, [sp, #56]
	ldr	x25, [x8]
	cbz	x25, LBB0_13
; %bb.4:
	add	x0, sp, #48
	mov	x1, x25
	mov	x2, x23
	mov	x3, x22
	mov	x4, x21
	mov	x5, x20
	bl	_svn_fs_base__get_mutable_rep
	bl	_SVN_ERR
	ldr	x0, [sp, #48]
	mov	x1, x25
	bl	_svn_fs_base__same_keys
	cbnz	w0, LBB0_6
; %bb.5:
	ldp	x8, x9, [sp, #48]
	str	x8, [x9]
	ldr	w1, [x24, #16]
	ldr	x2, [sp, #56]
	mov	x0, x23
	mov	x3, x21
	mov	x4, x20
	bl	_svn_fs_bdb__put_node_revision
	bl	_SVN_ERR
LBB0_6:
	add	x0, sp, #24
	mov	x1, x23
	mov	x2, x25
	mov	x3, x21
	mov	x4, x20
	bl	_svn_fs_base__rep_contents
	bl	_SVN_ERR
	ldp	w1, w0, [sp, #24]
	mov	x2, x20
	bl	_svn_skel__parse
	str	x0, [sp, #32]
	cbz	x0, LBB0_8
; %bb.7:
	mov	x1, x0
	add	x0, sp, #40
	mov	x2, x20
	bl	_svn_fs_base__parse_entries_skel
	bl	_SVN_ERR
LBB0_8:
	ldr	x0, [sp, #40]
	cbz	x0, LBB0_13
; %bb.9:
	mov	x1, x19
	bl	_svn_hash_gets
	cbz	x0, LBB0_13
; %bb.10:
	mov	x25, x0
	mov	x0, x24
	bl	_svn_fs_base__dag_get_fs
	mov	x1, x0
	add	x0, sp, #16
	mov	x2, x25
	mov	x3, x21
	mov	x4, x20
	bl	_svn_fs_base__dag_get_node
	bl	_SVN_ERR
	ldr	x0, [x24, #8]
	mov	x1, x25
	mov	x2, x22
	mov	x3, x21
	mov	x4, x20
	bl	_svn_fs_base__dag_delete_if_mutable
	bl	_SVN_ERR
	ldr	x0, [sp, #40]
	mov	x1, x19
	mov	x2, #0
	bl	_svn_hash_sets
	ldr	x1, [sp, #40]
	add	x0, sp, #32
	mov	x2, x20
	bl	_svn_fs_base__unparse_entries_skel
	bl	_SVN_ERR
	ldr	x0, [sp, #32]
	mov	x1, x20
	bl	_svn_skel__unparse
	mov	x19, x0
	ldr	x2, [sp, #48]
Lloh3:
	adrp	x8, _TRUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	add	x0, sp, #8
	mov	x1, x23
	mov	x3, x22
	mov	x5, x21
	mov	x6, x20
	bl	_svn_fs_base__rep_contents_write_stream
	bl	_SVN_ERR
	ldr	w8, [x19, #4]
	str	w8, [sp, #4]
	ldr	x0, [sp, #8]
	ldr	w1, [x19]
	add	x2, sp, #4
	bl	_svn_stream_write
	bl	_SVN_ERR
	ldr	x0, [sp, #8]
	bl	_svn_stream_close
	bl	_SVN_ERR
Lloh6:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	x0, [x8]
	b	LBB0_14
LBB0_11:
Lloh9:
	adrp	x8, _SVN_ERR_FS_NOT_DIRECTORY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SVN_ERR_FS_NOT_DIRECTORY@GOTPAGEOFF]
Lloh11:
	ldr	w20, [x8]
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_16
LBB0_12:
Lloh14:
	adrp	x8, _SVN_ERR_FS_NOT_MUTABLE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SVN_ERR_FS_NOT_MUTABLE@GOTPAGEOFF]
Lloh16:
	ldr	w20, [x8]
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_16
LBB0_13:
Lloh19:
	adrp	x8, _SVN_ERR_FS_NO_SUCH_ENTRY@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SVN_ERR_FS_NO_SUCH_ENTRY@GOTPAGEOFF]
Lloh21:
	ldr	w20, [x8]
Lloh22:
	adrp	x0, l_.str.3@PAGE
Lloh23:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	__
	mov	x2, x0
	mov	x0, x20
	mov	x1, #0
	mov	x3, x19
	bl	_svn_error_createf
LBB0_14:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_15:
Lloh24:
	adrp	x8, _SVN_ERR_FS_NOT_SINGLE_PATH_COMPONENT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SVN_ERR_FS_NOT_SINGLE_PATH_COMPONENT@GOTPAGEOFF]
Lloh26:
	ldr	w20, [x8]
Lloh27:
	adrp	x0, l_.str.2@PAGE
Lloh28:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_16:
	bl	__
	mov	x2, x0
	mov	x0, x20
	mov	x1, #0
	mov	x3, x19
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_svn_error_createf
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.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	_TRUE,4,2                       ; @TRUE
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
.subsections_via_symbols
