	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LzmaLenDecode                  ## -- Begin function LzmaLenDecode
	.p2align	4, 0x90
_LzmaLenDecode:                         ## @LzmaLenDecode
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_LenChoice@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%rdi,%rax,4), %rdi
	callq	_RangeDecoderBitDecode
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	_LenChoice2@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%rbx,%rax,4), %rdi
	movq	%r14, %rsi
	callq	_RangeDecoderBitDecode
	movq	_kLenNumLowSymbols@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	_kLenNumMidSymbols@GOTPCREL(%rip), %rax
	addl	(%rax), %r12d
	movq	_LenHigh@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%rbx,%rax,4), %rdi
	movq	_kLenNumHighBits@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	jmp	LBB0_4
LBB0_5:
	movq	_LenLow@GOTPCREL(%rip), %rax
	movq	_kLenNumLowBits@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	shll	%cl, %r15d
	movslq	(%rax), %rax
	leaq	(%rbx,%rax,4), %rax
	movslq	%r15d, %rdx
	leaq	(%rax,%rdx,4), %rdi
	movl	%ecx, %esi
	movq	%r14, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_RangeDecoderBitTreeDecode      ## TAILCALL
LBB0_2:
	movq	_LenMid@GOTPCREL(%rip), %rax
	movq	_kLenNumMidBits@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	shll	%cl, %r15d
	movslq	(%rax), %rax
	leaq	(%rbx,%rax,4), %rax
	movslq	%r15d, %rdx
	leaq	(%rax,%rdx,4), %rdi
	movl	%ecx, %esi
LBB0_4:
	movq	%r14, %rdx
	callq	_RangeDecoderBitTreeDecode
	addl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LenChoice,4,2                  ## @LenChoice
	.comm	_LenLow,4,2                     ## @LenLow
	.comm	_kLenNumLowBits,4,2             ## @kLenNumLowBits
	.comm	_LenChoice2,4,2                 ## @LenChoice2
	.comm	_kLenNumLowSymbols,4,2          ## @kLenNumLowSymbols
	.comm	_LenMid,4,2                     ## @LenMid
	.comm	_kLenNumMidBits,4,2             ## @kLenNumMidBits
	.comm	_kLenNumMidSymbols,4,2          ## @kLenNumMidSymbols
	.comm	_LenHigh,4,2                    ## @LenHigh
	.comm	_kLenNumHighBits,4,2            ## @kLenNumHighBits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LzmaLenDecode                  ; -- Begin function LzmaLenDecode
	.p2align	2
_LzmaLenDecode:                         ; @LzmaLenDecode
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _LenChoice@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LenChoice@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	add	x0, x0, x8, lsl #2
	bl	_RangeDecoderBitDecode
	cbz	x0, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _LenChoice2@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LenChoice2@GOTPAGEOFF]
Lloh5:
	ldrsw	x8, [x8]
	add	x0, x21, x8, lsl #2
	mov	x1, x19
	bl	_RangeDecoderBitDecode
Lloh6:
	adrp	x8, _kLenNumLowSymbols@GOTPAGE
Lloh7:
	ldr	x8, [x8, _kLenNumLowSymbols@GOTPAGEOFF]
Lloh8:
	ldr	w22, [x8]
	cbz	x0, LBB0_4
; %bb.2:
Lloh9:
	adrp	x8, _kLenNumMidSymbols@GOTPAGE
Lloh10:
	ldr	x8, [x8, _kLenNumMidSymbols@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _LenHigh@GOTPAGE
Lloh13:
	ldr	x9, [x9, _LenHigh@GOTPAGEOFF]
	add	w20, w8, w22
Lloh14:
	ldrsw	x8, [x9]
	add	x0, x21, x8, lsl #2
Lloh15:
	adrp	x8, _kLenNumHighBits@GOTPAGE
Lloh16:
	ldr	x8, [x8, _kLenNumHighBits@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_RangeDecoderBitTreeDecode
	add	w0, w20, w0
	b	LBB0_5
LBB0_3:
Lloh18:
	adrp	x8, _LenLow@GOTPAGE
Lloh19:
	ldr	x8, [x8, _LenLow@GOTPAGEOFF]
Lloh20:
	ldrsw	x8, [x8]
	add	x8, x21, x8, lsl #2
Lloh21:
	adrp	x9, _kLenNumLowBits@GOTPAGE
Lloh22:
	ldr	x9, [x9, _kLenNumLowBits@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x9]
	lsl	w9, w20, w1
	add	x0, x8, w9, sxtw #2
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_RangeDecoderBitTreeDecode
LBB0_4:
Lloh24:
	adrp	x8, _LenMid@GOTPAGE
Lloh25:
	ldr	x8, [x8, _LenMid@GOTPAGEOFF]
Lloh26:
	ldrsw	x8, [x8]
	add	x8, x21, x8, lsl #2
Lloh27:
	adrp	x9, _kLenNumMidBits@GOTPAGE
Lloh28:
	ldr	x9, [x9, _kLenNumMidBits@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x9]
	lsl	w9, w20, w1
	add	x0, x8, w9, sxtw #2
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x2, x19
	bl	_RangeDecoderBitTreeDecode
	add	w0, w0, w22
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_LenChoice,4,2                  ; @LenChoice
	.comm	_LenLow,4,2                     ; @LenLow
	.comm	_kLenNumLowBits,4,2             ; @kLenNumLowBits
	.comm	_LenChoice2,4,2                 ; @LenChoice2
	.comm	_kLenNumLowSymbols,4,2          ; @kLenNumLowSymbols
	.comm	_LenMid,4,2                     ; @LenMid
	.comm	_kLenNumMidBits,4,2             ; @kLenNumMidBits
	.comm	_kLenNumMidSymbols,4,2          ; @kLenNumMidSymbols
	.comm	_LenHigh,4,2                    ; @LenHigh
	.comm	_kLenNumHighBits,4,2            ; @kLenNumHighBits
.subsections_via_symbols
