	.file	"extr_zstd_v04.c_FSE_decompress.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	FSE_decompress, @function
FSE_decompress:
.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
	.cfi_offset 15, -24
	mov	r15, rdx
	push	r14
	.cfi_offset 14, -32
	mov	r14, rsi
	push	r13
	push	r12
	push	rbx
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	rbx, rcx
	sub	rsp, 40
	mov	QWORD PTR -72[rbp], rdi
	mov	ecx, DWORD PTR FSE_MAX_SYMBOL_VALUE[rip]
	mov	rsi, rsp
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	lea	eax, 1[rcx]
	cdqe
	lea	rax, 15[rax+rax]
	mov	rdx, rax
	and	rax, -4096
	sub	rsi, rax
	and	rdx, -16
	mov	rax, rsi
	cmp	rsp, rax
	je	.L3
.L16:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L16
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L17
.L4:
	mov	DWORD PTR -60[rbp], ecx
	mov	r13, rsp
	cmp	rbx, 1
	jbe	.L14
	mov	rdi, r13
	lea	rdx, -64[rbp]
	lea	rsi, -60[rbp]
	mov	r8, rbx
	mov	rcx, r15
	call	FSE_readNCount@PLT
	mov	rdi, rax
	mov	r12, rax
	call	FSE_isError@PLT
	test	rax, rax
	jne	.L1
	cmp	rbx, r12
	jbe	.L14
	mov	edx, DWORD PTR -60[rbp]
	mov	ecx, DWORD PTR -64[rbp]
	xor	edi, edi
	mov	rsi, r13
	call	FSE_buildDTable@PLT
	mov	rdi, rax
	mov	QWORD PTR -80[rbp], rax
	call	FSE_isError@PLT
	mov	rdx, QWORD PTR -80[rbp]
	test	rax, rax
	je	.L18
	mov	r12, rdx
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L19
	lea	rsp, -40[rbp]
	mov	rax, r12
	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
.L14:
	.cfi_restore_state
	mov	edi, DWORD PTR srcSize_wrong[rip]
	call	ERROR@PLT
	mov	r12, rax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L18:
	sub	rbx, r12
	mov	rdi, QWORD PTR -72[rbp]
	lea	rdx, [r15+r12*4]
	xor	r8d, r8d
	mov	rcx, rbx
	mov	rsi, r14
	call	FSE_decompress_usingDTable@PLT
	mov	r12, rax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	FSE_decompress, .-FSE_decompress
	.comm	srcSize_wrong,4,4
	.comm	FSE_MAX_SYMBOL_VALUE,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_zstd_v04.c_FSE_decompress.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	FSE_decompress, %function
FSE_decompress:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #24
	mov	r5, r3
	ldr	r3, .L12
	cmp	r5, #1
	ldr	lr, [r3]
	ldr	r3, .L12+4
	lsl	ip, lr, #1
	add	ip, ip, #9
	bic	ip, ip, #7
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	sub	sp, sp, ip
	str	lr, [fp, #-36]
	bls	.L8
	add	r7, sp, #8
	mov	r3, r2
	mov	r6, r0
	mov	r8, r1
	mov	r9, r2
	sub	r1, fp, #36
	sub	r2, fp, #40
	mov	r0, r7
	str	r5, [sp]
	bl	FSE_readNCount
	mov	r4, r0
	bl	FSE_isError
	cmp	r0, #0
	bne	.L1
	cmp	r5, r4
	bls	.L8
	mov	r1, r7
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-36]
	mov	r0, #0
	bl	FSE_buildDTable
	mov	r7, r0
	bl	FSE_isError
	cmp	r0, #0
	movne	r4, r7
	beq	.L10
.L1:
	ldr	r3, .L12+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	mov	r0, r4
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L8:
	ldr	r3, .L12+8
	ldr	r0, [r3]
	bl	ERROR
	mov	r4, r0
	b	.L1
.L10:
	mov	ip, #0
	sub	r3, r5, r4
	add	r2, r9, r4, lsl #2
	mov	r1, r8
	mov	r0, r6
	str	ip, [sp]
	bl	FSE_decompress_usingDTable
	mov	r4, r0
	b	.L1
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	FSE_MAX_SYMBOL_VALUE
	.word	.LC0
	.word	srcSize_wrong
	.size	FSE_decompress, .-FSE_decompress
	.comm	srcSize_wrong,4,4
	.comm	FSE_MAX_SYMBOL_VALUE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
