	.file	"extr_frameCompress.c_compress_file.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"error : ressource allocation failed \n"
	.text
	.p2align 4
	.type	compress_file, @function
compress_file:
.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, rsi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 88
	.cfi_def_cfa_offset 144
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	test	rdi, rdi
	setne	dil
	movzx	edi, dil
	call	assert@PLT
	xor	edi, edi
	test	r14, r14
	setne	dil
	call	assert@PLT
	mov	esi, DWORD PTR LZ4F_VERSION[rip]
	lea	rdi, 44[rsp]
	call	LZ4F_createCompressionContext@PLT
	mov	r15, QWORD PTR IN_CHUNK_SIZE[rip]
	mov	QWORD PTR 8[rsp], rax
	mov	rdi, r15
	call	malloc@PLT
	lea	rsi, kPrefs[rip]
	mov	rdi, r15
	mov	rbp, rax
	call	LZ4F_compressBound@PLT
	mov	rdi, rax
	mov	rbx, rax
	call	malloc@PLT
	mov	r8, QWORD PTR 8[rsp]
	mov	r12, rax
	mov	rdi, r8
	call	LZ4F_isError@PLT
	test	eax, eax
	jne	.L2
	test	rbp, rbp
	je	.L2
	test	r12, r12
	je	.L2
	sub	rsp, 8
	.cfi_def_cfa_offset 152
	mov	rsi, r14
	mov	rdi, r13
	mov	r9, r12
	push	rbx
	.cfi_def_cfa_offset 160
	mov	edx, DWORD PTR 60[rsp]
	mov	r8, r15
	mov	rcx, rbp
	call	compress_file_internal@PLT
	mov	r14d, eax
	shr	rax, 32
	mov	r13d, edx
	mov	rbx, rax
	pop	rax
	.cfi_def_cfa_offset 152
	pop	rdx
	.cfi_def_cfa_offset 144
.L3:
	mov	edi, DWORD PTR 44[rsp]
	call	LZ4F_freeCompressionContext@PLT
	mov	rdi, rbp
	call	free@PLT
	mov	rdi, r12
	call	free@PLT
	mov	DWORD PTR 60[rsp], r14d
	mov	edx, r13d
	mov	DWORD PTR 64[rsp], ebx
	mov	rax, QWORD PTR 60[rsp]
	mov	rcx, QWORD PTR 72[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L13
	add	rsp, 88
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L2:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	xor	r13d, r13d
	xor	ebx, ebx
	mov	r14d, 1
	call	printf@PLT
	jmp	.L3
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	compress_file, .-compress_file
	.comm	kPrefs,4,4
	.comm	LZ4F_VERSION,4,4
	.comm	IN_CHUNK_SIZE,8,8
	.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_frameCompress.c_compress_file.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"error : ressource allocation failed \012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	compress_file, %function
compress_file:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r9, r2
	ldr	r3, .L11
	mov	r4, r0
	subs	r0, r1, #0
	sub	sp, sp, #44
	movne	r0, #1
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	mov	r8, r1
	bl	assert
	subs	r0, r9, #0
	movne	r0, #1
	bl	assert
	ldr	r3, .L11+4
	add	r0, sp, #20
	ldr	r1, [r3]
	bl	LZ4F_createCompressionContext
	ldr	r3, .L11+8
	mov	r7, r0
	ldr	r10, [r3]
	mov	r0, r10
	bl	malloc
	ldr	r1, .L11+12
	mov	r6, r0
	mov	r0, r10
	bl	LZ4F_compressBound
	mov	fp, r0
	bl	malloc
	mov	r5, r0
	mov	r0, r7
	bl	LZ4F_isError
	cmp	r0, #0
	bne	.L2
	cmp	r6, #0
	cmpne	r5, #0
	beq	.L2
	mov	r2, r9
	mov	r1, r8
	stm	sp, {r6, r10}
	ldr	r3, [sp, #20]
	str	fp, [sp, #12]
	str	r5, [sp, #8]
	add	r0, sp, #24
	bl	compress_file_internal
	ldr	r9, [sp, #24]
	ldr	r8, [sp, #28]
	ldr	r7, [sp, #32]
.L3:
	ldr	r0, [sp, #20]
	bl	LZ4F_freeCompressionContext
	mov	r0, r6
	bl	free
	mov	r0, r5
	bl	free
	ldr	r3, .L11
	str	r9, [r4]
	str	r8, [r4, #4]
	str	r7, [r4, #8]
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	mov	r0, r4
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	mov	r7, #0
	ldr	r0, .L11+16
	mov	r8, r7
	bl	printf
	mov	r9, #1
	b	.L3
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	.LC1
	.word	LZ4F_VERSION
	.word	IN_CHUNK_SIZE
	.word	kPrefs
	.word	.LC0
	.size	compress_file, .-compress_file
	.comm	kPrefs,4,4
	.comm	LZ4F_VERSION,4,4
	.comm	IN_CHUNK_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
