	.file	"extr_XzDec.c_Xz_CheckFooter.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	Xz_CheckFooter, @function
Xz_CheckFooter:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	lea	r13, 16[rdx]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	mov	rdi, r13
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	GetUi32@PLT
	lea	eax, 4[0+rax*4]
	cmp	eax, ebp
	je	.L2
.L4:
	xor	eax, eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdi, rbx
	call	GetUi32@PLT
	mov	esi, 6
	mov	rdi, r13
	mov	rbp, rax
	call	CrcCalc@PLT
	cmp	rbp, rax
	jne	.L4
	lea	rdi, 32[rbx]
	call	GetBe16@PLT
	cmp	rax, r12
	jne	.L4
	mov	edx, DWORD PTR XZ_FOOTER_SIG_SIZE[rip]
	mov	esi, DWORD PTR XZ_FOOTER_SIG[rip]
	lea	rdi, 40[rbx]
	call	memcmp@PLT
	test	rax, rax
	sete	al
	movzx	eax, al
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	Xz_CheckFooter, .-Xz_CheckFooter
	.comm	XZ_FOOTER_SIG_SIZE,4,4
	.comm	XZ_FOOTER_SIG,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_Xz_CheckFooter.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	Xz_CheckFooter, %function
Xz_CheckFooter:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	add	r6, r2, #16
	mov	r7, r0
	mov	r0, r6
	mov	r5, r1
	mov	r4, r2
	bl	GetUi32
	add	r3, r0, #1
	cmp	r5, r3, lsl #2
	beq	.L2
.L4:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r0, r4
	bl	GetUi32
	mov	r1, #6
	mov	r5, r0
	mov	r0, r6
	bl	CrcCalc
	cmp	r5, r0
	bne	.L4
	add	r0, r4, #32
	bl	GetBe16
	cmp	r0, r7
	bne	.L4
	ldr	r3, .L7
	ldr	r2, .L7+4
	ldr	r1, [r3]
	ldr	r2, [r2]
	add	r0, r4, #40
	bl	memcmp
	clz	r0, r0
	lsr	r0, r0, #5
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	.align	2
.L7:
	.word	XZ_FOOTER_SIG
	.word	XZ_FOOTER_SIG_SIZE
	.size	Xz_CheckFooter, .-Xz_CheckFooter
	.comm	XZ_FOOTER_SIG_SIZE,4,4
	.comm	XZ_FOOTER_SIG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
