	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs_base__dag_clone_child   ## -- Begin function svn_fs_base__dag_clone_child
	.p2align	4, 0x90
_svn_fs_base__dag_clone_child:          ## @svn_fs_base__dag_clone_child
	.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	%r9, %r15
	movq	%r8, -96(%rbp)                  ## 8-byte Spill
	movq	%rcx, %rbx
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	24(%rbp), %r12
	movq	16(%rbp), %r14
	movq	%rsi, %rdi
	callq	_svn_fs_base__dag_get_fs
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_svn_fs_base__dag_check_mutable
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rbx, %rdi
	callq	_svn_path_is_single_path_component
	testl	%eax, %eax
	je	LBB0_9
## %bb.2:
	leaq	-48(%rbp), %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	movq	%r12, %r8
	callq	_svn_fs_base__dag_open
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-48(%rbp), %rdi
	movq	%r15, %rsi
	callq	_svn_fs_base__dag_check_mutable
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	-48(%rbp), %rax
	movq	(%rax), %rdx
	movq	%rdx, -64(%rbp)
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_7
LBB0_8:
	movq	_SVN_ERR_FS_NOT_MUTABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_svn_error_createf              ## TAILCALL
LBB0_9:
	movq	_SVN_ERR_FS_NOT_SINGLE_PATH_COMPONENT@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%r14d, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_svn_error_createf              ## TAILCALL
LBB0_4:
	movq	-48(%rbp), %rax
	movq	(%rax), %rdx
	leaq	-80(%rbp), %rdi
	movq	-56(%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	-48(%rbp), %rax
	movq	(%rax), %rcx
	movq	-80(%rbp), %rax
	movq	%rcx, 8(%rax)
	movl	(%rax), %ecx
	cmpl	$-1, %ecx
	je	LBB0_6
## %bb.5:
	incl	%ecx
	movl	%ecx, (%rax)
LBB0_6:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_svn_fspath__join
	movq	-80(%rbp), %rcx
	movl	%eax, 4(%rcx)
	movq	-48(%rbp), %rax
	movq	(%rax), %rdx
	leaq	-64(%rbp), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-96(%rbp), %r8                  ## 8-byte Reload
	movq	%r15, %r9
	pushq	%r12
	pushq	%r14
	callq	_svn_fs_base__create_successor
	addq	$16, %rsp
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-64(%rbp), %rdx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rcx
	movq	%r14, %r8
	movq	%r12, %r9
	callq	_set_entry
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-64(%rbp), %rdx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
LBB0_7:
	movq	%r14, %rcx
	movq	%r12, %r8
	callq	_svn_fs_base__dag_get_node
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN_ERR_FS_NOT_MUTABLE,4,2     ## @SVN_ERR_FS_NOT_MUTABLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Attempted to clone child of non-mutable node"

	.comm	_SVN_ERR_FS_NOT_SINGLE_PATH_COMPONENT,4,2 ## @SVN_ERR_FS_NOT_SINGLE_PATH_COMPONENT
L_.str.1:                               ## @.str.1
	.asciz	"Attempted to make a child clone with an illegal name '%s'"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs_base__dag_clone_child   ; -- Begin function svn_fs_base__dag_clone_child
	.p2align	2
_svn_fs_base__dag_clone_child:          ; @svn_fs_base__dag_clone_child
	.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	x24, x5
	mov	x26, x4
	mov	x23, x3
	mov	x27, x2
	mov	x25, x1
	mov	x21, x0
	mov	x0, x1
	bl	_svn_fs_base__dag_get_fs
	mov	x22, x0
	mov	x0, x25
	mov	x1, x24
	bl	_svn_fs_base__dag_check_mutable
	cbz	x0, LBB0_4
; %bb.1:
	mov	x0, x23
	bl	_svn_path_is_single_path_component
	cbz	w0, LBB0_5
; %bb.2:
	add	x0, sp, #24
	mov	x1, x25
	mov	x2, x23
	mov	x3, x20
	mov	x4, x19
	bl	_svn_fs_base__dag_open
	bl	_SVN_ERR
	ldr	x0, [sp, #24]
	mov	x1, x24
	bl	_svn_fs_base__dag_check_mutable
	cbz	x0, LBB0_6
; %bb.3:
	ldr	x8, [sp, #24]
	ldr	x2, [x8]
	str	x2, [sp, #16]
	b	LBB0_9
LBB0_4:
Lloh0:
	adrp	x8, _SVN_ERR_FS_NOT_MUTABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SVN_ERR_FS_NOT_MUTABLE@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x2, x0
	mov	x0, x19
	mov	x1, #0
	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
	b	_svn_error_createf
LBB0_5:
Lloh5:
	adrp	x8, _SVN_ERR_FS_NOT_SINGLE_PATH_COMPONENT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SVN_ERR_FS_NOT_SINGLE_PATH_COMPONENT@GOTPAGEOFF]
Lloh7:
	ldr	w19, [x8]
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x2, x0
	str	x23, [sp]
	mov	x0, x19
	mov	x1, #0
	bl	_svn_error_createf
	b	LBB0_10
LBB0_6:
	ldr	x8, [sp, #24]
	ldr	x2, [x8]
	add	x0, sp, #8
	mov	x1, x22
	mov	x3, x20
	mov	x4, x19
	bl	_svn_fs_bdb__get_node_revision
	bl	_SVN_ERR
	ldr	x8, [sp, #24]
	ldr	x9, [x8]
	ldr	x8, [sp, #8]
	str	x9, [x8, #8]
	ldr	w9, [x8]
	cmn	w9, #1
	b.eq	LBB0_8
; %bb.7:
	add	w9, w9, #1
	str	w9, [x8]
LBB0_8:
	mov	x0, x27
	mov	x1, x23
	mov	x2, x19
	bl	_svn_fspath__join
	ldr	x3, [sp, #8]
	str	w0, [x3, #4]
	ldr	x8, [sp, #24]
	ldr	x2, [x8]
	add	x0, sp, #16
	mov	x1, x22
	mov	x4, x26
	mov	x5, x24
	mov	x6, x20
	mov	x7, x19
	bl	_svn_fs_base__create_successor
	bl	_SVN_ERR
	ldr	x2, [sp, #16]
	mov	x0, x25
	mov	x1, x23
	mov	x3, x24
	mov	x4, x20
	mov	x5, x19
	bl	_set_entry
	bl	_SVN_ERR
	ldr	x2, [sp, #16]
LBB0_9:
	mov	x0, x21
	mov	x1, x22
	mov	x3, x20
	mov	x4, x19
	bl	_svn_fs_base__dag_get_node
LBB0_10:
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_ERR_FS_NOT_MUTABLE,4,2     ; @SVN_ERR_FS_NOT_MUTABLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Attempted to clone child of non-mutable node"

	.comm	_SVN_ERR_FS_NOT_SINGLE_PATH_COMPONENT,4,2 ; @SVN_ERR_FS_NOT_SINGLE_PATH_COMPONENT
l_.str.1:                               ; @.str.1
	.asciz	"Attempted to make a child clone with an illegal name '%s'"

.subsections_via_symbols
