	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_fs_x__rep_chain_length     ## -- Begin function svn_fs_x__rep_chain_length
	.p2align	4, 0x90
_svn_fs_x__rep_chain_length:            ## @svn_fs_x__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, %r12
	movq	%rdx, %r15
	movq	%rsi, -112(%rbp)                ## 8-byte Spill
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	movq	(%rcx), %rax
	movl	(%rax), %ebx
	movq	16(%rdx), %rdi
	callq	_svn_fs_x__get_revnum
	cltd
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	idivl	%ebx
	movl	%eax, %r14d
	movq	%r12, %rdi
	callq	_svn_pool_create
	movq	%rax, %rbx
	movq	16(%r15), %rax
	movq	%rax, -80(%rbp)
	movups	(%r15), %xmm0
	movaps	%xmm0, -96(%rbp)
	movq	$0, -72(%rbp)
	movl	$1, %r12d
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movq	%rbx, -120(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rdi
	callq	_svn_fs_x__get_revnum
	cltd
	idivl	-52(%rbp)                       ## 4-byte Folded Reload
	xorl	%r15d, %r15d
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	cmpl	%r14d, %eax
	setne	-41(%rbp)                       ## 1-byte Folded Spill
	movq	%rbx, (%rsp)
	leaq	-136(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	leaq	-72(%rbp), %rdx
	leaq	-96(%rbp), %rcx
	movq	-128(%rbp), %r8                 ## 8-byte Reload
	movq	%rbx, %r9
	callq	_create_rep_state_body
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-64(%rbp), %rax
	movl	16(%rax), %edi
	callq	_svn_fs_x__change_set_by_rev
	movq	%rax, -80(%rbp)
	movq	-64(%rbp), %rcx
	movl	12(%rcx), %edx
	movl	%edx, -88(%rbp)
	movl	8(%rcx), %edx
	movl	%edx, -96(%rbp)
	movq	(%rcx), %r13
	movq	_svn_fs_x__rep_delta@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r14
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	incl	%ecx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	testb	$15, %cl
	jne	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	$0, -72(%rbp)
	movq	%rbx, %rdi
	callq	_svn_pool_clear
	movq	-80(%rbp), %rax
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movzbl	-41(%rbp), %ecx                 ## 1-byte Folded Reload
	movb	%cl, %r15b
	addl	%r15d, %r12d
	cmpq	%r14, %r13
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	-56(%rbp), %r14d                ## 4-byte Reload
	testq	%rax, %rax
	jne	LBB0_1
LBB0_5:
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rax)
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movl	%r12d, (%rax)
	movq	%rbx, %rdi
	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_x__rep_delta,8,3        ## @svn_fs_x__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_x__rep_chain_length     ; -- Begin function svn_fs_x__rep_chain_length
	.p2align	2
_svn_fs_x__rep_chain_length:            ; @svn_fs_x__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	x22, x4
	mov	x20, x3
	mov	x23, x2
	str	x1, [sp]                        ; 8-byte Folded Spill
	mov	x21, x0
	ldr	x8, [x3]
	ldr	w24, [x8]
	ldr	x0, [x2, #16]
	bl	_svn_fs_x__get_revnum
	sdiv	w28, w0, w24
	mov	x0, x22
	bl	_svn_pool_create
	mov	x22, x0
	mov	w25, #0
	ldr	x0, [x23, #16]
	str	x0, [sp, #48]
	ldr	q0, [x23]
	str	q0, [sp, #32]
	str	xzr, [sp, #24]
	mov	w23, #1
Lloh0:
	adrp	x26, _svn_fs_x__rep_delta@GOTPAGE
Lloh1:
	ldr	x26, [x26, _svn_fs_x__rep_delta@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	x28, x19
	ccmp	x0, #0, #4, eq
	mov	x28, x27
	b.eq	LBB0_4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	bl	_svn_fs_x__get_revnum
	sdiv	w27, w0, w24
	cmp	w27, w28
	cinc	w23, w23, ne
	add	x0, sp, #8
	add	x1, sp, #16
	add	x2, sp, #24
	add	x3, sp, #32
	mov	x4, x20
	mov	x5, x22
	mov	x6, x22
	bl	_create_rep_state_body
	bl	_SVN_ERR
	ldr	x8, [sp, #16]
	ldr	w0, [x8, #16]
	bl	_svn_fs_x__change_set_by_rev
	str	x0, [sp, #48]
	ldr	x8, [sp, #16]
	ldr	w9, [x8, #12]
	str	w9, [sp, #40]
	ldr	w9, [x8, #8]
	str	w9, [sp, #32]
	ldr	x28, [x8]
	ldr	x19, [x26]
	add	w25, w25, #1
	tst	w25, #0xf
	b.ne	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	str	xzr, [sp, #24]
	mov	x0, x22
	bl	_svn_pool_clear
	ldr	x0, [sp, #48]
	b	LBB0_1
LBB0_4:
	str	w25, [x21]
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	str	w23, [x8]
	mov	x0, x22
	bl	_svn_pool_destroy
Lloh2:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh4:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_svn_fs_x__rep_delta,8,3        ; @svn_fs_x__rep_delta
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
.subsections_via_symbols
