	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function deinterlace_slice
LCPI0_0:
	.long	0                               ## 0x0
	.long	2                               ## 0x2
	.space	4
	.space	4
LCPI0_1:
	.long	0                               ## 0x0
	.long	4294967294                      ## 0xfffffffe
	.space	4
	.space	4
LCPI0_2:
	.long	4294967294                      ## 0xfffffffe
	.long	4294967294                      ## 0xfffffffe
	.space	4
	.space	4
LCPI0_3:
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.space	4
	.space	4
LCPI0_4:
	.long	4294967292                      ## 0xfffffffc
	.long	4294967292                      ## 0xfffffffc
	.space	4
	.space	4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_deinterlace_slice:                     ## @deinterlace_slice
	.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	$312, %rsp                      ## imm = 0x138
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r10d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %r15
	movq	24(%rsi), %rax
	movq	8(%rsi), %rdx
	movq	16(%rsi), %rbx
	movslq	(%rsi), %rsi
	movq	16(%rbx), %rdi
	movq	(%rdi,%rsi,8), %r13
	movq	(%rdx), %r9
	movq	16(%rdx), %rdx
	movq	(%rdx,%rsi,8), %rdx
	movq	%rdx, -232(%rbp)                ## 8-byte Spill
	movq	(%rax), %rdx
	movq	16(%rax), %rax
	movq	(%rax,%rsi,8), %rax
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	movq	8(%r15), %rax
	movq	16(%r15), %rdi
	movl	(%rax,%rsi,4), %r8d
	movl	(%rdi,%rsi,4), %r12d
	movq	(%rbx), %rax
	movslq	(%rax,%rsi,4), %r14
	movl	(%r9,%rsi,4), %r11d
	movslq	(%rdx,%rsi,4), %rax
	movq	%rax, -192(%rbp)                ## 8-byte Spill
	movl	%r12d, %eax
	imull	%r10d, %eax
	cltd
	movslq	(%r15), %rsi
	movq	%rsi, -208(%rbp)                ## 8-byte Spill
	movq	%rbx, -216(%rbp)                ## 8-byte Spill
	movq	8(%rbx), %rsi
	idivl	%ecx
	movl	%eax, %edi
	leal	1(%r10), %eax
	imull	%r12d, %eax
	cltd
	idivl	%ecx
	movq	32(%r15), %rdx
	xorl	%ebx, %ebx
	cmpq	%rsi, %rdx
	sete	%bl
	movl	%edi, %r9d
	andl	$1, %r9d
	xorl	%r9d, %ebx
	movl	%edi, -148(%rbp)                ## 4-byte Spill
	addl	%edi, %ebx
	movq	-160(%rbp), %rdi                ## 8-byte Reload
	movl	24(%r15), %ecx
	movl	%ecx, -220(%rbp)                ## 4-byte Spill
	cmpl	%eax, %ebx
	movq	%r15, -240(%rbp)                ## 8-byte Spill
	movq	%r13, -248(%rbp)                ## 8-byte Spill
	movl	%r8d, -152(%rbp)                ## 4-byte Spill
	movl	%r11d, -184(%rbp)               ## 4-byte Spill
	movl	%eax, -180(%rbp)                ## 4-byte Spill
	jge	LBB0_4
## %bb.1:
	movq	%r10, -272(%rbp)                ## 8-byte Spill
	movq	%r9, -200(%rbp)                 ## 8-byte Spill
	movl	%ebx, %eax
	movq	-192(%rbp), %rdx                ## 8-byte Reload
	imull	%edx, %eax
	cltq
	movq	%r13, %rcx
	leaq	(%rdi,%rax,4), %r13
	movl	%r14d, %eax
	imull	%ebx, %eax
	cltq
	leaq	(%rcx,%rax,4), %r15
	leaq	(,%r14,8), %rax
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	leaq	(,%rdx,8), %rax
	movq	%rax, -176(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	%r8d, %edx
	callq	_memcpy
	movl	-180(%rbp), %eax                ## 4-byte Reload
	movl	-152(%rbp), %r8d                ## 4-byte Reload
	addl	$2, %ebx
	addq	-168(%rbp), %r15                ## 8-byte Folded Reload
	addq	-176(%rbp), %r13                ## 8-byte Folded Reload
	cmpl	%eax, %ebx
	jl	LBB0_2
## %bb.3:
	movq	-240(%rbp), %r15                ## 8-byte Reload
	movq	32(%r15), %rdx
	movq	-216(%rbp), %rcx                ## 8-byte Reload
	movq	8(%rcx), %rsi
	movq	-248(%rbp), %r13                ## 8-byte Reload
	movl	-184(%rbp), %r11d               ## 4-byte Reload
	movq	-200(%rbp), %r9                 ## 8-byte Reload
	movq	-272(%rbp), %r10                ## 8-byte Reload
	movq	-160(%rbp), %rdi                ## 8-byte Reload
LBB0_4:
	xorl	%ecx, %ecx
	cmpq	%rsi, %rdx
	setne	%cl
	xorl	%ecx, %r9d
	addl	-148(%rbp), %r9d                ## 4-byte Folded Reload
	cmpl	%eax, %r9d
	jge	LBB0_30
## %bb.5:
	movl	%r9d, %eax
	movq	-192(%rbp), %rcx                ## 8-byte Reload
	imull	%ecx, %eax
	cltq
	leaq	(%rdi,%rax,4), %rbx
	movslq	%r10d, %rax
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	leaq	64(%r15), %rax
	movq	%rax, -288(%rbp)                ## 8-byte Spill
	leaq	72(%r15), %rax
	movq	%rax, -304(%rbp)                ## 8-byte Spill
	leaq	48(%r15), %rax
	movq	%rax, -280(%rbp)                ## 8-byte Spill
	leaq	56(%r15), %rax
	movq	%rax, -296(%rbp)                ## 8-byte Spill
	addq	%rcx, %rcx
	movq	%rcx, -192(%rbp)                ## 8-byte Spill
	leal	1(%r9), %eax
	movl	%eax, -148(%rbp)                ## 4-byte Spill
	movl	%r9d, %eax
	negl	%eax
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	decl	%r12d
	movd	%r12d, %xmm0
	pshufd	$80, %xmm0, %xmm9               ## xmm9 = xmm0[0,0,1,1]
	movd	%r14d, %xmm0
	pshufd	$80, %xmm0, %xmm10              ## xmm10 = xmm0[0,0,1,1]
	movd	%r11d, %xmm0
	pshufd	$80, %xmm0, %xmm8               ## xmm8 = xmm0[0,0,1,1]
	pxor	%xmm11, %xmm11
	movdqa	LCPI0_2(%rip), %xmm7            ## xmm7 = <4294967294,4294967294,u,u>
	movq	%r13, %xmm0
	pshufd	$68, %xmm0, %xmm12              ## xmm12 = xmm0[0,1,0,1]
	movdqa	LCPI0_3(%rip), %xmm6            ## xmm6 = <4,4,u,u>
	movdqa	LCPI0_4(%rip), %xmm13           ## xmm13 = <4294967292,4294967292,u,u>
	movdqa	%xmm9, -272(%rbp)               ## 16-byte Spill
	movdqa	%xmm10, -352(%rbp)              ## 16-byte Spill
	movdqa	%xmm8, -336(%rbp)               ## 16-byte Spill
	movdqa	%xmm12, -320(%rbp)              ## 16-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_coef_hf@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-208(%rbp), %rcx                ## 8-byte Reload
	movl	(%rax,%rcx,4), %ecx
	movq	%rsi, %rdi
	leaq	-96(%rbp), %rsi
	leaq	-144(%rbp), %rdx
	callq	*(%rbx)
	movl	-152(%rbp), %r8d                ## 4-byte Reload
	movq	80(%r15), %rax
	movq	-160(%rbp), %rcx                ## 8-byte Reload
	movq	(%rax,%rcx,8), %rsi
LBB0_29:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-216(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r8d, %edx
	movl	-220(%rbp), %ecx                ## 4-byte Reload
	callq	*40(%r15)
	movq	-192(%rbp), %rax                ## 8-byte Reload
	leaq	(%rbx,%rax,4), %rbx
	addl	$2, -148(%rbp)                  ## 4-byte Folded Spill
	movq	-168(%rbp), %rax                ## 8-byte Reload
	addl	$-2, %eax
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	movq	-200(%rbp), %r9                 ## 8-byte Reload
	cmpl	-180(%rbp), %r9d                ## 4-byte Folded Reload
	movdqa	-272(%rbp), %xmm9               ## 16-byte Reload
	movdqa	-352(%rbp), %xmm10              ## 16-byte Reload
	movdqa	-336(%rbp), %xmm8               ## 16-byte Reload
	pxor	%xmm11, %xmm11
	movdqa	LCPI0_2(%rip), %xmm7            ## xmm7 = <4294967294,4294967294,u,u>
	movdqa	-320(%rbp), %xmm12              ## 16-byte Reload
	movdqa	LCPI0_3(%rip), %xmm6            ## xmm6 = <4,4,u,u>
	movdqa	LCPI0_4(%rip), %xmm13           ## xmm13 = <4294967292,4294967292,u,u>
	jge	LBB0_30
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
                                        ##     Child Loop BB0_12 Depth 2
                                        ##     Child Loop BB0_21 Depth 2
                                        ##     Child Loop BB0_24 Depth 2
	movq	%rbx, -216(%rbp)                ## 8-byte Spill
	addl	$2, %r9d
	movq	_n_coef_lf@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-208(%rbp), %rcx                ## 8-byte Reload
	movl	(%rax,%rcx,4), %r10d
	testl	%r10d, %r10d
	jle	LBB0_13
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	-148(%rbp), %eax                ## 4-byte Reload
	movl	%eax, %r8d
	subl	%r10d, %r8d
	movq	-168(%rbp), %rax                ## 8-byte Reload
	leal	(%r10,%rax), %r11d
	movl	%r9d, %ebx
	subl	%r10d, %ebx
	cmpl	$1, %r10d
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	xorl	%edx, %edx
	movl	%ebx, %esi
	movl	%r8d, %edi
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	%r9, %rax
	movl	%r10d, %edx
	andl	$-2, %edx
	leal	(%rdx,%rdx), %r9d
	leal	(%rbx,%rdx,2), %esi
	leal	(%r8,%rdx,2), %edi
	movd	%ebx, %xmm0
	pshufd	$80, %xmm0, %xmm0               ## xmm0 = xmm0[0,0,1,1]
	movdqa	LCPI0_0(%rip), %xmm3            ## xmm3 = <0,2,u,u>
	paddd	%xmm3, %xmm0
	movd	%r11d, %xmm1
	subl	%r9d, %r11d
	pshufd	$80, %xmm1, %xmm1               ## xmm1 = xmm1[0,0,1,1]
	paddd	LCPI0_1(%rip), %xmm1
	movd	%r8d, %xmm2
	pshufd	$80, %xmm2, %xmm2               ## xmm2 = xmm2[0,0,1,1]
	paddd	%xmm3, %xmm2
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqa	%xmm2, %xmm3
	pmaxsd	%xmm11, %xmm3
	paddd	%xmm1, %xmm3
	pand	%xmm7, %xmm3
	movdqa	%xmm3, %xmm4
	paddd	%xmm2, %xmm4
	paddd	%xmm0, %xmm3
	movdqa	%xmm4, %xmm5
	pminsd	%xmm9, %xmm5
	psubd	%xmm5, %xmm3
	pand	%xmm7, %xmm3
	psubd	%xmm3, %xmm4
	pmulld	%xmm10, %xmm4
	pmovsxdq	%xmm4, %xmm3
	psllq	$2, %xmm3
	paddq	%xmm12, %xmm3
	movdqa	%xmm3, -96(%rbp,%rbx,8)
	addq	$2, %rbx
	paddd	%xmm6, %xmm0
	paddd	%xmm13, %xmm1
	paddd	%xmm6, %xmm2
	cmpq	%rbx, %rdx
	jne	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpq	%r10, %rdx
	movq	%rax, %r9
	je	LBB0_13
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testl	%edi, %edi
	movl	$0, %ebx
	cmovgl	%edi, %ebx
	addl	%r11d, %ebx
	andl	$-2, %ebx
	leal	(%rsi,%rbx), %eax
	addl	%edi, %ebx
	cmpl	%r12d, %ebx
	movl	%r12d, %ecx
	cmovll	%ebx, %ecx
	subl	%ecx, %eax
	andl	$-2, %eax
	subl	%eax, %ebx
	imull	%r14d, %ebx
	movslq	%ebx, %rax
	leaq	(,%rax,4), %rax
	addq	%r13, %rax
	movq	%rax, -96(%rbp,%rdx,8)
	incq	%rdx
	addl	$2, %edi
	addl	$-2, %r11d
	addl	$2, %esi
	cmpq	%rdx, %r10
	jne	LBB0_12
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r9, -200(%rbp)                 ## 8-byte Spill
	movq	80(%r15), %rax
	movq	-160(%rbp), %rcx                ## 8-byte Reload
	movq	(%rax,%rcx,8), %rdi
	movq	-304(%rbp), %rbx                ## 8-byte Reload
	cmpl	$2, %r10d
	je	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$4, %r10d
	jne	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-288(%rbp), %rbx                ## 8-byte Reload
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_coef_lf@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-208(%rbp), %rcx                ## 8-byte Reload
	movl	(%rax,%rcx,4), %edx
	leaq	-96(%rbp), %rsi
	movl	-152(%rbp), %ecx                ## 4-byte Reload
	callq	*(%rbx)
	movdqa	LCPI0_4(%rip), %xmm13           ## xmm13 = <4294967292,4294967292,u,u>
	movdqa	LCPI0_3(%rip), %xmm6            ## xmm6 = <4,4,u,u>
	movdqa	-320(%rbp), %xmm12              ## 16-byte Reload
	movdqa	LCPI0_2(%rip), %xmm7            ## xmm7 = <4294967294,4294967294,u,u>
	pxor	%xmm11, %xmm11
	movdqa	-336(%rbp), %xmm8               ## 16-byte Reload
	movdqa	-352(%rbp), %xmm10              ## 16-byte Reload
	movdqa	-272(%rbp), %xmm9               ## 16-byte Reload
LBB0_17:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_n_coef_hf@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-208(%rbp), %rcx                ## 8-byte Reload
	movl	(%rax,%rcx,4), %eax
	movq	%rax, -176(%rbp)                ## 8-byte Spill
	testl	%eax, %eax
	jle	LBB0_25
## %bb.18:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	-148(%rbp), %eax                ## 4-byte Reload
                                        ## kill: def $eax killed $eax def $rax
	movq	-176(%rbp), %rbx                ## 8-byte Reload
	subl	%ebx, %eax
	movq	-168(%rbp), %rcx                ## 8-byte Reload
	addl	%ebx, %ecx
	movq	-200(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi def $rsi
	subl	%ebx, %esi
	cmpl	$1, %ebx
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_6 Depth=1
	xorl	%edi, %edi
	movl	%esi, %edx
	movl	%eax, %r15d
	movq	-232(%rbp), %r9                 ## 8-byte Reload
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	%ebx, %edi
	andl	$-2, %edi
	leal	(%rdi,%rdi), %r8d
	leal	(%rsi,%rdi,2), %edx
	leal	(%rax,%rdi,2), %r15d
	movd	%esi, %xmm0
	pshufd	$80, %xmm0, %xmm0               ## xmm0 = xmm0[0,0,1,1]
	movdqa	LCPI0_0(%rip), %xmm3            ## xmm3 = <0,2,u,u>
	paddd	%xmm3, %xmm0
	movd	%ecx, %xmm1
	subl	%r8d, %ecx
	pshufd	$80, %xmm1, %xmm1               ## xmm1 = xmm1[0,0,1,1]
	paddd	LCPI0_1(%rip), %xmm1
	movd	%eax, %xmm2
	pshufd	$80, %xmm2, %xmm2               ## xmm2 = xmm2[0,0,1,1]
	paddd	%xmm3, %xmm2
	xorl	%eax, %eax
	movq	-232(%rbp), %r9                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_21:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqa	%xmm2, %xmm3
	pmaxsd	%xmm11, %xmm3
	paddd	%xmm1, %xmm3
	pand	%xmm7, %xmm3
	movdqa	%xmm3, %xmm4
	paddd	%xmm2, %xmm4
	paddd	%xmm0, %xmm3
	movdqa	%xmm4, %xmm5
	pminsd	%xmm9, %xmm5
	psubd	%xmm5, %xmm3
	pand	%xmm7, %xmm3
	psubd	%xmm3, %xmm4
	movdqa	%xmm4, %xmm3
	pmulld	%xmm10, %xmm3
	pmovsxdq	%xmm3, %xmm3
	psllq	$2, %xmm3
	paddq	%xmm12, %xmm3
	movdqa	%xmm3, -96(%rbp,%rax,8)
	pmulld	%xmm8, %xmm4
	pmovsxdq	%xmm4, %xmm3
	psllq	$2, %xmm3
	movq	%r9, %xmm4
	pshufd	$68, %xmm4, %xmm4               ## xmm4 = xmm4[0,1,0,1]
	paddq	%xmm3, %xmm4
	movdqa	%xmm4, -144(%rbp,%rax,8)
	addq	$2, %rax
	paddd	%xmm6, %xmm0
	paddd	%xmm13, %xmm1
	paddd	%xmm6, %xmm2
	cmpq	%rax, %rdi
	jne	LBB0_21
## %bb.22:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpq	%rbx, %rdi
	je	LBB0_25
LBB0_23:                                ##   in Loop: Header=BB0_6 Depth=1
	leaq	-144(,%rdi,8), %r10
	addq	%rbp, %r10
	leaq	-96(,%rdi,8), %r11
	addq	%rbp, %r11
	movq	-176(%rbp), %rbx                ## 8-byte Reload
	subq	%rdi, %rbx
	xorl	%edi, %edi
	movl	%r15d, %eax
	.p2align	4, 0x90
LBB0_24:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testl	%eax, %eax
	movl	$0, %esi
	cmovgl	%eax, %esi
	addl	%ecx, %esi
	andl	$-2, %esi
	leal	(%rax,%rsi), %r13d
	cmpl	%r12d, %r13d
	cmovgel	%r12d, %r13d
	movl	%r12d, %r8d
	movq	%r15, %r12
	addl	%esi, %r15d
	addl	%edx, %esi
	subl	%r13d, %esi
	movq	-248(%rbp), %r13                ## 8-byte Reload
	andl	$-2, %esi
	subl	%esi, %r15d
	addl	%edi, %r15d
	movl	%r15d, %esi
	imull	%r14d, %esi
	movslq	%esi, %rsi
	leaq	(,%rsi,4), %rsi
	addq	%r13, %rsi
	movq	%rsi, (%r11,%rdi,4)
	imull	-184(%rbp), %r15d               ## 4-byte Folded Reload
	movslq	%r15d, %rsi
	movq	%r12, %r15
	movl	%r8d, %r12d
	leaq	(%r9,%rsi,4), %rsi
	movq	%rsi, (%r10,%rdi,4)
	addl	$2, %eax
	addl	$-2, %ecx
	addl	$2, %edx
	addq	$2, %rdi
	decq	%rbx
	jne	LBB0_24
LBB0_25:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-240(%rbp), %r15                ## 8-byte Reload
	movq	80(%r15), %rax
	movq	-160(%rbp), %rcx                ## 8-byte Reload
	movq	(%rax,%rcx,8), %rsi
	movq	-296(%rbp), %rbx                ## 8-byte Reload
	movq	-176(%rbp), %rax                ## 8-byte Reload
	cmpl	$3, %eax
	movl	-152(%rbp), %r8d                ## 4-byte Reload
	je	LBB0_28
## %bb.26:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$5, %eax
	jne	LBB0_29
## %bb.27:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-280(%rbp), %rbx                ## 8-byte Reload
	jmp	LBB0_28
LBB0_30:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_32
## %bb.31:
	xorl	%eax, %eax
	addq	$312, %rsp                      ## imm = 0x138
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_32:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_n_coef_lf,8,3                  ## @n_coef_lf
	.comm	_coef_lf,8,3                    ## @coef_lf
	.comm	_n_coef_hf,8,3                  ## @n_coef_hf
	.comm	_coef_hf,8,3                    ## @coef_hf
	.no_dead_strip	_deinterlace_slice
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function deinterlace_slice
lCPI0_0:
	.long	0                               ; 0x0
	.long	2                               ; 0x2
lCPI0_1:
	.long	0                               ; 0x0
	.long	4294967294                      ; 0xfffffffe
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_deinterlace_slice:                     ; @deinterlace_slice
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #416
	.cfi_def_cfa_offset 416
	stp	d15, d14, [sp, #256]            ; 16-byte Folded Spill
	stp	d13, d12, [sp, #272]            ; 16-byte Folded Spill
	stp	d11, d10, [sp, #288]            ; 16-byte Folded Spill
	stp	d9, d8, [sp, #304]              ; 16-byte Folded Spill
	stp	x28, x27, [sp, #320]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #336]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #352]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #368]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #384]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #400]            ; 16-byte Folded Spill
	add	x29, sp, #400
	.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
	.cfi_offset b14, -152
	.cfi_offset b15, -160
                                        ; kill: def $w2 killed $w2 def $x2
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-160]
	ldr	x4, [x0]
	ldp	x15, x9, [x1, #16]
	ldr	x10, [x1, #8]
	ldrsw	x8, [x1]
	ldr	x11, [x15, #16]
	lsl	x12, x8, #3
	ldr	x25, [x11, x12]
	ldr	x11, [x10, #16]
	ldr	x26, [x11, x12]
	ldr	x11, [x9, #16]
	ldr	x14, [x11, x12]
	ldrsw	x11, [x4]
	str	x11, [sp, #152]                 ; 8-byte Folded Spill
	lsl	x11, x8, #2
	ldp	x8, x12, [x4, #8]
	ldr	w8, [x8, x11]
	str	w8, [sp, #148]                  ; 4-byte Folded Spill
	ldr	w13, [x12, x11]
	ldp	x12, x8, [x15]
	ldrsw	x28, [x12, x11]
	ldr	x10, [x10]
	ldr	w22, [x10, x11]
	ldr	x9, [x9]
	ldrsw	x11, [x9, x11]
	mul	w9, w13, w2
	sdiv	w12, w9, w3
	add	w9, w13, w9
	sdiv	w24, w9, w3
	ldr	w9, [x4, #24]
	str	w9, [sp, #108]                  ; 4-byte Folded Spill
	ldr	x9, [x4, #32]
	cmp	x9, x8
	cset	w10, eq
	and	w16, w12, #0x1
	eor	w10, w16, w10
	add	w27, w10, w12
	cmp	w27, w24
	str	x4, [sp, #128]                  ; 8-byte Folded Spill
	b.ge	LBB0_4
; %bb.1:
	str	w16, [sp, #48]                  ; 4-byte Folded Spill
	str	w12, [sp, #72]                  ; 4-byte Folded Spill
	stp	x15, x11, [sp, #80]             ; 16-byte Folded Spill
	str	w13, [sp, #112]                 ; 4-byte Folded Spill
	str	x2, [sp, #136]                  ; 8-byte Folded Spill
	mul	w8, w27, w11
	str	x14, [sp, #96]                  ; 8-byte Folded Spill
	add	x21, x14, w8, sxtw #2
	mul	w8, w27, w28
	add	x23, x25, w8, sxtw #2
	lsl	x20, x28, #3
	lsl	x19, x11, #3
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x23
	ldr	w2, [sp, #148]                  ; 4-byte Folded Reload
	bl	_memcpy
	add	w27, w27, #2
	add	x23, x23, x20
	add	x21, x21, x19
	cmp	w27, w24
	b.lt	LBB0_2
; %bb.3:
	ldp	x4, x2, [sp, #128]              ; 16-byte Folded Reload
	ldr	x9, [x4, #32]
	ldp	x8, x11, [sp, #80]              ; 16-byte Folded Reload
	ldr	x8, [x8, #8]
	ldr	w13, [sp, #112]                 ; 4-byte Folded Reload
	ldr	x14, [sp, #96]                  ; 8-byte Folded Reload
	ldr	w12, [sp, #72]                  ; 4-byte Folded Reload
	ldr	w16, [sp, #48]                  ; 4-byte Folded Reload
LBB0_4:
	cmp	x9, x8
	cset	w8, ne
	eor	w8, w16, w8
	add	w23, w8, w12
	cmp	w23, w24
	b.ge	LBB0_32
; %bb.5:
	mul	w8, w23, w11
	add	x21, x14, w8, sxtw #2
	sxtw	x8, w2
	str	x8, [sp, #136]                  ; 8-byte Folded Spill
	add	x9, x4, #64
	add	x10, x4, #72
	add	x8, x4, #48
	stp	x8, x9, [sp, #16]               ; 16-byte Folded Spill
	add	x8, x4, #56
	stp	x8, x10, [sp, #80]              ; 16-byte Folded Spill
	lsl	x8, x11, #1
	str	x8, [sp, #72]                   ; 8-byte Folded Spill
	add	w20, w23, #1
	neg	w27, w23
	sub	w19, w13, #1
	dup.2s	v8, w19
	dup.2s	v9, w28
	dup.2s	v10, w22
	add	x8, sp, #200
	add	x8, x8, #32
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
Lloh3:
	adrp	x8, lCPI0_0@PAGE
Lloh4:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp, #40]                   ; 8-byte Folded Spill
Lloh5:
	adrp	x8, lCPI0_1@PAGE
Lloh6:
	ldr	d0, [x8, lCPI0_1@PAGEOFF]
	str	d0, [sp, #32]                   ; 8-byte Folded Spill
	movi.2s	v13, #4
	movi.2d	v23, #0000000000000000
	mvni.2s	v14, #3
	movi.2s	v15, #8
	mvni.2s	v24, #7
	movi.2s	v11, #12
	dup.2d	v25, x25
	mvni.2s	v26, #11
	movi.2s	v12, #16
	mvni.2s	v27, #15
	dup.2d	v0, x26
	str	q0, [sp, #48]                   ; 16-byte Folded Spill
	str	w24, [sp, #96]                  ; 4-byte Folded Spill
	str	q25, [sp, #112]                 ; 16-byte Folded Spill
	b	LBB0_9
LBB0_6:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	x10, [sp, #16]                  ; 8-byte Folded Reload
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	x9, [x10]
Lloh7:
	adrp	x10, _coef_hf@GOTPAGE
Lloh8:
	ldr	x10, [x10, _coef_hf@GOTPAGEOFF]
Lloh9:
	ldr	x10, [x10]
	ldr	x11, [sp, #152]                 ; 8-byte Folded Reload
	ldr	w3, [x10, x11, lsl #2]
	add	x1, sp, #200
	add	x2, sp, #160
	mov	x0, x8
	ldr	w24, [sp, #148]                 ; 4-byte Folded Reload
	mov	x4, x24
	blr	x9
	ldp	x4, x9, [sp, #128]              ; 16-byte Folded Reload
	ldr	x8, [x4, #80]
	ldr	x8, [x8, x9, lsl #3]
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	x9, [x4, #40]
	mov	x0, x21
	mov	x1, x8
	mov	x2, x24
	ldr	w3, [sp, #108]                  ; 4-byte Folded Reload
	blr	x9
	ldr	x4, [sp, #128]                  ; 8-byte Folded Reload
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	add	x21, x21, x8, lsl #2
	add	w20, w20, #2
	sub	w27, w27, #2
	ldr	w8, [sp, #96]                   ; 4-byte Folded Reload
	cmp	w23, w8
	movi.2d	v23, #0000000000000000
	mvni.2s	v24, #7
	ldr	q25, [sp, #112]                 ; 16-byte Folded Reload
	mvni.2s	v26, #11
	mvni.2s	v27, #15
	b.ge	LBB0_32
LBB0_9:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
                                        ;     Child Loop BB0_16 Depth 2
                                        ;     Child Loop BB0_25 Depth 2
                                        ;     Child Loop BB0_28 Depth 2
	add	w23, w23, #2
Lloh10:
	adrp	x8, _n_coef_lf@GOTPAGE
Lloh11:
	ldr	x8, [x8, _n_coef_lf@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	ldr	x9, [sp, #152]                  ; 8-byte Folded Reload
	ldr	w8, [x8, x9, lsl #2]
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	sub	w13, w20, w8
	add	w14, w8, w27
	sub	w15, w23, w8
	cmp	w8, #8
	b.hs	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x12, #0
	mov	x9, x15
	mov	x10, x14
	mov	x11, x13
	b	LBB0_15
LBB0_12:                                ;   in Loop: Header=BB0_9 Depth=1
	and	x12, x8, #0xfffffff8
	lsl	w11, w12, #1
	add	w9, w15, w11
	sub	w10, w14, w11
	add	w11, w13, w11
	dup.2s	v0, w15
	ldp	d2, d3, [sp, #32]               ; 16-byte Folded Reload
	add.2s	v0, v0, v3
	dup.2s	v1, w14
	add.2s	v1, v1, v2
	dup.2s	v2, w13
	add.2s	v2, v2, v3
	mov	x13, x12
	ldr	x14, [sp, #8]                   ; 8-byte Folded Reload
LBB0_13:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add.2s	v3, v2, v13
	smax.2s	v4, v3, v23
	add.2s	v4, v1, v4
	add.2s	v4, v4, v14
	bic.2s	v4, #1
	add.2s	v5, v0, v4
	add.2s	v6, v2, v15
	smax.2s	v7, v6, v23
	add.2s	v7, v1, v7
	add.2s	v7, v7, v24
	bic.2s	v7, #1
	add.2s	v16, v0, v7
	add.2s	v17, v2, v11
	smax.2s	v18, v17, v23
	add.2s	v18, v1, v18
	add.2s	v18, v18, v26
	bic.2s	v18, #1
	add.2s	v19, v0, v18
	smax.2s	v20, v2, v23
	add.2s	v20, v20, v1
	bic.2s	v20, #1
	add.2s	v21, v20, v2
	add.2s	v3, v4, v3
	add.2s	v4, v7, v6
	add.2s	v6, v18, v17
	add.2s	v7, v20, v0
	smin.2s	v17, v21, v8
	smin.2s	v18, v3, v8
	smin.2s	v20, v4, v8
	smin.2s	v22, v6, v8
	sub.2s	v7, v7, v17
	sub.2s	v5, v5, v18
	add.2s	v5, v5, v13
	sub.2s	v16, v16, v20
	add.2s	v16, v16, v15
	sub.2s	v17, v19, v22
	add.2s	v17, v17, v11
	bic.2s	v7, #1
	bic.2s	v5, #1
	bic.2s	v16, #1
	bic.2s	v17, #1
	sub.2s	v7, v21, v7
	sub.2s	v3, v3, v5
	sub.2s	v4, v4, v16
	sub.2s	v5, v6, v17
	mul.2s	v6, v7, v9
	mul.2s	v3, v3, v9
	mul.2s	v4, v4, v9
	mul.2s	v5, v5, v9
	sshll.2d	v6, v6, #2
	add.2d	v6, v25, v6
	sshll.2d	v3, v3, #2
	add.2d	v3, v25, v3
	sshll.2d	v4, v4, #2
	add.2d	v4, v25, v4
	sshll.2d	v5, v5, #2
	add.2d	v5, v25, v5
	stp	q6, q3, [x14, #-32]
	stp	q4, q5, [x14], #64
	add.2s	v0, v0, v12
	add.2s	v1, v1, v27
	add.2s	v2, v2, v12
	subs	x13, x13, #8
	b.ne	LBB0_13
; %bb.14:                               ;   in Loop: Header=BB0_9 Depth=1
	cmp	x12, x8
	b.eq	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_9 Depth=1
	add	x13, sp, #200
	add	x13, x13, x12, lsl #3
	sub	x12, x8, x12
LBB0_16:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w11, #0
	csel	w14, w11, wzr, gt
	add	w14, w14, w10
	and	w14, w14, #0xfffffffe
	add	w15, w11, w14
	cmp	w15, w19
	csel	w16, w15, w19, lt
	add	w14, w9, w14
	sub	w14, w14, w16
	and	w14, w14, #0xfffffffe
	sub	w14, w15, w14
	mul	w14, w14, w28
	add	x14, x25, w14, sxtw #2
	str	x14, [x13], #8
	add	w11, w11, #2
	sub	w10, w10, #2
	add	w9, w9, #2
	subs	x12, x12, #1
	b.ne	LBB0_16
LBB0_17:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x9, [x4, #80]
	ldr	x10, [sp, #136]                 ; 8-byte Folded Reload
	ldr	x0, [x9, x10, lsl #3]
	ldr	x9, [sp, #88]                   ; 8-byte Folded Reload
	cmp	w8, #2
	b.eq	LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_9 Depth=1
	cmp	w8, #4
	b.ne	LBB0_21
; %bb.19:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
LBB0_20:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x9]
Lloh13:
	adrp	x9, _coef_lf@GOTPAGE
Lloh14:
	ldr	x9, [x9, _coef_lf@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	ldr	x10, [sp, #152]                 ; 8-byte Folded Reload
	ldr	w2, [x9, x10, lsl #2]
	add	x1, sp, #200
	ldr	w3, [sp, #148]                  ; 4-byte Folded Reload
	blr	x8
	ldr	q25, [sp, #112]                 ; 16-byte Folded Reload
	movi.2d	v23, #0000000000000000
	ldr	x4, [sp, #128]                  ; 8-byte Folded Reload
LBB0_21:                                ;   in Loop: Header=BB0_9 Depth=1
Lloh16:
	adrp	x8, _n_coef_hf@GOTPAGE
Lloh17:
	ldr	x8, [x8, _n_coef_hf@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	ldr	x9, [sp, #152]                  ; 8-byte Folded Reload
	ldr	w9, [x8, x9, lsl #2]
	cmp	w9, #1
	ldr	q6, [sp, #48]                   ; 16-byte Folded Reload
	b.lt	LBB0_29
; %bb.22:                               ;   in Loop: Header=BB0_9 Depth=1
	sub	w13, w20, w9
	add	w14, w9, w27
	sub	w15, w23, w9
	cmp	w9, #1
	b.ne	LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x12, #0
	mov	x8, x15
	mov	x10, x14
	mov	x11, x13
	b	LBB0_27
LBB0_24:                                ;   in Loop: Header=BB0_9 Depth=1
	and	x12, x9, #0xfffffffe
	lsl	w11, w12, #1
	add	w8, w15, w11
	sub	w10, w14, w11
	add	w11, w13, w11
	dup.2s	v0, w15
	ldp	d2, d3, [sp, #32]               ; 16-byte Folded Reload
	add.2s	v0, v0, v3
	dup.2s	v1, w14
	add.2s	v1, v1, v2
	dup.2s	v2, w13
	add.2s	v2, v2, v3
	add	x13, sp, #200
	add	x14, sp, #160
	mov	x15, x12
LBB0_25:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	smax.2s	v3, v2, v23
	add.2s	v3, v3, v1
	bic.2s	v3, #1
	add.2s	v4, v3, v2
	add.2s	v3, v3, v0
	smin.2s	v5, v4, v8
	sub.2s	v3, v3, v5
	bic.2s	v3, #1
	sub.2s	v3, v4, v3
	mul.2s	v4, v3, v9
	sshll.2d	v4, v4, #2
	add.2d	v4, v25, v4
	str	q4, [x13], #16
	mul.2s	v3, v3, v10
	sshll.2d	v3, v3, #2
	add.2d	v3, v6, v3
	str	q3, [x14], #16
	add.2s	v0, v0, v13
	add.2s	v1, v1, v14
	add.2s	v2, v2, v13
	subs	x15, x15, #2
	b.ne	LBB0_25
; %bb.26:                               ;   in Loop: Header=BB0_9 Depth=1
	cmp	x12, x9
	b.eq	LBB0_29
LBB0_27:                                ;   in Loop: Header=BB0_9 Depth=1
	lsl	x14, x12, #3
	add	x13, sp, #160
	add	x13, x13, x14
	add	x15, sp, #200
	add	x14, x15, x14
	sub	x12, x9, x12
LBB0_28:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w11, #0
	csel	w15, w11, wzr, gt
	add	w15, w15, w10
	and	w15, w15, #0xfffffffe
	add	w16, w11, w15
	cmp	w16, w19
	csel	w17, w16, w19, lt
	add	w15, w8, w15
	sub	w15, w15, w17
	and	w15, w15, #0xfffffffe
	sub	w15, w16, w15
	mul	w16, w15, w28
	add	x16, x25, w16, sxtw #2
	str	x16, [x14], #8
	mul	w15, w15, w22
	add	x15, x26, w15, sxtw #2
	str	x15, [x13], #8
	add	w11, w11, #2
	sub	w10, w10, #2
	add	w8, w8, #2
	subs	x12, x12, #1
	b.ne	LBB0_28
LBB0_29:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x4, #80]
	ldr	x10, [sp, #136]                 ; 8-byte Folded Reload
	ldr	x8, [x8, x10, lsl #3]
	ldr	x10, [sp, #80]                  ; 8-byte Folded Reload
	cmp	w9, #3
	b.eq	LBB0_7
; %bb.30:                               ;   in Loop: Header=BB0_9 Depth=1
	cmp	w9, #5
	b.eq	LBB0_6
; %bb.31:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w24, [sp, #148]                 ; 4-byte Folded Reload
	b	LBB0_8
LBB0_32:
	ldur	x8, [x29, #-160]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_34
; %bb.33:
	mov	w0, #0
	ldp	x29, x30, [sp, #400]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #384]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #368]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #352]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #336]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #320]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #304]              ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #288]            ; 16-byte Folded Reload
	ldp	d13, d12, [sp, #272]            ; 16-byte Folded Reload
	ldp	d15, d14, [sp, #256]            ; 16-byte Folded Reload
	add	sp, sp, #416
	ret
LBB0_34:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpAdrp	Lloh3, Lloh5
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_n_coef_lf,8,3                  ; @n_coef_lf
	.comm	_coef_lf,8,3                    ; @coef_lf
	.comm	_n_coef_hf,8,3                  ; @n_coef_hf
	.comm	_coef_hf,8,3                    ; @coef_hf
	.no_dead_strip	_deinterlace_slice
.subsections_via_symbols
