	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function LenEnc_Init
_LenEnc_Init:                           ## @LenEnc_Init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_kProbInitValue@GOTPCREL(%rip), %r10
	movq	(%r10), %rdx
	movq	%rdx, 24(%rdi)
	movq	%rdx, 32(%rdi)
	movq	_LZMA_NUM_PB_STATES_MAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	_kLenNumLowBits@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%r8d, %esi
	shll	%cl, %esi
	testl	%esi, %esi
	je	LBB0_8
## %bb.1:
	movq	16(%rdi), %rcx
	movq	%rdx, (%rcx)
	cmpl	$1, %esi
	je	LBB0_8
## %bb.2:
	movl	%esi, %r9d
	leaq	-1(%r9), %r11
	addq	$-2, %r9
	movl	%r11d, %ecx
	andl	$3, %ecx
	movl	$1, %esi
	cmpq	$3, %r9
	jb	LBB0_6
## %bb.3:
	andq	$-4, %r11
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r10), %rax
	movq	16(%rdi), %rdx
	movq	%rax, 8(%rdx,%rsi,8)
	movq	(%r10), %rax
	movq	16(%rdi), %rdx
	movq	%rax, 16(%rdx,%rsi,8)
	movq	(%r10), %rax
	movq	16(%rdi), %rdx
	movq	%rax, 24(%rdx,%rsi,8)
	movq	(%r10), %rax
	movq	16(%rdi), %rdx
	movq	%rax, 32(%rdx,%rsi,8)
	addq	$4, %rsi
	cmpq	%rsi, %r11
	jne	LBB0_4
## %bb.5:
	incq	%rsi
LBB0_6:
	testq	%rcx, %rcx
	je	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r10), %rdx
	movq	16(%rdi), %rax
	movq	%rdx, (%rax,%rsi,8)
	incq	%rsi
	decq	%rcx
	jne	LBB0_7
LBB0_8:
	movq	_kLenNumMidBits@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r8d
	testl	%r8d, %r8d
	je	LBB0_13
## %bb.9:
	movl	%r8d, %r8d
	leaq	-1(%r8), %rax
	movl	%r8d, %ecx
	andl	$3, %ecx
	cmpq	$3, %rax
	jae	LBB0_16
## %bb.10:
	xorl	%edx, %edx
	jmp	LBB0_11
LBB0_16:
	andl	$-4, %r8d
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r10), %rax
	movq	8(%rdi), %rsi
	movq	%rax, (%rsi,%rdx,8)
	movq	(%r10), %rax
	movq	8(%rdi), %rsi
	movq	%rax, 8(%rsi,%rdx,8)
	movq	(%r10), %rax
	movq	8(%rdi), %rsi
	movq	%rax, 16(%rsi,%rdx,8)
	movq	(%r10), %rax
	movq	8(%rdi), %rsi
	movq	%rax, 24(%rsi,%rdx,8)
	addq	$4, %rdx
	cmpq	%rdx, %r8
	jne	LBB0_17
LBB0_11:
	testq	%rcx, %rcx
	je	LBB0_13
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r10), %rax
	movq	8(%rdi), %rsi
	movq	%rax, (%rsi,%rdx,8)
	incq	%rdx
	decq	%rcx
	jne	LBB0_12
LBB0_13:
	movq	_kLenNumHighSymbols@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	testq	%r8, %r8
	je	LBB0_22
## %bb.14:
	leaq	-1(%r8), %rax
	movl	%r8d, %ecx
	andl	$3, %ecx
	cmpq	$3, %rax
	jae	LBB0_18
## %bb.15:
	xorl	%edx, %edx
	jmp	LBB0_20
LBB0_18:
	andl	$-4, %r8d
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r10), %rax
	movq	(%rdi), %rsi
	movq	%rax, (%rsi,%rdx,8)
	movq	(%r10), %rax
	movq	(%rdi), %rsi
	movq	%rax, 8(%rsi,%rdx,8)
	movq	(%r10), %rax
	movq	(%rdi), %rsi
	movq	%rax, 16(%rsi,%rdx,8)
	movq	(%r10), %rax
	movq	(%rdi), %rsi
	movq	%rax, 24(%rsi,%rdx,8)
	addq	$4, %rdx
	cmpq	%rdx, %r8
	jne	LBB0_19
LBB0_20:
	testq	%rcx, %rcx
	je	LBB0_22
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r10), %rax
	movq	(%rdi), %rsi
	movq	%rax, (%rsi,%rdx,8)
	incq	%rdx
	decq	%rcx
	jne	LBB0_21
LBB0_22:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_kProbInitValue,8,3             ## @kProbInitValue
	.comm	_LZMA_NUM_PB_STATES_MAX,4,2     ## @LZMA_NUM_PB_STATES_MAX
	.comm	_kLenNumLowBits,4,2             ## @kLenNumLowBits
	.comm	_kLenNumMidBits,4,2             ## @kLenNumMidBits
	.comm	_kLenNumHighSymbols,4,2         ## @kLenNumHighSymbols
	.no_dead_strip	_LenEnc_Init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function LenEnc_Init
_LenEnc_Init:                           ; @LenEnc_Init
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _kProbInitValue@GOTPAGE
Lloh1:
	ldr	x8, [x8, _kProbInitValue@GOTPAGEOFF]
	ldr	x11, [x8]
Lloh2:
	adrp	x9, _LZMA_NUM_PB_STATES_MAX@GOTPAGE
Lloh3:
	ldr	x9, [x9, _LZMA_NUM_PB_STATES_MAX@GOTPAGEOFF]
	stp	x11, x11, [x0, #24]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	adrp	x10, _kLenNumLowBits@GOTPAGE
Lloh6:
	ldr	x10, [x10, _kLenNumLowBits@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	lsl	w10, w9, w10
	cbz	w10, LBB0_4
; %bb.1:
	ldr	x12, [x0, #16]
	str	x11, [x12]
	cmp	w10, #1
	b.eq	LBB0_4
; %bb.2:
	mov	w11, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x8]
	ldr	x13, [x0, #16]
	str	x12, [x13, x11, lsl #3]
	add	x11, x11, #1
	cmp	x10, x11
	b.ne	LBB0_3
LBB0_4:
Lloh8:
	adrp	x10, _kLenNumMidBits@GOTPAGE
Lloh9:
	ldr	x10, [x10, _kLenNumMidBits@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	lsl	w10, w9, w10
	cbz	w10, LBB0_7
; %bb.5:
	mov	x9, #0
	lsl	x10, x10, #3
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x8]
	ldr	x12, [x0, #8]
	str	x11, [x12, x9]
	add	x9, x9, #8
	cmp	x10, x9
	b.ne	LBB0_6
LBB0_7:
Lloh11:
	adrp	x9, _kLenNumHighSymbols@GOTPAGE
Lloh12:
	ldr	x9, [x9, _kLenNumHighSymbols@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x9]
	cbz	w10, LBB0_10
; %bb.8:
	mov	x9, #0
	lsl	x10, x10, #3
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x8]
	ldr	x12, [x0]
	str	x11, [x12, x9]
	add	x9, x9, #8
	cmp	x10, x9
	b.ne	LBB0_9
LBB0_10:
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_kProbInitValue,8,3             ; @kProbInitValue
	.comm	_LZMA_NUM_PB_STATES_MAX,4,2     ; @LZMA_NUM_PB_STATES_MAX
	.comm	_kLenNumLowBits,4,2             ; @kLenNumLowBits
	.comm	_kLenNumMidBits,4,2             ; @kLenNumMidBits
	.comm	_kLenNumHighSymbols,4,2         ; @kLenNumHighSymbols
	.no_dead_strip	_LenEnc_Init
.subsections_via_symbols
