	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs_fs__rep_chain_length    ## -- Begin function svn_fs_fs__rep_chain_length
	.p2align	4, 0x90
_svn_fs_fs__rep_chain_length:           ## @svn_fs_fs__rep_chain_length
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movq	%rdx, %r14
	movq	%rsi, -120(%rbp)                ## 8-byte Spill
	movq	%rdi, -112(%rbp)                ## 8-byte Spill
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	movq	(%rcx), %rax
	movl	(%rax), %ebx
	testl	%ebx, %ebx
	movl	$1, %r12d
	cmovel	%r12d, %ebx
	movq	%r8, %rdi
	callq	_svn_pool_create
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_svn_pool_create
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	(%r14), %eax
	cltd
	movl	%ebx, -76(%rbp)                 ## 4-byte Spill
	idivl	%ebx
	movl	%eax, %r15d
	movups	(%r14), %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	$0, -104(%rbp)
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_svn_pool_clear
	movl	-64(%rbp), %eax
	cltd
	idivl	-76(%rbp)                       ## 4-byte Folded Reload
	xorl	%r14d, %r14d
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	cmpl	%r15d, %eax
	setne	-41(%rbp)                       ## 1-byte Folded Spill
	movq	%rbx, (%rsp)
	leaq	-136(%rbp), %rdi
	leaq	-96(%rbp), %rsi
	leaq	-104(%rbp), %rdx
	leaq	-64(%rbp), %rcx
	movq	-128(%rbp), %r8                 ## 8-byte Reload
	movq	-72(%rbp), %r9                  ## 8-byte Reload
	callq	_create_rep_state_body
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-96(%rbp), %rax
	movl	(%rax), %ecx
	movl	%ecx, -64(%rbp)
	movl	20(%rax), %ecx
	movl	%ecx, -52(%rbp)
	movl	16(%rax), %eax
	movl	%eax, -56(%rbp)
	leaq	-60(%rbp), %rdi
	callq	_svn_fs_fs__id_txn_reset
	movq	-96(%rbp), %rax
	movq	8(%rax), %r13
	movq	_svn_fs_fs__rep_delta@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	incl	%eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	testb	$15, %al
	jne	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	$0, -104(%rbp)
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_svn_pool_clear
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movzbl	-41(%rbp), %eax                 ## 1-byte Folded Reload
	movb	%al, %r14b
	addl	%r14d, %r12d
	cmpq	%r15, %r13
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$0, -64(%rbp)
	movl	-80(%rbp), %r15d                ## 4-byte Reload
	jne	LBB0_1
LBB0_5:
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rax)
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movl	%r12d, (%rax)
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_svn_pool_destroy
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_svn_pool_destroy
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_svn_fs_fs__rep_delta,8,3       ## @svn_fs_fs__rep_delta
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs_fs__rep_chain_length    ; -- Begin function svn_fs_fs__rep_chain_length
	.p2align	2
_svn_fs_fs__rep_chain_length:           ; @svn_fs_fs__rep_chain_length
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x23, x4
	mov	x20, x3
	mov	x24, x2
	stp	x0, x1, [sp, #8]                ; 16-byte Folded Spill
	ldr	x8, [x3]
	ldr	w8, [x8]
	cmp	w8, #0
	csinc	w25, w8, wzr, ne
	mov	x0, x4
	bl	_svn_pool_create
	mov	x22, x0
	mov	x0, x23
	bl	_svn_pool_create
	mov	x23, x0
	mov	w26, #0
	ldr	w8, [x24]
	ldr	q0, [x24]
	str	q0, [sp, #48]
	str	xzr, [sp, #40]
	add	x9, sp, #48
	orr	x24, x9, #0x4
	mov	w27, #1
	sdiv	w21, w8, w25
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [sp, #48]
	cmp	x21, x28
	ccmp	w8, #0, #4, eq
	mov	x21, x19
	b.eq	LBB0_4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	bl	_svn_pool_clear
	ldr	w8, [sp, #48]
	sdiv	w19, w8, w25
	cmp	w19, w21
	cinc	w27, w27, ne
	add	x0, sp, #24
	add	x1, sp, #32
	add	x2, sp, #40
	add	x3, sp, #48
	mov	x4, x20
	mov	x5, x22
	mov	x6, x23
	bl	_create_rep_state_body
	bl	_SVN_ERR
	ldr	x8, [sp, #32]
	ldr	w9, [x8]
	str	w9, [sp, #48]
	ldr	d0, [x8, #16]
	str	d0, [sp, #56]
	mov	x0, x24
	bl	_svn_fs_fs__id_txn_reset
	ldr	x8, [sp, #32]
	ldr	x21, [x8, #8]
Lloh0:
	adrp	x8, _svn_fs_fs__rep_delta@GOTPAGE
Lloh1:
	ldr	x8, [x8, _svn_fs_fs__rep_delta@GOTPAGEOFF]
Lloh2:
	ldr	x28, [x8]
	add	w26, w26, #1
	tst	w26, #0xf
	b.ne	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	str	xzr, [sp, #40]
	mov	x0, x22
	bl	_svn_pool_clear
	b	LBB0_1
LBB0_4:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	str	w26, [x8]
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	str	w27, [x8]
	mov	x0, x22
	bl	_svn_pool_destroy
	mov	x0, x23
	bl	_svn_pool_destroy
Lloh3:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_svn_fs_fs__rep_delta,8,3       ; @svn_fs_fs__rep_delta
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
.subsections_via_symbols
