	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function filter
_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	$216, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r9d killed $r9d def $r9
	movq	%rdx, %r10
	movq	%rsi, -160(%rbp)                ## 8-byte Spill
	movl	40(%rbp), %eax
	movl	%eax, -100(%rbp)                ## 4-byte Spill
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	(%rdi), %edx
	cmpq	$0, -160(%rbp)                  ## 8-byte Folded Reload
	jne	LBB0_4
	jmp	LBB0_26
LBB0_2:
	leal	31(%r9), %edx
	andl	$-16, %edx
	cmpq	$0, -160(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_26
LBB0_4:
	testq	%r10, %r10
	je	LBB0_26
## %bb.5:
	movl	%ecx, -164(%rbp)                ## 4-byte Spill
	movl	16(%rbp), %ecx
	movq	%rdi, -176(%rbp)                ## 8-byte Spill
	movq	8(%rdi), %r14
	leal	(,%rdx,8), %eax
	movslq	%eax, %r11
	leaq	(%r14,%r11,4), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	%ecx, %r12d
	movq	%rcx, -144(%rbp)                ## 8-byte Spill
	testl	%ecx, %ecx
	movq	%r9, -72(%rbp)                  ## 8-byte Spill
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	%r14, -152(%rbp)                ## 8-byte Spill
	movq	%r12, -248(%rbp)                ## 8-byte Spill
	jle	LBB0_6
## %bb.13:
	movabsq	$-17179869184, %r15             ## imm = 0xFFFFFFFC00000000
	movabsq	$-21474836480, %rbx             ## imm = 0xFFFFFFFB00000000
	movabsq	$-25769803776, %rdi             ## imm = 0xFFFFFFFA00000000
	leaq	8(%r11), %r13
	movslq	%edx, %rdx
	movslq	%r9d, %rsi
	movslq	%r8d, %rax
	shlq	$2, %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	shlq	$32, %r13
	movq	%rdx, %rax
	shlq	$32, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	(,%r11,4), %rax
	leaq	32(,%r11,4), %rcx
	leaq	(%rcx,%r11,4), %rcx
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	leaq	(%rax,%rsi,4), %r8
	shlq	$32, %rsi
	movabsq	$-30064771072, %rcx             ## imm = 0xFFFFFFF900000000
	movabsq	$-34359738368, %rax             ## imm = 0xFFFFFFF800000000
	addq	%rsi, %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	leaq	(%rsi,%rcx), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	leaq	(%rsi,%rdi), %rax
	movq	%rax, -240(%rbp)                ## 8-byte Spill
	leaq	(%rsi,%rbx), %rax
	movq	%rax, -232(%rbp)                ## 8-byte Spill
	leaq	(%rsi,%r15), %rax
	movq	%rax, -224(%rbp)                ## 8-byte Spill
	movabsq	$-12884901888, %rax             ## imm = 0xFFFFFFFD00000000
	addq	%rsi, %rax
	movq	%rax, -216(%rbp)                ## 8-byte Spill
	movabsq	$-8589934592, %rax              ## imm = 0xFFFFFFFE00000000
	addq	%rsi, %rax
	movq	%rax, -208(%rbp)                ## 8-byte Spill
	movabsq	$-4294967296, %rax              ## imm = 0xFFFFFFFF00000000
	addq	%rax, %rsi
	movq	%rsi, -112(%rbp)                ## 8-byte Spill
	movq	%r11, -184(%rbp)                ## 8-byte Spill
	leaq	(%r8,%r11,4), %rax
	addq	$32, %rax
	movq	%rax, -200(%rbp)                ## 8-byte Spill
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	leaq	(,%rdx,4), %rax
	movq	%rax, -192(%rbp)                ## 8-byte Spill
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	-136(%rbp), %r15                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	leaq	(%r14,%r15), %rdi
	movq	%r10, %rsi
	movl	%r9d, %edx
	movq	%r10, %r12
	callq	_memcpy
	movq	%r12, %r10
	movq	-72(%rbp), %r9                  ## 8-byte Reload
	movl	(%r14,%r15), %eax
	movabsq	$-4294967296, %rcx              ## imm = 0xFFFFFFFF00000000
	addq	%r13, %rcx
	sarq	$30, %rcx
	movl	%eax, (%rbx,%rcx)
	movq	-112(%rbp), %rax                ## 8-byte Reload
	addq	%r13, %rax
	sarq	$30, %rax
	movl	(%rbx,%rax), %eax
	movq	-200(%rbp), %rdx                ## 8-byte Reload
	movl	%eax, (%r14,%rdx)
	movl	4(%r14,%r15), %eax
	movabsq	$-8589934592, %rcx              ## imm = 0xFFFFFFFE00000000
	addq	%r13, %rcx
	sarq	$30, %rcx
	movl	%eax, (%rbx,%rcx)
	movq	-208(%rbp), %rax                ## 8-byte Reload
	addq	%r13, %rax
	sarq	$30, %rax
	movl	(%rbx,%rax), %eax
	movl	%eax, 4(%r14,%rdx)
	movl	8(%r14,%r15), %eax
	movabsq	$-12884901888, %rcx             ## imm = 0xFFFFFFFD00000000
	addq	%r13, %rcx
	sarq	$30, %rcx
	movl	%eax, (%rbx,%rcx)
	movq	-216(%rbp), %rax                ## 8-byte Reload
	addq	%r13, %rax
	sarq	$30, %rax
	movl	(%rbx,%rax), %eax
	movl	%eax, 8(%r14,%rdx)
	movl	12(%r14,%r15), %eax
	movabsq	$-17179869184, %rcx             ## imm = 0xFFFFFFFC00000000
	addq	%r13, %rcx
	sarq	$30, %rcx
	movl	%eax, (%rbx,%rcx)
	movq	-224(%rbp), %rax                ## 8-byte Reload
	addq	%r13, %rax
	sarq	$30, %rax
	movl	(%rbx,%rax), %eax
	movl	%eax, 12(%r14,%rdx)
	movl	16(%r14,%r15), %eax
	movabsq	$-21474836480, %rcx             ## imm = 0xFFFFFFFB00000000
	addq	%r13, %rcx
	sarq	$30, %rcx
	movl	%eax, (%rbx,%rcx)
	movq	-232(%rbp), %rax                ## 8-byte Reload
	addq	%r13, %rax
	sarq	$30, %rax
	movl	(%rbx,%rax), %eax
	movl	%eax, 16(%r14,%rdx)
	movl	20(%r14,%r15), %eax
	movabsq	$-25769803776, %rcx             ## imm = 0xFFFFFFFA00000000
	addq	%r13, %rcx
	sarq	$30, %rcx
	movl	%eax, (%rbx,%rcx)
	movq	-240(%rbp), %rax                ## 8-byte Reload
	addq	%r13, %rax
	sarq	$30, %rax
	movl	(%rbx,%rax), %eax
	movl	%eax, 20(%r14,%rdx)
	movl	24(%r14,%r15), %eax
	movabsq	$-30064771072, %rcx             ## imm = 0xFFFFFFF900000000
	addq	%r13, %rcx
	sarq	$30, %rcx
	movl	%eax, (%rbx,%rcx)
	movq	-120(%rbp), %rax                ## 8-byte Reload
	addq	%r13, %rax
	sarq	$30, %rax
	movl	(%rbx,%rax), %eax
	movl	%eax, 24(%r14,%rdx)
	movl	28(%r14,%r15), %eax
	movabsq	$-34359738368, %rcx             ## imm = 0xFFFFFFF800000000
	addq	%r13, %rcx
	sarq	$30, %rcx
	movl	%eax, (%rbx,%rcx)
	movq	-128(%rbp), %rax                ## 8-byte Reload
	addq	%r13, %rax
	sarq	$30, %rax
	movl	(%rbx,%rax), %eax
	movl	%eax, 28(%r14,%rdx)
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	addq	-48(%rbp), %r10                 ## 8-byte Folded Reload
	addq	-64(%rbp), %r13                 ## 8-byte Folded Reload
	addq	-192(%rbp), %r14                ## 8-byte Folded Reload
	decq	%r12
	jne	LBB0_14
## %bb.15:
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movq	-152(%rbp), %r14                ## 8-byte Reload
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	-184(%rbp), %r11                ## 8-byte Reload
	jmp	LBB0_7
LBB0_6:
	movslq	%edx, %rdi
LBB0_7:
	leaq	128(%r14), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movl	16(%rbp), %eax
	leal	7(%rax), %r12d
	imull	%edx, %r12d
	leal	8(%rax), %ebx
	imull	%edx, %ebx
	leaq	(,%rdi,8), %rax
	leaq	(%r11,%rdi,8), %rcx
	movq	%r14, %rsi
	leaq	(%r14,%rcx,4), %r14
	subq	%rdi, %rax
	shlq	$2, %rdi
	addq	%r11, %rax
	leaq	(%rsi,%rax,4), %r15
	movq	%rdi, %rax
	negq	%rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	$8, %eax
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%r13d, %edx
	callq	_memcpy
	movslq	%ebx, %rbx
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rbx,4), %rdi
	movslq	%r12d, %r12
	leaq	(%rax,%r12,4), %rsi
	movl	%r13d, %edx
	callq	_memcpy
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	subl	%r13d, %r12d
	addl	%r13d, %ebx
	addq	%rdi, %r14
	addq	-48(%rbp), %r15                 ## 8-byte Folded Reload
	decq	%rax
	jne	LBB0_8
## %bb.9:
	movl	16(%rbp), %eax
	testl	%eax, %eax
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	-176(%rbp), %r12                ## 8-byte Reload
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	-164(%rbp), %edx                ## 4-byte Reload
	jle	LBB0_26
## %bb.10:
	addl	$3, -100(%rbp)                  ## 4-byte Folded Spill
	decl	%eax
	movl	%eax, -136(%rbp)                ## 4-byte Spill
	movq	-144(%rbp), %rax                ## 8-byte Reload
	decl	%eax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movslq	%edx, %rdx
	movq	-152(%rbp), %rax                ## 8-byte Reload
	addq	$192, %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	shlq	$2, %rdx
	movq	%rdx, -128(%rbp)                ## 8-byte Spill
	leal	(%r14,%r14,4), %eax
	addl	$13, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%edx, %edx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	incq	%rdx
	movq	-128(%rbp), %rax                ## 8-byte Reload
	addq	%rax, -160(%rbp)                ## 8-byte Folded Spill
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addl	%r14d, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	cmpq	-248(%rbp), %rdx                ## 8-byte Folded Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	je	LBB0_26
LBB0_11:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_17 Depth 2
                                        ##       Child Loop BB0_21 Depth 3
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	leal	5(%rdx), %ebx
	imull	%r14d, %ebx
	leal	5(%rbx), %eax
	cltq
	leaq	(%rcx,%rax,4), %rsi
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	movq	%rcx, %r15
	movl	%r14d, %edx
	callq	_dctA_c
	addl	$9, %ebx
	movslq	%ebx, %rax
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	leaq	(%r15,%rax,4), %rsi
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movl	%r14d, %edx
	callq	_dctA_c
	testl	%ebx, %ebx
	jle	LBB0_25
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax def $rax
	andl	$7, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_17 Depth=2
	movl	%r15d, %r13d
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
LBB0_16:                                ##   in Loop: Header=BB0_17 Depth=2
	cmpl	%ebx, %r13d
	jge	LBB0_25
LBB0_17:                                ##   Parent Loop BB0_11 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_21 Depth 3
	leal	8(%r13), %edi
	movl	%ebx, %esi
	callq	_FFMIN
	movl	%eax, %r15d
	movl	16(%r12), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	je	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_17 Depth=2
	cmpl	%r15d, %r13d
	jge	LBB0_16
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_17 Depth=2
	movl	%r13d, %edi
	movl	-136(%rbp), %esi                ## 4-byte Reload
	callq	_FFMIN
	movl	%eax, %r14d
	movl	-100(%rbp), %ebx                ## 4-byte Reload
	movl	%ebx, %ecx
	sarl	%cl, %r14d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	movq	-144(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_FFMIN
	movl	%ebx, %ecx
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	sarl	%cl, %eax
	imull	32(%rbp), %eax
	addl	%r14d, %eax
	cltq
	movq	24(%rbp), %rcx
	movl	(%rcx,%rax,4), %edi
	movl	40(%r12), %esi
	callq	_ff_norm_qscale
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	cmpl	%r15d, %r13d
	jge	LBB0_16
LBB0_20:                                ##   in Loop: Header=BB0_17 Depth=2
	movslq	%r13d, %rbx
	shll	$2, %r13d
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_21 Depth=3
	movq	-152(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	-176(%rbp), %r12                ## 8-byte Reload
	callq	*32(%r12)
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	callq	*24(%r12)
	movq	_dither@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rcx,%rdx,8), %rcx
	movl	%ebx, %edx
	andl	$7, %edx
	addl	(%rcx,%rdx,4), %eax
	movl	%eax, %ecx
	sarl	$6, %ecx
	xorl	%edx, %edx
	cmpl	$64, %eax
	setge	%dl
	negl	%edx
	cmpl	$16384, %eax                    ## imm = 0x4000
	cmovbl	%ecx, %edx
	movq	-160(%rbp), %rax                ## 8-byte Reload
	movl	%edx, (%rax,%rbx,4)
	incq	%rbx
	addl	$4, %r13d
	movl	%r14d, %r15d
	cmpl	%ebx, %r14d
	je	LBB0_24
LBB0_21:                                ##   Parent Loop BB0_11 Depth=1
                                        ##     Parent Loop BB0_17 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	%r15d, %r14d
	movslq	%r13d, %rax
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%rax,4), %r12
	testb	$3, %bl
	jne	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=3
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addl	%ebx, %eax
	cltq
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rsi
	leaq	128(%r12), %rdi
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_dctA_c
	jmp	LBB0_23
LBB0_26:
	addq	$216, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dither,8,3                     ## @dither
	.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, #272
	.cfi_def_cfa_offset 272
	stp	x28, x27, [sp, #176]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #192]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #208]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #224]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #240]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #256]            ; 16-byte Folded Spill
	add	x29, sp, #256
	.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
	str	x7, [sp, #104]                  ; 8-byte Folded Spill
	mov	x26, x6
	mov	x21, x5
                                        ; kill: def $w4 killed $w4 def $x4
	mov	x23, x3
	mov	x19, x2
	stur	x1, [x29, #-96]                 ; 8-byte Folded Spill
	mov	x22, x0
	ldr	w28, [x29, #20]
	cbz	w28, LBB0_2
; %bb.1:
	ldr	w20, [x22]
	ldur	x8, [x29, #-96]                 ; 8-byte Folded Reload
	cbnz	x8, LBB0_3
	b	LBB0_23
LBB0_2:
	add	w8, w21, #31
	and	w20, w8, #0xfffffff0
	ldur	x8, [x29, #-96]                 ; 8-byte Folded Reload
	cbz	x8, LBB0_23
LBB0_3:
	cbz	x19, LBB0_23
; %bb.4:
	ldr	x24, [x22, #8]
	lsl	w8, w20, #3
	add	x25, x24, w8, sxtw #2
	cmp	w26, #0
	stur	x20, [x29, #-112]               ; 8-byte Folded Spill
	b.le	LBB0_8
; %bb.5:
	str	w28, [sp, #12]                  ; 4-byte Folded Spill
	str	x23, [sp, #16]                  ; 8-byte Folded Spill
	sxtw	x8, w8
	mov	x12, #281462091808768
	movk	x12, #65535, lsl #48
	mov	x13, #281453501874176
	movk	x13, #65535, lsl #48
	mov	x14, #281449206906880
	movk	x14, #65535, lsl #48
	mov	x15, #281444911939584
	movk	x15, #65535, lsl #48
	add	w9, w8, #8
	mov	x10, x20
	sxtw	x11, w10
	str	x11, [sp]                       ; 8-byte Folded Spill
	sbfiz	x11, x4, #2, #32
	stur	x11, [x29, #-104]               ; 8-byte Folded Spill
	lsl	x8, x8, #2
	add	x11, x8, w21, sxtw #2
	sbfiz	x23, x9, #32, #32
	sbfiz	x16, x10, #32, #32
	sbfiz	x9, x9, #2, #32
	add	x11, x11, x9
	stp	x11, x16, [sp, #120]            ; 16-byte Folded Spill
	sbfiz	x11, x21, #32, #32
	mov	x16, #-4294967296
	add	x16, x11, x16
	str	x16, [sp, #96]                  ; 8-byte Folded Spill
	mov	x16, #-8589934592
	sbfiz	x10, x10, #2, #32
	str	x10, [sp, #88]                  ; 8-byte Folded Spill
	add	x10, x11, x16
	str	x10, [sp, #80]                  ; 8-byte Folded Spill
	add	x10, x11, x12
	add	x8, x8, x9
	stp	x8, x10, [sp, #64]              ; 16-byte Folded Spill
	mov	x8, #-34359738368
	add	x8, x11, x8
	str	x8, [sp, #56]                   ; 8-byte Folded Spill
	add	x8, x11, x15
	str	x8, [sp, #48]                   ; 8-byte Folded Spill
	add	x8, x11, x14
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
	add	x8, x11, x13
	str	x8, [sp, #32]                   ; 8-byte Folded Spill
	mov	x8, #-17179869184
	add	x27, x11, x8
	mov	x28, x24
	str	w26, [sp, #28]                  ; 4-byte Folded Spill
	mov	w26, w26
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #64]                   ; 8-byte Folded Reload
	add	x20, x28, x8
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_memcpy
	ldr	w8, [x20]
	mov	x9, #-4294967296
	add	x9, x23, x9
	asr	x9, x9, #30
	str	w8, [x25, x9]
	ldr	x8, [sp, #96]                   ; 8-byte Folded Reload
	add	x8, x8, x23
	asr	x8, x8, #30
	ldr	w8, [x25, x8]
	ldr	x9, [sp, #120]                  ; 8-byte Folded Reload
	add	x9, x28, x9
	str	w8, [x9]
	ldr	w8, [x20, #4]
	mov	x10, #-8589934592
	add	x10, x23, x10
	asr	x10, x10, #30
	str	w8, [x25, x10]
	ldr	x8, [sp, #80]                   ; 8-byte Folded Reload
	add	x8, x8, x23
	asr	x8, x8, #30
	ldr	w8, [x25, x8]
	str	w8, [x9, #4]
	ldr	w8, [x20, #8]
	mov	x10, #281462091808768
	movk	x10, #65535, lsl #48
	add	x10, x23, x10
	asr	x10, x10, #30
	str	w8, [x25, x10]
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	add	x8, x8, x23
	asr	x8, x8, #30
	ldr	w8, [x25, x8]
	str	w8, [x9, #8]
	ldr	w8, [x20, #12]
	mov	x10, #-17179869184
	add	x10, x23, x10
	asr	x10, x10, #30
	add	x11, x27, x23
	asr	x11, x11, #30
	str	w8, [x25, x10]
	ldr	w8, [x25, x11]
	str	w8, [x9, #12]
	ldr	w8, [x20, #16]
	mov	x10, #281453501874176
	movk	x10, #65535, lsl #48
	add	x10, x23, x10
	asr	x10, x10, #30
	str	w8, [x25, x10]
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	add	x8, x8, x23
	asr	x8, x8, #30
	ldr	w8, [x25, x8]
	str	w8, [x9, #16]
	ldr	w8, [x20, #20]
	mov	x10, #281449206906880
	movk	x10, #65535, lsl #48
	add	x10, x23, x10
	asr	x10, x10, #30
	str	w8, [x25, x10]
	ldp	x8, x11, [sp, #40]              ; 16-byte Folded Reload
	add	x8, x8, x23
	asr	x8, x8, #30
	ldr	w8, [x25, x8]
	str	w8, [x9, #20]
	ldr	w8, [x20, #24]
	mov	x10, #281444911939584
	movk	x10, #65535, lsl #48
	add	x10, x23, x10
	asr	x10, x10, #30
	add	x11, x11, x23
	asr	x11, x11, #30
	str	w8, [x25, x10]
	ldr	w8, [x25, x11]
	str	w8, [x9, #24]
	ldr	w8, [x20, #28]
	mov	x10, #-34359738368
	add	x10, x23, x10
	asr	x10, x10, #30
	str	w8, [x25, x10]
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	add	x8, x8, x23
	asr	x8, x8, #30
	ldr	w8, [x25, x8]
	str	w8, [x9, #28]
	ldur	x8, [x29, #-104]                ; 8-byte Folded Reload
	add	x19, x19, x8
	ldr	x8, [sp, #128]                  ; 8-byte Folded Reload
	add	x23, x23, x8
	ldr	x8, [sp, #88]                   ; 8-byte Folded Reload
	add	x28, x28, x8
	subs	x26, x26, #1
	b.ne	LBB0_6
; %bb.7:
	ldur	x20, [x29, #-112]               ; 8-byte Folded Reload
	ldr	w26, [sp, #28]                  ; 4-byte Folded Reload
	ldr	x23, [sp, #16]                  ; 8-byte Folded Reload
	ldr	w28, [sp, #12]                  ; 4-byte Folded Reload
	ldr	x27, [sp]                       ; 8-byte Folded Reload
	b	LBB0_9
LBB0_8:
	sxtw	x27, w20
LBB0_9:
	add	w19, w26, #7
	mov	w8, #28
	mul	x8, x27, x8
	add	x0, x25, x8
	add	x1, x25, x27, lsl #5
	mov	x2, x20
	bl	_memcpy
	add	w8, w26, #8
	mul	w8, w20, w8
	add	x0, x25, w8, sxtw #2
	mul	w8, w19, w20
	add	x1, x25, w8, sxtw #2
	mov	x2, x20
	bl	_memcpy
	mov	w8, #24
	madd	x0, x27, x8, x25
	mov	w8, #36
	madd	x1, x27, x8, x25
	mov	x2, x20
	bl	_memcpy
	add	w8, w26, #9
	mul	w8, w20, w8
	add	x0, x25, w8, sxtw #2
	add	w8, w26, #6
	mul	w8, w8, w20
	add	x1, x25, w8, sxtw #2
	mov	x2, x20
	bl	_memcpy
	mov	w8, #20
	madd	x0, x27, x8, x25
	mov	w8, #40
	madd	x1, x27, x8, x25
	mov	x2, x20
	bl	_memcpy
	add	w8, w26, #10
	mul	w8, w20, w8
	add	x0, x25, w8, sxtw #2
	add	w8, w26, #5
	mul	w8, w8, w20
	add	x1, x25, w8, sxtw #2
	mov	x2, x20
	bl	_memcpy
	add	x0, x25, x27, lsl #4
	mov	w8, #44
	madd	x1, x27, x8, x25
	mov	x2, x20
	bl	_memcpy
	add	w8, w26, #11
	mul	w8, w20, w8
	add	x0, x25, w8, sxtw #2
	add	w8, w26, #4
	mul	w8, w8, w20
	add	x1, x25, w8, sxtw #2
	mov	x2, x20
	bl	_memcpy
	mov	w8, #12
	madd	x0, x27, x8, x25
	mov	w8, #48
	madd	x1, x27, x8, x25
	mov	x2, x20
	bl	_memcpy
	add	w8, w26, #12
	mul	w8, w20, w8
	add	x0, x25, w8, sxtw #2
	add	w8, w26, #3
	mul	w8, w8, w20
	add	x1, x25, w8, sxtw #2
	mov	x2, x20
	bl	_memcpy
	add	x0, x25, x27, lsl #3
	mov	w8, #52
	madd	x1, x27, x8, x25
	mov	x2, x20
	bl	_memcpy
	add	w8, w26, #13
	mul	w8, w20, w8
	add	x0, x25, w8, sxtw #2
	add	w8, w26, #2
	mul	w8, w8, w20
	add	x1, x25, w8, sxtw #2
	mov	x2, x20
	bl	_memcpy
	add	x0, x25, x27, lsl #2
	mov	w8, #56
	madd	x1, x27, x8, x25
	mov	x2, x20
	bl	_memcpy
	add	w8, w26, #14
	mul	w8, w20, w8
	add	x0, x25, w8, sxtw #2
	mul	w19, w20, w26
	add	w8, w20, w19
	add	x1, x25, w8, sxtw #2
	mov	x2, x20
	bl	_memcpy
	mov	w8, #60
	madd	x1, x27, x8, x25
	mov	x0, x25
	mov	x2, x20
	bl	_memcpy
	add	w8, w26, #15
	mul	w8, w20, w8
	add	x0, x25, w8, sxtw #2
	add	x1, x25, w19, sxtw #2
	mov	x2, x20
	bl	_memcpy
	cmp	w26, #0
	b.le	LBB0_23
; %bb.10:
	mov	x8, #0
	add	x27, x24, #128
	ldr	w9, [x29, #16]
	str	w9, [sp, #96]                   ; 4-byte Folded Spill
	add	w9, w28, #3
	str	w9, [sp, #88]                   ; 4-byte Folded Spill
	mov	x28, #0
	sub	w8, w21, #1
	str	w8, [sp, #80]                   ; 4-byte Folded Spill
	sub	w8, w26, #1
	str	w8, [sp, #72]                   ; 4-byte Folded Spill
	add	x9, x24, #192
	sbfiz	x8, x23, #2, #32
	stp	x8, x9, [sp, #56]               ; 16-byte Folded Spill
	add	w8, w20, w20, lsl #2
	add	w8, w8, #13
	stur	w8, [x29, #-104]                ; 4-byte Folded Spill
Lloh0:
	adrp	x23, _dither@GOTPAGE
Lloh1:
	ldr	x23, [x23, _dither@GOTPAGEOFF]
	mov	w8, w26
	str	x8, [sp, #48]                   ; 8-byte Folded Spill
	str	x21, [sp, #112]                 ; 8-byte Folded Spill
	stur	x25, [x29, #-120]               ; 8-byte Folded Spill
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x28, x28, #1
	ldur	x8, [x29, #-96]                 ; 8-byte Folded Reload
	ldr	x9, [sp, #56]                   ; 8-byte Folded Reload
	add	x8, x8, x9
	stur	x8, [x29, #-96]                 ; 8-byte Folded Spill
	ldp	x25, x20, [x29, #-120]          ; 16-byte Folded Reload
	ldur	w8, [x29, #-104]                ; 4-byte Folded Reload
	add	w8, w8, w20
	stur	w8, [x29, #-104]                ; 4-byte Folded Spill
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	cmp	x28, x8
	b.eq	LBB0_23
LBB0_12:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_16 Depth 2
                                        ;       Child Loop BB0_21 Depth 3
	add	w8, w28, #5
	mul	w19, w8, w20
	add	w8, w19, #5
	add	x1, x25, w8, sxtw #2
	mov	x0, x27
	mov	x2, x20
	bl	_dctA_c
	add	w8, w19, #9
	add	x1, x25, w8, sxtw #2
	ldr	x0, [sp, #64]                   ; 8-byte Folded Reload
	mov	x2, x20
	bl	_dctA_c
	cmp	w21, #1
	b.lt	LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	w20, #0
	and	x25, x28, #0x7
	str	x28, [sp, #120]                 ; 8-byte Folded Spill
	b	LBB0_16
LBB0_14:                                ;   in Loop: Header=BB0_16 Depth=2
	mov	x20, x26
	ldp	x21, x28, [sp, #112]            ; 16-byte Folded Reload
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=2
	cmp	w20, w21
	b.ge	LBB0_11
LBB0_16:                                ;   Parent Loop BB0_12 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_21 Depth 3
	add	w0, w20, #8
	mov	x1, x21
	bl	_FFMIN
	mov	x26, x0
	ldr	w19, [x22, #16]
	cbz	w19, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=2
	cmp	w20, w26
	b.ge	LBB0_15
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_16 Depth=2
	mov	x0, x20
	ldr	w1, [sp, #80]                   ; 4-byte Folded Reload
	bl	_FFMIN
	mov	x19, x21
	ldr	w21, [sp, #88]                  ; 4-byte Folded Reload
	asr	w8, w0, w21
	str	w8, [sp, #128]                  ; 4-byte Folded Spill
	mov	x0, x28
	ldr	w1, [sp, #72]                   ; 4-byte Folded Reload
	bl	_FFMIN
	asr	w8, w0, w21
	mov	x21, x19
	ldr	w9, [sp, #96]                   ; 4-byte Folded Reload
	ldr	w10, [sp, #128]                 ; 4-byte Folded Reload
	madd	w8, w8, w9, w10
	ldr	x9, [sp, #104]                  ; 8-byte Folded Reload
	ldr	w0, [x9, w8, sxtw #2]
	ldr	w1, [x22, #40]
	bl	_ff_norm_qscale
	mov	x19, x0
	cmp	w20, w26
	b.ge	LBB0_15
LBB0_19:                                ;   in Loop: Header=BB0_16 Depth=2
	sxtw	x21, w20
	lsl	w28, w20, #2
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=3
	ldr	x8, [x22, #32]
	mov	x0, x24
	mov	x1, x20
	blr	x8
	ldr	x8, [x22, #24]
	mov	x0, x22
	mov	x1, x24
	mov	x2, x19
	blr	x8
	ldr	x8, [x23]
	ldr	x8, [x8, x25, lsl #3]
	and	x9, x21, #0x7
	ldr	w8, [x8, x9, lsl #2]
	add	w8, w8, w0
	asr	w9, w8, #6
	cmp	w8, #63
	csetm	w10, gt
	lsr	w8, w8, #14
	cmp	w8, #0
	csel	w8, w10, w9, ne
	ldur	x9, [x29, #-96]                 ; 8-byte Folded Reload
	str	w8, [x9, x21, lsl #2]
	add	x21, x21, #1
	add	w28, w28, #4
	cmp	w26, w21
	b.eq	LBB0_14
LBB0_21:                                ;   Parent Loop BB0_12 Depth=1
                                        ;     Parent Loop BB0_16 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	add	x20, x27, w28, sxtw #2
	tst	w21, #0x3
	b.ne	LBB0_20
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=3
	ldur	w8, [x29, #-104]                ; 4-byte Folded Reload
	add	w8, w8, w21
	ldp	x9, x2, [x29, #-120]            ; 16-byte Folded Reload
	add	x1, x9, w8, sxtw #2
	add	x0, x20, #128
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_dctA_c
	b	LBB0_20
LBB0_23:
	ldp	x29, x30, [sp, #256]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #240]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #224]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #208]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #192]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #176]            ; 16-byte Folded Reload
	add	sp, sp, #272
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_dither,8,3                     ; @dither
	.no_dead_strip	_filter
.subsections_via_symbols
