	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fs_closest_copy
_fs_closest_copy:                       ## @fs_closest_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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rbx
	movq	%rdx, %r14
	movq	(%rdx), %r13
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	$0, (%rdi)
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	$0, (%rsi)
	movq	%rcx, %rdi
	movq	%r8, %rsi
	callq	_svn_fs__canonicalize_abspath
	movq	%rax, %r12
	movq	_FALSE@GOTPCREL(%rip), %r15
	movl	(%r15), %r8d
	leaq	-64(%rbp), %rdi
	movq	%r14, %rsi
	movq	%rax, %rdx
	xorl	%ecx, %ecx
	movq	%rbx, %r9
	callq	_open_path
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-64(%rbp), %rcx
	leaq	-56(%rbp), %rdi
	leaq	-96(%rbp), %rsi
	movq	%r13, %rdx
	movq	%rbx, %r8
	callq	_find_youngest_copyroot
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-56(%rbp), %rdx
	testq	%rdx, %rdx
	je	LBB0_6
## %bb.1:
	leaq	-48(%rbp), %rdi
	movq	%r13, %rsi
	movq	%rbx, %rcx
	callq	_svn_fs_fs__revision_root
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-48(%rbp), %rsi
	movq	_open_path_node_only@GOTPCREL(%rip), %rax
	movq	_open_path_allow_null@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	(%r15), %r8d
	leaq	-112(%rbp), %rdi
	movq	%r12, %rdx
	movq	%rbx, %r9
	callq	_open_path
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-112(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	(%rax), %r12
	movq	%r12, %rdi
	callq	_svn_fs_fs__dag_get_id
	movl	%eax, %r14d
	movq	-64(%rbp), %rax
	movq	(%rax), %rdi
	callq	_svn_fs_fs__dag_get_id
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_svn_fs_fs__id_check_related
	testl	%eax, %eax
	je	LBB0_6
## %bb.3:
	leaq	-104(%rbp), %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_svn_fs_fs__dag_get_revision
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-104(%rbp), %rax
	cmpq	-56(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	leaq	-88(%rbp), %rdi
	movq	%r12, %rsi
	callq	_svn_fs_fs__dag_get_predecessor_id
	movl	%eax, %edi
	callq	_SVN_ERR
	cmpq	$0, -88(%rbp)
	je	LBB0_6
LBB0_5:
	movq	-48(%rbp), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	-96(%rbp), %rax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
LBB0_6:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.comm	_open_path_node_only,4,2        ## @open_path_node_only
	.comm	_open_path_allow_null,4,2       ## @open_path_allow_null
	.no_dead_strip	_fs_closest_copy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fs_closest_copy
_fs_closest_copy:                       ; @fs_closest_copy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x21, x4
	mov	x24, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x23, [x2]
	str	xzr, [x0]
	str	xzr, [x1]
	mov	x0, x3
	mov	x1, x4
	bl	_svn_fs__canonicalize_abspath
	mov	x22, x0
Lloh0:
	adrp	x25, _FALSE@GOTPAGE
Lloh1:
	ldr	x25, [x25, _FALSE@GOTPAGEOFF]
	ldr	w4, [x25]
	add	x0, sp, #56
	mov	x1, x24
	mov	x2, x22
	mov	w3, #0
	mov	x5, x21
	bl	_open_path
	bl	_SVN_ERR
	ldr	x3, [sp, #56]
	add	x0, sp, #40
	add	x1, sp, #24
	mov	x2, x23
	mov	x4, x21
	bl	_find_youngest_copyroot
	bl	_SVN_ERR
	ldr	x2, [sp, #40]
	cbz	x2, LBB0_7
; %bb.1:
	add	x0, sp, #16
	mov	x1, x23
	mov	x3, x21
	bl	_svn_fs_fs__revision_root
	bl	_SVN_ERR
	ldr	x1, [sp, #16]
Lloh2:
	adrp	x8, _open_path_node_only@GOTPAGE
Lloh3:
	ldr	x8, [x8, _open_path_node_only@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _open_path_allow_null@GOTPAGE
Lloh6:
	ldr	x9, [x9, _open_path_allow_null@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w3, w9, w8
	ldr	w4, [x25]
	add	x0, sp, #48
	mov	x2, x22
	mov	x5, x21
	bl	_open_path
	bl	_SVN_ERR
	ldr	x8, [sp, #48]
	cbz	x8, LBB0_7
; %bb.2:
	ldr	x22, [x8]
	mov	x0, x22
	bl	_svn_fs_fs__dag_get_id
	mov	x23, x0
	ldr	x8, [sp, #56]
	ldr	x0, [x8]
	bl	_svn_fs_fs__dag_get_id
	mov	x1, x0
	mov	x0, x23
	bl	_svn_fs_fs__id_check_related
	cbz	w0, LBB0_7
; %bb.3:
	add	x0, sp, #32
	mov	x1, x22
	mov	x2, x21
	bl	_svn_fs_fs__dag_get_revision
	bl	_SVN_ERR
	ldp	x8, x9, [sp, #32]
Lloh8:
	adrp	x21, _SVN_NO_ERROR@GOTPAGE
Lloh9:
	ldr	x21, [x21, _SVN_NO_ERROR@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	add	x0, sp, #8
	mov	x1, x22
	bl	_svn_fs_fs__dag_get_predecessor_id
	bl	_SVN_ERR
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_6
LBB0_5:
	ldr	x8, [sp, #16]
	str	x8, [x20]
	ldr	x8, [sp, #24]
	str	x8, [x19]
LBB0_6:
	ldr	x0, [x21]
	b	LBB0_8
LBB0_7:
Lloh10:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh12:
	ldr	x0, [x8]
LBB0_8:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.comm	_open_path_node_only,4,2        ; @open_path_node_only
	.comm	_open_path_allow_null,4,2       ; @open_path_allow_null
	.no_dead_strip	_fs_closest_copy
.subsections_via_symbols
