	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function upgrade_apply_props
_upgrade_apply_props:                   ## @upgrade_apply_props
	.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, -120(%rbp)                 ## 8-byte Spill
	movq	%r8, %r15
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rbx
	movq	%rsi, -104(%rbp)                ## 8-byte Spill
	movq	%rdi, %rsi
	movl	24(%rbp), %r14d
	movq	_STMT_SELECT_NODE_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rdi
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	callq	_svn_sqlite__get_statement
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-48(%rbp), %rdi
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_svn_sqlite__bindf
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-48(%rbp), %rsi
	leaq	-64(%rbp), %rdi
	callq	_svn_sqlite__step
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	$-1, %r13d
	cmpq	$0, -64(%rbp)
	je	LBB0_7
## %bb.1:
	movq	-48(%rbp), %rdi
	xorl	%esi, %esi
	callq	_svn_sqlite__column_int
	movl	%eax, %r12d
	movq	-48(%rbp), %rdi
	movq	_presence_map@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movl	$3, %esi
	callq	_svn_sqlite__column_token
	movq	%rax, %rbx
	movq	-48(%rbp), %rsi
	leaq	-64(%rbp), %rdi
	callq	_svn_sqlite__step
	movl	%eax, %edi
	callq	_SVN_ERR
	cmpq	$0, -64(%rbp)
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	je	LBB0_8
## %bb.2:
	movq	-48(%rbp), %rdi
	movl	(%r14), %edx
	movl	$3, %esi
	callq	_svn_sqlite__column_token
	movq	%rax, %rbx
	movq	_svn_wc__db_status_not_present@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_4
## %bb.3:
	movq	_svn_wc__db_status_deleted@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_5
LBB0_4:
	movq	-48(%rbp), %rsi
	leaq	-64(%rbp), %rdi
	callq	_svn_sqlite__step
	movl	%eax, %edi
	callq	_SVN_ERR
LBB0_5:
	cmpq	$0, -64(%rbp)
	je	LBB0_9
## %bb.6:
	movq	-48(%rbp), %rdi
	movl	(%r14), %edx
	movl	$3, %esi
	callq	_svn_sqlite__column_token
	movq	%rax, %rbx
	movq	-48(%rbp), %rdi
	xorl	%esi, %esi
	callq	_svn_sqlite__column_int
	movl	%eax, %r13d
	jmp	LBB0_9
LBB0_7:
	movl	$-1, %r12d
                                        ## implicit-def: $rax
                                        ## kill: killed $rax
LBB0_8:
                                        ## implicit-def: $rbx
LBB0_9:
	movq	-48(%rbp), %rdi
	callq	_svn_sqlite__reset
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	testq	%r15, %r15
	jne	LBB0_16
## %bb.10:
	movl	16(%rbp), %eax
	movq	_SVN_WC__NO_REVERT_FILES@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	jge	LBB0_16
## %bb.11:
	cmpl	$-1, %r12d
	je	LBB0_16
## %bb.12:
	movq	_svn_wc__db_status_normal@GOTPCREL(%rip), %rax
	cmpl	$-1, %r13d
	sete	%r14b
	xorl	%r15d, %r15d
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	cmpq	(%rax), %rcx
	jne	LBB0_21
## %bb.13:
	cmpl	$-1, %r13d
	je	LBB0_21
## %bb.14:
	movq	_svn_wc__db_status_not_present@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_21
## %bb.15:
	movq	_SVN_ERR_WC_CORRUPT@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_20
LBB0_16:
	cmpl	$-1, %r12d
	je	LBB0_19
## %bb.17:
	cmpl	$-1, %r13d
	sete	%r14b
	cmpq	$0, -96(%rbp)                   ## 8-byte Folded Reload
	setne	%r15b
	je	LBB0_21
## %bb.18:
	cmpl	$-1, %r13d
	jne	LBB0_21
LBB0_19:
	movq	_SVN_ERR_WC_CORRUPT@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	L_.str.2(%rip), %rdi
LBB0_20:
	callq	__
	movl	%eax, %r15d
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	32(%rbp), %rbx
	movq	%rbx, %rdx
	callq	_svn_dirent_join
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_svn_dirent_local_style
	movl	%r14d, %edi
	xorl	%esi, %esi
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	_svn_error_createf
	jmp	LBB0_35
LBB0_21:
	testb	%r15b, %r15b
	jne	LBB0_23
## %bb.22:
	testb	%r14b, %r14b
	je	LBB0_24
LBB0_23:
	movq	_STMT_UPDATE_NODE_PROPS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_svn_sqlite__get_statement
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-48(%rbp), %rdi
	leaq	L_.str.3(%rip), %rsi
	movl	24(%rbp), %edx
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movl	%r12d, %r8d
	xorl	%eax, %eax
	callq	_svn_sqlite__bindf
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-48(%rbp), %rdi
	movl	$4, %esi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	32(%rbp), %rcx
	callq	_svn_sqlite__bind_properties
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-48(%rbp), %rsi
	leaq	-52(%rbp), %rdi
	callq	_svn_sqlite__update
	movl	%eax, %edi
	callq	_SVN_ERR
	xorl	%edi, %edi
	cmpl	$1, -52(%rbp)
	sete	%dil
	callq	_SVN_ERR_ASSERT
LBB0_24:
	testb	%r14b, %r14b
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	movq	32(%rbp), %r14
	jne	LBB0_26
## %bb.25:
	testb	%r15b, %r15b
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	cmoveq	-80(%rbp), %rbx                 ## 8-byte Folded Reload
	movq	_STMT_UPDATE_NODE_PROPS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_svn_sqlite__get_statement
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-48(%rbp), %rdi
	leaq	L_.str.3(%rip), %rsi
	movl	24(%rbp), %edx
	movq	%r12, %rcx
	movl	%r13d, %r8d
	xorl	%eax, %eax
	callq	_svn_sqlite__bindf
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-48(%rbp), %rdi
	movl	$4, %esi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	callq	_svn_sqlite__bind_properties
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-48(%rbp), %rsi
	leaq	-52(%rbp), %rdi
	callq	_svn_sqlite__update
	movl	%eax, %edi
	callq	_SVN_ERR
	xorl	%edi, %edi
	cmpl	$1, -52(%rbp)
	sete	%dil
	callq	_SVN_ERR_ASSERT
LBB0_26:
	cmpq	$0, -80(%rbp)                   ## 8-byte Folded Reload
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	je	LBB0_29
## %bb.27:
	testq	%rbx, %rbx
	je	LBB0_29
## %bb.28:
	leaq	-128(%rbp), %rdi
	movq	%rbx, %rsi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	%r14, %rcx
	callq	_svn_prop_diffs
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-128(%rbp), %rax
	cmpq	$0, (%rax)
	jne	LBB0_30
	jmp	LBB0_31
LBB0_29:
	testq	%rbx, %rbx
	je	LBB0_31
LBB0_30:
	movq	_STMT_UPDATE_ACTUAL_PROPS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_svn_sqlite__get_statement
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-48(%rbp), %rdi
	leaq	L_.str(%rip), %rsi
	movl	24(%rbp), %edx
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_svn_sqlite__bindf
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-48(%rbp), %rdi
	movl	$3, %esi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	callq	_svn_sqlite__bind_properties
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-48(%rbp), %rsi
	leaq	-52(%rbp), %rdi
	callq	_svn_sqlite__update
	movl	%eax, %edi
	callq	_SVN_ERR
	cmpl	$0, -52(%rbp)
	je	LBB0_32
LBB0_31:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_35
LBB0_32:
	movq	_STMT_INSERT_ACTUAL_PROPS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_svn_sqlite__get_statement
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-48(%rbp), %rdi
	leaq	L_.str(%rip), %rsi
	movl	24(%rbp), %edx
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_svn_sqlite__bindf
	movl	%eax, %edi
	callq	_SVN_ERR
	cmpb	$0, (%r12)
	je	LBB0_34
## %bb.33:
	movq	-48(%rbp), %r14
	movq	%r12, %rdi
	movq	32(%rbp), %rsi
	callq	_svn_relpath_dirname
	movq	%r14, %rdi
	movq	32(%rbp), %r14
	movl	$3, %esi
	movl	%eax, %edx
	callq	_svn_sqlite__bind_text
	movl	%eax, %edi
	callq	_SVN_ERR
LBB0_34:
	movq	-48(%rbp), %rdi
	movl	$4, %esi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	callq	_svn_sqlite__bind_properties
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-48(%rbp), %rdi
	callq	_svn_sqlite__step_done
	movl	%eax, %edi
	callq	_svn_error_trace
LBB0_35:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STMT_SELECT_NODE_INFO,4,2      ## @STMT_SELECT_NODE_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"is"

	.comm	_presence_map,4,2               ## @presence_map
	.comm	_svn_wc__db_status_not_present,8,3 ## @svn_wc__db_status_not_present
	.comm	_svn_wc__db_status_deleted,8,3  ## @svn_wc__db_status_deleted
	.comm	_SVN_WC__NO_REVERT_FILES,4,2    ## @SVN_WC__NO_REVERT_FILES
	.comm	_svn_wc__db_status_normal,8,3   ## @svn_wc__db_status_normal
	.comm	_SVN_ERR_WC_CORRUPT,4,2         ## @SVN_ERR_WC_CORRUPT
L_.str.1:                               ## @.str.1
	.asciz	"The properties of '%s' are in an indeterminate state and cannot be upgraded. See issue #2530."

L_.str.2:                               ## @.str.2
	.asciz	"Insufficient NODES rows for '%s'"

	.comm	_STMT_UPDATE_NODE_PROPS,4,2     ## @STMT_UPDATE_NODE_PROPS
L_.str.3:                               ## @.str.3
	.asciz	"isd"

	.comm	_STMT_UPDATE_ACTUAL_PROPS,4,2   ## @STMT_UPDATE_ACTUAL_PROPS
	.comm	_STMT_INSERT_ACTUAL_PROPS,4,2   ## @STMT_INSERT_ACTUAL_PROPS
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.no_dead_strip	_upgrade_apply_props
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function upgrade_apply_props
_upgrade_apply_props:                   ; @upgrade_apply_props
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x7
	mov	x28, x6
	mov	x22, x5
	mov	x25, x4
	str	x3, [sp, #24]                   ; 8-byte Folded Spill
	mov	x21, x2
	mov	x26, x1
	mov	x1, x0
	ldr	x19, [x29, #16]
Lloh0:
	adrp	x8, _STMT_SELECT_NODE_INFO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STMT_SELECT_NODE_INFO@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x0, sp, #56
	str	x1, [sp, #8]                    ; 8-byte Folded Spill
	bl	_svn_sqlite__get_statement
	bl	_SVN_ERR
	ldr	x0, [sp, #56]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x23, x20
	mov	x2, x20
	mov	x3, x21
	bl	_svn_sqlite__bindf
	bl	_SVN_ERR
	ldr	x1, [sp, #56]
	add	x0, sp, #48
	bl	_svn_sqlite__step
	bl	_SVN_ERR
	ldr	x8, [sp, #48]
	str	x22, [sp, #16]                  ; 8-byte Folded Spill
	cbz	x8, LBB0_6
; %bb.1:
	ldr	x0, [sp, #56]
	mov	w1, #0
	bl	_svn_sqlite__column_int
	mov	x27, x0
	ldr	x0, [sp, #56]
Lloh5:
	adrp	x20, _presence_map@GOTPAGE
Lloh6:
	ldr	x20, [x20, _presence_map@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	w1, #3
	bl	_svn_sqlite__column_token
	mov	x24, x0
	ldr	x1, [sp, #56]
	add	x0, sp, #48
	bl	_svn_sqlite__step
	bl	_SVN_ERR
	ldr	x8, [sp, #48]
	cbz	x8, LBB0_7
; %bb.2:
	ldr	x0, [sp, #56]
	ldr	w2, [x20]
	mov	w1, #3
	bl	_svn_sqlite__column_token
	mov	x22, x0
Lloh7:
	adrp	x8, _svn_wc__db_status_not_present@GOTPAGE
Lloh8:
	ldr	x8, [x8, _svn_wc__db_status_not_present@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
Lloh10:
	adrp	x9, _svn_wc__db_status_deleted@GOTPAGE
Lloh11:
	ldr	x9, [x9, _svn_wc__db_status_deleted@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x0, x8
	ccmp	x0, x9, #4, ne
	b.ne	LBB0_4
; %bb.3:
	ldr	x1, [sp, #56]
	add	x0, sp, #48
	bl	_svn_sqlite__step
	bl	_SVN_ERR
LBB0_4:
	ldr	x8, [sp, #48]
	cbz	x8, LBB0_8
; %bb.5:
	ldr	x0, [sp, #56]
	ldr	w2, [x20]
	mov	w1, #3
	bl	_svn_sqlite__column_token
	mov	x22, x0
	ldr	x0, [sp, #56]
	mov	w1, #0
	bl	_svn_sqlite__column_int
	mov	x20, x0
	b	LBB0_9
LBB0_6:
	mov	w27, #-1
	mov	w20, #-1
                                        ; implicit-def: $x24
                                        ; implicit-def: $x22
	b	LBB0_9
LBB0_7:
	mov	w20, #-1
                                        ; implicit-def: $x22
	b	LBB0_9
LBB0_8:
	mov	w20, #-1
LBB0_9:
	ldr	x0, [sp, #56]
	bl	_svn_sqlite__reset
	bl	_SVN_ERR
	cbnz	x25, LBB0_13
; %bb.10:
Lloh13:
	adrp	x8, _SVN_WC__NO_REVERT_FILES@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SVN_WC__NO_REVERT_FILES@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	cmp	w8, w28
	ccmn	w27, #1, #4, lt
	b.eq	LBB0_13
; %bb.11:
Lloh16:
	adrp	x8, _svn_wc__db_status_normal@GOTPAGE
Lloh17:
	ldr	x8, [x8, _svn_wc__db_status_normal@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	cmn	w20, #1
	cset	w28, eq
Lloh19:
	adrp	x9, _svn_wc__db_status_not_present@GOTPAGE
Lloh20:
	ldr	x9, [x9, _svn_wc__db_status_not_present@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x24, x8
	ccmn	w20, #1, #4, eq
	ccmp	x22, x9, #4, ne
	b.ne	LBB0_21
; %bb.12:
	mov	w22, #0
	b	LBB0_17
LBB0_13:
	cmn	w27, #1
	b.eq	LBB0_16
; %bb.14:
	cmn	w20, #1
	cset	w28, eq
	cmp	x25, #0
	cset	w22, ne
	cbz	x25, LBB0_17
; %bb.15:
	cmn	w20, #1
	b.ne	LBB0_17
LBB0_16:
Lloh22:
	adrp	x8, _SVN_ERR_WC_CORRUPT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _SVN_ERR_WC_CORRUPT@GOTPAGEOFF]
Lloh24:
	ldr	w20, [x8]
Lloh25:
	adrp	x0, l_.str.2@PAGE
Lloh26:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_22
LBB0_17:
Lloh27:
	adrp	x24, _STMT_UPDATE_NODE_PROPS@GOTPAGE
Lloh28:
	ldr	x24, [x24, _STMT_UPDATE_NODE_PROPS@GOTPAGEOFF]
	mov	x26, x23
	ldr	x23, [sp, #8]                   ; 8-byte Folded Reload
	tbnz	w22, #0, LBB0_23
; %bb.18:
	cbnz	w28, LBB0_23
; %bb.19:
	ldr	x27, [sp, #24]                  ; 8-byte Folded Reload
	tbz	w28, #0, LBB0_24
LBB0_20:
	ldr	x22, [sp, #16]                  ; 8-byte Folded Reload
	cbnz	x27, LBB0_25
	b	LBB0_27
LBB0_21:
Lloh29:
	adrp	x8, _SVN_ERR_WC_CORRUPT@GOTPAGE
Lloh30:
	ldr	x8, [x8, _SVN_ERR_WC_CORRUPT@GOTPAGEOFF]
Lloh31:
	ldr	w20, [x8]
Lloh32:
	adrp	x0, l_.str.1@PAGE
Lloh33:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_22:
	bl	__
	mov	x22, x0
	mov	x0, x26
	mov	x1, x21
	mov	x2, x19
	bl	_svn_dirent_join
	mov	x1, x19
	bl	_svn_dirent_local_style
	mov	x3, x0
	mov	x0, x20
	mov	x1, #0
	mov	x2, x22
	bl	_svn_error_createf
	b	LBB0_33
LBB0_23:
	ldr	w2, [x24]
	add	x0, sp, #56
	mov	x1, x23
	bl	_svn_sqlite__get_statement
	bl	_SVN_ERR
	ldr	x0, [sp, #56]
	str	x27, [sp]
Lloh34:
	adrp	x1, l_.str.3@PAGE
Lloh35:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x26
	mov	x3, x21
	bl	_svn_sqlite__bindf
	bl	_SVN_ERR
	ldr	x0, [sp, #56]
	mov	w1, #4
	ldr	x2, [sp, #24]                   ; 8-byte Folded Reload
	mov	x3, x19
	bl	_svn_sqlite__bind_properties
	bl	_SVN_ERR
	ldr	x1, [sp, #56]
	add	x0, sp, #44
	bl	_svn_sqlite__update
	bl	_SVN_ERR
	ldr	w8, [sp, #44]
	cmp	w8, #1
	cset	w0, eq
	bl	_SVN_ERR_ASSERT
	ldr	x27, [sp, #24]                  ; 8-byte Folded Reload
	tbnz	w28, #0, LBB0_20
LBB0_24:
	cmp	w22, #0
	csel	x22, x25, x27, ne
	ldr	w2, [x24]
	add	x0, sp, #56
	mov	x1, x23
	bl	_svn_sqlite__get_statement
	bl	_SVN_ERR
	ldr	x0, [sp, #56]
	str	x20, [sp]
Lloh36:
	adrp	x1, l_.str.3@PAGE
Lloh37:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x26
	mov	x3, x21
	bl	_svn_sqlite__bindf
	bl	_SVN_ERR
	ldr	x0, [sp, #56]
	mov	w1, #4
	mov	x2, x22
	mov	x3, x19
	bl	_svn_sqlite__bind_properties
	bl	_SVN_ERR
	ldr	x1, [sp, #56]
	add	x0, sp, #44
	bl	_svn_sqlite__update
	bl	_SVN_ERR
	ldr	w8, [sp, #44]
	cmp	w8, #1
	cset	w0, eq
	bl	_SVN_ERR_ASSERT
	ldr	x22, [sp, #16]                  ; 8-byte Folded Reload
	cbz	x27, LBB0_27
LBB0_25:
	cbz	x22, LBB0_27
; %bb.26:
	add	x0, sp, #32
	mov	x1, x22
	mov	x2, x27
	mov	x3, x19
	bl	_svn_prop_diffs
	bl	_SVN_ERR
	ldr	x8, [sp, #32]
	ldr	x8, [x8]
	cbnz	x8, LBB0_28
	b	LBB0_29
LBB0_27:
	cbz	x22, LBB0_29
LBB0_28:
Lloh38:
	adrp	x8, _STMT_UPDATE_ACTUAL_PROPS@GOTPAGE
Lloh39:
	ldr	x8, [x8, _STMT_UPDATE_ACTUAL_PROPS@GOTPAGEOFF]
Lloh40:
	ldr	w2, [x8]
	add	x0, sp, #56
	mov	x1, x23
	bl	_svn_sqlite__get_statement
	bl	_SVN_ERR
	ldr	x0, [sp, #56]
Lloh41:
	adrp	x1, l_.str@PAGE
Lloh42:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x26
	mov	x3, x21
	bl	_svn_sqlite__bindf
	bl	_SVN_ERR
	ldr	x0, [sp, #56]
	mov	w1, #3
	mov	x2, x22
	mov	x3, x19
	bl	_svn_sqlite__bind_properties
	bl	_SVN_ERR
	ldr	x1, [sp, #56]
	add	x0, sp, #44
	bl	_svn_sqlite__update
	bl	_SVN_ERR
	ldr	w8, [sp, #44]
	cbz	w8, LBB0_30
LBB0_29:
Lloh43:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh44:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh45:
	ldr	x0, [x8]
	b	LBB0_33
LBB0_30:
Lloh46:
	adrp	x8, _STMT_INSERT_ACTUAL_PROPS@GOTPAGE
Lloh47:
	ldr	x8, [x8, _STMT_INSERT_ACTUAL_PROPS@GOTPAGEOFF]
Lloh48:
	ldr	w2, [x8]
	add	x0, sp, #56
	mov	x1, x23
	bl	_svn_sqlite__get_statement
	bl	_SVN_ERR
	ldr	x0, [sp, #56]
Lloh49:
	adrp	x1, l_.str@PAGE
Lloh50:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x26
	mov	x3, x21
	bl	_svn_sqlite__bindf
	bl	_SVN_ERR
	ldrb	w8, [x21]
	cbz	w8, LBB0_32
; %bb.31:
	ldr	x20, [sp, #56]
	mov	x0, x21
	mov	x1, x19
	bl	_svn_relpath_dirname
	mov	x2, x0
	mov	x0, x20
	mov	w1, #3
	bl	_svn_sqlite__bind_text
	bl	_SVN_ERR
LBB0_32:
	ldr	x0, [sp, #56]
	mov	w1, #4
	mov	x2, x22
	mov	x3, x19
	bl	_svn_sqlite__bind_properties
	bl	_SVN_ERR
	ldr	x0, [sp, #56]
	bl	_svn_sqlite__step_done
	bl	_svn_error_trace
LBB0_33:
	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
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.comm	_STMT_SELECT_NODE_INFO,4,2      ; @STMT_SELECT_NODE_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"is"

	.comm	_presence_map,4,2               ; @presence_map
	.comm	_svn_wc__db_status_not_present,8,3 ; @svn_wc__db_status_not_present
	.comm	_svn_wc__db_status_deleted,8,3  ; @svn_wc__db_status_deleted
	.comm	_SVN_WC__NO_REVERT_FILES,4,2    ; @SVN_WC__NO_REVERT_FILES
	.comm	_svn_wc__db_status_normal,8,3   ; @svn_wc__db_status_normal
	.comm	_SVN_ERR_WC_CORRUPT,4,2         ; @SVN_ERR_WC_CORRUPT
l_.str.1:                               ; @.str.1
	.asciz	"The properties of '%s' are in an indeterminate state and cannot be upgraded. See issue #2530."

l_.str.2:                               ; @.str.2
	.asciz	"Insufficient NODES rows for '%s'"

	.comm	_STMT_UPDATE_NODE_PROPS,4,2     ; @STMT_UPDATE_NODE_PROPS
l_.str.3:                               ; @.str.3
	.asciz	"isd"

	.comm	_STMT_UPDATE_ACTUAL_PROPS,4,2   ; @STMT_UPDATE_ACTUAL_PROPS
	.comm	_STMT_INSERT_ACTUAL_PROPS,4,2   ; @STMT_INSERT_ACTUAL_PROPS
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.no_dead_strip	_upgrade_apply_props
.subsections_via_symbols
