	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	16(%rdi), %r14
	movq	8(%r14), %rbx
	movq	$0, -80(%rbp)
	movq	$0, -72(%rbp)
	movl	(%r14), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	movq	%r12, %rcx
	callq	_svn_fs_fs__set_uuid
	movl	%eax, %edi
	callq	_SVN_ERR
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	movq	%r12, %rdx
	callq	_recover_get_largest_revision
	movl	%eax, %edi
	callq	_SVN_ERR
	leaq	-88(%rbp), %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_svn_fs_fs__youngest_rev
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-48(%rbp), %rsi
	cmpq	%rsi, -88(%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	-88(%rbp), %r8
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_svn_error_createf
	jmp	LBB0_21
LBB0_2:
	movq	(%rbx), %rax
	movq	_SVN_FS_FS__MIN_NO_GLOBAL_IDS_FORMAT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_9
## %bb.3:
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_svn_pool_create
	movq	%rax, %r13
	cmpq	$0, -48(%rbp)
	js	LBB0_8
## %bb.4:
	movq	$-1, %rbx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	leaq	-64(%rbp), %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movq	%r12, %rcx
	movq	%r13, %r8
	callq	_svn_fs_fs__open_pack_or_rev_file
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-64(%rbp), %rdx
	leaq	-56(%rbp), %rdi
	movq	%rbx, %rsi
	movq	%r12, %rcx
	callq	_recover_get_root_offset
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-64(%rbp), %rdx
	movl	-56(%rbp), %ecx
	movq	%r12, (%rsp)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	leaq	-80(%rbp), %r8
	leaq	-72(%rbp), %r9
	callq	_recover_find_max_ids
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-64(%rbp), %rdi
	callq	_svn_fs_fs__close_revision_file
	movl	%eax, %edi
	callq	_SVN_ERR
	cmpq	-48(%rbp), %rbx
	jge	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	incq	%rbx
	movq	%r13, %rdi
	callq	_svn_pool_clear
	movq	8(%r15), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r15), %edi
	callq	*%rax
	movl	%eax, %edi
	callq	_SVN_ERR
	jmp	LBB0_7
LBB0_8:
	movq	%r13, %rdi
	callq	_svn_pool_destroy
	incq	-80(%rbp)
	incq	-72(%rbp)
	movq	-48(%rbp), %rsi
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
LBB0_9:
	movq	%r14, %rdi
	movq	%r12, %rdx
	callq	_svn_fs_fs__path_revprops
	leaq	-64(%rbp), %rsi
	movl	%eax, %edi
	movq	%r12, %rdx
	callq	_svn_io_check_path
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-64(%rbp), %rax
	movq	_svn_node_none@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.10:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)
	movq	-48(%rbp), %rdx
	leaq	-56(%rbp), %rdi
	movq	%r14, %rsi
	movq	%r12, %rcx
	callq	_svn_fs_fs__packed_revprop_available
	testl	%eax, %eax
	jne	LBB0_17
## %bb.11:
	cmpq	$0, -56(%rbp)
	movq	_SVN_ERR_FS_CORRUPT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	je	LBB0_14
## %bb.12:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_13
LBB0_15:
	movq	_svn_node_file@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_16
LBB0_17:
	cmpq	$0, 8(%rbx)
	je	LBB0_20
## %bb.18:
	leaq	-56(%rbp), %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_svn_fs_fs__exists_rep_cache
	movl	%eax, %edi
	callq	_SVN_ERR
	cmpq	$0, -56(%rbp)
	je	LBB0_20
## %bb.19:
	movq	-48(%rbp), %rsi
	movq	%r14, %rdi
	movq	%r12, %rdx
	callq	_svn_fs_fs__del_rep_reference
	movl	%eax, %edi
	callq	_SVN_ERR
LBB0_20:
	movq	-48(%rbp), %rsi
	movq	-80(%rbp), %rdx
	movq	-72(%rbp), %rcx
	movq	%r14, %rdi
	movq	%r12, %r8
	callq	_svn_fs_fs__write_current
	jmp	LBB0_21
LBB0_16:
	movq	_SVN_ERR_FS_CORRUPT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_13
LBB0_14:
	leaq	L_.str.2(%rip), %rdi
LBB0_13:
	callq	__
	movq	-48(%rbp), %rcx
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_svn_error_createf
LBB0_21:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.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_FS_FS__MIN_NO_GLOBAL_IDS_FORMAT,8,3 ## @SVN_FS_FS__MIN_NO_GLOBAL_IDS_FORMAT
	.comm	_svn_node_none,8,3              ## @svn_node_none
	.comm	_TRUE,8,3                       ## @TRUE
L_.str.1:                               ## @.str.1
	.asciz	"Revision %ld has a revs file but no revprops file"

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

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

	.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, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x21, x0
	ldr	x20, [x0, #16]
	ldr	x24, [x20, #8]
	stp	xzr, xzr, [sp, #40]
	ldr	w1, [x20]
	mov	x0, x20
	mov	x2, #0
	mov	x3, x19
	bl	_svn_fs_fs__set_uuid
	bl	_SVN_ERR
	add	x1, sp, #56
	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_fs__youngest_rev
	bl	_SVN_ERR
	ldr	x8, [sp, #32]
	ldr	x1, [sp, #56]
	cmp	x8, x1
	b.le	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _SVN_ERR_FS_CORRUPT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SVN_ERR_FS_CORRUPT@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x2, x0
	ldr	x3, [sp, #56]
	ldr	x8, [sp, #32]
	str	x8, [sp]
	b	LBB0_21
LBB0_2:
	ldr	x8, [x24]
Lloh5:
	adrp	x9, _SVN_FS_FS__MIN_NO_GLOBAL_IDS_FORMAT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SVN_FS_FS__MIN_NO_GLOBAL_IDS_FORMAT@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_9
; %bb.3:
	mov	x0, x19
	bl	_svn_pool_create
	mov	x22, x0
	ldr	x8, [sp, #56]
	tbnz	x8, #63, LBB0_8
; %bb.4:
	mov	x23, #-1
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x23, x23, #1
	add	x0, sp, #24
	mov	x1, x20
	mov	x2, x23
	mov	x3, x19
	mov	x4, x22
	bl	_svn_fs_fs__open_pack_or_rev_file
	bl	_SVN_ERR
	ldr	x2, [sp, #24]
	add	x0, sp, #16
	mov	x1, x23
	mov	x3, x19
	bl	_recover_get_root_offset
	bl	_SVN_ERR
	ldr	x2, [sp, #24]
	ldr	w3, [sp, #16]
	add	x4, sp, #48
	add	x5, sp, #40
	mov	x0, x20
	mov	x1, x23
	mov	x6, x19
	bl	_recover_find_max_ids
	bl	_SVN_ERR
	ldr	x0, [sp, #24]
	bl	_svn_fs_fs__close_revision_file
	bl	_SVN_ERR
	ldr	x8, [sp, #56]
	cmp	x23, x8
	b.ge	LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_svn_pool_clear
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x21]
	blr	x8
	bl	_SVN_ERR
	b	LBB0_5
LBB0_8:
	mov	x0, x22
	bl	_svn_pool_destroy
	ldp	x8, x1, [sp, #48]
	add	x9, x8, #1
	ldr	x8, [sp, #40]
	add	x8, x8, #1
	stp	x8, x9, [sp, #40]
LBB0_9:
	mov	x0, x20
	mov	x2, x19
	bl	_svn_fs_fs__path_revprops
	add	x1, sp, #24
	mov	x2, x19
	bl	_svn_io_check_path
	bl	_SVN_ERR
	ldr	x8, [sp, #24]
Lloh8:
	adrp	x9, _svn_node_none@GOTPAGE
Lloh9:
	ldr	x9, [x9, _svn_node_none@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.10:
Lloh11:
	adrp	x8, _TRUE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	str	x8, [sp, #16]
	ldr	x2, [sp, #56]
	add	x0, sp, #16
	mov	x1, x20
	mov	x3, x19
	bl	_svn_fs_fs__packed_revprop_available
	cbnz	w0, LBB0_14
; %bb.11:
	ldr	x8, [sp, #16]
Lloh14:
	adrp	x9, _SVN_ERR_FS_CORRUPT@GOTPAGE
Lloh15:
	ldr	x9, [x9, _SVN_ERR_FS_CORRUPT@GOTPAGEOFF]
Lloh16:
	ldr	w19, [x9]
	cbz	x8, LBB0_19
; %bb.12:
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_20
LBB0_13:
Lloh19:
	adrp	x9, _svn_node_file@GOTPAGE
Lloh20:
	ldr	x9, [x9, _svn_node_file@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_18
LBB0_14:
	ldr	x8, [x24, #8]
	cbz	x8, LBB0_17
; %bb.15:
	add	x0, sp, #16
	mov	x1, x20
	mov	x2, x19
	bl	_svn_fs_fs__exists_rep_cache
	bl	_SVN_ERR
	ldr	x8, [sp, #16]
	cbz	x8, LBB0_17
; %bb.16:
	ldr	x1, [sp, #56]
	mov	x0, x20
	mov	x2, x19
	bl	_svn_fs_fs__del_rep_reference
	bl	_SVN_ERR
LBB0_17:
	ldp	x2, x1, [sp, #48]
	ldr	x3, [sp, #40]
	mov	x0, x20
	mov	x4, x19
	bl	_svn_fs_fs__write_current
	b	LBB0_22
LBB0_18:
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.3@PAGE
Lloh26:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_20
LBB0_19:
Lloh27:
	adrp	x0, l_.str.2@PAGE
Lloh28:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_20:
	bl	__
	mov	x2, x0
	ldr	x3, [sp, #56]
LBB0_21:
	mov	x0, x19
	mov	x1, #0
	bl	_svn_error_createf
LBB0_22:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.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_FS_FS__MIN_NO_GLOBAL_IDS_FORMAT,8,3 ; @SVN_FS_FS__MIN_NO_GLOBAL_IDS_FORMAT
	.comm	_svn_node_none,8,3              ; @svn_node_none
	.comm	_TRUE,8,3                       ; @TRUE
l_.str.1:                               ; @.str.1
	.asciz	"Revision %ld has a revs file but no revprops file"

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

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

	.no_dead_strip	_recover_body
.subsections_via_symbols
