	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r13d
	movq	%rsi, %r14
	movq	%rcx, %rdi
	callq	_svn_pool_create
	movq	%rax, %r15
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_auto_read_diff_version
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	(%r14), %eax
	cmpl	4(%r14), %eax
	jge	LBB0_11
## %bb.1:
	leaq	-64(%rbp), %rbx
	movl	%r13d, -68(%rbp)                ## 4-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)
	movl	$0, -64(%rbp)
	movq	%r15, %rdi
	callq	_svn_pool_clear
	cmpl	$-1, %r13d
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r14), %eax
	addl	32(%r14), %eax
	cmpl	%r13d, %eax
	jge	LBB0_11
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %r12
	movl	12(%r14), %ebx
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_get_window_key
	movq	_get_raw_window_end@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	%r15, (%rsp)
	leaq	-48(%rbp), %rdi
	leaq	-56(%rbp), %rsi
	movl	%ebx, %edx
	movq	%r12, %rbx
	movq	%rax, %rcx
	xorl	%r9d, %r9d
	callq	_svn_cache__get_partial
	movl	%eax, %edi
	callq	_SVN_ERR
	cmpq	$0, -56(%rbp)
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	36(%r14), %edx
	movq	_get_txdelta_window_end@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r15, (%rsp)
	leaq	-48(%rbp), %rdi
	leaq	-56(%rbp), %rsi
	movq	%rbx, %rcx
	xorl	%r9d, %r9d
	callq	_svn_cache__get_partial
	movl	%eax, %edi
	callq	_SVN_ERR
	cmpq	$0, -56(%rbp)
	je	LBB0_7
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-48(%rbp), %eax
	movl	%eax, (%r14)
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%r14), %ecx
	cmpl	%ecx, %eax
	jg	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	incl	8(%r14)
	cmpl	%ecx, %eax
	jl	LBB0_2
	jmp	LBB0_11
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r14), %ebx
	addl	32(%r14), %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	movq	%r15, %rcx
	callq	_rs_aligned_seek
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	24(%r14), %rax
	movq	(%rax), %rax
	movl	4(%rax), %esi
	leaq	-44(%rbp), %rdi
	movq	%r15, %rdx
	callq	_svn_txdelta__read_raw_window_len
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	-44(%rbp), %esi
	incl	%esi
	movq	%r15, %rdi
	callq	_apr_palloc
	movq	%rax, %r13
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	movq	%r15, %rcx
	callq	_rs_aligned_seek
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	24(%r14), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	movl	-44(%rbp), %edx
	movq	%r13, %rsi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movq	%r15, %r9
	callq	_svn_io_file_read_full2
	movl	%eax, %edi
	callq	_SVN_ERR
	movslq	-44(%rbp), %rax
	movb	$0, (%r13,%rax)
	movl	-44(%rbp), %eax
	movl	(%r14), %ecx
	addl	%eax, %ecx
	movl	%ecx, (%r14)
	movl	%ecx, -96(%rbp)
	movl	%eax, -88(%rbp)
	movq	%r13, -80(%rbp)
	movl	-68(%rbp), %r13d                ## 4-byte Reload
	movq	%r12, %rbx
	movl	16(%r14), %eax
	movl	%eax, -92(%rbp)
	movl	12(%r14), %edi
	movq	%r12, %rsi
	leaq	-96(%rbp), %rdx
	movq	%r15, %rcx
	callq	_svn_cache__set
	movl	%eax, %edi
	callq	_SVN_ERR
	movl	(%r14), %eax
	jmp	LBB0_8
LBB0_11:
	movq	%r15, %rdi
	callq	_svn_pool_destroy
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_12
LBB0_9:
	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
LBB0_12:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.comm	_get_raw_window_end,4,2         ## @get_raw_window_end
	.comm	_get_txdelta_window_end,4,2     ## @get_txdelta_window_end
	.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, #144
	.cfi_def_cfa_offset 144
	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
	mov	x0, x3
	mov	x19, x2
	mov	x20, x1
	bl	_svn_pool_create
	mov	x21, x0
	mov	x0, x20
	mov	x1, x21
	bl	_auto_read_diff_version
	bl	_SVN_ERR
	ldp	w8, w9, [x20]
	cmp	w8, w9
	b.ge	LBB0_10
; %bb.1:
Lloh0:
	adrp	x24, _FALSE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _FALSE@GOTPAGEOFF]
Lloh2:
	adrp	x25, _get_raw_window_end@GOTPAGE
Lloh3:
	ldr	x25, [x25, _get_raw_window_end@GOTPAGEOFF]
Lloh4:
	adrp	x26, _get_txdelta_window_end@GOTPAGE
Lloh5:
	ldr	x26, [x26, _get_txdelta_window_end@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	str	x8, [sp, #48]
	str	wzr, [sp, #40]
	mov	x0, x21
	bl	_svn_pool_clear
	cmn	w19, #1
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x20, #32]
	ldr	w9, [x20]
	add	w8, w9, w8
	cmp	w8, w19
	b.ge	LBB0_10
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w22, [x20, #12]
	add	x0, sp, #40
	mov	x1, x20
	bl	_get_window_key
	mov	x3, x0
	ldr	w4, [x25]
	add	x0, sp, #60
	add	x1, sp, #48
	mov	x2, x22
	mov	x5, #0
	mov	x6, x21
	bl	_svn_cache__get_partial
	bl	_SVN_ERR
	ldr	x8, [sp, #48]
	cbnz	x8, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w2, [x20, #36]
	ldr	w4, [x26]
	add	x0, sp, #60
	add	x1, sp, #48
	add	x3, sp, #40
	mov	x5, #0
	mov	x6, x21
	bl	_svn_cache__get_partial
	bl	_SVN_ERR
	ldr	x8, [sp, #48]
	cbz	x8, LBB0_9
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [sp, #60]
	str	w8, [x20]
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w9, [x20, #4]
	cmp	w8, w9
	b.gt	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w10, [x20, #8]
	add	w10, w10, #1
	str	w10, [x20, #8]
	cmp	w8, w9
	b.lt	LBB0_2
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x20, #32]
	ldr	w9, [x20]
	add	w22, w9, w8
	mov	x0, x20
	mov	x1, #0
	mov	x2, x22
	mov	x3, x21
	bl	_rs_aligned_seek
	bl	_SVN_ERR
	ldr	x8, [x20, #24]
	ldr	x8, [x8]
	ldr	w1, [x8, #4]
	add	x0, sp, #12
	mov	x2, x21
	bl	_svn_txdelta__read_raw_window_len
	bl	_SVN_ERR
	ldr	w8, [sp, #12]
	add	w1, w8, #1
	mov	x0, x21
	bl	_apr_palloc
	mov	x23, x0
	mov	x0, x20
	mov	x1, #0
	mov	x2, x22
	mov	x3, x21
	bl	_rs_aligned_seek
	bl	_SVN_ERR
	ldr	x8, [x20, #24]
	ldr	x8, [x8]
	ldr	w0, [x8]
	ldr	w2, [sp, #12]
	mov	x1, x23
	mov	x3, #0
	mov	x4, #0
	mov	x5, x21
	bl	_svn_io_file_read_full2
	bl	_SVN_ERR
	ldrsw	x8, [sp, #12]
	strb	wzr, [x23, x8]
	ldr	w10, [sp, #12]
	ldr	w9, [x20]
	add	w9, w9, w10
	str	w9, [x20]
	str	x23, [sp, #32]
	ldp	w0, w8, [x20, #12]
	str	w9, [sp, #16]
	stp	w8, w10, [sp, #20]
	add	x1, sp, #40
	add	x2, sp, #16
	mov	x3, x21
	bl	_svn_cache__set
	bl	_SVN_ERR
	ldr	w8, [x20]
	b	LBB0_7
LBB0_10:
	mov	x0, x21
	bl	_svn_pool_destroy
Lloh6:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	x0, [x8]
	b	LBB0_12
LBB0_11:
Lloh9:
	adrp	x8, _SVN_ERR_FS_CORRUPT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SVN_ERR_FS_CORRUPT@GOTPAGEOFF]
Lloh11:
	ldr	w19, [x8]
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x2, x0
	mov	x0, x19
	mov	x1, #0
	bl	_svn_error_create
LBB0_12:
	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
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.comm	_get_raw_window_end,4,2         ; @get_raw_window_end
	.comm	_get_txdelta_window_end,4,2     ; @get_txdelta_window_end
	.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
