	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function eedi2_fill_gaps_2x
LCPI0_0:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	3                               ## 0x3
LCPI0_1:
	.quad	0x3fe0000000000000              ## double 0.5
	.quad	0x3fe0000000000000              ## double 0.5
LCPI0_2:
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
LCPI0_3:
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_4:
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_eedi2_fill_gaps_2x
	.p2align	4, 0x90
_eedi2_fill_gaps_2x:                    ## @eedi2_fill_gaps_2x
	.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	$296, %rsp                      ## imm = 0x128
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r15d
	movq	%r8, %r14
	movl	%ecx, %ebx
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	movl	32(%rbp), %r8d
	movl	24(%rbp), %r13d
	movl	16(%rbp), %r12d
	movq	%r14, %rdi
	movl	%r9d, %esi
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
                                        ## kill: def $r8d killed $r8d killed $r8
	movl	%r13d, %r9d
	callq	_eedi2_bit_blit
	movl	$2, %eax
	subl	%r12d, %eax
	movq	%r13, -160(%rbp)                ## 8-byte Spill
	leal	-1(%r13), %ecx
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, -164(%rbp)                ## 4-byte Spill
	cmpl	%ecx, %eax
	jge	LBB0_71
## %bb.1:
	movl	%r12d, %edx
	leal	(%rbx,%rbx), %eax
	movslq	%eax, %r8
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	leal	(%r12,%r12), %eax
	movslq	%eax, %rsi
	movl	$1, %eax
	subl	%edx, %eax
	imull	%r12d, %eax
	cltq
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rdx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, %eax
	imull	%r15d, %eax
	cltq
	leaq	(%r14,%rax,4), %r10
	leaq	(,%rsi,4), %rax
	movq	%rdx, %rdi
	movq	%rax, -248(%rbp)                ## 8-byte Spill
	subq	%rax, %rdi
	movq	%rdi, -200(%rbp)                ## 8-byte Spill
	imull	%ecx, %ebx
	movslq	%ebx, %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %r11
	leaq	(,%r8,4), %rax
	movq	%r11, %rcx
	movq	%rax, -240(%rbp)                ## 8-byte Spill
	subq	%rax, %rcx
	movq	%rcx, -192(%rbp)                ## 8-byte Spill
	movq	-160(%rbp), %rax                ## 8-byte Reload
	addl	$-3, %eax
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	addl	%r15d, %r15d
	movslq	%r15d, %rax
	movq	%rax, -232(%rbp)                ## 8-byte Spill
	movl	32(%rbp), %eax
	movl	%eax, %ecx
	addq	$-2, %rcx
	movq	%rcx, -224(%rbp)                ## 8-byte Spill
	leaq	(%rsi,%rsi,4), %rcx
	addq	%rdx, %rcx
	movq	%rcx, -184(%rbp)                ## 8-byte Spill
	movq	%rsi, -256(%rbp)                ## 8-byte Spill
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	leaq	(%rdx,%rsi,4), %rcx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	movq	%r8, -264(%rbp)                 ## 8-byte Spill
	leaq	(%r11,%r8,4), %rcx
	movq	%rcx, -176(%rbp)                ## 8-byte Spill
	movslq	%eax, %rcx
	movq	%rcx, -280(%rbp)                ## 8-byte Spill
	leal	-2(%rax), %r14d
	movq	%r14, -272(%rbp)                ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-256(%rbp), %rcx                ## 8-byte Reload
	addq	%rcx, -104(%rbp)                ## 8-byte Folded Spill
	addq	%rcx, -200(%rbp)                ## 8-byte Folded Spill
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	addq	-248(%rbp), %rax                ## 8-byte Folded Reload
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	-264(%rbp), %rax                ## 8-byte Reload
	addq	%rax, -192(%rbp)                ## 8-byte Folded Spill
	addq	-240(%rbp), %r11                ## 8-byte Folded Reload
	addq	%rax, -176(%rbp)                ## 8-byte Folded Spill
	movq	-232(%rbp), %rax                ## 8-byte Reload
	leaq	(%r10,%rax,4), %r10
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addl	$2, %eax
	addq	%rcx, -184(%rbp)                ## 8-byte Folded Spill
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpl	-164(%rbp), %eax                ## 4-byte Folded Reload
	jge	LBB0_71
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
                                        ##       Child Loop BB0_13 Depth 3
                                        ##       Child Loop BB0_22 Depth 3
                                        ##       Child Loop BB0_40 Depth 3
                                        ##       Child Loop BB0_60 Depth 3
                                        ##       Child Loop BB0_70 Depth 3
	movl	32(%rbp), %eax
	cmpl	$3, %eax
	jl	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, %r13d
	movl	$4294967294, %r8d               ## imm = 0xFFFFFFFE
	movq	-224(%rbp), %r12                ## 8-byte Reload
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movq	%r11, %rax
	xorl	%ecx, %ecx
	xorl	%edx, %edx
	movq	%r10, -296(%rbp)                ## 8-byte Spill
	movq	%r11, -288(%rbp)                ## 8-byte Spill
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_7 Depth=2
	movq	-104(%rbp), %rax                ## 8-byte Reload
	cmpb	$-1, (%rax,%r13)
	je	LBB0_9
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=2
	incq	%r13
	movq	-336(%rbp), %rdx                ## 8-byte Reload
	incq	%rdx
	movq	-216(%rbp), %rcx                ## 8-byte Reload
	decq	%rcx
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	addq	$4, %rax
	addq	$4, -128(%rbp)                  ## 8-byte Folded Spill
	incq	-136(%rbp)                      ## 8-byte Folded Spill
	decq	%r8
	decq	%r12
	cmpq	%r14, %rdx
	je	LBB0_2
LBB0_7:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_13 Depth 3
                                        ##       Child Loop BB0_22 Depth 3
                                        ##       Child Loop BB0_40 Depth 3
                                        ##       Child Loop BB0_60 Depth 3
                                        ##       Child Loop BB0_70 Depth 3
	movq	%rdx, -336(%rbp)                ## 8-byte Spill
	movq	%rcx, -216(%rbp)                ## 8-byte Spill
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	cmpl	$255, (%r11,%r13,4)
	jne	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpl	$255, (%rax,%r13,4)
	jne	LBB0_5
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=2
	xorl	%r9d, %r9d
	movl	$1, %r11d
	cmpq	$1, %r13
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=2
	movl	$500, %edx                      ## imm = 0x1F4
	movq	-136(%rbp), %r10                ## 8-byte Reload
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_19
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=2
	xorl	%ecx, %ecx
	movq	-136(%rbp), %r10                ## 8-byte Reload
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	-216(%rbp), %rax                ## 8-byte Reload
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_13 Depth=3
	decq	%rcx
	cmpq	%rcx, %rax
	je	LBB0_17
LBB0_13:                                ##   Parent Loop BB0_3 Depth=1
                                        ##     Parent Loop BB0_7 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	(%rbx,%rcx,4), %edx
	cmpl	$255, %edx
	jne	LBB0_18
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=3
	cmpl	$255, (%rsi,%rcx,4)
	je	LBB0_12
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=3
	cmpb	$-1, (%r10,%rcx)
	je	LBB0_12
## %bb.16:                              ##   in Loop: Header=BB0_7 Depth=2
	subq	%rax, %rcx
	movq	%rcx, %r11
	incq	%r11
	movl	%ecx, %r9d
LBB0_17:                                ##   in Loop: Header=BB0_7 Depth=2
	movl	$500, %edx                      ## imm = 0x1F4
	jmp	LBB0_19
LBB0_18:                                ##   in Loop: Header=BB0_7 Depth=2
	subq	%rax, %rcx
	movq	%rcx, %r11
	incq	%r11
	movl	%ecx, %r9d
LBB0_19:                                ##   in Loop: Header=BB0_7 Depth=2
	leaq	1(%r13), %rdi
	movl	$-500, %eax                     ## imm = 0xFE0C
	cmpq	-280(%rbp), %rdi                ## 8-byte Folded Reload
	jge	LBB0_29
## %bb.20:                              ##   in Loop: Header=BB0_7 Depth=2
	xorl	%edi, %edi
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_22 Depth=3
	incq	%rdi
	cmpq	%rdi, %r12
	je	LBB0_27
LBB0_22:                                ##   Parent Loop BB0_3 Depth=1
                                        ##     Parent Loop BB0_7 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	8(%rbx,%rdi,4), %eax
	cmpl	$255, %eax
	jne	LBB0_26
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=3
	cmpl	$255, 8(%rsi,%rdi,4)
	je	LBB0_21
## %bb.24:                              ##   in Loop: Header=BB0_22 Depth=3
	cmpb	$-1, 2(%r10,%rdi)
	je	LBB0_21
## %bb.25:                              ##   in Loop: Header=BB0_7 Depth=2
	subl	%r8d, %edi
	jmp	LBB0_28
LBB0_26:                                ##   in Loop: Header=BB0_7 Depth=2
	subl	%r8d, %edi
	jmp	LBB0_29
LBB0_27:                                ##   in Loop: Header=BB0_7 Depth=2
	movl	32(%rbp), %ecx
	movl	%ecx, %edi
LBB0_28:                                ##   in Loop: Header=BB0_7 Depth=2
	movl	$-500, %eax                     ## imm = 0xFE0C
LBB0_29:                                ##   in Loop: Header=BB0_7 Depth=2
	subl	%r9d, %edi
	movq	%r12, -120(%rbp)                ## 8-byte Spill
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%r13, -312(%rbp)                ## 8-byte Spill
	movq	%r8, -208(%rbp)                 ## 8-byte Spill
	movq	%r11, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, -112(%rbp)                ## 8-byte Spill
	movq	%rax, -304(%rbp)                ## 8-byte Spill
	jge	LBB0_37
## %bb.30:                              ##   in Loop: Header=BB0_7 Depth=2
	movl	$-20, %r13d
	movl	$500, %r12d                     ## imm = 0x1F4
	movl	$1, -56(%rbp)                   ## 4-byte Folded Spill
	movl	$1, %esi
	movl	$500, %r14d                     ## imm = 0x1F4
	movl	$-20, %r15d
LBB0_31:                                ##   in Loop: Header=BB0_7 Depth=2
	movl	%esi, -144(%rbp)                ## 4-byte Spill
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	leal	-128(%rcx), %eax
	leal	-128(%rcx), %edx
	negl	%edx
	cmpl	$128, %ecx
	cmovgel	%eax, %edx
	movl	%edx, %esi
	movl	%edx, -96(%rbp)                 ## 4-byte Spill
	movq	-304(%rbp), %rbx                ## 8-byte Reload
	leal	-128(%rbx), %eax
	leal	-128(%rbx), %edi
	negl	%edi
	cmpl	$128, %ebx
	cmovgel	%eax, %edi
	movl	%edi, -152(%rbp)                ## 4-byte Spill
	callq	_MAX
	sarl	$2, %eax
	movl	%eax, %edi
	movl	$8, %esi
	callq	_MAX
	subl	%r13d, %r12d
	cmpl	$-20, %r13d
	movl	$0, %ecx
	cmovel	%ecx, %r12d
	movl	%r12d, %edi
	negl	%edi
	cmovsl	%r12d, %edi
	subl	%r15d, %r14d
	cmpl	$-20, %r15d
	cmovel	%ecx, %r14d
	movl	%eax, %r15d
	movl	%r14d, %esi
	negl	%esi
	cmovsl	%r14d, %esi
	callq	_MAX
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_MAX
	movl	%eax, %r14d
	movl	-152(%rbp), %edi                ## 4-byte Reload
	movl	-96(%rbp), %esi                 ## 4-byte Reload
	callq	_MAX
	sarl	$2, %eax
	movl	%eax, %edi
	movl	$6, %esi
	callq	_MIN
	subl	-80(%rbp), %ebx                 ## 4-byte Folded Reload
	movl	%ebx, %ecx
	negl	%ecx
	cmovsl	%ebx, %ecx
	cmpl	%r14d, %ecx
	movq	-296(%rbp), %r10                ## 8-byte Reload
	movq	-288(%rbp), %r11                ## 8-byte Reload
	movapd	LCPI0_1(%rip), %xmm6            ## xmm6 = [5.0E-1,5.0E-1]
	movdqa	LCPI0_2(%rip), %xmm8            ## xmm8 = [4,4,4,4]
	movdqa	LCPI0_3(%rip), %xmm7            ## xmm7 = [8,8,8,8]
	movq	-272(%rbp), %r14                ## 8-byte Reload
	movabsq	$34359738368, %r15              ## imm = 0x800000000
	movq	-312(%rbp), %r13                ## 8-byte Reload
	movq	-208(%rbp), %r8                 ## 8-byte Reload
	movq	-120(%rbp), %r12                ## 8-byte Reload
	jg	LBB0_6
## %bb.32:                              ##   in Loop: Header=BB0_7 Depth=2
	movq	%rbx, %rdx
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	decl	%ecx
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	orl	%esi, -144(%rbp)                ## 4-byte Folded Spill
	jne	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_7 Depth=2
	cmpl	%eax, %ecx
	jg	LBB0_6
LBB0_34:                                ##   in Loop: Header=BB0_7 Depth=2
	cmpl	$2, -112(%rbp)                  ## 4-byte Folded Reload
	jl	LBB0_6
## %bb.35:                              ##   in Loop: Header=BB0_7 Depth=2
	cvtsi2sd	%edx, %xmm0
	cvtsi2sdl	-112(%rbp), %xmm1       ## 4-byte Folded Reload
	divsd	%xmm1, %xmm0
	movl	%ecx, %r9d
	cmpl	$4, %ecx
	jb	LBB0_36
## %bb.56:                              ##   in Loop: Header=BB0_7 Depth=2
	leaq	-1(%r9), %rcx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leal	(%rcx,%rax), %edx
	cmpl	%eax, %edx
	jl	LBB0_36
## %bb.57:                              ##   in Loop: Header=BB0_7 Depth=2
	shrq	$32, %rcx
	movl	$0, %ecx
	jne	LBB0_66
## %bb.58:                              ##   in Loop: Header=BB0_7 Depth=2
	movl	%r9d, %ecx
	andl	$-4, %ecx
	movddup	%xmm0, %xmm2                    ## xmm2 = xmm0[0,0]
	movd	-80(%rbp), %xmm1                ## 4-byte Folded Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	pshufd	$0, %xmm1, %xmm1                ## xmm1 = xmm1[0,0,0,0]
	leaq	-4(%rcx), %rdx
	movq	%rdx, %r8
	shrq	$2, %r8
	incq	%r8
	testq	%rdx, %rdx
	je	LBB0_62
## %bb.59:                              ##   in Loop: Header=BB0_7 Depth=2
	movq	%r8, %rdi
	andq	$-2, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	shlq	$32, %rsi
	xorl	%edx, %edx
	movdqa	LCPI0_0(%rip), %xmm3            ## xmm3 = [0,1,2,3]
	movabsq	$17179869184, %rax              ## imm = 0x400000000
	.p2align	4, 0x90
LBB0_60:                                ##   Parent Loop BB0_3 Depth=1
                                        ##     Parent Loop BB0_7 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	cvtdq2pd	%xmm3, %xmm4
	pshufd	$238, %xmm3, %xmm5              ## xmm5 = xmm3[2,3,2,3]
	cvtdq2pd	%xmm5, %xmm5
	mulpd	%xmm2, %xmm5
	addpd	%xmm6, %xmm5
	mulpd	%xmm2, %xmm4
	addpd	%xmm6, %xmm4
	cvttpd2dq	%xmm4, %xmm4
	cvttpd2dq	%xmm5, %xmm5
	unpcklpd	%xmm5, %xmm4                    ## xmm4 = xmm4[0],xmm5[0]
	paddd	%xmm1, %xmm4
	movq	%rsi, %rbx
	sarq	$30, %rbx
	movdqu	%xmm4, (%r10,%rbx)
	movdqa	%xmm3, %xmm4
	paddd	%xmm8, %xmm4
	cvtdq2pd	%xmm4, %xmm5
	pshufd	$238, %xmm4, %xmm4              ## xmm4 = xmm4[2,3,2,3]
	cvtdq2pd	%xmm4, %xmm4
	mulpd	%xmm2, %xmm4
	mulpd	%xmm2, %xmm5
	addpd	%xmm6, %xmm5
	cvttpd2dq	%xmm5, %xmm5
	addpd	%xmm6, %xmm4
	cvttpd2dq	%xmm4, %xmm4
	unpcklpd	%xmm4, %xmm5                    ## xmm5 = xmm5[0],xmm4[0]
	paddd	%xmm1, %xmm5
	leaq	(%rsi,%rax), %rbx
	sarq	$30, %rbx
	movdqu	%xmm5, (%r10,%rbx)
	addq	$8, %rdx
	paddd	%xmm7, %xmm3
	addq	%r15, %rsi
	addq	$-2, %rdi
	jne	LBB0_60
	jmp	LBB0_63
LBB0_37:                                ##   in Loop: Header=BB0_7 Depth=2
	movslq	%r9d, %rax
	movq	-176(%rbp), %rcx                ## 8-byte Reload
	addq	%rax, %rcx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%rax), %rcx
	movq	%rcx, -152(%rbp)                ## 8-byte Spill
	movq	-184(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%rax), %rcx
	movq	%rcx, -328(%rbp)                ## 8-byte Spill
	movq	-192(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%rax), %r11
	movq	-200(%rbp), %rcx                ## 8-byte Reload
	addq	%rax, %rcx
	movq	%rcx, -144(%rbp)                ## 8-byte Spill
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rax
	movq	%rax, -320(%rbp)                ## 8-byte Spill
	leal	1(%rdi), %r10d
	movl	$1, %r9d
	movl	$500, %edi                      ## imm = 0x1F4
	movl	$-20, %r8d
	xorl	%ecx, %ecx
	movl	$-20, %r13d
	movl	$500, %r12d                     ## imm = 0x1F4
	movl	$1, -56(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_40
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_40 Depth=3
	xorl	%esi, %esi
LBB0_39:                                ##   in Loop: Header=BB0_40 Depth=3
	incq	%rcx
	movl	%r15d, %r8d
	movl	%r14d, %edi
	movl	%esi, %r9d
	cmpl	%ecx, %r10d
	je	LBB0_31
LBB0_40:                                ##   Parent Loop BB0_3 Depth=1
                                        ##     Parent Loop BB0_7 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	%r12d, %ebx
	movl	$20, %r12d
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	cmovel	%ebx, %r12d
	movl	%r13d, %eax
	movl	$20, %r13d
	cmovel	%eax, %r13d
	je	LBB0_46
## %bb.41:                              ##   in Loop: Header=BB0_40 Depth=3
	movl	$0, %edx
	cmpl	$3, -44(%rbp)                   ## 4-byte Folded Reload
	jl	LBB0_48
## %bb.42:                              ##   in Loop: Header=BB0_40 Depth=3
	movzbl	(%r11,%rcx), %esi
	movl	$20, %r12d
	cmpl	$255, %esi
	je	LBB0_47
## %bb.43:                              ##   in Loop: Header=BB0_40 Depth=3
	movq	-144(%rbp), %rdx                ## 8-byte Reload
	cmpb	$-1, (%rdx,%rcx)
	je	LBB0_45
## %bb.44:                              ##   in Loop: Header=BB0_40 Depth=3
	movq	-320(%rbp), %rdx                ## 8-byte Reload
	cmpl	$255, (%rdx,%rcx,4)
	movl	$0, %edx
	movl	$20, %r13d
	jne	LBB0_48
LBB0_45:                                ##   in Loop: Header=BB0_40 Depth=3
	cmpl	%esi, %ebx
	cmovgel	%esi, %ebx
	cmpl	%esi, %eax
	cmovgl	%eax, %esi
	movl	$1, %edx
	movl	%ebx, %r12d
	movl	%esi, %r13d
	jmp	LBB0_48
	.p2align	4, 0x90
LBB0_46:                                ##   in Loop: Header=BB0_40 Depth=3
	xorl	%edx, %edx
	jmp	LBB0_48
LBB0_47:                                ##   in Loop: Header=BB0_40 Depth=3
	xorl	%edx, %edx
	movl	$20, %r13d
	.p2align	4, 0x90
LBB0_48:                                ##   in Loop: Header=BB0_40 Depth=3
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	movl	$20, %r14d
	testl	%r9d, %r9d
	cmovel	%edi, %r14d
	movl	$20, %r15d
	cmovel	%r8d, %r15d
	je	LBB0_38
## %bb.49:                              ##   in Loop: Header=BB0_40 Depth=3
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	-160(%rbp), %eax                ## 4-byte Folded Reload
	jge	LBB0_38
## %bb.50:                              ##   in Loop: Header=BB0_40 Depth=3
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movzbl	(%rax,%rcx), %eax
	movl	$20, %r14d
	cmpl	$255, %eax
	movl	$0, %esi
	je	LBB0_55
## %bb.51:                              ##   in Loop: Header=BB0_40 Depth=3
	movq	-152(%rbp), %rdx                ## 8-byte Reload
	cmpb	$-1, (%rdx,%rcx)
	je	LBB0_53
## %bb.52:                              ##   in Loop: Header=BB0_40 Depth=3
	movq	-328(%rbp), %rdx                ## 8-byte Reload
	cmpb	$-1, (%rdx,%rcx)
	movl	$20, %r15d
	jne	LBB0_39
LBB0_53:                                ##   in Loop: Header=BB0_40 Depth=3
	cmpl	%eax, %edi
	cmovgel	%eax, %edi
	cmpl	%eax, %r8d
	cmovgl	%r8d, %eax
	movl	$1, %esi
	movl	%edi, %r14d
	movl	%eax, %r15d
	jmp	LBB0_39
LBB0_55:                                ##   in Loop: Header=BB0_40 Depth=3
	movl	$20, %r15d
	jmp	LBB0_39
LBB0_36:                                ##   in Loop: Header=BB0_7 Depth=2
	xorl	%ecx, %ecx
LBB0_66:                                ##   in Loop: Header=BB0_7 Depth=2
	movq	%rcx, %rdx
	testb	$1, %r9b
	je	LBB0_68
## %bb.67:                              ##   in Loop: Header=BB0_7 Depth=2
	xorps	%xmm1, %xmm1
	cvtsi2sd	%ecx, %xmm1
	mulsd	%xmm0, %xmm1
	addsd	LCPI0_4(%rip), %xmm1
	cvttsd2si	%xmm1, %edx
	addl	-80(%rbp), %edx                 ## 4-byte Folded Reload
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leal	(%rax,%rcx), %esi
	movslq	%esi, %rsi
	movl	%edx, (%r10,%rsi,4)
	movq	%rcx, %rdx
	orq	$1, %rdx
LBB0_68:                                ##   in Loop: Header=BB0_7 Depth=2
	notq	%rcx
	addq	%r9, %rcx
	je	LBB0_6
## %bb.69:                              ##   in Loop: Header=BB0_7 Depth=2
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leal	(%rax,%rdx), %ebx
	shlq	$32, %rbx
	leal	(%rax,%rdx), %esi
	incl	%esi
	shlq	$32, %rsi
	.p2align	4, 0x90
LBB0_70:                                ##   Parent Loop BB0_3 Depth=1
                                        ##     Parent Loop BB0_7 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	xorps	%xmm1, %xmm1
	cvtsi2sd	%edx, %xmm1
	mulsd	%xmm0, %xmm1
	movsd	LCPI0_4(%rip), %xmm2            ## xmm2 = mem[0],zero
	addsd	%xmm2, %xmm1
	cvttsd2si	%xmm1, %edi
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	addl	%r15d, %edi
	movq	%rbx, %rcx
	sarq	$30, %rcx
	leal	1(%rdx), %eax
	xorps	%xmm1, %xmm1
	cvtsi2sd	%eax, %xmm1
	mulsd	%xmm0, %xmm1
	addsd	%xmm2, %xmm1
	cvttsd2si	%xmm1, %eax
	movl	%edi, (%r10,%rcx)
	movq	-120(%rbp), %r12                ## 8-byte Reload
	addl	%r15d, %eax
	movq	%rsi, %rcx
	sarq	$30, %rcx
	movl	%eax, (%r10,%rcx)
	addq	$2, %rdx
	movabsq	$8589934592, %rax               ## imm = 0x200000000
	addq	%rax, %rbx
	addq	%rax, %rsi
	cmpq	%r9, %rdx
	jne	LBB0_70
	jmp	LBB0_6
LBB0_62:                                ##   in Loop: Header=BB0_7 Depth=2
	xorl	%edx, %edx
	movdqa	LCPI0_0(%rip), %xmm3            ## xmm3 = [0,1,2,3]
LBB0_63:                                ##   in Loop: Header=BB0_7 Depth=2
	testb	$1, %r8b
	movq	-120(%rbp), %r12                ## 8-byte Reload
	je	LBB0_65
## %bb.64:                              ##   in Loop: Header=BB0_7 Depth=2
	cvtdq2pd	%xmm3, %xmm4
	pshufd	$238, %xmm3, %xmm3              ## xmm3 = xmm3[2,3,2,3]
	cvtdq2pd	%xmm3, %xmm3
	mulpd	%xmm2, %xmm3
	mulpd	%xmm2, %xmm4
	addpd	%xmm6, %xmm4
	cvttpd2dq	%xmm4, %xmm2
	addpd	%xmm6, %xmm3
	cvttpd2dq	%xmm3, %xmm3
	unpcklpd	%xmm3, %xmm2                    ## xmm2 = xmm2[0],xmm3[0]
	paddd	%xmm2, %xmm1
	addl	-64(%rbp), %edx                 ## 4-byte Folded Reload
	movslq	%edx, %rdx
	movdqu	%xmm1, (%r10,%rdx,4)
LBB0_65:                                ##   in Loop: Header=BB0_7 Depth=2
	cmpq	%r9, %rcx
	movq	-208(%rbp), %r8                 ## 8-byte Reload
	je	LBB0_6
	jmp	LBB0_66
LBB0_71:
	addq	$296, %rsp                      ## imm = 0x128
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function eedi2_fill_gaps_2x
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_eedi2_fill_gaps_2x
	.p2align	2
_eedi2_fill_gaps_2x:                    ; @eedi2_fill_gaps_2x
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #368
	.cfi_def_cfa_offset 368
	stp	d9, d8, [sp, #256]              ; 16-byte Folded Spill
	stp	x28, x27, [sp, #272]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #288]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #304]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #320]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #336]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #352]            ; 16-byte Folded Spill
	add	x29, sp, #352
	.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
	mov	x21, x7
	mov	x25, x6
	mov	x22, x5
	mov	x19, x4
	mov	x24, x3
	mov	x20, x2
	mov	x27, x1
	mov	x23, x0
	ldr	w4, [x29, #16]
	mov	x0, x19
	mov	x1, x5
	str	x4, [sp, #64]                   ; 8-byte Folded Spill
                                        ; kill: def $w4 killed $w4 killed $x4
	mov	x5, x7
	bl	_eedi2_bit_blit
	mov	w8, #2
	sub	w9, w21, #1
	sub	w5, w8, w25
	str	w9, [sp, #60]                   ; 4-byte Folded Spill
	cmp	w5, w9
	b.ge	LBB0_60
; %bb.1:
	mov	x8, #0
	lsl	w9, w24, #1
	sxtw	x10, w9
	lsl	w9, w27, #1
	sxtw	x12, w9
	msub	w9, w27, w25, w27
	add	x1, x23, w9, sxtw #2
	lsl	x13, x12, #2
	add	x9, x1, x13
	stur	x9, [x29, #-160]                ; 8-byte Folded Spill
	mul	w9, w5, w24
	add	x14, x20, w9, sxtw #2
	mul	w9, w5, w22
	sub	x11, x1, x13
	str	x11, [sp, #104]                 ; 8-byte Folded Spill
	stp	x12, x10, [sp, #40]             ; 16-byte Folded Spill
	lsl	x10, x10, #2
	add	x11, x14, x10
	stp	x10, x13, [sp, #24]             ; 16-byte Folded Spill
	sub	x10, x14, x10
	stp	x10, x11, [sp, #88]             ; 16-byte Folded Spill
	sub	w6, w21, #3
	lsl	w10, w22, #1
	sxtw	x10, w10
	str	x10, [sp, #16]                  ; 8-byte Folded Spill
	ldr	x11, [sp, #64]                  ; 8-byte Folded Reload
	sxtw	x10, w11
	str	x10, [sp, #136]                 ; 8-byte Folded Spill
	sub	w15, w11, #2
	add	x10, x13, x12
	add	x10, x1, x10
	str	x10, [sp, #80]                  ; 8-byte Folded Spill
	fmov	d8, #0.50000000
Lloh0:
	adrp	x10, lCPI0_0@PAGE
Lloh1:
	ldr	q0, [x10, lCPI0_0@PAGEOFF]
	str	q0, [sp]                        ; 16-byte Folded Spill
	fmov.2d	v0, #0.50000000
	str	q0, [sp, #112]                  ; 16-byte Folded Spill
	add	x17, x19, w9, sxtw #2
	mov	w7, #20
	sub	x8, x8, w11, uxtw
	str	x8, [sp, #72]                   ; 8-byte Folded Spill
	str	x15, [sp, #128]                 ; 8-byte Folded Spill
	str	w6, [sp, #148]                  ; 4-byte Folded Spill
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [sp, #40]                   ; 8-byte Folded Reload
	ldur	x8, [x29, #-160]                ; 8-byte Folded Reload
	add	x8, x8, x9
	stur	x8, [x29, #-160]                ; 8-byte Folded Spill
	ldr	x8, [sp, #104]                  ; 8-byte Folded Reload
	add	x8, x8, x9
	str	x8, [sp, #104]                  ; 8-byte Folded Spill
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	add	x1, x1, x8
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	ldr	x10, [sp, #88]                  ; 8-byte Folded Reload
	add	x10, x10, x8
	str	x10, [sp, #88]                  ; 8-byte Folded Spill
	ldr	x10, [sp, #24]                  ; 8-byte Folded Reload
	add	x14, x14, x10
	ldr	x10, [sp, #96]                  ; 8-byte Folded Reload
	add	x10, x10, x8
	str	x10, [sp, #96]                  ; 8-byte Folded Spill
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	add	x17, x17, x8, lsl #2
	add	w5, w5, #2
	ldr	x8, [sp, #80]                   ; 8-byte Folded Reload
	add	x8, x8, x9
	str	x8, [sp, #80]                   ; 8-byte Folded Spill
	ldr	w8, [sp, #60]                   ; 4-byte Folded Reload
	cmp	w5, w8
	b.ge	LBB0_60
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;       Child Loop BB0_13 Depth 3
                                        ;       Child Loop BB0_22 Depth 3
                                        ;       Child Loop BB0_40 Depth 3
                                        ;       Child Loop BB0_56 Depth 3
                                        ;       Child Loop BB0_59 Depth 3
	ldr	x8, [sp, #64]                   ; 8-byte Folded Reload
	cmp	w8, #3
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x2, #0
	ldur	x3, [x29, #-160]                ; 8-byte Folded Reload
	mov	x24, x1
	mov	x23, x14
	mov	w4, #1
	mov	w19, #2
	stp	x14, x1, [sp, #160]             ; 16-byte Folded Spill
	str	x17, [sp, #152]                 ; 8-byte Folded Spill
	stur	w5, [x29, #-172]                ; 4-byte Folded Spill
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=2
	ldur	x8, [x29, #-160]                ; 8-byte Folded Reload
	ldrb	w8, [x8, x4]
	cmp	w8, #255
	b.eq	LBB0_9
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	add	x4, x4, #1
	add	x2, x2, #1
	add	x19, x19, #1
	add	x23, x23, #4
	add	x24, x24, #4
	add	x3, x3, #1
	cmp	x2, x15
	b.eq	LBB0_2
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_13 Depth 3
                                        ;       Child Loop BB0_22 Depth 3
                                        ;       Child Loop BB0_40 Depth 3
                                        ;       Child Loop BB0_56 Depth 3
                                        ;       Child Loop BB0_59 Depth 3
	ldr	w8, [x14, x4, lsl #2]
	cmp	w8, #255
	b.ne	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	w8, [x1, x4, lsl #2]
	cmp	w8, #255
	b.ne	LBB0_5
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=2
	cmp	x4, #1
	b.ne	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	w15, #0
	mov	w28, #500
	mov	w8, #1
	b	LBB0_18
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x8, #0
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=3
	sub	x8, x8, #1
	cmn	x2, x8
	b.eq	LBB0_10
LBB0_13:                                ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w28, [x23, x8, lsl #2]
	cmp	w28, #255
	b.ne	LBB0_17
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=3
	ldr	w9, [x24, x8, lsl #2]
	cmp	w9, #255
	b.eq	LBB0_12
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=3
	ldrb	w9, [x3, x8]
	cmp	w9, #255
	b.eq	LBB0_12
; %bb.16:                               ;   in Loop: Header=BB0_7 Depth=2
	add	x15, x2, x8
	add	x8, x15, #1
	stur	x8, [x29, #-168]                ; 8-byte Folded Spill
	mov	w28, #500
                                        ; kill: def $w15 killed $w15 killed $x15 def $x15
	b	LBB0_19
LBB0_17:                                ;   in Loop: Header=BB0_7 Depth=2
	add	x15, x2, x8
	add	x8, x15, #1
LBB0_18:                                ;   in Loop: Header=BB0_7 Depth=2
	stur	x8, [x29, #-168]                ; 8-byte Folded Spill
LBB0_19:                                ;   in Loop: Header=BB0_7 Depth=2
	add	x8, x4, #1
	ldr	x9, [sp, #136]                  ; 8-byte Folded Reload
	cmp	x8, x9
	b.ge	LBB0_26
; %bb.20:                               ;   in Loop: Header=BB0_7 Depth=2
	mov	x8, #0
	ldr	x9, [sp, #72]                   ; 8-byte Folded Reload
	add	x9, x9, x19
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_22 Depth=3
	add	x8, x8, #1
	cmn	x9, x8
	b.eq	LBB0_28
LBB0_22:                                ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	add	x10, x23, x8, lsl #2
	ldr	w25, [x10, #8]
	cmp	w25, #255
	b.ne	LBB0_27
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=3
	add	x10, x24, x8, lsl #2
	ldr	w10, [x10, #8]
	cmp	w10, #255
	b.eq	LBB0_21
; %bb.24:                               ;   in Loop: Header=BB0_22 Depth=3
	add	x10, x3, x8
	ldrb	w10, [x10, #2]
	cmp	w10, #255
	b.eq	LBB0_21
; %bb.25:                               ;   in Loop: Header=BB0_7 Depth=2
	add	w8, w19, w8
LBB0_26:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	w25, #-500
	b	LBB0_29
LBB0_27:                                ;   in Loop: Header=BB0_7 Depth=2
	add	w8, w19, w8
	b	LBB0_29
LBB0_28:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	w25, #-500
	ldr	x8, [sp, #64]                   ; 8-byte Folded Reload
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
LBB0_29:                                ;   in Loop: Header=BB0_7 Depth=2
	subs	w16, w8, w15
	stp	x3, x2, [x29, #-120]            ; 16-byte Folded Spill
	stp	x19, x4, [x29, #-136]           ; 16-byte Folded Spill
	stur	w16, [x29, #-140]               ; 4-byte Folded Spill
	b.ge	LBB0_37
; %bb.30:                               ;   in Loop: Header=BB0_7 Depth=2
	mov	w22, #-20
	mov	w19, #500
	mov	w26, #1
	mov	w20, #1
	mov	w21, #500
	mov	w27, #-20
LBB0_31:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	w10, #128
	sub	w8, w10, w25
	subs	w9, w25, #128
	csel	w0, w8, w9, lt
	sub	w8, w10, w28
	subs	w9, w28, #128
	csel	w1, w8, w9, lt
	stp	w0, w1, [x29, #-148]            ; 8-byte Folded Spill
	bl	_MAX
	asr	w0, w0, #2
	mov	w1, #8
	bl	_MAX
	stur	w0, [x29, #-152]                ; 4-byte Folded Spill
	sub	w8, w19, w22
	cmn	w22, #20
	csel	w8, wzr, w8, eq
	cmp	w8, #0
	cneg	w0, w8, mi
	sub	w8, w21, w27
	cmn	w27, #20
	csel	w8, wzr, w8, eq
	cmp	w8, #0
	cneg	w1, w8, mi
	bl	_MAX
	mov	x1, x0
	ldur	w0, [x29, #-152]                ; 4-byte Folded Reload
	bl	_MAX
	mov	x22, x0
	ldp	w0, w1, [x29, #-148]            ; 8-byte Folded Reload
	bl	_MAX
	asr	w0, w0, #2
	mov	w1, #6
	bl	_MIN
	mov	w7, #20
	ldr	w6, [sp, #148]                  ; 4-byte Folded Reload
	ldur	w5, [x29, #-172]                ; 4-byte Folded Reload
	subs	w9, w25, w28
	cneg	w8, w9, mi
	cmp	w8, w22
	ldp	x14, x1, [sp, #160]             ; 16-byte Folded Reload
	ldr	x15, [sp, #128]                 ; 8-byte Folded Reload
	mov	x13, #4294967296
	ldr	q7, [sp, #112]                  ; 16-byte Folded Reload
	movi.4s	v16, #4
	ldr	x17, [sp, #152]                 ; 8-byte Folded Reload
	ldp	x3, x2, [x29, #-120]            ; 16-byte Folded Reload
	ldp	x19, x4, [x29, #-136]           ; 16-byte Folded Reload
	ldur	w11, [x29, #-140]               ; 4-byte Folded Reload
	b.gt	LBB0_6
; %bb.32:                               ;   in Loop: Header=BB0_7 Depth=2
	sub	w8, w11, #1
	orr	w10, w20, w26
	cbnz	w10, LBB0_34
; %bb.33:                               ;   in Loop: Header=BB0_7 Depth=2
	cmp	w8, w0
	b.gt	LBB0_6
LBB0_34:                                ;   in Loop: Header=BB0_7 Depth=2
	cmp	w11, #2
	b.lt	LBB0_6
; %bb.35:                               ;   in Loop: Header=BB0_7 Depth=2
	scvtf	d0, w9
	scvtf	d1, w11
	fdiv	d0, d0, d1
	cmp	w8, #4
	b.hs	LBB0_53
; %bb.36:                               ;   in Loop: Header=BB0_7 Depth=2
	mov	x9, #0
	b	LBB0_58
LBB0_37:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x8, #0
	mov	x9, x15
	sxtw	x13, w9
	ldp	x12, x9, [sp, #88]              ; 16-byte Folded Reload
	add	x9, x9, x13
	ldur	x10, [x29, #-160]               ; 8-byte Folded Reload
	add	x10, x10, x13
	ldr	x11, [sp, #80]                  ; 8-byte Folded Reload
	add	x11, x11, x13
	add	x12, x12, x13
	ldr	x14, [sp, #104]                 ; 8-byte Folded Reload
	add	x13, x14, x13
	add	w14, w16, #1
	mov	w0, #1
	mov	w17, #500
	mov	w16, #-20
	mov	w22, #-20
	mov	w19, #500
	mov	w26, #1
	add	x15, x1, w15, sxtw #2
	b	LBB0_40
LBB0_38:                                ;   in Loop: Header=BB0_40 Depth=3
	mov	w20, #0
	mov	w21, #20
	mov	w27, #20
LBB0_39:                                ;   in Loop: Header=BB0_40 Depth=3
	add	x8, x8, #1
	mov	x16, x27
	mov	x17, x21
	mov	x0, x20
	cmp	w14, w8
	b.eq	LBB0_31
LBB0_40:                                ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	mov	x3, x26
	mov	x2, x19
	mov	x1, x22
	cmp	w26, #0
	csel	w19, w19, w7, eq
	csel	w22, w22, w7, eq
	mov	w26, #0
	cbz	w3, LBB0_47
; %bb.41:                               ;   in Loop: Header=BB0_40 Depth=3
	cmp	w5, #3
	b.lt	LBB0_47
; %bb.42:                               ;   in Loop: Header=BB0_40 Depth=3
	ldrb	w3, [x12, x8]
	cmp	w3, #255
	b.eq	LBB0_46
; %bb.43:                               ;   in Loop: Header=BB0_40 Depth=3
	ldrb	w4, [x13, x8]
	cmp	w4, #255
	b.eq	LBB0_45
; %bb.44:                               ;   in Loop: Header=BB0_40 Depth=3
	ldr	w4, [x15, x8, lsl #2]
	cmp	w4, #255
	b.ne	LBB0_46
LBB0_45:                                ;   in Loop: Header=BB0_40 Depth=3
	cmp	w2, w3
	csel	w19, w2, w3, lt
	cmp	w1, w3
	csel	w22, w1, w3, gt
	mov	w26, #1
	b	LBB0_47
LBB0_46:                                ;   in Loop: Header=BB0_40 Depth=3
	mov	w26, #0
	mov	w19, #20
	mov	w22, #20
LBB0_47:                                ;   in Loop: Header=BB0_40 Depth=3
	mov	w20, #0
	cmp	w0, #0
	csel	w21, w17, w7, eq
	csel	w27, w16, w7, eq
	cbz	w0, LBB0_39
; %bb.48:                               ;   in Loop: Header=BB0_40 Depth=3
	cmp	w5, w6
	b.ge	LBB0_39
; %bb.49:                               ;   in Loop: Header=BB0_40 Depth=3
	ldrb	w0, [x9, x8]
	cmp	w0, #255
	b.eq	LBB0_38
; %bb.50:                               ;   in Loop: Header=BB0_40 Depth=3
	ldrb	w1, [x10, x8]
	cmp	w1, #255
	b.eq	LBB0_52
; %bb.51:                               ;   in Loop: Header=BB0_40 Depth=3
	ldrb	w1, [x11, x8]
	cmp	w1, #255
	b.ne	LBB0_38
LBB0_52:                                ;   in Loop: Header=BB0_40 Depth=3
	cmp	w17, w0
	csel	w21, w17, w0, lt
	cmp	w16, w0
	csel	w27, w16, w0, gt
	mov	w20, #1
	b	LBB0_39
LBB0_53:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x9, #0
	sub	x10, x8, #1
	ldur	x12, [x29, #-168]               ; 8-byte Folded Reload
	add	w11, w12, w10
	cmp	w11, w12
	b.lt	LBB0_58
; %bb.54:                               ;   in Loop: Header=BB0_7 Depth=2
	lsr	x10, x10, #32
	cbnz	x10, LBB0_58
; %bb.55:                               ;   in Loop: Header=BB0_7 Depth=2
	dup.2d	v1, v0[0]
	and	x9, x8, #0xfffffffc
	dup.4s	v2, w28
	ldur	x10, [x29, #-168]               ; 8-byte Folded Reload
	lsl	x10, x10, #32
	mov	x11, x9
	ldr	q3, [sp]                        ; 16-byte Folded Reload
	mov	x16, #17179869184
LBB0_56:                                ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	sshll2.2d	v4, v3, #0
	scvtf.2d	v4, v4
	sshll.2d	v5, v3, #0
	scvtf.2d	v5, v5
	mov.16b	v6, v7
	fmla.2d	v6, v1, v5
	mov.16b	v5, v7
	fmla.2d	v5, v1, v4
	fcvtzs.2d	v4, v5
	fcvtzs.2d	v5, v6
	uzp1.4s	v4, v5, v4
	add.4s	v4, v2, v4
	asr	x12, x10, #30
	str	q4, [x17, x12]
	add.4s	v3, v3, v16
	add	x10, x10, x16
	subs	x11, x11, #4
	b.ne	LBB0_56
; %bb.57:                               ;   in Loop: Header=BB0_7 Depth=2
	cmp	x9, x8
	b.eq	LBB0_6
LBB0_58:                                ;   in Loop: Header=BB0_7 Depth=2
	ldur	x10, [x29, #-168]               ; 8-byte Folded Reload
	add	w10, w10, w9
	lsl	x10, x10, #32
LBB0_59:                                ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	scvtf	d1, w9
	fmadd	d1, d1, d0, d8
	fcvtzs	w11, d1
	add	w11, w28, w11
	asr	x12, x10, #30
	str	w11, [x17, x12]
	add	x9, x9, #1
	add	x10, x10, x13
	cmp	x8, x9
	b.ne	LBB0_59
	b	LBB0_6
LBB0_60:
	ldp	x29, x30, [sp, #352]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #336]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #320]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #304]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #288]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #272]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #256]              ; 16-byte Folded Reload
	add	sp, sp, #368
	ret
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
