	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_MPPC_Compress                  ## -- Begin function MPPC_Compress
	.p2align	4, 0x90
_MPPC_Compress:                         ## @MPPC_Compress
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movq	%rdx, %r13
	movq	%rsi, %r12
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movl	(%rdx), %edx
	leal	(%rdx,%rdx,8), %eax
	leal	(%rdx,%rdx,8), %esi
	addl	$7, %esi
	testl	%eax, %eax
	cmovnsl	%eax, %esi
	sarl	$3, %esi
	addl	$2, %esi
	xorl	%ebx, %ebx
	cmpl	%esi, (%rcx)
	jl	LBB0_78
## %bb.1:
	movq	_MPPE_HIST_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %edx
	jg	LBB0_78
## %bb.2:
	movl	%r9d, -92(%rbp)                 ## 4-byte Spill
	movq	_MPPC_OK@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r10d
	movslq	%eax, %rbx
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	(%r14), %rdi
	leaq	(%rdi,%rbx,4), %rsi
	movl	8(%r14), %r8d
	leal	(%r8,%rdx), %r9d
	leal	(%rax,%rax), %ebx
	cmpl	%ebx, %r9d
	movq	%rsi, -136(%rbp)                ## 8-byte Spill
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	jge	LBB0_4
## %bb.3:
	movl	%r10d, -52(%rbp)                ## 4-byte Spill
	jmp	LBB0_5
LBB0_4:
	movq	_MPPC_RESTART_HISTORY@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r10d
	movl	%r10d, -52(%rbp)                ## 4-byte Spill
	movl	%eax, 8(%r14)
	movl	%eax, %edx
	callq	_memcpy
	movq	(%r14), %rdi
	movl	8(%r14), %r8d
	movl	(%r13), %edx
LBB0_5:
	movslq	%r8d, %rax
	leaq	(%rdi,%rax,4), %rdi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rsi
	movq	%rdi, -128(%rbp)                ## 8-byte Spill
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
	movl	(%r13), %eax
	addl	%eax, 8(%r14)
	movslq	(%r13), %rcx
	movl	$0, -48(%rbp)
	movq	(%r12), %rax
	movl	$0, (%rax)
	movl	$8, -44(%rbp)
	movl	(%r13), %eax
	xorl	%ebx, %ebx
	cmpl	$3, %eax
	jl	LBB0_28
## %bb.6:
	movq	-128(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%rcx,4), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	addq	$-12, %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	xorl	%ebx, %ebx
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
                                        ##     Child Loop BB0_21 Depth 2
	movq	%r12, %r13
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movslq	%ebx, %r15
	movq	-128(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%r15,4), %r14
	movq	%r14, %rdi
	callq	_HASH
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	16(%rbx), %rcx
	cltq
	movslq	(%rcx,%rax,4), %rdx
	movq	-136(%rbp), %rdi                ## 8-byte Reload
	leaq	(%rdi,%rdx,4), %rdx
	movq	%r14, %rsi
	subq	%rdi, %rsi
	shrq	$2, %rsi
	movl	%esi, (%rcx,%rax,4)
	movq	_MPPE_HIST_LEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rcx
	movq	%rcx, %rax
	negq	%rax
	cmpq	%r14, %rdx
	movl	$0, %esi
	cmovbeq	%rsi, %rax
	leaq	(%rdx,%rax,4), %r8
	movq	%r14, %rsi
	subq	%r8, %rsi
	shrq	$2, %rsi
	cmpl	%esi, %ecx
	jle	LBB0_32
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	testl	%esi, %esi
	jle	LBB0_32
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r8), %ecx
	cmpl	(%r14), %ecx
	jne	LBB0_32
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	4(%r8), %ecx
	cmpl	4(%r14), %ecx
	jne	LBB0_32
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	leaq	4(%r14), %r12
	movl	8(%r8), %ecx
	cmpl	4(%r12), %ecx
	jne	LBB0_32
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	addq	$4, %r12
	leaq	12(%r8), %rcx
	movl	12(%r8), %edx
	movl	4(%r12), %edi
	addq	$4, %r12
	cmpl	%edi, %edx
	jne	LBB0_18
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpq	-104(%rbp), %r12                ## 8-byte Folded Reload
	jae	LBB0_18
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=1
	xorl	%ecx, %ecx
	movq	-104(%rbp), %r9                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	28(%r8,%rcx), %edx
	movl	28(%r14,%rcx), %edi
	leaq	16(%rcx), %rbx
	cmpl	%edi, %edx
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=2
	leaq	(%r14,%rcx), %rax
	addq	$28, %rax
	movq	%rbx, %rcx
	cmpq	%r9, %rax
	jb	LBB0_15
LBB0_17:                                ##   in Loop: Header=BB0_7 Depth=1
	leaq	(%r14,%rbx), %r12
	addq	$12, %r12
	leaq	(%r8,%rbx), %rcx
	addq	$12, %rcx
LBB0_18:                                ##   in Loop: Header=BB0_7 Depth=1
	addq	$4, %r12
	cmpl	%edi, %edx
	jne	LBB0_23
## %bb.19:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpq	-120(%rbp), %r12                ## 8-byte Folded Reload
	ja	LBB0_23
## %bb.20:                              ##   in Loop: Header=BB0_7 Depth=1
	addq	$4, %rcx
	.p2align	4, 0x90
LBB0_21:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rax
	movl	(%rcx), %edx
	addq	$4, %r12
	cmpl	(%rax), %edx
	jne	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=2
	addq	$4, %rcx
	cmpq	-120(%rbp), %r12                ## 8-byte Folded Reload
	jbe	LBB0_21
LBB0_23:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$63, %esi
	jg	LBB0_37
## %bb.24:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r13), %rdi
	orl	$960, %esi                      ## imm = 0x3C0
                                        ## kill: def $esi killed $esi killed $rsi
	movl	$10, %edx
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	(%rax,%r15,4), %esi
	movq	%r13, %r12
	movq	(%r13), %rdi
	cmpl	$127, %esi
	jg	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	$8, %edx
	leaq	-48(%rbp), %rcx
	leaq	-44(%rbp), %r8
	callq	_putbits8
	jmp	LBB0_35
	.p2align	4, 0x90
LBB0_34:                                ##   in Loop: Header=BB0_7 Depth=1
	andl	$127, %esi
	orl	$256, %esi                      ## imm = 0x100
	movl	$9, %edx
	leaq	-48(%rbp), %rcx
	leaq	-44(%rbp), %r8
	callq	_putbits16
LBB0_35:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	incl	%ebx
LBB0_36:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r13), %eax
	leal	-2(%rax), %ecx
	cmpl	%ecx, %ebx
	jl	LBB0_7
	jmp	LBB0_28
LBB0_37:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$319, %esi                      ## imm = 0x13F
	ja	LBB0_39
## %bb.38:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r13), %rdi
	addl	$-64, %esi
	orl	$3584, %esi                     ## imm = 0xE00
                                        ## kill: def $esi killed $esi killed $rsi
	movl	$12, %edx
	jmp	LBB0_25
LBB0_39:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$8191, %esi                     ## imm = 0x1FFF
	ja	LBB0_66
## %bb.40:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r13), %rdi
	addl	$-320, %esi                     ## imm = 0xFEC0
	orl	$49152, %esi                    ## imm = 0xC000
                                        ## kill: def $esi killed $esi killed $rsi
	movl	$16, %edx
LBB0_25:                                ##   in Loop: Header=BB0_7 Depth=1
	leaq	-48(%rbp), %rcx
	leaq	-44(%rbp), %r8
	callq	_putbits16
	subq	%r14, %r12
	shrq	$2, %r12
	movl	%r12d, %esi
	decl	%esi
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	addl	%r12d, %ebx
	decl	%ebx
	cmpl	$3, %esi
	jg	LBB0_41
## %bb.26:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r13, %r12
	movq	(%r13), %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	jmp	LBB0_27
LBB0_41:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$7, %esi
	movq	%r13, %r12
	ja	LBB0_43
## %bb.42:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r12), %rdi
	andl	$3, %esi
	orl	$8, %esi
	movl	$4, %edx
LBB0_27:                                ##   in Loop: Header=BB0_7 Depth=1
	leaq	-48(%rbp), %rcx
	leaq	-44(%rbp), %r8
	callq	_putbits8
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_36
LBB0_43:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$15, %esi
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	ja	LBB0_46
## %bb.44:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r12), %rdi
	andl	$7, %esi
	orl	$48, %esi
	movl	$6, %edx
	jmp	LBB0_45
LBB0_46:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$31, %esi
	ja	LBB0_48
## %bb.47:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r12), %rdi
	andl	$15, %esi
	orl	$224, %esi
	movl	$8, %edx
LBB0_45:                                ##   in Loop: Header=BB0_7 Depth=1
	leaq	-48(%rbp), %rcx
	leaq	-44(%rbp), %r8
	callq	_putbits8
	jmp	LBB0_36
LBB0_48:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$63, %esi
	ja	LBB0_51
## %bb.49:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r12), %rdi
	andl	$31, %esi
	orl	$960, %esi                      ## imm = 0x3C0
	movl	$10, %edx
	jmp	LBB0_50
LBB0_51:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$127, %esi
	ja	LBB0_53
## %bb.52:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r12), %rdi
	andl	$63, %esi
	orl	$3968, %esi                     ## imm = 0xF80
	movl	$12, %edx
	jmp	LBB0_50
LBB0_53:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$255, %esi
	ja	LBB0_55
## %bb.54:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r12), %rdi
	andl	$127, %esi
	orl	$16128, %esi                    ## imm = 0x3F00
	movl	$14, %edx
	jmp	LBB0_50
LBB0_55:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$511, %esi                      ## imm = 0x1FF
	ja	LBB0_57
## %bb.56:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r12), %rdi
	movzbl	%sil, %esi
	orl	$65024, %esi                    ## imm = 0xFE00
	movl	$16, %edx
LBB0_50:                                ##   in Loop: Header=BB0_7 Depth=1
	leaq	-48(%rbp), %rcx
	leaq	-44(%rbp), %r8
	callq	_putbits16
	jmp	LBB0_36
LBB0_57:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$1023, %esi                     ## imm = 0x3FF
	ja	LBB0_60
## %bb.58:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r12), %rdi
	andl	$511, %esi                      ## imm = 0x1FF
	orl	$261120, %esi                   ## imm = 0x3FC00
	movl	$18, %edx
	jmp	LBB0_59
LBB0_60:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$2047, %esi                     ## imm = 0x7FF
	ja	LBB0_62
## %bb.61:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r12), %rdi
	andl	$1023, %esi                     ## imm = 0x3FF
	orl	$1046528, %esi                  ## imm = 0xFF800
	movl	$20, %edx
	jmp	LBB0_59
LBB0_62:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$4095, %esi                     ## imm = 0xFFF
	ja	LBB0_64
## %bb.63:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r12), %rdi
	andl	$2047, %esi                     ## imm = 0x7FF
	orl	$4190208, %esi                  ## imm = 0x3FF000
	movl	$22, %edx
	jmp	LBB0_59
LBB0_64:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$8191, %esi                     ## imm = 0x1FFF
	ja	LBB0_67
## %bb.65:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r12), %rdi
	andl	$4095, %esi                     ## imm = 0xFFF
	orl	$16769024, %esi                 ## imm = 0xFFE000
	movl	$24, %edx
LBB0_59:                                ##   in Loop: Header=BB0_7 Depth=1
	leaq	-48(%rbp), %rcx
	leaq	-44(%rbp), %r8
	callq	_putbits24
	jmp	LBB0_36
LBB0_28:
	cmpl	%ebx, %eax
	jle	LBB0_70
## %bb.29:
	movslq	%ebx, %rbx
	leaq	-48(%rbp), %r14
	leaq	-44(%rbp), %r15
	jmp	LBB0_30
	.p2align	4, 0x90
LBB0_68:                                ##   in Loop: Header=BB0_30 Depth=1
	andl	$127, %esi
	orl	$256, %esi                      ## imm = 0x100
	movl	$9, %edx
	movq	%r14, %rcx
	movq	%r15, %r8
	callq	_putbits16
LBB0_69:                                ##   in Loop: Header=BB0_30 Depth=1
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jge	LBB0_70
LBB0_30:                                ## =>This Inner Loop Header: Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %esi
	movq	(%r12), %rdi
	cmpl	$127, %esi
	jg	LBB0_68
## %bb.31:                              ##   in Loop: Header=BB0_30 Depth=1
	movl	$8, %edx
	movq	%r14, %rcx
	movq	%r15, %r8
	callq	_putbits8
	jmp	LBB0_69
LBB0_70:
	movl	-44(%rbp), %edx
	testl	$-9, %edx
	je	LBB0_72
## %bb.71:
	movq	(%r12), %rdi
	leaq	-48(%rbp), %rcx
	leaq	-44(%rbp), %r8
	xorl	%esi, %esi
	callq	_putbits8
	movl	(%r13), %eax
LBB0_72:
	movslq	-48(%rbp), %r14
	cmpl	%r14d, %eax
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	jl	LBB0_74
## %bb.73:
	movq	_MPPC_SAVE_HISTORY@GOTPCREL(%rip), %rcx
	movl	-92(%rbp), %edx                 ## 4-byte Reload
	testl	%edx, (%rcx)
	jne	LBB0_77
LBB0_74:
	xorl	%ecx, %ecx
	cmpl	%r14d, %eax
	jge	LBB0_76
## %bb.75:
	movq	_MPPC_EXPANDED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_76:
	orl	%ecx, %ebx
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movl	$24, %esi
	callq	_bzero
	movq	_MPPE_HIST_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
	movl	(%r13), %eax
	movq	-112(%rbp), %rsi                ## 8-byte Reload
LBB0_77:
	cltq
	shlq	$2, %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	addq	%rax, (%rcx)
	movl	$0, (%r13)
	movq	%r14, %rax
	shlq	$2, %rax
	addq	%rax, (%r12)
	subl	%r14d, (%rsi)
LBB0_78:
	movl	%ebx, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_66:
	xorl	%eax, %eax
	callq	___unreachable
LBB0_67:
	movq	_MPPC_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	andl	%eax, %ebx
	jmp	LBB0_78
	.cfi_endproc
                                        ## -- End function
	.comm	_MPPC_OK,4,2                    ## @MPPC_OK
	.comm	_MPPE_HIST_LEN,4,2              ## @MPPE_HIST_LEN
	.comm	_MPPC_RESTART_HISTORY,4,2       ## @MPPC_RESTART_HISTORY
	.comm	_MPPC_SAVE_HISTORY,4,2          ## @MPPC_SAVE_HISTORY
	.comm	_MPPC_EXPANDED,4,2              ## @MPPC_EXPANDED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_MPPC_Compress                  ; -- Begin function MPPC_Compress
	.p2align	2
_MPPC_Compress:                         ; @MPPC_Compress
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x22, x2
	ldr	w8, [x3]
	ldr	w2, [x2]
	add	w9, w2, w2, lsl #3
	add	w10, w9, #7
	cmp	w9, #0
	csel	w9, w10, w9, lt
	asr	w9, w9, #3
	add	w9, w9, #2
	cmp	w8, w9
	b.lt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _MPPE_HIST_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MPPE_HIST_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w2, w8
	b.le	LBB0_3
LBB0_2:
	mov	w20, #0
	b	LBB0_62
LBB0_3:
	mov	x19, x5
	mov	x24, x4
	mov	x21, x1
	mov	x23, x0
Lloh3:
	adrp	x9, _MPPC_OK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MPPC_OK@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x9]
	sxtw	x25, w8
	ldr	x28, [x4]
	add	x26, x28, x25, lsl #2
	ldr	w9, [x4, #8]
	add	w10, w9, w2
	cmp	w10, w8, lsl #1
	str	x3, [sp, #32]                   ; 8-byte Folded Spill
	b.ge	LBB0_5
; %bb.4:
	mov	x8, x28
	b	LBB0_6
LBB0_5:
Lloh6:
	adrp	x9, _MPPC_RESTART_HISTORY@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MPPC_RESTART_HISTORY@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w20, w9, w20
	str	w8, [x24, #8]
	mov	x0, x28
	mov	x1, x26
	mov	x2, x8
	bl	_memcpy
	ldr	x8, [x24]
	ldr	w9, [x24, #8]
	ldr	w2, [x22]
LBB0_6:
	str	w19, [sp, #28]                  ; 4-byte Folded Spill
	add	x27, x8, w9, sxtw #2
	ldr	x1, [x23]
	mov	x0, x27
	bl	_memcpy
	ldr	w8, [x22]
	ldr	w9, [x24, #8]
	add	w8, w9, w8
	str	w8, [x24, #8]
	ldrsw	x9, [x22]
	str	wzr, [sp, #44]
	ldr	x8, [x21]
	str	wzr, [x8]
	mov	w8, #8
	str	w8, [sp, #40]
	ldr	w8, [x22]
	cmp	w8, #3
	b.lt	LBB0_49
; %bb.7:
	str	w20, [sp, #12]                  ; 4-byte Folded Spill
	mov	w19, #0
	add	x20, x27, x9, lsl #2
	add	x8, x28, x25, lsl #2
	add	x8, x8, #12
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
	sxtw	x25, w19
	add	x28, x27, w19, sxtw #2
	mov	x0, x28
	bl	_HASH
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x8, [x24, #16]
	sbfiz	x10, x0, #2, #32
	ldrsw	x9, [x8, x10]
	add	x11, x26, x9, lsl #2
	sub	x12, x28, x26
	lsr	x12, x12, #2
	str	w12, [x8, x10]
Lloh9:
	adrp	x8, _MPPE_HIST_LEN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MPPE_HIST_LEN@GOTPAGEOFF]
Lloh11:
	ldrsw	x12, [x8]
	cmp	x11, x28
	csneg	x10, xzr, x12, ls
	add	x11, x11, x10, lsl #2
	sub	x8, x28, x11
	lsr	x8, x8, #2
	cmp	w12, w8
	ccmp	w8, #1, #8, gt
	b.lt	LBB0_16
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w12, [x11]
	ldr	w13, [x28]
	cmp	w12, w13
	b.ne	LBB0_16
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w12, [x11, #4]
	ldr	w13, [x28, #4]
	cmp	w12, w13
	b.ne	LBB0_16
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w11, [x11, #8]
	ldr	w12, [x28, #8]
	cmp	w11, w12
	b.ne	LBB0_16
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x19, #0
	add	x9, x10, x9
	ldr	x10, [sp, #16]                  ; 8-byte Folded Reload
	add	x9, x10, x9, lsl #2
LBB0_13:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w10, [x9, x19]
	add	x11, x28, x19
	add	x12, x11, #16
	ldr	w11, [x11, #12]
	add	x19, x19, #4
	cmp	w10, w11
	ccmp	x12, x20, #2, eq
	b.ls	LBB0_13
; %bb.14:                               ;   in Loop: Header=BB0_8 Depth=1
	cmp	w8, #63
	b.gt	LBB0_21
; %bb.15:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [x21]
	orr	w1, w8, #0x3c0
	add	x3, sp, #44
	add	x4, sp, #40
	mov	w2, #10
	b	LBB0_25
LBB0_16:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x23]
	ldr	w1, [x8, x25, lsl #2]
	ldr	x0, [x21]
	cmp	w1, #127
	b.gt	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_8 Depth=1
	add	x3, sp, #44
	add	x4, sp, #40
	mov	w2, #8
	bl	_putbits8
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	w8, #256
	bfxil	w8, w1, #0, #7
	add	x3, sp, #44
	add	x4, sp, #40
	mov	x1, x8
	mov	w2, #9
	bl	_putbits16
LBB0_19:                                ;   in Loop: Header=BB0_8 Depth=1
	add	w19, w25, #1
LBB0_20:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x22]
	sub	w9, w8, #2
	cmp	w19, w9
	b.lt	LBB0_8
	b	LBB0_50
LBB0_21:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w8, #319
	b.hi	LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [x21]
	sub	w8, w8, #64
	orr	w1, w8, #0xe00
	add	x3, sp, #44
	add	x4, sp, #40
	mov	w2, #12
	b	LBB0_25
LBB0_23:                                ;   in Loop: Header=BB0_8 Depth=1
	lsr	w9, w8, #13
	cbnz	w9, LBB0_63
; %bb.24:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [x21]
	sub	w8, w8, #320
	orr	w1, w8, #0xc000
	add	x3, sp, #44
	add	x4, sp, #40
	mov	w2, #16
LBB0_25:                                ;   in Loop: Header=BB0_8 Depth=1
	bl	_putbits16
	add	x8, x19, #12
	lsr	x8, x8, #2
	sub	w8, w8, #1
	add	w19, w8, w25
	cmp	w8, #3
	b.gt	LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [x21]
	add	x3, sp, #44
	add	x4, sp, #40
	mov	w1, #0
	mov	w2, #1
	bl	_putbits8
	b	LBB0_20
LBB0_27:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w8, #7
	b.hi	LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [x21]
	mov	w1, #8
	bfxil	w1, w8, #0, #2
	add	x3, sp, #44
	add	x4, sp, #40
	mov	w2, #4
	bl	_putbits8
	b	LBB0_20
LBB0_29:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w8, #15
	b.hi	LBB0_31
; %bb.30:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [x21]
	mov	w1, #48
	bfxil	w1, w8, #0, #3
	add	x3, sp, #44
	add	x4, sp, #40
	mov	w2, #6
	bl	_putbits8
	b	LBB0_20
LBB0_31:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w8, #31
	b.hi	LBB0_33
; %bb.32:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [x21]
	mov	w1, #224
	bfxil	w1, w8, #0, #4
	add	x3, sp, #44
	add	x4, sp, #40
	mov	w2, #8
	bl	_putbits8
	b	LBB0_20
LBB0_33:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w8, #63
	b.hi	LBB0_35
; %bb.34:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [x21]
	mov	w1, #960
	bfxil	w1, w8, #0, #5
	add	x3, sp, #44
	add	x4, sp, #40
	mov	w2, #10
	bl	_putbits16
	b	LBB0_20
LBB0_35:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w8, #127
	b.hi	LBB0_37
; %bb.36:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [x21]
	mov	w1, #3968
	bfxil	w1, w8, #0, #6
	add	x3, sp, #44
	add	x4, sp, #40
	mov	w2, #12
	bl	_putbits16
	b	LBB0_20
LBB0_37:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w8, #255
	b.hi	LBB0_39
; %bb.38:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [x21]
	mov	w1, #16128
	bfxil	w1, w8, #0, #7
	add	x3, sp, #44
	add	x4, sp, #40
	mov	w2, #14
	bl	_putbits16
	b	LBB0_20
LBB0_39:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w8, #511
	b.hi	LBB0_41
; %bb.40:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [x21]
	mov	w1, #65024
	bfxil	w1, w8, #0, #8
	add	x3, sp, #44
	add	x4, sp, #40
	mov	w2, #16
	bl	_putbits16
	b	LBB0_20
LBB0_41:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w8, #1023
	b.hi	LBB0_43
; %bb.42:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [x21]
	mov	w1, #261120
	bfxil	w1, w8, #0, #9
	add	x3, sp, #44
	add	x4, sp, #40
	mov	w2, #18
	bl	_putbits24
	b	LBB0_20
LBB0_43:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w8, #2047
	b.hi	LBB0_45
; %bb.44:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [x21]
	mov	w1, #1046528
	bfxil	w1, w8, #0, #10
	add	x3, sp, #44
	add	x4, sp, #40
	mov	w2, #20
	bl	_putbits24
	b	LBB0_20
LBB0_45:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w8, #4095
	b.hi	LBB0_47
; %bb.46:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [x21]
	mov	w1, #4190208
	bfxil	w1, w8, #0, #11
	add	x3, sp, #44
	add	x4, sp, #40
	mov	w2, #22
	bl	_putbits24
	b	LBB0_20
LBB0_47:                                ;   in Loop: Header=BB0_8 Depth=1
	lsr	w9, w8, #13
	cbnz	w9, LBB0_64
; %bb.48:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [x21]
	mov	w1, #16769024
	bfxil	w1, w8, #0, #12
	add	x3, sp, #44
	add	x4, sp, #40
	mov	w2, #24
	bl	_putbits24
	b	LBB0_20
LBB0_49:
	mov	w19, #0
	cmp	w8, w19
	b.gt	LBB0_51
	b	LBB0_56
LBB0_50:
	ldr	w20, [sp, #12]                  ; 4-byte Folded Reload
	cmp	w8, w19
	b.le	LBB0_56
LBB0_51:
                                        ; kill: def $w19 killed $w19 killed $x19 def $x19
	sxtw	x19, w19
	b	LBB0_54
LBB0_52:                                ;   in Loop: Header=BB0_54 Depth=1
	mov	w8, #256
	bfxil	w8, w1, #0, #7
	add	x3, sp, #44
	add	x4, sp, #40
	mov	x1, x8
	mov	w2, #9
	bl	_putbits16
LBB0_53:                                ;   in Loop: Header=BB0_54 Depth=1
	add	x19, x19, #1
	ldrsw	x8, [x22]
	cmp	x19, x8
	b.ge	LBB0_56
LBB0_54:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	w1, [x8, x19, lsl #2]
	ldr	x0, [x21]
	cmp	w1, #127
	b.gt	LBB0_52
; %bb.55:                               ;   in Loop: Header=BB0_54 Depth=1
	add	x3, sp, #44
	add	x4, sp, #40
	mov	w2, #8
	bl	_putbits8
	b	LBB0_53
LBB0_56:
	ldr	w2, [sp, #40]
	tst	w2, #0xfffffff7
	b.eq	LBB0_58
; %bb.57:
	ldr	x0, [x21]
	add	x3, sp, #44
	add	x4, sp, #40
	mov	w1, #0
	bl	_putbits8
	ldr	w8, [x22]
LBB0_58:
	ldrsw	x19, [sp, #44]
	cmp	w8, w19
	b.lt	LBB0_60
; %bb.59:
Lloh12:
	adrp	x9, _MPPC_SAVE_HISTORY@GOTPAGE
Lloh13:
	ldr	x9, [x9, _MPPC_SAVE_HISTORY@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	ldr	w10, [sp, #28]                  ; 4-byte Folded Reload
	tst	w9, w10
	b.ne	LBB0_61
LBB0_60:
Lloh15:
	adrp	x9, _MPPC_EXPANDED@GOTPAGE
Lloh16:
	ldr	x9, [x9, _MPPC_EXPANDED@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	cmp	w8, w19
	csel	w8, w9, wzr, lt
	orr	w20, w8, w20
	mov	x0, x24
	mov	w1, #24
	bl	_bzero
Lloh18:
	adrp	x8, _MPPE_HIST_LEN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MPPE_HIST_LEN@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	w8, [x24, #8]
	ldr	w8, [x22]
LBB0_61:
	ldr	x9, [x23]
	add	x8, x9, w8, sxtw #2
	str	x8, [x23]
	str	wzr, [x22]
	ldr	x8, [x21]
	add	x8, x8, x19, lsl #2
	str	x8, [x21]
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	ldr	w8, [x9]
	sub	w8, w8, w19
	str	w8, [x9]
LBB0_62:
	mov	x0, x20
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_63:
	bl	___unreachable
LBB0_64:
Lloh21:
	adrp	x8, _MPPC_OK@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MPPC_OK@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	ldr	w20, [sp, #12]                  ; 4-byte Folded Reload
	bic	w20, w20, w8
	b	LBB0_62
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_MPPC_OK,4,2                    ; @MPPC_OK
	.comm	_MPPE_HIST_LEN,4,2              ; @MPPE_HIST_LEN
	.comm	_MPPC_RESTART_HISTORY,4,2       ; @MPPC_RESTART_HISTORY
	.comm	_MPPC_SAVE_HISTORY,4,2          ; @MPPC_SAVE_HISTORY
	.comm	_MPPC_EXPANDED,4,2              ; @MPPC_EXPANDED
.subsections_via_symbols
