	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_txdelta_read_svndiff_window ## -- Begin function svn_txdelta_read_svndiff_window
	.p2align	4, 0x90
_svn_txdelta_read_svndiff_window:       ## @svn_txdelta_read_svndiff_window
	.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
	movq	%rcx, %r12
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	subq	$8, %rsp
	leaq	-96(%rbp), %rax
	leaq	-60(%rbp), %rsi
	leaq	-88(%rbp), %rdx
	leaq	-80(%rbp), %rcx
	leaq	-56(%rbp), %r8
	leaq	-48(%rbp), %r9
	movq	%rbx, %rdi
	pushq	%rax
	callq	_read_window_header
	addq	$16, %rsp
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-48(%rbp), %rsi
	addq	-56(%rbp), %rsi
	movq	%rsi, -72(%rbp)
	movq	%r12, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_apr_palloc
	movq	%rax, %r13
	leaq	-72(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_svn_stream_read_full
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-48(%rbp), %rax
	addq	-56(%rbp), %rax
	cmpq	%rax, -72(%rbp)
	jge	LBB0_2
## %bb.1:
	movq	_SVN_ERR_SVNDIFF_UNEXPECTED_END@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_3
LBB0_2:
	movq	%r12, %rdi
	movl	$4, %esi
	callq	_apr_palloc
	movq	%rax, (%r15)
	movl	-60(%rbp), %esi
	movq	-88(%rbp), %rdx
	movq	-80(%rbp), %rcx
	movq	-56(%rbp), %r8
	movq	-48(%rbp), %r9
	subq	$8, %rsp
	movq	%rax, %rdi
	pushq	%r14
	pushq	%r12
	pushq	%r13
	callq	_decode_window
	addq	$32, %rsp
LBB0_3:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN_ERR_SVNDIFF_UNEXPECTED_END,4,2 ## @SVN_ERR_SVNDIFF_UNEXPECTED_END
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unexpected end of svndiff input"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svn_txdelta_read_svndiff_window ; -- Begin function svn_txdelta_read_svndiff_window
	.p2align	2
_svn_txdelta_read_svndiff_window:       ; @svn_txdelta_read_svndiff_window
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	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
	mov	x19, x3
	mov	x20, x2
	mov	x23, x1
	mov	x21, x0
	sub	x1, x29, #52
	add	x2, sp, #48
	add	x3, sp, #40
	add	x4, sp, #32
	add	x5, sp, #24
	add	x6, sp, #8
	mov	x0, x23
	bl	_read_window_header
	bl	_SVN_ERR
	ldp	x9, x8, [sp, #24]
	add	x1, x9, x8
	str	x1, [sp, #16]
	mov	x0, x19
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_apr_palloc
	mov	x22, x0
	add	x2, sp, #16
	mov	x0, x23
	mov	x1, x22
	bl	_svn_stream_read_full
	bl	_SVN_ERR
	ldp	x8, x10, [sp, #16]
	ldr	x9, [sp, #32]
	add	x9, x10, x9
	cmp	x8, x9
	b.ge	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _SVN_ERR_SVNDIFF_UNEXPECTED_END@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SVN_ERR_SVNDIFF_UNEXPECTED_END@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x2, x0
	mov	x0, x19
	mov	x1, #0
	bl	_svn_error_create
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	mov	w1, #4
	bl	_apr_palloc
	str	x0, [x21]
	ldur	w1, [x29, #-52]
	ldp	x3, x2, [sp, #40]
	ldp	x5, x4, [sp, #24]
	str	w20, [sp]
	mov	x6, x22
	mov	x7, x19
	bl	_decode_window
LBB0_3:
	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
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_ERR_SVNDIFF_UNEXPECTED_END,4,2 ; @SVN_ERR_SVNDIFF_UNEXPECTED_END
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unexpected end of svndiff input"

.subsections_via_symbols
