	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function LenEnc_SetPrices
_LenEnc_SetPrices:                      ## @LenEnc_SetPrices
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	28(%rdi), %edi
	callq	_GET_PRICE_0a
	movq	%rax, %r15
	movl	28(%rbx), %edi
	callq	_GET_PRICE_1a
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	24(%rbx), %edi
	callq	_GET_PRICE_0a
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	24(%rbx), %edi
	callq	_GET_PRICE_1a
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	_kLenNumLowSymbols@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.10:
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%r13, %r12
	je	LBB0_9
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	_kLenNumLowBits@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%r14, %rdi
	shlq	%cl, %rdi
	addq	16(%rbx), %rdi
	movq	%rcx, %rsi
	movq	%r13, %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_RcTree_GetPrice
	addq	%r15, %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx,%r13,8)
	incq	%r13
	movq	_kLenNumLowSymbols@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %r13
	jb	LBB0_11
	jmp	LBB0_2
LBB0_1:
	xorl	%eax, %eax
	xorl	%r13d, %r13d
LBB0_2:
	movq	_kLenNumMidSymbols@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	(%rcx,%rax), %rdx
	cmpq	%rdx, %r13
	jae	LBB0_6
## %bb.3:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	addq	-72(%rbp), %rcx                 ## 8-byte Folded Reload
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	_kLenNumMidBits@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r12, %r13
	jae	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r15), %rcx
	movq	%r14, %rdi
	shlq	%cl, %rdi
	addq	8(%rbx), %rdi
	movq	%r13, %rdx
	subq	%rax, %rdx
	movq	%rcx, %rsi
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_RcTree_GetPrice
	addq	-64(%rbp), %rax                 ## 8-byte Folded Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx,%r13,8)
	incq	%r13
	movq	_kLenNumLowSymbols@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_kLenNumMidSymbols@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	(%rcx,%rax), %rdx
	cmpq	%rdx, %r13
	jb	LBB0_4
LBB0_6:
	cmpq	%r12, %r13
	jae	LBB0_9
## %bb.7:
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	addq	-72(%rbp), %rdx                 ## 8-byte Folded Reload
	movq	%rdx, %r15
	movq	(%rbx), %rdi
	movq	_kLenNumHighBits@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	addq	%rcx, %rax
	movq	%r13, %rdx
	subq	%rax, %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_RcTree_GetPrice
	movq	%r15, %rcx
	addq	%r15, %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx,%r13,8)
	incq	%r13
	cmpq	%r12, %r13
	je	LBB0_9
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	_kLenNumMidSymbols@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx), %rdi
	movq	(%r14), %rsi
	movq	_kLenNumLowSymbols@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	movq	%r13, %rdx
	subq	%rax, %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_RcTree_GetPrice
	addq	%r15, %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx,%r13,8)
	incq	%r13
	cmpq	%r13, %r12
	jne	LBB0_8
LBB0_9:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_kLenNumLowSymbols,8,3          ## @kLenNumLowSymbols
	.comm	_kLenNumLowBits,8,3             ## @kLenNumLowBits
	.comm	_kLenNumMidSymbols,8,3          ## @kLenNumMidSymbols
	.comm	_kLenNumMidBits,8,3             ## @kLenNumMidBits
	.comm	_kLenNumHighBits,8,3            ## @kLenNumHighBits
	.no_dead_strip	_LenEnc_SetPrices
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function LenEnc_SetPrices
_LenEnc_SetPrices:                      ; @LenEnc_SetPrices
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x25, x1
	mov	x22, x0
	ldr	w0, [x0, #28]
	bl	_GET_PRICE_0a
	mov	x28, x0
	ldr	w0, [x22, #28]
	bl	_GET_PRICE_1a
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	ldr	w0, [x22, #24]
	bl	_GET_PRICE_0a
	mov	x27, x0
	ldr	w0, [x22, #24]
	bl	_GET_PRICE_1a
	str	x0, [sp]                        ; 8-byte Folded Spill
Lloh0:
	adrp	x26, _kLenNumLowSymbols@GOTPAGE
Lloh1:
	ldr	x26, [x26, _kLenNumLowSymbols@GOTPAGEOFF]
	ldr	x8, [x26]
	cbz	x8, LBB0_4
; %bb.1:
	mov	x24, #0
Lloh2:
	adrp	x23, _kLenNumLowBits@GOTPAGE
Lloh3:
	ldr	x23, [x23, _kLenNumLowBits@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x21, x24
	b.eq	LBB0_12
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x22, #16]
	ldr	x1, [x23]
	lsl	x9, x25, x1
	add	x0, x9, x8
	mov	x2, x24
	mov	x3, x19
	bl	_RcTree_GetPrice
	add	x8, x0, x28
	str	x8, [x20, x24, lsl #3]
	add	x24, x24, #1
	ldr	x8, [x26]
	cmp	x24, x8
	b.lo	LBB0_2
	b	LBB0_5
LBB0_4:
	mov	x24, #0
LBB0_5:
Lloh4:
	adrp	x9, _kLenNumMidSymbols@GOTPAGE
Lloh5:
	ldr	x9, [x9, _kLenNumMidSymbols@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	add	x10, x9, x8
	cmp	x24, x10
	b.hs	LBB0_9
; %bb.6:
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	add	x27, x27, x9
	cmp	x24, x21
	csel	x23, x24, x21, hi
Lloh7:
	adrp	x28, _kLenNumMidBits@GOTPAGE
Lloh8:
	ldr	x28, [x28, _kLenNumMidBits@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x23, x24
	b.eq	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x9, [x22, #8]
	ldr	x1, [x28]
	lsl	x10, x25, x1
	add	x0, x10, x9
	sub	x2, x24, x8
	mov	x3, x19
	bl	_RcTree_GetPrice
	add	x8, x27, x0
	str	x8, [x20, x24, lsl #3]
	add	x24, x24, #1
	ldr	x8, [x26]
Lloh9:
	adrp	x9, _kLenNumMidSymbols@GOTPAGE
Lloh10:
	ldr	x9, [x9, _kLenNumMidSymbols@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	x10, x9, x8
	cmp	x24, x10
	b.lo	LBB0_7
LBB0_9:
	cmp	x24, x21
	b.hs	LBB0_12
; %bb.10:
	ldp	x11, x10, [sp]                  ; 16-byte Folded Reload
	add	x23, x11, x10
	ldr	x0, [x22]
Lloh12:
	adrp	x25, _kLenNumHighBits@GOTPAGE
Lloh13:
	ldr	x25, [x25, _kLenNumHighBits@GOTPAGEOFF]
	ldr	x1, [x25]
	add	x8, x8, x9
	sub	x2, x24, x8
	mov	x3, x19
	bl	_RcTree_GetPrice
	add	x8, x23, x0
	str	x8, [x20, x24, lsl #3]
	add	x24, x24, #1
	cmp	x24, x21
	b.eq	LBB0_12
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x26]
Lloh14:
	adrp	x9, _kLenNumMidSymbols@GOTPAGE
Lloh15:
	ldr	x9, [x9, _kLenNumMidSymbols@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	ldr	x0, [x22]
	ldr	x1, [x25]
	add	x8, x9, x8
	sub	x2, x24, x8
	mov	x3, x19
	bl	_RcTree_GetPrice
	add	x8, x23, x0
	str	x8, [x20, x24, lsl #3]
	add	x24, x24, #1
	cmp	x21, x24
	b.ne	LBB0_11
LBB0_12:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_kLenNumLowSymbols,8,3          ; @kLenNumLowSymbols
	.comm	_kLenNumLowBits,8,3             ; @kLenNumLowBits
	.comm	_kLenNumMidSymbols,8,3          ; @kLenNumMidSymbols
	.comm	_kLenNumMidBits,8,3             ; @kLenNumMidBits
	.comm	_kLenNumHighBits,8,3            ; @kLenNumHighBits
	.no_dead_strip	_LenEnc_SetPrices
.subsections_via_symbols
