	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs_base__dag_copy          ## -- Begin function svn_fs_base__dag_copy
	.p2align	4, 0x90
_svn_fs_base__dag_copy:                 ## @svn_fs_base__dag_copy
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	32(%rbp), %r13
	movq	16(%rbp), %rbx
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.1:
	movl	%r8d, -60(%rbp)                 ## 4-byte Spill
	movq	%r9, -96(%rbp)                  ## 8-byte Spill
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_svn_fs_base__dag_get_fs
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_svn_fs_base__dag_get_id
	movq	%rax, %r15
	movq	$0, -80(%rbp)
	movl	(%r12), %edx
	leaq	-88(%rbp), %rdi
	movq	%rbx, %rsi
	movq	24(%rbp), %r12
	movq	%r12, %rcx
	movq	%r13, %r8
	callq	_svn_fs_bdb__get_node_revision
	movl	%eax, %edi
	callq	_SVN_ERR
	leaq	-48(%rbp), %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	_svn_fs_bdb__reserve_copy_id
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_svn_fs_base__id_copy
	movq	-88(%rbp), %rcx
	movl	%eax, 8(%rcx)
	movl	(%rcx), %eax
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.2:
	incl	%eax
	movl	%eax, (%rcx)
LBB0_3:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_svn_fs_base__dag_get_created_path
	movl	%eax, %edi
	movq	%r14, %rsi
	movq	%r13, %rdx
	callq	_svn_fspath__join
	movq	-88(%rbp), %rcx
	movl	%eax, 4(%rcx)
	movq	-48(%rbp), %r8
	leaq	-56(%rbp), %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movq	16(%rbp), %r9
	pushq	%r13
	pushq	%r12
	callq	_svn_fs_base__create_successor
	addq	$16, %rsp
	movl	%eax, %edi
	callq	_SVN_ERR
	leaq	-80(%rbp), %rdi
	movq	%rbx, %rsi
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	movq	%r12, %rcx
	movq	%r13, %r8
	callq	_svn_fs_base__rev_get_txn_id
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-48(%rbp), %r15
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_svn_fs__canonicalize_abspath
	movq	-80(%rbp), %rcx
	movq	-56(%rbp), %r8
	movq	_copy_kind_real@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r9d
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movl	%eax, %edx
	pushq	%r13
	pushq	%r12
	callq	_svn_fs_bdb__create_copy
	addq	$16, %rsp
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	movq	16(%rbp), %rbx
	movq	%rbx, %rsi
	movq	%r12, %rcx
	movq	%r13, %r8
	callq	_svn_fs_base__add_txn_copy
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-56(%rbp), %rdx
	jmp	LBB0_5
LBB0_4:
	movq	%r12, %rdi
	callq	_svn_fs_base__dag_get_id
	movq	%rax, %rdx
	movq	%rax, -56(%rbp)
	movq	24(%rbp), %r12
LBB0_5:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rcx
	movq	%r12, %r8
	movq	%r13, %r9
	callq	_svn_fs_base__dag_set_entry
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_copy_kind_real,4,2             ## @copy_kind_real
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs_base__dag_copy          ; -- Begin function svn_fs_base__dag_copy
	.p2align	2
_svn_fs_base__dag_copy:                 ; @svn_fs_base__dag_copy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x7
	mov	x20, x6
	mov	x28, x2
	mov	x22, x1
	mov	x23, x0
	ldr	x21, [x29, #16]
	cbz	x3, LBB0_4
; %bb.1:
	mov	x25, x5
	mov	x26, x4
	mov	x0, x28
	bl	_svn_fs_base__dag_get_fs
	mov	x24, x0
	mov	x0, x28
	bl	_svn_fs_base__dag_get_id
	mov	x27, x0
	str	xzr, [sp]
	ldr	w2, [x28]
	add	x0, sp, #16
	mov	x1, x24
	mov	x3, x19
	mov	x4, x21
	bl	_svn_fs_bdb__get_node_revision
	bl	_SVN_ERR
	add	x0, sp, #8
	mov	x1, x24
	mov	x2, x19
	mov	x3, x21
	bl	_svn_fs_bdb__reserve_copy_id
	bl	_SVN_ERR
	mov	x0, x27
	mov	x1, x21
	bl	_svn_fs_base__id_copy
	ldr	x8, [sp, #16]
	str	w0, [x8, #8]
	ldr	w9, [x8]
	cmn	w9, #1
	b.eq	LBB0_3
; %bb.2:
	add	w9, w9, #1
	str	w9, [x8]
LBB0_3:
	mov	x0, x23
	bl	_svn_fs_base__dag_get_created_path
	mov	x1, x22
	mov	x2, x21
	bl	_svn_fspath__join
	ldr	x3, [sp, #16]
	str	w0, [x3, #4]
	ldr	x4, [sp, #8]
	add	x0, sp, #24
	mov	x1, x24
	mov	x2, x27
	mov	x5, x20
	mov	x6, x19
	mov	x7, x21
	bl	_svn_fs_base__create_successor
	bl	_SVN_ERR
	mov	x0, sp
	mov	x1, x24
	mov	x2, x26
	mov	x3, x19
	mov	x4, x21
	bl	_svn_fs_base__rev_get_txn_id
	bl	_SVN_ERR
	ldr	x26, [sp, #8]
	mov	x0, x25
	mov	x1, x21
	bl	_svn_fs__canonicalize_abspath
	mov	x2, x0
	ldr	x3, [sp]
	ldr	x4, [sp, #24]
Lloh0:
	adrp	x8, _copy_kind_real@GOTPAGE
Lloh1:
	ldr	x8, [x8, _copy_kind_real@GOTPAGEOFF]
Lloh2:
	ldr	w5, [x8]
	mov	x0, x24
	mov	x1, x26
	mov	x6, x19
	mov	x7, x21
	bl	_svn_fs_bdb__create_copy
	bl	_SVN_ERR
	ldr	x2, [sp, #8]
	mov	x0, x24
	mov	x1, x20
	mov	x3, x19
	mov	x4, x21
	bl	_svn_fs_base__add_txn_copy
	bl	_SVN_ERR
	ldr	x2, [sp, #24]
	b	LBB0_5
LBB0_4:
	mov	x0, x28
	bl	_svn_fs_base__dag_get_id
	mov	x2, x0
	str	x0, [sp, #24]
LBB0_5:
	mov	x0, x23
	mov	x1, x22
	mov	x3, x20
	mov	x4, x19
	mov	x5, x21
	bl	_svn_fs_base__dag_set_entry
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_copy_kind_real,4,2             ; @copy_kind_real
.subsections_via_symbols
