	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs_x__dag_clone_child      ## -- Begin function svn_fs_x__dag_clone_child
	.p2align	4, 0x90
_svn_fs_x__dag_clone_child:             ## @svn_fs_x__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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movq	%r8, -104(%rbp)                 ## 8-byte Spill
	movq	%rcx, %rbx
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	32(%rbp), %r12
	movq	24(%rbp), %r14
	movq	16(%rbp), %r13
	movq	%rsi, %rdi
	callq	_svn_fs_x__dag_get_fs
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_svn_fs_x__dag_check_mutable
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movq	%rbx, %rdi
	callq	_svn_path_is_single_path_component
	testl	%eax, %eax
	je	LBB0_12
## %bb.2:
	leaq	-72(%rbp), %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movq	%r12, %rcx
	movq	%r12, %r8
	callq	_svn_fs_x__dag_open
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-72(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.4:
	callq	_svn_fs_x__dag_check_mutable
	movq	-72(%rbp), %rdi
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	callq	_svn_fs_x__dag_get_id
	movq	%rax, %rbx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_9
LBB0_11:
	movq	_SVN_ERR_FS_NOT_MUTABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rdx
	xorl	%esi, %esi
	xorl	%eax, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_svn_error_createf              ## TAILCALL
LBB0_12:
	movq	_SVN_ERR_FS_NOT_SINGLE_PATH_COMPONENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rdx
	xorl	%esi, %esi
	movq	%rbx, %rcx
	xorl	%eax, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_svn_error_createf              ## TAILCALL
LBB0_3:
	movq	_SVN_ERR_FS_NOT_FOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rdx
	xorl	%esi, %esi
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_svn_error_createf
	jmp	LBB0_10
LBB0_6:
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %r14
	testq	%r13, %r13
	je	LBB0_8
## %bb.7:
	movq	(%r15), %rax
	movl	44(%rax), %ecx
	movl	%ecx, 44(%r14)
	movl	40(%rax), %esi
	movq	%r12, %rdi
	callq	_apr_pstrdup
	movl	%eax, 40(%r14)
LBB0_8:
	movq	$0, 32(%r14)
	movq	_SVN_INVALID_REVNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r14)
	leaq	4(%r14), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	4(%r14), %eax
	movl	%eax, 20(%r14)
	incl	16(%r14)
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_svn_fspath__join
	movl	%eax, 12(%r14)
	leaq	8(%r14), %rdx
	movq	-104(%rbp), %rax                ## 8-byte Reload
	testq	%rax, %rax
	cmovneq	%rax, %rdx
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	%r12, %r8
	callq	_svn_fs_x__create_successor
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	(%r14), %ecx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movq	%r12, %r9
	callq	_set_entry
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
LBB0_9:
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	movq	%r12, %r8
	callq	_svn_fs_x__dag_get_node
LBB0_10:
	addq	$72, %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'"

	.comm	_SVN_ERR_FS_NOT_FOUND,4,2       ## @SVN_ERR_FS_NOT_FOUND
L_.str.2:                               ## @.str.2
	.asciz	"Attempted to open non-existent child node '%s'"

	.comm	_SVN_INVALID_REVNUM,4,2         ## @SVN_INVALID_REVNUM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs_x__dag_clone_child      ; -- Begin function svn_fs_x__dag_clone_child
	.p2align	2
_svn_fs_x__dag_clone_child:             ; @svn_fs_x__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	x28, x7
	mov	x19, x6
	mov	x24, x5
	mov	x26, x4
	mov	x23, x3
	mov	x27, x2
	mov	x25, x1
	mov	x21, x0
	ldr	x20, [x29, #16]
	mov	x0, x1
	bl	_svn_fs_x__dag_get_fs
	mov	x22, x0
	mov	x0, x25
	bl	_svn_fs_x__dag_check_mutable
	cbz	x0, LBB0_5
; %bb.1:
	mov	x0, x23
	bl	_svn_path_is_single_path_component
	cbz	w0, LBB0_6
; %bb.2:
	add	x0, sp, #24
	mov	x1, x25
	mov	x2, x23
	mov	x3, x20
	mov	x4, x20
	bl	_svn_fs_x__dag_open
	bl	_SVN_ERR
	ldr	x0, [sp, #24]
	cbz	x0, LBB0_7
; %bb.3:
	bl	_svn_fs_x__dag_check_mutable
	mov	x8, x0
	ldr	x0, [sp, #24]
	cbz	x8, LBB0_9
; %bb.4:
	bl	_svn_fs_x__dag_get_id
	mov	x19, x0
	b	LBB0_12
LBB0_5:
Lloh0:
	adrp	x8, _SVN_ERR_FS_NOT_MUTABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SVN_ERR_FS_NOT_MUTABLE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	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_6:
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	w0, [x8]
	str	x23, [sp]
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_7:
Lloh10:
	adrp	x8, _SVN_ERR_FS_NOT_FOUND@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SVN_ERR_FS_NOT_FOUND@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	str	x23, [sp]
Lloh13:
	adrp	x2, l_.str.2@PAGE
Lloh14:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_8:
	mov	x1, #0
	bl	_svn_error_createf
	b	LBB0_13
LBB0_9:
	str	x28, [sp, #16]                  ; 8-byte Folded Spill
	ldr	x28, [x0]
	cbz	x19, LBB0_11
; %bb.10:
	ldr	x8, [x25]
	ldp	w1, w9, [x8, #40]
	str	w9, [x28, #44]
	mov	x0, x20
	bl	_apr_pstrdup
	str	w0, [x28, #40]
LBB0_11:
	str	xzr, [x28, #32]
Lloh15:
	adrp	x8, _SVN_INVALID_REVNUM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SVN_INVALID_REVNUM@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x8]
	mov	x19, x28
	ldr	w8, [x19, #4]!
	ldr	w9, [x28, #16]
	add	w9, w9, #1
	stp	w8, w10, [x28, #20]
	str	w9, [x28, #16]
	mov	x0, x27
	mov	x1, x23
	mov	x2, x20
	bl	_svn_fspath__join
	str	w0, [x28, #12]
	add	x8, x28, #8
	cmp	x26, #0
	csel	x2, x8, x26, eq
	mov	x0, x22
	mov	x1, x28
	mov	x3, x24
	mov	x4, x20
	bl	_svn_fs_x__create_successor
	bl	_SVN_ERR
	ldr	w3, [x28]
	mov	x0, x25
	mov	x1, x23
	mov	x2, x19
	mov	x4, x24
	mov	x5, x20
	bl	_set_entry
	bl	_SVN_ERR
	ldr	x28, [sp, #16]                  ; 8-byte Folded Reload
LBB0_12:
	mov	x0, x21
	mov	x1, x22
	mov	x2, x19
	mov	x3, x28
	mov	x4, x20
	bl	_svn_fs_x__dag_get_node
LBB0_13:
	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
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.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'"

	.comm	_SVN_ERR_FS_NOT_FOUND,4,2       ; @SVN_ERR_FS_NOT_FOUND
l_.str.2:                               ; @.str.2
	.asciz	"Attempted to open non-existent child node '%s'"

	.comm	_SVN_INVALID_REVNUM,4,2         ; @SVN_INVALID_REVNUM
.subsections_via_symbols
