	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function create_rep_state_body
_create_rep_state_body:                 ## @create_rep_state_body
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r13
	movq	%rdx, %r15
	movq	%rsi, -120(%rbp)                ## 8-byte Spill
	movq	%rdi, -112(%rbp)                ## 8-byte Spill
	movq	(%r8), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r9, -72(%rbp)                  ## 8-byte Spill
	movq	%r9, %rdi
	movl	$64, %esi
	callq	_apr_pcalloc
	movq	%rax, %r12
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	testq	%r15, %r15
	je	LBB0_12
## %bb.1:
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_12
## %bb.2:
	cmpq	$0, 8(%rax)
	je	LBB0_12
## %bb.3:
	movl	(%rax), %edi
	callq	_SVN_IS_VALID_REVNUM
	testq	%rax, %rax
	je	LBB0_12
## %bb.4:
	movq	(%r15), %rax
	movl	(%rax), %eax
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	(%rsi), %edx
	cmpl	%edx, %eax
	jge	LBB0_12
## %bb.5:
	movl	(%r13), %ecx
	cmpl	%edx, %ecx
	jge	LBB0_12
## %bb.6:
	movl	4(%rsi), %edi
	cltd
	idivl	%edi
	movl	%eax, %esi
	movl	%ecx, %eax
	cltd
	idivl	%edi
	cmpl	%eax, %esi
	sete	%al
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	jmp	LBB0_13
LBB0_12:
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
LBB0_13:
	movl	(%r13), %eax
	movl	%eax, -96(%rbp)
	movl	8(%r13), %ecx
	movl	%ecx, -92(%rbp)
	movl	16(%r13), %edx
	movl	%edx, 60(%r12)
	movl	%eax, (%r12)
	movl	%ecx, 56(%r12)
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_use_block_read
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	32(%rbx), %rax
	jmp	LBB0_16
LBB0_15:
	xorl	%eax, %eax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_16:
	movq	%rax, 48(%r12)
	movq	$-1, 4(%r12)
	movq	_SVN_DELTA_WINDOW_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addl	4(%r13), %edi
	shll	$2, %edi
	movq	_APR_SIZE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MIN
	movl	%eax, %r14d
	movq	24(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.17:
	movl	%r14d, %esi
	callq	_svn_cache__is_cachable
	testq	%rax, %rax
	je	LBB0_20
## %bb.18:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	24(%rbx), %rax
	jmp	LBB0_21
LBB0_19:
	xorl	%eax, %eax
	jmp	LBB0_21
LBB0_20:
	xorl	%eax, %eax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_21:
	movq	%rax, 40(%r12)
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_24
## %bb.22:
	movl	%r14d, %esi
	callq	_svn_cache__is_cachable
	testq	%rax, %rax
	je	LBB0_25
## %bb.23:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	16(%rbx), %rax
	jmp	LBB0_26
LBB0_24:
	xorl	%eax, %eax
	jmp	LBB0_26
LBB0_25:
	xorl	%eax, %eax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_26:
	movq	%rax, 32(%r12)
	cmpq	$0, 8(%rbx)
	je	LBB0_29
## %bb.27:
	leaq	12(%r13), %rdi
	callq	_svn_fs_fs__id_txn_used
	testl	%eax, %eax
	jne	LBB0_29
## %bb.28:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rdx
	leaq	-88(%rbp), %rdi
	leaq	-60(%rbp), %rsi
	leaq	-96(%rbp), %rcx
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	callq	_svn_cache__get
	movl	%eax, %edi
	callq	_SVN_ERR
LBB0_29:
	movq	16(%rbp), %r14
	cmpb	$0, -48(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_32
## %bb.30:
	movq	(%r15), %rax
	movq	%rax, 24(%r12)
	cmpl	$0, -60(%rbp)
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_42
## %bb.31:
	leaq	24(%r12), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	(%r15), %rdi
	movq	%rdi, 24(%r12)
	callq	_auto_open_shared_file
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	24(%r12), %rax
	movq	8(%rax), %rdx
	movl	(%r13), %ecx
	movl	8(%r13), %r9d
	movq	%r14, %r15
	movq	%r14, (%rsp)
	leaq	-100(%rbp), %rdi
	movq	%rbx, %rsi
	xorl	%r8d, %r8d
	callq	_svn_fs_fs__item_offset
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	-100(%rbp), %edx
	movq	%r12, %rdi
	xorl	%esi, %esi
	movq	%r14, %rcx
	callq	_rs_aligned_seek
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	%r14, %rcx
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_36
LBB0_32:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	$32, %esi
	callq	_apr_pcalloc
	movl	(%r13), %ecx
	movl	%ecx, (%rax)
	movq	%rbx, 24(%rax)
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, 16(%rax)
	movq	%rax, 24(%r12)
	testq	%r15, %r15
	je	LBB0_34
## %bb.33:
	movq	%rax, (%r15)
LBB0_34:
	cmpl	$0, -60(%rbp)
	jne	LBB0_42
## %bb.35:
	leaq	24(%r12), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	(%rax), %rdi
	addq	$8, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rcx
	callq	_open_and_seek_representation
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	%r14, %rcx
LBB0_36:
	movq	%r12, %rbx
	addq	$8, %rbx
	movq	24(%r12), %rax
	movq	8(%rax), %rax
	movl	(%rax), %esi
	leaq	-88(%rbp), %rdi
	movq	%r15, %rdx
	callq	_svn_fs_fs__read_rep_header
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_get_file_offset
	movl	%eax, %edi
	callq	_SVN_ERR
	leaq	12(%r13), %rdi
	callq	_svn_fs_fs__id_txn_used
	testl	%eax, %eax
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_42
## %bb.37:
	movq	%rbx, %rdi
	callq	_use_block_read
	testq	%rax, %rax
	je	LBB0_39
## %bb.38:
	movl	(%r13), %edx
	movl	8(%r13), %ecx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	8(%rax), %r8
	movq	%r14, (%rsp)
	xorl	%edi, %edi
	movq	%rbx, %rsi
	movq	-72(%rbp), %r9                  ## 8-byte Reload
	callq	_block_read
	jmp	LBB0_41
LBB0_39:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_42
## %bb.40:
	movq	-88(%rbp), %rdx
	leaq	-96(%rbp), %rsi
	movq	%r14, %rcx
	callq	_svn_cache__set
LBB0_41:
	movl	%eax, %edi
	callq	_SVN_ERR
LBB0_42:
	movl	(%r13), %esi
	movl	8(%r13), %edx
	movq	-88(%rbp), %rcx
	movq	_SVN_FS_FS__ITEM_TYPE_ANY_REP@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	movq	%r14, %r9
	callq	_dbg_log_access
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-88(%rbp), %rax
	movl	8(%rax), %ecx
	movl	%ecx, 16(%r12)
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movq	%r12, (%rcx)
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	(%rax), %rax
	movq	_svn_fs_fs__rep_plain@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_44
## %bb.43:
	movl	$4, 12(%r12)
LBB0_44:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$88, %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_DELTA_WINDOW_SIZE,4,2      ## @SVN_DELTA_WINDOW_SIZE
	.comm	_APR_SIZE_MAX,4,2               ## @APR_SIZE_MAX
	.comm	_SVN_FS_FS__ITEM_TYPE_ANY_REP,4,2 ## @SVN_FS_FS__ITEM_TYPE_ANY_REP
	.comm	_svn_fs_fs__rep_plain,8,3       ## @svn_fs_fs__rep_plain
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.no_dead_strip	_create_rep_state_body
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function create_rep_state_body
_create_rep_state_body:                 ; @create_rep_state_body
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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, x6
	mov	x25, x5
	mov	x23, x4
	mov	x24, x3
	mov	x26, x2
	mov	x19, x1
	mov	x21, x0
	ldr	x28, [x4]
	mov	x0, x5
	mov	w1, #64
	bl	_apr_pcalloc
	mov	x20, x0
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #36]
	str	x21, [sp, #8]                   ; 8-byte Folded Spill
	cbz	x26, LBB0_7
; %bb.1:
	ldr	x8, [x26]
	cbz	x8, LBB0_7
; %bb.2:
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_7
; %bb.3:
	ldr	w0, [x8]
	bl	_SVN_IS_VALID_REVNUM
	cbz	x0, LBB0_7
; %bb.4:
	ldr	x8, [x26]
	ldr	w8, [x8]
	ldr	w10, [x28]
	cmp	w8, w10
	b.ge	LBB0_7
; %bb.5:
	mov	x21, x19
	ldr	w9, [x24]
	cmp	w9, w10
	b.ge	LBB0_8
; %bb.6:
	ldr	w10, [x28, #4]
	sdiv	w8, w8, w10
	sdiv	w9, w9, w10
	cmp	w8, w9
	cset	w19, eq
	b	LBB0_9
LBB0_7:
	mov	x21, x19
LBB0_8:
	mov	w19, #0
LBB0_9:
	ldr	w8, [x24]
	ldr	w9, [x24, #8]
	stp	w8, w9, [sp, #24]
	ldr	w10, [x24, #16]
	str	w8, [x20]
	stp	w9, w10, [x20, #56]
	mov	x0, x23
	bl	_use_block_read
	cbz	x0, LBB0_11
; %bb.10:
	ldr	x8, [x28, #32]
	b	LBB0_12
LBB0_11:
	mov	x8, #0
LBB0_12:
	str	x8, [x20, #48]
	movi.2d	v0, #0xffffffffffffffff
	stur	d0, [x20, #4]
	ldr	w8, [x24, #4]
Lloh3:
	adrp	x9, _SVN_DELTA_WINDOW_SIZE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SVN_DELTA_WINDOW_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	add	w8, w9, w8
	lsl	w0, w8, #2
Lloh6:
	adrp	x8, _APR_SIZE_MAX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _APR_SIZE_MAX@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_MIN
	mov	x27, x0
	ldr	x0, [x28, #24]
	cbz	x0, LBB0_15
; %bb.13:
	mov	x1, x27
	bl	_svn_cache__is_cachable
	cbz	x0, LBB0_15
; %bb.14:
	ldr	x8, [x28, #24]
	b	LBB0_16
LBB0_15:
	mov	x8, #0
LBB0_16:
	str	x8, [x20, #40]
	ldr	x0, [x28, #16]
	cbz	x0, LBB0_19
; %bb.17:
	mov	x1, x27
	bl	_svn_cache__is_cachable
	cbz	x0, LBB0_19
; %bb.18:
	ldr	x8, [x28, #16]
	b	LBB0_20
LBB0_19:
	mov	x8, #0
LBB0_20:
	str	x8, [x20, #32]
	ldr	x8, [x28, #8]
	cbz	x8, LBB0_22
; %bb.21:
	add	x0, x24, #12
	bl	_svn_fs_fs__id_txn_used
	cbz	w0, LBB0_25
LBB0_22:
	tbz	w19, #0, LBB0_26
LBB0_23:
	ldr	x8, [x26]
	mov	x19, x20
	str	x8, [x19, #24]!
	ldr	w8, [sp, #36]
	cbnz	w8, LBB0_36
; %bb.24:
	ldr	x0, [x26]
	str	x0, [x20, #24]
	bl	_auto_open_shared_file
	bl	_SVN_ERR
	ldr	x8, [x20, #24]
	ldr	x2, [x8, #8]
	ldr	w3, [x24]
	ldr	w5, [x24, #8]
	add	x0, sp, #20
	mov	x1, x23
	mov	x4, #0
	mov	x6, x22
	bl	_svn_fs_fs__item_offset
	bl	_SVN_ERR
	ldr	w2, [sp, #20]
	mov	x0, x20
	mov	x1, #0
	mov	x3, x22
	bl	_rs_aligned_seek
	b	LBB0_30
LBB0_25:
	ldr	x2, [x28, #8]
	add	x0, sp, #40
	add	x1, sp, #36
	add	x3, sp, #24
	mov	x4, x25
	bl	_svn_cache__get
	bl	_SVN_ERR
	tbnz	w19, #0, LBB0_23
LBB0_26:
	mov	x0, x25
	mov	w1, #32
	bl	_apr_pcalloc
	ldr	w8, [x24]
	str	w8, [x0]
	stp	x23, x25, [x0, #16]
	mov	x19, x20
	str	x0, [x19, #24]!
	cbz	x26, LBB0_28
; %bb.27:
	str	x0, [x26]
LBB0_28:
	ldr	w8, [sp, #36]
	cbnz	w8, LBB0_36
; %bb.29:
	ldr	x8, [x19]
	add	x0, x8, #8
	mov	x1, x23
	mov	x2, x24
	mov	x3, x25
	bl	_open_and_seek_representation
LBB0_30:
	bl	_SVN_ERR
	add	x26, x20, #8
	ldr	x8, [x20, #24]
	ldr	x8, [x8, #8]
	ldr	w1, [x8]
	add	x0, sp, #40
	mov	x2, x25
	mov	x3, x22
	bl	_svn_fs_fs__read_rep_header
	bl	_SVN_ERR
	mov	x0, x26
	mov	x1, x20
	mov	x2, x25
	bl	_get_file_offset
	bl	_SVN_ERR
	add	x0, x24, #12
	bl	_svn_fs_fs__id_txn_used
	cbnz	w0, LBB0_36
; %bb.31:
	mov	x0, x23
	bl	_use_block_read
	cbz	x0, LBB0_33
; %bb.32:
	ldr	w2, [x24]
	ldr	w3, [x24, #8]
	ldr	x8, [x19]
	ldr	x4, [x8, #8]
	mov	x0, #0
	mov	x1, x23
	mov	x5, x25
	mov	x6, x22
	bl	_block_read
	b	LBB0_35
LBB0_33:
	ldr	x0, [x28, #8]
	cbz	x0, LBB0_36
; %bb.34:
	ldr	x2, [sp, #40]
	add	x1, sp, #24
	mov	x3, x22
	bl	_svn_cache__set
LBB0_35:
	bl	_SVN_ERR
LBB0_36:
	ldr	w1, [x24]
	ldr	w2, [x24, #8]
	ldr	x3, [sp, #40]
Lloh9:
	adrp	x8, _SVN_FS_FS__ITEM_TYPE_ANY_REP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SVN_FS_FS__ITEM_TYPE_ANY_REP@GOTPAGEOFF]
Lloh11:
	ldr	w4, [x8]
	mov	x0, x23
	mov	x5, x22
	bl	_dbg_log_access
	bl	_SVN_ERR
	ldr	x8, [sp, #40]
	ldr	w9, [x8, #8]
	str	w9, [x20, #16]
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	str	x20, [x9]
	str	x8, [x21]
	ldr	x8, [x8]
Lloh12:
	adrp	x9, _svn_fs_fs__rep_plain@GOTPAGE
Lloh13:
	ldr	x9, [x9, _svn_fs_fs__rep_plain@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_38
; %bb.37:
	mov	w8, #4
	str	w8, [x20, #12]
LBB0_38:
Lloh15:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh17:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_SVN_DELTA_WINDOW_SIZE,4,2      ; @SVN_DELTA_WINDOW_SIZE
	.comm	_APR_SIZE_MAX,4,2               ; @APR_SIZE_MAX
	.comm	_SVN_FS_FS__ITEM_TYPE_ANY_REP,4,2 ; @SVN_FS_FS__ITEM_TYPE_ANY_REP
	.comm	_svn_fs_fs__rep_plain,8,3       ; @svn_fs_fs__rep_plain
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.no_dead_strip	_create_rep_state_body
.subsections_via_symbols
