	.file	"extr_zstd_decompress_block.c_ZSTD_decompressBlock_internal.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"ZSTD_decompressBlock_internal (size : %u)"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"ZSTD_decodeLiteralsBlock : %u"
	.text
	.p2align 4
	.globl	ZSTD_decompressBlock_internal
	.type	ZSTD_decompressBlock_internal, @function
ZSTD_decompressBlock_internal:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	xor	r15d, r15d
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, r9d
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, r8
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	QWORD PTR [rsp], rsi
	mov	QWORD PTR 8[rsp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	MEM_32bits@PLT
	test	rax, rax
	je	.L2
	mov	r15d, 1
	test	r13d, r13d
	jne	.L23
.L2:
	mov	rdx, rbx
	lea	rsi, .LC0[rip]
	mov	edi, 5
	call	DEBUGLOG@PLT
	mov	esi, DWORD PTR srcSize_wrong[rip]
	xor	edi, edi
	cmp	QWORD PTR ZSTD_BLOCKSIZE_MAX[rip], rbx
	setbe	dil
	call	RETURN_ERROR_IF@PLT
	mov	rdx, rbx
	mov	rsi, r12
	mov	rdi, rbp
	call	ZSTD_decodeLiteralsBlock@PLT
	mov	edi, 5
	lea	rsi, .LC1[rip]
	mov	r14, rax
	mov	rdx, rax
	call	DEBUGLOG@PLT
	mov	rdi, r14
	call	ZSTD_isError@PLT
	test	rax, rax
	je	.L24
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L25
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r14
	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
.L23:
	.cfi_restore_state
	mov	rcx, QWORD PTR STREAM_ACCUMULATOR_MIN[rip]
	mov	eax, 1
	xor	r15d, r15d
	sal	rax, cl
	cmp	QWORD PTR 8[rbp], rax
	seta	r15b
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L24:
	sub	rbx, r14
	mov	eax, DWORD PTR 0[rbp]
	lea	r12, [r12+r14*4]
	mov	rdi, rbp
	lea	rsi, 36[rsp]
	mov	rcx, rbx
	mov	rdx, r12
	mov	DWORD PTR 16[rsp], eax
	call	ZSTD_decodeSeqHeaders@PLT
	mov	rdi, rax
	mov	r14, rax
	call	ZSTD_isError@PLT
	test	rax, rax
	jne	.L1
	mov	edi, DWORD PTR 16[rsp]
	sub	rbx, r14
	mov	r9d, DWORD PTR 36[rsp]
	lea	rcx, [r12+r14*4]
	mov	r8, rbx
	test	edi, edi
	jne	.L5
	test	r13d, r13d
	je	.L6
	cmp	QWORD PTR 8[rbp], 16777216
	ja	.L6
.L21:
	mov	DWORD PTR 0[rbp], 0
.L7:
	sub	rsp, 8
	.cfi_def_cfa_offset 120
	mov	rdi, rbp
	push	r15
	.cfi_def_cfa_offset 128
	mov	rdx, QWORD PTR 24[rsp]
	mov	rsi, QWORD PTR 16[rsp]
	call	ZSTD_decompressSequences@PLT
	mov	r14, rax
	pop	rax
	.cfi_def_cfa_offset 120
	pop	rdx
	.cfi_def_cfa_offset 112
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	DWORD PTR 0[rbp], 0
.L10:
	sub	rsp, 8
	.cfi_def_cfa_offset 120
	mov	rdi, rbp
	push	r15
	.cfi_def_cfa_offset 128
	mov	rdx, QWORD PTR 24[rsp]
	mov	rsi, QWORD PTR 16[rsp]
	call	ZSTD_decompressSequencesLong@PLT
	pop	rcx
	.cfi_def_cfa_offset 120
	pop	rsi
	.cfi_def_cfa_offset 112
	mov	r14, rax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	cmp	DWORD PTR ADVANCED_SEQS[rip], r9d
	jge	.L21
	mov	edi, DWORD PTR 4[rbp]
	mov	QWORD PTR 24[rsp], r8
	mov	QWORD PTR 16[rsp], rcx
	call	ZSTD_getLongOffsetsShare@PLT
	mov	r12, rax
	xor	eax, eax
	call	MEM_64bits@PLT
	mov	r9d, DWORD PTR 36[rsp]
	mov	rcx, QWORD PTR 16[rsp]
	mov	DWORD PTR 0[rbp], 0
	cmp	rax, 1
	mov	r8, QWORD PTR 24[rsp]
	sbb	rax, rax
	and	eax, 13
	add	rax, 7
	cmp	rax, r12
	jg	.L7
	jmp	.L10
.L25:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ZSTD_decompressBlock_internal, .-ZSTD_decompressBlock_internal
	.comm	srcSize_wrong,4,4
	.comm	ZSTD_BLOCKSIZE_MAX,8,8
	.comm	STREAM_ACCUMULATOR_MIN,8,8
	.comm	ADVANCED_SEQS,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_decompress_block.c_ZSTD_decompressBlock_internal.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"ZSTD_decompressBlock_internal (size : %u)\000"
	.align	2
.LC1:
	.ascii	"ZSTD_decodeLiteralsBlock : %u\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ZSTD_decompressBlock_internal
	.syntax unified
	.arm
	.fpu softvfp
	.type	ZSTD_decompressBlock_internal, %function
ZSTD_decompressBlock_internal:
	@ args = 8, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, r3
	ldr	r3, .L25
	sub	sp, sp, #36
	mov	r7, r0
	mov	r8, r1
	mov	r9, r2
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	ldr	r6, [sp, #72]
	bl	MEM_32bits
	subs	r10, r0, #0
	beq	.L2
	ldr	r3, [sp, #76]
	cmp	r3, #0
	moveq	r10, #1
	bne	.L22
.L2:
	mov	r2, r6
	ldr	r1, .L25+4
	mov	r0, #5
	bl	DEBUGLOG
	ldr	r2, .L25+8
	ldr	r3, .L25+12
	ldr	r0, [r2]
	ldr	r1, [r3]
	cmp	r0, r6
	movhi	r0, #0
	movls	r0, #1
	bl	RETURN_ERROR_IF
	mov	r2, r6
	mov	r1, r5
	mov	r0, r7
	bl	ZSTD_decodeLiteralsBlock
	mov	r4, r0
	mov	r2, r0
	ldr	r1, .L25+16
	mov	r0, #5
	bl	DEBUGLOG
	mov	r0, r4
	bl	ZSTD_isError
	cmp	r0, #0
	beq	.L23
.L1:
	ldr	r3, .L25
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L24
	mov	r0, r4
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L22:
	mov	r2, #1
	ldr	r3, .L25+20
	ldr	r3, [r3]
	sub	ip, r3, #32
	lsl	r1, r2, ip
	rsb	ip, r3, #32
	orr	r1, r1, r2, lsr ip
	lsl	r0, r2, r3
	add	r3, r7, #8
	ldmia	r3, {r2-r3}
	cmp	r3, r1
	cmpeq	r2, r0
	movhi	r10, #1
	movls	r10, #0
	b	.L2
.L23:
	add	r5, r5, r4, lsl #2
	sub	r6, r6, r4
	mov	r3, r6
	mov	r2, r5
	add	r1, sp, #24
	mov	r0, r7
	ldr	fp, [r7]
	bl	ZSTD_decodeSeqHeaders
	mov	r4, r0
	bl	ZSTD_isError
	cmp	r0, #0
	bne	.L1
	cmp	fp, #0
	ldr	ip, [sp, #24]
	add	r3, r5, r4, lsl #2
	sub	r6, r6, r4
	bne	.L5
	ldr	r2, [sp, #76]
	cmp	r2, #0
	beq	.L6
	add	r1, r7, #8
	ldmia	r1, {r0-r1}
	cmp	r1, #0
	cmpeq	r0, #16777216
	strls	fp, [r7]
	bls	.L7
.L6:
	ldr	r2, .L25+24
	ldr	r2, [r2]
	cmp	r2, ip
	blt	.L8
	mov	r2, #0
	str	r2, [r7]
.L7:
	mov	r2, r9
	mov	r1, r8
	mov	r0, r7
	stm	sp, {r6, ip}
	str	r10, [sp, #8]
	bl	ZSTD_decompressSequences
	mov	r4, r0
	b	.L1
.L5:
	str	r0, [r7]
.L10:
	mov	r2, r9
	mov	r1, r8
	mov	r0, r7
	stm	sp, {r6, ip}
	str	r10, [sp, #8]
	bl	ZSTD_decompressSequencesLong
	mov	r4, r0
	b	.L1
.L8:
	ldr	r0, [r7, #4]
	str	r3, [sp, #20]
	bl	ZSTD_getLongOffsetsShare
	mov	r4, r0
	bl	MEM_64bits
	cmp	r0, #0
	movne	r1, #7
	moveq	r1, #20
	mov	r2, #0
	cmp	r1, r4
	ldr	ip, [sp, #24]
	ldr	r3, [sp, #20]
	str	r2, [r7]
	bgt	.L7
	b	.L10
.L24:
	bl	__stack_chk_fail
.L26:
	.align	2
.L25:
	.word	.LC2
	.word	.LC0
	.word	ZSTD_BLOCKSIZE_MAX
	.word	srcSize_wrong
	.word	.LC1
	.word	STREAM_ACCUMULATOR_MIN
	.word	ADVANCED_SEQS
	.size	ZSTD_decompressBlock_internal, .-ZSTD_decompressBlock_internal
	.comm	srcSize_wrong,4,4
	.comm	ZSTD_BLOCKSIZE_MAX,4,4
	.comm	STREAM_ACCUMULATOR_MIN,8,8
	.comm	ADVANCED_SEQS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
