	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function filter_frame
LCPI0_0:
	.quad	0x406fe00000000000              ## double 255
LCPI0_1:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_filter_frame:                          ## @filter_frame
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, -112(%rbp)                ## 8-byte Spill
	movq	(%rdi), %rax
	movq	8(%rax), %r12
	movslq	(%r12), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	4(%r12), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	cmpq	$0, 56(%r12)
	je	LBB0_19
## %bb.1:
	cmpq	$0, 48(%r12)
	je	LBB0_19
## %bb.2:
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	xorl	%esi, %esi
	callq	_FFMAX
	movl	%eax, %r14d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_3 Depth=1
	incl	%r14d
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
                                        ##     Child Loop BB0_14 Depth 2
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpl	(%rax), %r14d
	jge	LBB0_36
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	8(%r12), %eax
	addl	-52(%rbp), %eax                 ## 4-byte Folded Reload
	cmpl	%eax, %r14d
	jge	LBB0_36
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rax
	movq	16(%rcx), %rdx
	movq	(%rax), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	24(%rax), %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movb	12(%r12), %cl
	movl	%r14d, %esi
	sarl	%cl, %esi
	movl	(%rdx), %ecx
	movl	%ecx, -84(%rbp)                 ## 4-byte Spill
	movl	12(%rdx), %ecx
	movl	%ecx, -100(%rbp)                ## 4-byte Spill
	movslq	4(%rdx), %r13
	movslq	%esi, %rcx
	imulq	%rcx, %r13
	addq	8(%rax), %r13
	movslq	8(%rdx), %r15
	imulq	%rcx, %r15
	addq	16(%rax), %r15
	movq	40(%r12), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_FFMAX
	movl	16(%r12), %ecx
	addl	%ebx, %ecx
	cmpq	$0, -96(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%ecx, %eax
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	jge	LBB0_18
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	%eax, %rbx
	movl	-84(%rbp), %eax                 ## 4-byte Reload
	imull	%r14d, %eax
	cltq
	addq	%rax, %r15
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=2
	incq	%rbx
	movslq	16(%r12), %rax
	addq	-80(%rbp), %rax                 ## 8-byte Folded Reload
	cmpq	%rax, %rbx
	jge	LBB0_18
LBB0_8:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movslq	24(%rax), %rax
	cmpq	%rax, %rbx
	jge	LBB0_18
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%r14d, %edx
	callq	_pixel_belongs_to_box
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=2
	notb	(%r15,%rbx)
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	-100(%rbp), %edx                ## 4-byte Reload
	cmpl	%ecx, %eax
	jge	LBB0_18
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	movslq	%eax, %rbx
	movl	-84(%rbp), %eax                 ## 4-byte Reload
	imull	%r14d, %eax
	cltq
	addq	%rax, -64(%rbp)                 ## 8-byte Folded Spill
	imull	%r14d, %edx
	movslq	%edx, %rax
	addq	%rax, -72(%rbp)                 ## 8-byte Folded Spill
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_14 Depth=2
	incq	%rbx
	movslq	16(%r12), %rax
	addq	-80(%rbp), %rax                 ## 8-byte Folded Reload
	cmpq	%rax, %rbx
	jge	LBB0_18
LBB0_14:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movslq	24(%rax), %rax
	cmpq	%rax, %rbx
	jge	LBB0_18
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=2
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%r14d, %edx
	callq	_pixel_belongs_to_box
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=2
	movq	%r13, %rdi
	movq	24(%r12), %rax
	movq	_Y@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movzbl	(%rax,%rcx), %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movb	%al, (%rcx,%rbx)
	movq	24(%r12), %rax
	movq	_U@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movzbl	32(%r12), %ecx
	movl	%ebx, %esi
	sarl	%cl, %esi
	movzbl	(%rax,%rdx), %eax
	movslq	%esi, %rcx
	movb	%al, (%r13,%rcx)
	movq	24(%r12), %rax
	movzbl	32(%r12), %ecx
	movl	%ebx, %edx
	sarl	%cl, %edx
	movq	_V@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movzbl	(%rax,%rcx), %eax
	movslq	%edx, %rcx
	movb	%al, (%r15,%rcx)
	movq	24(%r12), %rax
	movq	_A@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movzbl	(%rax,%rcx), %eax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movb	%al, (%rcx,%rbx)
	jmp	LBB0_17
LBB0_19:
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	xorl	%esi, %esi
	callq	_FFMAX
	movl	%eax, %r14d
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_35:                                ##   in Loop: Header=BB0_20 Depth=1
	incl	%r14d
LBB0_20:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_25 Depth 2
                                        ##     Child Loop BB0_31 Depth 2
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpl	(%rax), %r14d
	jge	LBB0_36
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	movl	8(%r12), %eax
	addl	-52(%rbp), %eax                 ## 4-byte Folded Reload
	cmpl	%eax, %r14d
	jge	LBB0_36
## %bb.22:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rax
	movq	16(%rcx), %rdx
	movb	12(%r12), %cl
	movl	%r14d, %esi
	sarl	%cl, %esi
	movq	(%rax), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	(%rdx), %ecx
	movl	%ecx, -96(%rbp)                 ## 4-byte Spill
	movslq	4(%rdx), %r13
	movslq	%esi, %rcx
	imulq	%rcx, %r13
	addq	8(%rax), %r13
	movslq	8(%rdx), %r15
	imulq	%rcx, %r15
	addq	16(%rax), %r15
	movq	40(%r12), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_FFMAX
	movl	16(%r12), %ecx
	addl	%ebx, %ecx
	cmpq	$0, -72(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_29
## %bb.23:                              ##   in Loop: Header=BB0_20 Depth=1
	cmpl	%ecx, %eax
	jge	LBB0_35
## %bb.24:                              ##   in Loop: Header=BB0_20 Depth=1
	movslq	%eax, %rbx
	movl	-96(%rbp), %eax                 ## 4-byte Reload
	imull	%r14d, %eax
	cltq
	addq	%rax, -64(%rbp)                 ## 8-byte Folded Spill
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_25 Depth=2
	incq	%rbx
	movslq	16(%r12), %rax
	addq	-80(%rbp), %rax                 ## 8-byte Folded Reload
	cmpq	%rax, %rbx
	jge	LBB0_35
LBB0_25:                                ##   Parent Loop BB0_20 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movslq	24(%rax), %rax
	cmpq	%rax, %rbx
	jge	LBB0_35
## %bb.26:                              ##   in Loop: Header=BB0_25 Depth=2
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%r14d, %edx
	callq	_pixel_belongs_to_box
	testq	%rax, %rax
	je	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_25 Depth=2
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	notb	(%rax,%rbx)
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	cmpl	%ecx, %eax
	jge	LBB0_35
## %bb.30:                              ##   in Loop: Header=BB0_20 Depth=1
	movslq	%eax, %r13
	movl	-96(%rbp), %eax                 ## 4-byte Reload
	imull	%r14d, %eax
	cltq
	addq	%rax, -64(%rbp)                 ## 8-byte Folded Spill
	jmp	LBB0_31
	.p2align	4, 0x90
LBB0_34:                                ##   in Loop: Header=BB0_31 Depth=2
	incq	%r13
	movslq	16(%r12), %rax
	addq	-80(%rbp), %rax                 ## 8-byte Folded Reload
	cmpq	%rax, %r13
	jge	LBB0_35
LBB0_31:                                ##   Parent Loop BB0_20 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movslq	24(%rax), %rax
	cmpq	%rax, %r13
	jge	LBB0_35
## %bb.32:                              ##   in Loop: Header=BB0_31 Depth=2
	movq	24(%r12), %rax
	movq	_A@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movzbl	(%rax,%rcx), %ebx
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	%r14d, %edx
	callq	_pixel_belongs_to_box
	testq	%rax, %rax
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	je	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_31 Depth=2
	movzbl	%bl, %eax
	cvtsi2sd	%eax, %xmm0
	divsd	LCPI0_0(%rip), %xmm0
	movsd	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movzbl	(%rdx,%r13), %eax
	xorps	%xmm2, %xmm2
	cvtsi2sd	%eax, %xmm2
	subsd	%xmm0, %xmm1
	movq	24(%r12), %rax
	movq	_Y@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movzbl	(%rax,%rcx), %eax
	xorps	%xmm3, %xmm3
	cvtsi2sd	%eax, %xmm3
	mulsd	%xmm0, %xmm3
	mulsd	%xmm1, %xmm2
	addsd	%xmm3, %xmm2
	cvttsd2si	%xmm2, %eax
	movb	%al, (%rdx,%r13)
	movzbl	32(%r12), %ecx
	movl	%r13d, %eax
	sarl	%cl, %eax
	cltq
	movzbl	(%rsi,%rax), %ecx
	xorps	%xmm2, %xmm2
	cvtsi2sd	%ecx, %xmm2
	movq	24(%r12), %rcx
	movq	_U@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movzbl	(%rcx,%rdx), %ecx
	xorps	%xmm3, %xmm3
	cvtsi2sd	%ecx, %xmm3
	mulsd	%xmm0, %xmm3
	mulsd	%xmm1, %xmm2
	addsd	%xmm3, %xmm2
	cvttsd2si	%xmm2, %ecx
	movb	%cl, (%rsi,%rax)
	movzbl	32(%r12), %ecx
	movl	%r13d, %eax
	sarl	%cl, %eax
	cltq
	movzbl	(%r15,%rax), %ecx
	xorps	%xmm2, %xmm2
	cvtsi2sd	%ecx, %xmm2
	movq	24(%r12), %rcx
	movq	_V@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movzbl	(%rcx,%rdx), %ecx
	xorps	%xmm3, %xmm3
	cvtsi2sd	%ecx, %xmm3
	mulsd	%xmm0, %xmm3
	mulsd	%xmm1, %xmm2
	addsd	%xmm3, %xmm2
	cvttsd2si	%xmm2, %ecx
	movb	%cl, (%r15,%rax)
	jmp	LBB0_34
LBB0_36:
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ff_filter_frame                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_Y,8,3                          ## @Y
	.comm	_U,8,3                          ## @U
	.comm	_V,8,3                          ## @V
	.comm	_A,8,3                          ## @A
	.no_dead_strip	_filter_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filter_frame
_filter_frame:                          ; @filter_frame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	d9, d8, [sp, #48]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	mov	x19, x1
	str	x0, [sp]                        ; 8-byte Folded Spill
	ldr	x8, [x0]
	ldr	x21, [x8, #8]
	ldp	w22, w8, [x21]
                                        ; kill: def $w22 killed $w22 def $x22
	sxtw	x22, w22
	str	w8, [sp, #44]                   ; 4-byte Folded Spill
	ldr	x8, [x21, #56]
	cbz	x8, LBB0_19
; %bb.1:
	ldr	x8, [x21, #48]
	cbz	x8, LBB0_19
; %bb.2:
	ldr	w0, [sp, #44]                   ; 4-byte Folded Reload
	mov	w1, #0
	bl	_FFMAX
	ldr	w8, [x19]
	cmp	w0, w8
	b.ge	LBB0_36
; %bb.3:
	mov	x24, x0
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w24, w24, #1
	ldr	w8, [x19]
	cmp	w24, w8
	b.ge	LBB0_36
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
                                        ;     Child Loop BB0_16 Depth 2
	ldr	w8, [x21, #8]
	ldr	w9, [sp, #44]                   ; 4-byte Folded Reload
	add	w8, w8, w9
	cmp	w24, w8
	b.ge	LBB0_36
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldp	x8, x9, [x19, #8]
	ldr	w11, [x21, #12]
	ldr	x10, [x8]
	str	x10, [sp, #32]                  ; 8-byte Folded Spill
	ldp	x10, x26, [x8, #8]
	stp	x11, x10, [sp, #8]              ; 16-byte Folded Spill
	ldp	w10, w27, [x9]
                                        ; kill: def $w27 killed $w27 def $x27
	sxtw	x27, w27
	str	w10, [sp, #28]                  ; 4-byte Folded Spill
	ldr	x23, [x8, #24]
	ldp	w20, w25, [x9, #8]
                                        ; kill: def $w20 killed $w20 def $x20
	sxtw	x20, w20
	ldr	x28, [x21, #40]
	mov	x0, x22
	mov	w1, #0
	bl	_FFMAX
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w8, [x21, #16]
	add	w8, w8, w22
	cbz	x28, LBB0_13
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w0, w8
	b.ge	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	sxtw	x25, w0
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	mul	w8, w8, w24
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	add	x20, x9, w8, sxtw
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=2
	add	x25, x25, #1
	ldrsw	x8, [x21, #16]
	add	x8, x8, x22
	cmp	x25, x8
	b.ge	LBB0_4
LBB0_10:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsw	x8, [x19, #24]
	cmp	x25, x8
	b.ge	LBB0_4
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	mov	x0, x21
	mov	x1, x25
	mov	x2, x24
	bl	_pixel_belongs_to_box
	cbz	x0, LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=2
	ldrb	w8, [x20, x25]
	mvn	w8, w8
	strb	w8, [x20, x25]
	b	LBB0_9
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	ldp	x13, x12, [sp, #8]              ; 16-byte Folded Reload
	cmp	w0, w8
	b.ge	LBB0_4
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x9, x20
	mov	x11, x25
	asr	w8, w24, w13
	sxtw	x8, w8
	madd	x20, x8, x27, x12
	madd	x26, x8, x9, x26
                                        ; kill: def $w0 killed $w0 killed $x0 def $x0
	sxtw	x25, w0
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	mul	w8, w8, w24
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	add	x27, x9, w8, sxtw
	mul	w8, w11, w24
	add	x28, x23, w8, sxtw
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=2
	add	x25, x25, #1
	ldrsw	x8, [x21, #16]
	add	x8, x8, x22
	cmp	x25, x8
	b.ge	LBB0_4
LBB0_16:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsw	x8, [x19, #24]
	cmp	x25, x8
	b.ge	LBB0_4
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=2
	mov	x0, x21
	mov	x1, x25
	mov	x2, x24
	bl	_pixel_belongs_to_box
	cbz	x0, LBB0_15
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=2
	ldr	x8, [x21, #24]
Lloh0:
	adrp	x9, _Y@GOTPAGE
Lloh1:
	ldr	x9, [x9, _Y@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldrb	w8, [x8, x9]
	strb	w8, [x27, x25]
	ldr	x8, [x21, #24]
Lloh3:
	adrp	x9, _U@GOTPAGE
Lloh4:
	ldr	x9, [x9, _U@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldrb	w8, [x8, x9]
	ldr	w9, [x21, #32]
	asr	w9, w25, w9
	strb	w8, [x20, w9, sxtw]
	ldr	x8, [x21, #24]
Lloh6:
	adrp	x9, _V@GOTPAGE
Lloh7:
	ldr	x9, [x9, _V@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldrb	w8, [x8, x9]
	ldr	w9, [x21, #32]
	asr	w9, w25, w9
	strb	w8, [x26, w9, sxtw]
	ldr	x8, [x21, #24]
Lloh9:
	adrp	x9, _A@GOTPAGE
Lloh10:
	ldr	x9, [x9, _A@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	ldrb	w8, [x8, x9]
	strb	w8, [x28, x25]
	b	LBB0_15
LBB0_19:
	ldr	w0, [sp, #44]                   ; 4-byte Folded Reload
	mov	w1, #0
	bl	_FFMAX
	ldr	w8, [x19]
	cmp	w0, w8
	b.ge	LBB0_36
; %bb.20:
	mov	x24, x0
	fmov	d8, #1.00000000
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_22 Depth=1
	add	w24, w24, #1
	ldr	w8, [x19]
	cmp	w24, w8
	b.ge	LBB0_36
LBB0_22:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_27 Depth 2
                                        ;     Child Loop BB0_33 Depth 2
	ldr	w8, [x21, #8]
	ldr	w9, [sp, #44]                   ; 4-byte Folded Reload
	add	w8, w8, w9
	cmp	w24, w8
	b.ge	LBB0_36
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	ldp	x8, x9, [x19, #8]
	ldr	w28, [x21, #12]
	ldp	x10, x20, [x8]
	str	x10, [sp, #32]                  ; 8-byte Folded Spill
	ldp	w10, w27, [x9]
                                        ; kill: def $w27 killed $w27 def $x27
	sxtw	x27, w27
	str	w10, [sp, #28]                  ; 4-byte Folded Spill
	ldr	x25, [x8, #16]
	ldrsw	x26, [x9, #8]
	ldr	x23, [x21, #40]
	mov	x0, x22
	mov	w1, #0
	bl	_FFMAX
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w8, [x21, #16]
	add	w8, w8, w22
	cmp	w0, w8
	cbz	x23, LBB0_30
; %bb.24:                               ;   in Loop: Header=BB0_22 Depth=1
	b.ge	LBB0_21
; %bb.25:                               ;   in Loop: Header=BB0_22 Depth=1
	sxtw	x25, w0
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	mul	w8, w8, w24
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	add	x20, x9, w8, sxtw
	b	LBB0_27
LBB0_26:                                ;   in Loop: Header=BB0_27 Depth=2
	add	x25, x25, #1
	ldrsw	x8, [x21, #16]
	add	x8, x8, x22
	cmp	x25, x8
	b.ge	LBB0_21
LBB0_27:                                ;   Parent Loop BB0_22 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsw	x8, [x19, #24]
	cmp	x25, x8
	b.ge	LBB0_21
; %bb.28:                               ;   in Loop: Header=BB0_27 Depth=2
	mov	x0, x21
	mov	x1, x25
	mov	x2, x24
	bl	_pixel_belongs_to_box
	cbz	x0, LBB0_26
; %bb.29:                               ;   in Loop: Header=BB0_27 Depth=2
	ldrb	w8, [x20, x25]
	mvn	w8, w8
	strb	w8, [x20, x25]
	b	LBB0_26
LBB0_30:                                ;   in Loop: Header=BB0_22 Depth=1
	b.ge	LBB0_21
; %bb.31:                               ;   in Loop: Header=BB0_22 Depth=1
	asr	w8, w24, w28
	sxtw	x8, w8
	madd	x27, x8, x27, x20
	madd	x20, x8, x26, x25
                                        ; kill: def $w0 killed $w0 killed $x0 def $x0
	sxtw	x25, w0
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	mul	w8, w8, w24
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	add	x28, x9, w8, sxtw
	b	LBB0_33
LBB0_32:                                ;   in Loop: Header=BB0_33 Depth=2
	add	x25, x25, #1
	ldrsw	x8, [x21, #16]
	add	x8, x8, x22
	cmp	x25, x8
	b.ge	LBB0_21
LBB0_33:                                ;   Parent Loop BB0_22 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsw	x8, [x19, #24]
	cmp	x25, x8
	b.ge	LBB0_21
; %bb.34:                               ;   in Loop: Header=BB0_33 Depth=2
	ldr	x8, [x21, #24]
Lloh12:
	adrp	x9, _A@GOTPAGE
Lloh13:
	ldr	x9, [x9, _A@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	ldrb	w23, [x8, x9]
	mov	x0, x21
	mov	x1, x25
	mov	x2, x24
	bl	_pixel_belongs_to_box
	cbz	x0, LBB0_32
; %bb.35:                               ;   in Loop: Header=BB0_33 Depth=2
	ucvtf	d0, w23
	mov	x8, #246290604621824
	movk	x8, #16495, lsl #48
	fmov	d1, x8
	fdiv	d0, d0, d1
	fsub	d1, d8, d0
	ldr	b2, [x28, x25]
	ucvtf	d2, d2
	ldr	x8, [x21, #24]
Lloh15:
	adrp	x9, _Y@GOTPAGE
Lloh16:
	ldr	x9, [x9, _Y@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	ldr	b3, [x8, x9]
	ucvtf	d3, d3
	fmul	d3, d0, d3
	fmadd	d2, d1, d2, d3
	fcvtzs	w8, d2
	strb	w8, [x28, x25]
	ldr	w8, [x21, #32]
	asr	w8, w25, w8
	sxtw	x8, w8
	ldr	b2, [x27, x8]
	ucvtf	d2, d2
	ldr	x9, [x21, #24]
Lloh18:
	adrp	x10, _U@GOTPAGE
Lloh19:
	ldr	x10, [x10, _U@GOTPAGEOFF]
Lloh20:
	ldr	x10, [x10]
	ldr	b3, [x9, x10]
	ucvtf	d3, d3
	fmul	d3, d0, d3
	fmadd	d2, d1, d2, d3
	fcvtzs	w9, d2
	strb	w9, [x27, x8]
	ldr	w8, [x21, #32]
	asr	w8, w25, w8
	sxtw	x8, w8
	ldr	b2, [x20, x8]
	ucvtf	d2, d2
	ldr	x9, [x21, #24]
Lloh21:
	adrp	x10, _V@GOTPAGE
Lloh22:
	ldr	x10, [x10, _V@GOTPAGEOFF]
Lloh23:
	ldr	x10, [x10]
	ldr	b3, [x9, x10]
	ucvtf	d3, d3
	fmul	d0, d0, d3
	fmadd	d0, d1, d2, d0
	fcvtzs	w9, d0
	strb	w9, [x20, x8]
	b	LBB0_32
LBB0_36:
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	w0, [x8]
	mov	x1, x19
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #48]               ; 16-byte Folded Reload
	add	sp, sp, #160
	b	_ff_filter_frame
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_Y,8,3                          ; @Y
	.comm	_U,8,3                          ; @U
	.comm	_V,8,3                          ; @V
	.comm	_A,8,3                          ; @A
	.no_dead_strip	_filter_frame
.subsections_via_symbols
