	.file	"extr_frameCompress.c_decompress_file_internal.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Decompress: not enough input or error reading file"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"Decompression error: %s\n"
	.section	.rodata.str1.8
	.align 8
.LC2:
	.string	"Decompress: Trailing data left in file after frame"
	.text
	.p2align 4
	.type	decompress_file_internal, @function
decompress_file_internal:
.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, r9
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, r8
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rcx
	sub	rsp, 88
	.cfi_def_cfa_offset 144
	mov	QWORD PTR 8[rsp], rsi
	mov	r15, QWORD PTR 144[rsp]
	mov	QWORD PTR 32[rsp], r8
	mov	rbp, QWORD PTR 152[rsp]
	mov	QWORD PTR 16[rsp], rdi
	mov	QWORD PTR 24[rsp], rcx
	mov	rcx, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rcx
	xor	ecx, ecx
	test	rdi, rdi
	setne	dil
	movzx	edi, dil
	call	assert@PLT
	xor	edi, edi
	cmp	QWORD PTR 8[rsp], 0
	setne	dil
	call	assert@PLT
	xor	edi, edi
	test	r12, r12
	setne	dil
	call	assert@PLT
	xor	edi, edi
	test	rbx, rbx
	setne	dil
	call	assert@PLT
	xor	edi, edi
	test	r13, r13
	setne	dil
	call	assert@PLT
	xor	edi, edi
	cmp	r13, r14
	setnb	dil
	call	assert@PLT
	xor	edi, edi
	cmp	r14, r15
	setnb	dil
	call	assert@PLT
	xor	edi, edi
	test	rbp, rbp
	setne	dil
	call	assert@PLT
	xor	edi, edi
	cmp	QWORD PTR 160[rsp], 0
	setne	dil
	add	r15, rbx
	call	assert@PLT
	lea	rbx, [r15+r14]
	test	r14, r14
	je	.L2
	lea	rax, 64[rsp]
	mov	r13, r15
	mov	QWORD PTR [rsp], rax
.L3:
	mov	rdi, QWORD PTR 16[rsp]
	call	ferror@PLT
	test	rax, rax
	jne	.L2
	lea	r14, 56[rsp]
	cmp	r13, rbx
	jb	.L4
	jmp	.L39
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rdx, QWORD PTR 64[rsp]
	add	rdx, r13
	mov	r13, rdx
	cmp	rdx, rbx
	jnb	.L16
.L41:
	test	r15, r15
	je	.L16
.L4:
	mov	r8, QWORD PTR [rsp]
	xor	r9d, r9d
	mov	rdi, r12
	mov	rcx, r13
	mov	rax, QWORD PTR 160[rsp]
	mov	rdx, r14
	mov	rsi, rbp
	mov	QWORD PTR 56[rsp], rax
	mov	rax, rbx
	sub	rax, r13
	mov	QWORD PTR 64[rsp], rax
	call	LZ4F_decompress@PLT
	mov	rdi, rax
	mov	r15, rax
	call	LZ4F_isError@PLT
	test	rax, rax
	jne	.L40
	mov	rdx, QWORD PTR 56[rsp]
	test	rdx, rdx
	je	.L8
	mov	rcx, QWORD PTR 8[rsp]
	mov	esi, 1
	mov	rdi, rbp
	call	safe_fwrite@PLT
	mov	rdx, QWORD PTR 64[rsp]
	add	rdx, r13
	mov	r13, rdx
	cmp	rdx, rbx
	jb	.L41
	.p2align 4,,10
	.p2align 3
.L16:
	cmp	rdx, rbx
	mov	QWORD PTR 40[rsp], rdx
	setbe	dil
	movzx	edi, dil
	call	assert@PLT
	mov	rdx, QWORD PTR 40[rsp]
	cmp	rdx, rbx
	jb	.L13
	test	r15, r15
	je	.L42
.L11:
	mov	r13, QWORD PTR 24[rsp]
	mov	rcx, QWORD PTR 16[rsp]
	mov	esi, 1
	mov	edx, DWORD PTR 32[rsp]
	mov	rdi, r13
	call	fread@PLT
	lea	rbx, 0[r13+rax]
	test	rax, rax
	jne	.L3
.L2:
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L40:
	mov	rdi, r15
	call	LZ4F_getErrorName@PLT
	lea	rdi, .LC1[rip]
	mov	rsi, rax
	xor	eax, eax
	call	printf@PLT
	mov	eax, 1
.L1:
	mov	rcx, QWORD PTR 72[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L43
	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
.L39:
	.cfi_restore_state
	sete	dil
	movzx	edi, dil
	call	assert@PLT
	jmp	.L11
.L13:
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L1
.L42:
	mov	rbx, QWORD PTR 16[rsp]
	mov	rdi, QWORD PTR 24[rsp]
	mov	edx, 1
	mov	esi, 1
	mov	rcx, rbx
	call	fread@PLT
	test	rax, rax
	jne	.L13
	mov	rdi, rbx
	call	feof@PLT
	test	eax, eax
	je	.L13
	xor	eax, eax
	jmp	.L1
.L43:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	decompress_file_internal, .-decompress_file_internal
	.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_decompress_file_internal.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Decompress: not enough input or error reading file\000"
	.align	2
.LC1:
	.ascii	"Decompression error: %s\012\000"
	.align	2
.LC2:
	.ascii	"Decompress: Trailing data left in file after frame\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	decompress_file_internal, %function
decompress_file_internal:
	@ args = 20, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	ip, r0
	mov	r6, r1
	mov	r9, r2
	mov	r5, r3
	sub	sp, sp, #44
	str	r3, [sp, #20]
	subs	r0, r0, #0
	ldr	r3, .L38
	str	r1, [sp, #12]
	movne	r0, #1
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	ldr	r7, [sp, #84]
	str	ip, [sp, #16]
	ldr	r4, [sp, #88]
	ldr	r8, [sp, #92]
	bl	assert
	subs	r0, r6, #0
	movne	r0, #1
	bl	assert
	subs	r0, r9, #0
	movne	r0, #1
	bl	assert
	subs	r0, r5, #0
	movne	r0, #1
	bl	assert
	ldr	r3, [sp, #80]
	subs	r0, r3, #0
	movne	r0, #1
	bl	assert
	ldr	r3, [sp, #80]
	cmp	r3, r7
	movcc	r0, #0
	movcs	r0, #1
	bl	assert
	cmp	r7, r4
	movcc	r0, #0
	movcs	r0, #1
	bl	assert
	subs	r0, r8, #0
	movne	r0, #1
	bl	assert
	ldr	r3, [sp, #96]
	add	r4, r5, r4
	subs	r0, r3, #0
	movne	r0, #1
	bl	assert
	cmp	r7, #0
	add	r7, r4, r7
	beq	.L2
	mov	r10, #0
	add	fp, sp, #32
.L3:
	ldr	r0, [sp, #16]
	bl	ferror
	cmp	r0, #0
	bne	.L2
	cmp	r4, r7
	bcc	.L4
	b	.L33
.L8:
	ldr	r3, [sp, #32]
	add	r4, r4, r3
	cmp	r6, #0
	cmpne	r4, r7
	bcs	.L34
.L4:
	ldr	lr, [sp, #96]
	sub	ip, r7, r4
	mov	r3, r4
	mov	r1, r8
	add	r2, sp, #28
	mov	r0, r9
	str	r10, [sp, #4]
	str	fp, [sp]
	str	lr, [sp, #28]
	str	ip, [sp, #32]
	bl	LZ4F_decompress
	mov	r6, r0
	bl	LZ4F_isError
	subs	r5, r0, #0
	bne	.L35
	ldr	r2, [sp, #28]
	cmp	r2, #0
	beq	.L8
	mov	r1, #1
	mov	r0, r8
	ldr	r3, [sp, #12]
	bl	safe_fwrite
	b	.L8
.L35:
	mov	r0, r6
	bl	LZ4F_getErrorName
	mov	r1, r0
	ldr	r0, .L38+4
	bl	printf
	mov	r5, #1
.L1:
	ldr	r3, .L38
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L36
	mov	r0, r5
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L34:
	cmp	r4, r7
	movhi	r0, #0
	movls	r0, #1
	bl	assert
	cmp	r4, r7
	bcc	.L12
	cmp	r6, #0
	beq	.L37
.L10:
	ldr	r4, [sp, #20]
	mov	r1, #1
	mov	r0, r4
	ldr	r3, [sp, #16]
	ldr	r2, [sp, #80]
	bl	fread
	cmp	r0, #0
	add	r7, r4, r0
	bne	.L3
.L2:
	ldr	r0, .L38+8
	bl	puts
	mov	r5, #1
	b	.L1
.L33:
	moveq	r0, #1
	movne	r0, #0
	bl	assert
	b	.L10
.L37:
	mov	r2, #1
	ldr	r4, [sp, #16]
	mov	r1, r2
	mov	r3, r4
	ldr	r0, [sp, #20]
	bl	fread
	cmp	r0, #0
	bne	.L12
	mov	r0, r4
	bl	feof
	cmp	r0, #0
	bne	.L1
.L12:
	ldr	r0, .L38+12
	bl	puts
	mov	r5, #1
	b	.L1
.L36:
	bl	__stack_chk_fail
.L39:
	.align	2
.L38:
	.word	.LC3
	.word	.LC1
	.word	.LC0
	.word	.LC2
	.size	decompress_file_internal, .-decompress_file_internal
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
