	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Huff_addRef                    ## -- Begin function Huff_addRef
	.p2align	4, 0x90
_Huff_addRef:                           ## @Huff_addRef
	.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
	movq	%rsi, %rdx
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movq	(%rax,%rsi,8), %rsi
	testq	%rsi, %rsi
	jne	LBB0_14
## %bb.1:
	movq	32(%r15), %rbx
	movslq	24(%r15), %r13
	leaq	1(%r13), %r12
	leal	2(%r13), %eax
	shlq	$6, %r13
	leaq	(%rbx,%r13), %rdi
	movl	%eax, 24(%r15)
	shlq	$6, %r12
	leaq	(%rbx,%r12), %r14
	movq	_INTERNAL_NODE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx,%r12)
	movl	$1, 8(%rbx,%r12)
	movq	8(%r15), %rax
	movq	48(%rax), %rcx
	movq	%rcx, 48(%rbx,%r12)
	movq	48(%rax), %rax
	testq	%rax, %rax
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_4
## %bb.2:
	movq	%r14, 40(%rax)
	cmpl	$1, 8(%rax)
	jne	LBB0_4
## %bb.3:
	movq	56(%rax), %rax
	movq	%rax, 56(%rbx,%r12)
	jmp	LBB0_5
LBB0_4:
	movq	%r15, %rdi
	callq	_get_ppnode
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%rax, 56(%rbx,%r12)
	movq	%r14, (%rax)
LBB0_5:
	movq	8(%r15), %rax
	movq	%r14, 48(%rax)
	movq	%rax, 40(%rbx,%r12)
	movq	%rdx, (%rdi)
	movl	$1, 8(%rbx,%r13)
	movq	%r14, 48(%rbx,%r13)
	movq	48(%rax), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	movq	%rdi, 40(%rax)
	cmpl	$1, 8(%rax)
	jne	LBB0_8
## %bb.7:
	movq	56(%rax), %rax
	movq	%rax, 56(%rbx,%r13)
	jmp	LBB0_10
LBB0_9:
	movq	%r15, %rdi
	callq	_get_ppnode
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, 56(%rbx,%r13)
	movq	%rdi, (%rax)
	jmp	LBB0_10
LBB0_8:
	movq	%r15, %rdi
	callq	_get_ppnode
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, 56(%rbx,%r13)
	movq	%r14, (%rax)
LBB0_10:
	movq	8(%r15), %rax
	movq	%rdi, 48(%rax)
	movq	%rax, 40(%rbx,%r13)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rbx,%r13)
	movq	16(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_12
## %bb.11:
	leaq	24(%rcx), %rsi
	leaq	32(%rcx), %rdx
	cmpq	%rax, 24(%rcx)
	cmoveq	%rsi, %rdx
	jmp	LBB0_13
LBB0_12:
	leaq	16(%r15), %rdx
LBB0_13:
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, (%rdx)
	movq	%rdi, 32(%rbx,%r12)
	movq	%rax, 24(%rbx,%r12)
	movq	%rcx, 16(%rbx,%r12)
	movq	%r14, 16(%rbx,%r13)
	movq	%r14, 16(%rax)
	movq	(%r15), %rax
	movq	%rdi, (%rax,%rsi,8)
	movq	16(%rbx,%r12), %rsi
LBB0_14:
	movq	%r15, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_increment                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_INTERNAL_NODE,8,3              ## @INTERNAL_NODE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Huff_addRef                    ; -- Begin function Huff_addRef
	.p2align	2
_Huff_addRef:                           ; @Huff_addRef
	.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	x20, x1
	mov	x19, x0
	ldr	x8, [x0]
	ldr	x1, [x8, x1, lsl #3]
	cbnz	x1, LBB0_16
; %bb.1:
	ldr	x22, [x19, #32]
	ldrsw	x23, [x19, #24]
	add	x25, x23, #1
	add	x21, x22, x23, lsl #6
	add	w8, w23, #2
	str	w8, [x19, #24]
	add	x24, x22, x25, lsl #6
Lloh0:
	adrp	x8, _INTERNAL_NODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INTERNAL_NODE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [x24]
	mov	w8, #1
	str	w8, [x24, #8]
	ldr	x8, [x19, #8]
	ldr	x9, [x8, #48]
	str	x9, [x24, #48]
	ldr	x8, [x8, #48]
	cbz	x8, LBB0_4
; %bb.2:
	str	x24, [x8, #40]
	ldr	w9, [x8, #8]
	cmp	w9, #1
	b.ne	LBB0_5
; %bb.3:
	ldr	x8, [x8, #56]
	add	x9, x22, x25, lsl #6
	str	x8, [x9, #56]
	b	LBB0_7
LBB0_4:
	mov	x0, x19
	bl	_get_ppnode
	str	x0, [x24, #56]
	b	LBB0_6
LBB0_5:
	mov	x0, x19
	bl	_get_ppnode
	add	x8, x22, x25, lsl #6
	str	x0, [x8, #56]
LBB0_6:
	str	x24, [x0]
LBB0_7:
	ldr	x8, [x19, #8]
	str	x24, [x8, #48]
	add	x9, x22, x25, lsl #6
	str	x8, [x9, #40]
	str	x20, [x21]
	add	x26, x22, x23, lsl #6
	mov	w9, #1
	str	w9, [x26, #8]
	str	x24, [x26, #48]
	ldr	x8, [x8, #48]
	cbz	x8, LBB0_10
; %bb.8:
	str	x21, [x8, #40]
	ldr	w9, [x8, #8]
	cmp	w9, #1
	b.ne	LBB0_11
; %bb.9:
	ldr	x8, [x8, #56]
	add	x9, x22, x23, lsl #6
	str	x8, [x9, #56]
	b	LBB0_12
LBB0_10:
	mov	x0, x19
	bl	_get_ppnode
	str	x0, [x26, #56]
	str	x21, [x0]
	b	LBB0_12
LBB0_11:
	mov	x0, x19
	bl	_get_ppnode
	add	x8, x22, x23, lsl #6
	str	x0, [x8, #56]
	str	x24, [x0]
LBB0_12:
	ldr	x8, [x19, #8]
	str	x21, [x8, #48]
	add	x9, x22, x23, lsl #6
	stp	xzr, x8, [x9, #32]
	str	xzr, [x9, #24]
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_14
; %bb.13:
	mov	x10, x9
	ldr	x11, [x10, #24]!
	add	x12, x10, #8
	cmp	x11, x8
	csel	x10, x10, x12, eq
	b	LBB0_15
LBB0_14:
	add	x10, x19, #16
LBB0_15:
	str	x24, [x10]
	add	x10, x22, x25, lsl #6
	stp	x8, x21, [x10, #24]
	str	x9, [x10, #16]
	add	x9, x22, x23, lsl #6
	str	x24, [x9, #16]
	str	x24, [x8, #16]
	ldr	x8, [x19]
	str	x21, [x8, x20, lsl #3]
	ldr	x1, [x10, #16]
LBB0_16:
	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	_increment
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_INTERNAL_NODE,8,3              ; @INTERNAL_NODE
.subsections_via_symbols
