	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lzma_decoder_reset
_lzma_decoder_reset:                    ## @lzma_decoder_reset
	.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, %r14
	movq	%rdi, %r12
	movb	(%rsi), %cl
	movl	$-1, %ebx
	movl	$-1, %eax
	shll	%cl, %eax
	notl	%eax
	movl	%eax, (%rdi)
	movl	240(%rdi), %edi
	movl	4(%rsi), %edx
	movl	8(%rsi), %esi
	callq	_literal_init
	movl	8(%r14), %eax
	movl	%eax, 236(%r12)
	movb	4(%r14), %cl
	movl	$-1, %eax
	shll	%cl, %eax
	notl	%eax
	movl	%eax, 4(%r12)
	movq	_STATE_LIT_LIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 232(%r12)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 216(%r12)
	movups	%xmm0, 200(%r12)
	movb	(%r14), %cl
	shll	%cl, %ebx
	notl	%ebx
	movl	%ebx, (%r12)
	movl	192(%r12), %edi
	callq	_rc_reset
	movq	_STATES@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	je	LBB0_5
## %bb.1:
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movq	$-1, %rbx
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	184(%r12), %rax
	movq	(%rax,%r13,8), %rax
	movl	4(%rax,%rbx,4), %edi
	callq	_bit_reset
	movq	176(%r12), %rax
	movq	(%rax,%r13,8), %rax
	movl	4(%rax,%rbx,4), %edi
	callq	_bit_reset
	movl	(%r12), %eax
	incq	%rbx
	cmpq	%rax, %rbx
	jb	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	168(%r12), %rax
	movl	(%rax,%r13,4), %edi
	callq	_bit_reset
	movq	160(%r12), %rax
	movl	(%rax,%r13,4), %edi
	callq	_bit_reset
	movq	152(%r12), %rax
	movl	(%rax,%r13,4), %edi
	callq	_bit_reset
	movq	144(%r12), %rax
	movl	(%rax,%r13,4), %edi
	callq	_bit_reset
	incq	%r13
	cmpq	(%r15), %r13
	jb	LBB0_2
LBB0_5:
	movq	_DIST_STATES@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	je	LBB0_8
## %bb.6:
	xorl	%ebx, %ebx
	movq	_DIST_SLOT_BITS@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	136(%r12), %rax
	movl	(%rax,%rbx,4), %edi
	movl	(%r13), %esi
	callq	_bittree_reset
	incq	%rbx
	cmpq	(%r15), %rbx
	jb	LBB0_7
LBB0_8:
	movq	_FULL_DISTANCES@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	_DIST_MODEL_END@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	je	LBB0_11
## %bb.9:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	128(%r12), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_bit_reset
	incq	%rbx
	movq	(%r15), %rax
	subq	(%r13), %rax
	cmpq	%rax, %rbx
	jb	LBB0_10
LBB0_11:
	movl	120(%r12), %edi
	movq	_ALIGN_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_bittree_reset
	movb	(%r14), %cl
	movl	$1, %r14d
	shlq	%cl, %r14
	movl	116(%r12), %edi
	callq	_bit_reset
	movl	112(%r12), %edi
	callq	_bit_reset
	movl	84(%r12), %edi
	callq	_bit_reset
	movl	80(%r12), %edi
	callq	_bit_reset
	xorl	%ebx, %ebx
	movq	_LEN_LOW_BITS@GOTPCREL(%rip), %r15
	movq	_LEN_MID_BITS@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	104(%r12), %rax
	movl	(%rax,%rbx,4), %edi
	movl	(%r15), %esi
	callq	_bittree_reset
	movq	96(%r12), %rax
	movl	(%rax,%rbx,4), %edi
	movl	(%r13), %esi
	callq	_bittree_reset
	movq	72(%r12), %rax
	movl	(%rax,%rbx,4), %edi
	movl	(%r15), %esi
	callq	_bittree_reset
	movq	64(%r12), %rax
	movl	(%rax,%rbx,4), %edi
	movl	(%r13), %esi
	callq	_bittree_reset
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_12
## %bb.13:
	movl	88(%r12), %edi
	movq	_LEN_HIGH_BITS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_bittree_reset
	movl	56(%r12), %edi
	movl	(%rbx), %esi
	callq	_bittree_reset
	movq	_SEQ_IS_MATCH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r12)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%r12)
	movups	%xmm0, 8(%r12)
	movq	$0, 40(%r12)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STATE_LIT_LIT,4,2              ## @STATE_LIT_LIT
	.comm	_STATES,8,3                     ## @STATES
	.comm	_DIST_STATES,8,3                ## @DIST_STATES
	.comm	_DIST_SLOT_BITS,4,2             ## @DIST_SLOT_BITS
	.comm	_FULL_DISTANCES,8,3             ## @FULL_DISTANCES
	.comm	_DIST_MODEL_END,8,3             ## @DIST_MODEL_END
	.comm	_ALIGN_BITS,4,2                 ## @ALIGN_BITS
	.comm	_LEN_LOW_BITS,4,2               ## @LEN_LOW_BITS
	.comm	_LEN_MID_BITS,4,2               ## @LEN_MID_BITS
	.comm	_LEN_HIGH_BITS,4,2              ## @LEN_HIGH_BITS
	.comm	_SEQ_IS_MATCH,4,2               ## @SEQ_IS_MATCH
	.no_dead_strip	_lzma_decoder_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lzma_decoder_reset
_lzma_decoder_reset:                    ; @lzma_decoder_reset
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	mov	x19, x0
	mov	w21, #-1
	ldp	w8, w2, [x1]
	lsl	w8, w21, w8
	mvn	w8, w8
	str	w8, [x0]
	ldr	w0, [x0, #240]
	ldr	w1, [x1, #8]
	bl	_literal_init
	ldp	w9, w8, [x20, #4]
	lsl	w9, w21, w9
Lloh0:
	adrp	x10, _STATE_LIT_LIT@GOTPAGE
Lloh1:
	ldr	x10, [x10, _STATE_LIT_LIT@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	stp	w10, w8, [x19, #232]
	movi.2d	v0, #0000000000000000
	stur	q0, [x19, #200]
	stur	q0, [x19, #216]
	ldr	w8, [x20]
	lsl	w8, w21, w8
	mvn	w9, w9
	mvn	w8, w8
	stp	w8, w9, [x19]
	ldr	w0, [x19, #192]
	bl	_rc_reset
Lloh3:
	adrp	x21, _STATES@GOTPAGE
Lloh4:
	ldr	x21, [x21, _STATES@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_5
; %bb.1:
	mov	x22, #0
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
	mov	x23, #0
LBB0_3:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x19, #184]
	lsl	x24, x22, #3
	ldr	x8, [x8, x24]
	lsl	x25, x23, #2
	ldr	w0, [x8, x25]
	bl	_bit_reset
	ldr	x8, [x19, #176]
	ldr	x8, [x8, x24]
	ldr	w0, [x8, x25]
	bl	_bit_reset
	add	x8, x23, #1
	ldr	w9, [x19]
	cmp	x23, x9
	mov	x23, x8
	b.lo	LBB0_3
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #168]
	lsl	x23, x22, #2
	ldr	w0, [x8, x23]
	bl	_bit_reset
	ldr	x8, [x19, #160]
	ldr	w0, [x8, x23]
	bl	_bit_reset
	ldr	x8, [x19, #152]
	ldr	w0, [x8, x23]
	bl	_bit_reset
	ldr	x8, [x19, #144]
	ldr	w0, [x8, x23]
	bl	_bit_reset
	add	x22, x22, #1
	ldr	x8, [x21]
	cmp	x22, x8
	b.lo	LBB0_2
LBB0_5:
Lloh5:
	adrp	x21, _DIST_STATES@GOTPAGE
Lloh6:
	ldr	x21, [x21, _DIST_STATES@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_8
; %bb.6:
	mov	x22, #0
Lloh7:
	adrp	x23, _DIST_SLOT_BITS@GOTPAGE
Lloh8:
	ldr	x23, [x23, _DIST_SLOT_BITS@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #136]
	ldr	w0, [x8, x22, lsl #2]
	ldr	w1, [x23]
	bl	_bittree_reset
	add	x22, x22, #1
	ldr	x8, [x21]
	cmp	x22, x8
	b.lo	LBB0_7
LBB0_8:
Lloh9:
	adrp	x21, _FULL_DISTANCES@GOTPAGE
Lloh10:
	ldr	x21, [x21, _FULL_DISTANCES@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh11:
	adrp	x22, _DIST_MODEL_END@GOTPAGE
Lloh12:
	ldr	x22, [x22, _DIST_MODEL_END@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x8, x9
	b.eq	LBB0_11
; %bb.9:
	mov	x23, #0
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #128]
	ldr	w0, [x8, x23, lsl #2]
	bl	_bit_reset
	add	x23, x23, #1
	ldr	x8, [x21]
	ldr	x9, [x22]
	sub	x8, x8, x9
	cmp	x23, x8
	b.lo	LBB0_10
LBB0_11:
	ldr	w0, [x19, #120]
Lloh13:
	adrp	x8, _ALIGN_BITS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ALIGN_BITS@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	bl	_bittree_reset
	ldr	w8, [x20]
	mov	w9, #1
	lsl	x20, x9, x8
	ldr	w0, [x19, #116]
	bl	_bit_reset
	ldr	w0, [x19, #112]
	bl	_bit_reset
	ldr	w0, [x19, #84]
	bl	_bit_reset
	ldr	w0, [x19, #80]
	bl	_bit_reset
	mov	x21, #0
Lloh16:
	adrp	x22, _LEN_LOW_BITS@GOTPAGE
Lloh17:
	ldr	x22, [x22, _LEN_LOW_BITS@GOTPAGEOFF]
Lloh18:
	adrp	x23, _LEN_MID_BITS@GOTPAGE
Lloh19:
	ldr	x23, [x23, _LEN_MID_BITS@GOTPAGEOFF]
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #104]
	lsl	x24, x21, #2
	ldr	w0, [x8, x24]
	ldr	w1, [x22]
	bl	_bittree_reset
	ldr	x8, [x19, #96]
	ldr	w0, [x8, x24]
	ldr	w1, [x23]
	bl	_bittree_reset
	ldr	x8, [x19, #72]
	ldr	w0, [x8, x24]
	ldr	w1, [x22]
	bl	_bittree_reset
	ldr	x8, [x19, #64]
	ldr	w0, [x8, x24]
	ldr	w1, [x23]
	bl	_bittree_reset
	add	x21, x21, #1
	cmp	x20, x21
	b.ne	LBB0_12
; %bb.13:
	ldr	w0, [x19, #88]
Lloh20:
	adrp	x20, _LEN_HIGH_BITS@GOTPAGE
Lloh21:
	ldr	x20, [x20, _LEN_HIGH_BITS@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_bittree_reset
	ldr	w0, [x19, #56]
	ldr	w1, [x20]
	bl	_bittree_reset
Lloh22:
	adrp	x8, _SEQ_IS_MATCH@GOTPAGE
Lloh23:
	ldr	x8, [x8, _SEQ_IS_MATCH@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	str	w8, [x19, #48]
	movi.2d	v0, #0000000000000000
	stur	q0, [x19, #8]
	stur	q0, [x19, #24]
	str	xzr, [x19, #40]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_STATE_LIT_LIT,4,2              ; @STATE_LIT_LIT
	.comm	_STATES,8,3                     ; @STATES
	.comm	_DIST_STATES,8,3                ; @DIST_STATES
	.comm	_DIST_SLOT_BITS,4,2             ; @DIST_SLOT_BITS
	.comm	_FULL_DISTANCES,8,3             ; @FULL_DISTANCES
	.comm	_DIST_MODEL_END,8,3             ; @DIST_MODEL_END
	.comm	_ALIGN_BITS,4,2                 ; @ALIGN_BITS
	.comm	_LEN_LOW_BITS,4,2               ; @LEN_LOW_BITS
	.comm	_LEN_MID_BITS,4,2               ; @LEN_MID_BITS
	.comm	_LEN_HIGH_BITS,4,2              ; @LEN_HIGH_BITS
	.comm	_SEQ_IS_MATCH,4,2               ; @SEQ_IS_MATCH
	.no_dead_strip	_lzma_decoder_reset
.subsections_via_symbols
