	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_XzDec_Init                     ## -- Begin function XzDec_Init
	.p2align	4, 0x90
_XzDec_Init:                            ## @XzDec_Init
	.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	%rsi, %r13
	movq	%rdi, %r15
	movq	_True@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rsi, %rdi
	callq	_XzBlock_GetNumFilters
	movl	%eax, %r12d
	movl	%eax, %r8d
	cmpl	(%r15), %eax
	jne	LBB0_8
## %bb.1:
	testl	%r12d, %r12d
	jle	LBB0_2
## %bb.3:
	movq	8(%r15), %rcx
	movq	(%r13), %rdx
	leal	-1(%r12), %esi
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rax,8), %rdi
	movslq	%esi, %rbx
	shlq	$4, %rbx
	cmpq	(%rdx,%rbx), %rdi
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rax
	decl	%esi
	cmpq	%rax, %r8
	jne	LBB0_4
## %bb.6:
	movl	%r8d, %eax
	jmp	LBB0_7
LBB0_2:
	xorl	%eax, %eax
LBB0_7:
	xorl	%ebx, %ebx
	cmpl	%r12d, %eax
	setne	%bl
LBB0_8:
	testl	%ebx, %ebx
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	je	LBB0_12
## %bb.9:
	movq	%r15, %rdi
	callq	_MixCoder_Free
	movl	%r12d, (%r15)
	testl	%r12d, %r12d
	jle	LBB0_15
## %bb.10:
	leal	-1(%r12), %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movslq	%r14d, %r14
	movq	%r14, %rcx
	shlq	$4, %rcx
	movq	(%rax,%rcx), %rdx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_MixCoder_SetFromMethod
	movl	%eax, %edi
	callq	_RINOK
	incq	%rbx
	decl	%r14d
	cmpq	%rbx, -48(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_11
LBB0_12:
	testl	%r12d, %r12d
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jle	LBB0_15
## %bb.13:
	decl	%r12d
	shlq	$4, %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movslq	%r12d, %r12
	movq	24(%r15), %r8
	movl	(%r8,%rbx), %edi
	movq	%r12, %rcx
	shlq	$4, %rcx
	movl	8(%rax,%rcx), %edx
	movl	12(%rax,%rcx), %esi
	movl	16(%r15), %ecx
	callq	*8(%r8,%rbx)
	movl	%eax, %edi
	callq	_RINOK
	decl	%r12d
	addq	$16, %rbx
	cmpq	%rbx, %r14
	jne	LBB0_14
LBB0_15:
	movq	%r15, %rdi
	callq	_MixCoder_Init
	movq	_SZ_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_True,4,2                       ## @True
	.comm	_SZ_OK,4,2                      ## @SZ_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_XzDec_Init                     ; -- Begin function XzDec_Init
	.p2align	2
_XzDec_Init:                            ; @XzDec_Init
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _True@GOTPAGE
Lloh1:
	ldr	x8, [x8, _True@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	mov	x0, x1
	bl	_XzBlock_GetNumFilters
	mov	x21, x0
	mov	w23, w0
	ldr	w8, [x19]
	cmp	w0, w8
	b.ne	LBB0_8
; %bb.1:
	subs	w9, w21, #1
	b.lt	LBB0_6
; %bb.2:
	mov	x8, #0
	ldr	x10, [x19, #8]
	ldr	x11, [x20]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x10, x8, lsl #3]
	sbfiz	x13, x9, #4, #32
	ldr	x13, [x11, x13]
	cmp	x12, x13
	b.ne	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #1
	sub	w9, w9, #1
	cmp	x23, x8
	b.ne	LBB0_3
; %bb.5:
	mov	x8, x23
	b	LBB0_7
LBB0_6:
	mov	w8, #0
LBB0_7:
	cmp	w8, w21
	cset	w22, ne
LBB0_8:
	cbz	w22, LBB0_12
; %bb.9:
	mov	x0, x19
	bl	_MixCoder_Free
	str	w21, [x19]
	subs	w24, w21, #1
	b.lt	LBB0_15
; %bb.10:
	mov	x22, #0
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	sbfiz	x9, x24, #4, #32
	ldr	x2, [x8, x9]
	mov	x0, x19
	mov	x1, x22
	bl	_MixCoder_SetFromMethod
	bl	_RINOK
	add	x22, x22, #1
	sub	w24, w24, #1
	cmp	x23, x22
	b.ne	LBB0_11
LBB0_12:
	subs	w21, w21, #1
	b.lt	LBB0_15
; %bb.13:
	mov	x22, #0
	lsl	x23, x23, #4
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldr	x9, [x19, #24]
	add	x9, x9, x22
	ldr	x10, [x9, #8]
	ldr	w0, [x9]
	add	x8, x8, w21, sxtw #4
	ldp	w2, w1, [x8, #8]
	ldr	w3, [x19, #16]
	blr	x10
	bl	_RINOK
	sub	w21, w21, #1
	add	x22, x22, #16
	cmp	x23, x22
	b.ne	LBB0_14
LBB0_15:
	mov	x0, x19
	bl	_MixCoder_Init
Lloh3:
	adrp	x8, _SZ_OK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SZ_OK@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_True,4,2                       ; @True
	.comm	_SZ_OK,4,2                      ; @SZ_OK
.subsections_via_symbols
