	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs_x__dag_copy             ## -- Begin function svn_fs_x__dag_copy
	.p2align	4, 0x90
_svn_fs_x__dag_copy:                    ## @svn_fs_x__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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	24(%rbp), %r12
	movl	16(%rbp), %ebx
	movq	%rdx, %rdi
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.1:
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	callq	_svn_fs_x__dag_get_fs
	movq	%rax, %rbx
	movq	(%r14), %rdi
	movq	%r12, %rsi
	callq	_copy_node_revision
	movq	%rax, %r15
	leaq	-48(%rbp), %rdi
	movq	%rbx, %rsi
	movl	16(%rbp), %edx
	movq	%r12, %rcx
	callq	_svn_fs_x__reserve_copy_id
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	(%r15), %eax
	movl	%eax, 32(%r15)
	incl	28(%r15)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_svn_fs_x__dag_get_created_path
	movl	%eax, %edi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_svn_fspath__join
	movl	%eax, 24(%r15)
	movq	%r12, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_apr_pstrdup
	movl	%eax, 20(%r15)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 16(%r15)
	movq	$0, 8(%r15)
	movq	%rbx, %rdi
	movl	16(%rbp), %ebx
	movq	%r15, %rsi
	leaq	-48(%rbp), %rdx
	movl	%ebx, %ecx
	movq	%r12, %r8
	callq	_svn_fs_x__create_successor
	movl	%eax, %edi
	callq	_SVN_ERR
	jmp	LBB0_3
LBB0_2:
	callq	_svn_fs_x__dag_get_id
	movq	%rax, %r15
LBB0_3:
	movq	(%r14), %rax
	movl	(%rax), %ecx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	%r15, %rdx
	movl	%ebx, %r8d
	movq	%r12, %r9
	callq	_svn_fs_x__dag_set_entry
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs_x__dag_copy             ; -- Begin function svn_fs_x__dag_copy
	.p2align	2
_svn_fs_x__dag_copy:                    ; @svn_fs_x__dag_copy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x7
	mov	x20, x6
	mov	x23, x2
	mov	x21, x1
	mov	x22, x0
	cbz	x3, LBB0_2
; %bb.1:
	mov	x26, x5
	mov	x25, x4
	mov	x0, x23
	bl	_svn_fs_x__dag_get_fs
	mov	x27, x0
	ldr	x0, [x23]
	mov	x1, x19
	bl	_copy_node_revision
	mov	x24, x0
	add	x0, sp, #12
	mov	x1, x27
	mov	x2, x20
	mov	x3, x19
	bl	_svn_fs_x__reserve_copy_id
	bl	_SVN_ERR
	ldr	w8, [x24]
	ldr	w9, [x24, #28]
	add	w9, w9, #1
	stp	w9, w8, [x24, #28]
	mov	x0, x22
	bl	_svn_fs_x__dag_get_created_path
	mov	x1, x21
	mov	x2, x19
	bl	_svn_fspath__join
	str	w0, [x24, #24]
	mov	x0, x19
	mov	x1, x26
	bl	_apr_pstrdup
	stp	w25, w0, [x24, #16]
	str	xzr, [x24, #8]
	add	x2, sp, #12
	mov	x0, x27
	mov	x1, x24
	mov	x3, x20
	mov	x4, x19
	bl	_svn_fs_x__create_successor
	bl	_SVN_ERR
	b	LBB0_3
LBB0_2:
	mov	x0, x23
	bl	_svn_fs_x__dag_get_id
	mov	x24, x0
LBB0_3:
	ldr	x8, [x23]
	ldr	w3, [x8]
	mov	x0, x22
	mov	x1, x21
	mov	x2, x24
	mov	x4, x20
	mov	x5, x19
	bl	_svn_fs_x__dag_set_entry
	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
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
