	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function filter
LCPI0_0:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_filter:                                ## @filter
	.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	$1384, %rsp                     ## imm = 0x568
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r13
	movq	%r8, %rbx
	movl	%ecx, -1168(%rbp)               ## 4-byte Spill
	movl	%edx, %r14d
	movq	%rsi, -1248(%rbp)               ## 8-byte Spill
	movq	%rdi, -1216(%rbp)               ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%r8, %rdi
	callq	_lodepng_get_bpp
	movl	%eax, %r12d
	movq	(%r13), %rsi
	cmpq	$0, 40(%r13)
	je	LBB0_4
## %bb.1:
	movq	(%rbx), %rcx
	movq	_LCT_PALETTE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_3
## %bb.2:
	cmpl	$7, 8(%rbx)
	jg	LBB0_4
LBB0_3:
	movq	_LFS_ZERO@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
LBB0_4:
	testl	%r12d, %r12d
	je	LBB0_10
## %bb.5:
	imull	%r12d, %r14d
	addl	$7, %r14d
	addl	$7, %r12d
	movl	%r14d, -1180(%rbp)              ## 4-byte Spill
	movl	%r14d, %r15d
	shrl	$3, %r15d
	shrl	$3, %r12d
	movq	_LFS_ZERO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rsi
	jne	LBB0_11
## %bb.6:
	movl	-1168(%rbp), %eax               ## 4-byte Reload
	testl	%eax, %eax
	je	LBB0_156
## %bb.7:
	leaq	1(%r15), %rcx
	movq	%rcx, -1192(%rbp)               ## 8-byte Spill
	movl	%eax, %r13d
	movq	-1216(%rbp), %rbx               ## 8-byte Reload
	incq	%rbx
	xorl	%edx, %edx
	movq	%r12, %r14
	movq	-1248(%rbp), %rax               ## 8-byte Reload
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %r12
	movb	$0, -1(%rbx)
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movq	%r15, %rcx
	movq	%r14, %r8
	xorl	%r9d, %r9d
	callq	_filterScanline
	addq	-1192(%rbp), %rbx               ## 8-byte Folded Reload
	leaq	(%r12,%r15), %rax
	movq	%r12, %rdx
	decq	%r13
	jne	LBB0_8
LBB0_156:
	xorl	%eax, %eax
	jmp	LBB0_157
LBB0_10:
	movl	$31, %eax
	jmp	LBB0_157
LBB0_11:
	movq	_LFS_MINSUM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rsi
	movq	%r15, -1200(%rbp)               ## 8-byte Spill
	jne	LBB0_72
## %bb.12:
	leaq	-1152(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ucvector_init
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ucvector_resize
	testl	%eax, %eax
	movq	-1216(%rbp), %r14               ## 8-byte Reload
	je	LBB0_80
## %bb.13:
	leaq	-1136(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ucvector_init
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ucvector_resize
	testl	%eax, %eax
	je	LBB0_80
## %bb.14:
	leaq	-1120(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ucvector_init
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ucvector_resize
	testl	%eax, %eax
	je	LBB0_80
## %bb.15:
	leaq	-1104(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ucvector_init
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ucvector_resize
	testl	%eax, %eax
	je	LBB0_80
## %bb.16:
	leaq	-1088(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ucvector_init
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ucvector_resize
	testl	%eax, %eax
	je	LBB0_80
## %bb.17:
	movq	%r12, -1192(%rbp)               ## 8-byte Spill
	movl	-1168(%rbp), %eax               ## 4-byte Reload
	testl	%eax, %eax
	je	LBB0_154
## %bb.18:
	cmpl	$2, %r15d
	movl	$1, %r12d
	cmovael	%r15d, %r12d
	movl	%eax, %eax
	movq	%rax, -1240(%rbp)               ## 8-byte Spill
	movl	%r12d, %eax
	andl	$-4, %eax
	movq	%rax, -1160(%rbp)               ## 8-byte Spill
	addq	$-4, %rax
	movq	%rax, -1264(%rbp)               ## 8-byte Spill
	movq	%rax, %rcx
	shrq	$2, %rcx
	incq	%rcx
	movl	%r12d, %eax
	andl	$-32, %eax
	movq	%rax, -1272(%rbp)               ## 8-byte Spill
	addq	$-32, %rax
	movq	%rax, -1376(%rbp)               ## 8-byte Spill
	movq	%rax, %rdx
	shrq	$5, %rdx
	incq	%rdx
	movq	%rcx, %rax
	movq	%rcx, -1224(%rbp)               ## 8-byte Spill
	andq	$-2, %rcx
	movq	%rcx, -1256(%rbp)               ## 8-byte Spill
	movl	%edx, %eax
	andl	$3, %eax
	andq	$-4, %rdx
	movq	%rdx, -1360(%rbp)               ## 8-byte Spill
	movl	%r12d, %r9d
	andl	$-8, %r9d
	movl	%r12d, %ecx
	andl	$3, %ecx
	movq	%rax, -1368(%rbp)               ## 8-byte Spill
	movq	%rax, %r8
	shlq	$5, %r8
	movq	%rcx, -1280(%rbp)               ## 8-byte Spill
	negq	%rcx
	movq	%rcx, -1384(%rbp)               ## 8-byte Spill
	leaq	1(%r15), %rax
	leaq	1(%r14), %rcx
	leaq	113(%r14), %r11
	leaq	17(%r14), %r10
	xorl	%edx, %edx
	movq	%rcx, -1232(%rbp)               ## 8-byte Spill
	movq	%rcx, %rdi
	xorl	%ecx, %ecx
	movq	%rcx, -1168(%rbp)               ## 8-byte Spill
	movl	$0, -1208(%rbp)                 ## 4-byte Folded Spill
	xorl	%r14d, %r14d
	movq	%r9, -1304(%rbp)                ## 8-byte Spill
	movq	%r8, -1296(%rbp)                ## 8-byte Spill
	movq	%rax, -1288(%rbp)               ## 8-byte Spill
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	-1336(%rbp), %rdx               ## 8-byte Reload
	incq	%rdx
	movq	-1288(%rbp), %rax               ## 8-byte Reload
	addq	%rax, %r11
	addq	%rax, %r10
	addq	%rax, %rdi
	cmpq	-1240(%rbp), %rdx               ## 8-byte Folded Reload
	je	LBB0_154
LBB0_20:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_24 Depth 2
                                        ##       Child Loop BB0_34 Depth 3
                                        ##       Child Loop BB0_38 Depth 3
                                        ##       Child Loop BB0_41 Depth 3
                                        ##       Child Loop BB0_45 Depth 3
                                        ##     Child Loop BB0_59 Depth 2
                                        ##     Child Loop BB0_62 Depth 2
                                        ##     Child Loop BB0_65 Depth 2
                                        ##     Child Loop BB0_69 Depth 2
                                        ##     Child Loop BB0_71 Depth 2
	movq	%rdi, -1328(%rbp)               ## 8-byte Spill
	movq	%r10, -1344(%rbp)               ## 8-byte Spill
	movq	%r11, -1352(%rbp)               ## 8-byte Spill
	movq	-1168(%rbp), %r13               ## 8-byte Reload
	movq	%rax, %rcx
	imulq	%rdx, %rcx
	movq	-1232(%rbp), %rax               ## 8-byte Reload
	movq	%rcx, -1320(%rbp)               ## 8-byte Spill
	addq	%rcx, %rax
	movq	%rax, -1312(%rbp)               ## 8-byte Spill
	movq	%rdx, -1336(%rbp)               ## 8-byte Spill
	imulq	%r15, %rdx
	addq	-1248(%rbp), %rdx               ## 8-byte Folded Reload
	movq	%rdx, -1168(%rbp)               ## 8-byte Spill
	xorl	%r15d, %r15d
	jmp	LBB0_24
LBB0_21:                                ##   in Loop: Header=BB0_24 Depth=2
	xorl	%ecx, %ecx
LBB0_22:                                ##   in Loop: Header=BB0_24 Depth=2
	movq	%rcx, %r14
	movl	%r15d, %eax
	movl	%r15d, -1208(%rbp)              ## 4-byte Spill
LBB0_23:                                ##   in Loop: Header=BB0_24 Depth=2
	incq	%r15
	cmpq	$5, %r15
	je	LBB0_50
LBB0_24:                                ##   Parent Loop BB0_20 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_34 Depth 3
                                        ##       Child Loop BB0_38 Depth 3
                                        ##       Child Loop BB0_41 Depth 3
                                        ##       Child Loop BB0_45 Depth 3
	movq	%r15, %rax
	shlq	$4, %rax
	leaq	(%rax,%rbp), %rbx
	addq	$-1152, %rbx                    ## imm = 0xFB80
	movq	-1152(%rbp,%rax), %rdi
	movq	-1168(%rbp), %rsi               ## 8-byte Reload
	movq	%r13, %rdx
	movq	-1200(%rbp), %rcx               ## 8-byte Reload
	movq	-1192(%rbp), %r8                ## 8-byte Reload
	movl	%r15d, %r9d
	callq	_filterScanline
	testq	%r15, %r15
	je	LBB0_27
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=2
	cmpl	$8, -1180(%rbp)                 ## 4-byte Folded Reload
	jae	LBB0_30
## %bb.26:                              ##   in Loop: Header=BB0_24 Depth=2
	xorl	%ecx, %ecx
	jmp	LBB0_47
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_24 Depth=2
	cmpl	$8, -1180(%rbp)                 ## 4-byte Folded Reload
	jb	LBB0_21
## %bb.28:                              ##   in Loop: Header=BB0_24 Depth=2
	movq	(%rbx), %rax
	cmpl	$4, %r12d
	jae	LBB0_39
## %bb.29:                              ##   in Loop: Header=BB0_24 Depth=2
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	jmp	LBB0_45
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_24 Depth=2
	movq	(%rbx), %rdi
	cmpl	$4, %r12d
	jae	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_24 Depth=2
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	jmp	LBB0_38
LBB0_32:                                ##   in Loop: Header=BB0_24 Depth=2
	cmpq	$0, -1264(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_48
## %bb.33:                              ##   in Loop: Header=BB0_24 Depth=2
	pxor	%xmm0, %xmm0
	movq	-1256(%rbp), %rdx               ## 8-byte Reload
	xorl	%ecx, %ecx
	pxor	%xmm1, %xmm1
	.p2align	4, 0x90
LBB0_34:                                ##   Parent Loop BB0_20 Depth=1
                                        ##     Parent Loop BB0_24 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movzwl	(%rdi,%rcx), %esi
	movd	%esi, %xmm2
	movzwl	2(%rdi,%rcx), %esi
	movd	%esi, %xmm3
	pabsb	%xmm2, %xmm2
	pabsb	%xmm3, %xmm3
	pmovzxbq	%xmm2, %xmm2                    ## xmm2 = xmm2[0],zero,zero,zero,zero,zero,zero,zero,xmm2[1],zero,zero,zero,zero,zero,zero,zero
	paddq	%xmm0, %xmm2
	pmovzxbq	%xmm3, %xmm3                    ## xmm3 = xmm3[0],zero,zero,zero,zero,zero,zero,zero,xmm3[1],zero,zero,zero,zero,zero,zero,zero
	paddq	%xmm1, %xmm3
	movzwl	4(%rdi,%rcx), %esi
	movd	%esi, %xmm0
	movzwl	6(%rdi,%rcx), %esi
	movd	%esi, %xmm1
	pabsb	%xmm0, %xmm0
	pabsb	%xmm1, %xmm1
	pmovzxbq	%xmm0, %xmm0                    ## xmm0 = xmm0[0],zero,zero,zero,zero,zero,zero,zero,xmm0[1],zero,zero,zero,zero,zero,zero,zero
	paddq	%xmm2, %xmm0
	pmovzxbq	%xmm1, %xmm1                    ## xmm1 = xmm1[0],zero,zero,zero,zero,zero,zero,zero,xmm1[1],zero,zero,zero,zero,zero,zero,zero
	paddq	%xmm3, %xmm1
	addq	$8, %rcx
	addq	$-2, %rdx
	jne	LBB0_34
## %bb.35:                              ##   in Loop: Header=BB0_24 Depth=2
	testb	$1, -1224(%rbp)                 ## 1-byte Folded Reload
	je	LBB0_37
LBB0_36:                                ##   in Loop: Header=BB0_24 Depth=2
	movzwl	(%rdi,%rcx), %edx
	movd	%edx, %xmm2
	movzwl	2(%rdi,%rcx), %ecx
	movd	%ecx, %xmm3
	pabsb	%xmm2, %xmm2
	pabsb	%xmm3, %xmm3
	pmovzxbq	%xmm2, %xmm2                    ## xmm2 = xmm2[0],zero,zero,zero,zero,zero,zero,zero,xmm2[1],zero,zero,zero,zero,zero,zero,zero
	paddq	%xmm2, %xmm0
	pmovzxbq	%xmm3, %xmm2                    ## xmm2 = xmm3[0],zero,zero,zero,zero,zero,zero,zero,xmm3[1],zero,zero,zero,zero,zero,zero,zero
	paddq	%xmm2, %xmm1
LBB0_37:                                ##   in Loop: Header=BB0_24 Depth=2
	paddq	%xmm1, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	paddq	%xmm0, %xmm1
	movq	%xmm1, %rcx
	movq	-1160(%rbp), %rax               ## 8-byte Reload
	movq	%rax, %rdx
	cmpq	%r12, %rax
	je	LBB0_46
	.p2align	4, 0x90
LBB0_38:                                ##   Parent Loop BB0_20 Depth=1
                                        ##     Parent Loop BB0_24 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movzbl	(%rdi,%rdx), %ebx
	movl	%ebx, %eax
	sarb	$7, %al
	xorb	%al, %bl
	subb	%al, %bl
	movzbl	%bl, %eax
	addq	%rax, %rcx
	incq	%rdx
	cmpq	%rdx, %r12
	jne	LBB0_38
	jmp	LBB0_46
LBB0_39:                                ##   in Loop: Header=BB0_24 Depth=2
	cmpq	$0, -1264(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_49
## %bb.40:                              ##   in Loop: Header=BB0_24 Depth=2
	pxor	%xmm0, %xmm0
	movq	-1256(%rbp), %rdx               ## 8-byte Reload
	xorl	%ecx, %ecx
	pxor	%xmm1, %xmm1
	.p2align	4, 0x90
LBB0_41:                                ##   Parent Loop BB0_20 Depth=1
                                        ##     Parent Loop BB0_24 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	pmovzxbq	(%rax,%rcx), %xmm2              ## xmm2 = mem[0],zero,zero,zero,zero,zero,zero,zero,mem[1],zero,zero,zero,zero,zero,zero,zero
	paddq	%xmm0, %xmm2
	pmovzxbq	2(%rax,%rcx), %xmm3             ## xmm3 = mem[0],zero,zero,zero,zero,zero,zero,zero,mem[1],zero,zero,zero,zero,zero,zero,zero
	paddq	%xmm1, %xmm3
	pmovzxbq	4(%rax,%rcx), %xmm0             ## xmm0 = mem[0],zero,zero,zero,zero,zero,zero,zero,mem[1],zero,zero,zero,zero,zero,zero,zero
	pmovzxbq	6(%rax,%rcx), %xmm1             ## xmm1 = mem[0],zero,zero,zero,zero,zero,zero,zero,mem[1],zero,zero,zero,zero,zero,zero,zero
	paddq	%xmm2, %xmm0
	paddq	%xmm3, %xmm1
	addq	$8, %rcx
	addq	$-2, %rdx
	jne	LBB0_41
## %bb.42:                              ##   in Loop: Header=BB0_24 Depth=2
	testb	$1, -1224(%rbp)                 ## 1-byte Folded Reload
	je	LBB0_44
LBB0_43:                                ##   in Loop: Header=BB0_24 Depth=2
	pmovzxbq	(%rax,%rcx), %xmm2              ## xmm2 = mem[0],zero,zero,zero,zero,zero,zero,zero,mem[1],zero,zero,zero,zero,zero,zero,zero
	paddq	%xmm2, %xmm0
	pmovzxbq	2(%rax,%rcx), %xmm2             ## xmm2 = mem[0],zero,zero,zero,zero,zero,zero,zero,mem[1],zero,zero,zero,zero,zero,zero,zero
	paddq	%xmm2, %xmm1
LBB0_44:                                ##   in Loop: Header=BB0_24 Depth=2
	paddq	%xmm1, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	paddq	%xmm0, %xmm1
	movq	%xmm1, %rcx
	movq	-1160(%rbp), %rsi               ## 8-byte Reload
	movq	%rsi, %rdx
	cmpq	%r12, %rsi
	je	LBB0_46
	.p2align	4, 0x90
LBB0_45:                                ##   Parent Loop BB0_20 Depth=1
                                        ##     Parent Loop BB0_24 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movzbl	(%rax,%rdx), %esi
	addq	%rsi, %rcx
	incq	%rdx
	cmpq	%rdx, %r12
	jne	LBB0_45
LBB0_46:                                ##   in Loop: Header=BB0_24 Depth=2
	testq	%r15, %r15
	je	LBB0_22
LBB0_47:                                ##   in Loop: Header=BB0_24 Depth=2
	cmpq	%r14, %rcx
	jb	LBB0_22
	jmp	LBB0_23
LBB0_48:                                ##   in Loop: Header=BB0_24 Depth=2
	pxor	%xmm0, %xmm0
	xorl	%ecx, %ecx
	pxor	%xmm1, %xmm1
	testb	$1, -1224(%rbp)                 ## 1-byte Folded Reload
	jne	LBB0_36
	jmp	LBB0_37
LBB0_49:                                ##   in Loop: Header=BB0_24 Depth=2
	pxor	%xmm0, %xmm0
	xorl	%ecx, %ecx
	pxor	%xmm1, %xmm1
	testb	$1, -1224(%rbp)                 ## 1-byte Folded Reload
	jne	LBB0_43
	jmp	LBB0_44
	.p2align	4, 0x90
LBB0_50:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	-1216(%rbp), %rax               ## 8-byte Reload
	movl	-1208(%rbp), %ecx               ## 4-byte Reload
	movq	-1320(%rbp), %rdx               ## 8-byte Reload
	movb	%cl, (%rax,%rdx)
	cmpl	$8, -1180(%rbp)                 ## 4-byte Folded Reload
	movq	-1200(%rbp), %r15               ## 8-byte Reload
	movq	-1304(%rbp), %r9                ## 8-byte Reload
	movq	-1296(%rbp), %r8                ## 8-byte Reload
	movq	-1352(%rbp), %r11               ## 8-byte Reload
	movq	-1344(%rbp), %r10               ## 8-byte Reload
	movq	-1328(%rbp), %rdi               ## 8-byte Reload
	jb	LBB0_19
## %bb.51:                              ##   in Loop: Header=BB0_20 Depth=1
	movl	-1208(%rbp), %eax               ## 4-byte Reload
	shlq	$4, %rax
	movq	-1152(%rbp,%rax), %rax
	cmpl	$8, %r12d
	jb	LBB0_55
## %bb.52:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	-1312(%rbp), %rdx               ## 8-byte Reload
	subq	%rax, %rdx
	movl	$0, %ecx
	cmpq	$32, %rdx
	jb	LBB0_67
## %bb.53:                              ##   in Loop: Header=BB0_20 Depth=1
	cmpl	$32, %r12d
	jae	LBB0_56
## %bb.54:                              ##   in Loop: Header=BB0_20 Depth=1
	xorl	%edx, %edx
	jmp	LBB0_65
LBB0_55:                                ##   in Loop: Header=BB0_20 Depth=1
	xorl	%ecx, %ecx
	jmp	LBB0_67
LBB0_56:                                ##   in Loop: Header=BB0_20 Depth=1
	cmpq	$96, -1376(%rbp)                ## 8-byte Folded Reload
	jae	LBB0_58
## %bb.57:                              ##   in Loop: Header=BB0_20 Depth=1
	xorl	%ecx, %ecx
	jmp	LBB0_60
LBB0_58:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	-1360(%rbp), %rdx               ## 8-byte Reload
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_59:                                ##   Parent Loop BB0_20 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movups	(%rax,%rcx), %xmm0
	movups	16(%rax,%rcx), %xmm1
	movups	%xmm0, -112(%r11,%rcx)
	movups	%xmm1, -96(%r11,%rcx)
	movups	32(%rax,%rcx), %xmm0
	movups	48(%rax,%rcx), %xmm1
	movups	%xmm0, -80(%r11,%rcx)
	movups	%xmm1, -64(%r11,%rcx)
	movups	64(%rax,%rcx), %xmm0
	movups	80(%rax,%rcx), %xmm1
	movups	%xmm0, -48(%r11,%rcx)
	movups	%xmm1, -32(%r11,%rcx)
	movdqu	96(%rax,%rcx), %xmm0
	movdqu	112(%rax,%rcx), %xmm1
	movdqu	%xmm0, -16(%r11,%rcx)
	movdqu	%xmm1, (%r11,%rcx)
	subq	$-128, %rcx
	addq	$-4, %rdx
	jne	LBB0_59
LBB0_60:                                ##   in Loop: Header=BB0_20 Depth=1
	cmpq	$0, -1368(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_63
## %bb.61:                              ##   in Loop: Header=BB0_20 Depth=1
	leaq	(%r10,%rcx), %rdx
	addq	%rax, %rcx
	addq	$16, %rcx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_62:                                ##   Parent Loop BB0_20 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	-16(%rcx,%rsi), %xmm0
	movdqu	(%rcx,%rsi), %xmm1
	movdqu	%xmm0, -16(%rdx,%rsi)
	movdqu	%xmm1, (%rdx,%rsi)
	addq	$32, %rsi
	cmpq	%rsi, %r8
	jne	LBB0_62
LBB0_63:                                ##   in Loop: Header=BB0_20 Depth=1
	cmpq	%r12, -1272(%rbp)               ## 8-byte Folded Reload
	je	LBB0_19
## %bb.64:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	-1272(%rbp), %rcx               ## 8-byte Reload
	movq	%rcx, %rdx
	testb	$24, %r12b
	je	LBB0_67
	.p2align	4, 0x90
LBB0_65:                                ##   Parent Loop BB0_20 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rax,%rdx), %rcx
	movq	%rcx, (%rdi,%rdx)
	addq	$8, %rdx
	cmpq	%rdx, %r9
	jne	LBB0_65
## %bb.66:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	%r9, %rcx
	cmpq	%r12, %r9
	je	LBB0_19
LBB0_67:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	%rcx, %rdx
	notq	%rdx
	addq	%r12, %rdx
	cmpq	$0, -1280(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_70
## %bb.68:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	-1384(%rbp), %rsi               ## 8-byte Reload
	.p2align	4, 0x90
LBB0_69:                                ##   Parent Loop BB0_20 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rax,%rcx), %ebx
	movb	%bl, (%rdi,%rcx)
	incq	%rcx
	incq	%rsi
	jne	LBB0_69
LBB0_70:                                ##   in Loop: Header=BB0_20 Depth=1
	cmpq	$3, %rdx
	jb	LBB0_19
	.p2align	4, 0x90
LBB0_71:                                ##   Parent Loop BB0_20 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rax,%rcx), %edx
	movb	%dl, (%rdi,%rcx)
	movzbl	1(%rax,%rcx), %edx
	movb	%dl, 1(%rdi,%rcx)
	movzbl	2(%rax,%rcx), %edx
	movb	%dl, 2(%rdi,%rcx)
	movzbl	3(%rax,%rcx), %edx
	movb	%dl, 3(%rdi,%rcx)
	addq	$4, %rcx
	cmpq	%rcx, %r12
	jne	LBB0_71
	jmp	LBB0_19
LBB0_72:
	movq	_LFS_ENTROPY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rsi
	jne	LBB0_122
## %bb.73:
	leaq	-128(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ucvector_init
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ucvector_resize
	testl	%eax, %eax
	je	LBB0_80
## %bb.74:
	leaq	-112(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ucvector_init
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ucvector_resize
	testl	%eax, %eax
	je	LBB0_80
## %bb.75:
	leaq	-96(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ucvector_init
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ucvector_resize
	testl	%eax, %eax
	je	LBB0_80
## %bb.76:
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ucvector_init
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ucvector_resize
	testl	%eax, %eax
	je	LBB0_80
## %bb.77:
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ucvector_init
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ucvector_resize
	testl	%eax, %eax
	je	LBB0_80
## %bb.78:
	movl	-1168(%rbp), %eax               ## 4-byte Reload
	testl	%eax, %eax
	je	LBB0_159
## %bb.79:
	movl	%eax, %edx
	movq	-1200(%rbp), %rax               ## 8-byte Reload
	leaq	1(%rax), %rcx
	cvtsi2ss	%ecx, %xmm0
	movss	%xmm0, -1208(%rbp)              ## 4-byte Spill
	cmpl	$2, %eax
	movl	$1, %r9d
	cmovael	%eax, %r9d
	movl	%edx, %eax
	movq	%rax, -1288(%rbp)               ## 8-byte Spill
	movq	-1216(%rbp), %rax               ## 8-byte Reload
	leaq	1(%rax), %rdx
	movl	%r9d, %esi
	andl	$-32, %esi
	movq	%rsi, -1272(%rbp)               ## 8-byte Spill
	addq	$-32, %rsi
	movq	%rsi, -1368(%rbp)               ## 8-byte Spill
	shrq	$5, %rsi
	incq	%rsi
	movl	%r9d, %r15d
	andl	$3, %r15d
	movl	%r9d, %r13d
	andl	$-4, %r13d
	movl	%esi, %ebx
	andl	$3, %ebx
	andq	$-4, %rsi
	movq	%rsi, -1416(%rbp)               ## 8-byte Spill
	movl	%r9d, %esi
	andl	$-8, %esi
	movq	%rsi, -1376(%rbp)               ## 8-byte Spill
	movq	%rbx, -1360(%rbp)               ## 8-byte Spill
	movq	%rbx, %r8
	shlq	$5, %r8
	movq	%r15, %rsi
	negq	%rsi
	movq	%rsi, -1384(%rbp)               ## 8-byte Spill
	xorps	%xmm2, %xmm2
	leaq	-1(%r9), %rsi
	movq	%rsi, -1352(%rbp)               ## 8-byte Spill
	leaq	113(%rax), %r14
	leaq	17(%rax), %r10
	xorl	%r11d, %r11d
	movq	%rdx, -1232(%rbp)               ## 8-byte Spill
	movq	%rdx, %rdi
	xorl	%eax, %eax
	movq	%rax, -1224(%rbp)               ## 8-byte Spill
	movl	$0, -1160(%rbp)                 ## 4-byte Folded Spill
	movq	%rcx, -1304(%rbp)               ## 8-byte Spill
	movq	%r9, -1296(%rbp)                ## 8-byte Spill
	movq	%r8, -1280(%rbp)                ## 8-byte Spill
	jmp	LBB0_82
LBB0_80:
	movl	$83, %eax
LBB0_157:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_160
## %bb.158:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$1384, %rsp                     ## imm = 0x568
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_81:                                ##   in Loop: Header=BB0_82 Depth=1
	incq	%r11
	movq	-1304(%rbp), %rcx               ## 8-byte Reload
	addq	%rcx, %r14
	addq	%rcx, %r10
	addq	%rcx, %rdi
	cmpq	-1288(%rbp), %r11               ## 8-byte Folded Reload
	je	LBB0_159
LBB0_82:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_84 Depth 2
                                        ##       Child Loop BB0_88 Depth 3
                                        ##       Child Loop BB0_91 Depth 3
                                        ##       Child Loop BB0_94 Depth 3
                                        ##     Child Loop BB0_107 Depth 2
                                        ##     Child Loop BB0_110 Depth 2
                                        ##     Child Loop BB0_114 Depth 2
                                        ##     Child Loop BB0_118 Depth 2
                                        ##     Child Loop BB0_120 Depth 2
	movq	%rdi, -1320(%rbp)               ## 8-byte Spill
	movq	%r10, -1336(%rbp)               ## 8-byte Spill
	movq	%r14, -1344(%rbp)               ## 8-byte Spill
	movq	-1224(%rbp), %rax               ## 8-byte Reload
	movq	%rax, -1256(%rbp)               ## 8-byte Spill
	imulq	%r11, %rcx
	movq	-1232(%rbp), %rax               ## 8-byte Reload
	movq	%rcx, -1312(%rbp)               ## 8-byte Spill
	addq	%rcx, %rax
	movq	%rax, -1240(%rbp)               ## 8-byte Spill
	movq	%r11, -1328(%rbp)               ## 8-byte Spill
	imulq	-1200(%rbp), %r11               ## 8-byte Folded Reload
	addq	-1248(%rbp), %r11               ## 8-byte Folded Reload
	movq	%r11, -1224(%rbp)               ## 8-byte Spill
	xorl	%r14d, %r14d
	movaps	%xmm2, %xmm0
	jmp	LBB0_84
	.p2align	4, 0x90
LBB0_83:                                ##   in Loop: Header=BB0_84 Depth=2
	movl	-1160(%rbp), %eax               ## 4-byte Reload
	cmovnel	%r14d, %eax
	movl	%eax, -1160(%rbp)               ## 4-byte Spill
	incq	%r14
	movaps	%xmm2, %xmm0
	cmpq	$5, %r14
	movq	%rbx, %r12
	je	LBB0_98
LBB0_84:                                ##   Parent Loop BB0_82 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_88 Depth 3
                                        ##       Child Loop BB0_91 Depth 3
                                        ##       Child Loop BB0_94 Depth 3
	movss	%xmm0, -1264(%rbp)              ## 4-byte Spill
	movq	%r14, %rbx
	shlq	$4, %rbx
	movq	-128(%rbp,%rbx), %rdi
	movq	-1224(%rbp), %rsi               ## 8-byte Reload
	movq	-1256(%rbp), %rdx               ## 8-byte Reload
	movq	-1200(%rbp), %rcx               ## 8-byte Reload
	movq	%r12, %r8
	movl	%r14d, %r9d
	callq	_filterScanline
	movl	$1024, %esi                     ## imm = 0x400
	leaq	-1152(%rbp), %rdi
	callq	___bzero
	cmpl	$8, -1180(%rbp)                 ## 4-byte Folded Reload
	jb	LBB0_92
## %bb.85:                              ##   in Loop: Header=BB0_84 Depth=2
	leaq	(%rbx,%rbp), %rax
	addq	$-128, %rax
	movq	(%rax), %rax
	cmpq	$3, -1352(%rbp)                 ## 8-byte Folded Reload
	jae	LBB0_87
## %bb.86:                              ##   in Loop: Header=BB0_84 Depth=2
	xorl	%ecx, %ecx
	jmp	LBB0_89
	.p2align	4, 0x90
LBB0_87:                                ##   in Loop: Header=BB0_84 Depth=2
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_88:                                ##   Parent Loop BB0_82 Depth=1
                                        ##     Parent Loop BB0_84 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movzbl	(%rax,%rcx), %edx
	incl	-1152(%rbp,%rdx,4)
	movzbl	1(%rax,%rcx), %edx
	incl	-1152(%rbp,%rdx,4)
	movzbl	2(%rax,%rcx), %edx
	incl	-1152(%rbp,%rdx,4)
	movzbl	3(%rax,%rcx), %edx
	incl	-1152(%rbp,%rdx,4)
	addq	$4, %rcx
	cmpq	%rcx, %r13
	jne	LBB0_88
LBB0_89:                                ##   in Loop: Header=BB0_84 Depth=2
	testq	%r15, %r15
	je	LBB0_92
## %bb.90:                              ##   in Loop: Header=BB0_84 Depth=2
	addq	%rcx, %rax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_91:                                ##   Parent Loop BB0_82 Depth=1
                                        ##     Parent Loop BB0_84 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movzbl	(%rax,%rcx), %edx
	incl	-1152(%rbp,%rdx,4)
	incq	%rcx
	cmpq	%rcx, %r15
	jne	LBB0_91
LBB0_92:                                ##   in Loop: Header=BB0_84 Depth=2
	movq	%r12, %rbx
	incl	-1152(%rbp,%r14,4)
	xorps	%xmm2, %xmm2
	xorl	%r12d, %r12d
	jmp	LBB0_94
	.p2align	4, 0x90
LBB0_93:                                ##   in Loop: Header=BB0_94 Depth=3
	addss	%xmm0, %xmm2
	incq	%r12
	cmpq	$256, %r12                      ## imm = 0x100
	je	LBB0_96
LBB0_94:                                ##   Parent Loop BB0_82 Depth=1
                                        ##     Parent Loop BB0_84 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	-1152(%rbp,%r12,4), %eax
	xorps	%xmm0, %xmm0
	testl	%eax, %eax
	je	LBB0_93
## %bb.95:                              ##   in Loop: Header=BB0_94 Depth=3
	movl	%eax, %eax
	xorps	%xmm1, %xmm1
	cvtsi2ss	%rax, %xmm1
	divss	-1208(%rbp), %xmm1              ## 4-byte Folded Reload
	movss	%xmm1, -1168(%rbp)              ## 4-byte Spill
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	divss	%xmm1, %xmm0
	cvttss2si	%xmm0, %edi
	movss	%xmm2, -1192(%rbp)              ## 4-byte Spill
	callq	_flog2
	movss	-1192(%rbp), %xmm2              ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	mulss	-1168(%rbp), %xmm0              ## 4-byte Folded Reload
	jmp	LBB0_93
	.p2align	4, 0x90
LBB0_96:                                ##   in Loop: Header=BB0_84 Depth=2
	testq	%r14, %r14
	sete	%al
	movss	-1264(%rbp), %xmm0              ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	ucomiss	%xmm2, %xmm0
	seta	%cl
	orb	%al, %cl
	testb	%cl, %cl
	jne	LBB0_83
## %bb.97:                              ##   in Loop: Header=BB0_84 Depth=2
	movaps	%xmm0, %xmm2
	jmp	LBB0_83
LBB0_98:                                ##   in Loop: Header=BB0_82 Depth=1
	movq	-1216(%rbp), %rax               ## 8-byte Reload
	movl	-1160(%rbp), %ecx               ## 4-byte Reload
	movq	-1312(%rbp), %rdx               ## 8-byte Reload
	movb	%cl, (%rax,%rdx)
	cmpl	$8, -1180(%rbp)                 ## 4-byte Folded Reload
	movq	-1296(%rbp), %r9                ## 8-byte Reload
	movq	-1280(%rbp), %r8                ## 8-byte Reload
	movq	-1344(%rbp), %r14               ## 8-byte Reload
	movq	-1336(%rbp), %r10               ## 8-byte Reload
	movq	-1328(%rbp), %r11               ## 8-byte Reload
	movq	-1320(%rbp), %rdi               ## 8-byte Reload
	jb	LBB0_81
## %bb.99:                              ##   in Loop: Header=BB0_82 Depth=1
	movl	-1160(%rbp), %eax               ## 4-byte Reload
	shlq	$4, %rax
	movq	-128(%rbp,%rax), %rax
	cmpl	$8, %r9d
	jb	LBB0_103
## %bb.100:                             ##   in Loop: Header=BB0_82 Depth=1
	movq	-1240(%rbp), %rdx               ## 8-byte Reload
	subq	%rax, %rdx
	movl	$0, %ecx
	cmpq	$32, %rdx
	jb	LBB0_116
## %bb.101:                             ##   in Loop: Header=BB0_82 Depth=1
	cmpl	$32, %r9d
	jae	LBB0_104
## %bb.102:                             ##   in Loop: Header=BB0_82 Depth=1
	xorl	%edx, %edx
	jmp	LBB0_113
LBB0_103:                               ##   in Loop: Header=BB0_82 Depth=1
	xorl	%ecx, %ecx
	jmp	LBB0_116
LBB0_104:                               ##   in Loop: Header=BB0_82 Depth=1
	cmpq	$96, -1368(%rbp)                ## 8-byte Folded Reload
	jae	LBB0_106
## %bb.105:                             ##   in Loop: Header=BB0_82 Depth=1
	xorl	%ecx, %ecx
	jmp	LBB0_108
LBB0_106:                               ##   in Loop: Header=BB0_82 Depth=1
	movq	-1416(%rbp), %rdx               ## 8-byte Reload
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_107:                               ##   Parent Loop BB0_82 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movups	(%rax,%rcx), %xmm0
	movups	16(%rax,%rcx), %xmm1
	movups	%xmm0, -112(%r14,%rcx)
	movups	%xmm1, -96(%r14,%rcx)
	movups	32(%rax,%rcx), %xmm0
	movups	48(%rax,%rcx), %xmm1
	movups	%xmm0, -80(%r14,%rcx)
	movups	%xmm1, -64(%r14,%rcx)
	movups	64(%rax,%rcx), %xmm0
	movups	80(%rax,%rcx), %xmm1
	movups	%xmm0, -48(%r14,%rcx)
	movups	%xmm1, -32(%r14,%rcx)
	movups	96(%rax,%rcx), %xmm0
	movups	112(%rax,%rcx), %xmm1
	movups	%xmm0, -16(%r14,%rcx)
	movups	%xmm1, (%r14,%rcx)
	subq	$-128, %rcx
	addq	$-4, %rdx
	jne	LBB0_107
LBB0_108:                               ##   in Loop: Header=BB0_82 Depth=1
	cmpq	$0, -1360(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_111
## %bb.109:                             ##   in Loop: Header=BB0_82 Depth=1
	leaq	(%r10,%rcx), %rdx
	addq	%rax, %rcx
	addq	$16, %rcx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_110:                               ##   Parent Loop BB0_82 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movups	-16(%rcx,%rsi), %xmm0
	movups	(%rcx,%rsi), %xmm1
	movups	%xmm0, -16(%rdx,%rsi)
	movups	%xmm1, (%rdx,%rsi)
	addq	$32, %rsi
	cmpq	%rsi, %r8
	jne	LBB0_110
LBB0_111:                               ##   in Loop: Header=BB0_82 Depth=1
	cmpq	%r9, -1272(%rbp)                ## 8-byte Folded Reload
	je	LBB0_81
## %bb.112:                             ##   in Loop: Header=BB0_82 Depth=1
	movq	-1272(%rbp), %rcx               ## 8-byte Reload
	movq	%rcx, %rdx
	testb	$24, %r9b
	je	LBB0_116
LBB0_113:                               ##   in Loop: Header=BB0_82 Depth=1
	movq	-1376(%rbp), %rsi               ## 8-byte Reload
	.p2align	4, 0x90
LBB0_114:                               ##   Parent Loop BB0_82 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rax,%rdx), %rcx
	movq	%rcx, (%rdi,%rdx)
	addq	$8, %rdx
	cmpq	%rdx, %rsi
	jne	LBB0_114
## %bb.115:                             ##   in Loop: Header=BB0_82 Depth=1
	movq	%rsi, %rcx
	cmpq	%r9, %rsi
	je	LBB0_81
LBB0_116:                               ##   in Loop: Header=BB0_82 Depth=1
	movq	%rcx, %rdx
	notq	%rdx
	addq	%r9, %rdx
	testb	$3, %r9b
	je	LBB0_119
## %bb.117:                             ##   in Loop: Header=BB0_82 Depth=1
	movq	-1384(%rbp), %rsi               ## 8-byte Reload
	.p2align	4, 0x90
LBB0_118:                               ##   Parent Loop BB0_82 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rax,%rcx), %ebx
	movb	%bl, (%rdi,%rcx)
	incq	%rcx
	incq	%rsi
	jne	LBB0_118
LBB0_119:                               ##   in Loop: Header=BB0_82 Depth=1
	cmpq	$3, %rdx
	jb	LBB0_81
	.p2align	4, 0x90
LBB0_120:                               ##   Parent Loop BB0_82 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rax,%rcx), %edx
	movb	%dl, (%rdi,%rcx)
	movzbl	1(%rax,%rcx), %edx
	movb	%dl, 1(%rdi,%rcx)
	movzbl	2(%rax,%rcx), %edx
	movb	%dl, 2(%rdi,%rcx)
	movzbl	3(%rax,%rcx), %edx
	movb	%dl, 3(%rdi,%rcx)
	addq	$4, %rcx
	cmpq	%rcx, %r9
	jne	LBB0_120
	jmp	LBB0_81
LBB0_122:
	movq	_LFS_PREDEFINED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rsi
	jne	LBB0_127
## %bb.123:
	movl	-1168(%rbp), %eax               ## 4-byte Reload
	testl	%eax, %eax
	je	LBB0_156
## %bb.124:
	leaq	1(%r15), %rcx
	movq	%rcx, -1208(%rbp)               ## 8-byte Spill
	movl	%eax, %eax
	movq	%rax, -1168(%rbp)               ## 8-byte Spill
	movq	-1216(%rbp), %r14               ## 8-byte Reload
	incq	%r14
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	movq	%r12, -1192(%rbp)               ## 8-byte Spill
	movq	-1248(%rbp), %rax               ## 8-byte Reload
	.p2align	4, 0x90
LBB0_125:                               ## =>This Inner Loop Header: Depth=1
	movq	%rax, %r12
	movq	8(%r13), %rax
	movl	(%rax,%rbx,4), %r9d
	movb	%r9b, -1(%r14)
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r15, %rcx
	movq	-1192(%rbp), %r8                ## 8-byte Reload
	callq	_filterScanline
	incq	%rbx
	addq	-1208(%rbp), %r14               ## 8-byte Folded Reload
	leaq	(%r12,%r15), %rax
	movq	%r12, %rdx
	cmpq	%rbx, -1168(%rbp)               ## 8-byte Folded Reload
	jne	LBB0_125
	jmp	LBB0_156
LBB0_127:
	movq	_LFS_BRUTE_FORCE@GOTPCREL(%rip), %rcx
	movl	$88, %eax
	cmpq	(%rcx), %rsi
	jne	LBB0_157
## %bb.128:
	movq	16(%r13), %rax
	movq	%rax, -1408(%rbp)
	movl	$1, -1408(%rbp)
	pxor	%xmm0, %xmm0
	movdqu	%xmm0, -1400(%rbp)
	leaq	-1152(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ucvector_init
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ucvector_resize
	leaq	-1136(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ucvector_init
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ucvector_resize
	leaq	-1120(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ucvector_init
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ucvector_resize
	leaq	-1104(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ucvector_init
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ucvector_resize
	leaq	-1088(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ucvector_init
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ucvector_resize
	movl	-1168(%rbp), %eax               ## 4-byte Reload
	testl	%eax, %eax
	movq	-1248(%rbp), %r10               ## 8-byte Reload
	je	LBB0_154
## %bb.129:
	movl	%eax, %esi
	movq	-1200(%rbp), %rax               ## 8-byte Reload
	leaq	1(%rax), %rdx
	cmpl	$2, %eax
	movl	$1, %r9d
	cmovael	%eax, %r9d
	movl	%esi, %eax
	movq	%rax, -1336(%rbp)               ## 8-byte Spill
	movq	-1216(%rbp), %rax               ## 8-byte Reload
	leaq	1(%rax), %r13
	movl	%r9d, %esi
	andl	$-32, %esi
	movq	%rsi, -1240(%rbp)               ## 8-byte Spill
	addq	$-32, %rsi
	movq	%rsi, -1296(%rbp)               ## 8-byte Spill
	shrq	$5, %rsi
	incq	%rsi
	movl	%esi, %ebx
	andl	$3, %ebx
	andq	$-4, %rsi
	movq	%rsi, -1280(%rbp)               ## 8-byte Spill
	movl	%r9d, %esi
	andl	$-8, %esi
	movq	%rsi, -1304(%rbp)               ## 8-byte Spill
	movl	%r9d, %esi
	andl	$3, %esi
	movq	%rbx, -1288(%rbp)               ## 8-byte Spill
	shlq	$5, %rbx
	movq	%rbx, -1232(%rbp)               ## 8-byte Spill
	movq	%rsi, -1320(%rbp)               ## 8-byte Spill
	negq	%rsi
	movq	%rsi, -1312(%rbp)               ## 8-byte Spill
	leaq	113(%rax), %rdi
	leaq	17(%rax), %r8
	xorl	%r15d, %r15d
	movq	%r13, -1328(%rbp)               ## 8-byte Spill
	xorl	%ebx, %ebx
	movq	%rdx, -1352(%rbp)               ## 8-byte Spill
	movq	%r9, -1344(%rbp)                ## 8-byte Spill
	jmp	LBB0_131
	.p2align	4, 0x90
LBB0_130:                               ##   in Loop: Header=BB0_131 Depth=1
	movq	-1208(%rbp), %r15               ## 8-byte Reload
	incq	%r15
	movq	-1352(%rbp), %rdx               ## 8-byte Reload
	addq	%rdx, %rdi
	addq	%rdx, %r8
	addq	%rdx, %r13
	cmpq	-1336(%rbp), %r15               ## 8-byte Folded Reload
	movq	-1248(%rbp), %r10               ## 8-byte Reload
	movq	-1160(%rbp), %rbx               ## 8-byte Reload
	je	LBB0_154
LBB0_131:                               ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_140 Depth 2
                                        ##     Child Loop BB0_143 Depth 2
                                        ##     Child Loop BB0_147 Depth 2
                                        ##     Child Loop BB0_151 Depth 2
                                        ##     Child Loop BB0_153 Depth 2
	movq	%rdi, -1264(%rbp)               ## 8-byte Spill
	movq	%r8, -1168(%rbp)                ## 8-byte Spill
	movq	%rbx, -1192(%rbp)               ## 8-byte Spill
	imulq	%r15, %rdx
	movq	%rdx, -1224(%rbp)               ## 8-byte Spill
	movq	%r15, -1208(%rbp)               ## 8-byte Spill
	movq	-1200(%rbp), %rcx               ## 8-byte Reload
	imulq	%rcx, %r15
	addq	%r10, %r15
	movl	-1144(%rbp), %r14d
	movq	-1152(%rbp), %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movq	%rcx, %rbx
	movq	%r12, %r8
	xorl	%r9d, %r9d
	callq	_filterScanline
	movq	$0, -128(%rbp)
	movq	$0, -1176(%rbp)
	movq	-1152(%rbp), %rdx
	leaq	-1176(%rbp), %rdi
	leaq	-128(%rbp), %rsi
	movl	%r14d, %ecx
	leaq	-1408(%rbp), %r8
	callq	_zlib_compress
	movq	-1176(%rbp), %rdi
	callq	_lodepng_free
	movq	-128(%rbp), %r14
	movl	-1128(%rbp), %eax
	movl	%eax, -1160(%rbp)               ## 4-byte Spill
	movq	-1136(%rbp), %rdi
	movq	%r15, %rsi
	movq	-1192(%rbp), %rdx               ## 8-byte Reload
	movq	%rbx, %rcx
	movq	%r12, %r8
	movl	$1, %r9d
	callq	_filterScanline
	movq	$0, -120(%rbp)
	movq	$0, -1176(%rbp)
	movq	-1136(%rbp), %rdx
	leaq	-1176(%rbp), %rdi
	leaq	-120(%rbp), %rsi
	movl	-1160(%rbp), %ecx               ## 4-byte Reload
	leaq	-1408(%rbp), %r8
	callq	_zlib_compress
	movq	-1176(%rbp), %rdi
	callq	_lodepng_free
	movq	-120(%rbp), %rax
	xorl	%ebx, %ebx
	cmpq	%r14, %rax
	setb	%bl
	cmovbq	%rax, %r14
	movl	-1112(%rbp), %eax
	movl	%eax, -1160(%rbp)               ## 4-byte Spill
	movq	-1120(%rbp), %rdi
	movq	%r15, %rsi
	movq	-1192(%rbp), %rdx               ## 8-byte Reload
	movq	-1200(%rbp), %rcx               ## 8-byte Reload
	movq	%r12, %r8
	movl	$2, %r9d
	callq	_filterScanline
	movq	$0, -112(%rbp)
	movq	$0, -1176(%rbp)
	movq	-1120(%rbp), %rdx
	leaq	-1176(%rbp), %rdi
	leaq	-112(%rbp), %rsi
	movl	-1160(%rbp), %ecx               ## 4-byte Reload
	leaq	-1408(%rbp), %r8
	callq	_zlib_compress
	movq	-1176(%rbp), %rdi
	callq	_lodepng_free
	movq	-112(%rbp), %rax
	cmpq	%r14, %rax
	cmovbq	%rax, %r14
	movl	$2, %eax
	cmovbl	%eax, %ebx
	movl	-1096(%rbp), %eax
	movl	%eax, -1160(%rbp)               ## 4-byte Spill
	movq	-1104(%rbp), %rdi
	movq	%r15, %rsi
	movq	-1192(%rbp), %rdx               ## 8-byte Reload
	movq	-1200(%rbp), %rcx               ## 8-byte Reload
	movq	%r12, %r8
	movl	$3, %r9d
	callq	_filterScanline
	movq	$0, -104(%rbp)
	movq	$0, -1176(%rbp)
	movq	-1104(%rbp), %rdx
	leaq	-1176(%rbp), %rdi
	leaq	-104(%rbp), %rsi
	movl	-1160(%rbp), %ecx               ## 4-byte Reload
	leaq	-1408(%rbp), %r8
	callq	_zlib_compress
	movq	-1176(%rbp), %rdi
	callq	_lodepng_free
	movq	-104(%rbp), %rax
	cmpq	%r14, %rax
	cmovbq	%rax, %r14
	movl	$3, %eax
	cmovbl	%eax, %ebx
	movl	-1080(%rbp), %eax
	movl	%eax, -1256(%rbp)               ## 4-byte Spill
	movq	-1088(%rbp), %rdi
	movq	%r15, -1160(%rbp)               ## 8-byte Spill
	movq	%r15, %rsi
	movq	-1192(%rbp), %rdx               ## 8-byte Reload
	movq	-1200(%rbp), %rcx               ## 8-byte Reload
	movq	%r12, %r8
	movl	$4, %r9d
	callq	_filterScanline
	movq	$0, -96(%rbp)
	movq	$0, -1176(%rbp)
	movq	-1088(%rbp), %rdx
	leaq	-1176(%rbp), %rdi
	leaq	-96(%rbp), %rsi
	movl	-1256(%rbp), %ecx               ## 4-byte Reload
	leaq	-1408(%rbp), %r8
	callq	_zlib_compress
	movq	-1176(%rbp), %rdi
	callq	_lodepng_free
	movq	-1224(%rbp), %rdx               ## 8-byte Reload
	movq	-1264(%rbp), %rdi               ## 8-byte Reload
	movq	-1168(%rbp), %r8                ## 8-byte Reload
	movq	-1344(%rbp), %r9                ## 8-byte Reload
	cmpq	%r14, -96(%rbp)
	movl	$4, %eax
	cmovbl	%eax, %ebx
	movq	-1216(%rbp), %rax               ## 8-byte Reload
	movb	%bl, (%rax,%rdx)
	cmpl	$8, -1180(%rbp)                 ## 4-byte Folded Reload
	jb	LBB0_130
## %bb.132:                             ##   in Loop: Header=BB0_131 Depth=1
	movl	%ebx, %eax
	shlq	$4, %rax
	movq	-1152(%rbp,%rax), %rax
	cmpl	$8, %r9d
	jb	LBB0_136
## %bb.133:                             ##   in Loop: Header=BB0_131 Depth=1
	addq	-1328(%rbp), %rdx               ## 8-byte Folded Reload
	subq	%rax, %rdx
	movl	$0, %ecx
	cmpq	$32, %rdx
	jb	LBB0_149
## %bb.134:                             ##   in Loop: Header=BB0_131 Depth=1
	cmpl	$32, %r9d
	jae	LBB0_137
## %bb.135:                             ##   in Loop: Header=BB0_131 Depth=1
	xorl	%edx, %edx
	jmp	LBB0_146
LBB0_136:                               ##   in Loop: Header=BB0_131 Depth=1
	xorl	%ecx, %ecx
	jmp	LBB0_149
LBB0_137:                               ##   in Loop: Header=BB0_131 Depth=1
	cmpq	$96, -1296(%rbp)                ## 8-byte Folded Reload
	jae	LBB0_139
## %bb.138:                             ##   in Loop: Header=BB0_131 Depth=1
	xorl	%ecx, %ecx
	movq	-1232(%rbp), %rbx               ## 8-byte Reload
	jmp	LBB0_141
LBB0_139:                               ##   in Loop: Header=BB0_131 Depth=1
	movq	-1280(%rbp), %rdx               ## 8-byte Reload
	xorl	%ecx, %ecx
	movq	-1232(%rbp), %rbx               ## 8-byte Reload
	.p2align	4, 0x90
LBB0_140:                               ##   Parent Loop BB0_131 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movups	(%rax,%rcx), %xmm0
	movups	16(%rax,%rcx), %xmm1
	movups	%xmm0, -112(%rdi,%rcx)
	movups	%xmm1, -96(%rdi,%rcx)
	movups	32(%rax,%rcx), %xmm0
	movups	48(%rax,%rcx), %xmm1
	movups	%xmm0, -80(%rdi,%rcx)
	movups	%xmm1, -64(%rdi,%rcx)
	movups	64(%rax,%rcx), %xmm0
	movups	80(%rax,%rcx), %xmm1
	movups	%xmm0, -48(%rdi,%rcx)
	movups	%xmm1, -32(%rdi,%rcx)
	movdqu	96(%rax,%rcx), %xmm0
	movdqu	112(%rax,%rcx), %xmm1
	movdqu	%xmm0, -16(%rdi,%rcx)
	movdqu	%xmm1, (%rdi,%rcx)
	subq	$-128, %rcx
	addq	$-4, %rdx
	jne	LBB0_140
LBB0_141:                               ##   in Loop: Header=BB0_131 Depth=1
	cmpq	$0, -1288(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_144
## %bb.142:                             ##   in Loop: Header=BB0_131 Depth=1
	leaq	(%r8,%rcx), %rdx
	addq	%rax, %rcx
	addq	$16, %rcx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_143:                               ##   Parent Loop BB0_131 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	-16(%rcx,%rsi), %xmm0
	movdqu	(%rcx,%rsi), %xmm1
	movdqu	%xmm0, -16(%rdx,%rsi)
	movdqu	%xmm1, (%rdx,%rsi)
	addq	$32, %rsi
	cmpq	%rsi, %rbx
	jne	LBB0_143
LBB0_144:                               ##   in Loop: Header=BB0_131 Depth=1
	cmpq	%r9, -1240(%rbp)                ## 8-byte Folded Reload
	je	LBB0_130
## %bb.145:                             ##   in Loop: Header=BB0_131 Depth=1
	movq	-1240(%rbp), %rcx               ## 8-byte Reload
	movq	%rcx, %rdx
	testb	$24, %r9b
	je	LBB0_149
LBB0_146:                               ##   in Loop: Header=BB0_131 Depth=1
	movq	-1304(%rbp), %rsi               ## 8-byte Reload
	.p2align	4, 0x90
LBB0_147:                               ##   Parent Loop BB0_131 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rax,%rdx), %rcx
	movq	%rcx, (%r13,%rdx)
	addq	$8, %rdx
	cmpq	%rdx, %rsi
	jne	LBB0_147
## %bb.148:                             ##   in Loop: Header=BB0_131 Depth=1
	movq	%rsi, %rcx
	cmpq	%r9, %rsi
	je	LBB0_130
LBB0_149:                               ##   in Loop: Header=BB0_131 Depth=1
	movq	%rcx, %rdx
	notq	%rdx
	addq	%r9, %rdx
	cmpq	$0, -1320(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_152
## %bb.150:                             ##   in Loop: Header=BB0_131 Depth=1
	movq	-1312(%rbp), %rsi               ## 8-byte Reload
	.p2align	4, 0x90
LBB0_151:                               ##   Parent Loop BB0_131 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rax,%rcx), %ebx
	movb	%bl, (%r13,%rcx)
	incq	%rcx
	incq	%rsi
	jne	LBB0_151
LBB0_152:                               ##   in Loop: Header=BB0_131 Depth=1
	cmpq	$3, %rdx
	jb	LBB0_130
	.p2align	4, 0x90
LBB0_153:                               ##   Parent Loop BB0_131 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rax,%rcx), %edx
	movb	%dl, (%r13,%rcx)
	movzbl	1(%rax,%rcx), %edx
	movb	%dl, 1(%r13,%rcx)
	movzbl	2(%rax,%rcx), %edx
	movb	%dl, 2(%r13,%rcx)
	movzbl	3(%rax,%rcx), %edx
	movb	%dl, 3(%r13,%rcx)
	addq	$4, %rcx
	cmpq	%rcx, %r9
	jne	LBB0_153
	jmp	LBB0_130
LBB0_154:
	leaq	-1152(%rbp), %rdi
	callq	_ucvector_cleanup
	leaq	-1136(%rbp), %rdi
	callq	_ucvector_cleanup
	leaq	-1120(%rbp), %rdi
	callq	_ucvector_cleanup
	leaq	-1104(%rbp), %rdi
	callq	_ucvector_cleanup
	leaq	-1088(%rbp), %rdi
LBB0_155:
	callq	_ucvector_cleanup
	jmp	LBB0_156
LBB0_159:
	leaq	-128(%rbp), %rdi
	callq	_ucvector_cleanup
	leaq	-112(%rbp), %rdi
	callq	_ucvector_cleanup
	leaq	-96(%rbp), %rdi
	callq	_ucvector_cleanup
	leaq	-80(%rbp), %rdi
	callq	_ucvector_cleanup
	leaq	-64(%rbp), %rdi
	jmp	LBB0_155
LBB0_160:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_LCT_PALETTE,8,3                ## @LCT_PALETTE
	.comm	_LFS_ZERO,8,3                   ## @LFS_ZERO
	.comm	_LFS_MINSUM,8,3                 ## @LFS_MINSUM
	.comm	_LFS_ENTROPY,8,3                ## @LFS_ENTROPY
	.comm	_LFS_PREDEFINED,8,3             ## @LFS_PREDEFINED
	.comm	_LFS_BRUTE_FORCE,8,3            ## @LFS_BRUTE_FORCE
	.no_dead_strip	_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filter
_filter:                                ; @filter
	.cfi_startproc
; %bb.0:
	stp	d13, d12, [sp, #-144]!          ; 16-byte Folded Spill
	.cfi_def_cfa_offset 144
	stp	d11, d10, [sp, #16]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #32]               ; 16-byte Folded Spill
	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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	.cfi_offset b10, -120
	.cfi_offset b11, -128
	.cfi_offset b12, -136
	.cfi_offset b13, -144
	sub	sp, sp, #1328
	mov	x23, x5
	mov	x21, x4
	mov	x27, x3
	mov	x20, x2
	mov	x19, x1
	mov	x28, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-144]
	mov	x0, x4
	bl	_lodepng_get_bpp
	ldr	x8, [x23]
	ldr	x10, [x23, #40]
Lloh3:
	adrp	x9, _LFS_ZERO@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LFS_ZERO@GOTPAGEOFF]
	cbz	x10, LBB0_4
; %bb.1:
	ldr	x10, [x21]
Lloh5:
	adrp	x11, _LCT_PALETTE@GOTPAGE
Lloh6:
	ldr	x11, [x11, _LCT_PALETTE@GOTPAGEOFF]
Lloh7:
	ldr	x11, [x11]
	cmp	x10, x11
	b.eq	LBB0_3
; %bb.2:
	ldr	w10, [x21, #8]
	cmp	w10, #7
	b.gt	LBB0_4
LBB0_3:
	ldr	x8, [x9]
LBB0_4:
	cbz	w0, LBB0_10
; %bb.5:
	orr	w10, wzr, #0x7
	madd	w11, w0, w20, w10
	add	w10, w0, #7
	str	w11, [sp, #172]                 ; 4-byte Folded Spill
	lsr	w20, w11, #3
	lsr	w21, w10, #3
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.6:
	cbz	w27, LBB0_9
; %bb.7:
	mov	x2, #0
	add	x24, x20, #1
	add	x22, x28, #1
	mov	w25, w27
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x23, x19
	sturb	wzr, [x22, #-1]
	mov	x0, x22
	mov	x1, x19
	mov	x3, x20
	mov	x4, x21
	mov	w5, #0
	bl	_filterScanline
	add	x22, x22, x24
	add	x19, x19, x20
	mov	x2, x23
	subs	x25, x25, #1
	b.ne	LBB0_8
LBB0_9:
	mov	w0, #0
	b	LBB0_78
LBB0_10:
	mov	w0, #31
	b	LBB0_78
LBB0_11:
Lloh8:
	adrp	x9, _LFS_MINSUM@GOTPAGE
Lloh9:
	ldr	x9, [x9, _LFS_MINSUM@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	str	x28, [sp, #128]                 ; 8-byte Folded Spill
	b.ne	LBB0_69
; %bb.12:
	add	x22, sp, #208
	add	x0, sp, #208
	bl	_ucvector_init
	add	x0, sp, #208
	mov	x1, x20
	bl	_ucvector_resize
	cbz	w0, LBB0_77
; %bb.13:
	add	x23, x22, #16
	mov	x0, x23
	bl	_ucvector_init
	mov	x0, x23
	mov	x1, x20
	bl	_ucvector_resize
	cbz	w0, LBB0_77
; %bb.14:
	add	x22, sp, #208
	add	x24, x22, #32
	mov	x0, x24
	bl	_ucvector_init
	mov	x0, x24
	mov	x1, x20
	bl	_ucvector_resize
	cbz	w0, LBB0_77
; %bb.15:
	add	x22, x22, #48
	mov	x0, x22
	bl	_ucvector_init
	mov	x0, x22
	mov	x1, x20
	bl	_ucvector_resize
	cbz	w0, LBB0_77
; %bb.16:
	add	x8, sp, #208
	add	x25, x8, #64
	mov	x0, x25
	bl	_ucvector_init
	mov	x0, x25
	mov	x1, x20
	bl	_ucvector_resize
	cbz	w0, LBB0_77
; %bb.17:
	stp	x25, x22, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	cbz	w27, LBB0_126
; %bb.18:
	mov	x8, #0
	mov	x26, #0
	mov	w25, #0
	mov	x23, #0
	add	x9, x20, #1
	cmp	w20, #1
	csinc	w22, w20, wzr, hi
	add	x10, x28, #1
	and	x11, x22, #0x1ffffff0
	str	x11, [sp, #136]                 ; 8-byte Folded Spill
	and	x11, x22, #0x1ffffff8
	and	x15, x22, #0x1fffffc0
	and	x12, x22, #0x38
	str	x12, [sp, #24]                  ; 8-byte Folded Spill
	str	x11, [sp, #152]                 ; 8-byte Folded Spill
	neg	x11, x11
	str	x11, [sp, #144]                 ; 8-byte Folded Spill
	neg	x11, x22
	str	x11, [sp, #160]                 ; 8-byte Folded Spill
	add	x13, x28, #33
	str	x10, [sp, #80]                  ; 8-byte Folded Spill
	mov	x14, x10
	mov	w10, w27
	stp	x15, x10, [sp, #64]             ; 16-byte Folded Spill
	str	x9, [sp, #112]                  ; 8-byte Folded Spill
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=1
	ldp	x9, x8, [sp, #112]              ; 16-byte Folded Reload
	add	x8, x8, #1
	add	x13, x13, x9
	add	x14, x14, x9
	ldr	x10, [sp, #72]                  ; 8-byte Folded Reload
	cmp	x8, x10
	b.eq	LBB0_126
LBB0_20:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_24 Depth 2
                                        ;       Child Loop BB0_43 Depth 3
                                        ;       Child Loop BB0_35 Depth 3
                                        ;       Child Loop BB0_47 Depth 3
                                        ;       Child Loop BB0_49 Depth 3
                                        ;       Child Loop BB0_40 Depth 3
                                        ;       Child Loop BB0_53 Depth 3
                                        ;     Child Loop BB0_62 Depth 2
                                        ;     Child Loop BB0_66 Depth 2
                                        ;     Child Loop BB0_68 Depth 2
	stp	x14, x13, [sp, #96]             ; 16-byte Folded Spill
	mov	x28, #0
	mov	x27, x26
	ldr	x10, [sp, #80]                  ; 8-byte Folded Reload
	madd	x9, x9, x8, x10
	str	x9, [sp, #88]                   ; 8-byte Folded Spill
	str	x8, [sp, #120]                  ; 8-byte Folded Spill
	madd	x26, x8, x20, x19
	b	LBB0_24
LBB0_21:                                ;   in Loop: Header=BB0_24 Depth=2
	mov	x9, #0
LBB0_22:                                ;   in Loop: Header=BB0_24 Depth=2
	mov	x23, x9
	mov	x25, x28
LBB0_23:                                ;   in Loop: Header=BB0_24 Depth=2
	add	x28, x28, #1
	cmp	x28, #5
	b.eq	LBB0_56
LBB0_24:                                ;   Parent Loop BB0_20 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_43 Depth 3
                                        ;       Child Loop BB0_35 Depth 3
                                        ;       Child Loop BB0_47 Depth 3
                                        ;       Child Loop BB0_49 Depth 3
                                        ;       Child Loop BB0_40 Depth 3
                                        ;       Child Loop BB0_53 Depth 3
	add	x8, sp, #208
	add	x24, x8, x28, lsl #4
	ldr	x0, [x24]
	mov	x1, x26
	mov	x2, x27
	mov	x3, x20
	mov	x4, x21
	mov	x5, x28
	bl	_filterScanline
	cbz	x28, LBB0_27
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=2
	ldr	w8, [sp, #172]                  ; 4-byte Folded Reload
	cmp	w8, #8
	b.hs	LBB0_30
; %bb.26:                               ;   in Loop: Header=BB0_24 Depth=2
	mov	x9, #0
	b	LBB0_55
LBB0_27:                                ;   in Loop: Header=BB0_24 Depth=2
	ldr	w8, [sp, #172]                  ; 4-byte Folded Reload
	cmp	w8, #8
	b.lo	LBB0_21
; %bb.28:                               ;   in Loop: Header=BB0_24 Depth=2
	ldr	x8, [x24]
	cmp	w22, #8
	b.hs	LBB0_37
; %bb.29:                               ;   in Loop: Header=BB0_24 Depth=2
	mov	x10, #0
	mov	x9, #0
	b	LBB0_52
LBB0_30:                                ;   in Loop: Header=BB0_24 Depth=2
	ldr	x8, [x24]
	cmp	w22, #8
	b.hs	LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_24 Depth=2
	mov	x10, #0
	mov	x9, #0
	b	LBB0_46
LBB0_32:                                ;   in Loop: Header=BB0_24 Depth=2
	cmp	w22, #16
	b.hs	LBB0_42
; %bb.33:                               ;   in Loop: Header=BB0_24 Depth=2
	mov	x9, #0
	mov	x11, #0
LBB0_34:                                ;   in Loop: Header=BB0_24 Depth=2
	movi.2d	v0, #0000000000000000
	movi.2d	v1, #0000000000000000
	mov.d	v1[0], x9
	add	x9, x8, x11
	ldr	x10, [sp, #144]                 ; 8-byte Folded Reload
	add	x10, x10, x11
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
LBB0_35:                                ;   Parent Loop BB0_20 Depth=1
                                        ;     Parent Loop BB0_24 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	d4, [x9], #8
	abs.8b	v4, v4
	ushll.8h	v4, v4, #0
	ushll.4s	v5, v4, #0
	ushll2.4s	v4, v4, #0
	uaddw2.2d	v3, v3, v4
	uaddw.2d	v2, v2, v4
	uaddw2.2d	v0, v0, v5
	uaddw.2d	v1, v1, v5
	adds	x10, x10, #8
	b.ne	LBB0_35
; %bb.36:                               ;   in Loop: Header=BB0_24 Depth=2
	add.2d	v1, v1, v2
	add.2d	v0, v0, v3
	add.2d	v0, v1, v0
	addp.2d	d0, v0
	fmov	x9, d0
	ldr	x11, [sp, #152]                 ; 8-byte Folded Reload
	mov	x10, x11
	cmp	x11, x22
	b.ne	LBB0_46
	b	LBB0_54
LBB0_37:                                ;   in Loop: Header=BB0_24 Depth=2
	cmp	w22, #16
	b.hs	LBB0_48
; %bb.38:                               ;   in Loop: Header=BB0_24 Depth=2
	mov	x9, #0
	mov	x11, #0
LBB0_39:                                ;   in Loop: Header=BB0_24 Depth=2
	movi.2d	v0, #0000000000000000
	movi.2d	v1, #0000000000000000
	mov.d	v1[0], x9
	add	x9, x8, x11
	ldr	x10, [sp, #144]                 ; 8-byte Folded Reload
	add	x10, x10, x11
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
LBB0_40:                                ;   Parent Loop BB0_20 Depth=1
                                        ;     Parent Loop BB0_24 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	d4, [x9], #8
	ushll.8h	v4, v4, #0
	ushll.4s	v5, v4, #0
	ushll2.4s	v4, v4, #0
	uaddw2.2d	v3, v3, v4
	uaddw.2d	v2, v2, v4
	uaddw2.2d	v0, v0, v5
	uaddw.2d	v1, v1, v5
	adds	x10, x10, #8
	b.ne	LBB0_40
; %bb.41:                               ;   in Loop: Header=BB0_24 Depth=2
	add.2d	v1, v1, v2
	add.2d	v0, v0, v3
	add.2d	v0, v1, v0
	addp.2d	d0, v0
	fmov	x9, d0
	ldr	x11, [sp, #152]                 ; 8-byte Folded Reload
	mov	x10, x11
	cmp	x11, x22
	b.ne	LBB0_52
	b	LBB0_54
LBB0_42:                                ;   in Loop: Header=BB0_24 Depth=2
	movi.2d	v0, #0000000000000000
	ldr	x11, [sp, #136]                 ; 8-byte Folded Reload
	mov	x9, x11
	movi.2d	v1, #0000000000000000
	mov	x10, x8
	movi.2d	v3, #0000000000000000
	movi.2d	v2, #0000000000000000
	movi.2d	v6, #0000000000000000
	movi.2d	v4, #0000000000000000
	movi.2d	v7, #0000000000000000
	movi.2d	v5, #0000000000000000
LBB0_43:                                ;   Parent Loop BB0_20 Depth=1
                                        ;     Parent Loop BB0_24 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	q16, [x10], #16
	abs.16b	v16, v16
	ushll.8h	v17, v16, #0
	ushll.4s	v18, v17, #0
	ushll2.4s	v17, v17, #0
	ushll2.8h	v16, v16, #0
	ushll.4s	v19, v16, #0
	ushll2.4s	v16, v16, #0
	uaddw2.2d	v4, v4, v19
	uaddw2.2d	v2, v2, v17
	uaddw.2d	v7, v7, v16
	uaddw.2d	v6, v6, v19
	uaddw.2d	v3, v3, v17
	uaddw2.2d	v1, v1, v18
	uaddw2.2d	v5, v5, v16
	uaddw.2d	v0, v0, v18
	subs	x9, x9, #16
	b.ne	LBB0_43
; %bb.44:                               ;   in Loop: Header=BB0_24 Depth=2
	add.2d	v0, v0, v6
	add.2d	v3, v3, v7
	add.2d	v0, v0, v3
	add.2d	v1, v1, v4
	add.2d	v2, v2, v5
	add.2d	v1, v1, v2
	add.2d	v0, v0, v1
	addp.2d	d0, v0
	fmov	x9, d0
	cmp	x11, x22
	b.eq	LBB0_54
; %bb.45:                               ;   in Loop: Header=BB0_24 Depth=2
	mov	x10, x11
	tbnz	w22, #3, LBB0_34
LBB0_46:                                ;   in Loop: Header=BB0_24 Depth=2
	add	x8, x8, x10
	ldr	x11, [sp, #160]                 ; 8-byte Folded Reload
	add	x10, x11, x10
LBB0_47:                                ;   Parent Loop BB0_20 Depth=1
                                        ;     Parent Loop BB0_24 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldrsb	w11, [x8], #1
	cmp	w11, #0
	cneg	w11, w11, mi
	add	x9, x9, w11, uxtb
	adds	x10, x10, #1
	b.lo	LBB0_47
	b	LBB0_54
LBB0_48:                                ;   in Loop: Header=BB0_24 Depth=2
	movi.2d	v0, #0000000000000000
	ldr	x11, [sp, #136]                 ; 8-byte Folded Reload
	mov	x9, x11
	movi.2d	v1, #0000000000000000
	mov	x10, x8
	movi.2d	v3, #0000000000000000
	movi.2d	v2, #0000000000000000
	movi.2d	v6, #0000000000000000
	movi.2d	v4, #0000000000000000
	movi.2d	v7, #0000000000000000
	movi.2d	v5, #0000000000000000
LBB0_49:                                ;   Parent Loop BB0_20 Depth=1
                                        ;     Parent Loop BB0_24 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	q16, [x10], #16
	ushll.8h	v17, v16, #0
	ushll.4s	v18, v17, #0
	ushll2.8h	v16, v16, #0
	ushll2.4s	v19, v16, #0
	ushll2.4s	v17, v17, #0
	ushll.4s	v16, v16, #0
	uaddw2.2d	v2, v2, v17
	uaddw2.2d	v4, v4, v16
	uaddw.2d	v6, v6, v16
	uaddw.2d	v3, v3, v17
	uaddw2.2d	v1, v1, v18
	uaddw.2d	v7, v7, v19
	uaddw.2d	v0, v0, v18
	uaddw2.2d	v5, v5, v19
	subs	x9, x9, #16
	b.ne	LBB0_49
; %bb.50:                               ;   in Loop: Header=BB0_24 Depth=2
	add.2d	v0, v0, v6
	add.2d	v3, v3, v7
	add.2d	v0, v0, v3
	add.2d	v1, v1, v4
	add.2d	v2, v2, v5
	add.2d	v1, v1, v2
	add.2d	v0, v0, v1
	addp.2d	d0, v0
	fmov	x9, d0
	cmp	x11, x22
	b.eq	LBB0_54
; %bb.51:                               ;   in Loop: Header=BB0_24 Depth=2
	mov	x10, x11
	tbnz	w22, #3, LBB0_39
LBB0_52:                                ;   in Loop: Header=BB0_24 Depth=2
	add	x8, x8, x10
	ldr	x11, [sp, #160]                 ; 8-byte Folded Reload
	add	x10, x11, x10
LBB0_53:                                ;   Parent Loop BB0_20 Depth=1
                                        ;     Parent Loop BB0_24 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldrb	w11, [x8], #1
	add	x9, x9, x11
	adds	x10, x10, #1
	b.lo	LBB0_53
LBB0_54:                                ;   in Loop: Header=BB0_24 Depth=2
	cbz	x28, LBB0_22
LBB0_55:                                ;   in Loop: Header=BB0_24 Depth=2
	cmp	x9, x23
	b.lo	LBB0_22
	b	LBB0_23
LBB0_56:                                ;   in Loop: Header=BB0_20 Depth=1
	ldp	x9, x8, [sp, #112]              ; 16-byte Folded Reload
	mul	x8, x9, x8
	ldr	x9, [sp, #128]                  ; 8-byte Folded Reload
	strb	w25, [x9, x8]
	ldr	w8, [sp, #172]                  ; 4-byte Folded Reload
	cmp	w8, #8
	ldp	x14, x13, [sp, #96]             ; 16-byte Folded Reload
	b.lo	LBB0_19
; %bb.57:                               ;   in Loop: Header=BB0_20 Depth=1
	mov	x9, #0
	mov	w8, w25
	lsl	x8, x8, #4
	add	x10, sp, #208
	ldr	x8, [x10, x8]
	cmp	w22, #8
	b.lo	LBB0_68
; %bb.58:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	x10, [sp, #88]                  ; 8-byte Folded Reload
	sub	x10, x10, x8
	cmp	x10, #64
	b.lo	LBB0_68
; %bb.59:                               ;   in Loop: Header=BB0_20 Depth=1
	cmp	w22, #64
	b.hs	LBB0_61
; %bb.60:                               ;   in Loop: Header=BB0_20 Depth=1
	mov	x11, #0
	b	LBB0_65
LBB0_61:                                ;   in Loop: Header=BB0_20 Depth=1
	add	x9, x8, #32
	mov	x10, x13
	ldr	x11, [sp, #64]                  ; 8-byte Folded Reload
LBB0_62:                                ;   Parent Loop BB0_20 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q0, q1, [x9, #-32]
	ldp	q2, q3, [x9], #64
	stp	q0, q1, [x10, #-32]
	stp	q2, q3, [x10], #64
	subs	x11, x11, #64
	b.ne	LBB0_62
; %bb.63:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	x9, [sp, #64]                   ; 8-byte Folded Reload
	cmp	x9, x22
	b.eq	LBB0_19
; %bb.64:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	x9, [sp, #64]                   ; 8-byte Folded Reload
	mov	x11, x9
	ldr	x10, [sp, #24]                  ; 8-byte Folded Reload
	cbz	x10, LBB0_68
LBB0_65:                                ;   in Loop: Header=BB0_20 Depth=1
	add	x9, x8, x11
	add	x10, x14, x11
	ldr	x12, [sp, #144]                 ; 8-byte Folded Reload
	add	x11, x12, x11
LBB0_66:                                ;   Parent Loop BB0_20 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	d0, [x9], #8
	str	d0, [x10], #8
	adds	x11, x11, #8
	b.ne	LBB0_66
; %bb.67:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	x10, [sp, #152]                 ; 8-byte Folded Reload
	mov	x9, x10
	cmp	x10, x22
	b.eq	LBB0_19
LBB0_68:                                ;   Parent Loop BB0_20 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w10, [x8, x9]
	strb	w10, [x14, x9]
	add	x9, x9, #1
	cmp	x22, x9
	b.ne	LBB0_68
	b	LBB0_19
LBB0_69:
Lloh11:
	adrp	x9, _LFS_ENTROPY@GOTPAGE
Lloh12:
	ldr	x9, [x9, _LFS_ENTROPY@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_103
; %bb.70:
	sub	x22, x29, #224
	sub	x0, x29, #224
	bl	_ucvector_init
	sub	x0, x29, #224
	mov	x1, x20
	bl	_ucvector_resize
	cbz	w0, LBB0_77
; %bb.71:
	add	x23, x22, #16
	mov	x0, x23
	bl	_ucvector_init
	mov	x0, x23
	mov	x1, x20
	bl	_ucvector_resize
	cbz	w0, LBB0_77
; %bb.72:
	sub	x22, x29, #224
	add	x24, x22, #32
	mov	x0, x24
	bl	_ucvector_init
	mov	x0, x24
	mov	x1, x20
	bl	_ucvector_resize
	cbz	w0, LBB0_77
; %bb.73:
	add	x22, x22, #48
	mov	x0, x22
	bl	_ucvector_init
	mov	x0, x22
	mov	x1, x20
	bl	_ucvector_resize
	cbz	w0, LBB0_77
; %bb.74:
	sub	x8, x29, #224
	add	x25, x8, #64
	mov	x0, x25
	bl	_ucvector_init
	mov	x0, x25
	mov	x1, x20
	bl	_ucvector_resize
	cbz	w0, LBB0_77
; %bb.75:
	stp	x25, x22, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	cbz	w27, LBB0_127
; %bb.76:
	mov	x12, #0
	mov	x26, #0
	mov	w25, #0
	add	x13, x20, #1
	ucvtf	s8, x13
	cmp	w20, #1
	csinc	w23, w20, wzr, hi
	add	x8, x28, #1
	and	x10, x23, #0x1fffffc0
	and	x9, x23, #0x38
	str	x9, [sp, #40]                   ; 8-byte Folded Spill
	and	x9, x23, #0x1ffffff8
	add	x14, x28, #33
	stp	x9, x10, [sp, #88]              ; 16-byte Folded Spill
	neg	x9, x9
	str	x9, [sp, #80]                   ; 8-byte Folded Spill
	movi	d9, #0000000000000000
	add	x22, sp, #208
	fmov	s10, #1.00000000
	stp	x8, x13, [sp, #112]             ; 16-byte Folded Spill
	mov	x16, x8
	mov	w8, w27
	str	x8, [sp, #104]                  ; 8-byte Folded Spill
	b	LBB0_81
LBB0_77:
	mov	w0, #83
LBB0_78:
	ldur	x8, [x29, #-144]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_129
; %bb.79:
	add	sp, sp, #1328
	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
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #16]             ; 16-byte Folded Reload
	ldp	d13, d12, [sp], #144            ; 16-byte Folded Reload
	ret
LBB0_80:                                ;   in Loop: Header=BB0_81 Depth=1
	add	x12, x12, #1
	add	x14, x14, x13
	add	x16, x16, x13
	ldr	x8, [sp, #104]                  ; 8-byte Folded Reload
	cmp	x12, x8
	b.eq	LBB0_127
LBB0_81:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_83 Depth 2
                                        ;       Child Loop BB0_85 Depth 3
                                        ;       Child Loop BB0_88 Depth 3
                                        ;     Child Loop BB0_96 Depth 2
                                        ;     Child Loop BB0_100 Depth 2
                                        ;     Child Loop BB0_102 Depth 2
	stp	x16, x14, [sp, #144]            ; 16-byte Folded Spill
	mov	x27, #0
	mov	x28, x26
	ldr	x8, [sp, #112]                  ; 8-byte Folded Reload
	madd	x8, x13, x12, x8
	str	x8, [sp, #136]                  ; 8-byte Folded Spill
	str	x12, [sp, #160]                 ; 8-byte Folded Spill
	madd	x26, x12, x20, x19
	b	LBB0_83
LBB0_82:                                ;   in Loop: Header=BB0_83 Depth=2
	fcmp	s11, s9
	ccmp	x27, #0, #4, pl
	fcsel	s9, s11, s9, eq
	csel	w25, w27, w25, eq
	add	x27, x27, #1
	cmp	x27, #5
	b.eq	LBB0_90
LBB0_83:                                ;   Parent Loop BB0_81 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_85 Depth 3
                                        ;       Child Loop BB0_88 Depth 3
	sub	x8, x29, #224
	add	x24, x8, x27, lsl #4
	ldr	x0, [x24]
	mov	x1, x26
	mov	x2, x28
	mov	x3, x20
	mov	x4, x21
	mov	x5, x27
	bl	_filterScanline
	add	x0, sp, #208
	mov	w1, #1024
	bl	_bzero
	ldr	w8, [sp, #172]                  ; 4-byte Folded Reload
	cmp	w8, #8
	b.lo	LBB0_86
; %bb.84:                               ;   in Loop: Header=BB0_83 Depth=2
	ldr	x8, [x24]
	mov	x9, x23
LBB0_85:                                ;   Parent Loop BB0_81 Depth=1
                                        ;     Parent Loop BB0_83 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldrb	w10, [x8], #1
	lsl	x10, x10, #2
	ldr	w11, [x22, x10]
	add	w11, w11, #1
	str	w11, [x22, x10]
	subs	x9, x9, #1
	b.ne	LBB0_85
LBB0_86:                                ;   in Loop: Header=BB0_83 Depth=2
	mov	x24, #0
	lsl	x8, x27, #2
	ldr	w9, [x22, x8]
	add	w9, w9, #1
	str	w9, [x22, x8]
	movi	d11, #0000000000000000
	b	LBB0_88
LBB0_87:                                ;   in Loop: Header=BB0_88 Depth=3
	fadd	s11, s0, s11
	add	x24, x24, #4
	cmp	x24, #1024
	b.eq	LBB0_82
LBB0_88:                                ;   Parent Loop BB0_81 Depth=1
                                        ;     Parent Loop BB0_83 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w8, [x22, x24]
	movi	d0, #0000000000000000
	cbz	w8, LBB0_87
; %bb.89:                               ;   in Loop: Header=BB0_88 Depth=3
	ucvtf	s0, w8
	fdiv	s12, s0, s8
	fdiv	s0, s10, s12
	fcvtzs	w0, s0
	bl	_flog2
	fmul	s0, s12, s0
	b	LBB0_87
LBB0_90:                                ;   in Loop: Header=BB0_81 Depth=1
	ldp	x14, x12, [sp, #152]            ; 16-byte Folded Reload
	ldp	x13, x9, [sp, #120]             ; 16-byte Folded Reload
	mul	x8, x13, x12
	strb	w25, [x9, x8]
	ldr	w8, [sp, #172]                  ; 4-byte Folded Reload
	cmp	w8, #8
	ldr	x16, [sp, #144]                 ; 8-byte Folded Reload
	b.lo	LBB0_80
; %bb.91:                               ;   in Loop: Header=BB0_81 Depth=1
	mov	x9, #0
	lsl	x8, x25, #4
	sub	x10, x29, #224
	ldr	x8, [x10, x8]
	cmp	w23, #8
	b.lo	LBB0_102
; %bb.92:                               ;   in Loop: Header=BB0_81 Depth=1
	ldr	x10, [sp, #136]                 ; 8-byte Folded Reload
	sub	x10, x10, x8
	cmp	x10, #64
	b.lo	LBB0_102
; %bb.93:                               ;   in Loop: Header=BB0_81 Depth=1
	cmp	w23, #64
	b.hs	LBB0_95
; %bb.94:                               ;   in Loop: Header=BB0_81 Depth=1
	mov	x11, #0
	b	LBB0_99
LBB0_95:                                ;   in Loop: Header=BB0_81 Depth=1
	add	x9, x8, #32
	mov	x10, x14
	ldr	x11, [sp, #96]                  ; 8-byte Folded Reload
LBB0_96:                                ;   Parent Loop BB0_81 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q0, q1, [x9, #-32]
	ldp	q2, q3, [x9], #64
	stp	q0, q1, [x10, #-32]
	stp	q2, q3, [x10], #64
	subs	x11, x11, #64
	b.ne	LBB0_96
; %bb.97:                               ;   in Loop: Header=BB0_81 Depth=1
	ldr	x9, [sp, #96]                   ; 8-byte Folded Reload
	cmp	x9, x23
	b.eq	LBB0_80
; %bb.98:                               ;   in Loop: Header=BB0_81 Depth=1
	ldr	x9, [sp, #96]                   ; 8-byte Folded Reload
	mov	x11, x9
	ldr	x10, [sp, #40]                  ; 8-byte Folded Reload
	cbz	x10, LBB0_102
LBB0_99:                                ;   in Loop: Header=BB0_81 Depth=1
	add	x9, x8, x11
	add	x10, x16, x11
	ldr	x15, [sp, #80]                  ; 8-byte Folded Reload
	add	x11, x15, x11
LBB0_100:                               ;   Parent Loop BB0_81 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	d0, [x9], #8
	str	d0, [x10], #8
	adds	x11, x11, #8
	b.ne	LBB0_100
; %bb.101:                              ;   in Loop: Header=BB0_81 Depth=1
	ldr	x10, [sp, #88]                  ; 8-byte Folded Reload
	mov	x9, x10
	cmp	x10, x23
	b.eq	LBB0_80
LBB0_102:                               ;   Parent Loop BB0_81 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w10, [x8, x9]
	strb	w10, [x16, x9]
	add	x9, x9, #1
	cmp	x23, x9
	b.ne	LBB0_102
	b	LBB0_80
LBB0_103:
Lloh17:
	adrp	x9, _LFS_PREDEFINED@GOTPAGE
Lloh18:
	ldr	x9, [x9, _LFS_PREDEFINED@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_107
; %bb.104:
	cbz	w27, LBB0_9
; %bb.105:
	mov	x25, #0
	mov	x2, #0
	add	x26, x20, #1
	mov	w8, w27
	add	x22, x28, #1
	lsl	x27, x8, #2
LBB0_106:                               ; =>This Inner Loop Header: Depth=1
	mov	x24, x19
	ldr	x8, [x23, #8]
	ldr	w5, [x8, x25]
	sturb	w5, [x22, #-1]
	mov	x0, x22
	mov	x1, x19
	mov	x3, x20
	mov	x4, x21
	bl	_filterScanline
	mov	w0, #0
	add	x22, x22, x26
	add	x19, x19, x20
	add	x25, x25, #4
	mov	x2, x24
	cmp	x27, x25
	b.ne	LBB0_106
	b	LBB0_78
LBB0_107:
Lloh20:
	adrp	x9, _LFS_BRUTE_FORCE@GOTPAGE
Lloh21:
	ldr	x9, [x9, _LFS_BRUTE_FORCE@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_124
; %bb.108:
	ldr	x8, [x23, #16]
	mov	w9, #1
	stp	x8, xzr, [sp, #176]
	str	w9, [sp, #176]
	str	xzr, [sp, #192]
	add	x22, sp, #208
	add	x0, sp, #208
	bl	_ucvector_init
	add	x0, sp, #208
	mov	x1, x20
	bl	_ucvector_resize
	add	x23, x22, #16
	mov	x0, x23
	bl	_ucvector_init
	str	x23, [sp, #40]                  ; 8-byte Folded Spill
	mov	x0, x23
	mov	x1, x20
	bl	_ucvector_resize
	add	x23, x22, #32
	mov	x0, x23
	bl	_ucvector_init
	str	x23, [sp, #32]                  ; 8-byte Folded Spill
	mov	x0, x23
	mov	x1, x20
	bl	_ucvector_resize
	add	x23, x22, #48
	mov	x0, x23
	bl	_ucvector_init
	str	x23, [sp, #24]                  ; 8-byte Folded Spill
	mov	x0, x23
	mov	x1, x20
	bl	_ucvector_resize
	add	x22, x22, #64
	mov	x0, x22
	bl	_ucvector_init
	str	x22, [sp, #16]                  ; 8-byte Folded Spill
	mov	x0, x22
	mov	x1, x20
	bl	_ucvector_resize
	cbz	w27, LBB0_125
; %bb.109:
	mov	x11, #0
	mov	x10, #0
	add	x9, x20, #1
	cmp	w20, #1
	csinc	w26, w20, wzr, hi
	add	x25, x28, #1
	sub	x8, x29, #224
	add	x13, x8, #8
	add	x12, x8, #16
	stp	x12, x13, [sp, #104]            ; 16-byte Folded Spill
	add	x12, x8, #24
	add	x8, x8, #32
	stp	x8, x12, [sp, #88]              ; 16-byte Folded Spill
	and	x8, x26, #0x1fffffc0
	stp	x8, x25, [sp, #64]              ; 16-byte Folded Spill
	and	x8, x26, #0x38
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	and	x8, x26, #0x1ffffff8
	add	x12, x28, #33
	str	x8, [sp, #56]                   ; 8-byte Folded Spill
	neg	x8, x8
	str	x8, [sp, #48]                   ; 8-byte Folded Spill
	mov	w8, w27
	str	x8, [sp, #80]                   ; 8-byte Folded Spill
	str	x9, [sp, #120]                  ; 8-byte Folded Spill
	b	LBB0_111
LBB0_110:                               ;   in Loop: Header=BB0_111 Depth=1
	ldp	x11, x10, [sp, #152]            ; 16-byte Folded Reload
	add	x11, x11, #1
	ldr	x9, [sp, #120]                  ; 8-byte Folded Reload
	add	x12, x12, x9
	add	x25, x25, x9
	ldr	x8, [sp, #80]                   ; 8-byte Folded Reload
	cmp	x11, x8
	b.eq	LBB0_125
LBB0_111:                               ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_117 Depth 2
                                        ;     Child Loop BB0_121 Depth 2
                                        ;     Child Loop BB0_123 Depth 2
	mov	x27, x10
	mul	x8, x9, x11
	stp	x8, x12, [sp, #136]             ; 16-byte Folded Spill
	ldr	w23, [sp, #216]
	ldr	x0, [sp, #208]
	str	x11, [sp, #152]                 ; 8-byte Folded Spill
	madd	x22, x11, x20, x19
	mov	x1, x22
	mov	x2, x10
	mov	x3, x20
	mov	x4, x21
	mov	w5, #0
	bl	_filterScanline
	stur	xzr, [x29, #-224]
	str	xzr, [sp, #200]
	ldr	x2, [sp, #208]
	add	x0, sp, #200
	sub	x1, x29, #224
	add	x4, sp, #176
	mov	x3, x23
	bl	_zlib_compress
	ldr	x0, [sp, #200]
	bl	_lodepng_free
	ldur	x24, [x29, #-224]
	ldr	w23, [sp, #232]
	ldr	x0, [sp, #224]
	mov	x1, x22
	mov	x2, x27
	mov	x3, x20
	mov	x4, x21
	mov	w5, #1
	bl	_filterScanline
	stur	xzr, [x29, #-216]
	str	xzr, [sp, #200]
	ldr	x2, [sp, #224]
	add	x0, sp, #200
	add	x4, sp, #176
	ldr	x1, [sp, #112]                  ; 8-byte Folded Reload
	mov	x3, x23
	bl	_zlib_compress
	ldr	x0, [sp, #200]
	bl	_lodepng_free
	ldur	x8, [x29, #-216]
	cmp	x8, x24
	csel	x24, x8, x24, lo
	cset	w28, lo
	ldr	w23, [sp, #248]
	ldr	x0, [sp, #240]
	mov	x1, x22
	mov	x2, x27
	mov	x3, x20
	mov	x4, x21
	mov	w5, #2
	bl	_filterScanline
	stur	xzr, [x29, #-208]
	str	xzr, [sp, #200]
	ldr	x2, [sp, #240]
	add	x0, sp, #200
	add	x4, sp, #176
	ldr	x1, [sp, #104]                  ; 8-byte Folded Reload
	mov	x3, x23
	bl	_zlib_compress
	ldr	x0, [sp, #200]
	bl	_lodepng_free
	ldur	x8, [x29, #-208]
	cmp	x8, x24
	csel	x24, x8, x24, lo
	mov	w8, #2
	csel	w28, w8, w28, lo
	ldr	w23, [sp, #264]
	ldr	x0, [sp, #256]
	mov	x1, x22
	mov	x2, x27
	mov	x3, x20
	mov	x4, x21
	mov	w5, #3
	bl	_filterScanline
	stur	xzr, [x29, #-200]
	str	xzr, [sp, #200]
	ldr	x2, [sp, #256]
	add	x0, sp, #200
	add	x4, sp, #176
	ldr	x1, [sp, #96]                   ; 8-byte Folded Reload
	mov	x3, x23
	bl	_zlib_compress
	ldr	x0, [sp, #200]
	bl	_lodepng_free
	ldur	x8, [x29, #-200]
	cmp	x8, x24
	csel	x24, x8, x24, lo
	mov	w8, #3
	csel	w28, w8, w28, lo
	ldr	w23, [sp, #280]
	ldr	x0, [sp, #272]
	str	x22, [sp, #160]                 ; 8-byte Folded Spill
	mov	x1, x22
	mov	x2, x27
	mov	x3, x20
	mov	x4, x21
	mov	w5, #4
	bl	_filterScanline
	stur	xzr, [x29, #-192]
	str	xzr, [sp, #200]
	ldr	x2, [sp, #272]
	add	x0, sp, #200
	add	x4, sp, #176
	ldr	x1, [sp, #88]                   ; 8-byte Folded Reload
	mov	x3, x23
	bl	_zlib_compress
	ldr	x0, [sp, #200]
	bl	_lodepng_free
	ldp	x11, x12, [sp, #136]            ; 16-byte Folded Reload
	ldur	x8, [x29, #-192]
	cmp	x8, x24
	mov	w8, #4
	csel	w8, w8, w28, lo
	ldr	x9, [sp, #128]                  ; 8-byte Folded Reload
	strb	w8, [x9, x11]
	ldr	w9, [sp, #172]                  ; 4-byte Folded Reload
	cmp	w9, #8
	b.lo	LBB0_110
; %bb.112:                              ;   in Loop: Header=BB0_111 Depth=1
	mov	x9, #0
	lsl	x8, x8, #4
	add	x10, sp, #208
	ldr	x8, [x10, x8]
	cmp	w26, #8
	b.lo	LBB0_123
; %bb.113:                              ;   in Loop: Header=BB0_111 Depth=1
	ldr	x10, [sp, #72]                  ; 8-byte Folded Reload
	add	x10, x10, x11
	sub	x10, x10, x8
	cmp	x10, #64
	b.lo	LBB0_123
; %bb.114:                              ;   in Loop: Header=BB0_111 Depth=1
	cmp	w26, #64
	b.hs	LBB0_116
; %bb.115:                              ;   in Loop: Header=BB0_111 Depth=1
	mov	x11, #0
	b	LBB0_120
LBB0_116:                               ;   in Loop: Header=BB0_111 Depth=1
	add	x9, x8, #32
	mov	x10, x12
	ldr	x11, [sp, #64]                  ; 8-byte Folded Reload
LBB0_117:                               ;   Parent Loop BB0_111 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q0, q1, [x9, #-32]
	ldp	q2, q3, [x9], #64
	stp	q0, q1, [x10, #-32]
	stp	q2, q3, [x10], #64
	subs	x11, x11, #64
	b.ne	LBB0_117
; %bb.118:                              ;   in Loop: Header=BB0_111 Depth=1
	ldr	x9, [sp, #64]                   ; 8-byte Folded Reload
	cmp	x9, x26
	b.eq	LBB0_110
; %bb.119:                              ;   in Loop: Header=BB0_111 Depth=1
	ldr	x9, [sp, #64]                   ; 8-byte Folded Reload
	mov	x11, x9
	ldr	x10, [sp, #8]                   ; 8-byte Folded Reload
	cbz	x10, LBB0_123
LBB0_120:                               ;   in Loop: Header=BB0_111 Depth=1
	add	x9, x8, x11
	add	x10, x25, x11
	ldr	x13, [sp, #48]                  ; 8-byte Folded Reload
	add	x11, x13, x11
LBB0_121:                               ;   Parent Loop BB0_111 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	d0, [x9], #8
	str	d0, [x10], #8
	adds	x11, x11, #8
	b.ne	LBB0_121
; %bb.122:                              ;   in Loop: Header=BB0_111 Depth=1
	ldr	x10, [sp, #56]                  ; 8-byte Folded Reload
	mov	x9, x10
	cmp	x10, x26
	b.eq	LBB0_110
LBB0_123:                               ;   Parent Loop BB0_111 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w10, [x8, x9]
	strb	w10, [x25, x9]
	add	x9, x9, #1
	cmp	x26, x9
	b.ne	LBB0_123
	b	LBB0_110
LBB0_124:
	mov	w0, #88
	b	LBB0_78
LBB0_125:
	add	x0, sp, #208
	bl	_ucvector_cleanup
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	bl	_ucvector_cleanup
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	bl	_ucvector_cleanup
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	bl	_ucvector_cleanup
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	b	LBB0_128
LBB0_126:
	add	x0, sp, #208
	bl	_ucvector_cleanup
	ldr	x0, [sp, #56]                   ; 8-byte Folded Reload
	bl	_ucvector_cleanup
	ldr	x0, [sp, #48]                   ; 8-byte Folded Reload
	bl	_ucvector_cleanup
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	bl	_ucvector_cleanup
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	b	LBB0_128
LBB0_127:
	sub	x0, x29, #224
	bl	_ucvector_cleanup
	ldr	x0, [sp, #72]                   ; 8-byte Folded Reload
	bl	_ucvector_cleanup
	ldr	x0, [sp, #64]                   ; 8-byte Folded Reload
	bl	_ucvector_cleanup
	ldr	x0, [sp, #56]                   ; 8-byte Folded Reload
	bl	_ucvector_cleanup
	ldr	x0, [sp, #48]                   ; 8-byte Folded Reload
LBB0_128:
	bl	_ucvector_cleanup
	b	LBB0_9
LBB0_129:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_LCT_PALETTE,8,3                ; @LCT_PALETTE
	.comm	_LFS_ZERO,8,3                   ; @LFS_ZERO
	.comm	_LFS_MINSUM,8,3                 ; @LFS_MINSUM
	.comm	_LFS_ENTROPY,8,3                ; @LFS_ENTROPY
	.comm	_LFS_PREDEFINED,8,3             ; @LFS_PREDEFINED
	.comm	_LFS_BRUTE_FORCE,8,3            ; @LFS_BRUTE_FORCE
	.no_dead_strip	_filter
.subsections_via_symbols
