	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function choose_delta_base
_choose_delta_base:                     ## @choose_delta_base
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdx), %r12d
	testl	%r12d, %r12d
	je	LBB0_1
## %bb.2:
	movq	(%rsi), %rax
	leal	-1(%r12), %r15d
	andl	%r12d, %r15d
	subl	%r15d, %r12d
	cmpl	8(%rax), %r12d
	jle	LBB0_3
LBB0_1:
	movq	$0, (%rdi)
LBB0_15:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%r8, %r13
	movq	%rdx, %r14
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	cmpl	(%rax), %r12d
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	jge	LBB0_6
## %bb.4:
	leaq	-48(%rbp), %rdi
	movq	%r14, %rdx
	movl	%r12d, %ecx
	movq	%r13, %r8
	callq	_shards_spanned
	movl	%eax, %edi
	callq	_SVN_ERR
	movb	-48(%rbp), %cl
	decb	%cl
	movl	$1, %eax
	shll	%cl, %eax
	cmpl	%r12d, %eax
	jg	LBB0_6
## %bb.5:
	movl	(%r14), %r15d
	decl	%r15d
LBB0_6:
	movq	%r14, -48(%rbp)
	movq	%r13, %rdi
	callq	_svn_pool_create
	movq	%rax, %rbx
	cmpl	(%r14), %r15d
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	jge	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	incl	%r15d
	movq	%rbx, %rdi
	callq	_svn_pool_clear
	movq	-48(%rbp), %rax
	movl	24(%rax), %edx
	leaq	-48(%rbp), %rdi
	movq	%r12, %rsi
	movq	%r13, %rcx
	movq	%rbx, %r8
	callq	_svn_fs_fs__get_node_revision
	movl	%eax, %edi
	callq	_SVN_ERR
	cmpl	(%r14), %r15d
	jl	LBB0_7
LBB0_8:
	movq	%rbx, %rdi
	callq	_svn_pool_destroy
	xorl	%eax, %eax
	cmpq	$0, -88(%rbp)                   ## 8-byte Folded Reload
	setne	%al
	movq	-48(%rbp), %rcx
	movq	8(%rcx,%rax,8), %rdx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rdx, (%rax)
	testq	%rdx, %rdx
	je	LBB0_15
## %bb.9:
	movl	$0, -56(%rbp)
	movl	$0, -52(%rbp)
	movl	(%rdx), %ebx
	cmpl	$64, %ebx
	jl	LBB0_14
## %bb.10:
	leaq	-56(%rbp), %rdi
	leaq	-52(%rbp), %rsi
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%r13, %r8
	callq	_svn_fs_fs__rep_chain_length
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	addl	%eax, %eax
	addl	$2, %eax
	cmpl	%eax, -56(%rbp)
	jge	LBB0_13
## %bb.11:
	movl	-52(%rbp), %ecx
	movl	$128, %eax
	shll	%cl, %eax
	cmpl	$2, %ecx
	jl	LBB0_15
## %bb.12:
	cmpl	%ebx, %eax
	jl	LBB0_15
LBB0_13:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
LBB0_14:
	movq	$0, (%rax)
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.no_dead_strip	_choose_delta_base
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function choose_delta_base
_choose_delta_base:                     ; @choose_delta_base
	.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, x0
	ldr	w8, [x2]
	cbz	w8, LBB0_13
; %bb.1:
	mov	x21, x1
	ldr	x25, [x1]
	sub	w9, w8, #1
	and	w26, w9, w8
	ldr	w9, [x25, #8]
	sub	w24, w8, w26
	cmp	w24, w9
	b.gt	LBB0_13
; %bb.2:
	mov	x20, x4
	mov	x22, x3
	mov	x23, x2
	ldr	w8, [x25]
	cmp	w24, w8
	b.ge	LBB0_5
; %bb.3:
	add	x0, sp, #8
	mov	x1, x21
	mov	x2, x23
	mov	x3, x24
	mov	x4, x20
	bl	_shards_spanned
	bl	_SVN_ERR
	ldr	w8, [sp, #8]
	sub	w8, w8, #1
	mov	w9, #1
	lsl	w8, w9, w8
	cmp	w8, w24
	b.gt	LBB0_5
; %bb.4:
	ldr	w8, [x23]
	sub	w26, w8, #1
LBB0_5:
	str	x23, [sp, #8]
	mov	x0, x20
	bl	_svn_pool_create
	mov	x24, x0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x23]
	cmp	w26, w8
	b.ge	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	w26, w26, #1
	mov	x0, x24
	bl	_svn_pool_clear
	ldr	x8, [sp, #8]
	ldr	w2, [x8, #24]
	add	x0, sp, #8
	mov	x1, x21
	mov	x3, x20
	mov	x4, x24
	bl	_svn_fs_fs__get_node_revision
	bl	_SVN_ERR
	b	LBB0_6
LBB0_8:
	mov	x0, x24
	bl	_svn_pool_destroy
	ldr	x8, [sp, #8]
	mov	w9, #16
	mov	w10, #8
	cmp	x22, #0
	csel	x9, x10, x9, eq
	ldr	x2, [x8, x9]
	str	x2, [x19]
	cbz	x2, LBB0_14
; %bb.9:
	str	xzr, [sp]
	ldr	w22, [x2]
	cmp	w22, #64
	b.lt	LBB0_13
; %bb.10:
	add	x0, sp, #4
	mov	x1, sp
	mov	x3, x21
	mov	x4, x20
	bl	_svn_fs_fs__rep_chain_length
	bl	_SVN_ERR
	ldr	w8, [sp, #4]
	ldr	w9, [x25]
	lsl	w9, w9, #1
	add	w9, w9, #2
	cmp	w8, w9
	b.ge	LBB0_13
; %bb.11:
	ldr	w8, [sp]
	cmp	w8, #2
	b.lt	LBB0_14
; %bb.12:
	mov	w9, #128
	lsl	w8, w9, w8
	cmp	w8, w22
	b.lt	LBB0_14
LBB0_13:
	str	xzr, [x19]
LBB0_14:
Lloh0:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh2:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.no_dead_strip	_choose_delta_base
.subsections_via_symbols
