	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lzh_read_blocks
_lzh_read_blocks:                       ## @lzh_read_blocks
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %r13
	leaq	124(%r13), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	32(%r13), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	72(%r13), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	(%r13), %eax
	jmp	LBB0_3
LBB0_1:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	20(%r13), %rax
	movq	%rax, 32(%r13)
	movl	$1, 12(%r13)
	movl	$131, %eax
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, (%r13)
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_39 Depth 2
	leal	-128(%rax), %ecx
	cmpl	$9, %ecx
	ja	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rax
	addq	%rdx, %rax
	jmpq	*%rax
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	16(%r13), %esi
	jmp	LBB0_26
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	36(%r13), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_10
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	$16, %edx
	callq	_lzh_br_read_ahead_0
	testl	%eax, %eax
	je	LBB0_72
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	movl	$16, %esi
	callq	_lzh_br_bits
	movq	%rax, 112(%r13)
	testq	%rax, %rax
	je	LBB0_74
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	$16, %esi
	callq	_lzh_br_consume
	movl	4(%r13), %eax
	movl	8(%r13), %edx
	movl	%eax, 32(%r13)
	movl	%edx, 36(%r13)
	movl	$0, 12(%r13)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rsi
	callq	_lzh_br_read_ahead
	testl	%eax, %eax
	je	LBB0_60
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	36(%r13), %esi
	movq	%rbx, %rdi
	callq	_lzh_br_bits
	movl	%eax, 40(%r13)
	movl	36(%r13), %esi
	movq	%rbx, %rdi
	callq	_lzh_br_consume
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	40(%r13), %eax
	testl	%eax, %eax
	je	LBB0_21
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	cmpl	(%rcx), %eax
	jg	LBB0_74
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	$0, 16(%r13)
	movq	48(%r13), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movl	$128, %eax
	cmpl	$3, 40(%r13)
	jl	LBB0_2
## %bb.15:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	32(%r13), %ecx
	cmpl	20(%r13), %ecx
	je	LBB0_2
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	16(%r13), %esi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	$3, %edx
	callq	_lzh_read_pt_bitlen
	movl	%eax, 16(%r13)
	cmpl	$2, %eax
	jle	LBB0_64
## %bb.17:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	$2, %edx
	callq	_lzh_br_read_ahead
	testl	%eax, %eax
	je	LBB0_66
## %bb.18:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_lzh_br_bits
	movq	%rax, %r14
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_lzh_br_consume
	movl	40(%r13), %eax
	addl	$-3, %eax
	cmpl	%r14d, %eax
	jl	LBB0_74
## %bb.19:                              ##   in Loop: Header=BB0_3 Depth=1
	testl	%r14d, %r14d
	jle	LBB0_24
## %bb.20:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	56(%r13), %rdi
	addq	$12, %rdi
	movl	%r14d, %esi
	shlq	$2, %rsi
	callq	___bzero
	leal	3(%r14), %esi
	jmp	LBB0_25
LBB0_21:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	36(%r13), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_lzh_br_read_ahead
	testl	%eax, %eax
	je	LBB0_68
## %bb.22:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	36(%r13), %esi
	movq	%rbx, %rdi
	callq	_lzh_br_bits
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	_lzh_make_fake_table
	testl	%eax, %eax
	je	LBB0_74
## %bb.23:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	36(%r13), %esi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_lzh_br_consume
	xorl	%eax, %eax
	cmpl	$0, 12(%r13)
	setne	%al
	addl	%eax, %eax
	addl	$135, %eax
	movl	%eax, (%r13)
	jmp	LBB0_3
LBB0_24:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$3, %esi
LBB0_25:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%esi, 16(%r13)
LBB0_26:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	40(%r13), %edx
	callq	_lzh_read_pt_bitlen
	movl	%eax, 16(%r13)
	cmpl	%eax, 40(%r13)
	jg	LBB0_57
## %bb.27:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_lzh_make_huffman_table
	testl	%eax, %eax
	je	LBB0_74
## %bb.28:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	$137, %eax
	cmpl	$0, 12(%r13)
	jne	LBB0_2
LBB0_29:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	76(%r13), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_lzh_br_read_ahead
	testl	%eax, %eax
	je	LBB0_62
## %bb.30:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	76(%r13), %esi
	movq	%rbx, %rdi
	callq	_lzh_br_bits
	movl	%eax, 80(%r13)
	movl	76(%r13), %esi
	movq	%rbx, %rdi
	callq	_lzh_br_consume
LBB0_31:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	80(%r13), %eax
	testl	%eax, %eax
	je	LBB0_49
## %bb.32:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	cmpl	(%rcx), %eax
	jg	LBB0_74
## %bb.33:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	$0, 16(%r13)
	movq	88(%r13), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
LBB0_34:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	16(%r13), %r15d
	movl	80(%r13), %eax
	cmpl	%eax, %r15d
	jge	LBB0_46
## %bb.35:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_39
	.p2align	4, 0x90
LBB0_36:                                ##   in Loop: Header=BB0_39 Depth=2
	movq	56(%r13), %rax
	movl	%r14d, %ecx
	movl	(%rax,%rcx,4), %esi
	movq	%rbx, %rdi
	callq	_lzh_br_consume
	addl	$-2, %r14d
	movq	88(%r13), %rax
	incl	(%rax,%r14,4)
	movq	96(%r13), %rax
	movslq	%r15d, %rcx
	incl	%r15d
	movl	%r14d, (%rax,%rcx,4)
LBB0_37:                                ##   in Loop: Header=BB0_39 Depth=2
	movl	%r15d, %ebx
LBB0_38:                                ##   in Loop: Header=BB0_39 Depth=2
	movl	80(%r13), %eax
	movl	%ebx, %r15d
	cmpl	%eax, %ebx
	jge	LBB0_47
LBB0_39:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	64(%r13), %edx
	movq	%r12, %rdi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_lzh_br_read_ahead
	testl	%eax, %eax
	je	LBB0_53
## %bb.40:                              ##   in Loop: Header=BB0_39 Depth=2
	movl	64(%r13), %esi
	movq	%rbx, %rdi
	callq	_lzh_br_bits
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_lzh_decode_huffman
	movl	%eax, %r14d
	cmpl	$3, %eax
	jge	LBB0_36
## %bb.41:                              ##   in Loop: Header=BB0_39 Depth=2
	testl	%r14d, %r14d
	je	LBB0_45
## %bb.42:                              ##   in Loop: Header=BB0_39 Depth=2
	xorl	%eax, %eax
	cmpl	$1, %r14d
	setne	%al
	movq	%r13, %rcx
	leal	4(%rax,%rax,4), %r13d
	movq	56(%rcx), %rax
	movq	%r12, %rdi
	movslq	%r14d, %r12
	movl	(%rax,%r12,4), %edx
	addl	%r13d, %edx
	movq	%rbx, %rsi
	callq	_lzh_br_read_ahead
	testl	%eax, %eax
	je	LBB0_54
## %bb.43:                              ##   in Loop: Header=BB0_39 Depth=2
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	56(%rax), %rax
	movl	(%rax,%r12,4), %esi
	movq	%rbx, %rdi
	callq	_lzh_br_consume
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_lzh_br_bits
	movq	%rax, %r12
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_lzh_br_consume
	leal	20(%r12), %eax
	addl	$3, %r12d
	cmpl	$1, %r14d
	cmovnel	%eax, %r12d
	leal	(%r12,%r15), %ebx
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	cmpl	80(%r13), %ebx
	jg	LBB0_74
## %bb.44:                              ##   in Loop: Header=BB0_39 Depth=2
	movslq	%r15d, %rdi
	shlq	$2, %rdi
	addq	96(%r13), %rdi
	xorl	%esi, %esi
	movl	%r12d, %edx
	callq	_memset
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_38
LBB0_45:                                ##   in Loop: Header=BB0_39 Depth=2
	movq	56(%r13), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_lzh_br_consume
	movq	96(%r13), %rax
	movslq	%r15d, %rcx
	incl	%r15d
	movl	$0, (%rax,%rcx,4)
	jmp	LBB0_37
LBB0_46:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%r15d, %ebx
LBB0_47:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%eax, %ebx
	jg	LBB0_74
## %bb.48:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_lzh_make_huffman_table
	testl	%eax, %eax
	jne	LBB0_1
	jmp	LBB0_74
LBB0_49:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	76(%r13), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_lzh_br_read_ahead
	testl	%eax, %eax
	je	LBB0_70
## %bb.50:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	76(%r13), %esi
	movq	%rbx, %rdi
	callq	_lzh_br_bits
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	_lzh_make_fake_table
	testl	%eax, %eax
	je	LBB0_74
## %bb.51:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	76(%r13), %esi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_lzh_br_consume
	movl	$132, %eax
	movl	%eax, (%r13)
	jmp	LBB0_3
LBB0_52:
	movl	$100, %eax
	jmp	LBB0_75
LBB0_53:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_74
	jmp	LBB0_55
LBB0_54:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	jne	LBB0_74
LBB0_55:
	movl	%r15d, 16(%r13)
	movl	$133, (%r13)
LBB0_56:
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_75
LBB0_57:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_74
## %bb.58:
	andl	$-2147483648, %eax              ## imm = 0x80000000
	testq	%rax, %rax
	jne	LBB0_74
## %bb.59:
	movl	$128, (%r13)
	jmp	LBB0_56
LBB0_60:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_74
## %bb.61:
	movl	$131, (%r13)
	jmp	LBB0_56
LBB0_62:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_74
## %bb.63:
	movl	$135, (%r13)
	jmp	LBB0_56
LBB0_64:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_74
## %bb.65:
	andl	$-2147483648, %eax              ## imm = 0x80000000
	testq	%rax, %rax
	je	LBB0_67
	jmp	LBB0_74
LBB0_66:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_74
LBB0_67:
	movl	$129, (%r13)
	jmp	LBB0_56
LBB0_68:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_74
## %bb.69:
	movl	$130, (%r13)
	jmp	LBB0_56
LBB0_70:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_74
## %bb.71:
	movl	$134, (%r13)
	jmp	LBB0_56
LBB0_72:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_56
## %bb.73:
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_lzh_br_has
	testl	%eax, %eax
	je	LBB0_76
LBB0_74:
	movq	_ARCHIVE_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r13)
LBB0_75:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_76:
	movl	120(%r13), %esi
	testl	%esi, %esi
	jle	LBB0_78
## %bb.77:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_lzh_emit_window
	movl	$0, 120(%r13)
	jmp	LBB0_56
LBB0_78:
	movq	_ARCHIVE_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_75
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_1, LBB0_1-LJTI0_0
.set L0_0_set_34, LBB0_34-LJTI0_0
.set L0_0_set_31, LBB0_31-LJTI0_0
.set L0_0_set_29, LBB0_29-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_52, LBB0_52-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_16
	.long	L0_0_set_12
	.long	L0_0_set_6
	.long	L0_0_set_1
	.long	L0_0_set_34
	.long	L0_0_set_31
	.long	L0_0_set_29
	.long	L0_0_set_7
	.long	L0_0_set_52
	.end_data_region
                                        ## -- End function
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.comm	_ARCHIVE_EOF,4,2                ## @ARCHIVE_EOF
	.comm	_ARCHIVE_FAILED,4,2             ## @ARCHIVE_FAILED
	.no_dead_strip	_lzh_read_blocks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lzh_read_blocks
_lzh_read_blocks:                       ; @lzh_read_blocks
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	str	w1, [sp, #12]                   ; 4-byte Folded Spill
	mov	x19, x0
	ldr	x27, [x0]
	add	x21, x27, #124
	add	x22, x27, #32
	mov	x23, x27
	ldr	w8, [x23], #72
Lloh0:
	adrp	x28, lJTI0_0@PAGE
Lloh1:
	add	x28, x28, lJTI0_0@PAGEOFF
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_37 Depth 2
	sub	w9, w8, #128
	cmp	w9, #9
	b.hi	LBB0_1
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	adr	x8, LBB0_3
	ldrb	w10, [x28, x9]
	add	x8, x8, x10, lsl #2
	br	x8
LBB0_3:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	w1, [x27, #16]
	b	LBB0_26
LBB0_4:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	w2, [x27, #36]
	b	LBB0_8
LBB0_5:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x19
	mov	x1, x21
	mov	w2, #16
	bl	_lzh_br_read_ahead_0
	cbz	w0, LBB0_74
; %bb.6:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x21
	mov	w1, #16
	bl	_lzh_br_bits
	str	x0, [x27, #112]
	cbz	x0, LBB0_53
; %bb.7:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x21
	mov	w1, #16
	bl	_lzh_br_consume
	ldp	w8, w2, [x27, #4]
	stp	w8, w2, [x27, #32]
	str	wzr, [x27, #12]
LBB0_8:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_lzh_br_read_ahead
	cbz	w0, LBB0_62
; %bb.9:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w1, [x27, #36]
	mov	x0, x21
	bl	_lzh_br_bits
	str	w0, [x27, #40]
	ldr	w1, [x27, #36]
	mov	x0, x21
	bl	_lzh_br_consume
LBB0_10:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x27, #40]
	cbz	w8, LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_1 Depth=1
	ldr	w9, [x22]
	cmp	w8, w9
	b.gt	LBB0_53
; %bb.12:                               ;   in Loop: Header=BB0_1 Depth=1
	str	wzr, [x27, #16]
	ldr	x0, [x27, #48]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	w8, [x27, #40]
	cmp	w8, #3
	b.ge	LBB0_17
; %bb.13:                               ;   in Loop: Header=BB0_1 Depth=1
	mov	w8, #128
	str	w8, [x27]
	b	LBB0_1
LBB0_14:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w2, [x27, #36]
	mov	x0, x19
	mov	x1, x21
	bl	_lzh_br_read_ahead
	cbz	w0, LBB0_70
; %bb.15:                               ;   in Loop: Header=BB0_1 Depth=1
	ldr	w1, [x27, #36]
	mov	x0, x21
	bl	_lzh_br_bits
	mov	x1, x0
	mov	x0, x22
	bl	_lzh_make_fake_table
	cbz	w0, LBB0_53
; %bb.16:                               ;   in Loop: Header=BB0_1 Depth=1
	ldr	w1, [x27, #36]
	mov	x0, x21
	bl	_lzh_br_consume
	ldr	w8, [x27, #12]
	cmp	w8, #0
	mov	w8, #137
	mov	w9, #135
	csel	w8, w9, w8, eq
	str	w8, [x27]
	b	LBB0_1
LBB0_17:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x27, #32]
	ldr	w9, [x27, #20]
	cmp	w8, w9
	b.ne	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_1 Depth=1
	mov	w8, #128
	str	w8, [x27]
	b	LBB0_1
LBB0_19:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w1, [x27, #16]
	mov	x0, x19
	mov	w2, #3
	bl	_lzh_read_pt_bitlen
	str	w0, [x27, #16]
	cmp	w0, #2
	b.le	LBB0_66
; %bb.20:                               ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x19
	mov	x1, x21
	mov	w2, #2
	bl	_lzh_br_read_ahead
	cbz	w0, LBB0_68
; %bb.21:                               ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x21
	mov	w1, #2
	bl	_lzh_br_bits
	mov	x24, x0
	mov	x0, x21
	mov	w1, #2
	bl	_lzh_br_consume
	ldr	w8, [x27, #40]
	sub	w8, w8, #3
	cmp	w8, w24
	b.lt	LBB0_53
; %bb.22:                               ;   in Loop: Header=BB0_1 Depth=1
	cmp	w24, #1
	b.lt	LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x27, #56]
	add	x0, x8, #12
	ubfiz	x1, x24, #2, #32
	bl	_bzero
	add	w1, w24, #3
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w1, #3
LBB0_25:                                ;   in Loop: Header=BB0_1 Depth=1
	str	w1, [x27, #16]
LBB0_26:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w2, [x27, #40]
	mov	x0, x19
	bl	_lzh_read_pt_bitlen
	str	w0, [x27, #16]
	ldr	w8, [x27, #40]
	cmp	w8, w0
	b.gt	LBB0_59
; %bb.27:                               ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x22
	bl	_lzh_make_huffman_table
	cbz	w0, LBB0_53
; %bb.28:                               ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x27, #12]
	cbz	w8, LBB0_30
; %bb.29:                               ;   in Loop: Header=BB0_1 Depth=1
	mov	w8, #137
	str	w8, [x27]
	b	LBB0_1
LBB0_30:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w2, [x27, #76]
	mov	x0, x19
	mov	x1, x21
	bl	_lzh_br_read_ahead
	cbz	w0, LBB0_64
; %bb.31:                               ;   in Loop: Header=BB0_1 Depth=1
	ldr	w1, [x27, #76]
	mov	x0, x21
	bl	_lzh_br_bits
	str	w0, [x27, #80]
	ldr	w1, [x27, #76]
	mov	x0, x21
	bl	_lzh_br_consume
LBB0_32:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x27, #80]
	cbz	w8, LBB0_48
; %bb.33:                               ;   in Loop: Header=BB0_1 Depth=1
	ldr	w9, [x23]
	cmp	w8, w9
	b.gt	LBB0_53
; %bb.34:                               ;   in Loop: Header=BB0_1 Depth=1
	str	wzr, [x27, #16]
	ldr	x0, [x27, #88]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
LBB0_35:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w20, [x27, #16]
	b	LBB0_37
LBB0_36:                                ;   in Loop: Header=BB0_37 Depth=2
	ldr	x8, [x27, #56]
	ldr	w1, [x8, w24, uxtw #2]
	mov	x0, x21
	bl	_lzh_br_consume
	sub	w8, w24, #2
	lsl	x9, x8, #2
	ldp	x10, x11, [x27, #88]
	ldr	w12, [x10, x9]
	add	w12, w12, #1
	str	w12, [x10, x9]
	str	w8, [x11, w20, sxtw #2]
	add	w20, w20, #1
LBB0_37:                                ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x27, #80]
	cmp	w20, w8
	b.ge	LBB0_45
; %bb.38:                               ;   in Loop: Header=BB0_37 Depth=2
	ldr	w2, [x27, #64]
	mov	x0, x19
	mov	x1, x21
	bl	_lzh_br_read_ahead
	cbz	w0, LBB0_52
; %bb.39:                               ;   in Loop: Header=BB0_37 Depth=2
	ldr	w1, [x27, #64]
	mov	x0, x21
	bl	_lzh_br_bits
	mov	x1, x0
	mov	x0, x22
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_lzh_decode_huffman
	mov	x24, x0
	cmp	w0, #3
	b.ge	LBB0_36
; %bb.40:                               ;   in Loop: Header=BB0_37 Depth=2
	cbz	w24, LBB0_44
; %bb.41:                               ;   in Loop: Header=BB0_37 Depth=2
	cmp	w24, #1
	mov	w8, #9
	mov	w9, #4
	csel	w25, w9, w8, eq
	ldr	x8, [x27, #56]
	ldr	w8, [x8, w24, sxtw #2]
	add	w2, w8, w25
	mov	x0, x19
	mov	x1, x21
	bl	_lzh_br_read_ahead
	cbz	w0, LBB0_52
; %bb.42:                               ;   in Loop: Header=BB0_37 Depth=2
	sxtw	x8, w24
	ldr	x9, [x27, #56]
	ldr	w1, [x9, x8, lsl #2]
	mov	x0, x21
	bl	_lzh_br_consume
	mov	x0, x21
	mov	x1, x25
	bl	_lzh_br_bits
	mov	x26, x0
	mov	x0, x21
	mov	x1, x25
	bl	_lzh_br_consume
	cmp	w24, #1
	mov	w8, #20
	mov	w9, #3
	csel	w8, w9, w8, eq
	add	w2, w8, w26
	add	w24, w2, w20
	ldr	w8, [x27, #80]
	cmp	w24, w8
	b.gt	LBB0_53
; %bb.43:                               ;   in Loop: Header=BB0_37 Depth=2
	ldr	x8, [x27, #96]
	add	x0, x8, w20, sxtw #2
	mov	w1, #0
	bl	_memset
	mov	x20, x24
	b	LBB0_37
LBB0_44:                                ;   in Loop: Header=BB0_37 Depth=2
	ldr	x8, [x27, #56]
	ldr	w1, [x8]
	mov	x0, x21
	bl	_lzh_br_consume
	ldr	x8, [x27, #96]
	str	wzr, [x8, w20, sxtw #2]
	add	w20, w20, #1
	b	LBB0_37
LBB0_45:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w20, w8
	b.gt	LBB0_53
; %bb.46:                               ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x23
	bl	_lzh_make_huffman_table
	cbz	w0, LBB0_53
LBB0_47:                                ;   in Loop: Header=BB0_1 Depth=1
	ldur	d0, [x27, #20]
	str	d0, [x27, #32]
	mov	w8, #1
	str	w8, [x27, #12]
	mov	w8, #131
	str	w8, [x27]
	b	LBB0_1
LBB0_48:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w2, [x27, #76]
	mov	x0, x19
	mov	x1, x21
	bl	_lzh_br_read_ahead
	cbz	w0, LBB0_72
; %bb.49:                               ;   in Loop: Header=BB0_1 Depth=1
	ldr	w1, [x27, #76]
	mov	x0, x21
	bl	_lzh_br_bits
	mov	x1, x0
	mov	x0, x23
	bl	_lzh_make_fake_table
	cbz	w0, LBB0_53
; %bb.50:                               ;   in Loop: Header=BB0_1 Depth=1
	ldr	w1, [x27, #76]
	mov	x0, x21
	bl	_lzh_br_consume
	mov	w8, #132
	str	w8, [x27]
	b	LBB0_1
LBB0_51:
	mov	w0, #100
	b	LBB0_58
LBB0_52:
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_54
LBB0_53:
Lloh2:
	adrp	x8, _ARCHIVE_FAILED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ARCHIVE_FAILED@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	str	w0, [x27, #28]
	b	LBB0_58
LBB0_54:
	str	w20, [x27, #16]
	mov	w8, #133
LBB0_55:
	str	w8, [x27]
LBB0_56:
Lloh5:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
LBB0_57:
	ldr	w0, [x8]
LBB0_58:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_59:
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cbnz	w8, LBB0_53
; %bb.60:
	tbnz	w0, #31, LBB0_53
; %bb.61:
	mov	w8, #128
	b	LBB0_55
LBB0_62:
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cbnz	w8, LBB0_53
; %bb.63:
	mov	w8, #131
	b	LBB0_55
LBB0_64:
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cbnz	w8, LBB0_53
; %bb.65:
	mov	w8, #135
	b	LBB0_55
LBB0_66:
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cbnz	w8, LBB0_53
; %bb.67:
	tbz	w0, #31, LBB0_69
	b	LBB0_53
LBB0_68:
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cbnz	w8, LBB0_53
LBB0_69:
	mov	w8, #129
	b	LBB0_55
LBB0_70:
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cbnz	w8, LBB0_53
; %bb.71:
	mov	w8, #130
	b	LBB0_55
LBB0_72:
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cbnz	w8, LBB0_53
; %bb.73:
	mov	w8, #134
	b	LBB0_55
LBB0_74:
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_56
; %bb.75:
	mov	x0, x21
	mov	w1, #8
	bl	_lzh_br_has
	cbnz	w0, LBB0_53
; %bb.76:
	ldr	w1, [x27, #120]
	cmp	w1, #1
	b.lt	LBB0_78
; %bb.77:
	mov	x0, x19
	bl	_lzh_emit_window
	str	wzr, [x27, #120]
	b	LBB0_56
LBB0_78:
Lloh7:
	adrp	x8, _ARCHIVE_EOF@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ARCHIVE_EOF@GOTPAGEOFF]
	b	LBB0_57
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_19-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_47-LBB0_3)>>2
	.byte	(LBB0_35-LBB0_3)>>2
	.byte	(LBB0_32-LBB0_3)>>2
	.byte	(LBB0_30-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_51-LBB0_3)>>2
                                        ; -- End function
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.comm	_ARCHIVE_EOF,4,2                ; @ARCHIVE_EOF
	.comm	_ARCHIVE_FAILED,4,2             ; @ARCHIVE_FAILED
	.no_dead_strip	_lzh_read_blocks
.subsections_via_symbols
