	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function recover_body
_recover_body:                          ## @recover_body
	.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	%rsi, %r14
	movq	(%rdi), %rbx
	movq	8(%rbx), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	_TRUE@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	%rax, -64(%rbp)
	movq	_FALSE@GOTPCREL(%rip), %r12
	movq	(%r12), %r15
	movq	%rbx, %rdi
	callq	_svn_fs_x__reset_revprop_generation_file
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	(%rbx), %esi
	movq	(%r13), %rcx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movq	%r14, %r8
	callq	_svn_fs_x__set_uuid
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_discard_transactions
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_reset_txn_number
	movl	%eax, %edi
	callq	_SVN_ERR
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_recover_get_largest_revision
	movl	%eax, %edi
	callq	_SVN_ERR
	leaq	-72(%rbp), %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_svn_fs_x__youngest_rev
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-48(%rbp), %rsi
	cmpq	%rsi, -72(%rbp)
	jle	LBB0_2
## %bb.1:
	movq	_SVN_ERR_FS_CORRUPT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str(%rip), %rdi
	callq	__
	movq	-48(%rbp), %rcx
	movq	-72(%rbp), %r8
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_svn_error_createf
	jmp	LBB0_17
LBB0_2:
	movq	%rbx, %rdi
	callq	_svn_fs_x__is_packed_revprop
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	-48(%rbp), %rdx
	leaq	-64(%rbp), %rdi
	movq	%rbx, %rsi
	movq	%r14, %rcx
	callq	_svn_fs_x__packed_revprop_available
	movq	%rax, %r15
	jmp	LBB0_4
LBB0_7:
	movq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_svn_fs_x__path_revprops
	leaq	-56(%rbp), %rsi
	movl	%eax, %edi
	movq	%r14, %rdx
	callq	_svn_io_check_path
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-56(%rbp), %rax
	movq	_svn_node_file@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.8:
	movq	(%r12), %rax
	movq	%rax, -64(%rbp)
	movq	(%r13), %r15
	jmp	LBB0_4
LBB0_9:
	movq	_svn_node_none@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
LBB0_4:
	testq	%r15, %r15
	je	LBB0_5
## %bb.13:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax)
	je	LBB0_16
## %bb.14:
	leaq	-56(%rbp), %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_svn_fs_x__exists_rep_cache
	movl	%eax, %edi
	callq	_SVN_ERR
	cmpq	$0, -56(%rbp)
	je	LBB0_16
## %bb.15:
	movq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_svn_fs_x__del_rep_reference
	movl	%eax, %edi
	callq	_SVN_ERR
LBB0_16:
	movq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_svn_fs_x__write_current
	jmp	LBB0_17
LBB0_5:
	cmpq	$0, -64(%rbp)
	movq	_SVN_ERR_FS_CORRUPT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	je	LBB0_12
## %bb.6:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_11
LBB0_12:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_11
LBB0_10:
	movq	_SVN_ERR_FS_CORRUPT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.1(%rip), %rdi
LBB0_11:
	callq	__
	movq	-48(%rbp), %rcx
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_svn_error_createf
LBB0_17:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_SVN_ERR_FS_CORRUPT,4,2         ## @SVN_ERR_FS_CORRUPT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Expected current rev to be <= %ld but found %ld"

	.comm	_svn_node_file,8,3              ## @svn_node_file
	.comm	_svn_node_none,8,3              ## @svn_node_none
L_.str.1:                               ## @.str.1
	.asciz	"Revision %ld has a non-file where its revprops file should be"

L_.str.2:                               ## @.str.2
	.asciz	"Revision %ld has a revs file but no revprops file"

L_.str.3:                               ## @.str.3
	.asciz	"Revision %ld has a revs file but the revprops file is inaccessible"

	.no_dead_strip	_recover_body
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function recover_body
_recover_body:                          ; @recover_body
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x19, x1
	ldr	x20, [x0]
Lloh0:
	adrp	x23, _TRUE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _TRUE@GOTPAGEOFF]
	ldr	x22, [x20, #8]
	ldr	x8, [x23]
	str	x8, [sp, #24]
Lloh2:
	adrp	x24, _FALSE@GOTPAGE
Lloh3:
	ldr	x24, [x24, _FALSE@GOTPAGEOFF]
	ldr	x21, [x24]
	mov	x0, x20
	bl	_svn_fs_x__reset_revprop_generation_file
	bl	_SVN_ERR
	ldr	w1, [x20]
	ldr	x3, [x23]
	mov	x0, x20
	mov	x2, #0
	mov	x4, x19
	bl	_svn_fs_x__set_uuid
	bl	_SVN_ERR
	mov	x0, x20
	mov	x1, x19
	bl	_discard_transactions
	bl	_SVN_ERR
	mov	x0, x20
	mov	x1, x19
	bl	_reset_txn_number
	bl	_SVN_ERR
	add	x1, sp, #40
	mov	x0, x20
	mov	x2, x19
	bl	_recover_get_largest_revision
	bl	_SVN_ERR
	add	x0, sp, #32
	mov	x1, x20
	mov	x2, x19
	bl	_svn_fs_x__youngest_rev
	bl	_SVN_ERR
	ldp	x8, x1, [sp, #32]
	cmp	x8, x1
	b.le	LBB0_2
; %bb.1:
Lloh4:
	adrp	x8, _SVN_ERR_FS_CORRUPT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SVN_ERR_FS_CORRUPT@GOTPAGEOFF]
Lloh6:
	ldr	w19, [x8]
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x2, x0
	ldp	x8, x3, [sp, #32]
	str	x8, [sp]
	b	LBB0_17
LBB0_2:
	mov	x0, x20
	bl	_svn_fs_x__is_packed_revprop
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x2, [sp, #40]
	add	x0, sp, #24
	mov	x1, x20
	mov	x3, x19
	bl	_svn_fs_x__packed_revprop_available
	mov	x21, x0
	b	LBB0_7
LBB0_4:
	ldr	x1, [sp, #40]
	mov	x0, x20
	mov	x2, x19
	bl	_svn_fs_x__path_revprops
	add	x1, sp, #16
	mov	x2, x19
	bl	_svn_io_check_path
	bl	_SVN_ERR
	ldr	x8, [sp, #16]
Lloh9:
	adrp	x9, _svn_node_file@GOTPAGE
Lloh10:
	ldr	x9, [x9, _svn_node_file@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
	ldr	x8, [x24]
	str	x8, [sp, #24]
	ldr	x21, [x23]
	b	LBB0_7
LBB0_6:
Lloh12:
	adrp	x9, _svn_node_none@GOTPAGE
Lloh13:
	ldr	x9, [x9, _svn_node_none@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_15
LBB0_7:
	cbz	x21, LBB0_12
; %bb.8:
	ldr	x8, [x22]
	cbz	x8, LBB0_11
; %bb.9:
	add	x0, sp, #16
	mov	x1, x20
	mov	x2, x19
	bl	_svn_fs_x__exists_rep_cache
	bl	_SVN_ERR
	ldr	x8, [sp, #16]
	cbz	x8, LBB0_11
; %bb.10:
	ldr	x1, [sp, #40]
	mov	x0, x20
	mov	x2, x19
	bl	_svn_fs_x__del_rep_reference
	bl	_SVN_ERR
LBB0_11:
	ldr	x1, [sp, #40]
	mov	x0, x20
	mov	x2, x19
	bl	_svn_fs_x__write_current
	b	LBB0_18
LBB0_12:
	ldr	x8, [sp, #24]
Lloh15:
	adrp	x9, _SVN_ERR_FS_CORRUPT@GOTPAGE
Lloh16:
	ldr	x9, [x9, _SVN_ERR_FS_CORRUPT@GOTPAGEOFF]
Lloh17:
	ldr	w19, [x9]
	cbz	x8, LBB0_14
; %bb.13:
Lloh18:
	adrp	x0, l_.str.2@PAGE
Lloh19:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_16
LBB0_14:
Lloh20:
	adrp	x0, l_.str.3@PAGE
Lloh21:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_16
LBB0_15:
Lloh22:
	adrp	x8, _SVN_ERR_FS_CORRUPT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _SVN_ERR_FS_CORRUPT@GOTPAGEOFF]
Lloh24:
	ldr	w19, [x8]
Lloh25:
	adrp	x0, l_.str.1@PAGE
Lloh26:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_16:
	bl	__
	mov	x2, x0
	ldr	x3, [sp, #40]
LBB0_17:
	mov	x0, x19
	mov	x1, #0
	bl	_svn_error_createf
LBB0_18:
	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
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_SVN_ERR_FS_CORRUPT,4,2         ; @SVN_ERR_FS_CORRUPT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Expected current rev to be <= %ld but found %ld"

	.comm	_svn_node_file,8,3              ; @svn_node_file
	.comm	_svn_node_none,8,3              ; @svn_node_none
l_.str.1:                               ; @.str.1
	.asciz	"Revision %ld has a non-file where its revprops file should be"

l_.str.2:                               ; @.str.2
	.asciz	"Revision %ld has a revs file but no revprops file"

l_.str.3:                               ; @.str.3
	.asciz	"Revision %ld has a revs file but the revprops file is inaccessible"

	.no_dead_strip	_recover_body
.subsections_via_symbols
