	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lzma_reset
_lzma_reset:                            ## @lzma_reset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_STATE_LIT_LIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rdi)
	pxor	%xmm0, %xmm0
	movdqu	%xmm0, 16(%rdi)
	movdqu	%xmm0, 32(%rdi)
	movq	_PROBS_TOTAL@GOTPCREL(%rip), %rax
	movq	(%rax), %r10
	testq	%r10, %r10
	je	LBB0_14
## %bb.1:
	movq	8(%rdi), %rcx
	movq	(%rcx), %rcx
	cmpq	$8, %r10
	jb	LBB0_2
## %bb.3:
	movq	_RC_BIT_MODEL_TOTAL@GOTPCREL(%rip), %rsi
	leaq	4(%rsi), %rdx
	cmpq	%rdx, %rcx
	jae	LBB0_6
## %bb.4:
	leaq	(%rcx,%r10,4), %rdx
	cmpq	_RC_BIT_MODEL_TOTAL@GOTPCREL(%rip), %rdx
	jbe	LBB0_6
LBB0_2:
	xorl	%edx, %edx
LBB0_9:
	movq	%rdx, %r8
	orq	$1, %r8
	testb	$1, %r10b
	je	LBB0_11
## %bb.10:
	movq	_RC_BIT_MODEL_TOTAL@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r9d
	movl	%r9d, %esi
	shrl	$31, %esi
	addl	%r9d, %esi
	sarl	%esi
	movl	%esi, (%rcx,%rdx,4)
	movq	%r8, %rdx
LBB0_11:
	cmpq	%r8, %r10
	je	LBB0_14
## %bb.12:
	movq	_RC_BIT_MODEL_TOTAL@GOTPCREL(%rip), %r8
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r8), %esi
	movl	%esi, %eax
	shrl	$31, %eax
	addl	%esi, %eax
	sarl	%eax
	movl	%eax, (%rcx,%rdx,4)
	movl	(%r8), %eax
	movl	%eax, %esi
	shrl	$31, %esi
	addl	%eax, %esi
	sarl	%esi
	movl	%esi, 4(%rcx,%rdx,4)
	addq	$2, %rdx
	cmpq	%rdx, %r10
	jne	LBB0_13
	jmp	LBB0_14
LBB0_6:
	movq	%r10, %rdx
	andq	$-8, %rdx
	movd	(%rsi), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	movdqa	%xmm0, %xmm1
	psrld	$31, %xmm1
	paddd	%xmm0, %xmm1
	psrad	$1, %xmm1
	pshufd	$0, %xmm1, %xmm0                ## xmm0 = xmm1[0,0,0,0]
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, (%rcx,%rsi,4)
	movdqu	%xmm0, 16(%rcx,%rsi,4)
	addq	$8, %rsi
	cmpq	%rsi, %rdx
	jne	LBB0_7
## %bb.8:
	cmpq	%rdx, %r10
	jne	LBB0_9
LBB0_14:
	popq	%rbp
	jmp	_rc_reset                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_STATE_LIT_LIT,4,2              ## @STATE_LIT_LIT
	.comm	_PROBS_TOTAL,8,3                ## @PROBS_TOTAL
	.comm	_RC_BIT_MODEL_TOTAL,4,2         ## @RC_BIT_MODEL_TOTAL
	.no_dead_strip	_lzma_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lzma_reset
_lzma_reset:                            ; @lzma_reset
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _STATE_LIT_LIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STATE_LIT_LIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #48]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x0, #16]
Lloh3:
	adrp	x8, _PROBS_TOTAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PROBS_TOTAL@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x8]
	cbz	x9, LBB0_9
; %bb.1:
	ldr	x8, [x0, #8]
	ldr	x10, [x8]
Lloh6:
	adrp	x8, _RC_BIT_MODEL_TOTAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RC_BIT_MODEL_TOTAL@GOTPAGEOFF]
	cmp	x9, #4
	b.lo	LBB0_6
; %bb.2:
	add	x11, x10, x9, lsl #2
	add	x12, x8, #4
	cmp	x10, x12
	ccmp	x11, x8, #0, lo
	b.hi	LBB0_6
; %bb.3:
	and	x11, x9, #0xfffffffffffffffc
	ldr	s0, [x8]
	cmlt.4s	v1, v0, #0
	usra.4s	v0, v1, #31
	sshr.4s	v0, v0, #1
	dup.4s	v0, v0[0]
	mov	x12, x11
	mov	x13, x10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	str	q0, [x13], #16
	subs	x12, x12, #4
	b.ne	LBB0_4
; %bb.5:
	cmp	x9, x11
	b.ne	LBB0_7
	b	LBB0_9
LBB0_6:
	mov	x11, #0
LBB0_7:
	sub	x9, x9, x11
	add	x10, x10, x11, lsl #2
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x8]
	cmp	w11, #0
	cinc	w11, w11, lt
	asr	w11, w11, #1
	str	w11, [x10], #4
	subs	x9, x9, #1
	b.ne	LBB0_8
LBB0_9:
	b	_rc_reset
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_STATE_LIT_LIT,4,2              ; @STATE_LIT_LIT
	.comm	_PROBS_TOTAL,8,3                ; @PROBS_TOTAL
	.comm	_RC_BIT_MODEL_TOTAL,4,2         ; @RC_BIT_MODEL_TOTAL
	.no_dead_strip	_lzma_reset
.subsections_via_symbols
