	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Huff_Compress                  ## -- Begin function Huff_Compress
	.p2align	4, 0x90
_Huff_Compress:                         ## @Huff_Compress
	.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
	movl	$262216, %eax                   ## imm = 0x40048
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	(%rdi), %r14d
	subl	%esi, %r14d
	testl	%r14d, %r14d
	jle	LBB0_4
## %bb.1:
	movl	%esi, -262196(%rbp)             ## 4-byte Spill
	movslq	%esi, %rax
	shlq	$2, %rax
	movq	%rdi, -262216(%rbp)             ## 8-byte Spill
	movq	8(%rdi), %r15
	movq	%rax, -262208(%rbp)             ## 8-byte Spill
	addq	%rax, %r15
	leaq	-262256(%rbp), %rbx
	xorl	%r12d, %r12d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_Com_Memset
	movq	-262248(%rbp), %rax
	movq	-262224(%rbp), %rcx
	movslq	-262232(%rbp), %rdx
	leal	1(%rdx), %esi
	movl	%esi, -262232(%rbp)
	leaq	(%rdx,%rdx,2), %rdx
	shlq	$4, %rdx
	leaq	(%rcx,%rdx), %rsi
	movq	_NYT@GOTPCREL(%rip), %r8
	movq	(%r8), %rdi
	movq	%rsi, (%rax,%rdi,8)
	movq	%rsi, -262240(%rbp)
	movq	%rsi, -262256(%rbp)
	movq	%rdi, (%rcx,%rdx)
	movq	$0, 40(%rcx,%rdx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 20(%rcx,%rdx)
	movups	%xmm0, 8(%rcx,%rdx)
	movq	-262248(%rbp), %rax
	movq	(%r8), %rcx
	movq	%rsi, (%rax,%rcx,8)
	movl	%r14d, %eax
	shrl	$8, %eax
	movl	%eax, -262192(%rbp)
	movzbl	%r14b, %eax
	movl	%eax, -262188(%rbp)
	movq	_bloc@GOTPCREL(%rip), %rax
	movl	$16, (%rax)
	movl	%r14d, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15,%r12,4), %r14d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	leaq	-262192(%rbp), %rdx
	callq	_Huff_transmit
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_Huff_addRef
	incq	%r12
	cmpq	%r12, %r13
	jne	LBB0_2
## %bb.3:
	movq	_bloc@GOTPCREL(%rip), %rdx
	movl	(%rdx), %eax
	addl	$8, %eax
	movl	%eax, (%rdx)
	sarl	$3, %eax
	addl	-262196(%rbp), %eax             ## 4-byte Folded Reload
	movq	-262216(%rbp), %rcx             ## 8-byte Reload
	movl	%eax, (%rcx)
	movq	-262208(%rbp), %rdi             ## 8-byte Reload
	addq	8(%rcx), %rdi
	movl	(%rdx), %edx
	sarl	$3, %edx
	leaq	-262192(%rbp), %rsi
	callq	_Com_Memcpy
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	addq	$262216, %rsp                   ## imm = 0x40048
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NYT,8,3                        ## @NYT
	.comm	_bloc,4,2                       ## @bloc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Huff_Compress                  ; -- Begin function Huff_Compress
	.p2align	2
_Huff_Compress:                         ; @Huff_Compress
	.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	w9, #48
	movk	w9, #4, lsl #16
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #64, lsl #12            ; =262144
	sub	sp, sp, #48
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	ldr	w8, [x0]
	sub	w23, w8, w1
	cmp	w23, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #8]
	sxtw	x22, w20
	add	x24, x8, w1, sxtw #2
	mov	x0, sp
	mov	w1, #0
	mov	w2, #40
	bl	_Com_Memset
	ldr	x8, [sp, #32]
	ldrsw	x9, [sp, #24]
	add	w10, w9, #1
	str	w10, [sp, #24]
	mov	w10, #48
	madd	x8, x9, x10, x8
Lloh5:
	adrp	x9, _NYT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _NYT@GOTPAGEOFF]
	ldr	x10, [sp, #8]
	ldr	x11, [x9]
	str	x8, [x10, x11, lsl #3]
	str	x8, [sp, #16]
	str	x8, [sp]
	str	xzr, [x8, #40]
	stp	x11, xzr, [x8]
	stp	xzr, xzr, [x8, #16]
	str	wzr, [x8, #32]
	ldr	x10, [sp, #8]
	ldr	x9, [x9]
	str	x8, [x10, x9, lsl #3]
	lsr	w8, w23, #8
	and	w9, w23, #0xff
	stp	w8, w9, [sp, #40]
Lloh7:
	adrp	x25, _bloc@GOTPAGE
Lloh8:
	ldr	x25, [x25, _bloc@GOTPAGEOFF]
	mov	w8, #16
	str	w8, [x25]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w21, [x24], #4
	mov	x0, sp
	add	x2, sp, #40
	mov	x1, x21
	bl	_Huff_transmit
	mov	x0, sp
	mov	x1, x21
	bl	_Huff_addRef
	subs	x23, x23, #1
	b.ne	LBB0_2
; %bb.3:
	ldr	w8, [x25]
	add	w8, w8, #8
	str	w8, [x25]
	add	w8, w20, w8, asr #3
	str	w8, [x19]
	ldr	x8, [x19, #8]
	add	x0, x8, x22, lsl #2
	ldr	w8, [x25]
	asr	w2, w8, #3
	add	x1, sp, #40
	bl	_Com_Memcpy
LBB0_4:
	ldur	x8, [x29, #-72]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	add	sp, sp, #64, lsl #12            ; =262144
	add	sp, sp, #48
	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_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_NYT,8,3                        ; @NYT
	.comm	_bloc,4,2                       ; @bloc
.subsections_via_symbols
