	.file	"extr_zstd_decompress.c_ZSTD_decompressMultiFrame.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"ZSTD_decompressMultiFrame"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"reading magic number %08X (expecting %08X)"
	.text
	.p2align 4
	.type	ZSTD_decompressMultiFrame, @function
ZSTD_decompressMultiFrame:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	xor	eax, eax
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	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
	mov	rbp, rdi
	mov	edi, 5
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, r9
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	r13, QWORD PTR 120[rsp]
	mov	QWORD PTR 24[rsp], rsi
	lea	rsi, .LC0[rip]
	mov	QWORD PTR 40[rsp], rcx
	mov	QWORD PTR 32[rsp], r8
	mov	QWORD PTR 16[rsp], r9
	call	DEBUGLOG@PLT
	test	rbx, rbx
	sete	dil
	test	r13, r13
	sete	al
	or	edi, eax
	movzx	edi, dil
	call	assert@PLT
	test	r13, r13
	je	.L2
	mov	rdi, r13
	call	ZSTD_DDictDictContent@PLT
	mov	rdi, r13
	mov	QWORD PTR 16[rsp], rax
	call	ZSTD_DDictDictSize@PLT
	mov	QWORD PTR 112[rsp], rax
.L2:
	mov	rax, QWORD PTR 32[rsp]
	mov	rbx, QWORD PTR 24[rsp]
	lea	r15, 32[rsp]
	mov	DWORD PTR 12[rsp], 0
	cmp	rax, QWORD PTR ZSTD_frameHeaderSize_prefix[rip]
	jnb	.L13
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L3:
	test	r13, r13
	je	.L8
	mov	rdi, rbp
	mov	rsi, r13
	call	ZSTD_decompressBegin_usingDDict@PLT
	mov	edi, eax
	call	CHECK_F@PLT
.L9:
	mov	rsi, rbx
	mov	rdi, rbp
	call	ZSTD_checkContinuity@PLT
	lea	rcx, 40[rsp]
	mov	r8, r15
	mov	rdx, r12
	mov	rsi, rbx
	mov	rdi, rbp
	call	ZSTD_decompressFrame@PLT
	mov	rdi, rax
	mov	r14, rax
	call	ZSTD_getErrorCode@PLT
	cmp	QWORD PTR ZSTD_error_prefix_unknown[rip], rax
	jne	.L10
	mov	eax, DWORD PTR 12[rsp]
	test	eax, eax
	jne	.L28
.L10:
	mov	rdi, r14
	call	ZSTD_isError@PLT
	test	rax, rax
	jne	.L1
	mov	rax, QWORD PTR 32[rsp]
	add	rbx, r14
	sub	r12, r14
	cmp	QWORD PTR ZSTD_frameHeaderSize_prefix[rip], rax
	mov	DWORD PTR 12[rsp], 1
	ja	.L12
.L13:
	mov	rdi, QWORD PTR 40[rsp]
	call	MEM_readLE32@PLT
	mov	ecx, DWORD PTR ZSTD_MAGICNUMBER[rip]
	mov	edi, 4
	lea	rsi, .LC1[rip]
	mov	edx, eax
	mov	r14d, eax
	xor	eax, eax
	call	DEBUGLOG@PLT
	mov	edx, r14d
	and	edx, -16
	cmp	edx, DWORD PTR ZSTD_MAGIC_SKIPPABLE_START[rip]
	jne	.L3
	mov	rax, QWORD PTR ZSTD_skippableHeaderSize[rip]
	cmp	QWORD PTR 32[rsp], rax
	jb	.L28
	movsx	rdi, DWORD PTR ZSTD_FRAMEIDSIZE[rip]
	add	rdi, QWORD PTR 40[rsp]
	call	MEM_readLE32@PLT
	movsx	rdx, eax
	mov	rax, QWORD PTR 32[rsp]
	add	rdx, QWORD PTR ZSTD_skippableHeaderSize[rip]
	cmp	rax, rdx
	jb	.L28
	sub	rax, rdx
	add	QWORD PTR 40[rsp], rdx
	cmp	QWORD PTR ZSTD_frameHeaderSize_prefix[rip], rax
	mov	QWORD PTR 32[rsp], rax
	jbe	.L13
.L12:
	sub	rbx, QWORD PTR 24[rsp]
	mov	r14, rbx
	test	rax, rax
	jne	.L28
.L1:
	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
.L8:
	.cfi_restore_state
	mov	rdx, QWORD PTR 112[rsp]
	mov	rsi, QWORD PTR 16[rsp]
	mov	rdi, rbp
	call	ZSTD_decompressBegin_usingDict@PLT
	mov	edi, eax
	call	CHECK_F@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L28:
	mov	edi, DWORD PTR srcSize_wrong[rip]
	call	ERROR@PLT
	mov	r14, rax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	ZSTD_decompressMultiFrame, .-ZSTD_decompressMultiFrame
	.comm	srcSize_wrong,4,4
	.comm	memory_allocation,4,4
	.comm	ZSTD_skippableHeaderSize,8,8
	.comm	ZSTD_frameHeaderSize_prefix,8,8
	.comm	ZSTD_error_prefix_unknown,8,8
	.comm	ZSTD_MAGIC_SKIPPABLE_START,4,4
	.comm	ZSTD_MAGICNUMBER,8,8
	.comm	ZSTD_FRAMEIDSIZE,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.c_ZSTD_decompressMultiFrame.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"ZSTD_decompressMultiFrame\000"
	.align	2
.LC1:
	.ascii	"reading magic number %08X (expecting %08X)\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ZSTD_decompressMultiFrame, %function
ZSTD_decompressMultiFrame:
	@ args = 16, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, r1
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #28
	ldr	r8, [sp, #76]
	ldr	r1, .L23
	mov	r6, r0
	mov	r0, #5
	mov	r7, r2
	str	ip, [sp, #16]
	str	r3, [sp, #20]
	bl	DEBUGLOG
	clz	r0, r8
	ldr	r3, [sp, #68]
	lsr	r0, r0, #5
	cmp	r3, #0
	moveq	r0, #1
	bl	assert
	cmp	r8, #0
	beq	.L2
	mov	r0, r8
	bl	ZSTD_DDictDictContent
	mov	r3, r0
	mov	r0, r8
	str	r3, [sp, #68]
	bl	ZSTD_DDictDictSize
	str	r0, [sp, #72]
.L2:
	ldr	r9, .L23+4
	ldr	r3, [sp, #64]
	ldr	r2, [r9]
	ldr	r5, [sp, #16]
	cmp	r3, r2
	bcc	.L12
	ldr	r3, .L23+8
	mov	r4, #0
	ldr	r3, [r3]
	ldr	r10, .L23+12
	str	r3, [sp, #12]
	b	.L13
.L3:
	cmp	r8, #0
	beq	.L8
	mov	r1, r8
	mov	r0, r6
	bl	ZSTD_decompressBegin_usingDDict
	bl	CHECK_F
.L9:
	mov	r1, r5
	mov	r0, r6
	bl	ZSTD_checkContinuity
	add	r3, sp, #64
	mov	r2, r7
	mov	r1, r5
	str	r3, [sp]
	mov	r0, r6
	add	r3, sp, #20
	bl	ZSTD_decompressFrame
	mov	fp, r0
	bl	ZSTD_getErrorCode
	ldr	r3, .L23+16
	ldr	r2, [r3]
	cmp	r2, r0
	movne	r4, #0
	andeq	r4, r4, #1
	cmp	r4, #0
	bne	.L21
	mov	r0, fp
	bl	ZSTD_isError
	cmp	r0, #0
	bne	.L1
	ldr	r3, [sp, #64]
	ldr	r2, [r9]
	mov	r4, #1
	cmp	r2, r3
	add	r5, r5, fp
	sub	r7, r7, fp
	bhi	.L12
.L13:
	ldr	r0, [sp, #20]
	bl	MEM_readLE32
	mov	fp, r0
	ldr	r3, .L23+20
	mov	r2, r0
	ldr	r3, [r3]
	mov	r1, r10
	mov	r0, #4
	bl	DEBUGLOG
	ldr	r3, [sp, #12]
	bic	r2, fp, #15
	cmp	r2, r3
	bne	.L3
	ldr	r3, .L23+24
	ldr	r2, [sp, #64]
	ldr	r3, [r3]
	cmp	r2, r3
	bcc	.L21
	ldr	r3, .L23+28
	ldr	r0, [sp, #20]
	ldr	r3, [r3]
	add	r0, r0, r3
	bl	MEM_readLE32
	ldr	r3, .L23+24
	ldr	r2, [r3]
	ldr	r3, [sp, #64]
	add	r0, r0, r2
	cmp	r3, r0
	bcc	.L21
	ldr	r2, [sp, #20]
	sub	r3, r3, r0
	add	r0, r2, r0
	ldr	r2, [r9]
	str	r3, [sp, #64]
	cmp	r2, r3
	str	r0, [sp, #20]
	bls	.L13
.L12:
	cmp	r3, #0
	bne	.L21
	ldr	r3, [sp, #16]
	sub	fp, r5, r3
.L1:
	mov	r0, fp
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L8:
	ldr	r2, [sp, #72]
	ldr	r1, [sp, #68]
	mov	r0, r6
	bl	ZSTD_decompressBegin_usingDict
	bl	CHECK_F
	b	.L9
.L21:
	ldr	r3, .L23+32
	ldr	r0, [r3]
	bl	ERROR
	mov	fp, r0
	mov	r0, fp
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC0
	.word	ZSTD_frameHeaderSize_prefix
	.word	ZSTD_MAGIC_SKIPPABLE_START
	.word	.LC1
	.word	ZSTD_error_prefix_unknown
	.word	ZSTD_MAGICNUMBER
	.word	ZSTD_skippableHeaderSize
	.word	ZSTD_FRAMEIDSIZE
	.word	srcSize_wrong
	.size	ZSTD_decompressMultiFrame, .-ZSTD_decompressMultiFrame
	.comm	srcSize_wrong,4,4
	.comm	memory_allocation,4,4
	.comm	ZSTD_skippableHeaderSize,4,4
	.comm	ZSTD_frameHeaderSize_prefix,4,4
	.comm	ZSTD_error_prefix_unknown,4,4
	.comm	ZSTD_MAGIC_SKIPPABLE_START,4,4
	.comm	ZSTD_MAGICNUMBER,4,4
	.comm	ZSTD_FRAMEIDSIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
