	.file	"extr_XzDec.c_XzDecMt_Callback_Parse.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Parse"
	.text
	.p2align 4
	.type	XzDecMt_Callback_Parse, @function
XzDecMt_Callback_Parse:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	esi, esi
	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, rdi
	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
	lea	rbx, [rsi+rsi*2]
	sal	rbx, 6
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	add	rbx, QWORD PTR 80[rdi]
	mov	r13, QWORD PTR [rdx]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR MTDEC_PARSE_CONTINUE[rip]
	mov	QWORD PTR [rdx], 0
	mov	QWORD PTR 8[rdx], 0
	cmp	QWORD PTR 48[rbp], 0
	mov	QWORD PTR 24[rdx], rax
	mov	rdx, QWORD PTR True[rip]
	mov	QWORD PTR 40[rbp], rdx
	je	.L2
	mov	QWORD PTR 104[rbx], rax
	mov	rax, QWORD PTR False[rip]
	lea	r14, 40[rbx]
	cmp	QWORD PTR 152[rbx], 0
	mov	QWORD PTR [rbx], 0
	mov	QWORD PTR 112[rbx], rax
	mov	QWORD PTR 120[rbx], rax
	mov	rax, QWORD PTR SZ_OK[rip]
	mov	QWORD PTR 8[rbx], 0
	mov	QWORD PTR 136[rbx], rax
	mov	eax, DWORD PTR CODER_STATUS_NOT_SPECIFIED[rip]
	mov	QWORD PTR 16[rbx], 0
	mov	DWORD PTR 132[rbx], eax
	mov	eax, DWORD PTR 36[rdi]
	mov	QWORD PTR 184[rbx], 0
	mov	DWORD PTR 172[rbx], eax
	mov	eax, DWORD PTR 32[rdi]
	mov	QWORD PTR 176[rbx], 0
	mov	DWORD PTR 168[rbx], eax
	mov	rax, QWORD PTR 24[rdi]
	mov	QWORD PTR 160[rbx], rax
	je	.L31
.L3:
	mov	rdi, r14
	call	XzUnpacker_Init@PLT
	cmp	QWORD PTR 64[r12], 0
	je	.L4
	mov	eax, DWORD PTR 56[r12]
	mov	rdi, r14
	mov	DWORD PTR 64[rbx], eax
	mov	rax, QWORD PTR True[rip]
	mov	QWORD PTR 144[rbx], rax
	call	XzUnpacker_PrepareToRandomBlockDecoding@PLT
.L5:
	mov	eax, DWORD PTR 36[r12]
	mov	DWORD PTR 60[rbx], eax
	mov	eax, DWORD PTR 32[r12]
	mov	DWORD PTR 56[rbx], eax
	mov	rax, QWORD PTR 24[r12]
	mov	QWORD PTR 48[rbx], rax
.L2:
	cmp	QWORD PTR 120[rbx], 0
	je	.L13
	mov	rcx, QWORD PTR 32[rbx]
	mov	rdi, QWORD PTR 8[rbx]
.L11:
	mov	rdx, rcx
	mov	rsi, QWORD PTR 0[rbp]
	sub	rdx, rdi
	cmp	r13, rdx
	mov	rax, rdx
	cmovbe	rax, r13
	add	rsi, rax
	add	rax, rdi
	mov	QWORD PTR 0[rbp], rsi
	mov	QWORD PTR 8[rbx], rax
	cmp	rax, rcx
	je	.L32
.L14:
	cmp	QWORD PTR 32[rbp], 0
	je	.L1
	mov	rax, QWORD PTR MTDEC_PARSE_END[rip]
	mov	rdx, QWORD PTR [rbx]
	mov	QWORD PTR 24[rbp], rax
.L16:
	mov	QWORD PTR 104[rbx], rax
	mov	eax, DWORD PTR 60[rbx]
	mov	QWORD PTR 8[rbp], rdx
	mov	DWORD PTR 36[r12], eax
	mov	eax, DWORD PTR 56[rbx]
	mov	DWORD PTR 32[r12], eax
	mov	rax, QWORD PTR 48[rbx]
	add	rax, 1
	mov	QWORD PTR 24[r12], rax
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L33
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L4:
	.cfi_restore_state
	mov	rax, QWORD PTR False[rip]
	mov	QWORD PTR 144[rbx], rax
	mov	rax, QWORD PTR True[rip]
	mov	QWORD PTR 64[r12], rax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L32:
	cmp	r13, rdx
	jbe	.L14
	mov	rax, QWORD PTR 16[rbp]
	mov	rdx, QWORD PTR [rbx]
	cmp	QWORD PTR [rax+rsi*8], 0
	jne	.L17
	mov	rax, QWORD PTR MTDEC_PARSE_END[rip]
	mov	QWORD PTR 24[rbp], rax
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L31:
	lea	rsi, 72[rdi]
	mov	rdi, r14
	call	XzUnpacker_Construct@PLT
	mov	rax, QWORD PTR True[rip]
	mov	QWORD PTR 152[rbx], rax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rax, QWORD PTR True[rip]
	mov	rsi, r13
	mov	QWORD PTR 8[rsp], r13
	lea	rdi, .LC0[rip]
	mov	QWORD PTR 16[rsp], -1
	mov	QWORD PTR 96[rbx], rax
	mov	rax, QWORD PTR False[rip]
	mov	QWORD PTR 88[rbx], rax
	call	PRF_STR_INT@PLT
	lea	rax, 4[rsp]
	mov	rcx, QWORD PTR 16[rbp]
	xor	esi, esi
	lea	rdx, 16[rsp]
	push	rax
	.cfi_def_cfa_offset 104
	mov	eax, DWORD PTR CODER_FINISH_END[rip]
	lea	rdi, 40[rbx]
	mov	r9, QWORD PTR 32[rbp]
	push	rax
	.cfi_def_cfa_offset 112
	lea	r8, 24[rsp]
	call	XzUnpacker_Code@PLT
	mov	edx, DWORD PTR 20[rsp]
	mov	r14, QWORD PTR 24[rsp]
	mov	QWORD PTR 136[rbx], rax
	mov	DWORD PTR 132[rbx], edx
	mov	rdx, QWORD PTR 16[rbx]
	add	QWORD PTR 0[rbp], r14
	add	rdx, r14
	cmp	QWORD PTR SZ_OK[rip], rax
	mov	QWORD PTR 16[rbx], rdx
	mov	QWORD PTR 8[rbx], rdx
	pop	rdx
	.cfi_def_cfa_offset 104
	pop	rcx
	.cfi_def_cfa_offset 96
	jne	.L29
	cmp	QWORD PTR 88[rbx], 0
	je	.L8
	lea	r15, 72[rbx]
	mov	rdi, r15
	call	XzBlock_HasUnpackSize@PLT
	test	rax, rax
	jne	.L34
.L9:
	mov	rax, QWORD PTR MTDEC_PARSE_OVERFLOW[rip]
	mov	QWORD PTR 24[rbp], rax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L8:
	cmp	QWORD PTR 32[rbp], 0
	je	.L1
	.p2align 4,,10
	.p2align 3
.L29:
	mov	rax, QWORD PTR MTDEC_PARSE_END[rip]
	mov	QWORD PTR 104[rbx], rax
	mov	QWORD PTR 24[rbp], rax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	mov	rsi, QWORD PTR [r12]
	mov	ecx, DWORD PTR 52[r12]
	mov	rax, QWORD PTR MTDEC_PARSE_NEW[rip]
	movsx	rdi, DWORD PTR 48[r12]
	add	ecx, 1
	cmp	rsi, rdx
	cmovb	rsi, rdx
	movsx	rcx, ecx
	mov	QWORD PTR 24[rbp], rax
	imul	rcx, rsi
	add	rcx, rcx
	cmp	rdi, rcx
	jnb	.L18
	mov	rcx, QWORD PTR False[rip]
	mov	QWORD PTR 40[rbp], rcx
.L18:
	cmp	QWORD PTR 40[r12], 0
	je	.L16
	mov	rcx, QWORD PTR 16[r12]
	mov	rsi, QWORD PTR 8[r12]
	sub	rsi, rcx
	cmp	rsi, rdx
	jnb	.L19
	mov	rax, QWORD PTR True[rip]
	mov	QWORD PTR 112[rbx], rax
	mov	rax, QWORD PTR MTDEC_PARSE_END[rip]
	mov	QWORD PTR 24[rbp], rax
.L19:
	add	rcx, rdx
	mov	QWORD PTR 16[r12], rcx
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L34:
	mov	rdi, r15
	call	XzBlock_HasPackSize@PLT
	test	rax, rax
	je	.L9
	mov	eax, DWORD PTR 72[rbx]
	imul	eax, DWORD PTR 52[r12]
	add	eax, eax
	cmp	eax, DWORD PTR 48[r12]
	jg	.L9
	mov	edi, DWORD PTR 64[rbx]
	sub	r13, r14
	mov	r14, QWORD PTR 80[rbx]
	call	XzFlags_GetCheckSize@PLT
	mov	rdi, QWORD PTR 8[rbx]
	mov	ecx, r14d
	neg	ecx
	lea	rdx, [rdi+r14]
	and	ecx, 3
	add	rcx, rdx
	mov	rdx, QWORD PTR 40[rbx]
	add	rcx, rax
	add	rdx, r14
	mov	QWORD PTR 32[rbx], rcx
	add	rdx, rax
	movsx	rax, DWORD PTR 72[rbx]
	mov	QWORD PTR 24[rbx], rdx
	mov	QWORD PTR [rbx], rax
	mov	eax, DWORD PTR 64[rbx]
	mov	DWORD PTR 128[rbx], eax
	mov	DWORD PTR 56[r12], eax
	mov	rax, QWORD PTR True[rip]
	mov	QWORD PTR 120[rbx], rax
	jmp	.L11
.L33:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	XzDecMt_Callback_Parse, .-XzDecMt_Callback_Parse
	.comm	True,8,8
	.comm	SZ_OK,8,8
	.comm	MTDEC_PARSE_OVERFLOW,8,8
	.comm	MTDEC_PARSE_NEW,8,8
	.comm	MTDEC_PARSE_END,8,8
	.comm	MTDEC_PARSE_CONTINUE,8,8
	.comm	False,8,8
	.comm	CODER_STATUS_NOT_SPECIFIED,4,4
	.comm	CODER_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_XzDec.c_XzDecMt_Callback_Parse.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Parse\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	XzDecMt_Callback_Parse, %function
XzDecMt_Callback_Parse:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, r2
	mov	r3, #0
	mov	r6, r0
	ldr	r7, .L50
	ldr	r0, [r5, #24]
	ldr	r2, .L50+4
	ldr	r8, [r6, #48]
	ldr	r2, [r2]
	add	r4, r1, r1, lsl #1
	cmp	r0, r3
	ldr	r1, [r7]
	ldr	r0, .L50+8
	add	r4, r4, r4, lsl #3
	sub	sp, sp, #44
	ldr	r0, [r0]
	str	r0, [sp, #36]
	mov	r0,#0
	ldr	r10, [r5]
	lsl	r9, r4, #2
	str	r1, [r5, #20]
	add	r4, r8, r4, lsl #2
	str	r3, [r5, #4]
	str	r3, [r5]
	str	r2, [r5, #12]
	beq	.L2
	ldr	fp, .L50+12
	ldr	r0, .L50+16
	ldr	r1, .L50+20
	ldr	r0, [r0]
	ldr	r1, [r1]
	str	r3, [r8, r9]
	str	r3, [r4, #4]
	str	r3, [r4, #8]
	str	r3, [r4, #104]
	str	r3, [r4, #100]
	ldr	r3, [fp]
	str	r2, [r4, #56]
	str	r3, [r4, #60]
	ldr	r2, [r4, #84]
	str	r3, [r4, #64]
	ldr	r3, [r6, #20]
	cmp	r2, #0
	ldr	r2, [r6, #16]
	str	r3, [r4, #96]
	ldr	r3, [r6, #12]
	str	r0, [r4, #76]
	str	r3, [r4, #88]
	str	r1, [r4, #72]
	str	r2, [r4, #92]
	add	r3, r4, #20
	beq	.L46
.L3:
	mov	r0, r3
	str	r3, [sp, #20]
	bl	XzUnpacker_Init
	ldr	r2, [r6, #40]
	cmp	r2, #0
	beq	.L4
	ldr	r1, [r6, #36]
	ldr	r2, [r7]
	ldr	r3, [sp, #20]
	str	r1, [r4, #36]
	mov	r0, r3
	str	r2, [r4, #80]
	bl	XzUnpacker_PrepareToRandomBlockDecoding
.L5:
	ldr	r3, [r6, #20]
	ldr	r2, [r6, #16]
	str	r3, [r4, #32]
	ldr	r3, [r6, #12]
	str	r2, [r4, #28]
	str	r3, [r4, #24]
.L2:
	ldr	fp, [r4, #64]
	cmp	fp, #0
	beq	.L13
	ldr	ip, [r4, #16]
	ldr	r3, [r4, #4]
.L11:
	sub	r1, ip, r3
	cmp	r10, r1
	movcc	r2, r10
	movcs	r2, r1
	ldr	r0, [r5]
	add	r3, r2, r3
	cmp	r3, ip
	add	r2, r2, r0
	str	r2, [r5]
	str	r3, [r4, #4]
	beq	.L47
.L14:
	ldr	r3, [r5, #16]
	cmp	r3, #0
	beq	.L1
	ldr	r3, .L50+24
	ldr	r1, [r8, r9]
	ldr	r2, [r3]
	str	r2, [r5, #12]
.L16:
	ldr	r3, [r4, #24]
	str	r2, [r4, #56]
	ldr	r0, [r4, #32]
	ldr	r2, [r4, #28]
	add	r3, r3, #1
	str	r1, [r5, #4]
	str	r3, [r6, #12]
	str	r0, [r6, #20]
	str	r2, [r6, #16]
.L1:
	ldr	r3, .L50+8
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L48
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L4:
	ldr	r2, [fp]
	ldr	r3, [r7]
	str	r2, [r4, #80]
	str	r3, [r6, #40]
	b	.L5
.L47:
	cmp	r10, r1
	bls	.L14
	ldr	r3, [r5, #8]
	ldr	r1, [r8, r9]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	bne	.L17
	ldr	r3, .L50+24
	ldr	r2, [r3]
	str	r2, [r5, #12]
	b	.L16
.L46:
	mov	r0, r3
	add	r1, r6, #44
	str	r3, [sp, #20]
	bl	XzUnpacker_Construct
	ldr	r2, [r7]
	ldr	r3, [sp, #20]
	str	r2, [r4, #84]
	b	.L3
.L13:
	mvn	r3, #0
	ldr	r2, .L50+12
	ldr	r1, [r7]
	ldr	r2, [r2]
	str	r1, [r4, #52]
	str	r2, [r4, #48]
	mov	r1, r10
	ldr	r0, .L50+28
	str	r3, [sp, #32]
	str	r10, [sp, #28]
	bl	PRF_STR_INT
	ldr	r3, .L50+32
	ldr	r0, [r5, #16]
	ldr	ip, [r3]
	add	r2, sp, #24
	stmib	sp, {r0, ip}
	add	r3, sp, #28
	str	r2, [sp, #12]
	str	r3, [sp]
	mov	r1, fp
	ldr	r3, [r5, #8]
	add	r2, sp, #32
	add	r0, r4, #20
	bl	XzUnpacker_Code
	ldr	r3, .L50+16
	ldr	r2, [r5]
	ldr	r1, [r3]
	ldr	fp, [sp, #28]
	ldr	r3, [r4, #8]
	cmp	r1, r0
	ldr	r1, [sp, #24]
	add	r3, fp, r3
	add	r2, r2, fp
	str	r0, [r4, #76]
	str	r1, [r4, #72]
	str	r2, [r5]
	str	r3, [r4, #8]
	str	r3, [r4, #4]
	bne	.L44
	ldr	r3, [r4, #48]
	cmp	r3, #0
	beq	.L8
	add	r3, r4, #40
	mov	r0, r3
	str	r3, [sp, #20]
	bl	XzBlock_HasUnpackSize
	cmp	r0, #0
	ldr	r3, [sp, #20]
	bne	.L49
.L9:
	ldr	r3, .L50+36
	ldr	r3, [r3]
	str	r3, [r5, #12]
	b	.L1
.L8:
	ldr	r3, [r5, #16]
	cmp	r3, #0
	beq	.L1
.L44:
	ldr	r3, .L50+24
	ldr	r3, [r3]
	str	r3, [r4, #56]
	str	r3, [r5, #12]
	b	.L1
.L17:
	ldr	r2, [r6]
	ldr	r3, [r6, #32]
	cmp	r2, r1
	movcc	r2, r1
	add	r3, r3, #1
	mul	r3, r2, r3
	ldr	r0, [r6, #28]
	ldr	r2, .L50+40
	cmp	r0, r3, lsl #1
	ldrcc	r3, .L50+12
	ldr	r2, [r2]
	ldrcc	r3, [r3]
	str	r2, [r5, #12]
	strcc	r3, [r5, #20]
	ldr	r3, [r6, #24]
	cmp	r3, #0
	beq	.L16
	ldmib	r6, {r0, r3}
	sub	r0, r0, r3
	cmp	r0, r1
	ldrcc	r2, .L50+24
	ldrcc	r0, [r7]
	ldrcc	r2, [r2]
	add	r3, r3, r1
	strcc	r0, [r4, #60]
	strcc	r2, [r5, #12]
	str	r3, [r6, #8]
	b	.L16
.L49:
	mov	r0, r3
	bl	XzBlock_HasPackSize
	cmp	r0, #0
	beq	.L9
	ldr	r3, [r4, #40]
	ldr	r1, [r6, #32]
	ldr	r2, [r6, #28]
	mul	r3, r1, r3
	cmp	r2, r3, lsl #1
	blt	.L9
	ldr	r2, [r4, #44]
	ldr	r0, [r4, #36]
	str	r2, [sp, #20]
	bl	XzFlags_GetCheckSize
	ldr	r2, [sp, #20]
	ldr	r3, [r4, #4]
	ldr	r1, [r4, #20]
	rsb	ip, r2, #0
	add	r1, r2, r1
	and	ip, ip, #3
	add	r2, r3, r2
	add	r2, ip, r2
	add	ip, r2, r0
	ldr	lr, [r4, #40]
	add	r2, r1, r0
	ldr	r1, [r4, #36]
	ldr	r0, [r7]
	str	ip, [r4, #16]
	str	r2, [r4, #12]
	sub	r10, r10, fp
	str	lr, [r8, r9]
	str	r1, [r4, #68]
	str	r1, [r6, #36]
	str	r0, [r4, #64]
	b	.L11
.L48:
	bl	__stack_chk_fail
.L51:
	.align	2
.L50:
	.word	True
	.word	MTDEC_PARSE_CONTINUE
	.word	.LC1
	.word	False
	.word	SZ_OK
	.word	CODER_STATUS_NOT_SPECIFIED
	.word	MTDEC_PARSE_END
	.word	.LC0
	.word	CODER_FINISH_END
	.word	MTDEC_PARSE_OVERFLOW
	.word	MTDEC_PARSE_NEW
	.size	XzDecMt_Callback_Parse, .-XzDecMt_Callback_Parse
	.comm	True,4,4
	.comm	SZ_OK,4,4
	.comm	MTDEC_PARSE_OVERFLOW,4,4
	.comm	MTDEC_PARSE_NEW,4,4
	.comm	MTDEC_PARSE_END,4,4
	.comm	MTDEC_PARSE_CONTINUE,4,4
	.comm	False,4,4
	.comm	CODER_STATUS_NOT_SPECIFIED,4,4
	.comm	CODER_FINISH_END,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
