	.file	"extr_7zDec.c_SzDecodeLzma.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	SzDecodeLzma, @function
SzDecodeLzma:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	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, rcx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, r9
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 88
	.cfi_def_cfa_offset 144
	mov	DWORD PTR 8[rsp], esi
	lea	r14, 48[rsp]
	mov	rdi, r14
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	call	LzmaDec_Construct@PLT
	mov	r10d, DWORD PTR 8[rsp]
	mov	rsi, r15
	mov	rdi, r14
	mov	ecx, DWORD PTR 144[rsp]
	lea	r15, 24[rsp]
	mov	edx, r10d
	call	LzmaDec_AllocateProbs@PLT
	mov	edi, eax
	call	RINOK@PLT
	mov	rdi, r14
	mov	QWORD PTR 64[rsp], r13
	mov	QWORD PTR 56[rsp], rbp
	call	LzmaDec_Init@PLT
	lea	rax, 16[rsp]
	mov	QWORD PTR 8[rsp], rax
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L8:
	cmp	r13, rax
	jne	.L13
	test	rsi, rsi
	je	.L9
.L13:
	mov	rdi, r12
	call	ILookInStream_Skip@PLT
	cmp	QWORD PTR SZ_OK[rip], rax
	mov	r8, rax
	jne	.L4
.L11:
	mov	eax, 262144
	mov	rsi, QWORD PTR 8[rsp]
	mov	rdx, r15
	mov	rdi, r12
	mov	QWORD PTR 16[rsp], 0
	cmp	rbx, 262144
	cmovb	rax, rbx
	mov	QWORD PTR 24[rsp], rax
	call	ILookInStream_Look@PLT
	cmp	QWORD PTR SZ_OK[rip], rax
	mov	r8, rax
	jne	.L4
	mov	rax, QWORD PTR 24[rsp]
	mov	rdx, QWORD PTR 16[rsp]
	mov	rsi, rbp
	mov	rdi, r14
	lea	rcx, 32[rsp]
	lea	r9, 40[rsp]
	mov	r13, QWORD PTR 48[rsp]
	mov	r8d, DWORD PTR LZMA_FINISH_END[rip]
	mov	QWORD PTR 32[rsp], rax
	call	LzmaDec_DecodeToDic@PLT
	mov	rsi, QWORD PTR 32[rsp]
	sub	QWORD PTR 24[rsp], rsi
	mov	r8, rax
	sub	rbx, rsi
	cmp	QWORD PTR SZ_OK[rip], rax
	jne	.L4
	mov	rdx, QWORD PTR 40[rsp]
	cmp	rdx, QWORD PTR LZMA_STATUS_FINISHED_WITH_MARK[rip]
	mov	rax, QWORD PTR 48[rsp]
	je	.L28
	cmp	rbp, rax
	jne	.L8
	test	rbx, rbx
	jne	.L8
	cmp	rdx, QWORD PTR LZMA_STATUS_MAYBE_FINISHED_WITHOUT_MARK[rip]
	jne	.L8
	.p2align 4,,10
	.p2align 3
.L4:
	mov	esi, DWORD PTR 144[rsp]
	mov	rdi, r14
	mov	QWORD PTR 8[rsp], r8
	call	LzmaDec_FreeProbs@PLT
	mov	r8, QWORD PTR 8[rsp]
	mov	rax, QWORD PTR 72[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L29
	add	rsp, 88
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r8
	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
.L28:
	.cfi_restore_state
	test	rbx, rbx
	jne	.L9
	cmp	rbp, rax
	je	.L4
.L9:
	mov	r8, QWORD PTR SZ_ERROR_DATA[rip]
	jmp	.L4
.L29:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	SzDecodeLzma, .-SzDecodeLzma
	.comm	SZ_OK,8,8
	.comm	SZ_ERROR_DATA,8,8
	.comm	LZMA_STATUS_MAYBE_FINISHED_WITHOUT_MARK,8,8
	.comm	LZMA_STATUS_FINISHED_WITH_MARK,8,8
	.comm	LZMA_FINISH_END,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_7zDec.c_SzDecodeLzma.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	SzDecodeLzma, %function
SzDecodeLzma:
	@ args = 12, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, r0
	mov	r8, r1
	sub	sp, sp, #52
	mov	r6, r3
	ldr	r3, .L24
	add	r0, sp, #32
	ldr	r9, [sp, #88]
	mov	r4, r2
	ldr	r3, [r3]
	str	r3, [sp, #44]
	mov	r3,#0
	ldr	r7, [sp, #92]
	bl	LzmaDec_Construct
	mov	r1, r5
	mov	r2, r8
	ldr	r3, [sp, #96]
	add	r0, sp, #32
	bl	LzmaDec_AllocateProbs
	bl	RINOK
	add	r0, sp, #32
	str	r9, [sp, #40]
	str	r7, [sp, #36]
	ldr	r5, .L24+4
	bl	LzmaDec_Init
	ldr	r9, .L24+8
	ldr	r10, .L24+12
	ldr	fp, .L24+16
	b	.L9
.L7:
	cmp	r8, r2
	cmpeq	r1, #0
	beq	.L8
	mov	r0, r6
	bl	ILookInStream_Skip
	ldr	r3, [r5]
	cmp	r3, r0
	bne	.L19
.L9:
	mov	r3, #0
	cmp	r4, #262144
	str	r3, [sp, #16]
	movcs	r3, #262144
	mov	r0, r6
	add	r2, sp, #20
	add	r1, sp, #16
	strcs	r3, [sp, #20]
	strcc	r4, [sp, #20]
	bl	ILookInStream_Look
	ldr	r3, [r5]
	cmp	r3, r0
	bne	.L19
	ldr	r2, [r9]
	ldr	ip, [sp, #20]
	add	r3, sp, #28
	stm	sp, {r2, r3}
	mov	r1, r7
	ldr	r2, [sp, #16]
	add	r3, sp, #24
	add	r0, sp, #32
	ldr	r8, [sp, #32]
	str	ip, [sp, #24]
	bl	LzmaDec_DecodeToDic
	ldr	r1, [sp, #24]
	ldr	r3, [sp, #20]
	ldr	r2, [r5]
	sub	r3, r3, r1
	cmp	r2, r0
	sub	r4, r4, r1
	str	r3, [sp, #20]
	bne	.L19
	ldr	r3, [sp, #28]
	ldr	ip, [r10]
	ldr	r2, [sp, #32]
	cmp	r3, ip
	beq	.L22
	cmp	r7, r2
	cmpeq	r4, #0
	bne	.L7
	ldr	ip, [fp]
	cmp	r3, ip
	bne	.L7
.L19:
	mov	r3, r0
.L4:
	ldr	r1, [sp, #96]
	add	r0, sp, #32
	str	r3, [sp, #12]
	bl	LzmaDec_FreeProbs
	ldr	r2, .L24
	ldr	r3, [sp, #12]
	ldr	r1, [r2]
	ldr	r2, [sp, #44]
	eors	r1, r2, r1
	mov	r2, #0
	bne	.L23
	mov	r0, r3
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L22:
	cmp	r7, r2
	cmpeq	r4, #0
	mov	r3, r0
	beq	.L4
.L8:
	ldr	r3, .L24+20
	ldr	r3, [r3]
	b	.L4
.L23:
	bl	__stack_chk_fail
.L25:
	.align	2
.L24:
	.word	.LC0
	.word	SZ_OK
	.word	LZMA_FINISH_END
	.word	LZMA_STATUS_FINISHED_WITH_MARK
	.word	LZMA_STATUS_MAYBE_FINISHED_WITHOUT_MARK
	.word	SZ_ERROR_DATA
	.size	SzDecodeLzma, .-SzDecodeLzma
	.comm	SZ_OK,4,4
	.comm	SZ_ERROR_DATA,4,4
	.comm	LZMA_STATUS_MAYBE_FINISHED_WITHOUT_MARK,4,4
	.comm	LZMA_STATUS_FINISHED_WITH_MARK,4,4
	.comm	LZMA_FINISH_END,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
