	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_repos_upgrade2             ## -- Begin function svn_repos_upgrade2
	.p2align	4, 0x90
_svn_repos_upgrade2:                    ## @svn_repos_upgrade2
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r14
	movl	%esi, %r12d
	movq	%rdi, %r13
	movq	%r8, %rdi
	callq	_svn_pool_create
	movq	%rax, %rbx
	movq	%r14, -64(%rbp)
	movq	%r15, -72(%rbp)
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-56(%rbp), %rdi
	movq	%r13, %rsi
	movl	%r12d, %ecx
	xorl	%r9d, %r9d
	pushq	%rbx
	pushq	%rbx
	callq	_get_repos
	addq	$16, %rsp
	movl	%eax, %edi
	callq	_SVN_ERR
	testq	%r14, %r14
	je	LBB0_2
## %bb.1:
	movq	_svn_repos_notify_mutex_acquired@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_svn_repos_notify_create
	movq	%rax, %r12
	movq	%r15, %rdi
	movq	%rax, %rsi
	movq	%rbx, %rdx
	callq	*%r14
	movq	_svn_repos_notify_upgrade_start@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	*%r14
LBB0_2:
	movq	-56(%rbp), %rax
	movl	4(%rax), %edi
	movq	_SVN_REPOS__FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdx
	callq	_svn_dirent_join
	movq	%rax, %r15
	leaq	-44(%rbp), %rdi
	movq	%rax, %rsi
	movq	%rbx, %rdx
	callq	_svn_io_read_version_file
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	-44(%rbp), %esi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	callq	_svn_io_write_version_file
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-56(%rbp), %rax
	movl	(%rax), %edi
	testq	%r14, %r14
	je	LBB0_4
## %bb.3:
	movq	_fs_upgrade_notify@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
LBB0_4:
	leaq	-72(%rbp), %rdx
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movq	%rbx, %r9
	callq	_svn_fs_upgrade2
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	_SVN_REPOS__FORMAT_NUMBER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	callq	_svn_io_write_version_file
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	%rbx, %rdi
	callq	_svn_pool_destroy
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_svn_repos_notify_mutex_acquired,4,2 ## @svn_repos_notify_mutex_acquired
	.comm	_svn_repos_notify_upgrade_start,4,2 ## @svn_repos_notify_upgrade_start
	.comm	_SVN_REPOS__FORMAT,4,2          ## @SVN_REPOS__FORMAT
	.comm	_fs_upgrade_notify,8,3          ## @fs_upgrade_notify
	.comm	_SVN_REPOS__FORMAT_NUMBER,4,2   ## @SVN_REPOS__FORMAT_NUMBER
	.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_repos_upgrade2             ; -- Begin function svn_repos_upgrade2
	.p2align	2
_svn_repos_upgrade2:                    ; @svn_repos_upgrade2
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x3
	mov	x20, x2
	mov	x22, x1
	mov	x23, x0
	mov	x0, x4
	bl	_svn_pool_create
	mov	x19, x0
	stp	x21, x20, [sp]
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _FALSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	add	x0, sp, #24
	mov	x1, x23
	mov	x3, x22
	mov	x5, #0
	mov	x6, x19
	mov	x7, x19
	bl	_get_repos
	bl	_SVN_ERR
	cbz	x20, LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _svn_repos_notify_mutex_acquired@GOTPAGE
Lloh7:
	ldr	x8, [x8, _svn_repos_notify_mutex_acquired@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_svn_repos_notify_create
	mov	x22, x0
	mov	x0, x21
	mov	x1, x22
	mov	x2, x19
	blr	x20
Lloh9:
	adrp	x8, _svn_repos_notify_upgrade_start@GOTPAGE
Lloh10:
	ldr	x8, [x8, _svn_repos_notify_upgrade_start@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x22]
	mov	x0, x21
	mov	x1, x22
	mov	x2, x19
	blr	x20
LBB0_2:
	ldr	x8, [sp, #24]
	ldr	w0, [x8, #4]
Lloh12:
	adrp	x8, _SVN_REPOS__FORMAT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SVN_REPOS__FORMAT@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_svn_dirent_join
	mov	x21, x0
	add	x0, sp, #20
	mov	x1, x21
	mov	x2, x19
	bl	_svn_io_read_version_file
	bl	_SVN_ERR
	ldr	w1, [sp, #20]
	mov	x0, x21
	mov	x2, x19
	bl	_svn_io_write_version_file
	bl	_SVN_ERR
	ldr	x8, [sp, #24]
	ldr	w0, [x8]
Lloh15:
	adrp	x8, _fs_upgrade_notify@GOTPAGE
Lloh16:
	ldr	x8, [x8, _fs_upgrade_notify@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cmp	x20, #0
	csel	x1, xzr, x8, eq
	mov	x2, sp
	mov	x3, #0
	mov	x4, #0
	mov	x5, x19
	bl	_svn_fs_upgrade2
	bl	_SVN_ERR
Lloh18:
	adrp	x8, _SVN_REPOS__FORMAT_NUMBER@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SVN_REPOS__FORMAT_NUMBER@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, x19
	bl	_svn_io_write_version_file
	bl	_SVN_ERR
	mov	x0, x19
	bl	_svn_pool_destroy
Lloh21:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh23:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_svn_repos_notify_mutex_acquired,4,2 ; @svn_repos_notify_mutex_acquired
	.comm	_svn_repos_notify_upgrade_start,4,2 ; @svn_repos_notify_upgrade_start
	.comm	_SVN_REPOS__FORMAT,4,2          ; @SVN_REPOS__FORMAT
	.comm	_fs_upgrade_notify,8,3          ; @fs_upgrade_notify
	.comm	_SVN_REPOS__FORMAT_NUMBER,4,2   ; @SVN_REPOS__FORMAT_NUMBER
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
.subsections_via_symbols
