	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs_base__dag_clone_root    ## -- Begin function svn_fs_base__dag_clone_root
	.p2align	4, 0x90
_svn_fs_base__dag_clone_root:           ## @svn_fs_base__dag_clone_root
	.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	%r8, %r12
	movq	%rcx, %r14
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %rbx
	leaq	-56(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdx
	movq	%r13, %rcx
	movq	%r14, %r8
	movq	%r12, %r9
	callq	_svn_fs_base__get_txn_ids
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-56(%rbp), %rdi
	movq	-48(%rbp), %rsi
	callq	_svn_fs_base__id_eq
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rdi
	callq	_svn_fs_base__id_copy_id
	movq	%rax, %rbx
	movq	-48(%rbp), %rdx
	leaq	-72(%rbp), %rdi
	movq	%r15, %rsi
	movq	%r14, %rcx
	movq	%r12, %r8
	callq	_svn_fs_bdb__get_node_revision
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-48(%rbp), %rdi
	movq	%r12, %rsi
	callq	_svn_fs_base__id_copy
	movq	-72(%rbp), %rcx
	movl	%eax, 4(%rcx)
	movl	(%rcx), %eax
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.2:
	incl	%eax
	movl	%eax, (%rcx)
LBB0_3:
	movq	-48(%rbp), %rdx
	leaq	-56(%rbp), %rdi
	movq	%r15, %rsi
	movq	%rbx, %r8
	movq	%r13, %r9
	pushq	%r12
	pushq	%r14
	callq	_svn_fs_base__create_successor
	addq	$16, %rsp
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-56(%rbp), %rdx
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%r14, %rcx
	movq	%r12, %r8
	callq	_svn_fs_base__set_txn_root
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
LBB0_4:
	movq	-56(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rcx
	movq	%r12, %r8
	callq	_svn_fs_base__dag_get_node
	addq	$40, %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_base__dag_clone_root    ; -- Begin function svn_fs_base__dag_clone_root
	.p2align	2
_svn_fs_base__dag_clone_root:           ; @svn_fs_base__dag_clone_root
	.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
	mov	x19, x4
	mov	x20, x3
	mov	x23, x2
	mov	x21, x1
	mov	x22, x0
	add	x0, sp, #16
	add	x1, sp, #24
	mov	x2, x21
	mov	x3, x23
	mov	x4, x20
	mov	x5, x19
	bl	_svn_fs_base__get_txn_ids
	bl	_SVN_ERR
	ldp	x0, x1, [sp, #16]
	bl	_svn_fs_base__id_eq
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x0, [sp, #24]
	bl	_svn_fs_base__id_copy_id
	mov	x24, x0
	ldr	x2, [sp, #24]
	add	x0, sp, #8
	mov	x1, x21
	mov	x3, x20
	mov	x4, x19
	bl	_svn_fs_bdb__get_node_revision
	bl	_SVN_ERR
	ldr	x0, [sp, #24]
	mov	x1, x19
	bl	_svn_fs_base__id_copy
	ldr	x3, [sp, #8]
	str	w0, [x3, #4]
	ldr	w8, [x3]
	cmn	w8, #1
	b.eq	LBB0_3
; %bb.2:
	add	w8, w8, #1
	str	w8, [x3]
LBB0_3:
	ldr	x2, [sp, #24]
	add	x0, sp, #16
	mov	x1, x21
	mov	x4, x24
	mov	x5, x23
	mov	x6, x20
	mov	x7, x19
	bl	_svn_fs_base__create_successor
	bl	_SVN_ERR
	ldr	x2, [sp, #16]
	mov	x0, x21
	mov	x1, x23
	mov	x3, x20
	mov	x4, x19
	bl	_svn_fs_base__set_txn_root
	bl	_SVN_ERR
LBB0_4:
	ldr	x2, [sp, #16]
	mov	x0, x22
	mov	x1, x21
	mov	x3, x20
	mov	x4, x19
	bl	_svn_fs_base__dag_get_node
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
