	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function filter
LCPI0_0:
	.long	0x3f000000                      ## float 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_filter:                                ## @filter
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$0, (%rdi)
	jle	LBB0_78
## %bb.1:
	movq	%rdx, %r13
	movq	%rsi, %rcx
	movq	%rdi, %r12
	xorl	%ebx, %ebx
	movq	%rdx, -128(%rbp)                ## 8-byte Spill
	movq	%rsi, -144(%rbp)                ## 8-byte Spill
	movq	%rdi, -152(%rbp)                ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r13), %rax
	movl	(%rax,%rbx,4), %esi
	movq	8(%rcx), %rax
	movl	(%rax,%rbx,4), %ecx
	imull	40(%r12), %r8d
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_av_image_copy_plane
LBB0_77:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	movq	-144(%rbp), %rcx                ## 8-byte Reload
	jge	LBB0_78
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
                                        ##       Child Loop BB0_34 Depth 3
                                        ##       Child Loop BB0_37 Depth 3
                                        ##       Child Loop BB0_41 Depth 3
                                        ##       Child Loop BB0_43 Depth 3
                                        ##     Child Loop BB0_12 Depth 2
                                        ##       Child Loop BB0_19 Depth 3
                                        ##       Child Loop BB0_22 Depth 3
                                        ##       Child Loop BB0_26 Depth 3
                                        ##       Child Loop BB0_28 Depth 3
                                        ##     Child Loop BB0_48 Depth 2
                                        ##       Child Loop BB0_50 Depth 3
                                        ##       Child Loop BB0_54 Depth 3
                                        ##     Child Loop BB0_57 Depth 2
                                        ##       Child Loop BB0_59 Depth 3
                                        ##       Child Loop BB0_62 Depth 3
                                        ##     Child Loop BB0_67 Depth 2
                                        ##       Child Loop BB0_69 Depth 3
                                        ##     Child Loop BB0_73 Depth 2
                                        ##       Child Loop BB0_75 Depth 3
	movq	8(%r12), %rax
	movq	16(%r12), %rdx
	movl	(%rax,%rbx,4), %r9d
	movl	(%rdx,%rbx,4), %r8d
	movq	(%rcx), %rax
	movq	(%rax,%rbx,8), %rdx
	movq	(%r13), %rax
	movq	(%rax,%rbx,8), %rdi
	movl	36(%r12), %eax
	btl	%ebx, %eax
	jae	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r8d, %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	24(%r12), %rax
	movl	32(%r12), %ecx
	cmpl	$9, 44(%r12)
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	movq	%rdi, -136(%rbp)                ## 8-byte Spill
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	movq	%rdx, -120(%rbp)                ## 8-byte Spill
	jge	LBB0_5
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	testl	%r9d, %r9d
	jle	LBB0_45
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-144(%rbp), %rax                ## 8-byte Reload
	movq	8(%rax), %rax
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movslq	(%rax,%rcx,4), %r13
	movq	-104(%rbp), %rax                ## 8-byte Reload
	leaq	(,%rax,4), %r15
	shlq	$2, %r13
	movl	%r8d, %r11d
	andl	$-8, %r11d
	leaq	-8(%r11), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%rax, %rcx
	shrq	$3, %rcx
	incq	%rcx
	movl	%ecx, %r10d
	andl	$3, %r10d
	movabsq	$4611686018427387900, %rax      ## imm = 0x3FFFFFFFFFFFFFFC
	andq	%rax, %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	%r8d, %r14d
	andl	$3, %r14d
	movq	%r10, -88(%rbp)                 ## 8-byte Spill
	shlq	$5, %r10
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	xorl	%edx, %edx
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_12 Depth=2
	incq	%rdx
	addq	%r13, %rbx
	addq	%r15, %rsi
	cmpl	%r9d, %edx
	je	LBB0_45
LBB0_12:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_19 Depth 3
                                        ##       Child Loop BB0_22 Depth 3
                                        ##       Child Loop BB0_26 Depth 3
                                        ##       Child Loop BB0_28 Depth 3
	testl	%r8d, %r8d
	jle	LBB0_29
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=2
	cmpl	$8, %r8d
	jb	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=2
	movq	%r13, %rax
	imulq	%rdx, %rax
	addq	-120(%rbp), %rax                ## 8-byte Folded Reload
	movq	%r15, %rcx
	imulq	%rdx, %rcx
	addq	-80(%rbp), %rcx                 ## 8-byte Folded Reload
	subq	%rax, %rcx
	movl	$0, %eax
	cmpq	$32, %rcx
	jb	LBB0_24
## %bb.16:                              ##   in Loop: Header=BB0_12 Depth=2
	cmpq	$24, -96(%rbp)                  ## 8-byte Folded Reload
	jae	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_12 Depth=2
	xorl	%eax, %eax
	jmp	LBB0_20
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=2
	xorl	%eax, %eax
	jmp	LBB0_24
LBB0_18:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	-72(%rbp), %r9                  ## 8-byte Reload
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_19:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_12 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movups	(%rbx,%rax,4), %xmm0
	movups	16(%rbx,%rax,4), %xmm1
	movups	%xmm0, (%rsi,%rax,4)
	movups	%xmm1, 16(%rsi,%rax,4)
	movups	32(%rbx,%rax,4), %xmm0
	movups	48(%rbx,%rax,4), %xmm1
	movups	%xmm0, 32(%rsi,%rax,4)
	movups	%xmm1, 48(%rsi,%rax,4)
	movups	64(%rbx,%rax,4), %xmm0
	movups	80(%rbx,%rax,4), %xmm1
	movups	%xmm0, 64(%rsi,%rax,4)
	movups	%xmm1, 80(%rsi,%rax,4)
	movups	96(%rbx,%rax,4), %xmm0
	movups	112(%rbx,%rax,4), %xmm1
	movups	%xmm0, 96(%rsi,%rax,4)
	movups	%xmm1, 112(%rsi,%rax,4)
	addq	$32, %rax
	addq	$-4, %r9
	jne	LBB0_19
LBB0_20:                                ##   in Loop: Header=BB0_12 Depth=2
	cmpq	$0, -88(%rbp)                   ## 8-byte Folded Reload
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	je	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_12 Depth=2
	leaq	(%rsi,%rax,4), %rdi
	leaq	(%rbx,%rax,4), %rax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_22:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_12 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movups	(%rax,%rcx), %xmm0
	movups	16(%rax,%rcx), %xmm1
	movups	%xmm0, (%rdi,%rcx)
	movups	%xmm1, 16(%rdi,%rcx)
	addq	$32, %rcx
	cmpq	%rcx, %r10
	jne	LBB0_22
LBB0_23:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	%r11, %rax
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	cmpq	%r8, %r11
	je	LBB0_29
LBB0_24:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	%rax, %rdi
	notq	%rdi
	addq	%r8, %rdi
	testq	%r14, %r14
	je	LBB0_27
## %bb.25:                              ##   in Loop: Header=BB0_12 Depth=2
	movq	%r14, %rcx
	.p2align	4, 0x90
LBB0_26:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_12 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movss	(%rbx,%rax,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%rsi,%rax,4)
	incq	%rax
	decq	%rcx
	jne	LBB0_26
LBB0_27:                                ##   in Loop: Header=BB0_12 Depth=2
	cmpq	$3, %rdi
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	jb	LBB0_29
	.p2align	4, 0x90
LBB0_28:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_12 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movss	(%rbx,%rax,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%rsi,%rax,4)
	movss	4(%rbx,%rax,4), %xmm0           ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, 4(%rsi,%rax,4)
	movss	8(%rbx,%rax,4), %xmm0           ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, 8(%rsi,%rax,4)
	movss	12(%rbx,%rax,4), %xmm0          ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, 12(%rsi,%rax,4)
	addq	$4, %rax
	cmpq	%rax, %r8
	jne	LBB0_28
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	testl	%r9d, %r9d
	jle	LBB0_45
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-144(%rbp), %rax                ## 8-byte Reload
	movq	8(%rax), %rax
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movl	(%rax,%rcx,4), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movslq	%ecx, %r13
	movq	-104(%rbp), %rax                ## 8-byte Reload
	leaq	(,%rax,4), %r15
	shlq	$2, %r13
	movl	%r8d, %edx
	andl	$-8, %edx
	leaq	-8(%rdx), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%rax, %rcx
	shrq	$3, %rcx
	incq	%rcx
	movl	%ecx, %r10d
	andl	$3, %r10d
	movabsq	$4611686018427387900, %rax      ## imm = 0x3FFFFFFFFFFFFFFC
	andq	%rax, %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	%r8d, %r14d
	andl	$3, %r14d
	movq	%r10, -88(%rbp)                 ## 8-byte Spill
	shlq	$5, %r10
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	xorl	%r11d, %r11d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_44:                                ##   in Loop: Header=BB0_7 Depth=2
	incq	%r11
	addq	%r13, %rbx
	addq	%r15, %rsi
	cmpl	%r9d, %r11d
	je	LBB0_45
LBB0_7:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_34 Depth 3
                                        ##       Child Loop BB0_37 Depth 3
                                        ##       Child Loop BB0_41 Depth 3
                                        ##       Child Loop BB0_43 Depth 3
	testl	%r8d, %r8d
	jle	LBB0_44
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	cmpl	$8, %r8d
	jb	LBB0_9
## %bb.30:                              ##   in Loop: Header=BB0_7 Depth=2
	movq	%r13, %rax
	imulq	%r11, %rax
	addq	-120(%rbp), %rax                ## 8-byte Folded Reload
	movq	%r15, %rcx
	imulq	%r11, %rcx
	addq	-80(%rbp), %rcx                 ## 8-byte Folded Reload
	subq	%rax, %rcx
	movl	$0, %eax
	cmpq	$32, %rcx
	jb	LBB0_39
## %bb.31:                              ##   in Loop: Header=BB0_7 Depth=2
	cmpq	$24, -96(%rbp)                  ## 8-byte Folded Reload
	jae	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_7 Depth=2
	xorl	%eax, %eax
	jmp	LBB0_35
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=2
	xorl	%eax, %eax
	jmp	LBB0_39
LBB0_33:                                ##   in Loop: Header=BB0_7 Depth=2
	movq	-72(%rbp), %r9                  ## 8-byte Reload
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_34:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_7 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movups	(%rbx,%rax,4), %xmm0
	movups	16(%rbx,%rax,4), %xmm1
	movups	%xmm0, (%rsi,%rax,4)
	movups	%xmm1, 16(%rsi,%rax,4)
	movups	32(%rbx,%rax,4), %xmm0
	movups	48(%rbx,%rax,4), %xmm1
	movups	%xmm0, 32(%rsi,%rax,4)
	movups	%xmm1, 48(%rsi,%rax,4)
	movups	64(%rbx,%rax,4), %xmm0
	movups	80(%rbx,%rax,4), %xmm1
	movups	%xmm0, 64(%rsi,%rax,4)
	movups	%xmm1, 80(%rsi,%rax,4)
	movups	96(%rbx,%rax,4), %xmm0
	movups	112(%rbx,%rax,4), %xmm1
	movups	%xmm0, 96(%rsi,%rax,4)
	movups	%xmm1, 112(%rsi,%rax,4)
	addq	$32, %rax
	addq	$-4, %r9
	jne	LBB0_34
LBB0_35:                                ##   in Loop: Header=BB0_7 Depth=2
	cmpq	$0, -88(%rbp)                   ## 8-byte Folded Reload
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	je	LBB0_38
## %bb.36:                              ##   in Loop: Header=BB0_7 Depth=2
	leaq	(%rsi,%rax,4), %rdi
	leaq	(%rbx,%rax,4), %rax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_37:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_7 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movups	(%rax,%rcx), %xmm0
	movups	16(%rax,%rcx), %xmm1
	movups	%xmm0, (%rdi,%rcx)
	movups	%xmm1, 16(%rdi,%rcx)
	addq	$32, %rcx
	cmpq	%rcx, %r10
	jne	LBB0_37
LBB0_38:                                ##   in Loop: Header=BB0_7 Depth=2
	movq	%rdx, %rax
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	cmpq	%r8, %rdx
	je	LBB0_44
LBB0_39:                                ##   in Loop: Header=BB0_7 Depth=2
	movq	%rax, %rdi
	notq	%rdi
	addq	%r8, %rdi
	testq	%r14, %r14
	je	LBB0_42
## %bb.40:                              ##   in Loop: Header=BB0_7 Depth=2
	movq	%r14, %rcx
	.p2align	4, 0x90
LBB0_41:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_7 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movss	(%rbx,%rax,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%rsi,%rax,4)
	incq	%rax
	decq	%rcx
	jne	LBB0_41
LBB0_42:                                ##   in Loop: Header=BB0_7 Depth=2
	cmpq	$3, %rdi
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	jb	LBB0_44
	.p2align	4, 0x90
LBB0_43:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_7 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movss	(%rbx,%rax,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%rsi,%rax,4)
	movss	4(%rbx,%rax,4), %xmm0           ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, 4(%rsi,%rax,4)
	movss	8(%rbx,%rax,4), %xmm0           ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, 8(%rsi,%rax,4)
	movss	12(%rbx,%rax,4), %xmm0          ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, 12(%rsi,%rax,4)
	addq	$4, %rax
	cmpq	%rax, %r8
	jne	LBB0_43
	jmp	LBB0_44
	.p2align	4, 0x90
LBB0_45:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, %ecx
	je	LBB0_63
## %bb.46:                              ##   in Loop: Header=BB0_2 Depth=1
	movslq	%ecx, %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	-104(%rbp), %rax                ## 8-byte Reload
	leaq	(,%rax,4), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movl	%r8d, %eax
	jmp	LBB0_48
	.p2align	4, 0x90
LBB0_47:                                ##   in Loop: Header=BB0_48 Depth=2
	movq	24(%r12), %r15
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, %ecx
	movl	-96(%rbp), %eax                 ## 4-byte Reload
	movl	-88(%rbp), %r9d                 ## 4-byte Reload
	je	LBB0_55
LBB0_48:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_50 Depth 3
                                        ##       Child Loop BB0_54 Depth 3
	movl	%eax, %r14d
	movl	%r9d, %edx
	leal	1(%r14), %eax
	sarl	%eax
	testl	%r9d, %r9d
	movl	%eax, -96(%rbp)                 ## 4-byte Spill
	jle	LBB0_52
## %bb.49:                              ##   in Loop: Header=BB0_48 Depth=2
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movl	%edx, %ebx
	.p2align	4, 0x90
LBB0_50:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_48 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	_NPAD@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	addl	48(%r12), %esi
	movq	%r15, %rdi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_copy
	movl	48(%r12), %edi
	movl	92(%r12), %esi
	movl	%r14d, %edx
	movl	-96(%rbp), %ecx                 ## 4-byte Reload
	movq	%r12, %r8
	callq	_transform_step
	movslq	92(%r12), %rax
	movslq	(%r13), %rdi
	addq	%rax, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_copy
	addq	-120(%rbp), %r15                ## 8-byte Folded Reload
	decl	%ebx
	jne	LBB0_50
## %bb.51:                              ##   in Loop: Header=BB0_48 Depth=2
	movq	24(%r12), %r15
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
LBB0_52:                                ##   in Loop: Header=BB0_48 Depth=2
	decl	%ecx
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	leal	1(%rdx), %eax
	sarl	%eax
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	testl	%r14d, %r14d
	movq	_NPAD@GOTPCREL(%rip), %rax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	-152(%rbp), %r12                ## 8-byte Reload
	jle	LBB0_47
## %bb.53:                              ##   in Loop: Header=BB0_48 Depth=2
	movq	%r14, %r13
	movq	%rdx, %r14
	.p2align	4, 0x90
LBB0_54:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_48 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	(%rax), %edx
	addl	48(%r12), %edx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%r14d, %ecx
	callq	_copyv
	movl	48(%r12), %edi
	movl	92(%r12), %esi
	movl	%r14d, %edx
	movl	-88(%rbp), %ecx                 ## 4-byte Reload
	movq	%r12, %r8
	callq	_transform_step
	movq	_NPAD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addl	92(%r12), %edi
	movq	%r15, %rsi
	movl	%ebx, %edx
	movl	%r14d, %ecx
	callq	_copyh
	movq	_NPAD@GOTPCREL(%rip), %rax
	addq	$4, %r15
	decl	%r13d
	jne	LBB0_54
	jmp	LBB0_47
	.p2align	4, 0x90
LBB0_55:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	104(%r12), %r8d
	movl	32(%r12), %eax
	movl	100(%r12), %r9d
	movl	%eax, (%rsp)
	movq	%r15, %rdi
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%ecx, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	*112(%r12)
	movq	_NPAD@GOTPCREL(%rip), %r13
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_57
	.p2align	4, 0x90
LBB0_56:                                ##   in Loop: Header=BB0_57 Depth=2
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	testl	%esi, %esi
	je	LBB0_64
LBB0_57:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_59 Depth 3
                                        ##       Child Loop BB0_62 Depth 3
	movq	24(%r12), %rbx
	movq	56(%r12), %rax
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	movq	(%rax,%rdx,8), %rax
	movq	64(%r12), %rcx
	movq	(%rcx,%rdx,8), %rcx
	movl	-4(%rcx,%rsi,4), %r14d
	addl	-4(%rax,%rsi,4), %r14d
	movq	72(%r12), %rax
	movq	(%rax,%rdx,8), %rax
	movq	80(%r12), %rcx
	movq	(%rcx,%rdx,8), %rcx
	movl	-4(%rcx,%rsi,4), %ecx
	addl	-4(%rax,%rsi,4), %ecx
	testl	%ecx, %ecx
	movl	%ecx, -96(%rbp)                 ## 4-byte Spill
	jle	LBB0_61
## %bb.58:                              ##   in Loop: Header=BB0_57 Depth=2
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movl	%ecx, %r13d
	.p2align	4, 0x90
LBB0_59:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_57 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	_NPAD@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	addl	48(%r12), %edx
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movl	%r14d, %ecx
	callq	_copyv
	movl	48(%r12), %edi
	movl	92(%r12), %esi
	movl	96(%r12), %edx
	movl	%r14d, %ecx
	movq	%r12, %r8
	callq	_invert_step
	movl	(%r15), %edi
	addl	92(%r12), %edi
	movq	%rbx, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movl	%r14d, %ecx
	callq	_copyh
	addq	$4, %rbx
	decl	%r13d
	jne	LBB0_59
## %bb.60:                              ##   in Loop: Header=BB0_57 Depth=2
	movq	24(%r12), %rbx
	movq	_NPAD@GOTPCREL(%rip), %r13
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
LBB0_61:                                ##   in Loop: Header=BB0_57 Depth=2
	decq	%rsi
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	testl	%r14d, %r14d
	movl	-96(%rbp), %r15d                ## 4-byte Reload
	jle	LBB0_56
	.p2align	4, 0x90
LBB0_62:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_57 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	(%r13), %esi
	addl	48(%r12), %esi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_copy
	movl	48(%r12), %edi
	movl	92(%r12), %esi
	movl	96(%r12), %edx
	movl	%r15d, %ecx
	movq	%r12, %r8
	callq	_invert_step
	movslq	92(%r12), %rax
	movslq	(%r13), %rdi
	addq	%rax, %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_copy
	movq	-120(%rbp), %rax                ## 8-byte Reload
	addq	%rax, %rbx
	decl	%r14d
	jne	LBB0_62
	jmp	LBB0_56
	.p2align	4, 0x90
LBB0_63:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r9d, %edx
	movl	100(%r12), %r9d
	movl	104(%r12), %eax
	movl	$0, (%rsp)
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	%r8d, %esi
	movl	%r8d, %ecx
	movl	%eax, %r8d
	callq	*112(%r12)
LBB0_64:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$9, 44(%r12)
	jge	LBB0_65
## %bb.71:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	movq	-128(%rbp), %r13                ## 8-byte Reload
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	jle	LBB0_77
## %bb.72:                              ##   in Loop: Header=BB0_2 Depth=1
	shlq	$2, -104(%rbp)                  ## 8-byte Folded Spill
	xorl	%r14d, %r14d
	jmp	LBB0_73
	.p2align	4, 0x90
LBB0_76:                                ##   in Loop: Header=BB0_73 Depth=2
	movq	-128(%rbp), %r13                ## 8-byte Reload
	movq	8(%r13), %rax
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movslq	(%rax,%rbx,4), %rax
	leaq	(%r15,%rax,4), %r15
	movq	%r15, -136(%rbp)                ## 8-byte Spill
	incl	%r14d
	addq	-104(%rbp), %rdx                ## 8-byte Folded Reload
	cmpl	-44(%rbp), %r14d                ## 4-byte Folded Reload
	je	LBB0_77
LBB0_73:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_75 Depth 3
	testl	%ecx, %ecx
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	movq	-136(%rbp), %r15                ## 8-byte Reload
	jle	LBB0_76
## %bb.74:                              ##   in Loop: Header=BB0_73 Depth=2
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_75:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_73 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movss	(%rdx,%rbx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	addss	%xmm1, %xmm0
	movq	%rdx, %r13
	callq	_av_clip_uint8
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	movq	%r13, %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movss	%xmm0, (%r15,%rbx,4)
	incq	%rbx
	cmpq	%rbx, %rcx
	jne	LBB0_75
	jmp	LBB0_76
	.p2align	4, 0x90
LBB0_65:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	movq	-128(%rbp), %r13                ## 8-byte Reload
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	jle	LBB0_77
## %bb.66:                              ##   in Loop: Header=BB0_2 Depth=1
	shlq	$2, -104(%rbp)                  ## 8-byte Folded Spill
	xorl	%r14d, %r14d
	jmp	LBB0_67
	.p2align	4, 0x90
LBB0_70:                                ##   in Loop: Header=BB0_67 Depth=2
	movq	-128(%rbp), %r13                ## 8-byte Reload
	movq	8(%r13), %rax
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movl	(%rax,%rbx,4), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movslq	%ecx, %rax
	leaq	(%r15,%rax,4), %r15
	movq	%r15, -136(%rbp)                ## 8-byte Spill
	incl	%r14d
	addq	-104(%rbp), %rsi                ## 8-byte Folded Reload
	cmpl	-44(%rbp), %r14d                ## 4-byte Folded Reload
	je	LBB0_77
LBB0_67:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_69 Depth 3
	testl	%edx, %edx
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	movq	-136(%rbp), %r15                ## 8-byte Reload
	jle	LBB0_70
## %bb.68:                              ##   in Loop: Header=BB0_67 Depth=2
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_69:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_67 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movss	(%rsi,%rbx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	addss	%xmm1, %xmm0
	movq	%rsi, %r13
	movl	88(%r12), %esi
	xorl	%edi, %edi
	callq	_av_clip
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	movq	%r13, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movss	%xmm0, (%r15,%rbx,4)
	incq	%rbx
	cmpq	%rbx, %rdx
	jne	LBB0_69
	jmp	LBB0_70
LBB0_78:
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NPAD,4,2                       ## @NPAD
	.no_dead_strip	_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filter
_filter:                                ; @filter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	d9, d8, [sp, #96]               ; 16-byte Folded Spill
	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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_57
; %bb.1:
	mov	x28, x2
	mov	x11, x1
	mov	x21, x0
	mov	x26, #0
	fmov	s8, #0.50000000
Lloh0:
	adrp	x19, _NPAD@GOTPAGE
Lloh1:
	ldr	x19, [x19, _NPAD@GOTPAGEOFF]
	str	x1, [sp, #40]                   ; 8-byte Folded Spill
	str	x2, [sp, #56]                   ; 8-byte Folded Spill
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x28, #8]
	ldr	w1, [x9, x8]
	ldr	x9, [x11, #8]
	ldr	w3, [x9, x8]
	ldr	w8, [x21, #40]
	mul	w4, w8, w23
	mov	x5, x22
	bl	_av_image_copy_plane
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x26, x26, #1
	ldrsw	x8, [x21]
	cmp	x26, x8
	ldr	x11, [sp, #40]                  ; 8-byte Folded Reload
	b.ge	LBB0_57
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_19 Depth 2
                                        ;       Child Loop BB0_23 Depth 3
                                        ;       Child Loop BB0_25 Depth 3
                                        ;     Child Loop BB0_9 Depth 2
                                        ;       Child Loop BB0_13 Depth 3
                                        ;       Child Loop BB0_15 Depth 3
                                        ;     Child Loop BB0_29 Depth 2
                                        ;       Child Loop BB0_31 Depth 3
                                        ;       Child Loop BB0_34 Depth 3
                                        ;     Child Loop BB0_37 Depth 2
                                        ;       Child Loop BB0_39 Depth 3
                                        ;       Child Loop BB0_42 Depth 3
                                        ;     Child Loop BB0_54 Depth 2
                                        ;       Child Loop BB0_56 Depth 3
                                        ;     Child Loop BB0_48 Depth 2
                                        ;       Child Loop BB0_50 Depth 3
	lsl	x8, x26, #2
	ldp	x9, x10, [x21, #8]
	ldr	w22, [x9, x8]
	ldr	w23, [x10, x8]
	ldr	x9, [x11]
	lsl	x10, x26, #3
	ldr	x2, [x9, x10]
	ldr	x9, [x28]
	str	x10, [sp, #64]                  ; 8-byte Folded Spill
	ldr	x0, [x9, x10]
	ldr	w9, [x21, #36]
	lsr	w9, w9, w26
	tbz	w9, #0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, x23
	sxtw	x1, w8
	ldr	x25, [x21, #24]
	ldr	w3, [x21, #32]
	ldr	w8, [x21, #44]
	cmp	w8, #9
	str	x0, [sp, #48]                   ; 8-byte Folded Spill
	b.ge	LBB0_16
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w22, #1
	b.lt	LBB0_26
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, #0
	ldr	x9, [x11, #8]
	ldrsw	x10, [x9, x26, lsl #2]
	lsl	x9, x1, #2
	lsl	x10, x10, #2
	and	x11, x23, #0xfffffff0
	lsl	x12, x23, #2
	and	x12, x12, #0x3ffffffc0
	mov	x13, x2
	mov	x14, x25
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	add	x8, x8, #1
	add	x14, x14, x9
	add	x13, x13, x10
	cmp	w8, w22
	b.eq	LBB0_26
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_13 Depth 3
                                        ;       Child Loop BB0_15 Depth 3
	cmp	w23, #1
	b.lt	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x15, #0
	cmp	w23, #16
	b.lo	LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=2
	madd	x16, x10, x8, x2
	madd	x17, x9, x8, x25
	sub	x16, x17, x16
	cmp	x16, #64
	b.lo	LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x15, #0
LBB0_13:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_9 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	add	x16, x13, x15
	ldp	q0, q1, [x16]
	ldp	q2, q3, [x16, #32]
	add	x16, x14, x15
	stp	q0, q1, [x16]
	stp	q2, q3, [x16, #32]
	add	x15, x15, #64
	cmp	x12, x15
	b.ne	LBB0_13
; %bb.14:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x15, x11
	cmp	x11, x23
	b.eq	LBB0_8
LBB0_15:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_9 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	lsl	x16, x15, #2
	ldr	s0, [x13, x16]
	str	s0, [x14, x16]
	add	x15, x15, #1
	cmp	x23, x15
	b.ne	LBB0_15
	b	LBB0_8
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w22, #1
	b.lt	LBB0_26
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, #0
	ldr	x9, [x11, #8]
	ldr	w9, [x9, x26, lsl #2]
	cmp	w9, #0
	cinc	w9, w9, lt
	asr	w10, w9, #1
	lsl	x9, x1, #2
	sbfiz	x10, x10, #2, #32
	and	x11, x23, #0xfffffff0
	lsl	x12, x23, #2
	and	x12, x12, #0x3ffffffc0
	mov	x13, x2
	mov	x14, x25
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=2
	add	x8, x8, #1
	add	x14, x14, x9
	add	x13, x13, x10
	cmp	w8, w22
	b.eq	LBB0_26
LBB0_19:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_23 Depth 3
                                        ;       Child Loop BB0_25 Depth 3
	cmp	w23, #1
	b.lt	LBB0_18
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=2
	mov	x15, #0
	cmp	w23, #16
	b.lo	LBB0_25
; %bb.21:                               ;   in Loop: Header=BB0_19 Depth=2
	madd	x16, x10, x8, x2
	madd	x17, x9, x8, x25
	sub	x16, x17, x16
	cmp	x16, #64
	b.lo	LBB0_25
; %bb.22:                               ;   in Loop: Header=BB0_19 Depth=2
	mov	x15, #0
LBB0_23:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_19 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	add	x16, x13, x15
	ldp	q0, q1, [x16]
	ldp	q2, q3, [x16, #32]
	add	x16, x14, x15
	stp	q0, q1, [x16]
	stp	q2, q3, [x16, #32]
	add	x15, x15, #64
	cmp	x12, x15
	b.ne	LBB0_23
; %bb.24:                               ;   in Loop: Header=BB0_19 Depth=2
	mov	x15, x11
	cmp	x11, x23
	b.eq	LBB0_18
LBB0_25:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_19 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	lsl	x16, x15, #2
	ldr	s0, [x13, x16]
	str	s0, [x14, x16]
	add	x15, x15, #1
	cmp	x23, x15
	b.ne	LBB0_25
	b	LBB0_18
LBB0_26:                                ;   in Loop: Header=BB0_4 Depth=1
	str	x26, [sp, #72]                  ; 8-byte Folded Spill
	str	w22, [sp, #84]                  ; 4-byte Folded Spill
	str	x1, [sp, #32]                   ; 8-byte Folded Spill
	cbz	w3, LBB0_43
; %bb.27:                               ;   in Loop: Header=BB0_4 Depth=1
	sxtw	x8, w3
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	lsl	x24, x1, #2
	mov	x26, x25
	mov	x27, x23
	b	LBB0_29
LBB0_28:                                ;   in Loop: Header=BB0_29 Depth=2
	ldr	x26, [x21, #24]
	ldr	x3, [sp, #88]                   ; 8-byte Folded Reload
	cbz	w3, LBB0_35
LBB0_29:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_31 Depth 3
                                        ;       Child Loop BB0_34 Depth 3
	mov	x28, x27
	mov	x20, x22
	add	w8, w27, #1
	asr	w27, w8, #1
	cmp	w22, #1
	b.lt	LBB0_33
; %bb.30:                               ;   in Loop: Header=BB0_29 Depth=2
	str	x3, [sp, #88]                   ; 8-byte Folded Spill
	mov	x22, x20
LBB0_31:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_29 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w8, [x21, #48]
	ldr	w9, [x19]
	add	w8, w9, w8
	stp	x8, x28, [sp]
	mov	x0, x26
	bl	_copy
	ldr	w0, [x21, #48]
	ldr	w1, [x21, #92]
	mov	x2, x28
	mov	x3, x27
	mov	x4, x21
	bl	_transform_step
	ldrsw	x8, [x21, #92]
	ldrsw	x9, [x19]
	add	x0, x9, x8
	stp	x26, x28, [sp]
	bl	_copy
	add	x26, x26, x24
	subs	w22, w22, #1
	b.ne	LBB0_31
; %bb.32:                               ;   in Loop: Header=BB0_29 Depth=2
	ldr	x26, [x21, #24]
	ldr	x3, [sp, #88]                   ; 8-byte Folded Reload
LBB0_33:                                ;   in Loop: Header=BB0_29 Depth=2
	sub	w3, w3, #1
	str	x3, [sp, #88]                   ; 8-byte Folded Spill
	add	w8, w20, #1
	asr	w22, w8, #1
	cmp	w28, #1
	b.lt	LBB0_28
LBB0_34:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_29 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w8, [x21, #48]
	ldr	w9, [x19]
	add	w2, w9, w8
	mov	x0, x26
	mov	x1, x23
	mov	x3, x20
	bl	_copyv
	ldr	w0, [x21, #48]
	ldr	w1, [x21, #92]
	mov	x2, x20
	mov	x3, x22
	mov	x4, x21
	bl	_transform_step
	ldr	w8, [x21, #92]
	ldr	w9, [x19]
	add	w0, w9, w8
	mov	x1, x26
	mov	x2, x23
	mov	x3, x20
	bl	_copyh
	add	x26, x26, #4
	subs	w28, w28, #1
	b.ne	LBB0_34
	b	LBB0_28
LBB0_35:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w6, [x21, #32]
	ldr	x8, [x21, #112]
	ldp	w5, w4, [x21, #100]
	mov	x0, x26
	mov	x1, x23
	ldr	w2, [sp, #84]                   ; 4-byte Folded Reload
	mov	x3, x23
	blr	x8
	ldr	x28, [sp, #56]                  ; 8-byte Folded Reload
	ldr	x22, [sp, #24]                  ; 8-byte Folded Reload
	b	LBB0_37
LBB0_36:                                ;   in Loop: Header=BB0_37 Depth=2
	cbz	w22, LBB0_44
LBB0_37:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_39 Depth 3
                                        ;       Child Loop BB0_42 Depth 3
	sub	x22, x22, #1
	ldp	x8, x9, [x21, #56]
	ldr	x13, [sp, #64]                  ; 8-byte Folded Reload
	ldr	x8, [x8, x13]
	lsl	x10, x22, #2
	ldr	w8, [x8, x10]
	ldr	x9, [x9, x13]
	ldr	w9, [x9, x10]
	ldp	x11, x12, [x21, #72]
	ldr	x11, [x11, x13]
	ldr	w11, [x11, x10]
	ldr	x12, [x12, x13]
	add	w20, w9, w8
	ldr	w8, [x12, x10]
	add	w26, w8, w11
	ldr	x27, [x21, #24]
	cmp	w26, #1
	b.lt	LBB0_41
; %bb.38:                               ;   in Loop: Header=BB0_37 Depth=2
	mov	x28, x22
	mov	x22, x26
LBB0_39:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_37 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w8, [x21, #48]
	ldr	w9, [x19]
	add	w2, w9, w8
	mov	x0, x27
	mov	x1, x23
	mov	x3, x20
	bl	_copyv
	ldr	w0, [x21, #48]
	ldp	w1, w2, [x21, #92]
	mov	x3, x20
	mov	x4, x21
	bl	_invert_step
	ldr	w8, [x21, #92]
	ldr	w9, [x19]
	add	w0, w9, w8
	mov	x1, x27
	mov	x2, x23
	mov	x3, x20
	bl	_copyh
	add	x27, x27, #4
	subs	w22, w22, #1
	b.ne	LBB0_39
; %bb.40:                               ;   in Loop: Header=BB0_37 Depth=2
	ldr	x27, [x21, #24]
	mov	x22, x28
	ldr	x28, [sp, #56]                  ; 8-byte Folded Reload
LBB0_41:                                ;   in Loop: Header=BB0_37 Depth=2
	cmp	w20, #1
	b.lt	LBB0_36
LBB0_42:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_37 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w8, [x21, #48]
	ldr	w9, [x19]
	add	w8, w9, w8
	stp	x8, x26, [sp]
	mov	x0, x27
	bl	_copy
	ldr	w0, [x21, #48]
	ldp	w1, w2, [x21, #92]
	mov	x3, x26
	mov	x4, x21
	bl	_invert_step
	ldrsw	x8, [x21, #92]
	ldrsw	x9, [x19]
	add	x0, x9, x8
	stp	x27, x26, [sp]
	bl	_copy
	add	x27, x27, x24
	subs	w20, w20, #1
	b.ne	LBB0_42
	b	LBB0_36
LBB0_43:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21, #112]
	ldp	w5, w4, [x21, #100]
	mov	x0, x25
	mov	x1, x23
	mov	x2, x22
	mov	x3, x23
	mov	w6, #0
	blr	x8
LBB0_44:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x21, #44]
	cmp	w8, #9
	b.ge	LBB0_51
; %bb.45:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [sp, #84]                   ; 4-byte Folded Reload
	cmp	w8, #1
	ldr	x26, [sp, #72]                  ; 8-byte Folded Reload
	ldr	x27, [sp, #48]                  ; 8-byte Folded Reload
	b.lt	LBB0_3
; %bb.46:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w20, #0
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	lsl	x22, x8, #2
	lsl	x24, x23, #2
	b	LBB0_48
LBB0_47:                                ;   in Loop: Header=BB0_48 Depth=2
	ldr	x8, [x28, #8]
	ldr	x26, [sp, #72]                  ; 8-byte Folded Reload
	ldrsw	x8, [x8, x26, lsl #2]
	add	x27, x27, x8, lsl #2
	add	w20, w20, #1
	add	x25, x25, x22
	ldr	w8, [sp, #84]                   ; 4-byte Folded Reload
	cmp	w20, w8
	b.eq	LBB0_3
LBB0_48:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_50 Depth 3
	cmp	w23, #1
	b.lt	LBB0_47
; %bb.49:                               ;   in Loop: Header=BB0_48 Depth=2
	mov	x26, #0
LBB0_50:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_48 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	s0, [x25, x26]
	fadd	s0, s0, s8
	bl	_av_clip_uint8
	str	s0, [x27, x26]
	add	x26, x26, #4
	cmp	x24, x26
	b.ne	LBB0_50
	b	LBB0_47
LBB0_51:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [sp, #84]                   ; 4-byte Folded Reload
	cmp	w8, #1
	ldr	x26, [sp, #72]                  ; 8-byte Folded Reload
	ldr	x9, [sp, #48]                   ; 8-byte Folded Reload
	b.lt	LBB0_3
; %bb.52:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w20, #0
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	lsl	x22, x8, #2
	lsl	x24, x23, #2
	b	LBB0_54
LBB0_53:                                ;   in Loop: Header=BB0_54 Depth=2
	ldr	x8, [x28, #8]
	ldr	x26, [sp, #72]                  ; 8-byte Folded Reload
	ldr	w8, [x8, x26, lsl #2]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	add	x9, x9, w8, sxtw #2
	add	w20, w20, #1
	add	x25, x25, x22
	ldr	w8, [sp, #84]                   ; 4-byte Folded Reload
	cmp	w20, w8
	b.eq	LBB0_3
LBB0_54:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_56 Depth 3
	cmp	w23, #1
	b.lt	LBB0_53
; %bb.55:                               ;   in Loop: Header=BB0_54 Depth=2
	mov	x26, #0
LBB0_56:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_54 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	s0, [x25, x26]
	fadd	s0, s0, s8
	ldr	w1, [x21, #88]
	mov	w0, #0
	mov	x27, x9
	bl	_av_clip
	mov	x9, x27
	str	s0, [x27, x26]
	add	x26, x26, #4
	cmp	x24, x26
	b.ne	LBB0_56
	b	LBB0_53
LBB0_57:
	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
	ldp	d9, d8, [sp, #96]               ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_NPAD,4,2                       ; @NPAD
	.no_dead_strip	_filter
.subsections_via_symbols
