	.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, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movq	%rdx, %rdi
	callq	_svn_pool_create
	movq	%rax, %r12
	movl	$1, %eax
	leaq	-48(%rbp), %r14
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_svn_pool_clear
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	movq	%r12, %rcx
	callq	_revision_file_exists
	movl	%eax, %edi
	callq	_SVN_ERR
	leal	(%rbx,%rbx), %eax
	cmpq	$0, -48(%rbp)
	jne	LBB0_1
## %bb.2:
	movl	%ebx, %r13d
	sarl	%r13d
	leal	1(%r13), %eax
	cmpl	%ebx, %eax
	jge	LBB0_3
	.p2align	4, 0x90
LBB0_4:                                 ## =>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	-48(%rbp), %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	movq	%r12, %rcx
	callq	_revision_file_exists
	movl	%eax, %edi
	callq	_SVN_ERR
	cmpq	$0, -48(%rbp)
	cmovel	%r14d, %ebx
	cmovel	%r13d, %r14d
	leal	1(%r14), %eax
	movl	%r14d, %r13d
	cmpl	%ebx, %eax
	jl	LBB0_4
	jmp	LBB0_5
LBB0_3:
	movl	%r13d, %r14d
LBB0_5:
	movq	%r12, %rdi
	callq	_svn_pool_destroy
	movq	-56(%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
	.cfi_endproc
                                        ## -- End function
	.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, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x0, x2
	bl	_svn_pool_create
	mov	x20, x0
	mov	w8, #1
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x22, x8
	mov	x0, x20
	bl	_svn_pool_clear
	add	x0, sp, #8
	mov	x1, x21
	mov	x2, x22
	mov	x3, x20
	bl	_revision_file_exists
	bl	_SVN_ERR
	ldr	x9, [sp, #8]
	lsl	w8, w22, #1
	cbnz	x9, LBB0_1
; %bb.2:
	asr	w24, w22, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	w8, w24, #1
	cmp	w8, w22
	b.ge	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	w8, w22, w24
	cmp	w8, #0
	cinc	w8, w8, lt
	add	w23, w24, w8, asr #1
	mov	x0, x20
	bl	_svn_pool_clear
	add	x0, sp, #8
	mov	x1, x21
	mov	x2, x23
	mov	x3, x20
	bl	_revision_file_exists
	bl	_SVN_ERR
	ldr	x8, [sp, #8]
	cmp	x8, #0
	csel	w22, w23, w22, eq
	csel	w24, w24, w23, eq
	b	LBB0_3
LBB0_5:
	mov	x0, x20
	bl	_svn_pool_destroy
	str	w24, [x19]
Lloh0:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.no_dead_strip	_recover_get_largest_revision
.subsections_via_symbols
