	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs_base__dag_get_edit_stream ## -- Begin function svn_fs_base__dag_get_edit_stream
	.p2align	4, 0x90
_svn_fs_base__dag_get_edit_stream:      ## @svn_fs_base__dag_get_edit_stream
	.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, %r12
	movq	(%rsi), %rax
	movq	_svn_node_file@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.3:
	movq	%r8, %rbx
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	16(%rsi), %r13
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	callq	_svn_fs_base__dag_check_mutable
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movl	8(%r14), %edx
	leaq	-48(%rbp), %rdi
	movq	%r13, %rsi
	movq	%r12, %rcx
	movq	%rbx, %r8
	callq	_svn_fs_bdb__get_node_revision
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-48(%rbp), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.6:
	movq	%r13, %rdi
	movq	%r15, %rdx
	movq	%r12, %rcx
	movq	%rbx, %r8
	callq	_svn_fs_base__delete_rep_if_mutable
	movl	%eax, %edi
	callq	_SVN_ERR
LBB0_7:
	leaq	-56(%rbp), %rdi
	xorl	%esi, %esi
	movq	%r13, %rdx
	movq	%r15, %rcx
	movq	%r12, %r8
	movq	%rbx, %r9
	callq	_svn_fs_base__get_mutable_rep
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-56(%rbp), %rax
	movq	-48(%rbp), %rcx
	movq	%rax, (%rcx)
	movl	8(%r14), %esi
	movq	-48(%rbp), %rdx
	movq	%r13, %rdi
	movq	%r12, %rcx
	movq	%rbx, %r8
	callq	_svn_fs_bdb__put_node_revision
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-56(%rbp), %rdx
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, (%rsp)
	leaq	-72(%rbp), %rdi
	movq	%r13, %rsi
	movq	%r15, %rcx
	movq	%r12, %r9
	callq	_svn_fs_base__rep_contents_write_stream
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-72(%rbp), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_SVN_ERR_FS_NOT_FILE@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
LBB0_2:
	callq	__
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	addq	$40, %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_file,8,3              ## @svn_node_file
	.comm	_SVN_ERR_FS_NOT_FILE,4,2        ## @SVN_ERR_FS_NOT_FILE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Attempted to set textual contents of a *non*-file node"

	.comm	_SVN_ERR_FS_NOT_MUTABLE,4,2     ## @SVN_ERR_FS_NOT_MUTABLE
L_.str.1:                               ## @.str.1
	.asciz	"Attempted to set textual contents of an immutable node"

	.comm	_FALSE,4,2                      ## @FALSE
	.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_get_edit_stream ; -- Begin function svn_fs_base__dag_get_edit_stream
	.p2align	2
_svn_fs_base__dag_get_edit_stream:      ; @svn_fs_base__dag_get_edit_stream
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _svn_node_file@GOTPAGE
Lloh1:
	ldr	x9, [x9, _svn_node_file@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x24, x1
	mov	x19, x0
	ldr	x23, [x1, #16]
	mov	x0, x1
	mov	x1, x2
	bl	_svn_fs_base__dag_check_mutable
	cbz	w0, LBB0_6
; %bb.2:
	ldr	w2, [x24, #8]
	add	x0, sp, #24
	mov	x1, x23
	mov	x3, x21
	mov	x4, x20
	bl	_svn_fs_bdb__get_node_revision
	bl	_SVN_ERR
	ldr	x8, [sp, #24]
	ldr	x1, [x8]
	cbz	x1, LBB0_4
; %bb.3:
	mov	x0, x23
	mov	x2, x22
	mov	x3, x21
	mov	x4, x20
	bl	_svn_fs_base__delete_rep_if_mutable
	bl	_SVN_ERR
LBB0_4:
	add	x0, sp, #16
	mov	x1, #0
	mov	x2, x23
	mov	x3, x22
	mov	x4, x21
	mov	x5, x20
	bl	_svn_fs_base__get_mutable_rep
	bl	_SVN_ERR
	ldp	x8, x9, [sp, #16]
	str	x8, [x9]
	ldr	w1, [x24, #8]
	ldr	x2, [sp, #24]
	mov	x0, x23
	mov	x3, x21
	mov	x4, x20
	bl	_svn_fs_bdb__put_node_revision
	bl	_SVN_ERR
	ldr	x2, [sp, #16]
Lloh3:
	adrp	x8, _FALSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FALSE@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	x8, [sp, #8]
	str	x8, [x19]
Lloh6:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_5:
Lloh9:
	adrp	x8, _SVN_ERR_FS_NOT_FILE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SVN_ERR_FS_NOT_FILE@GOTPAGEOFF]
Lloh11:
	ldr	w19, [x8]
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_7
LBB0_6:
Lloh14:
	adrp	x8, _SVN_ERR_FS_NOT_MUTABLE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SVN_ERR_FS_NOT_MUTABLE@GOTPAGEOFF]
Lloh16:
	ldr	w19, [x8]
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_7:
	bl	__
	mov	x2, x0
	mov	x0, x19
	mov	x1, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_svn_node_file,8,3              ; @svn_node_file
	.comm	_SVN_ERR_FS_NOT_FILE,4,2        ; @SVN_ERR_FS_NOT_FILE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Attempted to set textual contents of a *non*-file node"

	.comm	_SVN_ERR_FS_NOT_MUTABLE,4,2     ; @SVN_ERR_FS_NOT_MUTABLE
l_.str.1:                               ; @.str.1
	.asciz	"Attempted to set textual contents of an immutable node"

	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
.subsections_via_symbols
