	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_client_upgrade             ## -- Begin function svn_client_upgrade
	.p2align	4, 0x90
_svn_client_upgrade:                    ## @svn_client_upgrade
	.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	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rdx, -72(%rbp)
	movq	%rsi, -80(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -96(%rbp)
	callq	_svn_path_is_url
	testq	%rax, %rax
	je	LBB0_1
## %bb.11:
	movq	_SVN_ERR_ILLEGAL_TARGET@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%r14d, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	movq	%rbx, %rcx
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_svn_error_createf              ## TAILCALL
LBB0_1:
	leaq	-48(%rbp), %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_svn_dirent_get_absolute
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	16(%r14), %edi
	movq	-48(%rbp), %rsi
	movq	_fetch_repos_info@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	24(%r14), %r8d
	movl	20(%r14), %r9d
	movl	(%r14), %eax
	subq	$8, %rsp
	leaq	-96(%rbp), %rcx
	pushq	%r15
	pushq	%rax
	pushq	8(%r14)
	callq	_svn_wc_upgrade
	addq	$32, %rsp
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	16(%r14), %esi
	movq	-48(%rbp), %rdx
	leaq	-56(%rbp), %rdi
	movq	%r15, %rcx
	movq	%r15, %r8
	callq	_svn_wc__externals_defined_below
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-56(%rbp), %rdi
	callq	_apr_hash_count
	testq	%rax, %rax
	jle	LBB0_9
## %bb.2:
	movq	%r15, %rdi
	callq	_svn_pool_create
	movq	%rax, %r12
	movq	-56(%rbp), %rsi
	movq	%r15, %rdi
	callq	_apr_hash_first
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	movq	%rax, %rbx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_apr_hash_next
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_svn_pool_clear
	movq	%rbx, %rdi
	callq	_apr_hash_this_key
	movq	%rax, %r13
	movl	16(%r14), %r9d
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	leaq	-64(%rbp), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	pushq	%r12
	pushq	%r12
	pushq	%rax
	pushq	%r13
	pushq	-48(%rbp)
	callq	_svn_wc__read_external_info
	addq	$48, %rsp
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-64(%rbp), %rax
	movq	_svn_node_dir@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_svn_client_upgrade
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %r15
	movq	_svn_wc_notify_failed_external@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movq	%r12, %rdx
	callq	_svn_wc_create_notify
	movq	%r15, (%rax)
	movl	(%r14), %edi
	movq	%rax, %rsi
	movq	%r12, %rdx
	callq	*8(%r14)
	movq	%r15, %rdi
	callq	_svn_error_clear
	jmp	LBB0_7
LBB0_8:
	movq	%r12, %rdi
	callq	_svn_pool_destroy
	jmp	LBB0_10
LBB0_9:
	movq	-48(%rbp), %rsi
	leaq	-96(%rbp), %rdx
	movq	%r14, %rdi
	movq	%r15, %rcx
	callq	_upgrade_externals_from_properties
	movl	%eax, %edi
	callq	_SVN_ERR
LBB0_10:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN_ERR_ILLEGAL_TARGET,4,2     ## @SVN_ERR_ILLEGAL_TARGET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"'%s' is not a local path"

	.comm	_fetch_repos_info,4,2           ## @fetch_repos_info
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_svn_node_dir,8,3               ## @svn_node_dir
	.comm	_svn_wc_notify_failed_external,4,2 ## @svn_wc_notify_failed_external
	.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_client_upgrade             ; -- Begin function svn_client_upgrade
	.p2align	2
_svn_client_upgrade:                    ; @svn_client_upgrade
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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, x2
	mov	x19, x1
	mov	x20, x0
	stp	x1, x2, [sp, #48]
	stp	xzr, xzr, [sp, #32]
	bl	_svn_path_is_url
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _SVN_ERR_ILLEGAL_TARGET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SVN_ERR_ILLEGAL_TARGET@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x2, x0
	mov	x0, x19
	mov	x1, #0
	mov	x3, x20
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #160
	b	_svn_error_createf
LBB0_2:
	add	x0, sp, #72
	mov	x1, x20
	mov	x2, x21
	bl	_svn_dirent_get_absolute
	bl	_SVN_ERR
	ldr	x1, [sp, #72]
Lloh5:
	adrp	x8, _fetch_repos_info@GOTPAGE
Lloh6:
	ldr	x8, [x8, _fetch_repos_info@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	ldp	w5, w4, [x19, #20]
	ldr	w0, [x19, #16]
	ldr	x6, [x19, #8]
	ldr	w7, [x19]
	str	x21, [sp]
	add	x3, sp, #32
	bl	_svn_wc_upgrade
	bl	_SVN_ERR
	ldr	w1, [x19, #16]
	ldr	x2, [sp, #72]
	add	x0, sp, #64
	mov	x3, x21
	mov	x4, x21
	bl	_svn_wc__externals_defined_below
	bl	_SVN_ERR
	ldr	x0, [sp, #64]
	bl	_apr_hash_count
	cmp	x0, #1
	b.lt	LBB0_10
; %bb.3:
	mov	x0, x21
	bl	_svn_pool_create
	mov	x20, x0
	ldr	x1, [sp, #64]
	mov	x0, x21
	bl	_apr_hash_first
	cbz	x0, LBB0_9
; %bb.4:
	mov	x21, x0
Lloh8:
	adrp	x24, _FALSE@GOTPAGE
Lloh9:
	ldr	x24, [x24, _FALSE@GOTPAGEOFF]
Lloh10:
	adrp	x25, _svn_node_dir@GOTPAGE
Lloh11:
	ldr	x25, [x25, _svn_node_dir@GOTPAGEOFF]
Lloh12:
	adrp	x26, _svn_wc_notify_failed_external@GOTPAGE
Lloh13:
	ldr	x26, [x26, _svn_wc_notify_failed_external@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	bl	_apr_hash_next
	mov	x21, x0
	cbz	x0, LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_svn_pool_clear
	mov	x0, x21
	bl	_apr_hash_this_key
	mov	x22, x0
	ldr	w5, [x19, #16]
	ldr	x6, [sp, #72]
	ldr	w8, [x24]
	stp	x20, x20, [sp, #8]
	add	x0, sp, #24
	str	w8, [sp]
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	mov	x4, #0
	mov	x7, x22
	bl	_svn_wc__read_external_info
	bl	_SVN_ERR
	ldr	x8, [sp, #24]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x22
	mov	x1, x19
	mov	x2, x20
	bl	_svn_client_upgrade
	cbz	x0, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x23, x0
	ldr	w1, [x26]
	mov	x0, x22
	mov	x2, x20
	bl	_svn_wc_create_notify
	mov	x1, x0
	str	x23, [x0]
	ldr	x8, [x19, #8]
	ldr	w0, [x19]
	mov	x2, x20
	blr	x8
	mov	x0, x23
	bl	_svn_error_clear
	b	LBB0_5
LBB0_9:
	mov	x0, x20
	bl	_svn_pool_destroy
	b	LBB0_11
LBB0_10:
	ldr	x1, [sp, #72]
	add	x2, sp, #32
	mov	x0, x19
	mov	x3, x21
	bl	_upgrade_externals_from_properties
	bl	_SVN_ERR
LBB0_11:
Lloh14:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh16:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_ERR_ILLEGAL_TARGET,4,2     ; @SVN_ERR_ILLEGAL_TARGET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"'%s' is not a local path"

	.comm	_fetch_repos_info,4,2           ; @fetch_repos_info
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_svn_node_dir,8,3               ; @svn_node_dir
	.comm	_svn_wc_notify_failed_external,4,2 ; @svn_wc_notify_failed_external
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
.subsections_via_symbols
