	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function BZ2_hbMakeCodeLengths
LCPI0_0:
	.long	256                             ## 0x100
	.long	256                             ## 0x100
	.long	256                             ## 0x100
	.long	256                             ## 0x100
LCPI0_1:
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	255                             ## 0xff
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	255                             ## 0xff
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	255                             ## 0xff
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	255                             ## 0xff
	.byte	255                             ## 0xff
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_BZ2_hbMakeCodeLengths
	.p2align	4, 0x90
_BZ2_hbMakeCodeLengths:                 ## @BZ2_hbMakeCodeLengths
	.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	$184, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_BZ_MAX_ALPHA_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leal	2(%rbx), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rax
	addl	%eax, %eax
	shlq	$2, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	callq	____chkstk_darwin
	movq	%rbx, %rdi
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rax
	movl	%r15d, %r9d
	testl	%r15d, %r15d
	jle	LBB0_12
## %bb.1:
	cmpl	$8, %r15d
	jae	LBB0_3
## %bb.2:
	xorl	%ebx, %ebx
	jmp	LBB0_10
LBB0_3:
	movl	%r9d, %ebx
	andl	$-8, %ebx
	leaq	-8(%rbx), %rcx
	movq	%rcx, %rdx
	shrq	$3, %rdx
	incq	%rdx
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.5:
	movq	%rdx, %rsi
	andq	$-2, %rsi
	xorl	%ecx, %ecx
	pxor	%xmm2, %xmm2
	movaps	LCPI0_0(%rip), %xmm3            ## xmm3 = [256,256,256,256]
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	(%r13,%rcx,4), %xmm4
	movdqu	16(%r13,%rcx,4), %xmm5
	movdqa	%xmm4, %xmm0
	pcmpeqd	%xmm2, %xmm0
	movdqa	%xmm5, %xmm1
	pcmpeqd	%xmm2, %xmm1
	pslld	$8, %xmm4
	pslld	$8, %xmm5
	blendvps	%xmm0, %xmm3, %xmm4
	movdqa	%xmm1, %xmm0
	blendvps	%xmm0, %xmm3, %xmm5
	movups	%xmm4, 4(%rdi,%rcx,4)
	movups	%xmm5, 20(%rdi,%rcx,4)
	movdqu	32(%r13,%rcx,4), %xmm4
	movdqu	48(%r13,%rcx,4), %xmm5
	movdqa	%xmm4, %xmm0
	pcmpeqd	%xmm2, %xmm0
	movdqa	%xmm5, %xmm1
	pcmpeqd	%xmm2, %xmm1
	pslld	$8, %xmm4
	pslld	$8, %xmm5
	blendvps	%xmm0, %xmm3, %xmm4
	movdqa	%xmm1, %xmm0
	blendvps	%xmm0, %xmm3, %xmm5
	movups	%xmm4, 36(%rdi,%rcx,4)
	movups	%xmm5, 52(%rdi,%rcx,4)
	addq	$16, %rcx
	addq	$-2, %rsi
	jne	LBB0_6
## %bb.7:
	testb	$1, %dl
	je	LBB0_9
LBB0_8:
	movdqu	(%r13,%rcx,4), %xmm2
	movdqu	16(%r13,%rcx,4), %xmm3
	pxor	%xmm1, %xmm1
	movdqa	%xmm2, %xmm0
	pcmpeqd	%xmm1, %xmm0
	pcmpeqd	%xmm3, %xmm1
	pslld	$8, %xmm2
	pslld	$8, %xmm3
	movaps	LCPI0_0(%rip), %xmm4            ## xmm4 = [256,256,256,256]
	blendvps	%xmm0, %xmm4, %xmm2
	movdqa	%xmm1, %xmm0
	blendvps	%xmm0, %xmm4, %xmm3
	leaq	(,%rcx,4), %rcx
	orq	$4, %rcx
	movups	%xmm2, (%rdi,%rcx)
	movups	%xmm3, 16(%rdi,%rcx)
LBB0_9:
	cmpq	%r9, %rbx
	je	LBB0_12
LBB0_10:
	movl	$256, %ecx                      ## imm = 0x100
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13,%rbx,4), %edx
	movl	%edx, %esi
	shll	$8, %esi
	testl	%edx, %edx
	cmovel	%ecx, %esi
	movl	%esi, 4(%rdi,%rbx,4)
	incq	%rbx
	cmpq	%rbx, %r9
	jne	LBB0_11
LBB0_12:
	movq	_True@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	_BZ_MAX_ALPHA_SIZE@GOTPCREL(%rip), %r13
	je	LBB0_50
## %bb.13:
	movslq	%r15d, %rcx
	leal	1(%r15), %r11d
	leaq	-1(%r11), %rsi
	movq	%rsi, %rdx
	andq	$-2, %rdx
	movq	%rdx, -168(%rbp)                ## 8-byte Spill
	movq	%rsi, %rdx
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	andq	$-8, %rsi
	movq	%rsi, -120(%rbp)                ## 8-byte Spill
	leaq	1(%rsi), %rdx
	movq	%rdx, -112(%rbp)                ## 8-byte Spill
	movq	%r9, %rdx
	negq	%rdx
	movq	%rdx, -208(%rbp)                ## 8-byte Spill
	movq	%rbx, %rdx
	addq	$-4, %rdx
	movq	%rdx, -128(%rbp)                ## 8-byte Spill
	leaq	(%rdi,%rcx,4), %rdx
	movq	%rdx, -184(%rbp)                ## 8-byte Spill
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	leaq	(%rax,%rcx,4), %rcx
	movq	%rcx, -176(%rbp)                ## 8-byte Spill
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%r14d, -60(%rbp)                ## 4-byte Spill
	movq	%r15, -144(%rbp)                ## 8-byte Spill
	movq	%r12, -160(%rbp)                ## 8-byte Spill
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	%r9, -96(%rbp)                  ## 8-byte Spill
	movq	%r11, -152(%rbp)                ## 8-byte Spill
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_15 Depth=1
	cmpq	$0, (%r10)
	je	LBB0_50
LBB0_15:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_17 Depth 2
                                        ##     Child Loop BB0_21 Depth 2
                                        ##     Child Loop BB0_27 Depth 2
                                        ##       Child Loop BB0_28 Depth 3
                                        ##       Child Loop BB0_32 Depth 3
                                        ##     Child Loop BB0_38 Depth 2
                                        ##     Child Loop BB0_45 Depth 2
                                        ##     Child Loop BB0_47 Depth 2
	movl	$0, (%rbx)
	movl	$0, (%rdi)
	movl	$-2, (%rax)
	movl	$0, %r12d
	testl	%r15d, %r15d
	jle	LBB0_19
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%rbx, %r13
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_17:                                ##   Parent Loop BB0_15 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	$-1, (%rax,%rbx,4)
	movl	%ebx, (%r13,%rbx,4)
	movl	%ebx, %edi
	callq	_UPHEAP
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-208(%rbp), %rcx                ## 8-byte Reload
	addq	%rbx, %rcx
	incq	%rcx
	incq	%rbx
	cmpq	$1, %rcx
	jne	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	%r15d, %r12d
	movq	%r13, %rbx
	movq	_BZ_MAX_ALPHA_SIZE@GOTPCREL(%rip), %r13
LBB0_19:                                ##   in Loop: Header=BB0_15 Depth=1
	movl	(%r13), %eax
	addl	$2, %eax
	xorl	%edi, %edi
	movq	%r12, %r14
	cmpl	%eax, %r14d
	setl	%dil
	movl	$2001, %esi                     ## imm = 0x7D1
	callq	_AssertH
	movl	%r15d, %eax
	cmpl	$2, %r14d
	movl	-60(%rbp), %r14d                ## 4-byte Reload
	jl	LBB0_23
## %bb.20:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	%r12d, %ecx
	movl	(%rbx,%rcx,4), %r13d
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movq	%rcx, -192(%rbp)                ## 8-byte Spill
	leaq	(%rax,%rcx,4), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	decl	%r12d
	movq	%r12, -200(%rbp)                ## 8-byte Spill
	movl	$1, %r15d
	xorl	%r12d, %r12d
	movq	-136(%rbp), %r14                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_21:                                ##   Parent Loop BB0_15 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	4(%rbx), %rax
	movq	%rax, -216(%rbp)                ## 8-byte Spill
	movl	%r13d, 4(%rbx)
	movl	$1, %edi
	callq	_DOWNHEAP
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	(%rax,%r12,4), %eax
	movl	%eax, 4(%rbx)
	movl	$1, %edi
	callq	_DOWNHEAP
	incq	%r14
	movslq	%r13d, %rax
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	leal	(%rcx,%r15), %ebx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%ebx, (%rcx,%rax,4)
	movq	-216(%rbp), %rdx                ## 8-byte Reload
	movl	%ebx, (%rcx,%rdx,4)
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx,%rdx,4), %edi
	movl	(%rcx,%rax,4), %esi
	callq	_ADDWEIGHTS
	movq	-184(%rbp), %rcx                ## 8-byte Reload
	movl	%eax, (%rcx,%r15,4)
	movq	-176(%rbp), %rax                ## 8-byte Reload
	movl	$-1, (%rax,%r15,4)
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	%ebx, (%rax,%r12,4)
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	-200(%rbp), %rax                ## 8-byte Reload
	leal	(%rax,%r12), %edi
	callq	_UPHEAP
	movq	-192(%rbp), %rax                ## 8-byte Reload
	addq	%r12, %rax
	decq	%rax
	decq	%r12
	incq	%rax
	incq	%r15
	movl	%r14d, %r13d
	cmpq	$2, %rax
	ja	LBB0_21
## %bb.22:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	-96(%rbp), %rax                 ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax
	subl	%r12d, %eax
	movl	-60(%rbp), %r14d                ## 4-byte Reload
	movq	-144(%rbp), %r15                ## 8-byte Reload
	movq	_BZ_MAX_ALPHA_SIZE@GOTPCREL(%rip), %r13
LBB0_23:                                ##   in Loop: Header=BB0_15 Depth=1
	movl	(%r13), %ecx
	addl	%ecx, %ecx
	xorl	%edi, %edi
	cmpl	%ecx, %eax
	setl	%dil
	movl	$2002, %esi                     ## imm = 0x7D2
	callq	_AssertH
	movq	_False@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	testl	%r15d, %r15d
	jle	LBB0_48
## %bb.24:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	$1, %ecx
	movq	-152(%rbp), %r11                ## 8-byte Reload
	cmpl	$2, %r11d
	movdqa	LCPI0_1(%rip), %xmm4            ## xmm4 = [0,255,255,255,0,255,255,255,0,255,255,255,0,255,255,255]
	movdqa	LCPI0_0(%rip), %xmm5            ## xmm5 = [256,256,256,256]
	movq	-160(%rbp), %r12                ## 8-byte Reload
	jne	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	_True@GOTPCREL(%rip), %r10
LBB0_36:                                ##   in Loop: Header=BB0_15 Depth=1
	testb	$1, -72(%rbp)                   ## 1-byte Folded Reload
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	je	LBB0_41
## %bb.37:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	$-1, %edx
	movl	%ecx, %esi
	.p2align	4, 0x90
LBB0_38:                                ##   Parent Loop BB0_15 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	%esi, %rsi
	movl	(%rax,%rsi,4), %esi
	incl	%edx
	testl	%esi, %esi
	jns	LBB0_38
## %bb.39:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	%edx, -4(%r12,%rcx,4)
	cmpl	%r14d, %edx
	jle	LBB0_41
## %bb.40:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	(%r10), %r8
LBB0_41:                                ##   in Loop: Header=BB0_15 Depth=1
	testq	%r8, %r8
	je	LBB0_50
## %bb.42:                              ##   in Loop: Header=BB0_15 Depth=1
	testl	%r15d, %r15d
	jle	LBB0_14
## %bb.43:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	$1, %esi
	cmpq	$8, -72(%rbp)                   ## 8-byte Folded Reload
	jb	LBB0_47
## %bb.44:                              ##   in Loop: Header=BB0_15 Depth=1
	xorl	%ecx, %ecx
	movq	-120(%rbp), %rdx                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_45:                                ##   Parent Loop BB0_15 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	4(%rdi,%rcx,4), %xmm0
	movdqu	20(%rdi,%rcx,4), %xmm1
	movdqa	%xmm0, %xmm2
	psrad	$8, %xmm2
	movdqa	%xmm1, %xmm3
	psrad	$8, %xmm3
	psrld	$31, %xmm0
	paddd	%xmm2, %xmm0
	pslld	$7, %xmm0
	pand	%xmm4, %xmm0
	psrld	$31, %xmm1
	paddd	%xmm3, %xmm1
	pslld	$7, %xmm1
	pand	%xmm4, %xmm1
	paddd	%xmm5, %xmm0
	paddd	%xmm5, %xmm1
	movdqu	%xmm0, 4(%rdi,%rcx,4)
	movdqu	%xmm1, 20(%rdi,%rcx,4)
	addq	$8, %rcx
	cmpq	%rcx, %rdx
	jne	LBB0_45
## %bb.46:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	cmpq	%rdx, -72(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_14
	.p2align	4, 0x90
LBB0_47:                                ##   Parent Loop BB0_15 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rdi,%rsi,4), %ecx
	movl	%ecx, %edx
	sarl	$8, %edx
	shrl	$31, %ecx
	addl	%edx, %ecx
	andl	$-2, %ecx
	shll	$7, %ecx
	addl	$256, %ecx                      ## imm = 0x100
	movl	%ecx, (%rdi,%rsi,4)
	incq	%rsi
	cmpq	%rsi, %r11
	jne	LBB0_47
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_48:                                ##   in Loop: Header=BB0_15 Depth=1
	testq	%r8, %r8
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	_True@GOTPCREL(%rip), %rcx
	je	LBB0_50
## %bb.49:                              ##   in Loop: Header=BB0_15 Depth=1
	cmpq	$0, (%rcx)
	jne	LBB0_15
	jmp	LBB0_50
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_15 Depth=1
	movl	$1, %ecx
	xorl	%edx, %edx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	_True@GOTPCREL(%rip), %r10
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_35:                                ##   in Loop: Header=BB0_27 Depth=2
	addq	$2, %rcx
	addq	$2, %rdx
	cmpq	-168(%rbp), %rdx                ## 8-byte Folded Reload
	je	LBB0_36
LBB0_27:                                ##   Parent Loop BB0_15 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_28 Depth 3
                                        ##       Child Loop BB0_32 Depth 3
	movl	$-1, %esi
	movl	%ecx, %edi
	.p2align	4, 0x90
LBB0_28:                                ##   Parent Loop BB0_15 Depth=1
                                        ##     Parent Loop BB0_27 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movslq	%edi, %rdi
	movl	(%rax,%rdi,4), %edi
	incl	%esi
	testl	%edi, %edi
	jns	LBB0_28
## %bb.29:                              ##   in Loop: Header=BB0_27 Depth=2
	movl	%esi, -4(%r12,%rcx,4)
	cmpl	%r14d, %esi
	jle	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_27 Depth=2
	movq	(%r10), %r8
LBB0_31:                                ##   in Loop: Header=BB0_27 Depth=2
	leal	1(%rcx), %edi
	movl	$-1, %esi
	.p2align	4, 0x90
LBB0_32:                                ##   Parent Loop BB0_15 Depth=1
                                        ##     Parent Loop BB0_27 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movslq	%edi, %rdi
	movl	(%rax,%rdi,4), %edi
	incl	%esi
	testl	%edi, %edi
	jns	LBB0_32
## %bb.33:                              ##   in Loop: Header=BB0_27 Depth=2
	movl	%esi, (%r12,%rcx,4)
	cmpl	%r14d, %esi
	jle	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_27 Depth=2
	movq	(%r10), %r8
	jmp	LBB0_35
LBB0_50:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_52
## %bb.51:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	xorl	%ecx, %ecx
	testb	$1, %dl
	jne	LBB0_8
	jmp	LBB0_9
LBB0_52:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BZ_MAX_ALPHA_SIZE,4,2          ## @BZ_MAX_ALPHA_SIZE
	.comm	_True,8,3                       ## @True
	.comm	_False,8,3                      ## @False
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BZ2_hbMakeCodeLengths          ; -- Begin function BZ2_hbMakeCodeLengths
	.p2align	2
_BZ2_hbMakeCodeLengths:                 ; @BZ2_hbMakeCodeLengths
	.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, #144
	mov	x20, x3
	mov	x23, x2
	mov	x24, x0
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	x25, _BZ_MAX_ALPHA_SIZE@GOTPAGE
Lloh4:
	ldr	x25, [x25, _BZ_MAX_ALPHA_SIZE@GOTPAGEOFF]
	ldr	w12, [x25]
	add	w8, w12, #2
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x27, x9, x8
	mov	sp, x27
	lsl	w8, w12, #1
	lsl	x8, x8, #2
	mov	x9, x8
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x12, x10, #0x7fffffff0
	sub	x21, x9, x12
	mov	sp, x21
	mov	x9, x8
Lloh9:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh10:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x26, x8, x12
	mov	sp, x26
	mov	w28, w2
	cmp	w2, #1
	b.lt	LBB0_8
; %bb.1:
	cmp	w23, #16
	b.hs	LBB0_3
; %bb.2:
	mov	x8, #0
	b	LBB0_6
LBB0_3:
	and	x8, x28, #0xfffffff0
	add	x9, x1, #32
	add	x10, x21, #36
	movi.4s	v0, #1, lsl #8
	mov	x11, x8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q1, q2, [x9, #-32]
	ldp	q3, q4, [x9], #64
	cmeq.4s	v5, v1, #0
	cmeq.4s	v6, v2, #0
	cmeq.4s	v7, v3, #0
	cmeq.4s	v16, v4, #0
	shl.4s	v1, v1, #8
	shl.4s	v2, v2, #8
	shl.4s	v3, v3, #8
	shl.4s	v4, v4, #8
	bit.16b	v1, v0, v5
	bit.16b	v2, v0, v6
	bit.16b	v3, v0, v7
	stp	q1, q2, [x10, #-32]
	mov.16b	v1, v16
	bsl.16b	v1, v0, v4
	stp	q3, q1, [x10], #64
	subs	x11, x11, #16
	b.ne	LBB0_4
; %bb.5:
	cmp	x8, x28
	b.eq	LBB0_8
LBB0_6:
	lsl	x10, x8, #2
	add	x9, x1, x10
	sub	x8, x28, x8
	add	x10, x10, x21
	add	x10, x10, #4
	mov	w11, #256
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x9], #4
	lsl	w13, w12, #8
	cmp	w12, #0
	csel	w12, w11, w13, eq
	str	w12, [x10], #4
	subs	x8, x8, #1
	b.ne	LBB0_7
LBB0_8:
Lloh11:
	adrp	x8, _True@GOTPAGE
Lloh12:
	ldr	x8, [x8, _True@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cbz	x8, LBB0_35
; %bb.9:
	sxtw	x9, w23
	add	w13, w23, #1
	sub	x8, x13, #1
	stp	x8, x13, [x29, #-160]           ; 16-byte Folded Spill
	and	x8, x8, #0xfffffffffffffffc
	stur	x8, [x29, #-208]                ; 8-byte Folded Spill
	orr	x10, x8, #0x1
	add	x19, x26, #4
	add	x11, x27, #4
	sub	x8, x27, #4
	stp	x8, x9, [x29, #-200]            ; 16-byte Folded Spill
	sbfiz	x8, x23, #2, #32
	add	x14, x21, x8
	add	x15, x26, x8
	add	x8, x21, #4
	stp	x8, x10, [x29, #-224]           ; 16-byte Folded Spill
	mov	w16, #-1
	stp	x19, x15, [x29, #-144]          ; 16-byte Folded Spill
	stp	x28, x11, [x29, #-104]          ; 16-byte Folded Spill
	stur	w20, [x29, #-164]               ; 4-byte Folded Spill
	stp	x24, x23, [x29, #-184]          ; 16-byte Folded Spill
	stur	x14, [x29, #-128]               ; 8-byte Folded Spill
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
Lloh14:
	adrp	x9, _True@GOTPAGE
Lloh15:
	ldr	x9, [x9, _True@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x8, #0
	ccmp	x9, #0, #4, ne
	ldur	x19, [x29, #-144]               ; 8-byte Folded Reload
	ldur	x11, [x29, #-96]                ; 8-byte Folded Reload
	mov	w16, #-1
	b.eq	LBB0_35
LBB0_11:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
                                        ;     Child Loop BB0_18 Depth 2
                                        ;     Child Loop BB0_22 Depth 2
                                        ;       Child Loop BB0_23 Depth 3
                                        ;     Child Loop BB0_30 Depth 2
                                        ;     Child Loop BB0_33 Depth 2
	str	wzr, [x27]
	str	wzr, [x21]
	mov	w8, #-2
	str	w8, [x26]
	cmp	w23, #1
	b.lt	LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x22, #0
LBB0_13:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x8, x22, #2
	str	w16, [x19, x8]
	add	x22, x22, #1
	str	w22, [x11, x8]
	mov	x0, x22
	bl	_UPHEAP
	mov	w16, #-1
	ldur	x11, [x29, #-96]                ; 8-byte Folded Reload
	cmp	x28, x22
	b.ne	LBB0_13
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x19, x28
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	w19, #0
LBB0_16:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	w8, [x25]
	add	w8, w8, #2
	cmp	w19, w8
	cset	w0, lt
	mov	w1, #2001
	bl	_AssertH
	mov	x8, x23
	subs	w9, w19, #1
	b.le	LBB0_20
; %bb.17:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x22, #0
	mov	w8, w19
	stp	x9, x8, [x29, #-120]            ; 16-byte Folded Spill
	lsl	x8, x8, #2
	mov	x19, x21
	mov	x21, x27
	ldr	w28, [x27, x8]
	ldp	x9, x25, [x29, #-200]           ; 16-byte Folded Reload
	add	x23, x9, x8
	mov	w20, #1
LBB0_18:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsw	x27, [x21, #4]
	str	w28, [x21, #4]
	mov	w0, #1
	bl	_DOWNHEAP
	lsl	x24, x22, #2
	ldr	w8, [x23, x24]
	str	w8, [x21, #4]
	mov	w0, #1
	bl	_DOWNHEAP
	add	x25, x25, #1
	sbfiz	x8, x28, #2, #32
	ldur	x9, [x29, #-104]                ; 8-byte Folded Reload
	add	w28, w9, w20
	str	w28, [x26, x8]
	lsl	x9, x27, #2
	str	w28, [x26, x9]
	ldr	w0, [x19, x9]
	ldr	w1, [x19, x8]
	bl	_ADDWEIGHTS
	lsl	x8, x20, #2
	ldur	x9, [x29, #-128]                ; 8-byte Folded Reload
	str	w0, [x9, x8]
	ldur	x9, [x29, #-136]                ; 8-byte Folded Reload
	mov	w10, #-1
	str	w10, [x9, x8]
	str	w28, [x23, x24]
	ldur	x8, [x29, #-120]                ; 8-byte Folded Reload
	add	w0, w8, w22
	bl	_UPHEAP
	sub	x22, x22, #1
	ldur	x8, [x29, #-112]                ; 8-byte Folded Reload
	add	x8, x8, x22
	add	x8, x8, #1
	add	x20, x20, #1
	mov	x28, x25
	cmp	x8, #2
	b.hi	LBB0_18
; %bb.19:                               ;   in Loop: Header=BB0_11 Depth=1
	ldur	x28, [x29, #-104]               ; 8-byte Folded Reload
	sub	w8, w28, w22
	ldur	w20, [x29, #-164]               ; 4-byte Folded Reload
	ldp	x24, x23, [x29, #-184]          ; 16-byte Folded Reload
Lloh17:
	adrp	x25, _BZ_MAX_ALPHA_SIZE@GOTPAGE
Lloh18:
	ldr	x25, [x25, _BZ_MAX_ALPHA_SIZE@GOTPAGEOFF]
	mov	x27, x21
	mov	x21, x19
LBB0_20:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	w9, [x25]
	cmp	w8, w9, lsl #1
	cset	w0, lt
	mov	w1, #2002
	bl	_AssertH
Lloh19:
	adrp	x8, _False@GOTPAGE
Lloh20:
	ldr	x8, [x8, _False@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	cmp	w23, #1
	b.lt	LBB0_10
; %bb.21:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	w9, #1
Lloh22:
	adrp	x12, _True@GOTPAGE
Lloh23:
	ldr	x12, [x12, _True@GOTPAGEOFF]
	ldp	x13, x19, [x29, #-152]          ; 16-byte Folded Reload
	mov	w16, #-1
	movi.4s	v2, #1, lsl #8
LBB0_22:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_23 Depth 3
	mov	w10, #-1
	mov	x11, x9
LBB0_23:                                ;   Parent Loop BB0_11 Depth=1
                                        ;     Parent Loop BB0_22 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w11, [x26, w11, sxtw #2]
	add	w10, w10, #1
	tbz	w11, #31, LBB0_23
; %bb.24:                               ;   in Loop: Header=BB0_22 Depth=2
	add	x11, x24, x9, lsl #2
	stur	w10, [x11, #-4]
	ldr	x11, [x12]
	cmp	w10, w20
	csel	x8, x11, x8, gt
	add	x9, x9, #1
	cmp	x9, x13
	b.ne	LBB0_22
; %bb.25:                               ;   in Loop: Header=BB0_11 Depth=1
	ldur	x11, [x29, #-96]                ; 8-byte Folded Reload
	cbz	x8, LBB0_35
; %bb.26:                               ;   in Loop: Header=BB0_11 Depth=1
	cmp	w23, #1
	b.lt	LBB0_34
; %bb.27:                               ;   in Loop: Header=BB0_11 Depth=1
	ldur	x8, [x29, #-160]                ; 8-byte Folded Reload
	cmp	x8, #4
	b.hs	LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	w9, #1
	b	LBB0_32
LBB0_29:                                ;   in Loop: Header=BB0_11 Depth=1
	ldur	x8, [x29, #-208]                ; 8-byte Folded Reload
	ldur	x9, [x29, #-224]                ; 8-byte Folded Reload
LBB0_30:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	q0, [x9]
	sshr.4s	v1, v0, #8
	ushr.4s	v0, v0, #31
	shadd.4s	v0, v1, v0
	shl.4s	v0, v0, #8
	add.4s	v0, v0, v2
	str	q0, [x9], #16
	subs	x8, x8, #4
	b.ne	LBB0_30
; %bb.31:                               ;   in Loop: Header=BB0_11 Depth=1
	ldp	x9, x10, [x29, #-216]           ; 16-byte Folded Reload
	ldur	x8, [x29, #-160]                ; 8-byte Folded Reload
	cmp	x8, x10
	b.eq	LBB0_34
LBB0_32:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x8, x21, x9, lsl #2
	sub	x9, x13, x9
LBB0_33:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w10, [x8]
	asr	w10, w10, #8
	cmp	w10, #0
	cinc	w10, w10, lt
	lsl	w10, w10, #7
	and	w10, w10, #0xffffff00
	add	w10, w10, #256
	str	w10, [x8], #4
	subs	x9, x9, #1
	b.ne	LBB0_33
LBB0_34:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x12]
	cbnz	x8, LBB0_11
LBB0_35:
	ldur	x8, [x29, #-88]
Lloh24:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh25:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_37
; %bb.36:
	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_37:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_BZ_MAX_ALPHA_SIZE,4,2          ; @BZ_MAX_ALPHA_SIZE
	.comm	_True,8,3                       ; @True
	.comm	_False,8,3                      ; @False
.subsections_via_symbols
