	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_window_header
_read_window_header:                    ## @read_window_header
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	16(%rbp), %r15
	movq	$0, (%r15)
	movl	$0, (%rsi)
	leaq	-41(%rbp), %r12
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_read_one_byte
	movl	%eax, %edi
	callq	_SVN_ERR
	incq	(%r15)
	movl	(%rbx), %eax
	shll	$7, %eax
	movzbl	-41(%rbp), %ecx
	movl	%ecx, %edx
	andl	$127, %edx
	orl	%eax, %edx
	movl	%edx, (%rbx)
	testb	%cl, %cl
	js	LBB0_1
## %bb.2:
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_read_one_size
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_read_one_size
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_read_one_size
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_read_one_size
	movl	%eax, %edi
	callq	_SVN_ERR
	movq	(%r12), %rax
	movq	_SVN_DELTA_WINDOW_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	cmpq	%rsi, %rax
	jg	LBB0_6
## %bb.3:
	movq	(%r13), %rcx
	cmpq	%rsi, %rcx
	jg	LBB0_6
## %bb.4:
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx), %rdx
	movq	_SVN__MAX_ENCODED_UINT_LEN@GOTPCREL(%rip), %rdi
	addq	(%rdi), %rsi
	cmpq	%rsi, %rdx
	jg	LBB0_6
## %bb.5:
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	(%rsi), %rsi
	movq	_MAX_INSTRUCTION_SECTION_LEN@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rsi
	jle	LBB0_8
LBB0_6:
	movq	_SVN_ERR_SVNDIFF_CORRUPT_WINDOW@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str(%rip), %rdi
LBB0_7:
	callq	__
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_svn_error_create
LBB0_14:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	cmpl	$0, (%rbx)
	js	LBB0_12
## %bb.9:
	testq	%rdx, %rdx
	js	LBB0_12
## %bb.10:
	testq	%rax, %rax
	js	LBB0_12
## %bb.11:
	testq	%rcx, %rcx
	js	LBB0_12
## %bb.13:
	movq	_SVN_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_14
LBB0_12:
	movq	_SVN_ERR_SVNDIFF_CORRUPT_WINDOW@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_SVN_DELTA_WINDOW_SIZE,8,3      ## @SVN_DELTA_WINDOW_SIZE
	.comm	_SVN__MAX_ENCODED_UINT_LEN,8,3  ## @SVN__MAX_ENCODED_UINT_LEN
	.comm	_MAX_INSTRUCTION_SECTION_LEN,8,3 ## @MAX_INSTRUCTION_SECTION_LEN
	.comm	_SVN_ERR_SVNDIFF_CORRUPT_WINDOW,4,2 ## @SVN_ERR_SVNDIFF_CORRUPT_WINDOW
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Svndiff contains a too-large window"

L_.str.1:                               ## @.str.1
	.asciz	"Svndiff contains corrupt window header"

	.comm	_SVN_NO_ERROR,8,3               ## @SVN_NO_ERROR
	.no_dead_strip	_read_window_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_window_header
_read_window_header:                    ; @read_window_header
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x24, x6
	mov	x21, x5
	mov	x20, x4
	mov	x23, x3
	mov	x22, x2
	mov	x19, x1
	mov	x25, x0
	str	xzr, [x6]
	str	wzr, [x1]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #15
	mov	x1, x25
	bl	_read_one_byte
	bl	_SVN_ERR
	ldr	x8, [x24]
	add	x8, x8, #1
	str	x8, [x24]
	ldr	w8, [x19]
	ldrb	w9, [sp, #15]
	mov	x10, x9
	bfi	w10, w8, #7, #25
	str	w10, [x19]
	tbnz	w9, #7, LBB0_1
; %bb.2:
	mov	x0, x22
	mov	x1, x24
	mov	x2, x25
	bl	_read_one_size
	bl	_SVN_ERR
	mov	x0, x23
	mov	x1, x24
	mov	x2, x25
	bl	_read_one_size
	bl	_SVN_ERR
	mov	x0, x20
	mov	x1, x24
	mov	x2, x25
	bl	_read_one_size
	bl	_SVN_ERR
	mov	x0, x21
	mov	x1, x24
	mov	x2, x25
	bl	_read_one_size
	bl	_SVN_ERR
	ldr	x8, [x23]
Lloh0:
	adrp	x9, _SVN_DELTA_WINDOW_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SVN_DELTA_WINDOW_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x9]
	cmp	x8, x11
	b.gt	LBB0_6
; %bb.3:
	ldr	x9, [x22]
	cmp	x9, x11
	b.gt	LBB0_6
; %bb.4:
	ldr	x10, [x21]
Lloh3:
	adrp	x12, _SVN__MAX_ENCODED_UINT_LEN@GOTPAGE
Lloh4:
	ldr	x12, [x12, _SVN__MAX_ENCODED_UINT_LEN@GOTPAGEOFF]
Lloh5:
	ldr	x12, [x12]
	add	x11, x12, x11
	cmp	x10, x11
	b.gt	LBB0_6
; %bb.5:
	ldr	x11, [x20]
Lloh6:
	adrp	x12, _MAX_INSTRUCTION_SECTION_LEN@GOTPAGE
Lloh7:
	ldr	x12, [x12, _MAX_INSTRUCTION_SECTION_LEN@GOTPAGEOFF]
Lloh8:
	ldr	x12, [x12]
	cmp	x11, x12
	b.le	LBB0_9
LBB0_6:
Lloh9:
	adrp	x8, _SVN_ERR_SVNDIFF_CORRUPT_WINDOW@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SVN_ERR_SVNDIFF_CORRUPT_WINDOW@GOTPAGEOFF]
Lloh11:
	ldr	w19, [x8]
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
LBB0_7:
	bl	__
	mov	x2, x0
	mov	x0, x19
	mov	x1, #0
	bl	_svn_error_create
LBB0_8:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_9:
	ldr	w11, [x19]
	tbnz	w11, #31, LBB0_14
; %bb.10:
	tbnz	x10, #63, LBB0_14
; %bb.11:
	tbnz	x8, #63, LBB0_14
; %bb.12:
	tbnz	x9, #63, LBB0_14
; %bb.13:
Lloh14:
	adrp	x8, _SVN_NO_ERROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF]
Lloh16:
	ldr	x0, [x8]
	b	LBB0_8
LBB0_14:
Lloh17:
	adrp	x8, _SVN_ERR_SVNDIFF_CORRUPT_WINDOW@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SVN_ERR_SVNDIFF_CORRUPT_WINDOW@GOTPAGEOFF]
Lloh19:
	ldr	w19, [x8]
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_SVN_DELTA_WINDOW_SIZE,8,3      ; @SVN_DELTA_WINDOW_SIZE
	.comm	_SVN__MAX_ENCODED_UINT_LEN,8,3  ; @SVN__MAX_ENCODED_UINT_LEN
	.comm	_MAX_INSTRUCTION_SECTION_LEN,8,3 ; @MAX_INSTRUCTION_SECTION_LEN
	.comm	_SVN_ERR_SVNDIFF_CORRUPT_WINDOW,4,2 ; @SVN_ERR_SVNDIFF_CORRUPT_WINDOW
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Svndiff contains a too-large window"

l_.str.1:                               ; @.str.1
	.asciz	"Svndiff contains corrupt window header"

	.comm	_SVN_NO_ERROR,8,3               ; @SVN_NO_ERROR
	.no_dead_strip	_read_window_header
.subsections_via_symbols
