	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_repos_hotcopy3             ## -- Begin function svn_repos_hotcopy3
	.p2align	4, 0x90
_svn_repos_hotcopy3:                    ## @svn_repos_hotcopy3
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movl	%ecx, %r14d
	movl	%edx, %r13d
	movq	%rsi, %rbx
	movq	%rdi, %rsi
	movq	32(%rbp), %r15
	leaq	-48(%rbp), %rdi
	movq	%r15, %rdx
	callq	_svn_dirent_get_absolute
	movl	%eax, %edi
	callq	_SVN_ERR
	leaq	-64(%rbp), %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_svn_dirent_get_absolute
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-48(%rbp), %rdi
	movq	-64(%rbp), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_12
## %bb.1:
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	24(%rbp), %rbx
	movl	16(%rbp), %r12d
	movq	-48(%rbp), %rsi
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-56(%rbp), %rdi
	movl	%ecx, %edx
	movl	%ecx, %r8d
	xorl	%r9d, %r9d
	pushq	%r15
	pushq	%r15
	callq	_get_repos
	addq	$16, %rsp
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-56(%rbp), %rdi
	movl	%r13d, %esi
	movq	%r15, %rdx
	callq	_lock_db_logs_file
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-64(%rbp), %rax
	movq	%rax, -112(%rbp)
	movq	-48(%rbp), %rdi
	callq	_strlen
	movl	%eax, -88(%rbp)
	movl	%r14d, -92(%rbp)
	movl	%r12d, -96(%rbp)
	movq	%rbx, -104(%rbp)
	movq	-48(%rbp), %rdi
	movq	_hotcopy_structure@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-112(%rbp), %rcx
	xorl	%esi, %esi
	movq	%r15, %r8
	callq	_svn_io_dir_walk2
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-64(%rbp), %rdi
	movq	%r15, %rsi
	callq	_create_svn_repos_t
	movq	%rax, %r12
	movq	-56(%rbp), %rax
	movl	12(%rax), %ecx
	movl	%ecx, 12(%r12)
	movl	(%rax), %eax
	movl	%eax, (%r12)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_create_locks
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	testl	%r14d, %r14d
	je	LBB0_13
## %bb.3:
	movq	(%rax), %rcx
	movq	_SVN_ERR_DIR_NOT_EMPTY@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_13
## %bb.4:
	movq	%rax, %rdi
	callq	_svn_error_clear
LBB0_5:
	movl	%r13d, %ebx
	movl	8(%r12), %edi
	movq	_APR_OS_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdx
	callq	_svn_io_dir_make_sgid
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	movq	%rax, %r13
	testl	%r14d, %r14d
	je	LBB0_14
## %bb.7:
	movq	(%r13), %rdi
	callq	_APR_STATUS_IS_EEXIST
	testq	%rax, %rax
	je	LBB0_14
## %bb.8:
	movq	%r13, %rdi
	callq	_svn_error_clear
LBB0_9:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%r15, %rcx
	callq	_lock_repos
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, %r8
	testq	%rcx, %rcx
	je	LBB0_11
## %bb.10:
	movq	_fs_hotcopy_notify@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
LBB0_11:
	movq	%rcx, -120(%rbp)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -128(%rbp)
	movq	-56(%rbp), %rax
	movl	8(%rax), %edi
	movl	8(%r12), %esi
	subq	$8, %rsp
	leaq	-128(%rbp), %r9
	movl	%ebx, %edx
	movl	%r14d, %ecx
	pushq	%r15
	pushq	24(%rbp)
	movl	16(%rbp), %eax
	pushq	%rax
	callq	_svn_fs_hotcopy3
	addq	$32, %rsp
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	4(%r12), %edi
	movq	_SVN_REPOS__FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdx
	callq	_svn_dirent_join
	movl	(%r12), %esi
	movl	%eax, %edi
	movq	%r15, %rdx
	callq	_svn_io_write_version_file
	jmp	LBB0_16
LBB0_12:
	movq	_SVN_ERR_INCORRECT_PARAMS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_svn_error_create
	jmp	LBB0_16
LBB0_13:
	movq	%rax, %rdi
	jmp	LBB0_15
LBB0_14:
	movq	%r13, %rdi
LBB0_15:
	callq	_svn_error_trace
LBB0_16:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN_ERR_INCORRECT_PARAMS,4,2   ## @SVN_ERR_INCORRECT_PARAMS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Hotcopy source and destination are equal"

	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_hotcopy_structure,4,2          ## @hotcopy_structure
	.comm	_SVN_ERR_DIR_NOT_EMPTY,8,3      ## @SVN_ERR_DIR_NOT_EMPTY
	.comm	_APR_OS_DEFAULT,4,2             ## @APR_OS_DEFAULT
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_fs_hotcopy_notify,8,3          ## @fs_hotcopy_notify
	.comm	_SVN_REPOS__FORMAT,4,2          ## @SVN_REPOS__FORMAT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_repos_hotcopy3             ; -- Begin function svn_repos_hotcopy3
	.p2align	2
_svn_repos_hotcopy3:                    ; @svn_repos_hotcopy3
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x20, x7
	mov	x21, x6
	mov	x24, x5
	mov	x25, x4
	mov	x22, x3
	mov	x23, x2
	mov	x26, x1
	mov	x1, x0
	ldr	x19, [x29, #16]
	add	x0, sp, #24
	mov	x2, x19
	bl	_svn_dirent_get_absolute
	bl	_SVN_ERR
	add	x0, sp, #16
	mov	x1, x26
	mov	x2, x19
	bl	_svn_dirent_get_absolute
	bl	_SVN_ERR
	ldp	x1, x0, [sp, #16]
	bl	_strcmp
	cbz	x0, LBB0_10
; %bb.1:
	ldr	x1, [sp, #24]
Lloh0:
	adrp	x28, _FALSE@GOTPAGE
Lloh1:
	ldr	x28, [x28, _FALSE@GOTPAGEOFF]
	ldr	w2, [x28]
	add	x0, sp, #8
	mov	x3, x2
	mov	x4, x2
	mov	x5, #0
	mov	x6, x19
	mov	x7, x19
	bl	_get_repos
	bl	_SVN_ERR
	ldr	x0, [sp, #8]
	mov	x1, x23
	mov	x2, x19
	bl	_lock_db_logs_file
	bl	_SVN_ERR
	ldp	x8, x0, [sp, #16]
	str	x8, [sp, #32]
	bl	_strlen
	stp	w22, w0, [sp, #52]
	str	w21, [sp, #48]
	str	x20, [sp, #40]
	ldr	x0, [sp, #24]
Lloh2:
	adrp	x8, _hotcopy_structure@GOTPAGE
Lloh3:
	ldr	x8, [x8, _hotcopy_structure@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	add	x3, sp, #32
	mov	w1, #0
	mov	x4, x19
	bl	_svn_io_dir_walk2
	bl	_SVN_ERR
	ldr	x0, [sp, #16]
	mov	x1, x19
	bl	_create_svn_repos_t
	mov	x26, x0
	ldr	x8, [sp, #8]
	ldr	w9, [x8, #12]
	str	w9, [x0, #12]
	ldr	w8, [x8]
	str	w8, [x0]
	mov	x1, x19
	bl	_create_locks
	cbz	x0, LBB0_5
; %bb.2:
	cbz	w22, LBB0_12
; %bb.3:
	ldr	x8, [x0]
Lloh5:
	adrp	x9, _SVN_ERR_DIR_NOT_EMPTY@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SVN_ERR_DIR_NOT_EMPTY@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.4:
	bl	_svn_error_clear
LBB0_5:
	ldr	w0, [x26, #8]
Lloh8:
	adrp	x8, _APR_OS_DEFAULT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _APR_OS_DEFAULT@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_svn_io_dir_make_sgid
	cbz	x0, LBB0_9
; %bb.6:
	mov	x27, x0
	cbz	w22, LBB0_11
; %bb.7:
	ldr	x0, [x27]
	bl	_APR_STATUS_IS_EEXIST
	cbz	x0, LBB0_11
; %bb.8:
	mov	x0, x27
	bl	_svn_error_clear
LBB0_9:
Lloh11:
	adrp	x8, _TRUE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	ldr	w2, [x28]
	mov	x0, x26
	mov	x3, x19
	bl	_lock_repos
	bl	_SVN_ERR
Lloh14:
	adrp	x8, _fs_hotcopy_notify@GOTPAGE
Lloh15:
	ldr	x8, [x8, _fs_hotcopy_notify@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cmp	x25, #0
	csel	x4, xzr, x8, eq
	stp	x24, x25, [sp, #64]
	ldr	x8, [sp, #8]
	ldr	w0, [x8, #8]
	ldr	w1, [x26, #8]
	str	x19, [sp]
	add	x5, sp, #64
	mov	x2, x23
	mov	x3, x22
	mov	x6, x21
	mov	x7, x20
	bl	_svn_fs_hotcopy3
	bl	_SVN_ERR
	ldr	w0, [x26, #4]
Lloh17:
	adrp	x8, _SVN_REPOS__FORMAT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SVN_REPOS__FORMAT@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_svn_dirent_join
	ldr	w1, [x26]
	mov	x2, x19
	bl	_svn_io_write_version_file
	b	LBB0_13
LBB0_10:
Lloh20:
	adrp	x8, _SVN_ERR_INCORRECT_PARAMS@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SVN_ERR_INCORRECT_PARAMS@GOTPAGEOFF]
Lloh22:
	ldr	w19, [x8]
Lloh23:
	adrp	x0, l_.str@PAGE
Lloh24:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x2, x0
	mov	x0, x19
	mov	x1, #0
	bl	_svn_error_create
	b	LBB0_13
LBB0_11:
	mov	x0, x27
LBB0_12:
	bl	_svn_error_trace
LBB0_13:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_ERR_INCORRECT_PARAMS,4,2   ; @SVN_ERR_INCORRECT_PARAMS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Hotcopy source and destination are equal"

	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_hotcopy_structure,4,2          ; @hotcopy_structure
	.comm	_SVN_ERR_DIR_NOT_EMPTY,8,3      ; @SVN_ERR_DIR_NOT_EMPTY
	.comm	_APR_OS_DEFAULT,4,2             ; @APR_OS_DEFAULT
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_fs_hotcopy_notify,8,3          ; @fs_hotcopy_notify
	.comm	_SVN_REPOS__FORMAT,4,2          ; @SVN_REPOS__FORMAT
.subsections_via_symbols
