	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eedi2_interpolate_plane
_eedi2_interpolate_plane:               ## @eedi2_interpolate_plane
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r9
	movq	72(%rdi), %rax
	movq	_MSKPF@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rcx
	movq	(%rcx), %r8
	movslq	%esi, %rbx
	movq	80(%rdi), %rdx
	movq	_DST2PF@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	(%rdx,%rsi,8), %rsi
	movq	(%rsi), %rdi
	leaq	(,%rbx,8), %rsi
	movq	%rbx, %rcx
	movq	%rbx, -160(%rbp)                ## 8-byte Spill
	leaq	(%rsi,%rsi,2), %rsi
	movq	16(%rdi,%rsi), %rdi
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movq	_TMP2PF2@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movq	(%rdx,%rdi,8), %rdi
	movq	(%rdi), %rdi
	movq	16(%rdi,%rsi), %rdi
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	_MSK2PF@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movq	(%rdx,%rdi,8), %rdi
	movq	(%rdi), %rdi
	movq	16(%rdi,%rsi), %rdi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	_TMP2PF@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movq	(%rdx,%rdi,8), %rdi
	movq	(%rdi), %rdi
	movq	16(%rdi,%rsi), %rdi
	movq	%rdi, -136(%rbp)                ## 8-byte Spill
	movq	_DST2MPF@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movq	(%rdx,%rdi,8), %rdi
	movq	(%rdi), %rdi
	movq	16(%rdi,%rsi), %rdi
	movq	%rdi, -128(%rbp)                ## 8-byte Spill
	movq	(%rdx), %rdx
	movq	(%rdx), %rdx
	movl	(%rdx,%rsi), %ebx
	movl	4(%rdx,%rsi), %edi
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	movl	8(%rdx,%rsi), %r10d
	movq	%r10, -56(%rbp)                 ## 8-byte Spill
	movq	%rcx, %rsi
	shlq	$4, %rsi
	movq	8(%r8,%rsi), %r12
	movq	_SRCPF@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rcx
	movq	(%rcx), %rcx
	movq	8(%rcx,%rsi), %rdx
	movq	%rdx, -120(%rbp)                ## 8-byte Spill
	movq	_TMPPF@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rcx
	movq	(%rcx), %rcx
	movq	8(%rcx,%rsi), %r14
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	movq	_DSTPF@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rcx
	movq	(%rcx), %rcx
	movq	8(%rcx,%rsi), %rcx
	movq	%rcx, -152(%rbp)                ## 8-byte Spill
	movq	(%rax), %rax
	movq	(%rax), %rax
	movl	(%rax,%rsi), %r15d
	movq	%r9, %rcx
	movq	(%r9), %rax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movq	8(%r9), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	16(%r9), %rax
	movq	%rax, -176(%rbp)                ## 8-byte Spill
	movq	24(%r9), %rax
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	movl	64(%r9), %r8d
	movl	60(%r9), %r9d
	movl	56(%rcx), %eax
	movq	%rcx, %r13
	subq	$8, %rsp
	movq	%r12, %rdi
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movl	%ebx, %esi
	movl	%ebx, %ecx
	pushq	%r10
	pushq	%r15
	pushq	%rax
	callq	_eedi2_build_edge_mask
	addq	$32, %rsp
	movl	48(%r13), %r8d
	subq	$8, %rsp
	movq	%r12, %rdi
	movl	%ebx, %esi
	movq	%r14, %rdx
	movl	%ebx, %ecx
	movl	%r15d, %r9d
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	pushq	%r12
	callq	_eedi2_erode_edge_mask
	addq	$16, %rsp
	movl	52(%r13), %r8d
	subq	$8, %rsp
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdx
	movl	%ebx, %ecx
	movl	%r15d, %r9d
	pushq	%r12
	callq	_eedi2_dilate_edge_mask
	addq	$16, %rsp
	movl	48(%r13), %r8d
	subq	$8, %rsp
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdx
	movl	%ebx, %ecx
	movl	%r15d, %r9d
	pushq	%r12
	callq	_eedi2_erode_edge_mask
	addq	$16, %rsp
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdx
	movl	%ebx, %ecx
	movl	%r15d, %r8d
	movl	%r12d, %r9d
	callq	_eedi2_remove_small_gaps
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movl	40(%r13), %eax
	movl	44(%r13), %r10d
	subq	$8, %rsp
	movq	-160(%rbp), %rdi                ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	movl	%ebx, %r8d
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %r9
	pushq	%r12
	pushq	%r15
	pushq	%rax
	pushq	%r10
	pushq	%rbx
	callq	_eedi2_calc_directions
	addq	$48, %rsp
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%r13, %rdx
	movl	%ebx, %ecx
	movq	-152(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %r8
	movl	%ebx, %r9d
	pushq	%r12
	pushq	%r15
	callq	_eedi2_filter_dir_map
	addq	$16, %rsp
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movl	%ebx, %esi
	movq	%r14, %rdx
	movl	%ebx, %ecx
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %r8
	movl	%ebx, %r9d
	pushq	%r12
	pushq	%r15
	callq	_eedi2_expand_dir_map
	addq	$16, %rsp
	movq	%r13, %rdi
	movl	%ebx, %esi
	movq	%r14, %rdx
	movq	%r12, %rax
	movl	%ebx, %ecx
	movq	-152(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %r8
	movl	%ebx, %r9d
	pushq	%rax
	pushq	%r15
	callq	_eedi2_filter_map
	addq	$16, %rsp
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movl	%r15d, %edx
	movl	%ebx, %ecx
	callq	_eedi2_upscale_by_2
	movq	%r12, %rdi
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rsi
	movl	%r15d, %edx
	movl	%ebx, %ecx
	callq	_eedi2_upscale_by_2
	movq	%r13, %rdi
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movl	%r15d, %edx
	movq	%r12, %r15
	movl	%ebx, %ecx
	callq	_eedi2_upscale_by_2
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movl	36(%r12), %eax
	subq	$8, %rsp
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%r15, %rdx
	movl	%ebx, %ecx
	movq	-136(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %r8
	movl	%ebx, %r9d
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	pushq	%r15
	movq	-104(%rbp), %r14                ## 8-byte Reload
	pushq	%r14
	pushq	%rax
	callq	_eedi2_mark_directions_2x
	addq	$32, %rsp
	movl	36(%r12), %eax
	subq	$8, %rsp
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	movq	%r13, %rdx
	movl	%ebx, %ecx
	movq	-128(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %r8
	movl	%ebx, %r9d
	pushq	%r15
	pushq	%r14
	pushq	%rax
	callq	_eedi2_filter_dir_map_2x
	addq	$32, %rsp
	movl	36(%r12), %r10d
	subq	$8, %rsp
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movl	%ebx, %esi
	movq	%r13, %r14
	movq	%r13, %rdx
	movl	%ebx, %ecx
	movq	-136(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %r8
	movl	%ebx, %r9d
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	pushq	-104(%rbp)                      ## 8-byte Folded Reload
	pushq	%r10
	callq	_eedi2_expand_dir_map_2x
	addq	$32, %rsp
	movl	36(%r12), %eax
	subq	$8, %rsp
	movq	%r15, %rdi
	movl	%ebx, %esi
	movq	%r13, %r12
	movq	%r13, %rdx
	movl	%ebx, %ecx
	movq	%r14, %r8
	movl	%ebx, %r9d
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	pushq	%r15
	movq	-104(%rbp), %r13                ## 8-byte Reload
	pushq	%r13
	pushq	%rax
	callq	_eedi2_fill_gaps_2x
	addq	$32, %rsp
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movl	36(%r14), %eax
	subq	$8, %rsp
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	movq	-128(%rbp), %rdx                ## 8-byte Reload
	movl	%ebx, %ecx
	movq	%r12, %r8
	movl	%ebx, %r9d
	pushq	%r15
	pushq	%r13
	pushq	%rax
	callq	_eedi2_fill_gaps_2x
	addq	$32, %rsp
	movl	36(%r14), %r10d
	movl	40(%r14), %r11d
	subq	$8, %rsp
	movq	-160(%rbp), %rdi                ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movl	%ebx, %r8d
	movq	-80(%rbp), %r9                  ## 8-byte Reload
	pushq	%r15
	pushq	%r13
	pushq	%r11
	pushq	%r10
	pushq	%rbx
	callq	_eedi2_interpolate_lattice
	addq	$48, %rsp
	movl	32(%r14), %eax
	movl	%eax, %ecx
	orl	$2, %ecx
	cmpl	$3, %ecx
	jne	LBB0_2
## %bb.1:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	movq	-136(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rdx
	movl	%ebx, %ecx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	%r14d, %r8d
	movl	%r13d, %r9d
	callq	_eedi2_bit_blit
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	36(%rax), %eax
	subq	$8, %rsp
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	movq	%r15, %rdx
	movl	%ebx, %ecx
	movq	-128(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %r8
	movl	%ebx, %r9d
	pushq	%r14
	pushq	%r13
	pushq	%rax
	callq	_eedi2_filter_dir_map_2x
	addq	$32, %rsp
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	36(%rax), %eax
	subq	$8, %rsp
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	movq	%r12, %rdx
	movl	%ebx, %ecx
	movq	%r15, %r8
	movl	%ebx, %r9d
	pushq	%r14
	pushq	%r13
	pushq	%rax
	callq	_eedi2_expand_dir_map_2x
	addq	$32, %rsp
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movl	36(%r12), %eax
	subq	$8, %rsp
	movq	%r15, %rdi
	movl	%ebx, %esi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movl	%ebx, %ecx
	movq	-88(%rbp), %r8                  ## 8-byte Reload
	movl	%ebx, %r9d
	pushq	%r14
	pushq	%r13
	pushq	%rax
	callq	_eedi2_post_process
	addq	$32, %rsp
	movl	32(%r12), %eax
LBB0_2:
	andl	$-2, %eax
	cmpl	$2, %eax
	jne	LBB0_4
## %bb.3:
	movq	-120(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %rdi
	movl	%ebx, %esi
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movl	%ebx, %ecx
	movq	%r13, %r8
	movl	%ebx, %r9d
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	pushq	%r14
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	pushq	%r15
	callq	_eedi2_gaussian_blur1
	addq	$8, %rsp
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	movl	%r14d, %ecx
	movq	-144(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %r8
	movq	-112(%rbp), %r9                 ## 8-byte Reload
	movq	-176(%rbp), %r12                ## 8-byte Reload
	pushq	%r12
	callq	_eedi2_calc_derivatives
	addq	$16, %rsp
	movq	%r13, %rdi
	movq	-168(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %rsi
	movq	%rdi, %rdx
	movl	%ebx, %ecx
	movl	%r15d, %r8d
	movl	%r14d, %r9d
	callq	_eedi2_gaussian_blur_sqrt2
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	movq	%r13, %rsi
	movq	%rdi, %rdx
	movl	%ebx, %ecx
	movl	%r15d, %r8d
	movl	%r14d, %r9d
	callq	_eedi2_gaussian_blur_sqrt2
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	movl	%ebx, %ecx
	movl	%r15d, %r8d
	movl	%r14d, %r9d
	callq	_eedi2_gaussian_blur_sqrt2
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	36(%rax), %eax
	subq	$8, %rsp
	movq	-144(%rbp), %rdi                ## 8-byte Reload
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movq	%r12, %rdx
	movl	%ebx, %ecx
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movl	%ebx, %r9d
	pushq	%rax
	pushq	%r14
	pushq	-104(%rbp)                      ## 8-byte Folded Reload
	pushq	%rbx
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	callq	_eedi2_post_process_corner
	addq	$184, %rsp
	jmp	LBB0_5
LBB0_4:
	addq	$136, %rsp
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSKPF,8,3                      ## @MSKPF
	.comm	_SRCPF,8,3                      ## @SRCPF
	.comm	_TMPPF,8,3                      ## @TMPPF
	.comm	_DSTPF,8,3                      ## @DSTPF
	.comm	_DST2PF,8,3                     ## @DST2PF
	.comm	_TMP2PF2,8,3                    ## @TMP2PF2
	.comm	_MSK2PF,8,3                     ## @MSK2PF
	.comm	_TMP2PF,8,3                     ## @TMP2PF
	.comm	_DST2MPF,8,3                    ## @DST2MPF
	.no_dead_strip	_eedi2_interpolate_plane
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eedi2_interpolate_plane
_eedi2_interpolate_plane:               ; @eedi2_interpolate_plane
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
                                        ; kill: def $w1 killed $w1 def $x1
	mov	x19, x0
Lloh0:
	adrp	x8, _MSKPF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSKPF@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
	ldp	x8, x10, [x0, #72]
	ldr	x9, [x8, x9, lsl #3]
	ldr	x9, [x9]
	sxtw	x11, w1
	sbfiz	x12, x1, #4, #32
	str	x1, [sp, #96]                   ; 8-byte Folded Spill
	add	x9, x9, x12
	ldr	x24, [x9, #8]
Lloh3:
	adrp	x9, _SRCPF@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SRCPF@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	x9, [x8, x9, lsl #3]
	ldr	x9, [x9]
	add	x9, x9, x12
	ldr	x22, [x9, #8]
Lloh6:
	adrp	x9, _TMPPF@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TMPPF@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	x9, [x8, x9, lsl #3]
	ldr	x9, [x9]
	add	x9, x9, x12
Lloh9:
	adrp	x13, _DSTPF@GOTPAGE
Lloh10:
	ldr	x13, [x13, _DSTPF@GOTPAGEOFF]
	ldr	x26, [x9, #8]
Lloh11:
	ldr	x9, [x13]
	ldr	x9, [x8, x9, lsl #3]
	ldr	x9, [x9]
	add	x9, x9, x12
	ldr	x27, [x9, #8]
Lloh12:
	adrp	x9, _DST2PF@GOTPAGE
Lloh13:
	ldr	x9, [x9, _DST2PF@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	ldr	x9, [x10, x9, lsl #3]
	ldr	x9, [x9]
	add	x11, x11, w1, sxtw #1
	lsl	x11, x11, #3
	add	x9, x9, x11
Lloh15:
	adrp	x13, _TMP2PF2@GOTPAGE
Lloh16:
	ldr	x13, [x13, _TMP2PF2@GOTPAGEOFF]
	ldr	x9, [x9, #16]
	stur	x9, [x29, #-88]                 ; 8-byte Folded Spill
Lloh17:
	ldr	x9, [x13]
	ldr	x9, [x10, x9, lsl #3]
	ldr	x9, [x9]
	add	x9, x9, x11
	ldr	x9, [x9, #16]
	str	x9, [sp, #88]                   ; 8-byte Folded Spill
Lloh18:
	adrp	x9, _MSK2PF@GOTPAGE
Lloh19:
	ldr	x9, [x9, _MSK2PF@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	ldr	x9, [x10, x9, lsl #3]
	ldr	x9, [x9]
	add	x9, x9, x11
	ldr	x21, [x9, #16]
Lloh21:
	adrp	x9, _TMP2PF@GOTPAGE
Lloh22:
	ldr	x9, [x9, _TMP2PF@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	ldr	x9, [x10, x9, lsl #3]
	ldr	x9, [x9]
	add	x9, x9, x11
Lloh24:
	adrp	x13, _DST2MPF@GOTPAGE
Lloh25:
	ldr	x13, [x13, _DST2MPF@GOTPAGEOFF]
	ldr	x20, [x9, #16]
Lloh26:
	ldr	x9, [x13]
	ldr	x9, [x10, x9, lsl #3]
	ldr	x9, [x9]
	add	x9, x9, x11
	ldr	x9, [x9, #16]
	str	x9, [sp, #80]                   ; 8-byte Folded Spill
	ldr	x9, [x0]
	str	x9, [sp, #64]                   ; 8-byte Folded Spill
	ldr	x9, [x0, #8]
	str	x9, [sp, #56]                   ; 8-byte Folded Spill
	ldr	x9, [x0, #16]
	str	x9, [sp, #48]                   ; 8-byte Folded Spill
	ldr	x9, [x0, #24]
	str	x9, [sp, #32]                   ; 8-byte Folded Spill
	ldr	x9, [x10]
	ldr	x9, [x9]
	add	x9, x9, x11
	ldp	w25, w10, [x9]
	str	w10, [sp, #76]                  ; 4-byte Folded Spill
	ldr	w28, [x9, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	w23, [x8, x12]
	ldp	w5, w4, [x0, #60]
	ldr	w6, [x0, #56]
	str	w28, [sp]
	mov	x0, x24
	mov	x1, x25
	mov	x2, x22
	mov	x3, x25
	mov	x7, x23
	bl	_eedi2_build_edge_mask
	ldr	w4, [x19, #48]
	mov	x0, x24
	mov	x1, x25
	mov	x2, x26
	mov	x3, x25
	mov	x5, x23
	mov	x6, x28
	bl	_eedi2_erode_edge_mask
	ldr	w4, [x19, #52]
	mov	x0, x26
	mov	x1, x25
	mov	x2, x24
	mov	x3, x25
	mov	x5, x23
	mov	x6, x28
	bl	_eedi2_dilate_edge_mask
	ldr	w4, [x19, #48]
	mov	x0, x24
	mov	x1, x25
	mov	x2, x26
	mov	x3, x25
	mov	x5, x23
	mov	x6, x28
	bl	_eedi2_erode_edge_mask
	mov	x0, x26
	mov	x1, x25
	mov	x2, x24
	mov	x3, x25
	mov	x4, x23
	mov	x5, x28
	bl	_eedi2_remove_small_gaps
	ldp	w8, w7, [x19, #40]
	stp	w23, w28, [sp, #4]
	str	w8, [sp]
	ldr	x0, [sp, #96]                   ; 8-byte Folded Reload
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	x1, x24
	mov	x2, x25
	mov	x3, x22
	mov	x4, x25
	mov	x5, x26
	mov	x6, x25
	bl	_eedi2_calc_directions
	mov	x0, x24
	mov	x1, x25
	mov	x2, x26
	mov	x3, x25
	mov	x4, x27
	mov	x5, x25
	mov	x6, x23
	mov	x7, x28
	bl	_eedi2_filter_dir_map
	mov	x0, x24
	mov	x1, x25
	mov	x2, x27
	mov	x3, x25
	mov	x4, x26
	mov	x5, x25
	mov	x6, x23
	mov	x7, x28
	bl	_eedi2_expand_dir_map
	mov	x0, x24
	mov	x1, x25
	str	x26, [sp, #24]                  ; 8-byte Folded Spill
	mov	x2, x26
	ldr	w26, [sp, #76]                  ; 4-byte Folded Reload
	mov	x3, x25
	mov	x4, x27
	mov	x5, x25
	mov	x6, x23
	mov	x7, x28
	bl	_eedi2_filter_map
	str	x22, [sp, #40]                  ; 8-byte Folded Spill
	mov	x0, x22
	ldur	x22, [x29, #-88]                ; 8-byte Folded Reload
	mov	x1, x22
	mov	x2, x23
	mov	x3, x25
	bl	_eedi2_upscale_by_2
	mov	x0, x27
	ldr	x27, [sp, #88]                  ; 8-byte Folded Reload
	mov	x1, x27
	mov	x2, x23
	mov	x3, x25
	bl	_eedi2_upscale_by_2
	mov	x0, x24
	ldr	x24, [sp, #80]                  ; 8-byte Folded Reload
	mov	x1, x21
	mov	x2, x23
	mov	x3, x25
	bl	_eedi2_upscale_by_2
	ldr	w6, [x19, #36]
	str	w28, [sp]
	mov	x0, x21
	mov	x1, x25
	mov	x2, x27
	mov	x3, x25
	mov	x4, x20
	mov	x5, x25
	mov	x7, x26
	bl	_eedi2_mark_directions_2x
	ldr	w6, [x19, #36]
	str	w28, [sp]
	mov	x0, x21
	mov	x1, x25
	mov	x2, x20
	mov	x3, x25
	mov	x4, x24
	mov	x5, x25
	mov	x7, x26
	bl	_eedi2_filter_dir_map_2x
	ldr	w6, [x19, #36]
	str	w28, [sp]
	mov	x0, x21
	mov	x1, x25
	mov	x2, x24
	mov	x3, x25
	mov	x4, x20
	mov	x5, x25
	mov	x7, x26
	bl	_eedi2_expand_dir_map_2x
	ldr	w6, [x19, #36]
	str	w28, [sp]
	mov	x0, x21
	mov	x1, x25
	mov	x2, x20
	mov	x3, x25
	mov	x4, x24
	mov	x5, x25
	mov	x7, x26
	bl	_eedi2_fill_gaps_2x
	ldr	w6, [x19, #36]
	str	w28, [sp]
	mov	x0, x21
	mov	x1, x25
	mov	x2, x24
	mov	x3, x25
	mov	x4, x20
	mov	x5, x25
	mov	x7, x26
	bl	_eedi2_fill_gaps_2x
	ldp	w7, w8, [x19, #36]
	stp	w26, w28, [sp, #4]
	str	w8, [sp]
	ldr	x0, [sp, #96]                   ; 8-byte Folded Reload
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	x1, x20
	mov	x2, x25
	mov	x3, x22
	mov	x4, x25
	mov	x5, x27
	mov	x6, x25
	bl	_eedi2_interpolate_lattice
	ldr	w8, [x19, #32]
	orr	w9, w8, #0x2
	cmp	w9, #3
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x27
	mov	x1, x25
	mov	x2, x20
	mov	x3, x25
	mov	x4, x28
	mov	x5, x26
	bl	_eedi2_bit_blit
	ldr	w6, [x19, #36]
	str	w28, [sp]
	mov	x0, x21
	mov	x1, x25
	mov	x2, x20
	mov	x3, x25
	mov	x4, x24
	mov	x5, x25
	mov	x7, x26
	bl	_eedi2_filter_dir_map_2x
	ldr	w6, [x19, #36]
	str	w28, [sp]
	mov	x0, x21
	mov	x1, x25
	mov	x2, x24
	mov	x3, x25
	mov	x4, x20
	mov	x5, x25
	mov	x7, x26
	bl	_eedi2_expand_dir_map_2x
	ldr	w6, [x19, #36]
	str	w28, [sp]
	mov	x0, x20
	mov	x1, x25
	mov	x2, x27
	mov	x3, x25
	ldur	x4, [x29, #-88]                 ; 8-byte Folded Reload
	mov	x5, x25
	mov	x7, x26
	bl	_eedi2_post_process
	ldr	w8, [x19, #32]
LBB0_2:
	and	w8, w8, #0xfffffffe
	cmp	w8, #2
	b.ne	LBB0_4
; %bb.3:
	ldr	x20, [sp, #40]                  ; 8-byte Folded Reload
	mov	x0, x20
	mov	x1, x25
	ldr	x2, [sp, #24]                   ; 8-byte Folded Reload
	mov	x3, x25
	mov	x4, x20
	mov	x5, x25
	mov	x6, x23
	mov	x7, x28
	bl	_eedi2_gaussian_blur1
	mov	x0, x20
	mov	x1, x25
	mov	x2, x23
	mov	x3, x28
	ldp	x21, x20, [sp, #56]             ; 16-byte Folded Reload
	mov	x4, x20
	mov	x5, x21
	ldr	x22, [sp, #48]                  ; 8-byte Folded Reload
	mov	x6, x22
	bl	_eedi2_calc_derivatives
	mov	x0, x20
	ldr	x24, [sp, #32]                  ; 8-byte Folded Reload
	mov	x1, x24
	mov	x2, x20
	mov	x3, x25
	mov	x4, x23
	mov	x5, x28
	bl	_eedi2_gaussian_blur_sqrt2
	mov	x0, x21
	mov	x1, x24
	mov	x2, x21
	mov	x3, x25
	mov	x4, x23
	mov	x5, x28
	bl	_eedi2_gaussian_blur_sqrt2
	mov	x0, x22
	mov	x1, x24
	mov	x2, x22
	mov	x3, x25
	mov	x4, x23
	mov	x5, x28
	bl	_eedi2_gaussian_blur_sqrt2
	ldr	w8, [x19, #36]
	stp	w28, w8, [sp, #4]
	str	w26, [sp]
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	x3, x25
	mov	x4, x27
	mov	x5, x25
	ldur	x6, [x29, #-88]                 ; 8-byte Folded Reload
	mov	x7, x25
	bl	_eedi2_post_process_corner
LBB0_4:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MSKPF,8,3                      ; @MSKPF
	.comm	_SRCPF,8,3                      ; @SRCPF
	.comm	_TMPPF,8,3                      ; @TMPPF
	.comm	_DSTPF,8,3                      ; @DSTPF
	.comm	_DST2PF,8,3                     ; @DST2PF
	.comm	_TMP2PF2,8,3                    ; @TMP2PF2
	.comm	_MSK2PF,8,3                     ; @MSK2PF
	.comm	_TMP2PF,8,3                     ; @TMP2PF
	.comm	_DST2MPF,8,3                    ; @DST2MPF
	.no_dead_strip	_eedi2_interpolate_plane
.subsections_via_symbols
