	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lzh_make_huffman_table
_lzh_make_huffman_table:                ## @lzh_make_huffman_table
	.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	$232, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r10
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %r9
	movl	$32768, %eax                    ## imm = 0x8000
	xorl	%r14d, %r14d
	movl	$1, %ecx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%edx, -128(%rbp,%rcx,4)
	movl	%eax, -208(%rbp,%rcx,4)
	movl	(%r9,%rcx,4), %esi
	movl	%esi, %edi
	imull	%eax, %edi
	addl	%edx, %edi
	testl	%esi, %esi
	movl	%r14d, %esi
	cmovnel	%ecx, %esi
	movl	%eax, %edx
	shrl	%edx
	movl	%edi, -124(%rbp,%rcx,4)
	movl	%edx, -204(%rbp,%rcx,4)
	movl	4(%r9,%rcx,4), %ebx
	imull	%ebx, %edx
	addl	%edi, %edx
	leal	1(%rcx), %r14d
	testl	%ebx, %ebx
	cmovel	%esi, %r14d
	shrl	$2, %eax
	addq	$2, %rcx
	cmpq	$17, %rcx
	jne	LBB0_1
## %bb.2:
	xorl	%eax, %eax
	cmpl	$65536, %edx                    ## imm = 0x10000
	jne	LBB0_68
## %bb.3:
	cmpl	8(%r10), %r14d
	jg	LBB0_68
## %bb.4:
	movl	%r14d, 12(%r10)
	cmpl	$15, %r14d
	jg	LBB0_11
## %bb.5:
	testl	%r14d, %r14d
	jle	LBB0_11
## %bb.6:
	movl	$16, %ecx
	subl	%r14d, %ecx
	movl	%r14d, %eax
	movl	$1, %edx
	cmpl	$1, %r14d
	je	LBB0_9
## %bb.7:
	movl	%eax, %edi
	andl	$-2, %edi
	negq	%rdi
	movl	$1, %edx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	sarl	%cl, -128(%rbp,%rdx,4)
	sarl	%cl, -208(%rbp,%rdx,4)
	sarl	%cl, -124(%rbp,%rdx,4)
	sarl	%cl, -204(%rbp,%rdx,4)
	leaq	(%rdi,%rdx), %rsi
	addq	$2, %rsi
	addq	$2, %rdx
	cmpq	$1, %rsi
	jne	LBB0_8
LBB0_9:
	testb	$1, %al
	je	LBB0_11
## %bb.10:
	sarl	%cl, -128(%rbp,%rdx,4)
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, -208(%rbp,%rdx,4)
LBB0_11:
	movq	_HTBL_BITS@GOTPCREL(%rip), %rax
	movq	%rax, %r12
	movl	(%rax), %edx
	subl	%edx, %r14d
	jle	LBB0_22
## %bb.12:
	movslq	%edx, %r8
	testl	%edx, %edx
	jle	LBB0_19
## %bb.13:
	movl	$1, %edi
	cmpq	$8, %rdx
	jb	LBB0_17
## %bb.14:
	movl	%edx, %ecx
	andl	$-8, %ecx
	leaq	1(%rcx), %rdi
	movd	%r14d, %xmm0
	xorl	%eax, %eax
	pmovzxdq	%xmm0, %xmm0                    ## xmm0 = xmm0[0],zero,xmm0[1],zero
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movdqu	-124(%rbp,%rax,4), %xmm1
	movdqu	-108(%rbp,%rax,4), %xmm2
	psrad	%xmm0, %xmm1
	psrad	%xmm0, %xmm2
	movdqu	%xmm1, -124(%rbp,%rax,4)
	movdqu	%xmm2, -108(%rbp,%rax,4)
	movdqu	-204(%rbp,%rax,4), %xmm1
	movdqu	-188(%rbp,%rax,4), %xmm2
	psrad	%xmm0, %xmm1
	psrad	%xmm0, %xmm2
	movdqu	%xmm1, -204(%rbp,%rax,4)
	movdqu	%xmm2, -188(%rbp,%rax,4)
	addq	$8, %rax
	cmpq	%rax, %rcx
	jne	LBB0_15
## %bb.16:
	cmpq	%rcx, %rdx
	je	LBB0_19
LBB0_17:
	leaq	1(%rdx), %rax
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %ecx
	sarl	%cl, -128(%rbp,%rdi,4)
	sarl	%cl, -208(%rbp,%rdi,4)
	incq	%rdi
	cmpq	%rdi, %rax
	jne	LBB0_18
LBB0_19:
	movl	(%r9,%r8,4), %eax
	imull	-208(%rbp,%r8,4), %eax
	addl	-128(%rbp,%r8,4), %eax
	movq	16(%r10), %r11
	movl	%eax, %esi
	movl	%edx, %ecx
	shrl	%cl, %esi
	testl	%esi, %esi
	jne	LBB0_23
## %bb.20:
	movl	%eax, %eax
	leaq	(%r11,%rax,4), %rax
	movq	%r12, %rdi
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movl	$0, (%rax)
	movl	(%rdi), %edx
	movl	$1, %esi
	movl	%edx, %ecx
	shlq	%cl, %rsi
	addq	$4, %rax
	leaq	(%r11,%rsi,4), %rcx
	cmpq	%rcx, %rax
	jb	LBB0_21
	jmp	LBB0_23
LBB0_22:
	movq	16(%r10), %r11
	xorl	%r14d, %r14d
LBB0_23:
	movl	%r14d, 24(%r10)
	movl	$1, %eax
	movl	$1, %esi
	movl	%edx, %ecx
	shll	%cl, %esi
	movl	%esi, -232(%rbp)                ## 4-byte Spill
	movq	32(%r10), %r8
	movl	40(%r10), %ebx
	movl	$0, 44(%r10)
	testl	%ebx, %ebx
	jle	LBB0_68
## %bb.24:
	leal	-1(%r14), %ecx
	movl	$1, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	movl	%eax, -228(%rbp)                ## 4-byte Spill
	leaq	-64(%r11), %rax
	movq	%rax, -264(%rbp)                ## 8-byte Spill
	xorl	%r15d, %r15d
	movq	%r11, -224(%rbp)                ## 8-byte Spill
	movq	%r8, -216(%rbp)                 ## 8-byte Spill
	movq	%r12, %r9
	jmp	LBB0_28
LBB0_25:                                ##   in Loop: Header=BB0_28 Depth=1
	cmpl	$0, (%rcx)
	movq	-224(%rbp), %r11                ## 8-byte Reload
	movq	-216(%rbp), %r8                 ## 8-byte Reload
	jne	LBB0_56
## %bb.26:                              ##   in Loop: Header=BB0_28 Depth=1
	movl	%r15d, (%rcx)
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_28 Depth=1
	incq	%r15
	cmpq	%rbx, %r15
	je	LBB0_67
LBB0_28:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_45 Depth 2
                                        ##     Child Loop BB0_39 Depth 2
                                        ##     Child Loop BB0_53 Depth 2
	movzbl	(%r8,%r15), %edx
	testl	%edx, %edx
	je	LBB0_27
## %bb.29:                              ##   in Loop: Header=BB0_28 Depth=1
	movl	%edx, %ecx
	movslq	-128(%rbp,%rcx,4), %r13
	movl	-208(%rbp,%rcx,4), %r12d
	movl	(%r9), %r9d
	leal	(%r12,%r13), %eax
	movl	%eax, -128(%rbp,%rcx,4)
	cmpl	%edx, %r9d
	jge	LBB0_34
## %bb.30:                              ##   in Loop: Header=BB0_28 Depth=1
	movl	%r13d, %eax
	movl	%r14d, %ecx
	sarl	%cl, %eax
	cltq
	movl	(%r11,%rax,4), %ecx
	testl	%ecx, %ecx
	je	LBB0_47
## %bb.31:                              ##   in Loop: Header=BB0_28 Depth=1
	xorl	%eax, %eax
	cmpl	%ebx, %ecx
	jl	LBB0_68
## %bb.32:                              ##   in Loop: Header=BB0_28 Depth=1
	movl	44(%r10), %esi
	leal	(%rsi,%rbx), %edi
	cmpl	%edi, %ecx
	jge	LBB0_68
## %bb.33:                              ##   in Loop: Header=BB0_28 Depth=1
	movq	56(%r10), %r8
	subl	%ebx, %ecx
	movslq	%ecx, %rax
	leaq	(%r8,%rax,8), %rcx
	jmp	LBB0_49
	.p2align	4, 0x90
LBB0_34:                                ##   in Loop: Header=BB0_28 Depth=1
	cmpl	-232(%rbp), %eax                ## 4-byte Folded Reload
	jg	LBB0_56
## %bb.35:                              ##   in Loop: Header=BB0_28 Depth=1
	leaq	(%r11,%r13,4), %rdi
	cmpl	$7, %r12d
	jle	LBB0_43
## %bb.36:                              ##   in Loop: Header=BB0_28 Depth=1
	leal	-8(%r12), %edx
	leaq	(%rdi,%rdx,4), %rsi
	movl	%r15d, (%rdi,%rdx,4)
	movl	%r15d, 4(%rdi,%rdx,4)
	movl	%r15d, 8(%rdi,%rdx,4)
	movl	%r15d, 12(%rdi,%rdx,4)
	movl	%r15d, 16(%rdi,%rdx,4)
	movl	%r15d, 20(%rdi,%rdx,4)
	movl	%r15d, 24(%rdi,%rdx,4)
	movl	%r15d, 28(%rdi,%rdx,4)
	cmpl	$16, %r12d
	movq	_HTBL_BITS@GOTPCREL(%rip), %r9
	jb	LBB0_41
## %bb.37:                              ##   in Loop: Header=BB0_28 Depth=1
	movq	%rbx, -240(%rbp)                ## 8-byte Spill
	movq	%r10, -256(%rbp)                ## 8-byte Spill
	addl	$-16, %r12d
	movq	%rdi, -248(%rbp)                ## 8-byte Spill
	leaq	(%rdi,%r12,4), %rdi
	movq	%rdi, %rbx
	movl	$32, %edx
	callq	_memcpy
	cmpl	$16, %r12d
	jb	LBB0_40
## %bb.38:                              ##   in Loop: Header=BB0_28 Depth=1
	addq	%r12, %r13
	movq	-264(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%r13,4), %r13
	.p2align	4, 0x90
LBB0_39:                                ##   Parent Loop BB0_28 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	addq	$-16, %r12
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	$64, %edx
	callq	_memcpy
	addq	$-64, %r13
	cmpq	$15, %r12
	ja	LBB0_39
LBB0_40:                                ##   in Loop: Header=BB0_28 Depth=1
	movl	%r12d, %edx
	movq	-256(%rbp), %r10                ## 8-byte Reload
	movq	_HTBL_BITS@GOTPCREL(%rip), %r9
	movq	-224(%rbp), %r11                ## 8-byte Reload
	movq	-216(%rbp), %r8                 ## 8-byte Reload
	movq	-248(%rbp), %rdi                ## 8-byte Reload
	movq	%rbx, %rsi
	movq	-240(%rbp), %rbx                ## 8-byte Reload
LBB0_41:                                ##   in Loop: Header=BB0_28 Depth=1
	testl	%edx, %edx
	je	LBB0_27
## %bb.42:                              ##   in Loop: Header=BB0_28 Depth=1
	shll	$2, %edx
                                        ## kill: def $edx killed $edx killed $rdx
	movq	%r10, %r12
	movq	%r9, %r13
	callq	_memcpy
	movq	-216(%rbp), %r8                 ## 8-byte Reload
	movq	-224(%rbp), %r11                ## 8-byte Reload
	movq	%r13, %r9
	movq	%r12, %r10
	jmp	LBB0_27
LBB0_43:                                ##   in Loop: Header=BB0_28 Depth=1
	cmpl	$2, %r12d
	movq	_HTBL_BITS@GOTPCREL(%rip), %r9
	jl	LBB0_65
## %bb.44:                              ##   in Loop: Header=BB0_28 Depth=1
	leal	-1(%r12), %eax
	leal	-2(%r12), %ecx
	movq	%rdi, %rdx
	.p2align	4, 0x90
LBB0_45:                                ##   Parent Loop BB0_28 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r15d, (%rdx,%rax,4)
	leal	-2(%r12), %esi
	movl	%r15d, (%rdx,%rcx,4)
	addq	$-8, %rdx
	cmpl	$3, %r12d
	movl	%esi, %r12d
	ja	LBB0_45
## %bb.46:                              ##   in Loop: Header=BB0_28 Depth=1
	testl	%esi, %esi
	jne	LBB0_66
	jmp	LBB0_27
LBB0_47:                                ##   in Loop: Header=BB0_28 Depth=1
	movl	44(%r10), %ecx
	addl	%ebx, %ecx
	movl	%ecx, (%r11,%rax,4)
	movq	56(%r10), %r8
	movslq	44(%r10), %rax
	leal	1(%rax), %esi
	movl	%esi, 44(%r10)
	cmpl	48(%r10), %eax
	jge	LBB0_56
## %bb.48:                              ##   in Loop: Header=BB0_28 Depth=1
	leaq	(%r8,%rax,8), %rcx
	movq	$0, (%r8,%rax,8)
LBB0_49:                                ##   in Loop: Header=BB0_28 Depth=1
	subl	%r9d, %edx
	cmpl	$2, %edx
	jl	LBB0_61
## %bb.50:                              ##   in Loop: Header=BB0_28 Depth=1
	incl	%edx
	movl	-228(%rbp), %edi                ## 4-byte Reload
	movq	_HTBL_BITS@GOTPCREL(%rip), %r9
	jmp	LBB0_53
	.p2align	4, 0x90
LBB0_51:                                ##   in Loop: Header=BB0_53 Depth=2
	subl	%ebx, %eax
	cltq
	leaq	(%r8,%rax,8), %rcx
	movl	%esi, %eax
LBB0_52:                                ##   in Loop: Header=BB0_53 Depth=2
	sarl	%edi
	decl	%edx
	movl	%eax, %esi
	cmpl	$2, %edx
	jbe	LBB0_62
LBB0_53:                                ##   Parent Loop BB0_28 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testl	%r13d, %edi
	je	LBB0_57
## %bb.54:                              ##   in Loop: Header=BB0_53 Depth=2
	movl	(%rcx), %eax
	cmpl	%ebx, %eax
	jge	LBB0_51
## %bb.55:                              ##   in Loop: Header=BB0_53 Depth=2
	leal	(%rsi,%rbx), %eax
	movl	%eax, (%rcx)
	jmp	LBB0_59
	.p2align	4, 0x90
LBB0_57:                                ##   in Loop: Header=BB0_53 Depth=2
	movl	4(%rcx), %eax
	cmpl	%ebx, %eax
	jge	LBB0_51
## %bb.58:                              ##   in Loop: Header=BB0_53 Depth=2
	leal	(%rsi,%rbx), %eax
	movl	%eax, 4(%rcx)
LBB0_59:                                ##   in Loop: Header=BB0_53 Depth=2
	leal	1(%rsi), %eax
	movl	%eax, 44(%r10)
	cmpl	48(%r10), %esi
	jge	LBB0_56
## %bb.60:                              ##   in Loop: Header=BB0_53 Depth=2
	movslq	%esi, %rsi
	leaq	(%r8,%rsi,8), %rcx
	movq	$0, (%r8,%rsi,8)
	jmp	LBB0_52
LBB0_61:                                ##   in Loop: Header=BB0_28 Depth=1
	movl	-228(%rbp), %edi                ## 4-byte Reload
	movq	_HTBL_BITS@GOTPCREL(%rip), %r9
LBB0_62:                                ##   in Loop: Header=BB0_28 Depth=1
	testl	%r13d, %edi
	jne	LBB0_25
## %bb.63:                              ##   in Loop: Header=BB0_28 Depth=1
	cmpl	$0, 4(%rcx)
	movq	-224(%rbp), %r11                ## 8-byte Reload
	movq	-216(%rbp), %r8                 ## 8-byte Reload
	jne	LBB0_56
## %bb.64:                              ##   in Loop: Header=BB0_28 Depth=1
	movl	%r15d, 4(%rcx)
	jmp	LBB0_27
LBB0_65:                                ##   in Loop: Header=BB0_28 Depth=1
	movl	%r12d, %esi
	testl	%esi, %esi
	je	LBB0_27
LBB0_66:                                ##   in Loop: Header=BB0_28 Depth=1
	movslq	%esi, %rax
	movl	%r15d, -4(%rdi,%rax,4)
	jmp	LBB0_27
LBB0_56:
	xorl	%eax, %eax
	jmp	LBB0_68
LBB0_67:
	movl	$1, %eax
LBB0_68:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_70
## %bb.69:
	addq	$232, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_70:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_HTBL_BITS,4,2                  ## @HTBL_BITS
	.no_dead_strip	_lzh_make_huffman_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function lzh_make_huffman_table
lCPI0_0:
	.long	32768                           ; 0x8000
	.long	16384                           ; 0x4000
	.long	8192                            ; 0x2000
	.long	4096                            ; 0x1000
lCPI0_1:
	.long	2048                            ; 0x800
	.long	1024                            ; 0x400
	.long	512                             ; 0x200
	.long	256                             ; 0x100
lCPI0_2:
	.long	128                             ; 0x80
	.long	64                              ; 0x40
	.long	32                              ; 0x20
	.long	16                              ; 0x10
lCPI0_3:
	.long	8                               ; 0x8
	.long	4                               ; 0x4
	.long	2                               ; 0x2
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_lzh_make_huffman_table:                ; @lzh_make_huffman_table
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #272
	.cfi_def_cfa_offset 272
	stp	x28, x27, [sp, #176]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #192]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #208]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #224]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #240]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #256]            ; 16-byte Folded Spill
	add	x29, sp, #256
	.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
	mov	x19, x0
	mov	w0, #0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	ldr	x8, [x19]
	ldp	w9, w10, [x8, #4]
	cmp	w9, #0
	cset	w11, ne
	lsl	w9, w9, #15
	stp	wzr, w9, [sp, #96]
	add	w9, w9, w10, lsl #14
	mov	w12, #2
	cmp	w10, #0
	csel	w10, w11, w12, eq
	ldp	w11, w12, [x8, #12]
	add	w13, w9, w11, lsl #13
	mov	w14, #3
	cmp	w11, #0
	csel	w10, w10, w14, eq
	stp	w9, w13, [sp, #104]
Lloh3:
	adrp	x9, lCPI0_0@PAGE
Lloh4:
	ldr	q0, [x9, lCPI0_0@PAGEOFF]
	stur	q0, [sp, #28]
	add	w9, w13, w12, lsl #12
	mov	w11, #4
	cmp	w12, #0
	csel	w10, w10, w11, eq
	ldp	w11, w12, [x8, #20]
	add	w13, w9, w11, lsl #11
	mov	w14, #5
	cmp	w11, #0
	csel	w10, w10, w14, eq
	stp	w9, w13, [sp, #112]
	add	w9, w13, w12, lsl #10
	mov	w11, #6
	cmp	w12, #0
	csel	w10, w10, w11, eq
	ldp	w11, w12, [x8, #28]
	add	w13, w9, w11, lsl #9
	mov	w14, #7
	cmp	w11, #0
	csel	w10, w10, w14, eq
	stp	w9, w13, [sp, #120]
Lloh5:
	adrp	x9, lCPI0_1@PAGE
Lloh6:
	ldr	q0, [x9, lCPI0_1@PAGEOFF]
	stur	q0, [sp, #44]
	add	w9, w13, w12, lsl #8
	mov	w11, #8
	cmp	w12, #0
	csel	w10, w10, w11, eq
	ldp	w11, w12, [x8, #36]
	add	w13, w9, w11, lsl #7
	mov	w14, #9
	cmp	w11, #0
	csel	w10, w10, w14, eq
	stp	w9, w13, [sp, #128]
	add	w9, w13, w12, lsl #6
	mov	w11, #10
	cmp	w12, #0
	csel	w10, w10, w11, eq
	ldp	w11, w12, [x8, #44]
	add	w13, w9, w11, lsl #5
	mov	w14, #11
	cmp	w11, #0
	csel	w10, w10, w14, eq
	stp	w9, w13, [sp, #136]
Lloh7:
	adrp	x9, lCPI0_2@PAGE
Lloh8:
	ldr	q0, [x9, lCPI0_2@PAGEOFF]
	add	w9, w13, w12, lsl #4
	mov	w11, #12
	cmp	w12, #0
	csel	w10, w10, w11, eq
	mov	w11, #13
	ldp	w12, w13, [x8, #52]
	cmp	w12, #0
	csel	w10, w10, w11, eq
	add	w11, w9, w12, lsl #3
	stp	w9, w11, [sp, #144]
	add	w9, w11, w13, lsl #2
	mov	w11, #14
	cmp	w13, #0
	csel	w10, w10, w11, eq
	mov	w11, #15
	ldp	w12, w8, [x8, #60]
	cmp	w12, #0
	csel	w10, w10, w11, eq
	stur	q0, [sp, #60]
	add	w11, w9, w12, lsl #1
	stp	w9, w11, [sp, #152]
Lloh9:
	adrp	x9, lCPI0_3@PAGE
Lloh10:
	ldr	q0, [x9, lCPI0_3@PAGEOFF]
	stur	q0, [sp, #76]
	add	w11, w8, w11
	mov	w9, #16
	cmp	w8, #0
	csel	w9, w10, w9, eq
	cmp	w11, #16, lsl #12               ; =65536
	b.ne	LBB0_66
; %bb.1:
	ldr	w8, [x19, #8]
	cmp	w9, w8
	b.le	LBB0_3
LBB0_2:
	mov	w0, #0
	b	LBB0_66
LBB0_3:
	str	w9, [x19, #12]
	cmp	w9, #15
	b.hi	LBB0_7
; %bb.4:
	cbz	w9, LBB0_7
; %bb.5:
	mov	w8, #16
	sub	w8, w8, w9
	add	w12, w9, #1
	add	x10, sp, #24
	add	x10, x10, #4
	add	x11, sp, #92
	add	x11, x11, #4
	sub	x12, x12, #1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x11]
	asr	w13, w13, w8
	str	w13, [x11], #4
	ldr	w13, [x10]
	asr	w13, w13, w8
	str	w13, [x10], #4
	subs	x12, x12, #1
	b.ne	LBB0_6
LBB0_7:
Lloh11:
	adrp	x23, _HTBL_BITS@GOTPAGE
Lloh12:
	ldr	x23, [x23, _HTBL_BITS@GOTPAGEOFF]
	ldr	w8, [x23]
	subs	w24, w9, w8
	b.le	LBB0_11
; %bb.8:
	mov	x9, x8
	sxtw	x9, w9
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.9:
	cmp	x8, #8
	b.hs	LBB0_12
; %bb.10:
	mov	w10, #1
	b	LBB0_15
LBB0_11:
	mov	w24, #0
	ldr	x25, [x19, #16]
	b	LBB0_21
LBB0_12:
	and	x11, x8, #0xfffffff8
	orr	x10, x11, #0x1
	dup.4s	v0, w24
	add	x12, sp, #92
	add	x12, x12, #20
	add	x13, sp, #24
	add	x13, x13, #20
	neg.4s	v0, v0
	mov	x14, x11
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldp	q1, q2, [x12, #-16]
	sshl.4s	v1, v1, v0
	sshl.4s	v2, v2, v0
	stp	q1, q2, [x12, #-16]
	ldp	q1, q2, [x13, #-16]
	sshl.4s	v1, v1, v0
	sshl.4s	v2, v2, v0
	stp	q1, q2, [x13, #-16]
	add	x12, x12, #32
	add	x13, x13, #32
	subs	x14, x14, #8
	b.ne	LBB0_13
; %bb.14:
	cmp	x8, x11
	b.eq	LBB0_17
LBB0_15:
	add	x13, x8, #1
	lsl	x12, x10, #2
	add	x11, sp, #24
	add	x11, x11, x12
	add	x14, sp, #92
	add	x12, x14, x12
	sub	x10, x13, x10
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x12]
	asr	w13, w13, w24
	str	w13, [x12], #4
	ldr	w13, [x11]
	asr	w13, w13, w24
	str	w13, [x11], #4
	subs	x10, x10, #1
	b.ne	LBB0_16
LBB0_17:
	lsl	x9, x9, #2
	add	x10, sp, #92
	ldr	w10, [x10, x9]
	add	x11, sp, #24
	ldr	w11, [x11, x9]
	ldr	x12, [x19]
	ldr	w9, [x12, x9]
	madd	w9, w9, w11, w10
	ldr	x25, [x19, #16]
	lsr	w10, w9, w8
	cbnz	w10, LBB0_21
; %bb.18:
	add	x8, x25, w9, uxtw #2
	mov	w9, #1
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	str	wzr, [x8], #4
	ldr	w10, [x23]
	lsl	x11, x9, x10
	add	x11, x25, x11, lsl #2
	cmp	x8, x11
	b.lo	LBB0_19
; %bb.20:
	mov	x8, x10
LBB0_21:
	str	w24, [x19, #24]
	mov	w0, #1
	ldr	x26, [x19, #32]
	ldr	w27, [x19, #40]
	str	wzr, [x19, #44]
	cmp	w27, #1
	b.lt	LBB0_66
; %bb.22:
	mov	x28, #0
	lsl	w14, w0, w8
	sub	w8, w24, #1
	lsl	w15, w0, w8
	sub	x8, x25, #64
	str	x8, [sp]                        ; 8-byte Folded Spill
	add	x16, sp, #92
	add	x17, sp, #24
	str	x26, [sp, #16]                  ; 8-byte Folded Spill
	b	LBB0_26
LBB0_23:                                ;   in Loop: Header=BB0_26 Depth=1
	ldr	w8, [x10]
	cbnz	w8, LBB0_2
; %bb.24:                               ;   in Loop: Header=BB0_26 Depth=1
	str	w28, [x10]
LBB0_25:                                ;   in Loop: Header=BB0_26 Depth=1
	add	x28, x28, #1
	cmp	x28, x27
	b.eq	LBB0_65
LBB0_26:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_41 Depth 2
                                        ;     Child Loop BB0_37 Depth 2
                                        ;     Child Loop BB0_49 Depth 2
	ldrb	w11, [x26, x28]
	cbz	w11, LBB0_25
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=1
	lsl	x10, x11, #2
	ldrsw	x22, [x16, x10]
	ldr	w8, [x17, x10]
	ldr	w12, [x23]
	add	w9, w8, w22
	str	w9, [x16, x10]
	cmp	w12, w11
	b.ge	LBB0_32
; %bb.28:                               ;   in Loop: Header=BB0_26 Depth=1
	asr	w8, w22, w24
	ldr	w10, [x25, w8, sxtw #2]
	cbz	w10, LBB0_43
; %bb.29:                               ;   in Loop: Header=BB0_26 Depth=1
	cmp	w10, w27
	b.lt	LBB0_2
; %bb.30:                               ;   in Loop: Header=BB0_26 Depth=1
	ldr	w9, [x19, #44]
	add	w8, w9, w27
	cmp	w10, w8
	b.ge	LBB0_2
; %bb.31:                               ;   in Loop: Header=BB0_26 Depth=1
	ldr	x8, [x19, #56]
	sub	w10, w10, w27
	add	x10, x8, w10, sxtw #3
	b	LBB0_45
LBB0_32:                                ;   in Loop: Header=BB0_26 Depth=1
	cmp	w9, w14
	b.gt	LBB0_2
; %bb.33:                               ;   in Loop: Header=BB0_26 Depth=1
	add	x20, x25, x22, lsl #2
	cmp	w8, #7
	b.le	LBB0_39
; %bb.34:                               ;   in Loop: Header=BB0_26 Depth=1
	mov	x26, x23
	sub	w9, w8, #8
	add	x1, x20, w9, uxtw #2
	stp	w28, w28, [x1]
	stp	w28, w28, [x1, #8]
	stp	w28, w28, [x1, #16]
	stp	w28, w28, [x1, #24]
	subs	w23, w8, #16
	b.lo	LBB0_60
; %bb.35:                               ;   in Loop: Header=BB0_26 Depth=1
	stp	w15, w14, [sp, #8]              ; 8-byte Folded Spill
	add	x21, x20, w23, uxtw #2
	mov	x0, x21
	mov	w2, #32
	bl	_memcpy
	cmp	w23, #16
	b.lo	LBB0_38
; %bb.36:                               ;   in Loop: Header=BB0_26 Depth=1
	add	x8, x22, x23
	ldr	x9, [sp]                        ; 8-byte Folded Reload
	add	x22, x9, x8, lsl #2
LBB0_37:                                ;   Parent Loop BB0_26 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	x23, x23, #16
	mov	x0, x22
	mov	x1, x21
	mov	w2, #64
	bl	_memcpy
	sub	x22, x22, #64
	cmp	x23, #15
	b.hi	LBB0_37
LBB0_38:                                ;   in Loop: Header=BB0_26 Depth=1
	mov	x9, x23
	ldp	w15, w14, [sp, #8]              ; 8-byte Folded Reload
	add	x16, sp, #92
	add	x17, sp, #24
	b	LBB0_61
LBB0_39:                                ;   in Loop: Header=BB0_26 Depth=1
	subs	w10, w8, #2
	b.lt	LBB0_63
; %bb.40:                               ;   in Loop: Header=BB0_26 Depth=1
	sub	w9, w8, #1
	add	x9, x22, x9
	add	x9, x25, x9, lsl #2
	add	x10, x22, x10
	add	x10, x25, x10, lsl #2
LBB0_41:                                ;   Parent Loop BB0_26 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	str	w28, [x9], #-8
	sub	w11, w8, #2
	str	w28, [x10], #-8
	cmp	w8, #3
	mov	x8, x11
	b.hi	LBB0_41
; %bb.42:                               ;   in Loop: Header=BB0_26 Depth=1
	cbnz	w11, LBB0_64
	b	LBB0_25
LBB0_43:                                ;   in Loop: Header=BB0_26 Depth=1
	sxtw	x8, w8
	ldr	w9, [x19, #44]
	add	w9, w9, w27
	str	w9, [x25, x8, lsl #2]
	ldr	x8, [x19, #56]
	ldp	w10, w13, [x19, #44]
                                        ; kill: def $w10 killed $w10 def $x10
	sxtw	x10, w10
	add	w9, w10, #1
	str	w9, [x19, #44]
	cmp	w10, w13
	b.ge	LBB0_2
; %bb.44:                               ;   in Loop: Header=BB0_26 Depth=1
	add	x10, x8, x10, lsl #3
	str	xzr, [x10]
LBB0_45:                                ;   in Loop: Header=BB0_26 Depth=1
	sub	w11, w11, w12
	cmp	w11, #2
	b.lt	LBB0_56
; %bb.46:                               ;   in Loop: Header=BB0_26 Depth=1
	add	w11, w11, #1
	mov	x12, x15
	b	LBB0_49
LBB0_47:                                ;   in Loop: Header=BB0_49 Depth=2
	sub	w10, w13, w27
	add	x10, x8, w10, sxtw #3
LBB0_48:                                ;   in Loop: Header=BB0_49 Depth=2
	asr	w12, w12, #1
	sub	w11, w11, #1
	cmp	w11, #2
	b.ls	LBB0_57
LBB0_49:                                ;   Parent Loop BB0_26 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	tst	w12, w22
	b.eq	LBB0_52
; %bb.50:                               ;   in Loop: Header=BB0_49 Depth=2
	ldr	w13, [x10]
	cmp	w13, w27
	b.ge	LBB0_47
; %bb.51:                               ;   in Loop: Header=BB0_49 Depth=2
	add	w13, w9, w27
	str	w13, [x10]
	b	LBB0_54
LBB0_52:                                ;   in Loop: Header=BB0_49 Depth=2
	ldr	w13, [x10, #4]
	cmp	w13, w27
	b.ge	LBB0_47
; %bb.53:                               ;   in Loop: Header=BB0_49 Depth=2
	add	w13, w9, w27
	str	w13, [x10, #4]
LBB0_54:                                ;   in Loop: Header=BB0_49 Depth=2
	add	w13, w9, #1
	str	w13, [x19, #44]
	ldr	w10, [x19, #48]
	cmp	w9, w10
	b.ge	LBB0_2
; %bb.55:                               ;   in Loop: Header=BB0_49 Depth=2
	add	x10, x8, w9, sxtw #3
	str	xzr, [x10]
	mov	x9, x13
	b	LBB0_48
LBB0_56:                                ;   in Loop: Header=BB0_26 Depth=1
	mov	x12, x15
LBB0_57:                                ;   in Loop: Header=BB0_26 Depth=1
	tst	w12, w22
	b.ne	LBB0_23
; %bb.58:                               ;   in Loop: Header=BB0_26 Depth=1
	ldr	w8, [x10, #4]
	cbnz	w8, LBB0_2
; %bb.59:                               ;   in Loop: Header=BB0_26 Depth=1
	str	w28, [x10, #4]
	b	LBB0_25
LBB0_60:                                ;   in Loop: Header=BB0_26 Depth=1
	mov	x21, x1
LBB0_61:                                ;   in Loop: Header=BB0_26 Depth=1
	mov	x23, x26
	ldr	x26, [sp, #16]                  ; 8-byte Folded Reload
	cbz	w9, LBB0_25
; %bb.62:                               ;   in Loop: Header=BB0_26 Depth=1
	lsl	w2, w9, #2
	mov	x0, x20
	mov	x1, x21
	mov	x20, x14
	mov	x21, x15
	bl	_memcpy
	add	x17, sp, #24
	add	x16, sp, #92
	mov	x15, x21
	mov	x14, x20
	b	LBB0_25
LBB0_63:                                ;   in Loop: Header=BB0_26 Depth=1
	mov	x11, x8
	cbz	w11, LBB0_25
LBB0_64:                                ;   in Loop: Header=BB0_26 Depth=1
	sub	w8, w11, #1
	str	w28, [x20, w8, sxtw #2]
	b	LBB0_25
LBB0_65:
	mov	w0, #1
LBB0_66:
	ldur	x8, [x29, #-96]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_68
; %bb.67:
	ldp	x29, x30, [sp, #256]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #240]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #224]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #208]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #192]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #176]            ; 16-byte Folded Reload
	add	sp, sp, #272
	ret
LBB0_68:
	bl	___stack_chk_fail
	.loh AdrpLdr	Lloh9, Lloh10
	.loh AdrpLdr	Lloh7, Lloh8
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_HTBL_BITS,4,2                  ; @HTBL_BITS
	.no_dead_strip	_lzh_make_huffman_table
.subsections_via_symbols
