	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function LenEnc_Encode
_LenEnc_Encode:                         ## @LenEnc_Encode
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movl	%edx, %r14d
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	8(%rdi), %r13
	movq	(%rsi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	movq	%r13, %rsi
	callq	_RC_BIT_PRE
	movq	_kLenNumLowSymbols@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	ja	LBB0_3
## %bb.1:
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_RC_BIT_1
	movq	_kLenNumLowSymbols@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	(%r13,%rax,4), %r13
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_RC_BIT_PRE
	movq	_kLenNumLowSymbols@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rax,%rax), %ecx
	cmpl	%r14d, %ecx
	jbe	LBB0_4
## %bb.2:
	subl	%eax, %r14d
LBB0_3:
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_RC_BIT_0
	movq	_kLenNumLowBits@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	incb	%cl
	shll	%cl, %ebx
	leaq	(,%rbx,4), %rax
	addq	%r13, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%r14d, %r15d
	shrl	$2, %r15d
	leaq	4(,%rbx,4), %rsi
	addq	%r13, %rsi
	movq	%r12, %rdi
	movl	%r15d, %edx
	callq	_RC_BIT
	movl	%r14d, %ebx
	shrl	%ebx
	andl	$1, %ebx
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	leaq	8(,%r15,4), %rsi
	addq	%r13, %rsi
	movq	%r12, %rdi
	movl	%ebx, %edx
	callq	_RC_BIT
	leal	(%rbx,%r15,2), %eax
	addl	$4, %eax
	andl	$1, %r14d
	leaq	(,%rax,4), %rsi
	addq	%r13, %rsi
	movq	%r12, %rdi
	movl	%r14d, %edx
	callq	_RC_BIT
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%r12)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_RC_BIT_1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%r12)
	movl	(%r15), %esi
	movq	_kLenNumLowSymbols@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%eax, %eax
	subl	%eax, %r14d
	movq	%r12, %rdi
	movl	%r14d, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_LitEnc_Encode                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_kLenNumLowSymbols,4,2          ## @kLenNumLowSymbols
	.comm	_kLenNumLowBits,4,2             ## @kLenNumLowBits
	.no_dead_strip	_LenEnc_Encode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function LenEnc_Encode
_LenEnc_Encode:                         ; @LenEnc_Encode
	.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	x22, x3
	mov	x20, x2
	mov	x19, x1
	mov	x23, x0
	ldr	x21, [x0, #8]
	ldr	x24, [x1]
	mov	x0, x1
	mov	x1, x21
	bl	_RC_BIT_PRE
Lloh0:
	adrp	x25, _kLenNumLowSymbols@GOTPAGE
Lloh1:
	ldr	x25, [x25, _kLenNumLowSymbols@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w8, w20
	b.hi	LBB0_3
; %bb.1:
	mov	x0, x19
	mov	x1, x21
	bl	_RC_BIT_1
	ldr	w8, [x25]
	add	x21, x21, x8, lsl #2
	mov	x0, x19
	mov	x1, x21
	bl	_RC_BIT_PRE
	ldr	w8, [x25]
	cmp	w20, w8, lsl #1
	b.hs	LBB0_4
; %bb.2:
	sub	w20, w20, w8
LBB0_3:
	mov	x0, x19
	mov	x1, x21
	bl	_RC_BIT_0
Lloh2:
	adrp	x8, _kLenNumLowBits@GOTPAGE
Lloh3:
	ldr	x8, [x8, _kLenNumLowBits@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	add	w8, w8, #1
	lsl	w8, w22, w8
	add	x22, x21, w8, uxtw #2
	lsr	w21, w20, #2
	add	x1, x22, #4
	mov	x0, x19
	mov	x2, x21
	bl	_RC_BIT
	add	w21, w21, #2
	lsr	w23, w20, #1
	ubfx	w2, w20, #1, #1
	add	x1, x22, w21, uxtw #2
	mov	x0, x19
	bl	_RC_BIT
	bfi	w23, w21, #1, #31
	and	w2, w20, #0x1
	add	x1, x22, w23, uxtw #2
	mov	x0, x19
	bl	_RC_BIT
	str	x24, [x19]
	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
LBB0_4:
	mov	x0, x19
	mov	x1, x21
	bl	_RC_BIT_1
	str	x24, [x19]
	ldr	w1, [x23]
	ldr	w8, [x25]
	sub	w2, w20, w8, lsl #1
	mov	x0, x19
	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
	b	_LitEnc_Encode
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_kLenNumLowSymbols,4,2          ; @kLenNumLowSymbols
	.comm	_kLenNumLowBits,4,2             ; @kLenNumLowBits
	.no_dead_strip	_LenEnc_Encode
.subsections_via_symbols
