	.file	"extr_verify.c_expected_streamed_checksum.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	expected_streamed_checksum, @function
expected_streamed_checksum:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	mov	r12, rdi
	push	rbx
	sub	rsp, 72
	.cfi_offset 3, -56
	mov	QWORD PTR -96[rbp], rsi
	mov	QWORD PTR -104[rbp], rdx
	mov	rbx, rsp
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR STREAM_THRESHOLD[rip]
	mov	QWORD PTR -80[rbp], rax
	mov	r13, rax
	add	rax, 15
	mov	rcx, rax
	and	rax, -4096
	sub	rbx, rax
	and	rcx, -16
	mov	rax, rbx
	cmp	rsp, rax
	je	.L3
.L17:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L17
.L3:
	and	ecx, 4095
	sub	rsp, rcx
	test	rcx, rcx
	jne	.L18
.L4:
	mov	rsi, QWORD PTR -104[rbp]
	mov	edi, DWORD PTR svn_checksum_fnv1a_32x4[rip]
	mov	r15, rsp
	call	svn_checksum_ctx_create@PLT
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -96[rbp]
	mov	r14d, DWORD PTR [rax]
	test	r14d, r14d
	jle	.L8
	mov	eax, r13d
	movsx	rbx, r14d
	neg	eax
	cdqe
	mov	QWORD PTR -88[rbp], rax
	.p2align 4,,10
	.p2align 3
.L7:
	cmp	QWORD PTR -80[rbp], rbx
	jb	.L19
	mov	edx, r14d
	mov	rsi, r15
	mov	rdi, r12
	call	svn_fs_x__rev_file_read@PLT
	mov	edi, eax
	call	SVN_ERR@PLT
	mov	rdi, QWORD PTR -72[rbp]
	mov	edx, r14d
	mov	rsi, r15
	call	svn_checksum_update@PLT
	mov	edi, eax
	call	SVN_ERR@PLT
.L8:
	mov	rbx, QWORD PTR -104[rbp]
	mov	rsi, QWORD PTR -72[rbp]
	lea	rdi, -64[rbp]
	mov	rdx, rbx
	call	svn_checksum_final@PLT
	mov	edi, eax
	call	SVN_ERR@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edi, DWORD PTR [rax]
	call	ntohl@PLT
	mov	rsi, QWORD PTR -96[rbp]
	mov	rcx, rbx
	mov	rdi, r12
	mov	edx, eax
	call	expected_checksum@PLT
	mov	edi, eax
	call	SVN_ERR@PLT
	mov	rax, QWORD PTR SVN_NO_ERROR[rip]
	mov	rcx, QWORD PTR -56[rbp]
	xor	rcx, QWORD PTR fs:40
	jne	.L20
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_restore_state
	mov	edx, r13d
	mov	rsi, r15
	mov	rdi, r12
	sub	r14d, r13d
	call	svn_fs_x__rev_file_read@PLT
	mov	edi, eax
	call	SVN_ERR@PLT
	mov	rdi, QWORD PTR -72[rbp]
	mov	edx, r13d
	mov	rsi, r15
	call	svn_checksum_update@PLT
	mov	edi, eax
	call	SVN_ERR@PLT
	add	rbx, QWORD PTR -88[rbp]
	test	r14d, r14d
	jg	.L7
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L18:
	or	QWORD PTR -8[rsp+rcx], 0
	jmp	.L4
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	expected_streamed_checksum, .-expected_streamed_checksum
	.comm	svn_checksum_fnv1a_32x4,4,4
	.comm	SVN_NO_ERROR,8,8
	.comm	STREAM_THRESHOLD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_verify.c_expected_streamed_checksum.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	expected_streamed_checksum, %function
expected_streamed_checksum:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #12
	mov	r9, r2
	ldr	r3, .L13
	mov	r10, r1
	ldr	r5, [r3]
	ldr	r2, .L13+4
	add	r3, r5, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	ldr	r3, .L13+8
	mov	r8, r0
	mov	r1, r9
	ldr	r0, [r2]
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	bl	svn_checksum_ctx_create
	ldr	r4, [r10]
	mov	r7, r0
	cmp	r4, #0
	ble	.L5
	mov	r6, sp
.L4:
	cmp	r5, r4
	bcc	.L11
	mov	r2, r4
	mov	r1, r6
	mov	r0, r8
	bl	svn_fs_x__rev_file_read
	bl	SVN_ERR
	mov	r2, r4
	mov	r1, r6
	mov	r0, r7
	bl	svn_checksum_update
	bl	SVN_ERR
.L5:
	mov	r1, r7
	mov	r2, r9
	sub	r0, fp, #44
	bl	svn_checksum_final
	bl	SVN_ERR
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	ldr	r0, [r3]
	bl	ntohl
	mov	r3, r9
	mov	r2, r0
	mov	r1, r10
	mov	r0, r8
	bl	expected_checksum
	bl	SVN_ERR
	ldr	r3, .L13+12
	ldr	r0, [r3]
	ldr	r3, .L13+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L11:
	mov	r2, r5
	mov	r1, r6
	mov	r0, r8
	bl	svn_fs_x__rev_file_read
	bl	SVN_ERR
	mov	r2, r5
	mov	r1, r6
	mov	r0, r7
	bl	svn_checksum_update
	sub	r4, r4, r5
	bl	SVN_ERR
	cmp	r4, #0
	bgt	.L4
	b	.L5
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	STREAM_THRESHOLD
	.word	svn_checksum_fnv1a_32x4
	.word	.LC0
	.word	SVN_NO_ERROR
	.size	expected_streamed_checksum, .-expected_streamed_checksum
	.comm	svn_checksum_fnv1a_32x4,4,4
	.comm	SVN_NO_ERROR,4,4
	.comm	STREAM_THRESHOLD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
