	.file	"extr_stream_round_trip.c_compress.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	compress, @function
compress:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, r8
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 120
	.cfi_def_cfa_offset 176
	mov	esi, DWORD PTR ZSTD_reset_session_only[rip]
	mov	edi, DWORD PTR cctx[rip]
	mov	QWORD PTR 40[rsp], rdx
	mov	QWORD PTR 32[rsp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 104[rsp], rax
	xor	eax, eax
	call	ZSTD_CCtx_reset@PLT
	mov	rsi, QWORD PTR 32[rsp]
	mov	edi, DWORD PTR cctx[rip]
	mov	rdx, r14
	call	FUZZ_setRandomParameters@PLT
	mov	r13, QWORD PTR 32[rsp]
	test	r13, r13
	je	.L37
	lea	rax, 32[rsp]
	xor	r13d, r13d
	lea	r15, 64[rsp]
	mov	QWORD PTR 24[rsp], rax
	lea	rax, 40[rsp]
	mov	QWORD PTR 16[rsp], rax
	lea	rax, 56[rsp]
	mov	QWORD PTR [rsp], rax
	.p2align 4,,10
	.p2align 3
.L18:
	mov	rdx, QWORD PTR 24[rsp]
	mov	rsi, QWORD PTR 16[rsp]
	mov	rcx, r14
	mov	rdi, r15
	mov	r12d, -1
	call	makeInBuffer@PLT
.L3:
	mov	rax, QWORD PTR 72[rsp]
	cmp	QWORD PTR 64[rsp], rax
	jl	.L16
	cmp	r12d, -1
	je	.L11
	mov	rdi, rbx
	mov	rdx, r14
	mov	rsi, rbp
	call	makeOutBuffer@PLT
	mov	edi, DWORD PTR cctx[rip]
	mov	QWORD PTR 56[rsp], rax
.L6:
	mov	ecx, DWORD PTR ZSTD_e_flush[rip]
	mov	rsi, QWORD PTR [rsp]
	mov	rdx, r15
	call	ZSTD_compressStream2@PLT
	mov	rdi, rax
	mov	QWORD PTR 8[rsp], rax
	call	FUZZ_ZASSERT@PLT
	mov	rax, QWORD PTR 56[rsp]
	mov	rdx, QWORD PTR 8[rsp]
	lea	rbx, [rbx+rax*4]
	add	r13, rax
	sub	rbp, rax
	test	rdx, rdx
	jne	.L3
	mov	rax, QWORD PTR 72[rsp]
	mov	r12d, -1
	cmp	QWORD PTR 64[rsp], rax
	jge	.L11
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rdx, r14
	mov	rsi, rbp
	mov	rdi, rbx
	call	makeOutBuffer@PLT
	mov	QWORD PTR 56[rsp], rax
	cmp	r12d, -1
	jne	.L4
	mov	edx, 9
	xor	esi, esi
	mov	rdi, r14
	call	FUZZ_dataProducer_uint32Range@PLT
	mov	r12d, eax
.L4:
	mov	edi, DWORD PTR cctx[rip]
	cmp	r12d, 2
	jg	.L5
	test	r12d, r12d
	jns	.L6
.L7:
	mov	ecx, DWORD PTR ZSTD_e_continue[rip]
	mov	rsi, QWORD PTR [rsp]
	mov	rdx, r15
	call	ZSTD_compressStream2@PLT
	mov	rdi, rax
	call	FUZZ_ZASSERT@PLT
.L34:
	mov	rax, QWORD PTR 56[rsp]
	lea	rbx, [rbx+rax*4]
	add	r13, rax
	sub	rbp, rax
	mov	rax, QWORD PTR 72[rsp]
	cmp	QWORD PTR 64[rsp], rax
	jl	.L38
.L11:
	cmp	QWORD PTR 32[rsp], 0
	jne	.L18
	.p2align 4,,10
	.p2align 3
.L20:
	pxor	xmm0, xmm0
	mov	rsi, rbp
	mov	rdi, rbx
	mov	rdx, r14
	movaps	XMMWORD PTR 64[rsp], xmm0
	movaps	XMMWORD PTR 80[rsp], xmm0
	call	makeOutBuffer@PLT
	mov	ecx, DWORD PTR ZSTD_e_end[rip]
	mov	rsi, QWORD PTR [rsp]
	mov	rdx, r15
	mov	edi, DWORD PTR cctx[rip]
	mov	QWORD PTR 56[rsp], rax
	call	ZSTD_compressStream2@PLT
	mov	rdi, rax
	mov	r12, rax
	call	FUZZ_ZASSERT@PLT
	mov	rax, QWORD PTR 56[rsp]
	lea	rbx, [rbx+rax*4]
	add	r13, rax
	sub	rbp, rax
	test	r12, r12
	jne	.L20
	mov	rax, QWORD PTR 104[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L39
	add	rsp, 120
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r13
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	cmp	r12d, 3
	jne	.L7
.L8:
	mov	ecx, DWORD PTR ZSTD_e_end[rip]
	mov	rsi, QWORD PTR [rsp]
	mov	rdx, r15
	call	ZSTD_compressStream2@PLT
	mov	rdi, rax
	mov	QWORD PTR 8[rsp], rax
	call	FUZZ_ZASSERT@PLT
	mov	rdx, QWORD PTR 8[rsp]
	test	rdx, rdx
	je	.L12
	mov	rax, QWORD PTR 56[rsp]
	lea	rbx, [rbx+rax*4]
	add	r13, rax
	sub	rbp, rax
	mov	rax, QWORD PTR 72[rsp]
	cmp	QWORD PTR 64[rsp], rax
	jl	.L16
	mov	rdi, rbx
	mov	rdx, r14
	mov	rsi, rbp
	call	makeOutBuffer@PLT
	mov	edi, DWORD PTR cctx[rip]
	mov	QWORD PTR 56[rsp], rax
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L38:
	mov	r12d, -1
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L12:
	mov	esi, DWORD PTR ZSTD_reset_session_only[rip]
	mov	edi, DWORD PTR cctx[rip]
	call	ZSTD_CCtx_reset@PLT
	xor	esi, esi
	mov	edx, 7
	mov	rdi, r14
	call	FUZZ_dataProducer_uint32Range@PLT
	test	eax, eax
	jne	.L34
	mov	edi, DWORD PTR cctx[rip]
	mov	rsi, QWORD PTR 72[rsp]
	mov	rdx, r14
	sub	rsi, QWORD PTR 64[rsp]
	call	FUZZ_setRandomParameters@PLT
	jmp	.L34
.L37:
	lea	rax, 56[rsp]
	lea	r15, 64[rsp]
	mov	QWORD PTR [rsp], rax
	jmp	.L20
.L39:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	compress, .-compress
	.comm	cctx,4,4
	.comm	ZSTD_reset_session_only,4,4
	.comm	ZSTD_e_flush,4,4
	.comm	ZSTD_e_end,4,4
	.comm	ZSTD_e_continue,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_stream_round_trip.c_compress.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	compress, %function
compress:
	@ args = 4, pretend = 0, frame = 48
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r6, .L49
	sub	sp, sp, #52
	mov	r5, r1
	ldr	r1, .L49+4
	str	r3, [sp, #8]
	ldr	r10, [sp, #88]
	ldr	r3, .L49+8
	str	r2, [sp, #12]
	ldr	r1, [r1]
	mov	r4, r0
	ldr	r0, [r6]
	ldr	r3, [r3]
	str	r3, [sp, #44]
	mov	r3,#0
	bl	ZSTD_CCtx_reset
	mov	r2, r10
	ldr	r0, [r6]
	ldr	r1, [sp, #8]
	bl	FUZZ_setRandomParameters
	ldr	r7, [sp, #8]
	cmp	r7, #0
	beq	.L44
	mov	r7, #0
	ldr	r3, .L49+12
	add	r8, sp, #24
	str	r3, [sp, #4]
	add	fp, sp, #20
.L18:
	mov	r3, r10
	add	r2, sp, #8
	mov	r0, r8
	add	r1, sp, #12
	bl	makeInBuffer
	ldr	r2, [sp, #24]
	ldr	r3, [sp, #28]
	mvn	r6, #0
	cmp	r2, r3
	blt	.L16
.L46:
	cmn	r6, #1
	beq	.L11
	mov	r2, r10
	mov	r1, r5
	mov	r0, r4
	bl	makeOutBuffer
	mov	r3, r0
	ldr	r2, .L49
	str	r3, [sp, #20]
	ldr	r0, [r2]
.L6:
	ldr	r3, .L49+16
	mov	r2, r8
	mov	r1, fp
	ldr	r3, [r3]
	bl	ZSTD_compressStream2
	mov	r9, r0
	bl	FUZZ_ZASSERT
	cmp	r9, #0
	beq	.L45
	ldr	r3, [sp, #20]
	ldr	r2, [sp, #24]
	add	r4, r4, r3, lsl #2
	add	r7, r7, r3
	sub	r5, r5, r3
	ldr	r3, [sp, #28]
	cmp	r2, r3
	bge	.L46
.L16:
	mov	r2, r10
	mov	r1, r5
	mov	r0, r4
	bl	makeOutBuffer
	cmn	r6, #1
	str	r0, [sp, #20]
	bne	.L4
	mov	r2, #9
	mov	r1, #0
	mov	r0, r10
	bl	FUZZ_dataProducer_uint32Range
	mov	r6, r0
.L4:
	ldr	r3, .L49
	cmp	r6, #2
	ldr	r0, [r3]
	bgt	.L5
	cmp	r6, #0
	bge	.L6
.L7:
	ldr	r3, .L49+20
	mov	r2, r8
	mov	r1, fp
	ldr	r3, [r3]
	bl	ZSTD_compressStream2
	bl	FUZZ_ZASSERT
.L41:
	ldr	r1, [sp, #24]
	ldr	r2, [sp, #28]
	ldr	r3, [sp, #20]
	cmp	r1, r2
	add	r4, r4, r3, lsl #2
	add	r7, r7, r3
	sub	r5, r5, r3
	blt	.L47
.L11:
	ldr	r3, [sp, #8]
	cmp	r3, #0
	bne	.L18
.L2:
	mov	r6, #0
.L20:
	mov	r1, r5
	mov	r2, r10
	mov	r0, r4
	str	r6, [r8]
	str	r6, [r8, #4]
	str	r6, [r8, #8]
	str	r6, [r8, #12]
	str	r6, [r8, #16]
	bl	makeOutBuffer
	mov	ip, r0
	ldr	r3, [sp, #4]
	ldr	r0, .L49
	ldr	r3, [r3]
	mov	r2, r8
	mov	r1, fp
	ldr	r0, [r0]
	str	ip, [sp, #20]
	bl	ZSTD_compressStream2
	mov	r9, r0
	bl	FUZZ_ZASSERT
	ldr	r3, [sp, #20]
	cmp	r9, #0
	add	r4, r4, r3, lsl #2
	add	r7, r7, r3
	sub	r5, r5, r3
	bne	.L20
	ldr	r3, .L49+8
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L48
	mov	r0, r7
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L5:
	cmp	r6, #3
	bne	.L7
.L8:
	ldr	r3, [sp, #4]
	mov	r2, r8
	mov	r1, fp
	ldr	r3, [r3]
	bl	ZSTD_compressStream2
	mov	r9, r0
	bl	FUZZ_ZASSERT
	cmp	r9, #0
	beq	.L12
	ldr	r1, [sp, #24]
	ldr	r2, [sp, #28]
	ldr	r3, [sp, #20]
	cmp	r1, r2
	add	r4, r4, r3, lsl #2
	add	r7, r7, r3
	sub	r5, r5, r3
	blt	.L16
	mov	r2, r10
	mov	r1, r5
	mov	r0, r4
	bl	makeOutBuffer
	mov	r3, r0
	ldr	r2, .L49
	str	r3, [sp, #20]
	ldr	r0, [r2]
	b	.L8
.L47:
	mvn	r6, #0
	b	.L16
.L45:
	ldr	r1, [sp, #24]
	ldr	r2, [sp, #28]
	ldr	r3, [sp, #20]
	cmp	r1, r2
	mvn	r6, #0
	add	r4, r4, r3, lsl #2
	add	r7, r7, r3
	sub	r5, r5, r3
	bge	.L11
	b	.L16
.L12:
	ldr	r3, .L49+4
	ldr	r1, [r3]
	ldr	r3, .L49
	ldr	r0, [r3]
	bl	ZSTD_CCtx_reset
	mov	r1, r9
	mov	r2, #7
	mov	r0, r10
	bl	FUZZ_dataProducer_uint32Range
	cmp	r0, #0
	bne	.L41
	ldr	r3, [sp, #24]
	ldr	r1, [sp, #28]
	mov	r2, r10
	sub	r1, r1, r3
	ldr	r3, .L49
	ldr	r0, [r3]
	bl	FUZZ_setRandomParameters
	b	.L41
.L44:
	ldr	r3, .L49+12
	add	r8, sp, #24
	add	fp, sp, #20
	str	r3, [sp, #4]
	b	.L2
.L48:
	bl	__stack_chk_fail
.L50:
	.align	2
.L49:
	.word	cctx
	.word	ZSTD_reset_session_only
	.word	.LC0
	.word	ZSTD_e_end
	.word	ZSTD_e_flush
	.word	ZSTD_e_continue
	.size	compress, .-compress
	.comm	cctx,4,4
	.comm	ZSTD_reset_session_only,4,4
	.comm	ZSTD_e_flush,4,4
	.comm	ZSTD_e_end,4,4
	.comm	ZSTD_e_continue,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
