	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Xz_CheckFooter
_Xz_CheckFooter:                        ## @Xz_CheckFooter
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movl	%esi, %r13d
	movq	%rdi, %r15
	leaq	32(%rdx), %rbx
	movq	%rbx, %rdi
	callq	_GetUi32
	leal	4(,%rax,4), %eax
	xorl	%r14d, %r14d
	cmpl	%r13d, %eax
	jne	LBB0_5
## %bb.1:
	movq	%r12, %rdi
	callq	_GetUi32
	movq	%rax, %r13
	movq	%rbx, %rdi
	movl	$6, %esi
	callq	_CrcCalc
	cmpq	%rax, %r13
	jne	LBB0_5
## %bb.2:
	leaq	64(%r12), %rdi
	callq	_GetBe16
	cmpq	%r15, %rax
	jne	LBB0_5
## %bb.3:
	movq	80(%r12), %rax
	movq	_XZ_FOOTER_SIG_0@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movq	88(%r12), %rax
	movq	_XZ_FOOTER_SIG_1@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	cmpq	(%rcx), %rax
	sete	%r14b
LBB0_5:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XZ_FOOTER_SIG_0,8,3            ## @XZ_FOOTER_SIG_0
	.comm	_XZ_FOOTER_SIG_1,8,3            ## @XZ_FOOTER_SIG_1
	.no_dead_strip	_Xz_CheckFooter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Xz_CheckFooter
_Xz_CheckFooter:                        ; @Xz_CheckFooter
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x22, x1
	mov	x20, x0
	add	x21, x2, #32
	mov	x0, x21
	bl	_GetUi32
	lsl	w8, w0, #2
	add	w8, w8, #4
	cmp	w8, w22
	b.ne	LBB0_5
; %bb.1:
	mov	x0, x19
	bl	_GetUi32
	mov	x22, x0
	mov	x0, x21
	mov	w1, #6
	bl	_CrcCalc
	cmp	x22, x0
	b.ne	LBB0_5
; %bb.2:
	add	x0, x19, #64
	bl	_GetBe16
	cmp	x0, x20
	b.ne	LBB0_5
; %bb.3:
	ldr	x8, [x19, #80]
Lloh0:
	adrp	x9, _XZ_FOOTER_SIG_0@GOTPAGE
Lloh1:
	ldr	x9, [x9, _XZ_FOOTER_SIG_0@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	ldr	x8, [x19, #88]
Lloh3:
	adrp	x9, _XZ_FOOTER_SIG_1@GOTPAGE
Lloh4:
	ldr	x9, [x9, _XZ_FOOTER_SIG_1@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_XZ_FOOTER_SIG_0,8,3            ; @XZ_FOOTER_SIG_0
	.comm	_XZ_FOOTER_SIG_1,8,3            ; @XZ_FOOTER_SIG_1
	.no_dead_strip	_Xz_CheckFooter
.subsections_via_symbols
