	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function maybe_add_with_history
_maybe_add_with_history:                ## @maybe_add_with_history
	.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, %r15
	movq	%rdi, %rbx
	cmpq	$0, 16(%rdi)
	je	LBB0_2
## %bb.1:
	movq	16(%r15), %r13
	cmpl	$0, 24(%r13)
	je	LBB0_2
## %bb.7:
	movl	20(%r13), %edi
	movq	32(%rbx), %rsi
	callq	_get_revision_mapping
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_SVN_IS_VALID_REVNUM
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:
	movq	32(%rbx), %r12
	subq	8(%r15), %r12
LBB0_9:
	movq	%r12, %rdi
	callq	_SVN_IS_VALID_REVNUM
	testl	%eax, %eax
	je	LBB0_10
## %bb.11:
	movl	16(%r13), %esi
	leaq	-56(%rbp), %rdi
	movq	%r12, %rdx
	movq	%r14, %rcx
	callq	_svn_fs_revision_root
	movl	%eax, %edi
	callq	_SVN_ERR
	cmpq	$0, 24(%rbx)
	je	LBB0_14
## %bb.12:
	movq	_svn_checksum_md5@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rdx
	movq	16(%rbx), %rcx
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-48(%rbp), %rdi
	movq	%r14, %r9
	callq	_svn_fs_file_checksum
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	24(%rbx), %rdi
	movq	-48(%rbp), %rsi
	callq	_svn_checksum_match
	testl	%eax, %eax
	je	LBB0_13
LBB0_14:
	movq	-56(%rbp), %rdi
	movq	16(%rbx), %rsi
	movl	(%r15), %edx
	movl	8(%rbx), %ecx
	movq	%r14, %r8
	callq	_svn_fs_copy
	movl	%eax, %edi
	callq	_SVN_ERR
	cmpq	$0, 8(%r13)
	je	LBB0_16
## %bb.15:
	movq	_svn_repos_notify_load_copied_node@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r13), %esi
	callq	_svn_repos_notify_create
	movl	(%r13), %edx
	movl	4(%r13), %edi
	movq	%rax, %rsi
	callq	*8(%r13)
	movl	(%r13), %edi
	callq	_svn_pool_clear
	jmp	LBB0_16
LBB0_2:
	movq	(%rbx), %rax
	movq	_svn_node_file@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.3:
	movl	(%r15), %edi
	movl	8(%rbx), %esi
	movq	%r14, %rdx
	callq	_svn_fs_make_file
	jmp	LBB0_4
LBB0_5:
	movq	_svn_node_dir@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_16
## %bb.6:
	movl	(%r15), %edi
	movl	8(%rbx), %esi
	movq	%r14, %rdx
	callq	_svn_fs_make_dir
LBB0_4:
	movl	%eax, %edi
	callq	_SVN_ERR
LBB0_16:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_17:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	_SVN_ERR_FS_NO_SUCH_REVISION@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	movq	%r12, %rcx
	callq	_svn_error_createf
	jmp	LBB0_17
LBB0_13:
	movq	24(%rbx), %r13
	movq	-48(%rbp), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movq	16(%rbx), %r8
	movl	8(%rbx), %r10d
	movl	4(%r15), %ebx
	movq	%r13, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	movl	%eax, %ecx
	movq	%r12, %r9
	pushq	%rbx
	pushq	%r10
	callq	_svn_checksum_mismatch_err
	addq	$16, %rsp
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_svn_node_file,8,3              ## @svn_node_file
	.comm	_svn_node_dir,8,3               ## @svn_node_dir
	.comm	_SVN_ERR_FS_NO_SUCH_REVISION,4,2 ## @SVN_ERR_FS_NO_SUCH_REVISION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Relative source revision %ld is not available in current repository"

	.comm	_svn_checksum_md5,4,2           ## @svn_checksum_md5
	.comm	_TRUE,4,2                       ## @TRUE
L_.str.1:                               ## @.str.1
	.asciz	"Copy source checksum mismatch on copy from '%s'@%ld\nto '%s' in rev based on r%ld"

	.comm	_svn_repos_notify_load_copied_node,4,2 ## @svn_repos_notify_load_copied_node
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.no_dead_strip	_maybe_add_with_history
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function maybe_add_with_history
_maybe_add_with_history:                ; @maybe_add_with_history
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x2
	mov	x21, x1
	mov	x20, x0
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_9
; %bb.1:
	ldr	x23, [x21, #16]
	ldr	w8, [x23, #24]
	cbz	w8, LBB0_9
; %bb.2:
	ldr	w0, [x23, #20]
	ldr	x1, [x20, #32]
	bl	_get_revision_mapping
	mov	x22, x0
	bl	_SVN_IS_VALID_REVNUM
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	x8, [x20, #32]
	ldr	x9, [x21, #8]
	sub	x22, x8, x9
LBB0_4:
	mov	x0, x22
	bl	_SVN_IS_VALID_REVNUM
	cbz	w0, LBB0_16
; %bb.5:
	ldr	w1, [x23, #16]
	add	x0, sp, #8
	mov	x2, x22
	mov	x3, x19
	bl	_svn_fs_revision_root
	bl	_SVN_ERR
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_7
; %bb.6:
Lloh0:
	adrp	x8, _svn_checksum_md5@GOTPAGE
Lloh1:
	ldr	x8, [x8, _svn_checksum_md5@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	x2, [sp, #8]
	ldr	x3, [x20, #16]
Lloh3:
	adrp	x8, _TRUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	mov	x0, sp
	mov	x5, x19
	bl	_svn_fs_file_checksum
	bl	_SVN_ERR
	ldr	x0, [x20, #24]
	ldr	x1, [sp]
	bl	_svn_checksum_match
	cbz	w0, LBB0_17
LBB0_7:
	ldr	x0, [sp, #8]
	ldr	x1, [x20, #16]
	ldr	w2, [x21]
	ldr	w3, [x20, #8]
	mov	x4, x19
	bl	_svn_fs_copy
	bl	_SVN_ERR
	ldr	x8, [x23, #8]
	cbz	x8, LBB0_14
; %bb.8:
Lloh6:
	adrp	x8, _svn_repos_notify_load_copied_node@GOTPAGE
Lloh7:
	ldr	x8, [x8, _svn_repos_notify_load_copied_node@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	w1, [x23]
	bl	_svn_repos_notify_create
	mov	x1, x0
	ldr	x8, [x23, #8]
	ldp	w2, w0, [x23]
	blr	x8
	ldr	w0, [x23]
	bl	_svn_pool_clear
	b	LBB0_14
LBB0_9:
	ldr	x8, [x20]
Lloh9:
	adrp	x9, _svn_node_file@GOTPAGE
Lloh10:
	ldr	x9, [x9, _svn_node_file@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.10:
	ldr	w0, [x21]
	ldr	w1, [x20, #8]
	mov	x2, x19
	bl	_svn_fs_make_file
	b	LBB0_13
LBB0_11:
Lloh12:
	adrp	x9, _svn_node_dir@GOTPAGE
Lloh13:
	ldr	x9, [x9, _svn_node_dir@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.12:
	ldr	w0, [x21]
	ldr	w1, [x20, #8]
	mov	x2, x19
	bl	_svn_fs_make_dir
LBB0_13:
	bl	_SVN_ERR
LBB0_14:
Lloh15:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh17:
	ldr	x0, [x8]
LBB0_15:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_16:
Lloh18:
	adrp	x8, _SVN_ERR_FS_NO_SUCH_REVISION@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SVN_ERR_FS_NO_SUCH_REVISION@GOTPAGEOFF]
Lloh20:
	ldr	w19, [x8]
Lloh21:
	adrp	x0, l_.str@PAGE
Lloh22:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x2, x0
	mov	x0, x19
	mov	x1, #0
	mov	x3, x22
	bl	_svn_error_createf
	b	LBB0_15
LBB0_17:
	ldr	x23, [x20, #24]
	ldr	x24, [sp]
Lloh23:
	adrp	x0, l_.str.1@PAGE
Lloh24:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x3, x0
	ldr	x4, [x20, #16]
	ldr	w6, [x20, #8]
	ldr	w7, [x21, #4]
	mov	x0, x23
	mov	x1, x24
	mov	x2, x19
	mov	x5, x22
	bl	_svn_checksum_mismatch_err
	b	LBB0_15
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_svn_node_file,8,3              ; @svn_node_file
	.comm	_svn_node_dir,8,3               ; @svn_node_dir
	.comm	_SVN_ERR_FS_NO_SUCH_REVISION,4,2 ; @SVN_ERR_FS_NO_SUCH_REVISION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Relative source revision %ld is not available in current repository"

	.comm	_svn_checksum_md5,4,2           ; @svn_checksum_md5
	.comm	_TRUE,4,2                       ; @TRUE
l_.str.1:                               ; @.str.1
	.asciz	"Copy source checksum mismatch on copy from '%s'@%ld\nto '%s' in rev based on r%ld"

	.comm	_svn_repos_notify_load_copied_node,4,2 ; @svn_repos_notify_load_copied_node
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.no_dead_strip	_maybe_add_with_history
.subsections_via_symbols
