	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function length_encoder_reset
_length_encoder_reset:                  ## @length_encoder_reset
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r14
	movq	%rdi, %r12
	movl	28(%rdi), %edi
	callq	_bit_reset
	movl	24(%r12), %edi
	callq	_bit_reset
	testq	%r14, %r14
	je	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	movq	_LEN_LOW_BITS@GOTPCREL(%rip), %r13
	movq	_LEN_MID_BITS@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r12), %rax
	movl	(%rax,%rbx,4), %edi
	movl	(%r13), %esi
	callq	_bittree_reset
	movq	8(%r12), %rax
	movl	(%rax,%rbx,4), %edi
	movl	(%r15), %esi
	callq	_bittree_reset
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_2
LBB0_3:
	movl	(%r12), %edi
	movq	_LEN_HIGH_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_bittree_reset
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_7
## %bb.4:
	testq	%r14, %r14
	je	LBB0_7
## %bb.5:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_length_update_prices
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_6
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LEN_LOW_BITS,4,2               ## @LEN_LOW_BITS
	.comm	_LEN_MID_BITS,4,2               ## @LEN_MID_BITS
	.comm	_LEN_HIGH_BITS,4,2              ## @LEN_HIGH_BITS
	.no_dead_strip	_length_encoder_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function length_encoder_reset
_length_encoder_reset:                  ; @length_encoder_reset
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x0, #28]
	bl	_bit_reset
	ldr	w0, [x20, #24]
	bl	_bit_reset
	cbz	x19, LBB0_3
; %bb.1:
	mov	x22, #0
Lloh0:
	adrp	x23, _LEN_LOW_BITS@GOTPAGE
Lloh1:
	ldr	x23, [x23, _LEN_LOW_BITS@GOTPAGEOFF]
Lloh2:
	adrp	x24, _LEN_MID_BITS@GOTPAGE
Lloh3:
	ldr	x24, [x24, _LEN_MID_BITS@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #16]
	lsl	x25, x22, #2
	ldr	w0, [x8, x25]
	ldr	w1, [x23]
	bl	_bittree_reset
	ldr	x8, [x20, #8]
	ldr	w0, [x8, x25]
	ldr	w1, [x24]
	bl	_bittree_reset
	add	x22, x22, #1
	cmp	x19, x22
	b.ne	LBB0_2
LBB0_3:
	ldr	w0, [x20]
Lloh4:
	adrp	x8, _LEN_HIGH_BITS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _LEN_HIGH_BITS@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	bl	_bittree_reset
	cbnz	w21, LBB0_7
; %bb.4:
	cbz	x19, LBB0_7
; %bb.5:
	mov	x21, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_length_update_prices
	add	x21, x21, #1
	cmp	x19, x21
	b.ne	LBB0_6
LBB0_7:
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_LEN_LOW_BITS,4,2               ; @LEN_LOW_BITS
	.comm	_LEN_MID_BITS,4,2               ; @LEN_MID_BITS
	.comm	_LEN_HIGH_BITS,4,2              ; @LEN_HIGH_BITS
	.no_dead_strip	_length_encoder_reset
.subsections_via_symbols
