	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function LzmaDec_InitStateReal
LCPI0_0:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_LzmaDec_InitStateReal:                 ## @LzmaDec_InitStateReal
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_LZMA_LIT_SIZE@GOTPCREL(%rip), %rax
	movl	40(%rdi), %ecx
	addl	32(%rdi), %ecx
	movq	(%rax), %r10
                                        ## kill: def $cl killed $cl killed $ecx
	shlq	%cl, %r10
	movq	_Literal@GOTPCREL(%rip), %rax
	addq	(%rax), %r10
	je	LBB0_18
## %bb.1:
	movq	(%rdi), %rcx
	cmpq	$8, %r10
	jb	LBB0_2
## %bb.3:
	movq	_kBitModelTotal@GOTPCREL(%rip), %r8
	leaq	4(%r8), %rax
	cmpq	%rax, %rcx
	jae	LBB0_6
## %bb.4:
	leaq	(%rcx,%r10,4), %rax
	cmpq	_kBitModelTotal@GOTPCREL(%rip), %rax
	jbe	LBB0_6
LBB0_2:
	xorl	%edx, %edx
LBB0_12:
	movq	%rdx, %r8
	notq	%r8
	addq	%r10, %r8
	movq	%r10, %rax
	andq	$3, %rax
	je	LBB0_15
## %bb.13:
	movq	_kBitModelTotal@GOTPCREL(%rip), %r9
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r9), %esi
	sarl	%esi
	movl	%esi, (%rcx,%rdx,4)
	incq	%rdx
	decq	%rax
	jne	LBB0_14
LBB0_15:
	cmpq	$3, %r8
	jb	LBB0_18
## %bb.16:
	movq	_kBitModelTotal@GOTPCREL(%rip), %rax
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rax), %esi
	sarl	%esi
	movl	%esi, (%rcx,%rdx,4)
	movl	(%rax), %esi
	sarl	%esi
	movl	%esi, 4(%rcx,%rdx,4)
	movl	(%rax), %esi
	sarl	%esi
	movl	%esi, 8(%rcx,%rdx,4)
	movl	(%rax), %esi
	sarl	%esi
	movl	%esi, 12(%rcx,%rdx,4)
	addq	$4, %rdx
	cmpq	%rdx, %r10
	jne	LBB0_17
	jmp	LBB0_18
LBB0_6:
	movq	%r10, %rdx
	andq	$-8, %rdx
	leaq	-8(%rdx), %rax
	movq	%rax, %r9
	shrq	$3, %r9
	incq	%r9
	testq	%rax, %rax
	je	LBB0_19
## %bb.7:
	movq	%r9, %rax
	andq	$-2, %rax
	movd	(%r8), %xmm0                    ## xmm0 = mem[0],zero,zero,zero
	psrad	$1, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, (%rcx,%rsi,4)
	movdqu	%xmm0, 16(%rcx,%rsi,4)
	movdqu	%xmm0, 32(%rcx,%rsi,4)
	movdqu	%xmm0, 48(%rcx,%rsi,4)
	addq	$16, %rsi
	addq	$-2, %rax
	jne	LBB0_8
## %bb.9:
	testb	$1, %r9b
	je	LBB0_11
LBB0_10:
	movd	(%r8), %xmm0                    ## xmm0 = mem[0],zero,zero,zero
	psrad	$1, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movdqu	%xmm0, (%rcx,%rsi,4)
	movdqu	%xmm0, 16(%rcx,%rsi,4)
LBB0_11:
	cmpq	%rdx, %r10
	jne	LBB0_12
LBB0_18:
	movq	8(%rdi), %rax
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [1,1,1,1]
	movups	%xmm0, (%rax)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rdi)
	popq	%rbp
	retq
LBB0_19:
	xorl	%esi, %esi
	testb	$1, %r9b
	jne	LBB0_10
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_Literal,8,3                    ## @Literal
	.comm	_LZMA_LIT_SIZE,8,3              ## @LZMA_LIT_SIZE
	.comm	_kBitModelTotal,4,2             ## @kBitModelTotal
	.no_dead_strip	_LzmaDec_InitStateReal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function LzmaDec_InitStateReal
_LzmaDec_InitStateReal:                 ; @LzmaDec_InitStateReal
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _Literal@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Literal@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
Lloh3:
	adrp	x8, _LZMA_LIT_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LZMA_LIT_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldp	x10, x11, [x0, #32]
	add	x10, x11, x10
	lsl	x10, x8, x10
	adds	x12, x10, x9
	b.eq	LBB0_9
; %bb.1:
	ldr	x11, [x0]
Lloh6:
	adrp	x8, _kBitModelTotal@GOTPAGE
Lloh7:
	ldr	x8, [x8, _kBitModelTotal@GOTPAGEOFF]
	cmp	x12, #16
	b.lo	LBB0_6
; %bb.2:
	add	x13, x11, x12, lsl #2
	add	x14, x8, #4
	cmp	x11, x14
	ccmp	x13, x8, #0, lo
	b.hi	LBB0_6
; %bb.3:
	and	x13, x12, #0xfffffffffffffff0
	ldr	s0, [x8]
	sshr.4s	v0, v0, #1
	dup.4s	v0, v0[0]
	add	x14, x11, #32
	mov	x15, x13
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	stp	q0, q0, [x14, #-32]
	stp	q0, q0, [x14], #64
	subs	x15, x15, #16
	b.ne	LBB0_4
; %bb.5:
	cmp	x12, x13
	b.ne	LBB0_7
	b	LBB0_9
LBB0_6:
	mov	x13, #0
LBB0_7:
	add	x9, x9, x10
	sub	x9, x9, x13
	add	x10, x11, x13, lsl #2
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x8]
	asr	w11, w11, #1
	str	w11, [x10], #4
	subs	x9, x9, #1
	b.ne	LBB0_8
LBB0_9:
	ldr	x8, [x0, #8]
	movi.4s	v0, #1
	str	q0, [x8]
	stp	xzr, xzr, [x0, #16]
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_Literal,8,3                    ; @Literal
	.comm	_LZMA_LIT_SIZE,8,3              ; @LZMA_LIT_SIZE
	.comm	_kBitModelTotal,4,2             ; @kBitModelTotal
	.no_dead_strip	_LzmaDec_InitStateReal
.subsections_via_symbols
