	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cache_windows
_cache_windows:                         ## @cache_windows
	.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	%ecx, %r14d
	movq	%rdx, %rbx
	movq	%rdi, %r15
	movq	%r8, %rdi
	callq	_svn_pool_create
	movq	%rax, %r12
	movq	$0, (%r15)
	movl	(%rbx), %eax
	cmpl	4(%rbx), %eax
	jge	LBB0_11
## %bb.1:
	movq	_FALSE@GOTPCREL(%rip), %r13
	movl	%r14d, -52(%rbp)                ## 4-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %rcx
	movq	8(%rcx), %rax
	addq	%rax, (%r15)
	movl	(%rbx), %eax
	addl	(%rcx), %eax
	movl	%eax, (%rbx)
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	12(%rbx)
	cmpl	4(%rbx), %eax
	jge	LBB0_11
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movq	%rax, -48(%rbp)
	movq	%r12, %rdi
	callq	_svn_pool_clear
	cmpl	$-1, %r14d
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %eax
	addl	8(%rbx), %eax
	cmpl	%r14d, %eax
	jge	LBB0_11
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	-80(%rbp), %rdi
	movq	%rbx, %rsi
	leaq	-48(%rbp), %rdx
	movq	%r12, %rcx
	callq	_get_cached_window_sizes
	movl	%eax, %edi
	callq	_SVN_ERR
	cmpq	$0, -48(%rbp)
	jne	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rax
	movq	%r15, %r14
	movq	(%rax), %r15
	movl	(%rbx), %r13d
	addl	8(%rbx), %r13d
	leaq	-72(%rbp), %rdi
	movq	%r15, %rsi
	callq	_svn_fs_x__rev_file_stream
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	%r15, %rdi
	movq	%r14, %r15
	leaq	-84(%rbp), %rsi
	movl	%r13d, %edx
	callq	_svn_fs_x__rev_file_seek
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-72(%rbp), %rsi
	movl	24(%rbx), %edx
	leaq	-64(%rbp), %rdi
	movq	%r12, %rcx
	callq	_svn_txdelta_read_svndiff_window
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-64(%rbp), %rax
	movq	(%rax), %rax
	addq	%rax, (%r14)
	movq	16(%rbx), %rax
	movq	(%rax), %rsi
	leaq	-56(%rbp), %rdi
	callq	_svn_fs_x__rev_file_offset
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	-56(%rbp), %eax
	subl	8(%rbx), %eax
	movl	%eax, (%rbx)
	cmpl	4(%rbx), %eax
	jg	LBB0_13
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, -48(%rbp)
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rdi
	movq	%rbx, %rsi
	movl	%r13d, %edx
	movq	%r12, %rcx
	callq	_set_cached_window
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	(%rbx), %eax
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	movq	_FALSE@GOTPCREL(%rip), %r13
	jmp	LBB0_10
LBB0_11:
	movq	%r12, %rdi
	callq	_svn_pool_destroy
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_12:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	_SVN_ERR_FS_CORRUPT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_svn_error_create
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.comm	_SVN_ERR_FS_CORRUPT,4,2         ## @SVN_ERR_FS_CORRUPT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Reading one svndiff window read beyond the end of the representation"

	.no_dead_strip	_cache_windows
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cache_windows
_cache_windows:                         ; @cache_windows
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x3
	mov	x20, x2
	mov	x21, x0
	mov	x0, x4
	bl	_svn_pool_create
	mov	x22, x0
	str	xzr, [x21]
	ldp	w8, w9, [x20]
	cmp	w8, w9
	b.ge	LBB0_10
; %bb.1:
Lloh0:
	adrp	x25, _FALSE@GOTPAGE
Lloh1:
	ldr	x25, [x25, _FALSE@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #32]
	ldr	x9, [x8, #8]
	ldr	x10, [x21]
	add	x9, x10, x9
	str	x9, [x21]
	ldr	w8, [x8]
	ldr	w9, [x20]
	add	w8, w9, w8
	str	w8, [x20]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x20, #12]
	add	w9, w9, #1
	str	w9, [x20, #12]
	ldr	w9, [x20, #4]
	cmp	w8, w9
	b.ge	LBB0_10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25]
	str	x8, [sp, #40]
	mov	x0, x22
	bl	_svn_pool_clear
	cmn	w19, #1
	b.eq	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x20, #8]
	ldr	w9, [x20]
	add	w8, w9, w8
	cmp	w8, w19
	b.ge	LBB0_10
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #32
	add	x2, sp, #40
	mov	x1, x20
	mov	x3, x22
	bl	_get_cached_window_sizes
	bl	_SVN_ERR
	ldr	x8, [sp, #40]
	cbnz	x8, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20, #16]
	ldr	x24, [x8]
	ldr	w8, [x20, #8]
	ldr	w9, [x20]
	add	w23, w9, w8
	add	x0, sp, #16
	mov	x1, x24
	bl	_svn_fs_x__rev_file_stream
	bl	_SVN_ERR
	add	x1, sp, #8
	mov	x0, x24
	mov	x2, x23
	bl	_svn_fs_x__rev_file_seek
	bl	_SVN_ERR
	ldr	x1, [sp, #16]
	ldr	w2, [x20, #24]
	add	x0, sp, #24
	mov	x3, x22
	bl	_svn_txdelta_read_svndiff_window
	bl	_SVN_ERR
	ldr	x8, [sp, #24]
	ldr	x8, [x8]
	ldr	x9, [x21]
	add	x8, x9, x8
	str	x8, [x21]
	ldr	x8, [x20, #16]
	ldr	x1, [x8]
	add	x0, sp, #12
	bl	_svn_fs_x__rev_file_offset
	bl	_SVN_ERR
	ldr	w8, [sp, #12]
	ldp	w10, w9, [x20, #4]
	sub	w8, w8, w9
	cmp	w8, w10
	str	w8, [x20]
	b.gt	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [sp, #40]
	cbnz	x9, LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #24]
	mov	x1, x20
	mov	x2, x23
	mov	x3, x22
	bl	_set_cached_window
	bl	_SVN_ERR
	ldr	w8, [x20]
	b	LBB0_3
LBB0_10:
	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]
LBB0_11:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_12:
Lloh5:
	adrp	x8, _SVN_ERR_FS_CORRUPT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SVN_ERR_FS_CORRUPT@GOTPAGEOFF]
Lloh7:
	ldr	w19, [x8]
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x2, x0
	mov	x0, x19
	mov	x1, #0
	bl	_svn_error_create
	b	LBB0_11
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.comm	_SVN_ERR_FS_CORRUPT,4,2         ; @SVN_ERR_FS_CORRUPT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Reading one svndiff window read beyond the end of the representation"

	.no_dead_strip	_cache_windows
.subsections_via_symbols
