	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function huft_build
_huft_build:                            ## @huft_build
	.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	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -152(%rbp)                 ## 8-byte Spill
	movq	%r8, -192(%rbp)                 ## 8-byte Spill
	movq	%rcx, -184(%rbp)                ## 8-byte Spill
	movl	%edx, -128(%rbp)                ## 4-byte Spill
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_BMAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leal	1(%rbx), %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	(,%rax,4), %r12
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	%rbx, %rax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -112(%rbp)                ## 8-byte Spill
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r11
	xorps	%xmm0, %xmm0
	movaps	%xmm0, 48(%r13)
	movaps	%xmm0, 32(%r13)
	movaps	%xmm0, 16(%r13)
	movaps	%xmm0, (%r13)
	leal	-1(%r15), %ecx
	movl	%r15d, %edx
	movl	%r15d, %edi
	movq	%r14, %rax
	andl	$3, %edx
	je	LBB0_4
## %bb.1:
	xorl	%esi, %esi
	movq	%r14, %rax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%rax), %rdi
	incl	(%r13,%rdi,4)
	addq	$4, %rax
	incl	%esi
	cmpl	%esi, %edx
	jne	LBB0_2
## %bb.3:
	movl	%r15d, %edi
	subl	%esi, %edi
LBB0_4:
	cmpl	$3, %ecx
	jb	LBB0_7
## %bb.5:
	movl	%edi, %ecx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%rax,%rdx,4), %rsi
	incl	(%r13,%rsi,4)
	movslq	4(%rax,%rdx,4), %rsi
	incl	(%r13,%rsi,4)
	movslq	8(%rax,%rdx,4), %rsi
	incl	(%r13,%rsi,4)
	movslq	12(%rax,%rdx,4), %rsi
	incl	(%r13,%rsi,4)
	addq	$4, %rdx
	cmpl	%edx, %ecx
	jne	LBB0_6
LBB0_7:
	movq	16(%rbp), %rax
	cmpl	%r15d, (%r13)
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	jne	LBB0_9
## %bb.8:
	movq	_Z_NULL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	-152(%rbp), %rdx                ## 8-byte Reload
	movq	%rcx, (%rdx)
	movl	$0, (%rax)
	movq	_Z_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_86
LBB0_9:
	movl	(%rax), %edx
	testl	%ebx, %ebx
	jle	LBB0_10
## %bb.11:
	movl	$1, %esi
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%r13,%rsi,4)
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	incq	%rsi
	cmpq	%rsi, %rcx
	jne	LBB0_12
	jmp	LBB0_15
LBB0_10:
	movl	$1, %ecx
	jmp	LBB0_15
LBB0_14:
	movl	%esi, %ecx
LBB0_15:
	cmpl	%ecx, %edx
	cmovlel	%ecx, %edx
	xorl	%r12d, %r12d
	testl	%ebx, %ebx
	je	LBB0_20
## %bb.16:
	movslq	%ebx, %rsi
	leaq	(,%rsi,4), %rsi
	addq	%r13, %rsi
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%rsi)
	jne	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_17 Depth=1
	addq	$-4, %rsi
	decl	%ebx
	jne	LBB0_17
	jmp	LBB0_20
LBB0_18:
	movl	%ebx, %r12d
LBB0_20:
	cmpl	%r12d, %edx
	cmovgel	%r12d, %edx
	movl	%edx, (%rax)
	movl	$1, %edi
	shll	%cl, %edi
	cmpl	%r12d, %ecx
	jge	LBB0_25
## %bb.21:
	movl	%ecx, %eax
	leaq	(,%rax,4), %rax
	addq	%r13, %rax
	movl	%ecx, %esi
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	subl	(%rax), %edi
	js	LBB0_23
## %bb.24:                              ##   in Loop: Header=BB0_22 Depth=1
	addl	%edi, %edi
	addq	$4, %rax
	incl	%esi
	cmpl	%esi, %r12d
	jg	LBB0_22
LBB0_25:
	movslq	%r12d, %r8
	movl	(%r13,%r8,4), %eax
	cmpl	%eax, %edi
	jge	LBB0_26
LBB0_23:
	movq	_Z_DATA_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_86
LBB0_26:
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	%eax, -116(%rbp)                ## 4-byte Spill
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movl	%edi, (%r13,%r8,4)
	movl	$0, 4(%r11)
	movl	%r12d, %r10d
	decl	%r10d
	je	LBB0_33
## %bb.27:
	leaq	8(%r11), %rcx
	leal	-2(%r12), %eax
	xorl	%edx, %edx
	cmpl	$3, %eax
	jae	LBB0_48
## %bb.28:
	movq	%r13, %r9
	testb	$3, %r10b
	jne	LBB0_31
	jmp	LBB0_33
LBB0_48:
	movl	%r10d, %esi
	andl	$-4, %esi
	xorl	%eax, %eax
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_49:                                ## =>This Inner Loop Header: Depth=1
	addl	4(%r13,%rax,4), %edx
	movl	%edx, (%rcx,%rax,4)
	addl	8(%r13,%rax,4), %edx
	movl	%edx, 4(%rcx,%rax,4)
	addl	12(%r13,%rax,4), %edx
	movl	%edx, 8(%rcx,%rax,4)
	addl	16(%r13,%rax,4), %edx
	movl	%edx, 12(%rcx,%rax,4)
	addq	$-16, %rbx
	addq	$4, %rax
	cmpl	%eax, %esi
	jne	LBB0_49
## %bb.29:
	subq	%rbx, %rcx
	movq	%r13, %r9
	subq	%rbx, %r9
	testb	$3, %r10b
	je	LBB0_33
LBB0_31:
	leal	-1(%r12), %eax
	movzbl	%al, %eax
	andl	$3, %eax
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_32:                                ## =>This Inner Loop Header: Depth=1
	addl	4(%r9,%rsi,4), %edx
	movl	%edx, (%rcx,%rsi,4)
	incq	%rsi
	cmpl	%esi, %eax
	jne	LBB0_32
LBB0_33:
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	40(%rbp), %r8
	xorl	%ecx, %ecx
	movl	$1, %r9d
	cmpl	$2, %r15d
	cmovgel	%r15d, %r9d
	movl	%edi, -120(%rbp)                ## 4-byte Spill
	jl	LBB0_41
## %bb.34:
	movl	%r9d, %r10d
	andl	$2147483646, %r10d              ## imm = 0x7FFFFFFE
	xorl	%ecx, %ecx
	jmp	LBB0_35
	.p2align	4, 0x90
LBB0_39:                                ##   in Loop: Header=BB0_35 Depth=1
	addl	$2, %ecx
	leaq	8(%rdi), %r14
	cmpl	%ecx, %r10d
	je	LBB0_40
LBB0_35:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movslq	(%r14), %rax
	testq	%rax, %rax
	movq	%r8, %r14
	je	LBB0_37
## %bb.36:                              ##   in Loop: Header=BB0_35 Depth=1
	movslq	(%r11,%rax,4), %rbx
	leal	1(%rbx), %edx
	movl	%edx, (%r11,%rax,4)
	movl	%ecx, (%r14,%rbx,4)
LBB0_37:                                ##   in Loop: Header=BB0_35 Depth=1
	movslq	4(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_39
## %bb.38:                              ##   in Loop: Header=BB0_35 Depth=1
	leal	1(%rcx), %edx
	movslq	(%r11,%rax,4), %rbx
	leal	1(%rbx), %esi
	movl	%esi, (%r11,%rax,4)
	movl	%edx, (%r14,%rbx,4)
	jmp	LBB0_39
LBB0_40:
	addq	$8, %rdi
	movq	%rdi, %r14
LBB0_41:
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	testb	$1, %r9b
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_44
## %bb.42:
	movslq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_44
## %bb.43:
	movslq	(%r11,%rax,4), %rdx
	leal	1(%rdx), %esi
	movl	%esi, (%r11,%rax,4)
	movl	%ecx, (%r8,%rdx,4)
LBB0_44:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movslq	(%r11,%rax,4), %rax
	movl	$0, (%r11)
	movq	_Z_NULL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movq	%rcx, (%rdi)
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	cmpl	%r12d, %ebx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	jle	LBB0_45
LBB0_83:
	movq	_Z_OK@GOTPCREL(%rip), %rax
	movq	%rax, %rcx
	cmpl	$1, -64(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_85
## %bb.84:
	movq	_Z_BUF_ERROR@GOTPCREL(%rip), %rcx
LBB0_85:
	movl	-116(%rbp), %edx                ## 4-byte Reload
	cmpl	%edx, -120(%rbp)                ## 4-byte Folded Reload
	cmovneq	%rcx, %rax
	jmp	LBB0_86
LBB0_45:
	movq	%r8, %r9
	movl	%edi, %ecx
	negl	%ecx
	movslq	%edi, %rdx
	movq	%rdx, -200(%rbp)                ## 8-byte Spill
	leaq	(%r8,%rax,4), %rax
	movq	%rax, -176(%rbp)                ## 8-byte Spill
	movl	%ebx, %esi
	movq	%rcx, %r15
	leaq	4(,%rsi,4), %rax
	addq	%r13, %rax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movq	%r11, %rax
	addq	$-4, %rax
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	movl	$-1, %r8d
	xorl	%r10d, %r10d
	movl	%r15d, %eax
                                        ## implicit-def: $ecx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	movq	%r11, -104(%rbp)                ## 8-byte Spill
	movq	%r15, -136(%rbp)                ## 8-byte Spill
LBB0_46:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_51 Depth 2
                                        ##       Child Loop BB0_54 Depth 3
                                        ##         Child Loop BB0_58 Depth 4
                                        ##       Child Loop BB0_74 Depth 3
                                        ##       Child Loop BB0_78 Depth 3
                                        ##       Child Loop BB0_81 Depth 3
	movl	(%r13,%rsi,4), %ecx
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	testl	%ecx, %ecx
	je	LBB0_82
## %bb.47:                              ##   in Loop: Header=BB0_46 Depth=1
	leal	-1(%rsi), %ecx
	movl	$1, %ebx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %ebx
	movq	%rsi, -160(%rbp)                ## 8-byte Spill
	movl	%ebx, -124(%rbp)                ## 4-byte Spill
	jmp	LBB0_51
	.p2align	4, 0x90
LBB0_50:                                ##   in Loop: Header=BB0_51 Depth=2
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	movq	-160(%rbp), %rsi                ## 8-byte Reload
	je	LBB0_82
LBB0_51:                                ##   Parent Loop BB0_46 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_54 Depth 3
                                        ##         Child Loop BB0_58 Depth 4
                                        ##       Child Loop BB0_74 Depth 3
                                        ##       Child Loop BB0_78 Depth 3
                                        ##       Child Loop BB0_81 Depth 3
	movq	%r9, -72(%rbp)                  ## 8-byte Spill
	leal	(%rax,%rdi), %ecx
	cmpl	%esi, %ecx
	jge	LBB0_52
## %bb.53:                              ##   in Loop: Header=BB0_51 Depth=2
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	%edx, %r9d
	subl	%ecx, %r9d
	movslq	%r8d, %r11
	jmp	LBB0_54
	.p2align	4, 0x90
LBB0_65:                                ##   in Loop: Header=BB0_54 Depth=3
	movq	-152(%rbp), %rax                ## 8-byte Reload
	movq	%rbx, (%rax)
LBB0_66:                                ##   in Loop: Header=BB0_54 Depth=3
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	leal	(%r15,%rdi), %ecx
	subl	%edi, %r9d
	movq	%r8, %r11
	movl	%r15d, %eax
	movq	-160(%rbp), %rsi                ## 8-byte Reload
	cmpl	%esi, %ecx
	jge	LBB0_67
LBB0_54:                                ##   Parent Loop BB0_46 Depth=1
                                        ##     Parent Loop BB0_51 Depth=2
                                        ## =>    This Loop Header: Depth=3
                                        ##         Child Loop BB0_58 Depth 4
	movl	%ecx, %r15d
	cmpl	%r9d, %edi
	movl	%r9d, %ebx
	cmovll	%edi, %ebx
	movq	%rdi, %rcx
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	%edx, %edi
	subl	%r15d, %edi
	cmpl	%ecx, %edi
	cmovgel	%ecx, %edi
	movl	%esi, %r14d
	subl	%r15d, %r14d
	movl	$1, %edx
	movl	%r14d, %ecx
	shll	%cl, %edx
	movl	%r14d, %esi
	subl	-56(%rbp), %edx                 ## 4-byte Folded Reload
	jle	LBB0_61
## %bb.55:                              ##   in Loop: Header=BB0_54 Depth=3
	movl	%r14d, %esi
	cmpl	%edi, %r14d
	jge	LBB0_61
## %bb.56:                              ##   in Loop: Header=BB0_54 Depth=3
	leal	1(%r14), %esi
	cmpl	%edi, %esi
	jge	LBB0_61
## %bb.57:                              ##   in Loop: Header=BB0_54 Depth=3
	movq	-144(%rbp), %rcx                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_58:                                ##   Parent Loop BB0_46 Depth=1
                                        ##     Parent Loop BB0_51 Depth=2
                                        ##       Parent Loop BB0_54 Depth=3
                                        ## =>      This Inner Loop Header: Depth=4
	addl	%edx, %edx
	subl	(%rcx), %edx
	jle	LBB0_61
## %bb.59:                              ##   in Loop: Header=BB0_58 Depth=4
	incl	%esi
	addq	$4, %rcx
	cmpl	%edi, %esi
	jl	LBB0_58
## %bb.60:                              ##   in Loop: Header=BB0_54 Depth=3
	movl	%ebx, %esi
	.p2align	4, 0x90
LBB0_61:                                ##   in Loop: Header=BB0_54 Depth=3
	movl	$1, %r10d
	movl	%esi, %ecx
	shll	%cl, %r10d
	movq	32(%rbp), %rdx
	movslq	(%rdx), %rbx
	leal	(%rbx,%r10), %ecx
	movq	_MANY@GOTPCREL(%rip), %rdi
	cmpl	(%rdi), %ecx
	jg	LBB0_62
## %bb.63:                              ##   in Loop: Header=BB0_54 Depth=3
	leaq	1(%r11), %r8
	shlq	$4, %rbx
	addq	24(%rbp), %rbx
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	movq	%rbx, (%rdi,%r8,8)
	movl	%ecx, (%rdx)
	testl	%r8d, %r8d
	je	LBB0_65
## %bb.64:                              ##   in Loop: Header=BB0_54 Depth=3
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movl	%r12d, (%rcx,%r8,4)
	movl	%r12d, %edx
	movl	%eax, %ecx
	sarl	%cl, %edx
	movq	(%rdi,%r11,8), %rax
	movq	%rbx, %rdi
	subq	%rax, %rdi
	shrq	$4, %rdi
	movslq	%edx, %rcx
	subl	%ecx, %edi
	shlq	$4, %rcx
	movl	%esi, (%rax,%rcx)
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movl	%edi, 4(%rax,%rcx)
	movq	-200(%rbp), %rdx                ## 8-byte Reload
	movq	%rdx, 8(%rax,%rcx)
	jmp	LBB0_66
LBB0_52:                                ##   in Loop: Header=BB0_51 Depth=2
	movl	%esi, %r14d
	subl	%eax, %r14d
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_68
LBB0_67:                                ##   in Loop: Header=BB0_51 Depth=2
	movl	%r15d, %eax
LBB0_68:                                ##   in Loop: Header=BB0_51 Depth=2
	movl	$192, %r9d
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	cmpq	-176(%rbp), %rsi                ## 8-byte Folded Reload
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	jae	LBB0_72
## %bb.69:                              ##   in Loop: Header=BB0_51 Depth=2
	movl	(%rsi), %edx
	movl	%edx, %ecx
	subl	-128(%rbp), %ecx                ## 4-byte Folded Reload
	jge	LBB0_71
## %bb.70:                              ##   in Loop: Header=BB0_51 Depth=2
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	cmpl	$256, %edx                      ## imm = 0x100
	movl	$96, %r9d
	movl	$0, %ecx
	cmovll	%ecx, %r9d
	addq	$4, %rsi
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_72
LBB0_71:                                ##   in Loop: Header=BB0_51 Depth=2
	movslq	%ecx, %rcx
	movq	-192(%rbp), %rdx                ## 8-byte Reload
	movl	(%rdx,%rcx,4), %r9d
	addl	$80, %r9d
	addq	$4, %rsi
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	-184(%rbp), %rdx                ## 8-byte Reload
	movl	(%rdx,%rcx,4), %ecx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
LBB0_72:                                ##   in Loop: Header=BB0_51 Depth=2
	movl	%r12d, %edx
	movl	%eax, %ecx
	sarl	%cl, %edx
	cmpl	%r10d, %edx
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	jge	LBB0_75
## %bb.73:                              ##   in Loop: Header=BB0_51 Depth=2
	movslq	%r14d, %rcx
	movl	$1, %esi
	shll	%cl, %esi
	movslq	%edx, %rdi
	movslq	%esi, %rsi
	movslq	%r10d, %r11
	movq	%rdi, %rdx
	shlq	$4, %rdx
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	addq	%rbx, %rdx
	addq	$8, %rdx
	movq	%rsi, %rbx
	shlq	$4, %rbx
	.p2align	4, 0x90
LBB0_74:                                ##   Parent Loop BB0_46 Depth=1
                                        ##     Parent Loop BB0_51 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	%r9d, -8(%rdx)
	movl	%r15d, -4(%rdx)
	movq	%rcx, (%rdx)
	addq	%rsi, %rdi
	addq	%rbx, %rdx
	cmpq	%r11, %rdi
	jl	LBB0_74
LBB0_75:                                ##   in Loop: Header=BB0_51 Depth=2
	movl	-124(%rbp), %ebx                ## 4-byte Reload
	movl	%ebx, %ecx
	testl	%r12d, %ebx
	je	LBB0_76
## %bb.77:                              ##   in Loop: Header=BB0_51 Depth=2
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %r9                  ## 8-byte Reload
	movq	-136(%rbp), %r15                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_78:                                ##   Parent Loop BB0_46 Depth=1
                                        ##     Parent Loop BB0_51 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	xorl	%ecx, %r12d
	sarl	%ecx
	testl	%r12d, %ecx
	jne	LBB0_78
	jmp	LBB0_79
LBB0_76:                                ##   in Loop: Header=BB0_51 Depth=2
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %r9                  ## 8-byte Reload
	movq	-136(%rbp), %r15                ## 8-byte Reload
LBB0_79:                                ##   in Loop: Header=BB0_51 Depth=2
	xorl	%ecx, %r12d
	decl	-56(%rbp)                       ## 4-byte Folded Spill
	movl	$-1, %edx
	movl	%eax, %ecx
	shll	%cl, %edx
	notl	%edx
	andl	%r12d, %edx
	movslq	%r8d, %rcx
	cmpl	(%rsi,%rcx,4), %edx
	je	LBB0_50
## %bb.80:                              ##   in Loop: Header=BB0_51 Depth=2
	movq	-168(%rbp), %rdx                ## 8-byte Reload
	leaq	(%rdx,%rcx,4), %rsi
	.p2align	4, 0x90
LBB0_81:                                ##   Parent Loop BB0_46 Depth=1
                                        ##     Parent Loop BB0_51 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	leal	(%r15,%rax), %ecx
	movl	$-1, %edx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	subl	%edi, %eax
	notl	%edx
	andl	%r12d, %edx
	decl	%r8d
	leaq	-4(%rsi), %rcx
	cmpl	(%rsi), %edx
	movq	%rcx, %rsi
	jne	LBB0_81
	jmp	LBB0_50
LBB0_82:                                ##   in Loop: Header=BB0_46 Depth=1
	movq	%rsi, %rcx
	incq	%rcx
	addq	$4, -144(%rbp)                  ## 8-byte Folded Spill
	cmpl	%esi, -64(%rbp)                 ## 4-byte Folded Reload
	movq	%rcx, %rsi
	jg	LBB0_46
	jmp	LBB0_83
LBB0_62:
	movq	_Z_MEM_ERROR@GOTPCREL(%rip), %rax
LBB0_86:
	movl	(%rax), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_88
## %bb.87:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_88:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BMAX,4,2                       ## @BMAX
	.comm	_Z_NULL,8,3                     ## @Z_NULL
	.comm	_Z_OK,4,2                       ## @Z_OK
	.comm	_Z_DATA_ERROR,4,2               ## @Z_DATA_ERROR
	.comm	_MANY,4,2                       ## @MANY
	.comm	_Z_MEM_ERROR,4,2                ## @Z_MEM_ERROR
	.comm	_Z_BUF_ERROR,4,2                ## @Z_BUF_ERROR
	.no_dead_strip	_huft_build
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function huft_build
_huft_build:                            ; @huft_build
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #80
	ldp	x14, x13, [x29, #16]
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _BMAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BMAX@GOTPAGEOFF]
Lloh5:
	ldr	w12, [x8]
	mov	x15, x12
	sxtw	x19, w12
	add	w25, w12, #1
	lsl	x8, x25, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x20, x10, #0x7fffffff0
	sub	x17, x9, x20
	mov	sp, x17
	lsl	x12, x12, #3
	mov	x9, x12
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x12, #15
	and	x10, x10, #0xffffffff0
	sub	x12, x9, x10
	mov	sp, x12
	mov	x9, x8
Lloh10:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh11:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x8, x8, x20
	mov	sp, x8
	mov	x9, #0
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x17, #32]
	stp	q0, q0, [x17]
	mov	w10, w1
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x11, [x0, x9, lsl #2]
	lsl	x11, x11, #2
	ldr	w16, [x17, x11]
	add	w16, w16, #1
	str	w16, [x17, x11]
	add	x9, x9, #1
	cmp	w10, w9
	b.ne	LBB0_1
; %bb.2:
	ldr	w9, [x17]
	cmp	w9, w10
	b.ne	LBB0_4
; %bb.3:
Lloh12:
	adrp	x8, _Z_NULL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _Z_NULL@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	str	x8, [x5]
	str	wzr, [x6]
Lloh15:
	adrp	x8, _Z_OK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _Z_OK@GOTPAGEOFF]
	b	LBB0_66
LBB0_4:
	ldr	w9, [x6]
	cmp	w15, #1
	b.lt	LBB0_8
; %bb.5:
	mov	w10, #1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x17, x10, lsl #2]
	cbnz	w11, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x10, x10, #1
	cmp	x25, x10
	b.ne	LBB0_6
	b	LBB0_10
LBB0_8:
	mov	w25, #1
	b	LBB0_10
LBB0_9:
	mov	x25, x10
LBB0_10:
	cmp	w9, w25
	csel	w9, w9, w25, gt
	cbz	w15, LBB0_14
; %bb.11:
	add	x10, x17, x19, lsl #2
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10]
	cbnz	w11, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	sub	x10, x10, #4
	sub	w15, w15, #1
	cbnz	w15, LBB0_12
LBB0_14:
	cmp	w9, w15
	csel	w9, w9, w15, lt
	str	w9, [x6]
	mov	w10, #1
	lsl	w10, w10, w25
	cmp	w25, w15
	b.ge	LBB0_18
; %bb.15:
	add	x11, x17, w25, uxtw #2
	mov	x16, x25
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	w6, [x11]
	subs	w10, w10, w6
	b.mi	LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	lsl	w10, w10, #1
	add	x11, x11, #4
	add	w16, w16, #1
	cmp	w15, w16
	b.gt	LBB0_16
LBB0_18:
	ldr	w21, [x17, w15, sxtw #2]
	cmp	w10, w21
	b.ge	LBB0_20
LBB0_19:
Lloh17:
	adrp	x8, _Z_DATA_ERROR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _Z_DATA_ERROR@GOTPAGEOFF]
	b	LBB0_66
LBB0_20:
	stur	x3, [x29, #-144]                ; 8-byte Folded Spill
	sxtw	x11, w15
	str	w10, [x17, x11, lsl #2]
	str	wzr, [x8, #4]
	subs	w16, w15, #1
	b.eq	LBB0_23
; %bb.21:
	mov	w20, #0
	add	x3, x8, #8
	add	x19, x17, #4
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ldr	w6, [x19], #4
	add	w20, w6, w20
	str	w20, [x3], #4
	subs	w16, w16, #1
	b.ne	LBB0_22
LBB0_23:
	mov	x16, #0
	cmp	w1, #1
	csinc	w1, w1, wzr, gt
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=1
	add	x16, x16, #1
	cmp	w1, w16
	b.eq	LBB0_27
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	ldrsw	x3, [x0, x16, lsl #2]
	cbz	w3, LBB0_24
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	lsl	x19, x3, #2
	ldrsw	x3, [x8, x19]
	add	w6, w3, #1
	str	w6, [x8, x19]
	str	w16, [x13, x3, lsl #2]
	b	LBB0_24
LBB0_27:
	stur	w2, [x29, #-124]                ; 4-byte Folded Spill
	stur	x4, [x29, #-136]                ; 8-byte Folded Spill
	stur	x5, [x29, #-96]                 ; 8-byte Folded Spill
	ldrsw	x11, [x8, x11, lsl #2]
	str	wzr, [x8]
Lloh19:
	adrp	x16, _Z_NULL@GOTPAGE
Lloh20:
	ldr	x16, [x16, _Z_NULL@GOTPAGEOFF]
Lloh21:
	ldr	x23, [x16]
	str	x23, [x12]
	cmp	w25, w15
	b.le	LBB0_29
LBB0_28:
	cmp	w15, #1
	ccmp	w10, w21, #4, ne
Lloh22:
	adrp	x8, _Z_BUF_ERROR@GOTPAGE
Lloh23:
	ldr	x8, [x8, _Z_BUF_ERROR@GOTPAGEOFF]
Lloh24:
	adrp	x9, _Z_OK@GOTPAGE
Lloh25:
	ldr	x9, [x9, _Z_OK@GOTPAGEOFF]
	csel	x8, x8, x9, ne
	b	LBB0_66
LBB0_29:
	mov	w28, #0
	mov	w16, #0
	neg	w3, w9
	sxtw	x5, w9
	add	x0, x17, w25, uxtw #2
	add	x0, x0, #4
	stur	x0, [x29, #-104]                ; 8-byte Folded Spill
	sub	x0, x8, #4
	stur	x0, [x29, #-152]                ; 8-byte Folded Spill
	mov	w20, #-1
	mov	w22, #1
                                        ; implicit-def: $w26
	mov	x19, x3
	mov	w24, #-1
	add	x11, x13, x11, lsl #2
	stur	x11, [x29, #-120]               ; 8-byte Folded Spill
	mov	w25, w25
	stur	w21, [x29, #-156]               ; 4-byte Folded Spill
LBB0_30:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_34 Depth 2
                                        ;       Child Loop BB0_38 Depth 3
                                        ;         Child Loop BB0_42 Depth 4
                                        ;       Child Loop BB0_57 Depth 3
                                        ;       Child Loop BB0_59 Depth 3
                                        ;       Child Loop BB0_62 Depth 3
	ldr	w27, [x17, x25, lsl #2]
	cbz	w27, LBB0_63
; %bb.31:                               ;   in Loop: Header=BB0_30 Depth=1
	sub	w11, w25, #1
	lsl	w4, w22, w11
	stur	w4, [x29, #-108]                ; 4-byte Folded Spill
	b	LBB0_34
LBB0_32:                                ;   in Loop: Header=BB0_34 Depth=2
	mov	x11, x19
LBB0_33:                                ;   in Loop: Header=BB0_34 Depth=2
	mov	x19, x11
	cbz	w27, LBB0_64
LBB0_34:                                ;   Parent Loop BB0_30 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_38 Depth 3
                                        ;         Child Loop BB0_42 Depth 4
                                        ;       Child Loop BB0_57 Depth 3
                                        ;       Child Loop BB0_59 Depth 3
                                        ;       Child Loop BB0_62 Depth 3
	add	w30, w19, w9
	cmp	w30, w25
	b.ge	LBB0_48
; %bb.35:                               ;   in Loop: Header=BB0_34 Depth=2
	sub	w4, w15, w30
	sxtw	x2, w24
	b	LBB0_38
LBB0_36:                                ;   in Loop: Header=BB0_38 Depth=3
	ldur	x1, [x29, #-96]                 ; 8-byte Folded Reload
	str	x23, [x1]
LBB0_37:                                ;   in Loop: Header=BB0_38 Depth=3
	sub	w4, w4, w9
	add	w30, w0, w9
	cmp	w30, w25
	mov	x2, x24
	mov	x19, x0
	b.ge	LBB0_49
LBB0_38:                                ;   Parent Loop BB0_30 Depth=1
                                        ;     Parent Loop BB0_34 Depth=2
                                        ; =>    This Loop Header: Depth=3
                                        ;         Child Loop BB0_42 Depth 4
	mov	x0, x30
	cmp	w9, w4
	csel	w23, w9, w4, lt
	sub	w11, w15, w30
	cmp	w11, w9
	csel	w28, w11, w9, lt
	sub	w11, w25, w30
	lsl	w6, w22, w11
	mov	x30, x11
	subs	w24, w6, w27
	b.le	LBB0_45
; %bb.39:                               ;   in Loop: Header=BB0_38 Depth=3
	mov	x30, x11
	cmp	w11, w28
	b.ge	LBB0_45
; %bb.40:                               ;   in Loop: Header=BB0_38 Depth=3
	add	w30, w11, #1
	cmp	w30, w28
	b.ge	LBB0_45
; %bb.41:                               ;   in Loop: Header=BB0_38 Depth=3
	ldur	x6, [x29, #-104]                ; 8-byte Folded Reload
LBB0_42:                                ;   Parent Loop BB0_30 Depth=1
                                        ;     Parent Loop BB0_34 Depth=2
                                        ;       Parent Loop BB0_38 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
	lsl	w21, w24, #1
	ldr	w24, [x6]
	subs	w24, w21, w24
	b.le	LBB0_45
; %bb.43:                               ;   in Loop: Header=BB0_42 Depth=4
	add	w30, w30, #1
	add	x6, x6, #4
	cmp	w30, w28
	b.lt	LBB0_42
; %bb.44:                               ;   in Loop: Header=BB0_38 Depth=3
	mov	x30, x23
LBB0_45:                                ;   in Loop: Header=BB0_38 Depth=3
	lsl	w28, w22, w30
	ldrsw	x6, [x14]
Lloh26:
	adrp	x1, _MANY@GOTPAGE
Lloh27:
	ldr	x1, [x1, _MANY@GOTPAGEOFF]
Lloh28:
	ldr	w23, [x1]
	add	w21, w6, w28
	cmp	w21, w23
	b.gt	LBB0_65
; %bb.46:                               ;   in Loop: Header=BB0_38 Depth=3
	add	x23, x7, x6, lsl #4
	str	w21, [x14]
	add	x24, x2, #1
	str	x23, [x12, x24, lsl #3]
	cbz	w24, LBB0_36
; %bb.47:                               ;   in Loop: Header=BB0_38 Depth=3
	str	w16, [x8, x24, lsl #2]
	asr	w6, w16, w19
	ldr	x2, [x12, x2, lsl #3]
	sub	x19, x23, x2
	lsr	x19, x19, #4
	sub	w26, w19, w6
	add	x2, x2, w6, sxtw #4
	stp	w30, w26, [x2]
	str	x5, [x2, #8]
	b	LBB0_37
LBB0_48:                                ;   in Loop: Header=BB0_34 Depth=2
	sub	w11, w25, w19
	b	LBB0_50
LBB0_49:                                ;   in Loop: Header=BB0_34 Depth=2
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
	mov	x19, x0
LBB0_50:                                ;   in Loop: Header=BB0_34 Depth=2
	ldur	x0, [x29, #-120]                ; 8-byte Folded Reload
	cmp	x13, x0
	b.hs	LBB0_53
; %bb.51:                               ;   in Loop: Header=BB0_34 Depth=2
	ldr	w26, [x13]
	ldur	w0, [x29, #-124]                ; 4-byte Folded Reload
	subs	w0, w26, w0
	b.ge	LBB0_54
; %bb.52:                               ;   in Loop: Header=BB0_34 Depth=2
	cmp	w26, #256
	mov	w0, #96
	csel	w0, wzr, w0, lt
	add	x13, x13, #4
	b	LBB0_55
LBB0_53:                                ;   in Loop: Header=BB0_34 Depth=2
	mov	w0, #192
	b	LBB0_55
LBB0_54:                                ;   in Loop: Header=BB0_34 Depth=2
	sbfiz	x2, x0, #2, #32
	ldp	x1, x0, [x29, #-144]            ; 16-byte Folded Reload
	ldr	w0, [x0, x2]
	add	w0, w0, #80
	add	x13, x13, #4
	ldr	w26, [x1, x2]
LBB0_55:                                ;   in Loop: Header=BB0_34 Depth=2
	asr	w21, w16, w19
	cmp	w21, w28
	b.ge	LBB0_58
; %bb.56:                               ;   in Loop: Header=BB0_34 Depth=2
	sxtw	x11, w11
	lsl	w1, w22, w11
	sxtw	x2, w21
	sxtw	x4, w1
	sxtw	x6, w28
	add	x21, x23, w21, sxtw #4
	add	x30, x21, #4
	sbfiz	x21, x1, #4, #32
LBB0_57:                                ;   Parent Loop BB0_30 Depth=1
                                        ;     Parent Loop BB0_34 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	stp	w0, w26, [x30, #-4]
	stur	x11, [x30, #4]
	add	x30, x30, x21
	add	x2, x2, x4
	cmp	x2, x6
	b.lt	LBB0_57
LBB0_58:                                ;   in Loop: Header=BB0_34 Depth=2
	ldur	w4, [x29, #-108]                ; 4-byte Folded Reload
	mov	x11, x4
	tst	w4, w16
	b.eq	LBB0_60
LBB0_59:                                ;   Parent Loop BB0_30 Depth=1
                                        ;     Parent Loop BB0_34 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	eor	w16, w11, w16
	asr	w11, w11, #1
	tst	w11, w16
	b.ne	LBB0_59
LBB0_60:                                ;   in Loop: Header=BB0_34 Depth=2
	sub	w27, w27, #1
	eor	w16, w11, w16
	lsl	w11, w20, w19
	bic	w11, w16, w11
	ldr	w0, [x8, w24, sxtw #2]
	cmp	w11, w0
	b.eq	LBB0_32
; %bb.61:                               ;   in Loop: Header=BB0_34 Depth=2
	mov	x11, x24
	sxtw	x11, w11
	ldur	x0, [x29, #-152]                ; 8-byte Folded Reload
	add	x0, x0, x11, lsl #2
LBB0_62:                                ;   Parent Loop BB0_30 Depth=1
                                        ;     Parent Loop BB0_34 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	sub	w11, w19, w9
	add	w1, w3, w19
	lsl	w1, w20, w1
	bic	w1, w16, w1
	ldr	w2, [x0], #-4
	sub	w24, w24, #1
	mov	x19, x11
	cmp	w1, w2
	b.ne	LBB0_62
	b	LBB0_33
LBB0_63:                                ;   in Loop: Header=BB0_30 Depth=1
	mov	x11, x19
LBB0_64:                                ;   in Loop: Header=BB0_30 Depth=1
	add	x0, x25, #1
	ldur	x1, [x29, #-104]                ; 8-byte Folded Reload
	add	x1, x1, #4
	stur	x1, [x29, #-104]                ; 8-byte Folded Spill
	mov	x19, x11
	cmp	w15, w25
	mov	x25, x0
	ldur	w21, [x29, #-156]               ; 4-byte Folded Reload
	b.gt	LBB0_30
	b	LBB0_28
LBB0_65:
Lloh29:
	adrp	x8, _Z_MEM_ERROR@GOTPAGE
Lloh30:
	ldr	x8, [x8, _Z_MEM_ERROR@GOTPAGEOFF]
LBB0_66:
	ldr	w0, [x8]
	ldur	x8, [x29, #-88]
Lloh31:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh32:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_68
; %bb.67:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_68:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_BMAX,4,2                       ; @BMAX
	.comm	_Z_NULL,8,3                     ; @Z_NULL
	.comm	_Z_OK,4,2                       ; @Z_OK
	.comm	_Z_DATA_ERROR,4,2               ; @Z_DATA_ERROR
	.comm	_MANY,4,2                       ; @MANY
	.comm	_Z_MEM_ERROR,4,2                ; @Z_MEM_ERROR
	.comm	_Z_BUF_ERROR,4,2                ; @Z_BUF_ERROR
	.no_dead_strip	_huft_build
.subsections_via_symbols
