	.file	"extr_7zDec.c_SzDecodeLzma2.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	SzDecodeLzma2, @function
SzDecodeLzma2:
.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
	mov	r14, rcx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, r8
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 88
	.cfi_def_cfa_offset 144
	mov	QWORD PTR 8[rsp], r9
	lea	r13, 48[rsp]
	mov	rdi, r13
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	call	Lzma2Dec_Construct@PLT
	cmp	DWORD PTR [r15], 1
	mov	r8, QWORD PTR SZ_ERROR_DATA[rip]
	je	.L22
.L1:
	mov	rax, QWORD PTR 72[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L23
	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
.L22:
	.cfi_restore_state
	mov	rax, QWORD PTR 8[r15]
	mov	rdx, QWORD PTR 8[rsp]
	mov	rdi, r13
	lea	r15, 24[rsp]
	mov	esi, DWORD PTR [rax]
	call	Lzma2Dec_AllocateProbs@PLT
	mov	edi, eax
	call	RINOK@PLT
	mov	rdi, r13
	mov	QWORD PTR 64[rsp], r14
	lea	r14, 16[rsp]
	mov	QWORD PTR 48[rsp], r12
	call	Lzma2Dec_Init@PLT
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L24:
	mov	rax, QWORD PTR 24[rsp]
	mov	rdx, QWORD PTR 16[rsp]
	mov	rsi, r12
	mov	rdi, r13
	mov	r8d, DWORD PTR LZMA_FINISH_END[rip]
	lea	rcx, 32[rsp]
	lea	r9, 40[rsp]
	mov	QWORD PTR 32[rsp], rax
	mov	rax, QWORD PTR 56[rsp]
	mov	QWORD PTR [rsp], rax
	call	Lzma2Dec_DecodeToDic@PLT
	mov	rsi, QWORD PTR 32[rsp]
	mov	r8, rax
	mov	rax, QWORD PTR 24[rsp]
	sub	rbx, rsi
	sub	rax, rsi
	cmp	QWORD PTR SZ_OK[rip], r8
	mov	QWORD PTR 24[rsp], rax
	jne	.L6
	mov	rdx, QWORD PTR 56[rsp]
	mov	rcx, QWORD PTR 48[rsp]
	cmp	rdx, rcx
	je	.L11
	cmp	rdx, QWORD PTR [rsp]
	jne	.L13
	test	rsi, rsi
	je	.L11
.L13:
	mov	rdi, rbp
	call	[QWORD PTR 0[rbp]]
	cmp	QWORD PTR SZ_OK[rip], rax
	mov	r8, rax
	jne	.L6
.L14:
	cmp	rbx, 262144
	mov	rdx, r15
	mov	rsi, r14
	mov	rdi, rbp
	mov	QWORD PTR 16[rsp], 0
	mov	eax, 262144
	cmovb	rax, rbx
	mov	QWORD PTR 24[rsp], rax
	call	[QWORD PTR 8[rbp]]
	cmp	QWORD PTR SZ_OK[rip], rax
	mov	r8, rax
	je	.L24
.L6:
	mov	rsi, QWORD PTR 8[rsp]
	mov	rdi, r13
	mov	QWORD PTR [rsp], r8
	call	Lzma2Dec_FreeProbs@PLT
	mov	r8, QWORD PTR [rsp]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	test	rax, rax
	jne	.L9
	cmp	rcx, r12
	je	.L25
.L9:
	mov	r8, QWORD PTR SZ_ERROR_DATA[rip]
	jmp	.L6
.L25:
	mov	rax, QWORD PTR LZMA_STATUS_FINISHED_WITH_MARK[rip]
	cmp	QWORD PTR 40[rsp], rax
	jne	.L9
	jmp	.L6
.L23:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	SzDecodeLzma2, .-SzDecodeLzma2
	.comm	SZ_OK,8,8
	.comm	SZ_ERROR_DATA,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_SzDecodeLzma2.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	SzDecodeLzma2, %function
SzDecodeLzma2:
	@ args = 8, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r6, r0
	mov	r7, r3
	ldr	r3, .L25
	sub	sp, sp, #52
	ldr	r3, [r3]
	str	r3, [sp, #44]
	mov	r3,#0
	ldr	r3, [sp, #92]
	add	r0, sp, #32
	str	r3, [sp, #8]
	mov	r4, r1
	mov	r5, r2
	ldr	r8, [sp, #88]
	bl	Lzma2Dec_Construct
	ldr	r3, [r6]
	cmp	r3, #1
	beq	.L2
	ldr	r3, .L25+4
	ldr	r3, [r3]
.L1:
	ldr	r2, .L25
	ldr	r1, [r2]
	ldr	r2, [sp, #44]
	eors	r1, r2, r1
	mov	r2, #0
	bne	.L22
	mov	r0, r3
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	ldr	r3, [r6, #4]
	ldr	r2, [sp, #8]
	ldr	r1, [r3]
	add	r0, sp, #32
	bl	Lzma2Dec_AllocateProbs
	bl	RINOK
	add	r0, sp, #32
	str	r7, [sp, #40]
	str	r8, [sp, #32]
	mov	r10, #0
	bl	Lzma2Dec_Init
	mov	r9, #262144
	ldr	r6, .L25+8
	ldr	fp, .L25+12
	b	.L13
.L23:
	ldr	r2, [fp]
	ldr	ip, [sp, #20]
	add	r3, sp, #28
	stm	sp, {r2, r3}
	mov	r1, r8
	ldr	r2, [sp, #16]
	add	r3, sp, #24
	add	r0, sp, #32
	ldr	r7, [sp, #36]
	str	ip, [sp, #24]
	bl	Lzma2Dec_DecodeToDic
	ldr	r1, [sp, #24]
	ldr	r2, [sp, #20]
	ldr	r3, [r6]
	sub	r2, r2, r1
	cmp	r3, r0
	sub	r4, r4, r1
	str	r2, [sp, #20]
	bne	.L18
	ldr	r3, [sp, #36]
	ldr	ip, [sp, #32]
	cmp	r3, ip
	beq	.L20
	cmp	r3, r7
	cmpeq	r1, #0
	beq	.L20
	ldr	r3, [r5]
	mov	r0, r5
	blx	r3
	ldr	r3, [r6]
	cmp	r3, r0
	bne	.L18
.L13:
	cmp	r4, #262144
	movcc	r3, r4
	movcs	r3, r9
	mov	r0, r5
	str	r3, [sp, #20]
	str	r10, [sp, #16]
	ldr	r3, [r5, #4]
	add	r2, sp, #20
	add	r1, sp, #16
	blx	r3
	ldr	r3, [r6]
	cmp	r3, r0
	beq	.L23
.L18:
	mov	r3, r0
.L6:
	ldr	r1, [sp, #8]
	add	r0, sp, #32
	str	r3, [sp, #12]
	bl	Lzma2Dec_FreeProbs
	ldr	r3, [sp, #12]
	b	.L1
.L20:
	cmp	ip, r8
	cmpeq	r2, #0
	mov	r3, r0
	beq	.L24
.L9:
	ldr	r3, .L25+4
	ldr	r3, [r3]
	b	.L6
.L24:
	ldr	r2, .L25+16
	ldr	r1, [sp, #28]
	ldr	r2, [r2]
	cmp	r1, r2
	bne	.L9
	b	.L6
.L22:
	bl	__stack_chk_fail
.L26:
	.align	2
.L25:
	.word	.LC0
	.word	SZ_ERROR_DATA
	.word	SZ_OK
	.word	LZMA_FINISH_END
	.word	LZMA_STATUS_FINISHED_WITH_MARK
	.size	SzDecodeLzma2, .-SzDecodeLzma2
	.comm	SZ_OK,4,4
	.comm	SZ_ERROR_DATA,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
