	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function recover_get_largest_revision
_recover_get_largest_revision:          ## @recover_get_largest_revision
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movq	%rdx, %rdi
	callq	_svn_pool_create
	movq	%rax, %r12
	movl	$1, %ebx
	leaq	-56(%rbp), %r14
	movq	_SVN_ERR_FS_NO_SUCH_REVISION@GOTPCREL(%rip), %r13
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %rdi
	callq	_SVN_ERR
	addl	%ebx, %ebx
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_svn_pool_clear
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	movq	%r12, %rcx
	movq	%r12, %r8
	callq	_svn_fs_fs__open_pack_or_rev_file
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rax), %rcx
	cmpq	(%r13), %rcx
	jne	LBB0_3
## %bb.4:
	movq	%rax, %rdi
	callq	_svn_error_clear
	movl	%ebx, %r13d
	sarl	%r13d
	leal	1(%r13), %eax
	cmpl	%ebx, %eax
	jl	LBB0_6
## %bb.5:
	movl	%r13d, %r14d
LBB0_11:
	movq	%r12, %rdi
	callq	_svn_pool_destroy
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%r14d, (%rax)
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %rdi
	callq	_SVN_ERR
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	leal	1(%r14), %eax
	movl	%r14d, %r13d
	cmpl	%ebx, %eax
	jge	LBB0_11
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %eax
	subl	%r13d, %eax
	movl	%eax, %r14d
	shrl	$31, %r14d
	addl	%eax, %r14d
	sarl	%r14d
	addl	%r13d, %r14d
	movq	%r12, %rdi
	callq	_svn_pool_clear
	leaq	-56(%rbp), %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	movq	%r12, %rcx
	movq	%r12, %r8
	callq	_svn_fs_fs__open_pack_or_rev_file
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	(%rax), %rcx
	movq	_SVN_ERR_FS_NO_SUCH_REVISION@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %rdi
	callq	_svn_error_clear
	movl	%r14d, %ebx
	movl	%r13d, %r14d
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN_ERR_FS_NO_SUCH_REVISION,8,3 ## @SVN_ERR_FS_NO_SUCH_REVISION
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.no_dead_strip	_recover_get_largest_revision
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function recover_get_largest_revision
_recover_get_largest_revision:          ; @recover_get_largest_revision
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x21, x0
	mov	x0, x2
	bl	_svn_pool_create
	mov	x20, x0
	mov	w22, #1
Lloh0:
	adrp	x24, _SVN_ERR_FS_NO_SUCH_REVISION@GOTPAGE
Lloh1:
	ldr	x24, [x24, _SVN_ERR_FS_NO_SUCH_REVISION@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	bl	_SVN_ERR
	lsl	w22, w22, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_svn_pool_clear
	add	x0, sp, #8
	mov	x1, x21
	mov	x2, x22
	mov	x3, x20
	mov	x4, x20
	bl	_svn_fs_fs__open_pack_or_rev_file
	cbz	x0, LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x0]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_1
; %bb.4:
	bl	_svn_error_clear
	asr	w25, w22, #1
	add	w8, w25, #1
	cmp	w8, w22
	b.lt	LBB0_9
; %bb.5:
	mov	x23, x25
LBB0_6:
	mov	x0, x20
	bl	_svn_pool_destroy
	str	w23, [x19]
Lloh2:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh4:
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	bl	_SVN_ERR
	mov	x25, x23
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	w8, w23, #1
	cmp	w8, w22
	b.ge	LBB0_6
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	sub	w8, w22, w25
	cmp	w8, #0
	cinc	w8, w8, lt
	add	w23, w25, w8, asr #1
	mov	x0, x20
	bl	_svn_pool_clear
	add	x0, sp, #8
	mov	x1, x21
	mov	x2, x23
	mov	x3, x20
	mov	x4, x20
	bl	_svn_fs_fs__open_pack_or_rev_file
	cbz	x0, LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x0]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	bl	_svn_error_clear
	mov	x22, x23
	mov	x23, x25
	b	LBB0_8
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_ERR_FS_NO_SUCH_REVISION,8,3 ; @SVN_ERR_FS_NO_SUCH_REVISION
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.no_dead_strip	_recover_get_largest_revision
.subsections_via_symbols
