	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function final_block_filtering
LCPI0_0:
	.long	0x3f800000                      ## float 1
LCPI0_1:
	.long	0x26901d7d                      ## float 1.0E-15
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_final_block_filtering:                 ## @final_block_filtering
	.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	$344, %rsp                      ## imm = 0x158
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -324(%rbp)                ## 4-byte Spill
	movl	%r8d, -320(%rbp)                ## 4-byte Spill
	movq	%rcx, -312(%rbp)                ## 8-byte Spill
	movl	%edx, -304(%rbp)                ## 4-byte Spill
	movq	%rsi, -352(%rbp)                ## 8-byte Spill
	movslq	24(%rbp), %rax
	movslq	32(%rbp), %rcx
	movq	40(%rdi), %rbx
	movslq	(%rdi), %rdx
	movl	%edx, %esi
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	%edx, %r9d
	imull	%r9d, %r9d
	imulq	$112, %rcx, %rdx
	movq	8(%rdi), %rcx
	movslq	(%rcx,%rax,4), %rax
	movq	%rax, -336(%rbp)                ## 8-byte Spill
	movl	(%rbx,%rdx), %eax
	movss	24(%rdi), %xmm0                 ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -112(%rbp)               ## 4-byte Spill
	movslq	16(%rdi), %rcx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	movq	%rdi, -296(%rbp)                ## 8-byte Spill
	movl	20(%rdi), %ecx
	movl	%ecx, -168(%rbp)                ## 4-byte Spill
	movq	8(%rbx,%rdx), %rcx
	movq	%rcx, -248(%rbp)                ## 8-byte Spill
	movq	16(%rbx,%rdx), %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	24(%rbx,%rdx), %rcx
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	movq	32(%rbx,%rdx), %rcx
	movq	%rcx, -208(%rbp)                ## 8-byte Spill
	movq	40(%rbx,%rdx), %rcx
	movq	%rcx, -192(%rbp)                ## 8-byte Spill
	movq	%rbx, -240(%rbp)                ## 8-byte Spill
	movq	%rdx, -232(%rbp)                ## 8-byte Spill
	movq	64(%rbx,%rdx), %rcx
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	testl	%eax, %eax
	movq	%r9, -144(%rbp)                 ## 8-byte Spill
	jle	LBB0_8
## %bb.1:
	movq	-240(%rbp), %rax                ## 8-byte Reload
	movq	-232(%rbp), %rcx                ## 8-byte Reload
	movq	48(%rax,%rcx), %rbx
	movq	56(%rax,%rcx), %rdi
	addq	%rcx, %rax
	addq	$104, %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leal	(,%rax,4), %r14d
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx def $rcx
	andl	$-2, %ecx
	movq	%rcx, -288(%rbp)                ## 8-byte Spill
	leaq	(,%rax,4), %rsi
	movq	%rbx, -152(%rbp)                ## 8-byte Spill
	leaq	(%rbx,%rax,4), %rcx
	movq	%rcx, -256(%rbp)                ## 8-byte Spill
	leaq	(,%rax,8), %rcx
	movq	%rcx, -280(%rbp)                ## 8-byte Spill
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rax
	movq	%rax, -376(%rbp)                ## 8-byte Spill
	movq	%rdi, -200(%rbp)                ## 8-byte Spill
	leaq	4(%rdi), %rax
	movq	%rax, -368(%rbp)                ## 8-byte Spill
	movq	-136(%rbp), %rax                ## 8-byte Reload
	addq	$4, %rax
	movq	%rax, -360(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -184(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -176(%rbp)                ## 8-byte Spill
	movl	%r14d, -264(%rbp)               ## 4-byte Spill
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-176(%rbp), %rcx                ## 8-byte Reload
	incq	%rcx
	movq	-144(%rbp), %r9                 ## 8-byte Reload
	movq	-184(%rbp), %rax                ## 8-byte Reload
	addl	%r9d, %eax
	movq	%rax, -184(%rbp)                ## 8-byte Spill
	movq	%rcx, %rax
	movq	%rcx, -176(%rbp)                ## 8-byte Spill
	cmpq	-96(%rbp), %rcx                 ## 8-byte Folded Reload
	je	LBB0_8
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
                                        ##     Child Loop BB0_6 Depth 2
                                        ##       Child Loop BB0_15 Depth 3
                                        ##     Child Loop BB0_20 Depth 2
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_21
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-184(%rbp), %eax                ## 4-byte Reload
	movq	-248(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rcx
	movq	%rcx, -224(%rbp)                ## 8-byte Spill
	movq	-192(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rax
	movq	%rax, -272(%rbp)                ## 8-byte Spill
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	-176(%rbp), %rcx                ## 8-byte Reload
	movl	4(%rax,%rcx,8), %edx
	movl	%edx, -160(%rbp)                ## 4-byte Spill
	movl	(%rax,%rcx,8), %eax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	-152(%rbp), %r15                ## 8-byte Reload
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	xorl	%ebx, %ebx
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-120(%rbp), %rax                ## 8-byte Reload
	leal	(%rax,%rbx), %edx
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	movq	-352(%rbp), %rdi                ## 8-byte Reload
	movl	-304(%rbp), %esi                ## 4-byte Reload
	movl	-160(%rbp), %r12d               ## 4-byte Reload
	movl	%r12d, %ecx
                                        ## kill: def $r8d killed $r8d killed $r8
	movq	%r13, %r9
	movq	-296(%rbp), %r14                ## 8-byte Reload
	callq	*32(%r14)
	movq	-312(%rbp), %rdi                ## 8-byte Reload
	movl	-320(%rbp), %esi                ## 4-byte Reload
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	movl	%r12d, %ecx
	movq	-80(%rbp), %r8                  ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	movq	%r15, %r9
	callq	*32(%r14)
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movl	-4(%r12), %edi
	movq	%r13, %rsi
	callq	_av_dct_calc
	movl	-4(%r12), %edi
	movq	%r15, %rsi
	callq	_av_dct_calc
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	incq	%rbx
	addq	%rsi, %r13
	addq	%rsi, %r15
	cmpq	%rbx, %r8
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-152(%rbp), %rsi                ## 8-byte Reload
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	-360(%rbp), %rbx                ## 8-byte Reload
	movq	-368(%rbp), %r12                ## 8-byte Reload
	movq	-376(%rbp), %r14                ## 8-byte Reload
	movq	-256(%rbp), %r15                ## 8-byte Reload
	xorl	%r10d, %r10d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_6 Depth=2
	movl	-4(%r9), %edi
	movq	-136(%rbp), %rax                ## 8-byte Reload
	movq	%rsi, -120(%rbp)                ## 8-byte Spill
	leaq	(%rax,%rsi,4), %rsi
	movq	%r10, -160(%rbp)                ## 8-byte Spill
	callq	_av_dct_calc
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	-4(%rax), %edi
	movq	-200(%rbp), %rax                ## 8-byte Reload
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rax,%rcx,4), %rsi
	callq	_av_dct_calc
	movq	-160(%rbp), %r10                ## 8-byte Reload
	incq	%r10
	addq	$4, %r15
	addq	$4, %r14
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	addq	%rax, %r12
	addq	%rax, %rbx
	addq	$4, %r13
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	addq	$4, %rsi
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	cmpq	%r8, %r10
	je	LBB0_19
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_15 Depth 3
	cmpl	$1, %r8d
	movq	-288(%rbp), %rdx                ## 8-byte Reload
	movq	-280(%rbp), %rdi                ## 8-byte Reload
	jne	LBB0_14
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	xorl	%eax, %eax
	movq	-48(%rbp), %r9                  ## 8-byte Reload
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=2
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	movq	-48(%rbp), %r9                  ## 8-byte Reload
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_6 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movss	(%r13,%rcx), %xmm0              ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -4(%rbx,%rax,4)
	movss	(%rsi,%rcx), %xmm0              ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -4(%r12,%rax,4)
	movss	(%r14,%rcx), %xmm0              ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%rbx,%rax,4)
	movss	(%r15,%rcx), %xmm0              ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%r12,%rax,4)
	addq	$2, %rax
	addq	%rdi, %rcx
	cmpq	%rax, %rdx
	jne	LBB0_15
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%r10, %rsi
	imulq	-64(%rbp), %rsi                 ## 8-byte Folded Reload
	testb	$1, %r8b
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	%rax, %rcx
	imulq	-64(%rbp), %rcx                 ## 8-byte Folded Reload
	addq	%r10, %rcx
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movss	(%rdx,%rcx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	addq	%rsi, %rax
	movq	-136(%rbp), %rdx                ## 8-byte Reload
	movss	%xmm0, (%rdx,%rax,4)
	movq	-152(%rbp), %rdx                ## 8-byte Reload
	movss	(%rdx,%rcx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movq	-200(%rbp), %rcx                ## 8-byte Reload
	movss	%xmm0, (%rcx,%rax,4)
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r8, %rbx
	movq	-200(%rbp), %r15                ## 8-byte Reload
	movq	-136(%rbp), %r13                ## 8-byte Reload
	movl	-264(%rbp), %r14d               ## 4-byte Reload
	movq	-224(%rbp), %rdi                ## 8-byte Reload
	movq	-272(%rbp), %r12                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_20:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rdi, -224(%rbp)                ## 8-byte Spill
	movq	%r13, %rsi
	movl	%r14d, %edx
	callq	_memcpy
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_memcpy
	movq	-224(%rbp), %rdi                ## 8-byte Reload
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	addq	%rsi, %rdi
	addq	%rsi, %r13
	addq	%rsi, %r12
	addq	%rsi, %r15
	decq	%rbx
	jne	LBB0_20
	jmp	LBB0_21
LBB0_8:
	movq	-240(%rbp), %r14                ## 8-byte Reload
	movq	-232(%rbp), %rbx                ## 8-byte Reload
	leaq	(%r14,%rbx), %rax
	addq	$8, %rax
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	testl	%r8d, %r8d
	jle	LBB0_88
## %bb.9:
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movss	-112(%rbp), %xmm0               ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm0
	movss	%xmm0, -112(%rbp)               ## 4-byte Spill
	leaq	(%r14,%rbx), %rax
	addq	$32, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	leaq	-1(%r15), %rax
	movq	%rax, -224(%rbp)                ## 8-byte Spill
                                        ## kill: def $r15d killed $r15d killed $r15 def $r15
	andl	$-2, %r15d
	movl	%r8d, %r13d
	imull	%r8d, %r13d
	addl	%r13d, %r13d
	shlq	$2, -104(%rbp)                  ## 8-byte Folded Spill
	xorl	%ecx, %ecx
	xorl	%edx, %edx
	movq	-248(%rbp), %r12                ## 8-byte Reload
	movq	-208(%rbp), %rsi                ## 8-byte Reload
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_10 Depth=1
	movl	-160(%rbp), %edx                ## 4-byte Reload
	incl	%edx
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	addl	%r8d, %ecx
	cmpl	%r8d, %edx
	je	LBB0_30
LBB0_10:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
                                        ##       Child Loop BB0_23 Depth 3
	movq	-64(%rbp), %rax                 ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax def $rax
	movl	%edx, -160(%rbp)                ## 4-byte Spill
	imull	%edx, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movl	%ecx, %r10d
	xorl	%r14d, %r14d
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_11 Depth=2
	movq	-104(%rbp), %rax                ## 8-byte Reload
	addq	%rax, %rsi
	addq	%rax, %rbx
	incl	%r14d
	incl	%r10d
	cmpl	-64(%rbp), %r14d                ## 4-byte Folded Reload
	je	LBB0_29
LBB0_11:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_23 Depth 3
	cmpl	$0, -96(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_26
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	cmpq	$0, -224(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_13
## %bb.22:                              ##   in Loop: Header=BB0_11 Depth=2
	movl	%r10d, %ecx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_23:                                ##   Parent Loop BB0_10 Depth=1
                                        ##     Parent Loop BB0_11 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movslq	%ecx, %rcx
	movss	(%r12,%rcx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%rsi,%rax,4)
	movss	(%rdi,%rcx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%rbx,%rax,4)
	leal	(%r9,%rcx), %edx
	movslq	%edx, %rdx
	movss	(%r12,%rdx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, 4(%rsi,%rax,4)
	movss	(%rdi,%rdx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, 4(%rbx,%rax,4)
	addq	$2, %rax
	addl	%r13d, %ecx
	cmpq	%rax, %r15
	jne	LBB0_23
## %bb.24:                              ##   in Loop: Header=BB0_11 Depth=2
	testb	$1, -96(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_26
LBB0_25:                                ##   in Loop: Header=BB0_11 Depth=2
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	addl	%r14d, %ecx
	movl	%r9d, %edx
	imull	%eax, %edx
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movss	(%r12,%rcx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%rsi,%rax,4)
	movss	(%rdi,%rcx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%rbx,%rax,4)
LBB0_26:                                ##   in Loop: Header=BB0_11 Depth=2
	cmpl	$2, -168(%rbp)                  ## 4-byte Folded Reload
	jl	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_11 Depth=2
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	64(%rax), %edi
	movq	%rsi, -208(%rbp)                ## 8-byte Spill
	movq	%rbx, -128(%rbp)                ## 8-byte Spill
	movl	%r10d, %ebx
	callq	_av_dct_calc
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	64(%rax), %edi
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	callq	_av_dct_calc
	movl	%ebx, %r10d
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	movq	-208(%rbp), %rsi                ## 8-byte Reload
	movq	-144(%rbp), %r9                 ## 8-byte Reload
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=2
	xorl	%eax, %eax
	testb	$1, -96(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_25
	jmp	LBB0_26
LBB0_30:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	32(%rax), %r14
	movq	(%rax), %r13
	xorps	%xmm0, %xmm0
	xorl	%r15d, %r15d
	jmp	LBB0_31
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_31 Depth=1
	incl	%r15d
	cmpl	-64(%rbp), %r15d                ## 4-byte Folded Reload
	je	LBB0_39
LBB0_31:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_32 Depth 2
                                        ##       Child Loop BB0_34 Depth 3
	xorl	%r12d, %r12d
	jmp	LBB0_32
	.p2align	4, 0x90
LBB0_37:                                ##   in Loop: Header=BB0_32 Depth=2
	movq	-104(%rbp), %rax                ## 8-byte Reload
	addq	%rax, %r13
	addq	%rax, %r14
	incl	%r12d
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	cmpl	%r8d, %r12d
	movq	-144(%rbp), %rdi                ## 8-byte Reload
	je	LBB0_38
LBB0_32:                                ##   Parent Loop BB0_31 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_34 Depth 3
	cmpl	$0, -96(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_37
## %bb.33:                              ##   in Loop: Header=BB0_32 Depth=2
	xorl	%ebx, %ebx
	jmp	LBB0_34
	.p2align	4, 0x90
LBB0_36:                                ##   in Loop: Header=BB0_34 Depth=3
	movss	(%r13,%rbx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm0
	movss	%xmm0, (%r13,%rbx,4)
	mulss	%xmm1, %xmm1
	movss	-48(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	addss	%xmm1, %xmm0
	incq	%rbx
	cmpq	%rbx, -96(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_37
LBB0_34:                                ##   Parent Loop BB0_31 Depth=1
                                        ##     Parent Loop BB0_32 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movss	%xmm0, -48(%rbp)                ## 4-byte Spill
	movss	(%r14,%rbx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm0
	movss	-112(%rbp), %xmm1               ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	addss	%xmm0, %xmm1
	divss	%xmm1, %xmm0
	movss	%xmm0, -88(%rbp)                ## 4-byte Spill
	callq	_isnan
	movss	-88(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	testq	%rax, %rax
	je	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_34 Depth=3
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	jmp	LBB0_36
LBB0_39:
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rsi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rbx
	movq	-240(%rbp), %rax                ## 8-byte Reload
	movq	-232(%rbp), %rcx                ## 8-byte Reload
	leaq	92(%rax,%rcx), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	-96(%rbp), %r15                 ## 8-byte Reload
                                        ## kill: def $r15d killed $r15d killed $r15 def $r15
	andl	$-2, %r15d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %r13d
	imull	%r8d, %r13d
	addl	%r13d, %r13d
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	movq	%rsi, -120(%rbp)                ## 8-byte Spill
	movss	%xmm0, -48(%rbp)                ## 4-byte Spill
	jmp	LBB0_40
	.p2align	4, 0x90
LBB0_51:                                ##   in Loop: Header=BB0_40 Depth=1
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	incl	%ecx
	movq	-128(%rbp), %rax                ## 8-byte Reload
	addl	%r8d, %eax
	cmpl	-64(%rbp), %ecx                 ## 4-byte Folded Reload
	je	LBB0_52
LBB0_40:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_41 Depth 2
                                        ##       Child Loop BB0_47 Depth 3
	movl	%r8d, %edx
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	imull	%ecx, %edx
	movq	%rdx, -112(%rbp)                ## 8-byte Spill
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movl	%eax, %r14d
	xorl	%r12d, %r12d
	jmp	LBB0_41
	.p2align	4, 0x90
LBB0_50:                                ##   in Loop: Header=BB0_41 Depth=2
	addq	-104(%rbp), %rbx                ## 8-byte Folded Reload
	incl	%r12d
	incl	%r14d
	cmpl	%r8d, %r12d
	je	LBB0_51
LBB0_41:                                ##   Parent Loop BB0_40 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_47 Depth 3
	cmpl	$2, -168(%rbp)                  ## 4-byte Folded Reload
	jl	LBB0_43
## %bb.42:                              ##   in Loop: Header=BB0_41 Depth=2
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_av_dct_calc
	movss	-48(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movq	-120(%rbp), %rsi                ## 8-byte Reload
	movq	-144(%rbp), %rdi                ## 8-byte Reload
	movq	-80(%rbp), %r8                  ## 8-byte Reload
LBB0_43:                                ##   in Loop: Header=BB0_41 Depth=2
	cmpl	$0, -96(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_50
## %bb.44:                              ##   in Loop: Header=BB0_41 Depth=2
	cmpq	$0, -224(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_45
## %bb.46:                              ##   in Loop: Header=BB0_41 Depth=2
	movl	%r14d, %ecx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_47:                                ##   Parent Loop BB0_40 Depth=1
                                        ##     Parent Loop BB0_41 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movss	(%rbx,%rax,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	movslq	%ecx, %rcx
	movss	%xmm1, (%rsi,%rcx,4)
	movss	4(%rbx,%rax,4), %xmm1           ## xmm1 = mem[0],zero,zero,zero
	leal	(%rdi,%rcx), %edx
	movslq	%edx, %rdx
	movss	%xmm1, (%rsi,%rdx,4)
	addq	$2, %rax
	addl	%r13d, %ecx
	cmpq	%rax, %r15
	jne	LBB0_47
## %bb.48:                              ##   in Loop: Header=BB0_41 Depth=2
	testb	$1, -96(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_50
	jmp	LBB0_49
	.p2align	4, 0x90
LBB0_45:                                ##   in Loop: Header=BB0_41 Depth=2
	xorl	%eax, %eax
	testb	$1, -96(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_50
LBB0_49:                                ##   in Loop: Header=BB0_41 Depth=2
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	addl	%r12d, %ecx
	movss	(%rbx,%rax,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	imull	%edi, %eax
	addl	%ecx, %eax
	cltq
	movss	%xmm1, (%rsi,%rax,4)
	jmp	LBB0_50
LBB0_52:
	movq	-240(%rbp), %r14                ## 8-byte Reload
	movq	-232(%rbp), %rbx                ## 8-byte Reload
	jmp	LBB0_53
LBB0_88:
	movq	(%rax), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	xorps	%xmm0, %xmm0
LBB0_53:
	movss	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	callq	_FFMAX
	cmpl	$0, -96(%rbp)                   ## 4-byte Folded Reload
	movq	-80(%rbp), %r9                  ## 8-byte Reload
	movq	-144(%rbp), %r8                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	jle	LBB0_87
## %bb.54:
	movss	LCPI0_0(%rip), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	divss	%xmm0, %xmm2
	leaq	(%r14,%rbx), %rax
	addq	$72, %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movslq	-324(%rbp), %rax                ## 4-byte Folded Reload
	movq	-336(%rbp), %rbx                ## 8-byte Reload
	imulq	%rbx, %rax
	movslq	16(%rbp), %rdi
	leal	(,%r9,4), %edx
	movq	%rax, -176(%rbp)                ## 8-byte Spill
	movq	%rdi, -272(%rbp)                ## 8-byte Spill
	addq	%rdi, %rax
	addq	%r9, %rax
	movq	%rax, -320(%rbp)                ## 8-byte Spill
	movl	%r9d, %eax
	andl	$-4, %eax
	movq	%rax, -296(%rbp)                ## 8-byte Spill
	addq	$-4, %rax
	movq	%rax, -288(%rbp)                ## 8-byte Spill
	movq	%rax, %rdi
	shrq	$2, %rdi
	incq	%rdi
	movl	%r9d, %eax
	andl	$-2, %eax
	movq	%rax, -312(%rbp)                ## 8-byte Spill
	movaps	%xmm2, %xmm3
	shufps	$0, %xmm2, %xmm3                ## xmm3 = xmm3[0,0],xmm2[0,0]
	movq	%rdi, %rax
	movq	%rdi, -280(%rbp)                ## 8-byte Spill
	andq	$-2, %rdi
	movq	%rdi, -192(%rbp)                ## 8-byte Spill
	movq	%r9, %rax
	negq	%rax
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	(,%rax,4), %r11
	movq	-136(%rbp), %rdi                ## 8-byte Reload
	addq	$4, %rdi
	movq	%rdi, -248(%rbp)                ## 8-byte Spill
	movq	%r8, %rdi
	leaq	(,%rax,8), %rax
	movq	%rax, -304(%rbp)                ## 8-byte Spill
	leaq	16(%rcx), %rax
	movq	%rax, -264(%rbp)                ## 8-byte Spill
	leaq	(,%rbx,4), %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	leaq	4(%rcx), %rax
	movq	%rax, -256(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	xorl	%ecx, %ecx
	movaps	%xmm2, -224(%rbp)               ## 16-byte Spill
	movl	%edx, -112(%rbp)                ## 4-byte Spill
	movaps	%xmm3, -352(%rbp)               ## 16-byte Spill
	movq	%r11, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_55
	.p2align	4, 0x90
LBB0_86:                                ##   in Loop: Header=BB0_55 Depth=1
	movq	-184(%rbp), %rcx                ## 8-byte Reload
	incq	%rcx
	movq	-152(%rbp), %rax                ## 8-byte Reload
	addl	%edi, %eax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	cmpq	-96(%rbp), %rcx                 ## 8-byte Folded Reload
	je	LBB0_87
LBB0_55:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_57 Depth 2
                                        ##     Child Loop BB0_59 Depth 2
                                        ##       Child Loop BB0_62 Depth 3
                                        ##     Child Loop BB0_67 Depth 2
                                        ##       Child Loop BB0_77 Depth 3
                                        ##       Child Loop BB0_84 Depth 3
	movq	%rcx, -184(%rbp)                ## 8-byte Spill
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_86
## %bb.56:                              ##   in Loop: Header=BB0_55 Depth=1
	movl	-152(%rbp), %eax                ## 4-byte Reload
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%rax,4), %r15
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rax
	movq	-176(%rbp), %rdi                ## 8-byte Reload
	movq	%rax, -208(%rbp)                ## 8-byte Spill
	leaq	(%rax,%rdi,4), %rax
	movq	-272(%rbp), %rbx                ## 8-byte Reload
	leaq	(%rax,%rbx,4), %r14
	movq	8(%rcx), %rax
	movq	%rax, -200(%rbp)                ## 8-byte Spill
	leaq	(%rax,%rdi,4), %rax
	leaq	(%rax,%rbx,4), %r13
	movq	%r9, %r12
	movq	-136(%rbp), %rbx                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_57:                                ##   Parent Loop BB0_55 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_memcpy
	movq	-48(%rbp), %r11                 ## 8-byte Reload
	movl	-112(%rbp), %edx                ## 4-byte Reload
	addq	%r11, %rbx
	addq	%r11, %r15
	decq	%r12
	jne	LBB0_57
## %bb.58:                              ##   in Loop: Header=BB0_55 Depth=1
	movq	-72(%rbp), %r10                 ## 8-byte Reload
	movq	-248(%rbp), %rbx                ## 8-byte Reload
	xorl	%r12d, %r12d
	jmp	LBB0_59
	.p2align	4, 0x90
LBB0_65:                                ##   in Loop: Header=BB0_59 Depth=2
	incq	%r12
	addq	%rdi, %rbx
	addq	$4, %r10
	cmpq	%r9, %r12
	je	LBB0_66
LBB0_59:                                ##   Parent Loop BB0_55 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_62 Depth 3
	movq	%r10, -104(%rbp)                ## 8-byte Spill
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	16(%rax), %edi
	movq	%r12, %rcx
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	imulq	%r15, %rcx
	movq	-136(%rbp), %rax                ## 8-byte Reload
	movq	%rcx, -168(%rbp)                ## 8-byte Spill
	leaq	(%rax,%rcx,4), %rsi
	callq	_av_dct_calc
	cmpl	$1, %r15d
	jne	LBB0_61
## %bb.60:                              ##   in Loop: Header=BB0_59 Depth=2
	xorl	%eax, %eax
	movq	-80(%rbp), %r9                  ## 8-byte Reload
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-104(%rbp), %r10                ## 8-byte Reload
	jmp	LBB0_63
	.p2align	4, 0x90
LBB0_61:                                ##   in Loop: Header=BB0_59 Depth=2
	movq	-104(%rbp), %r10                ## 8-byte Reload
	movq	%r10, %rcx
	xorl	%eax, %eax
	movq	-80(%rbp), %r9                  ## 8-byte Reload
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	movq	-312(%rbp), %rsi                ## 8-byte Reload
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-304(%rbp), %rdx                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_62:                                ##   Parent Loop BB0_55 Depth=1
                                        ##     Parent Loop BB0_59 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movss	-4(%rbx,%rax,4), %xmm0          ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%rcx)
	movss	(%rbx,%rax,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%rcx,%rdi)
	addq	$2, %rax
	addq	%rdx, %rcx
	cmpq	%rax, %rsi
	jne	LBB0_62
LBB0_63:                                ##   in Loop: Header=BB0_59 Depth=2
	testb	$1, %r9b
	je	LBB0_65
## %bb.64:                              ##   in Loop: Header=BB0_59 Depth=2
	movq	-168(%rbp), %rdx                ## 8-byte Reload
	addq	%rax, %rdx
	movq	-136(%rbp), %rcx                ## 8-byte Reload
	movss	(%rcx,%rdx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	imulq	-64(%rbp), %rax                 ## 8-byte Folded Reload
	addq	%r12, %rax
	movss	%xmm0, (%r8,%rax,4)
	jmp	LBB0_65
	.p2align	4, 0x90
LBB0_66:                                ##   in Loop: Header=BB0_55 Depth=1
	movq	-256(%rbp), %rbx                ## 8-byte Reload
	movq	-264(%rbp), %r15                ## 8-byte Reload
	xorl	%esi, %esi
	jmp	LBB0_67
	.p2align	4, 0x90
LBB0_85:                                ##   in Loop: Header=BB0_67 Depth=2
	movq	-128(%rbp), %rax                ## 8-byte Reload
	addq	%rax, %r14
	addq	%rax, %r13
	incq	%rsi
	addq	%r11, %r15
	addq	%r11, %rbx
	cmpq	%r9, %rsi
	je	LBB0_86
LBB0_67:                                ##   Parent Loop BB0_55 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_77 Depth 3
                                        ##       Child Loop BB0_84 Depth 3
	movq	%rsi, -104(%rbp)                ## 8-byte Spill
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	16(%rax), %edi
	movq	%rsi, %r12
	imulq	-64(%rbp), %r12                 ## 8-byte Folded Reload
	leaq	(%r8,%r12,4), %rsi
	movq	%rsi, -168(%rbp)                ## 8-byte Spill
	callq	_av_dct_calc
	movq	-80(%rbp), %r9                  ## 8-byte Reload
	cmpl	$4, %r9d
	jae	LBB0_69
## %bb.68:                              ##   in Loop: Header=BB0_67 Depth=2
	xorl	%ecx, %ecx
	movq	-144(%rbp), %rdi                ## 8-byte Reload
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	movaps	-224(%rbp), %xmm2               ## 16-byte Reload
	movl	-112(%rbp), %edx                ## 4-byte Reload
	movq	-48(%rbp), %r11                 ## 8-byte Reload
	movq	-104(%rbp), %rsi                ## 8-byte Reload
LBB0_81:                                ##   in Loop: Header=BB0_67 Depth=2
	movq	%rcx, %rax
	testb	$1, %r9b
	je	LBB0_83
## %bb.82:                              ##   in Loop: Header=BB0_67 Depth=2
	addq	%rcx, %r12
	movss	(%r8,%r12,4), %xmm0             ## xmm0 = mem[0],zero,zero,zero
	mulss	%xmm2, %xmm0
	addss	(%r14,%rcx,4), %xmm0
	movss	%xmm0, (%r14,%rcx,4)
	movss	(%r13,%rcx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	addss	%xmm2, %xmm0
	movss	%xmm0, (%r13,%rcx,4)
	movq	%rcx, %rax
	orq	$1, %rax
LBB0_83:                                ##   in Loop: Header=BB0_67 Depth=2
	notq	%rcx
	cmpq	-160(%rbp), %rcx                ## 8-byte Folded Reload
	je	LBB0_85
	.p2align	4, 0x90
LBB0_84:                                ##   Parent Loop BB0_55 Depth=1
                                        ##     Parent Loop BB0_67 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movss	-4(%rbx,%rax,4), %xmm0          ## xmm0 = mem[0],zero,zero,zero
	mulss	%xmm2, %xmm0
	addss	(%r14,%rax,4), %xmm0
	movss	%xmm0, (%r14,%rax,4)
	movss	(%r13,%rax,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	addss	%xmm2, %xmm0
	movss	%xmm0, (%r13,%rax,4)
	movss	(%rbx,%rax,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	mulss	%xmm2, %xmm0
	addss	4(%r14,%rax,4), %xmm0
	movss	%xmm0, 4(%r14,%rax,4)
	movss	4(%r13,%rax,4), %xmm0           ## xmm0 = mem[0],zero,zero,zero
	addss	%xmm2, %xmm0
	movss	%xmm0, 4(%r13,%rax,4)
	addq	$2, %rax
	cmpq	%rax, %r9
	jne	LBB0_84
	jmp	LBB0_85
	.p2align	4, 0x90
LBB0_69:                                ##   in Loop: Header=BB0_67 Depth=2
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	leaq	(%r12,%r9), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rax
	movq	-104(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rcx
	imulq	-336(%rbp), %rcx                ## 8-byte Folded Reload
	addq	-320(%rbp), %rcx                ## 8-byte Folded Reload
	movq	-200(%rbp), %rdx                ## 8-byte Reload
	leaq	(%rdx,%rcx,4), %rsi
	movq	-208(%rbp), %rdx                ## 8-byte Reload
	leaq	(%rdx,%rcx,4), %rdx
	cmpq	%rsi, %r14
	setb	%r11b
	cmpq	%rdx, %r13
	setb	%r8b
	cmpq	%rax, %r14
	setb	%cl
	movq	-168(%rbp), %rdi                ## 8-byte Reload
	cmpq	%rdx, %rdi
	setb	%dl
	cmpq	%rax, %r13
	setb	%al
	cmpq	%rsi, %rdi
	setb	%r10b
	testb	%r8b, %r11b
	movq	%r12, %rsi
	jne	LBB0_70
## %bb.71:                              ##   in Loop: Header=BB0_67 Depth=2
	andb	%dl, %cl
	movq	-144(%rbp), %rdi                ## 8-byte Reload
	movaps	-224(%rbp), %xmm2               ## 16-byte Reload
	movl	-112(%rbp), %edx                ## 4-byte Reload
	movaps	-352(%rbp), %xmm3               ## 16-byte Reload
	movq	-48(%rbp), %r11                 ## 8-byte Reload
	jne	LBB0_72
## %bb.73:                              ##   in Loop: Header=BB0_67 Depth=2
	movl	$0, %ecx
	andb	%r10b, %al
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jne	LBB0_81
## %bb.74:                              ##   in Loop: Header=BB0_67 Depth=2
	cmpq	$0, -288(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_75
## %bb.76:                              ##   in Loop: Header=BB0_67 Depth=2
	movq	-192(%rbp), %rcx                ## 8-byte Reload
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_77:                                ##   Parent Loop BB0_55 Depth=1
                                        ##     Parent Loop BB0_67 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movups	-16(%r15,%rax,4), %xmm0
	movups	(%r14,%rax,4), %xmm1
	mulps	%xmm3, %xmm0
	addps	%xmm1, %xmm0
	movups	%xmm0, (%r14,%rax,4)
	movups	(%r13,%rax,4), %xmm0
	addps	%xmm3, %xmm0
	movups	%xmm0, (%r13,%rax,4)
	movups	(%r15,%rax,4), %xmm0
	movups	16(%r14,%rax,4), %xmm1
	mulps	%xmm3, %xmm0
	addps	%xmm1, %xmm0
	movups	%xmm0, 16(%r14,%rax,4)
	movups	16(%r13,%rax,4), %xmm0
	addps	%xmm3, %xmm0
	movups	%xmm0, 16(%r13,%rax,4)
	addq	$8, %rax
	addq	$-2, %rcx
	jne	LBB0_77
## %bb.78:                              ##   in Loop: Header=BB0_67 Depth=2
	testb	$1, -280(%rbp)                  ## 1-byte Folded Reload
	je	LBB0_80
LBB0_79:                                ##   in Loop: Header=BB0_67 Depth=2
	leaq	(%rax,%r12), %rcx
	movups	(%r8,%rcx,4), %xmm0
	movups	(%r14,%rax,4), %xmm1
	mulps	%xmm3, %xmm0
	addps	%xmm1, %xmm0
	movups	%xmm0, (%r14,%rax,4)
	movups	(%r13,%rax,4), %xmm0
	addps	%xmm3, %xmm0
	movups	%xmm0, (%r13,%rax,4)
LBB0_80:                                ##   in Loop: Header=BB0_67 Depth=2
	movq	-296(%rbp), %rax                ## 8-byte Reload
	movq	%rax, %rcx
	cmpq	%r9, %rax
	je	LBB0_85
	jmp	LBB0_81
LBB0_75:                                ##   in Loop: Header=BB0_67 Depth=2
	xorl	%eax, %eax
	testb	$1, -280(%rbp)                  ## 1-byte Folded Reload
	jne	LBB0_79
	jmp	LBB0_80
LBB0_70:                                ##   in Loop: Header=BB0_67 Depth=2
	xorl	%ecx, %ecx
	movq	-144(%rbp), %rdi                ## 8-byte Reload
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	movaps	-224(%rbp), %xmm2               ## 16-byte Reload
	movl	-112(%rbp), %edx                ## 4-byte Reload
	movq	-48(%rbp), %r11                 ## 8-byte Reload
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_81
LBB0_72:                                ##   in Loop: Header=BB0_67 Depth=2
	xorl	%ecx, %ecx
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_81
LBB0_87:
	addq	$344, %rsp                      ## imm = 0x158
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_final_block_filtering
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function final_block_filtering
_final_block_filtering:                 ; @final_block_filtering
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #416
	.cfi_def_cfa_offset 416
	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
	stp	x5, x6, [sp, #24]               ; 16-byte Folded Spill
	str	w4, [sp, #152]                  ; 4-byte Folded Spill
	str	x3, [sp, #144]                  ; 8-byte Folded Spill
	str	w2, [sp, #140]                  ; 4-byte Folded Spill
	str	x1, [sp, #128]                  ; 8-byte Folded Spill
	ldrsw	x9, [x29, #16]
	ldr	x11, [x0, #40]
	ldrsw	x10, [x0]
	mov	w8, #112
	stp	x11, x9, [sp, #48]              ; 16-byte Folded Spill
	madd	x8, x9, x8, x11
	ldr	w11, [x8]
	ldr	x9, [x0, #8]
	and	x12, x10, #0xffffffff
	stp	x10, x12, [x29, #-136]          ; 16-byte Folded Spill
	mul	w27, w10, w10
	ldrsw	x9, [x9, w7, sxtw #2]
	str	x9, [sp, #112]                  ; 8-byte Folded Spill
	ldrsw	x9, [x0, #16]
	str	x9, [sp]                        ; 8-byte Folded Spill
	ldr	w9, [x0, #20]
	stur	w9, [x29, #-152]                ; 4-byte Folded Spill
	str	x0, [sp, #120]                  ; 8-byte Folded Spill
	ldr	s8, [x0, #24]
	mov	x9, x8
	ldr	x28, [x9, #8]!
	str	x9, [sp, #40]                   ; 8-byte Folded Spill
	mov	x9, x8
	ldr	x22, [x9, #32]!
	str	x9, [sp, #16]                   ; 8-byte Folded Spill
	ldr	x9, [x8, #16]
	str	x9, [sp, #184]                  ; 8-byte Folded Spill
	ldr	x9, [x8, #24]
	stur	x9, [x29, #-160]                ; 8-byte Folded Spill
	ldr	x20, [x8, #40]
	mov	x9, x8
	ldr	x23, [x9, #64]!
	str	x9, [sp, #8]                    ; 8-byte Folded Spill
	stur	x11, [x29, #-144]               ; 8-byte Folded Spill
	cmp	w11, #1
	b.lt	LBB0_12
; %bb.1:
	str	wzr, [sp, #104]                 ; 4-byte Folded Spill
	str	xzr, [sp, #96]                  ; 8-byte Folded Spill
	ldp	x9, x8, [x8, #48]
	str	x9, [sp, #176]                  ; 8-byte Folded Spill
	stur	x8, [x29, #-168]                ; 8-byte Folded Spill
	mov	w8, #112
	ldp	x10, x9, [sp, #48]              ; 16-byte Folded Reload
	madd	x8, x9, x8, x10
	add	x9, x8, #104
	str	x9, [sp, #72]                   ; 8-byte Folded Spill
	add	x8, x8, #100
	stur	x8, [x29, #-176]                ; 8-byte Folded Spill
	ldur	x8, [x29, #-128]                ; 8-byte Folded Reload
	lsl	w10, w8, #2
	ldur	x8, [x29, #-136]                ; 8-byte Folded Reload
	lsl	x21, x8, #2
	str	w27, [sp, #68]                  ; 4-byte Folded Spill
	stur	w10, [x29, #-192]               ; 4-byte Folded Spill
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [sp, #96]                   ; 8-byte Folded Reload
	add	x9, x9, #1
	ldr	w8, [sp, #104]                  ; 4-byte Folded Reload
	add	w8, w8, w27
	str	w8, [sp, #104]                  ; 4-byte Folded Spill
	ldur	x8, [x29, #-144]                ; 8-byte Folded Reload
	str	x9, [sp, #96]                   ; 8-byte Folded Spill
	cmp	x9, x8
	b.eq	LBB0_12
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
                                        ;     Child Loop BB0_7 Depth 2
                                        ;       Child Loop BB0_8 Depth 3
                                        ;     Child Loop BB0_11 Depth 2
	ldur	x8, [x29, #-136]                ; 8-byte Folded Reload
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x19, #0
	mov	x24, #0
	ldr	w8, [sp, #104]                  ; 4-byte Folded Reload
	mov	w8, w8
	lsl	x8, x8, #2
	add	x9, x28, x8
	add	x8, x20, x8
	stp	x8, x9, [sp, #80]               ; 16-byte Folded Spill
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	ldr	x8, [x8]
	ldr	x10, [sp, #96]                  ; 8-byte Folded Reload
	add	x9, x8, x10, lsl #3
	ldr	w9, [x9, #4]
	str	w9, [sp, #160]                  ; 4-byte Folded Spill
	lsl	x9, x10, #3
	ldr	w8, [x8, x9]
	str	x8, [sp, #192]                  ; 8-byte Folded Spill
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	x26, x0, [sp, #120]             ; 16-byte Folded Reload
	ldr	x8, [x26, #32]
	ldr	x9, [sp, #184]                  ; 8-byte Folded Reload
	add	x5, x9, x19
	str	x5, [sp, #200]                  ; 8-byte Folded Spill
	ldr	x9, [sp, #192]                  ; 8-byte Folded Reload
	add	w25, w9, w24
	ldr	w1, [sp, #140]                  ; 4-byte Folded Reload
	mov	x2, x25
	ldr	w27, [sp, #160]                 ; 4-byte Folded Reload
	mov	x3, x27
	ldur	x4, [x29, #-128]                ; 8-byte Folded Reload
                                        ; kill: def $w4 killed $w4 killed $x4
	blr	x8
	ldr	x8, [x26, #32]
	ldr	x9, [sp, #176]                  ; 8-byte Folded Reload
	add	x26, x9, x19
	ldr	x0, [sp, #144]                  ; 8-byte Folded Reload
	ldr	w1, [sp, #152]                  ; 4-byte Folded Reload
	mov	x2, x25
	mov	x3, x27
	ldur	x4, [x29, #-128]                ; 8-byte Folded Reload
                                        ; kill: def $w4 killed $w4 killed $x4
	mov	x5, x26
	blr	x8
	ldur	x25, [x29, #-176]               ; 8-byte Folded Reload
	ldr	w0, [x25]
	ldr	x1, [sp, #200]                  ; 8-byte Folded Reload
	bl	_av_dct_calc
	ldr	w0, [x25]
	mov	x1, x26
	bl	_av_dct_calc
	ldur	x10, [x29, #-128]               ; 8-byte Folded Reload
	add	x24, x24, #1
	add	x19, x19, x21
	cmp	x10, x24
	b.ne	LBB0_5
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x24, #0
	ldp	x25, x26, [sp, #176]            ; 16-byte Folded Reload
	ldp	x11, x12, [x29, #-168]          ; 16-byte Folded Reload
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_8 Depth 3
	mov	x8, #0
	ldur	x9, [x29, #-136]                ; 8-byte Folded Reload
	mul	x9, x24, x9
	stp	x12, x11, [sp, #192]            ; 16-byte Folded Spill
LBB0_8:                                 ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	s0, [x26, x8]
	str	s0, [x12], #4
	ldr	s0, [x25, x8]
	str	s0, [x11], #4
	add	x8, x8, x21
	subs	x10, x10, #1
	b.ne	LBB0_8
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	ldur	x27, [x29, #-176]               ; 8-byte Folded Reload
	ldr	w0, [x27]
	lsl	x19, x9, #2
	ldur	x8, [x29, #-160]                ; 8-byte Folded Reload
	add	x1, x8, x19
	bl	_av_dct_calc
	ldr	w0, [x27]
	ldur	x8, [x29, #-168]                ; 8-byte Folded Reload
	add	x1, x8, x19
	bl	_av_dct_calc
	add	x24, x24, #1
	ldp	x12, x11, [sp, #192]            ; 16-byte Folded Reload
	add	x12, x12, x21
	add	x11, x11, x21
	add	x26, x26, #4
	add	x25, x25, #4
	ldur	x10, [x29, #-128]               ; 8-byte Folded Reload
	cmp	x24, x10
	b.ne	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x19, #0
	mov	x24, x10
	ldr	w27, [sp, #68]                  ; 4-byte Folded Reload
	ldp	x25, x26, [sp, #80]             ; 16-byte Folded Reload
LBB0_11:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x0, x26, x19
	ldur	x8, [x29, #-160]                ; 8-byte Folded Reload
	add	x1, x8, x19
	ldur	w2, [x29, #-192]                ; 4-byte Folded Reload
	bl	_memcpy
	add	x0, x25, x19
	ldur	x8, [x29, #-168]                ; 8-byte Folded Reload
	add	x1, x8, x19
	ldur	w2, [x29, #-192]                ; 4-byte Folded Reload
	bl	_memcpy
	add	x19, x19, x21
	subs	x24, x24, #1
	b.ne	LBB0_11
	b	LBB0_2
LBB0_12:
	ldur	x8, [x29, #-136]                ; 8-byte Folded Reload
	cmp	w8, #1
	b.lt	LBB0_38
; %bb.13:
	mov	w19, #0
	mov	w12, #0
	fmul	s10, s8, s8
	mov	w8, #112
	ldp	x10, x9, [sp, #48]              ; 16-byte Folded Reload
	madd	x8, x9, x8, x10
	add	x26, x8, #96
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	lsl	x21, x8, #2
	ldur	x8, [x29, #-144]                ; 8-byte Folded Reload
	lsl	x24, x8, #2
	ldur	x11, [x29, #-128]               ; 8-byte Folded Reload
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	ldur	w12, [x29, #-176]               ; 4-byte Folded Reload
	add	w12, w12, #1
	ldur	w19, [x29, #-168]               ; 4-byte Folded Reload
	add	w19, w19, w11
	cmp	w12, w11
	b.eq	LBB0_22
LBB0_15:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_17 Depth 2
                                        ;       Child Loop BB0_19 Depth 3
	stur	w12, [x29, #-176]               ; 4-byte Folded Spill
	mov	w25, #0
	stur	w19, [x29, #-168]               ; 4-byte Folded Spill
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=2
	add	x22, x22, x21
	add	x23, x23, x21
	add	w25, w25, #1
	add	w19, w19, #1
	cmp	w25, w11
	b.eq	LBB0_14
LBB0_17:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_19 Depth 3
	ldur	x8, [x29, #-144]                ; 8-byte Folded Reload
	cmp	w8, #1
	b.lt	LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=2
	mov	x8, #0
	mov	x9, x19
LBB0_19:                                ;   Parent Loop BB0_15 Depth=1
                                        ;     Parent Loop BB0_17 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	sbfiz	x10, x9, #2, #32
	ldr	s0, [x28, x10]
	str	s0, [x22, x8]
	ldr	s0, [x20, x10]
	str	s0, [x23, x8]
	add	w9, w9, w27
	add	x8, x8, #4
	cmp	x24, x8
	b.ne	LBB0_19
LBB0_20:                                ;   in Loop: Header=BB0_17 Depth=2
	ldur	w8, [x29, #-152]                ; 4-byte Folded Reload
	cmp	w8, #1
	b.le	LBB0_16
; %bb.21:                               ;   in Loop: Header=BB0_17 Depth=2
	ldr	w0, [x26]
	mov	x1, x22
	bl	_av_dct_calc
	ldr	w0, [x26]
	mov	x1, x23
	bl	_av_dct_calc
	ldur	x11, [x29, #-128]               ; 8-byte Folded Reload
	b	LBB0_16
LBB0_22:
	mov	w20, #0
	ldp	x8, x26, [sp, #8]               ; 16-byte Folded Reload
	ldr	x22, [x8]
	ldr	x23, [x26]
	movi	d8, #0000000000000000
	fmov	s11, #1.00000000
	b	LBB0_24
LBB0_23:                                ;   in Loop: Header=BB0_24 Depth=1
	add	w20, w20, #1
	cmp	w20, w10
	b.eq	LBB0_29
LBB0_24:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_26 Depth 2
                                        ;       Child Loop BB0_28 Depth 3
	mov	w19, #0
	b	LBB0_26
LBB0_25:                                ;   in Loop: Header=BB0_26 Depth=2
	add	x23, x23, x21
	add	x22, x22, x21
	add	w19, w19, #1
	ldp	x8, x10, [x29, #-136]           ; 16-byte Folded Reload
	cmp	w19, w8
	b.eq	LBB0_23
LBB0_26:                                ;   Parent Loop BB0_24 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_28 Depth 3
	ldur	x8, [x29, #-144]                ; 8-byte Folded Reload
	cmp	w8, #1
	b.lt	LBB0_25
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=2
	mov	x25, #0
LBB0_28:                                ;   Parent Loop BB0_24 Depth=1
                                        ;     Parent Loop BB0_26 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	s0, [x22, x25]
	fmul	s0, s0, s0
	fadd	s1, s10, s0
	fdiv	s9, s0, s1
	fmov	s0, s9
	bl	_isnan
	cmp	x0, #0
	fcsel	s0, s9, s11, eq
	ldr	s1, [x23, x25]
	fmul	s1, s1, s0
	str	s1, [x23, x25]
	fmadd	s8, s0, s0, s8
	add	x25, x25, #4
	cmp	x24, x25
	b.ne	LBB0_28
	b	LBB0_25
LBB0_29:
	mov	w23, #0
	mov	w25, #0
	ldp	x8, x11, [sp, #40]              ; 16-byte Folded Reload
	ldr	x22, [x8]
	ldr	x20, [x26]
	mov	w8, #112
	ldr	x9, [sp, #56]                   ; 8-byte Folded Reload
	madd	x8, x9, x8, x11
	add	x26, x8, #92
	b	LBB0_31
LBB0_30:                                ;   in Loop: Header=BB0_31 Depth=1
	add	w25, w25, #1
	add	w23, w23, w10
	cmp	w25, w10
	b.eq	LBB0_39
LBB0_31:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_33 Depth 2
                                        ;       Child Loop BB0_37 Depth 3
	mov	w19, #0
	mov	x28, x23
	b	LBB0_33
LBB0_32:                                ;   in Loop: Header=BB0_33 Depth=2
	add	x20, x20, x21
	add	w19, w19, #1
	add	w28, w28, #1
	ldur	x8, [x29, #-136]                ; 8-byte Folded Reload
	cmp	w19, w8
	b.eq	LBB0_30
LBB0_33:                                ;   Parent Loop BB0_31 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_37 Depth 3
	ldur	w8, [x29, #-152]                ; 4-byte Folded Reload
	cmp	w8, #1
	b.le	LBB0_35
; %bb.34:                               ;   in Loop: Header=BB0_33 Depth=2
	ldr	w0, [x26]
	mov	x1, x20
	bl	_av_dct_calc
	ldur	x10, [x29, #-128]               ; 8-byte Folded Reload
LBB0_35:                                ;   in Loop: Header=BB0_33 Depth=2
	ldur	x8, [x29, #-144]                ; 8-byte Folded Reload
	cmp	w8, #1
	b.lt	LBB0_32
; %bb.36:                               ;   in Loop: Header=BB0_33 Depth=2
	mov	x8, #0
	mov	x9, x28
LBB0_37:                                ;   Parent Loop BB0_31 Depth=1
                                        ;     Parent Loop BB0_33 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	s0, [x20, x8]
	str	s0, [x22, w9, sxtw #2]
	add	w9, w9, w27
	add	x8, x8, #4
	cmp	x24, x8
	b.ne	LBB0_37
	b	LBB0_32
LBB0_38:
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	ldr	x22, [x8]
	movi	d8, #0000000000000000
LBB0_39:
	mov	w8, #7549
	movk	w8, #9872, lsl #16
	fmov	s1, w8
	fmov	s0, s8
	bl	_FFMAX
	ldur	x8, [x29, #-144]                ; 8-byte Folded Reload
	cmp	w8, #1
	ldur	x13, [x29, #-128]               ; 8-byte Folded Reload
	ldr	x14, [sp, #184]                 ; 8-byte Folded Reload
	b.lt	LBB0_61
; %bb.40:
	str	wzr, [sp, #140]                 ; 4-byte Folded Spill
	mov	x15, #0
	fmov	s1, #1.00000000
	fdiv	s4, s1, s0
	mov	w8, #112
	ldp	x10, x9, [sp, #48]              ; 16-byte Folded Reload
	madd	x8, x9, x8, x10
	add	x9, x8, #72
	str	x9, [sp, #120]                  ; 8-byte Folded Spill
	ldp	x9, x10, [sp, #24]              ; 16-byte Folded Reload
	sxtw	x9, w9
	ldr	x12, [sp, #112]                 ; 8-byte Folded Reload
	mul	x9, x12, x9
	sxtw	x10, w10
	add	x11, x8, #80
	str	x11, [sp, #104]                 ; 8-byte Folded Spill
	ldur	x11, [x29, #-136]               ; 8-byte Folded Reload
	lsl	w16, w11, #2
	str	w16, [sp, #96]                  ; 4-byte Folded Spill
	add	x8, x8, #88
	stur	x8, [x29, #-152]                ; 8-byte Folded Spill
	add	x8, x10, x9
	add	x8, x8, x13
	str	x8, [sp, #176]                  ; 8-byte Folded Spill
	and	x8, x13, #0xfffffff8
	str	x8, [sp, #152]                  ; 8-byte Folded Spill
	lsl	x23, x11, #2
	lsl	x8, x13, #2
	lsl	x11, x12, #2
	stur	x11, [x29, #-176]               ; 8-byte Folded Spill
	dup.4s	v5, v4[0]
	and	x8, x8, #0x3ffffffe0
	str	x8, [sp, #144]                  ; 8-byte Folded Spill
	add	x11, x14, #16
	lsl	x8, x9, #2
	stp	x8, x11, [sp, #80]              ; 16-byte Folded Spill
	lsl	x8, x10, #2
	str	x8, [sp, #72]                   ; 8-byte Folded Spill
	stur	q4, [x29, #-192]                ; 16-byte Folded Spill
	str	q5, [sp, #160]                  ; 16-byte Folded Spill
	b	LBB0_42
LBB0_41:                                ;   in Loop: Header=BB0_42 Depth=1
	ldr	x15, [sp, #128]                 ; 8-byte Folded Reload
	add	x15, x15, #1
	ldr	w8, [sp, #140]                  ; 4-byte Folded Reload
	add	w8, w8, w27
	str	w8, [sp, #140]                  ; 4-byte Folded Spill
	ldur	x8, [x29, #-144]                ; 8-byte Folded Reload
	cmp	x15, x8
	b.eq	LBB0_61
LBB0_42:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_44 Depth 2
                                        ;     Child Loop BB0_46 Depth 2
                                        ;       Child Loop BB0_47 Depth 3
                                        ;     Child Loop BB0_51 Depth 2
                                        ;       Child Loop BB0_58 Depth 3
                                        ;       Child Loop BB0_53 Depth 3
	str	x15, [sp, #128]                 ; 8-byte Folded Spill
	ldur	x8, [x29, #-136]                ; 8-byte Folded Reload
	cmp	w8, #1
	b.lt	LBB0_41
; %bb.43:                               ;   in Loop: Header=BB0_42 Depth=1
	mov	x19, #0
	ldr	w8, [sp, #140]                  ; 4-byte Folded Reload
	add	x21, x22, w8, uxtw #2
	ldr	x8, [sp, #120]                  ; 8-byte Folded Reload
	ldr	x8, [x8]
	ldp	x10, x9, [sp, #72]              ; 16-byte Folded Reload
	str	x8, [sp, #200]                  ; 8-byte Folded Spill
	add	x8, x8, x9
	add	x26, x8, x10
	ldr	x8, [sp, #104]                  ; 8-byte Folded Reload
	ldr	x8, [x8]
	str	x8, [sp, #192]                  ; 8-byte Folded Spill
	add	x8, x8, x9
	add	x20, x8, x10
	mov	x24, x13
	ldur	x28, [x29, #-160]               ; 8-byte Folded Reload
	ldr	w25, [sp, #96]                  ; 4-byte Folded Reload
LBB0_44:                                ;   Parent Loop BB0_42 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x0, x28, x19
	add	x1, x21, x19
	mov	x2, x25
	bl	_memcpy
	add	x19, x19, x23
	subs	x24, x24, #1
	b.ne	LBB0_44
; %bb.45:                               ;   in Loop: Header=BB0_42 Depth=1
	mov	x19, #0
	mov	x21, x28
	ldr	x24, [sp, #184]                 ; 8-byte Folded Reload
	ldur	x25, [x29, #-128]               ; 8-byte Folded Reload
LBB0_46:                                ;   Parent Loop BB0_42 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_47 Depth 3
	ldur	x8, [x29, #-152]                ; 8-byte Folded Reload
	ldr	w0, [x8]
	ldur	x8, [x29, #-136]                ; 8-byte Folded Reload
	mul	x8, x19, x8
	add	x1, x28, x8, lsl #2
	bl	_av_dct_calc
	mov	x8, x25
	mov	x9, x21
	mov	x10, x24
	mov	x11, x25
LBB0_47:                                ;   Parent Loop BB0_42 Depth=1
                                        ;     Parent Loop BB0_46 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	s0, [x9], #4
	str	s0, [x10]
	add	x10, x10, x23
	subs	x8, x8, #1
	b.ne	LBB0_47
; %bb.48:                               ;   in Loop: Header=BB0_46 Depth=2
	add	x19, x19, #1
	add	x24, x24, #4
	add	x21, x21, x23
	cmp	x19, x11
	mov	x25, x11
	b.ne	LBB0_46
; %bb.49:                               ;   in Loop: Header=BB0_42 Depth=1
	mov	x12, #0
	ldr	x28, [sp, #184]                 ; 8-byte Folded Reload
	mov	x24, x28
	ldr	x25, [sp, #88]                  ; 8-byte Folded Reload
	b	LBB0_51
LBB0_50:                                ;   in Loop: Header=BB0_51 Depth=2
	ldur	x8, [x29, #-176]                ; 8-byte Folded Reload
	add	x26, x26, x8
	add	x20, x20, x8
	add	x12, x12, #1
	add	x25, x25, x23
	add	x24, x24, x23
	cmp	x12, x13
	b.eq	LBB0_41
LBB0_51:                                ;   Parent Loop BB0_42 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_58 Depth 3
                                        ;       Child Loop BB0_53 Depth 3
	stur	x12, [x29, #-168]               ; 8-byte Folded Spill
	ldur	x8, [x29, #-152]                ; 8-byte Folded Reload
	ldr	w0, [x8]
	ldur	x8, [x29, #-136]                ; 8-byte Folded Reload
	mul	x19, x12, x8
	add	x21, x28, x19, lsl #2
	mov	x1, x21
	bl	_av_dct_calc
	ldur	x13, [x29, #-128]               ; 8-byte Folded Reload
	cmp	w13, #8
	b.hs	LBB0_54
; %bb.52:                               ;   in Loop: Header=BB0_51 Depth=2
	mov	x8, #0
	ldur	q4, [x29, #-192]                ; 16-byte Folded Reload
	ldur	x12, [x29, #-168]               ; 8-byte Folded Reload
LBB0_53:                                ;   Parent Loop BB0_42 Depth=1
                                        ;     Parent Loop BB0_51 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	lsl	x9, x8, #2
	ldr	s0, [x24, x9]
	ldr	s1, [x26, x9]
	fmadd	s0, s0, s4, s1
	str	s0, [x26, x9]
	ldr	s0, [x20, x9]
	fadd	s0, s4, s0
	str	s0, [x20, x9]
	add	x8, x8, #1
	cmp	x13, x8
	b.ne	LBB0_53
	b	LBB0_50
LBB0_54:                                ;   in Loop: Header=BB0_51 Depth=2
	mov	x8, #0
	add	x9, x19, x13
	add	x10, x28, x9, lsl #2
	ldr	x9, [sp, #112]                  ; 8-byte Folded Reload
	ldr	x11, [sp, #176]                 ; 8-byte Folded Reload
	ldur	x14, [x29, #-168]               ; 8-byte Folded Reload
	madd	x9, x14, x9, x11
	lsl	x11, x9, #2
	cmp	x26, x10
	ldr	x9, [sp, #200]                  ; 8-byte Folded Reload
	add	x12, x9, x11
	ccmp	x21, x12, #2, lo
	cset	w9, lo
	cmp	x20, x10
	ldr	x10, [sp, #192]                 ; 8-byte Folded Reload
	add	x11, x10, x11
	ccmp	x21, x11, #2, lo
	cset	w10, lo
	cmp	x20, x12
	ccmp	x26, x11, #2, lo
	mov	x12, x14
	b.lo	LBB0_60
; %bb.55:                               ;   in Loop: Header=BB0_51 Depth=2
	ldur	q4, [x29, #-192]                ; 16-byte Folded Reload
	ldr	q5, [sp, #160]                  ; 16-byte Folded Reload
	tbnz	w9, #0, LBB0_53
; %bb.56:                               ;   in Loop: Header=BB0_51 Depth=2
	tbnz	w10, #0, LBB0_53
; %bb.57:                               ;   in Loop: Header=BB0_51 Depth=2
	mov	x8, #0
	ldr	x10, [sp, #144]                 ; 8-byte Folded Reload
LBB0_58:                                ;   Parent Loop BB0_42 Depth=1
                                        ;     Parent Loop BB0_51 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	add	x9, x25, x8
	ldp	q0, q1, [x9, #-16]
	add	x9, x26, x8
	ldp	q2, q3, [x9]
	fmla.4s	v2, v5, v0
	fmla.4s	v3, v5, v1
	stp	q2, q3, [x9]
	add	x9, x20, x8
	ldp	q0, q1, [x9]
	fadd.4s	v0, v5, v0
	fadd.4s	v1, v5, v1
	stp	q0, q1, [x9]
	add	x8, x8, #32
	cmp	x10, x8
	b.ne	LBB0_58
; %bb.59:                               ;   in Loop: Header=BB0_51 Depth=2
	ldr	x9, [sp, #152]                  ; 8-byte Folded Reload
	mov	x8, x9
	cmp	x9, x13
	b.ne	LBB0_53
	b	LBB0_50
LBB0_60:                                ;   in Loop: Header=BB0_51 Depth=2
	ldur	q4, [x29, #-192]                ; 16-byte Folded Reload
	b	LBB0_53
LBB0_61:
	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
	add	sp, sp, #416
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_final_block_filtering
.subsections_via_symbols
