	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function filter_slice
_filter_slice:                          ## @filter_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	$248, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r8d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	4(%rsi), %r13d
	movl	%r13d, %eax
	imull	%edx, %eax
	cltd
	idivl	%ecx
	movl	%eax, %r14d
	incl	%r8d
	imull	%r13d, %r8d
	movl	%r8d, %eax
	cltd
	idivl	%ecx
	cmpl	%eax, %r14d
	jge	LBB0_36
## %bb.1:
	movl	%eax, %r12d
	movl	(%rsi), %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	8(%rsi), %xmm1                  ## xmm1 = mem[0],zero
	movsd	20(%rsi), %xmm0                 ## xmm0 = mem[0],zero
	movaps	%xmm0, -224(%rbp)               ## 16-byte Spill
	movq	28(%rsi), %xmm2                 ## xmm2 = mem[0],zero
	movd	%r14d, %xmm0
	pshufd	$80, %xmm0, %xmm0               ## xmm0 = xmm0[0,0,1,1]
	movdqa	%xmm2, -288(%rbp)               ## 16-byte Spill
	pshufd	$225, %xmm2, %xmm2              ## xmm2 = xmm2[1,0,2,3]
	movdqa	%xmm2, -272(%rbp)               ## 16-byte Spill
	pmulld	%xmm2, %xmm0
	movq	36(%rsi), %xmm2                 ## xmm2 = mem[0],zero
	paddd	%xmm0, %xmm2
	movdqa	%xmm2, -192(%rbp)               ## 16-byte Spill
	movslq	16(%rsi), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %r15
	movq	48(%rsi), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	56(%rsi), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	pcmpeqd	%xmm0, %xmm0
	paddd	%xmm1, %xmm0
	movd	%xmm0, %eax
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	movdqa	%xmm0, -208(%rbp)               ## 16-byte Spill
	pextrd	$1, %xmm0, %eax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	movd	%xmm1, -76(%rbp)                ## 4-byte Folded Spill
	movdqa	%xmm1, -256(%rbp)               ## 16-byte Spill
	pextrd	$1, %xmm1, -72(%rbp)            ## 4-byte Folded Spill
	movq	%r15, -168(%rbp)                ## 8-byte Spill
	movl	%r13d, -108(%rbp)               ## 4-byte Spill
	movl	%r12d, -144(%rbp)               ## 4-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_20 Depth 2
	movq	_FIXP@GOTPCREL(%rip), %rax
	movd	(%rax), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	movdqa	%xmm0, -128(%rbp)               ## 16-byte Spill
	movq	24(%r15), %rdi
	callq	_fabs
	movq	_FLT_EPSILON@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-76(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, -68(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	-72(%rbp), %r13d                ## 4-byte Folded Reload
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movq	(%rcx), %rax
	movq	8(%rcx), %rcx
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movslq	(%rax,%rbx,4), %rax
	movslq	%r14d, %rdi
	imulq	%rax, %rdi
	shlq	$2, %rdi
	addq	(%rcx,%rbx,8), %rdi
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rax
	movq	8(%rcx), %rcx
	movl	(%rax,%rbx,4), %edx
	movl	%edx, %eax
	imull	%r14d, %eax
	movslq	%eax, %rsi
	shlq	$2, %rsi
	addq	(%rcx,%rbx,8), %rsi
	movq	(%r15), %rax
	movl	(%rax,%rbx,4), %r8d
	xorl	%ecx, %ecx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%r15), %rdi
	movq	_M_PI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movslq	%ecx, %rax
	subq	%rax, %rdi
	callq	_fabs
	movq	_FLT_EPSILON@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-72(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, -68(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	-76(%rbp), %r13d                ## 4-byte Folded Reload
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movq	(%rcx), %rax
	movq	8(%rcx), %rcx
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movslq	(%rax,%rbx,4), %rax
	movslq	%r14d, %rdi
	imulq	%rax, %rdi
	shlq	$2, %rdi
	addq	(%rcx,%rbx,8), %rdi
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rax
	movq	8(%rcx), %rcx
	movq	(%r15), %rdx
	movl	(%rdx,%rbx,4), %r8d
	movl	%r8d, %edx
	imull	%r14d, %edx
	movslq	%edx, %rsi
	shlq	$2, %rsi
	addq	(%rcx,%rbx,8), %rsi
	movl	(%rax,%rbx,4), %edx
	movl	$1, %ecx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%r15), %rdi
	movq	_M_PI@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	subq	%rax, %rdi
	callq	_fabs
	movslq	%r14d, %rcx
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	movq	_FLT_EPSILON@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	-76(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, -68(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	-72(%rbp), %r13d                ## 4-byte Folded Reload
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movq	(%rcx), %rax
	movq	8(%rcx), %rcx
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movslq	(%rax,%rbx,4), %rdi
	movq	-136(%rbp), %rsi                ## 8-byte Reload
	imulq	%rsi, %rdi
	shlq	$2, %rdi
	addq	(%rcx,%rbx,8), %rdi
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rax
	movq	8(%rcx), %rcx
	notl	%esi
	addl	%r13d, %esi
	movl	(%rax,%rbx,4), %edx
	imull	%edx, %esi
	movslq	%esi, %rsi
	shlq	$2, %rsi
	addq	(%rcx,%rbx,8), %rsi
	movq	(%r15), %rax
	movl	(%rax,%rbx,4), %r8d
	movl	$2, %ecx
	jmp	LBB0_6
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%r15), %rdi
	movq	_M_PI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rax,%rax,2), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movslq	%ecx, %rax
	subq	%rax, %rdi
	callq	_fabs
	movq	_FLT_EPSILON@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	-72(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, -68(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	-76(%rbp), %r13d                ## 4-byte Folded Reload
	jne	LBB0_18
## %bb.38:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movq	(%rcx), %rax
	movq	8(%rcx), %rcx
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movslq	(%rax,%rbx,4), %rdi
	movq	-136(%rbp), %rsi                ## 8-byte Reload
	imulq	%rsi, %rdi
	shlq	$2, %rdi
	addq	(%rcx,%rbx,8), %rdi
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rax
	movq	8(%rcx), %rcx
	notl	%esi
	addl	%r13d, %esi
	movq	(%r15), %rdx
	movl	(%rdx,%rbx,4), %r8d
	imull	%r8d, %esi
	movslq	%esi, %rsi
	shlq	$2, %rsi
	addq	(%rcx,%rbx,8), %rsi
	movl	(%rax,%rbx,4), %edx
	movl	$3, %ecx
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-68(%rbp), %r9d                 ## 4-byte Reload
	callq	_simple_rotate
LBB0_35:                                ##   in Loop: Header=BB0_2 Depth=1
	movdqa	-192(%rbp), %xmm0               ## 16-byte Reload
	paddd	-272(%rbp), %xmm0               ## 16-byte Folded Reload
	movdqa	%xmm0, -192(%rbp)               ## 16-byte Spill
	incl	%r14d
	cmpl	%r12d, %r14d
	movq	-168(%rbp), %r15                ## 8-byte Reload
	jne	LBB0_2
	jmp	LBB0_36
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, -68(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_35
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=1
	movdqa	-192(%rbp), %xmm0               ## 16-byte Reload
	paddd	-224(%rbp), %xmm0               ## 16-byte Folded Reload
	pshufd	$80, -128(%rbp), %xmm1          ## 16-byte Folded Reload
                                        ## xmm1 = mem[0,0,1,1]
	pmulld	-208(%rbp), %xmm1               ## 16-byte Folded Reload
	movdqa	%xmm1, %xmm2
	psrld	$31, %xmm2
	paddd	%xmm1, %xmm2
	psrad	$1, %xmm2
	paddd	%xmm0, %xmm2
	xorl	%r15d, %r15d
	jmp	LBB0_20
LBB0_30:                                ##   in Loop: Header=BB0_20 Depth=2
	movq	%rax, %rdi
	callq	_AV_RB24
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_AV_WB24
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_20 Depth=2
	movdqa	-128(%rbp), %xmm2               ## 16-byte Reload
	movl	-144(%rbp), %r12d               ## 4-byte Reload
LBB0_34:                                ##   in Loop: Header=BB0_20 Depth=2
	movdqa	%xmm2, %xmm0
	movdqa	-288(%rbp), %xmm1               ## 16-byte Reload
	psubd	%xmm1, %xmm0
	paddd	%xmm1, %xmm2
	pblendw	$12, %xmm0, %xmm2               ## xmm2 = xmm2[0,1],xmm0[2,3],xmm2[4,5,6,7]
	incl	%r15d
	cmpl	%r15d, -68(%rbp)                ## 4-byte Folded Reload
	je	LBB0_35
LBB0_20:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movd	%xmm2, %r8d
	cmpl	$-65536, %r8d                   ## imm = 0xFFFF0000
	jl	LBB0_34
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=2
	movdqa	%xmm2, %xmm1
	psrad	$16, %xmm1
	movdqa	%xmm1, %xmm0
	pcmpgtd	-256(%rbp), %xmm0               ## 16-byte Folded Reload
	pmovsxdq	%xmm0, %xmm0
	movmskpd	%xmm0, %eax
	testb	$1, %al
	jne	LBB0_34
## %bb.22:                              ##   in Loop: Header=BB0_20 Depth=2
	pextrd	$1, %xmm2, %r9d
	cmpl	$-65536, %r9d                   ## imm = 0xFFFF0000
	jl	LBB0_34
## %bb.23:                              ##   in Loop: Header=BB0_20 Depth=2
	shrb	%al
	jne	LBB0_34
## %bb.24:                              ##   in Loop: Header=BB0_20 Depth=2
	movdqa	%xmm2, -128(%rbp)               ## 16-byte Spill
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movq	(%rcx), %rax
	movq	8(%rcx), %rdx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movslq	(%rax,%rdi,4), %r13
	imulq	-136(%rbp), %r13                ## 8-byte Folded Reload
	shlq	$2, %r13
	movq	-168(%rbp), %rbx                ## 8-byte Reload
	movq	(%rbx), %rax
	movl	(%rax,%rdi,4), %ecx
	movl	%ecx, %r12d
	imull	%r15d, %r12d
	addq	(%rdx,%rdi,8), %r13
	cmpq	$0, 16(%rbx)
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_20 Depth=2
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx), %rax
	movq	8(%rdx), %rdx
	movq	(%rdx,%rdi,8), %rsi
	movl	(%rax,%rdi,4), %edx
	leaq	-64(%rbp), %rdi
	pushq	-152(%rbp)                      ## 8-byte Folded Reload
	pushq	-160(%rbp)                      ## 8-byte Folded Reload
	callq	*8(%rbx)
	addq	$16, %rsp
	movq	(%rbx), %rcx
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movl	(%rcx,%rdx,4), %edx
	jmp	LBB0_27
LBB0_26:                                ##   in Loop: Header=BB0_20 Depth=2
	movd	%xmm1, %edi
	xorl	%esi, %esi
	movq	-160(%rbp), %rdx                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movdqa	%xmm1, -240(%rbp)               ## 16-byte Spill
	callq	_av_clip
	movl	%eax, -140(%rbp)                ## 4-byte Spill
	movapd	-240(%rbp), %xmm0               ## 16-byte Reload
	extractps	$1, %xmm0, %edi
	xorl	%esi, %esi
	movq	-152(%rbp), %rdx                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_av_clip
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx), %rcx
	movq	8(%rdx), %rdx
	movslq	(%rcx,%rsi,4), %rcx
	cltq
	imulq	%rcx, %rax
	shlq	$2, %rax
	addq	(%rdx,%rsi,8), %rax
	movq	(%rbx), %rcx
	movl	(%rcx,%rsi,4), %edx
	movl	-140(%rbp), %ecx                ## 4-byte Reload
	imull	%edx, %ecx
	movslq	%ecx, %rcx
	leaq	(%rax,%rcx,4), %rax
LBB0_27:                                ##   in Loop: Header=BB0_20 Depth=2
	movslq	%r12d, %rcx
	leaq	(,%rcx,4), %r12
	addq	%r13, %r12
	leal	-1(%rdx), %ecx
	cmpl	$3, %ecx
	ja	LBB0_32
## %bb.28:                              ##   in Loop: Header=BB0_20 Depth=2
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	movl	-108(%rbp), %r13d               ## 4-byte Reload
	jmpq	*%rcx
LBB0_31:                                ##   in Loop: Header=BB0_20 Depth=2
	movl	(%rax), %eax
	movl	%eax, (%r12)
	jmp	LBB0_33
LBB0_29:                                ##   in Loop: Header=BB0_20 Depth=2
	movq	%rax, %rdi
	callq	_AV_RL16
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_AV_WL16
	jmp	LBB0_33
LBB0_32:                                ##   in Loop: Header=BB0_20 Depth=2
	movq	%r12, %rdi
	movq	%rax, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
	movl	-108(%rbp), %r13d               ## 4-byte Reload
	jmp	LBB0_33
LBB0_36:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_39
## %bb.37:
	xorl	%eax, %eax
	addq	$248, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_39:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_31, LBB0_31-LJTI0_0
.set L0_0_set_29, LBB0_29-LJTI0_0
.set L0_0_set_30, LBB0_30-LJTI0_0
LJTI0_0:
	.long	L0_0_set_31
	.long	L0_0_set_29
	.long	L0_0_set_30
	.long	L0_0_set_31
	.end_data_region
                                        ## -- End function
	.comm	_FIXP,4,2                       ## @FIXP
	.comm	_FLT_EPSILON,8,3                ## @FLT_EPSILON
	.comm	_M_PI,4,2                       ## @M_PI
	.no_dead_strip	_filter_slice
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filter_slice
_filter_slice:                          ; @filter_slice
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	w9, [x1, #4]
	mul	w8, w9, w2
	sdiv	w28, w8, w3
	add	w8, w9, w8
	sdiv	w8, w8, w3
	stp	w8, w9, [sp, #32]               ; 8-byte Folded Spill
	cmp	w28, w8
	b.ge	LBB0_28
; %bb.1:
	ldr	w19, [x1]
	ldp	w25, w26, [x1, #8]
	ldp	w10, w9, [x1, #24]
	ldr	w8, [x1, #40]
	str	w9, [sp, #84]                   ; 4-byte Folded Spill
	madd	w27, w28, w9, w8
	ldp	w9, w8, [x1, #32]
	stp	w25, w9, [sp, #76]              ; 8-byte Folded Spill
	madd	w21, w28, w9, w8
	ldr	w8, [x1, #20]
	stp	w8, w10, [sp, #4]               ; 8-byte Folded Spill
	ldrsw	x8, [x1, #16]
	str	x8, [sp, #64]                   ; 8-byte Folded Spill
	ldr	x20, [x0]
	ldr	x9, [x1, #48]
	ldr	x8, [x1, #56]
	stp	x8, x9, [sp, #40]               ; 16-byte Folded Spill
	sub	w9, w25, #1
	sub	w8, w26, #1
	stp	w8, w9, [sp, #56]               ; 8-byte Folded Spill
	str	w26, [sp, #72]                  ; 4-byte Folded Spill
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x13, [sp, #64]                  ; 8-byte Folded Reload
	lsl	x8, x13, #3
	ldp	x12, x10, [sp, #40]             ; 16-byte Folded Reload
	ldp	x10, x9, [x10]
	ldr	x9, [x9, x8]
	ldp	x12, x11, [x12]
	ldr	x8, [x11, x8]
	lsl	x11, x13, #2
	ldr	w10, [x10, x11]
	mul	w10, w10, w28
	ldr	w2, [x12, x11]
	add	x0, x9, w10, sxtw #2
	mul	w9, w2, w28
	add	x1, x8, w9, sxtw #2
	ldr	x8, [x20]
	ldr	w4, [x8, x11]
	mov	w3, #0
	mov	x5, x19
	bl	_simple_rotate
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldp	w25, w8, [sp, #76]              ; 8-byte Folded Reload
	add	w21, w21, w8
	ldr	w8, [sp, #84]                   ; 4-byte Folded Reload
	add	w27, w27, w8
	add	w28, w28, #1
	ldr	w8, [sp, #32]                   ; 4-byte Folded Reload
	cmp	w28, w8
	ldr	w26, [sp, #72]                  ; 4-byte Folded Reload
	b.eq	LBB0_28
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
Lloh3:
	adrp	x8, _FIXP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FIXP@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [sp, #60]                   ; 4-byte Folded Reload
	mul	w9, w8, w9
	cmp	w9, #0
	cinc	w22, w9, lt
	ldr	w9, [sp, #56]                   ; 4-byte Folded Reload
	mul	w8, w8, w9
	cmp	w8, #0
	cinc	w8, w8, lt
	str	w8, [sp, #24]                   ; 4-byte Folded Spill
	ldr	x0, [x20, #24]
	bl	_fabs
Lloh6:
	adrp	x24, _FLT_EPSILON@GOTPAGE
Lloh7:
	ldr	x24, [x24, _FLT_EPSILON@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x0, x8
	ccmp	w19, w25, #0, lt
	ldr	w23, [sp, #36]                  ; 4-byte Folded Reload
	ccmp	w23, w26, #0, eq
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	str	w22, [sp, #20]                  ; 4-byte Folded Spill
	ldr	x8, [x20, #24]
	mov	x22, x20
Lloh8:
	adrp	x20, _M_PI@GOTPAGE
Lloh9:
	ldr	x20, [x20, _M_PI@GOTPAGEOFF]
	ldr	w9, [x20]
	cmp	w9, #0
	cinc	w9, w9, lt
	asr	w9, w9, #1
	sub	x0, x8, w9, sxtw
	bl	_fabs
	ldr	x8, [x24]
	cmp	x0, x8
	ccmp	w19, w26, #0, lt
	ccmp	w23, w25, #0, eq
	b.eq	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x22, #24]
	ldrsw	x9, [x20]
	sub	x0, x8, x9
	bl	_fabs
	ldr	x8, [x24]
	cmp	x0, x8
	ccmp	w19, w25, #0, lt
	ccmp	w23, w26, #0, eq
	b.eq	LBB0_25
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x22, #24]
	ldr	w9, [x20]
	add	w9, w9, w9, lsl #1
	cmp	w9, #0
	cinc	w9, w9, lt
	asr	w9, w9, #1
	sub	x0, x8, w9, sxtw
	bl	_fabs
	ldr	w12, [sp, #36]                  ; 4-byte Folded Reload
	ldr	x8, [x24]
	cmp	x0, x8
	ccmp	w19, w26, #0, lt
	ccmp	w12, w25, #0, eq
	b.eq	LBB0_26
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w19, #1
	mov	x20, x22
	b.lt	LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w26, #0
	ldr	w8, [sp, #4]                    ; 4-byte Folded Reload
	add	w8, w21, w8
	ldr	w9, [sp, #20]                   ; 4-byte Folded Reload
	add	w22, w8, w9, asr #1
	ldr	w8, [sp, #8]                    ; 4-byte Folded Reload
	add	w8, w27, w8
	ldr	w9, [sp, #24]                   ; 4-byte Folded Reload
	add	w23, w8, w9, asr #1
	b	LBB0_13
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x11, [sp, #64]                  ; 8-byte Folded Reload
	lsl	x8, x11, #3
	ldr	x10, [sp, #48]                  ; 8-byte Folded Reload
	ldp	x10, x9, [x10]
	ldr	x9, [x9, x8]
	lsl	x11, x11, #2
	ldr	w10, [x10, x11]
	mul	w10, w10, w28
	add	x0, x9, w10, sxtw #2
	ldr	x10, [sp, #40]                  ; 8-byte Folded Reload
	ldp	x10, x9, [x10]
	ldr	x8, [x9, x8]
	ldr	x9, [x22]
	ldr	w4, [x9, x11]
	mul	w9, w4, w28
	add	x1, x8, w9, sxtw #2
	ldr	w2, [x10, x11]
	mov	w3, #1
	b	LBB0_27
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=2
	ldr	w8, [x1]
	str	w8, [x24]
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=2
	ldr	w8, [sp, #84]                   ; 4-byte Folded Reload
	add	w22, w22, w8
	ldr	w8, [sp, #80]                   ; 4-byte Folded Reload
	sub	w23, w23, w8
	add	w26, w26, #1
	cmp	w19, w26
	b.eq	LBB0_3
LBB0_13:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmn	w22, #16, lsl #12               ; =65536
	b.lt	LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	asr	w0, w22, #16
	ldr	w8, [sp, #76]                   ; 4-byte Folded Reload
	cmp	w0, w8
	b.gt	LBB0_12
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=2
	cmn	w23, #16, lsl #12               ; =65536
	b.lt	LBB0_12
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=2
	asr	w25, w23, #16
	ldr	w8, [sp, #72]                   ; 4-byte Folded Reload
	cmp	w25, w8
	b.gt	LBB0_12
; %bb.17:                               ;   in Loop: Header=BB0_13 Depth=2
	ldr	x9, [sp, #48]                   ; 8-byte Folded Reload
	ldp	x9, x8, [x9]
	ldr	x11, [sp, #64]                  ; 8-byte Folded Reload
	ldr	x8, [x8, x11, lsl #3]
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	lsl	x24, x11, #2
	ldr	w8, [x9, x24]
	str	w8, [sp, #20]                   ; 4-byte Folded Spill
	ldr	x8, [x20]
	ldr	w12, [x8, x24]
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_13 Depth=2
	ldr	x8, [x20, #8]
	ldr	x10, [sp, #40]                  ; 8-byte Folded Reload
	ldp	x10, x9, [x10]
	ldr	x1, [x9, x11, lsl #3]
	ldr	w2, [x10, x24]
	add	x0, sp, #88
	mov	x25, x12
	mov	x3, x12
	mov	x4, x22
	mov	x5, x23
	ldp	w7, w6, [sp, #56]               ; 8-byte Folded Reload
	blr	x8
	mov	x1, x0
	ldr	x8, [x20]
	ldr	w2, [x8, x24]
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_13 Depth=2
	mov	w1, #0
	ldr	w2, [sp, #60]                   ; 4-byte Folded Reload
	str	w12, [sp, #12]                  ; 4-byte Folded Spill
	bl	_av_clip
	str	w0, [sp, #16]                   ; 4-byte Folded Spill
	mov	x0, x25
	ldr	w25, [sp, #12]                  ; 4-byte Folded Reload
	mov	w1, #0
	ldr	w2, [sp, #56]                   ; 4-byte Folded Reload
	bl	_av_clip
	ldr	x9, [sp, #40]                   ; 8-byte Folded Reload
	ldp	x9, x8, [x9]
	ldr	x10, [sp, #64]                  ; 8-byte Folded Reload
	ldr	x8, [x8, x10, lsl #3]
	ldr	w9, [x9, x24]
	mul	w9, w9, w0
	add	x8, x8, w9, sxtw #2
	ldr	x9, [x20]
	ldr	w2, [x9, x24]
	ldr	w9, [sp, #16]                   ; 4-byte Folded Reload
	mul	w9, w2, w9
	add	x1, x8, w9, sxtw #2
LBB0_20:                                ;   in Loop: Header=BB0_13 Depth=2
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	mul	w8, w8, w28
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	add	x8, x9, w8, sxtw #2
	mul	w9, w25, w26
	add	x24, x8, w9, sxtw #2
	sub	w8, w2, #1
	cmp	w8, #3
	b.hi	LBB0_24
; %bb.21:                               ;   in Loop: Header=BB0_13 Depth=2
Lloh10:
	adrp	x11, lJTI0_0@PAGE
Lloh11:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x9, LBB0_11
	ldrb	w10, [x11, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_22:                                ;   in Loop: Header=BB0_13 Depth=2
	mov	x0, x1
	bl	_AV_RL16
	mov	x1, x0
	mov	x0, x24
	bl	_AV_WL16
	b	LBB0_12
LBB0_23:                                ;   in Loop: Header=BB0_13 Depth=2
	mov	x0, x1
	bl	_AV_RB24
	mov	x1, x0
	mov	x0, x24
	bl	_AV_WB24
	b	LBB0_12
LBB0_24:                                ;   in Loop: Header=BB0_13 Depth=2
	mov	x0, x24
	bl	_memcpy
	b	LBB0_12
LBB0_25:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x11, [sp, #64]                  ; 8-byte Folded Reload
	lsl	x8, x11, #3
	ldr	x10, [sp, #48]                  ; 8-byte Folded Reload
	ldp	x10, x9, [x10]
	ldr	x9, [x9, x8]
	lsl	x11, x11, #2
	ldr	w10, [x10, x11]
	mul	w10, w10, w28
	add	x0, x9, w10, sxtw #2
	ldr	x10, [sp, #40]                  ; 8-byte Folded Reload
	ldp	x10, x9, [x10]
	ldr	x8, [x9, x8]
	mvn	w9, w28
	ldr	w2, [x10, x11]
	add	w9, w23, w9
	mul	w9, w2, w9
	add	x1, x8, w9, sxtw #2
	ldr	x8, [x22]
	ldr	w4, [x8, x11]
	mov	w3, #2
	b	LBB0_27
LBB0_26:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x11, [sp, #64]                  ; 8-byte Folded Reload
	lsl	x8, x11, #3
	ldr	x10, [sp, #48]                  ; 8-byte Folded Reload
	ldp	x10, x9, [x10]
	ldr	x9, [x9, x8]
	lsl	x11, x11, #2
	ldr	w10, [x10, x11]
	mul	w10, w10, w28
	add	x0, x9, w10, sxtw #2
	ldr	x10, [sp, #40]                  ; 8-byte Folded Reload
	ldp	x10, x9, [x10]
	ldr	x8, [x9, x8]
	mvn	w9, w28
	add	w9, w12, w9
	ldr	x12, [x22]
	ldr	w4, [x12, x11]
	mul	w9, w4, w9
	add	x1, x8, w9, sxtw #2
	ldr	w2, [x10, x11]
	mov	w3, #3
LBB0_27:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x5, x19
	bl	_simple_rotate
	mov	x20, x22
	b	LBB0_3
LBB0_28:
	ldur	x8, [x29, #-88]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_30
; %bb.29:
	mov	w0, #0
	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
LBB0_30:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_11-LBB0_11)>>2
	.byte	(LBB0_22-LBB0_11)>>2
	.byte	(LBB0_23-LBB0_11)>>2
	.byte	(LBB0_11-LBB0_11)>>2
                                        ; -- End function
	.comm	_FIXP,4,2                       ; @FIXP
	.comm	_FLT_EPSILON,8,3                ; @FLT_EPSILON
	.comm	_M_PI,4,2                       ; @M_PI
	.no_dead_strip	_filter_slice
.subsections_via_symbols
