	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_io_copy_file               ## -- Begin function svn_io_copy_file
	.p2align	4, 0x90
_svn_io_copy_file:                      ## @svn_io_copy_file
	.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	%rcx, %r12
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_APR_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_APR_OS_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-72(%rbp), %rdi
	movq	%rbx, %rsi
	movq	%r12, %r8
	callq	_svn_io_file_open
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_svn_dirent_dirname
	movq	_svn_io_file_del_none@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leaq	-64(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	movl	%eax, %edx
	movq	%r12, %r8
	movq	%r12, %r9
	callq	_svn_io_open_unique_file3
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-72(%rbp), %rdi
	movq	-64(%rbp), %rsi
	movq	%r12, %rdx
	callq	_copy_contents
	testq	%rax, %rax
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_svn_dirent_local_style
	movq	%r14, %r15
	movl	%eax, %r14d
	movq	-48(%rbp), %rdi
	movq	%r12, %rsi
	callq	_svn_dirent_local_style
	movq	%r13, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	%r14d, %edx
	movq	%r15, %r14
	movl	%eax, %ecx
	callq	_svn_error_wrap_apr
	movq	%rax, %rbx
	jmp	LBB0_3
LBB0_1:
	xorl	%ebx, %ebx
LBB0_3:
	movq	-72(%rbp), %rdi
	movq	%r12, %rsi
	callq	_svn_io_file_close
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_svn_error_compose_create
	movq	%rax, %rbx
	movq	-64(%rbp), %rdi
	movq	%r12, %rsi
	callq	_svn_io_file_close
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_svn_error_compose_create
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rax, %rbx
	movq	-48(%rbp), %rdi
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdx
	callq	_svn_io_remove_file2
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_svn_error_compose_create
	jmp	LBB0_8
LBB0_5:
	testq	%r14, %r14
	je	LBB0_7
## %bb.6:
	movq	-48(%rbp), %rsi
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rdx
	callq	_svn_io_copy_perms
	movl	%eax, %edi
	callq	_SVN_ERR
LBB0_7:
	movq	-48(%rbp), %rdi
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rcx
	callq	_svn_io_file_rename2
	movl	%eax, %edi
	callq	_svn_error_trace
LBB0_8:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_APR_READ,4,2                   ## @APR_READ
	.comm	_APR_OS_DEFAULT,4,2             ## @APR_OS_DEFAULT
	.comm	_svn_io_file_del_none,4,2       ## @svn_io_file_del_none
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't copy '%s' to '%s'"

	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_io_copy_file               ; -- Begin function svn_io_copy_file
	.p2align	2
_svn_io_copy_file:                      ; @svn_io_copy_file
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x3
	mov	x22, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _APR_READ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _APR_READ@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _APR_OS_DEFAULT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _APR_OS_DEFAULT@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	add	x0, sp, #24
	mov	x1, x21
	mov	x4, x19
	bl	_svn_io_file_open
	bl	_SVN_ERR
	mov	x0, x20
	mov	x1, x19
	bl	_svn_dirent_dirname
	mov	x2, x0
Lloh6:
	adrp	x8, _svn_io_file_del_none@GOTPAGE
Lloh7:
	ldr	x8, [x8, _svn_io_file_del_none@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	add	x0, sp, #16
	add	x1, sp, #8
	mov	x4, x19
	mov	x5, x19
	bl	_svn_io_open_unique_file3
	bl	_SVN_ERR
	ldp	x1, x0, [sp, #16]
	mov	x2, x19
	bl	_copy_contents
	mov	x23, x0
	cbz	x0, LBB0_2
; %bb.1:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x24, x0
	mov	x0, x21
	mov	x1, x19
	bl	_svn_dirent_local_style
	mov	x25, x0
	ldr	x0, [sp, #8]
	mov	x1, x19
	bl	_svn_dirent_local_style
	mov	x3, x0
	mov	x0, x23
	mov	x1, x24
	mov	x2, x25
	bl	_svn_error_wrap_apr
	mov	x23, x0
LBB0_2:
	ldr	x0, [sp, #24]
	mov	x1, x19
	bl	_svn_io_file_close
	mov	x1, x0
	mov	x0, x23
	bl	_svn_error_compose_create
	mov	x23, x0
	ldr	x0, [sp, #16]
	mov	x1, x19
	bl	_svn_io_file_close
	mov	x1, x0
	mov	x0, x23
	bl	_svn_error_compose_create
	cbz	x0, LBB0_4
; %bb.3:
	mov	x23, x0
	ldr	x0, [sp, #8]
Lloh11:
	adrp	x8, _TRUE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_svn_io_remove_file2
	mov	x1, x0
	mov	x0, x23
	bl	_svn_error_compose_create
	b	LBB0_7
LBB0_4:
	cbz	x22, LBB0_6
; %bb.5:
	ldr	x1, [sp, #8]
	mov	x0, x21
	mov	x2, x19
	bl	_svn_io_copy_perms
	bl	_SVN_ERR
LBB0_6:
	ldr	x0, [sp, #8]
Lloh14:
	adrp	x8, _FALSE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x1, x20
	mov	x3, x19
	bl	_svn_io_file_rename2
	bl	_svn_error_trace
LBB0_7:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_APR_READ,4,2                   ; @APR_READ
	.comm	_APR_OS_DEFAULT,4,2             ; @APR_OS_DEFAULT
	.comm	_svn_io_file_del_none,4,2       ; @svn_io_file_del_none
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't copy '%s' to '%s'"

	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
.subsections_via_symbols
