	.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	0x4000000000000000              ## double 2
LCPI0_1:
	.quad	0x3ff0000000000000              ## double 1
LCPI0_3:
	.quad	0x3feccccccccccccd              ## double 0.90000000000000002
LCPI0_5:
	.quad	0x4059000000000000              ## double 100
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_2:
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
LCPI0_4:
	.quad	0x3feccccccccccccd              ## double 0.90000000000000002
	.quad	0x3feccccccccccccd              ## double 0.90000000000000002
	.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	$472, %rsp                      ## imm = 0x1D8
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rsi, -512(%rbp)
	movq	8(%rdi), %rax
	movq	(%rax), %rcx
	movq	8(%rax), %r14
	movq	(%rcx), %r13
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -432(%rbp)
	movq	$0, -416(%rbp)
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	divsd	(%r14), %xmm0
	movsd	%xmm0, -440(%rbp)               ## 8-byte Spill
	movl	16(%rdi), %edi
	callq	_av_pix_fmt_desc_get
	movq	%rax, %rbx
	movl	(%r12), %edi
	movl	4(%rax), %esi
	callq	_AV_CEIL_RSHIFT
	movl	%eax, -448(%rbp)                ## 4-byte Spill
	movl	4(%r12), %edi
	movl	(%rbx), %esi
	callq	_AV_CEIL_RSHIFT
	movl	%eax, -444(%rbp)                ## 4-byte Spill
	movl	(%r13), %esi
	movl	4(%r13), %edx
	movq	%r13, %rdi
	callq	_ff_get_video_buffer
	movq	%rax, -504(%rbp)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_av_frame_copy_props
	movq	(%r15), %rax
	movq	8(%r15), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	xorl	%edx, %edx
	testb	$15, %cl
	sete	%dl
	movl	$4, %edi
	movl	$4, %esi
	movq	%r14, %rcx
	callq	_av_pixelutils_get_sad_fn
	movl	%eax, 120(%r14)
	testl	%eax, %eax
	je	LBB0_3
## %bb.5:
	movsd	-440(%rbp), %xmm0               ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	cvtsd2ss	%xmm0, %xmm0
	movaps	%xmm0, -464(%rbp)               ## 16-byte Spill
	movq	8(%r14), %rdi
	testq	%rdi, %rdi
	movq	%rbx, -440(%rbp)                ## 8-byte Spill
	js	LBB0_9
## %bb.6:
	cmpq	$0, 16(%r14)
	js	LBB0_9
## %bb.7:
	cmpl	$0, 24(%r14)
	js	LBB0_9
## %bb.8:
	cmpq	$0, 32(%r14)
	js	LBB0_9
## %bb.10:
	movq	48(%r14), %rax
	testq	%rax, %rax
	cmoveq	%r15, %rax
	movq	8(%rax), %rax
	movq	(%rax), %rax
	movq	%rax, -480(%rbp)                ## 8-byte Spill
	movq	8(%r15), %rax
	movq	(%rax), %rax
	movq	%rax, -472(%rbp)                ## 8-byte Spill
	movl	(%r12), %esi
	callq	_FFMIN
	movq	%rax, 8(%r14)
	movq	16(%r14), %rdi
	movl	4(%r12), %esi
	callq	_FFMIN
	movq	%rax, 16(%r14)
	movq	8(%r14), %rdx
	movl	24(%r14), %esi
	leal	(%rsi,%rdx), %edi
	movl	(%r12), %ebx
	movl	%ebx, %ecx
	subl	%edx, %ecx
	cmpl	%ebx, %edi
	cmovbel	%esi, %ecx
	movl	4(%r12), %esi
	movl	32(%r14), %r8d
	leal	(%r8,%rax), %edi
	cmpl	%esi, %edi
	jbe	LBB0_12
## %bb.11:
	subq	%rax, %rsi
	movq	%rsi, 32(%r14)
	movl	%esi, %r8d
LBB0_12:
	andl	$-16, %ecx
	movl	%ecx, 24(%r14)
	movq	(%r15), %rsi
	movslq	(%rsi), %r9
	imulq	%r9, %rax
	addq	%rdx, %rax
	movq	-480(%rbp), %rdx                ## 8-byte Reload
	leaq	(%rdx,%rax,4), %rsi
	movq	-472(%rbp), %rdx                ## 8-byte Reload
	leaq	(%rdx,%rax,4), %rdx
	subq	$8, %rsp
	leaq	-432(%rbp), %rax
	movq	%r14, %rdi
                                        ## kill: def $r8d killed $r8d killed $r8
                                        ## kill: def $r9d killed $r9d killed $r9
	jmp	LBB0_13
LBB0_1:
	leaq	-512(%rbp), %rdi
	callq	_av_frame_free
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	movl	%eax, %ebx
	jmp	LBB0_18
LBB0_9:
	movq	48(%r14), %rax
	testq	%rax, %rax
	cmoveq	%r15, %rax
	movq	8(%rax), %rax
	movq	(%rax), %rsi
	movq	(%r15), %rax
	movq	8(%r15), %rcx
	movq	(%rcx), %rdx
	movl	(%r12), %ecx
	movl	4(%r12), %r8d
	movl	(%rax), %r9d
	subq	$8, %rsp
	leaq	-432(%rbp), %rax
	movq	%r14, %rdi
LBB0_13:
	pushq	%rax
	callq	_find_motion
	addq	$16, %rsp
	movss	-432(%rbp), %xmm8               ## xmm8 = mem[0],zero,zero,zero
	movss	-428(%rbp), %xmm3               ## xmm3 = mem[0],zero,zero,zero
	movaps	-464(%rbp), %xmm6               ## 16-byte Reload
	cvtss2sd	%xmm6, %xmm1
	movsd	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero
	subsd	%xmm1, %xmm0
	movaps	%xmm8, %xmm1
	mulss	%xmm6, %xmm1
	cvtss2sd	%xmm1, %xmm1
	movss	104(%r14), %xmm2                ## xmm2 = mem[0],zero,zero,zero
	movss	108(%r14), %xmm4                ## xmm4 = mem[0],zero,zero,zero
	cvtss2sd	%xmm2, %xmm2
	mulsd	%xmm0, %xmm2
	addsd	%xmm1, %xmm2
	cvtsd2ss	%xmm2, %xmm2
	movss	%xmm2, 104(%r14)
	movaps	%xmm3, %xmm1
	mulss	%xmm6, %xmm1
	cvtss2sd	%xmm1, %xmm1
	cvtss2sd	%xmm4, %xmm4
	mulsd	%xmm0, %xmm4
	addsd	%xmm1, %xmm4
	cvtsd2ss	%xmm4, %xmm4
	movss	%xmm4, 108(%r14)
	movaps	%xmm8, %xmm7
	subss	%xmm2, %xmm7
	movaps	%xmm3, %xmm5
	subss	%xmm4, %xmm5
	movss	%xmm5, -428(%rbp)
	movsd	-424(%rbp), %xmm9               ## xmm9 = mem[0],zero
	cvtps2pd	112(%r14), %xmm1
	movsldup	%xmm6, %xmm6                    ## xmm6 = xmm6[0,0,2,2]
	mulps	%xmm9, %xmm6
	cvtps2pd	%xmm6, %xmm6
	movddup	%xmm0, %xmm0                    ## xmm0 = xmm0[0,0]
	mulpd	%xmm1, %xmm0
	addpd	%xmm6, %xmm0
	cvtpd2ps	%xmm0, %xmm0
	movss	%xmm0, 112(%r14)
	movshdup	%xmm0, %xmm1                    ## xmm1 = xmm0[1,1,3,3]
	movss	%xmm1, 116(%r14)
	movaps	%xmm9, %xmm6
	subps	%xmm0, %xmm6
	movaps	LCPI0_2(%rip), %xmm11           ## xmm11 = [-0.0E+0,-0.0E+0,-0.0E+0,-0.0E+0]
	xorps	%xmm11, %xmm6
	pshufd	$245, %xmm6, %xmm10             ## xmm10 = xmm6[1,1,3,3]
	movss	%xmm6, -424(%rbp)
	movd	%xmm10, -420(%rbp)
	xorps	%xmm11, %xmm7
	movss	%xmm7, -432(%rbp)
	cmpq	$0, 96(%r14)
	movq	%r13, -488(%rbp)                ## 8-byte Spill
	movq	%r15, -496(%rbp)                ## 8-byte Spill
	je	LBB0_15
## %bb.14:
	cvttss2si	%xmm9, %ecx
	cvttss2si	%xmm6, %r8d
	movshdup	%xmm9, %xmm6                    ## xmm6 = xmm9[1,1,3,3]
	cvttss2si	%xmm6, %r9d
	cvttss2si	%xmm10, %r10d
	cvttss2si	%xmm8, %ebx
	cvttss2si	%xmm7, %eax
	subq	$8, %rsp
	leaq	L_.str(%rip), %rdx
	leaq	-400(%rbp), %r15
	movq	%r15, %rdi
	movl	$256, %esi                      ## imm = 0x100
	pushq	%rax
	pushq	%rbx
	pushq	%r10
	callq	_snprintf
	addq	$32, %rsp
	movq	%r15, %rdi
	callq	_strlen
	movq	96(%r14), %rcx
	movq	%r15, %rdi
	movl	$1, %esi
	movl	%eax, %edx
	callq	_fwrite
	movsd	-424(%rbp), %xmm6               ## xmm6 = mem[0],zero
	movss	-432(%rbp), %xmm7               ## xmm7 = mem[0],zero,zero,zero
	movss	-428(%rbp), %xmm5               ## xmm5 = mem[0],zero,zero,zero
LBB0_15:
	cvtps2pd	%xmm6, %xmm0
	xorps	%xmm1, %xmm1
	cvtss2sd	%xmm7, %xmm1
	addsd	64(%r14), %xmm1
	cvtsd2ss	%xmm1, %xmm1
	xorps	%xmm2, %xmm2
	cvtss2sd	%xmm5, %xmm2
	addsd	72(%r14), %xmm2
	cvtsd2ss	%xmm2, %xmm2
	cvtss2sd	%xmm1, %xmm1
	mulsd	LCPI0_3(%rip), %xmm1
	cvtsd2ss	%xmm1, %xmm1
	movss	%xmm2, -428(%rbp)
	movss	%xmm1, -432(%rbp)
	movupd	80(%r14), %xmm3
	addpd	%xmm0, %xmm3
	cvtpd2ps	%xmm3, %xmm0
	cvtps2pd	%xmm0, %xmm0
	mulpd	LCPI0_4(%rip), %xmm0
	cvtpd2ps	%xmm0, %xmm3
	movss	%xmm3, -424(%rbp)
	movshdup	%xmm3, %xmm4                    ## xmm4 = xmm3[1,1,3,3]
	cvtps2pd	%xmm3, %xmm0
	movss	%xmm4, -420(%rbp)
	movups	%xmm0, 80(%r14)
	xorps	%xmm0, %xmm0
	cvtss2sd	%xmm1, %xmm0
	movsd	%xmm0, 64(%r14)
	xorps	%xmm1, %xmm1
	cvtss2sd	%xmm2, %xmm1
	movsd	%xmm1, 72(%r14)
	divsd	LCPI0_5(%rip), %xmm1
	addsd	LCPI0_1(%rip), %xmm1
	cvtsd2ss	%xmm1, %xmm1
	cvttss2si	%xmm3, %edi
	cvttss2si	%xmm4, %esi
	leaq	-96(%rbp), %rdx
	movss	%xmm1, -464(%rbp)               ## 4-byte Spill
	movaps	%xmm1, %xmm2
	callq	_ff_get_matrix
	movss	-432(%rbp), %xmm0               ## xmm0 = mem[0],zero,zero,zero
	movss	-424(%rbp), %xmm1               ## xmm1 = mem[0],zero,zero,zero
	movl	(%r12), %eax
	movl	4(%r12), %ecx
	xorl	%edx, %edx
	movl	-448(%rbp), %r13d               ## 4-byte Reload
	divl	%r13d
                                        ## kill: def $eax killed $eax def $rax
	xorps	%xmm2, %xmm2
	cvtsi2ss	%rax, %xmm2
	divss	%xmm2, %xmm1
	cvttss2si	%xmm1, %edi
	movss	-420(%rbp), %xmm1               ## xmm1 = mem[0],zero,zero,zero
	movl	%ecx, %eax
	xorl	%edx, %edx
	movl	-444(%rbp), %r15d               ## 4-byte Reload
	divl	%r15d
                                        ## kill: def $eax killed $eax def $rax
	xorps	%xmm2, %xmm2
	cvtsi2ss	%rax, %xmm2
	divss	%xmm2, %xmm1
	cvttss2si	%xmm1, %esi
	cvtss2sd	%xmm0, %xmm0
	leaq	-144(%rbp), %rdx
	movss	-464(%rbp), %xmm1               ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	movaps	%xmm1, %xmm2
	callq	_ff_get_matrix
	movq	8(%r12), %rdi
	movl	(%r12), %esi
	movl	4(%r12), %edx
	movq	_INTERPOLATE_BILINEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	56(%r14), %ebx
	subq	$8, %rsp
	movl	%r13d, %ecx
	movl	%r15d, %r8d
	leaq	-96(%rbp), %r9
	movq	-440(%rbp), %r12                ## 8-byte Reload
	pushq	%r12
	movq	-496(%rbp), %r15                ## 8-byte Reload
	pushq	%r15
	pushq	%rbx
	pushq	%rax
	leaq	-144(%rbp), %rax
	pushq	%rax
	callq	*40(%r14)
	addq	$48, %rsp
	movl	%eax, %ebx
	addq	$48, %r14
	movq	%r14, %rdi
	callq	_av_frame_free
	testl	%ebx, %ebx
	js	LBB0_17
## %bb.16:
	movq	%r15, (%r14)
	movq	-488(%rbp), %rdi                ## 8-byte Reload
	movq	%r12, %rsi
	callq	_ff_filter_frame
	movl	%eax, %ebx
	jmp	LBB0_18
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_20
## %bb.4:
	addq	$472, %rsp                      ## imm = 0x1D8
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_17:
	leaq	-504(%rbp), %rdi
	callq	_av_frame_free
LBB0_18:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_20
## %bb.19:
	movl	%ebx, %eax
	addq	$472, %rsp                      ## imm = 0x1D8
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%f, %f, %f, %f, %f, %f, %f, %f, %f, %f, %f, %f\n"

	.comm	_INTERPOLATE_BILINEAR,4,2       ## @INTERPOLATE_BILINEAR
	.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:
	stp	d9, d8, [sp, #-112]!            ; 16-byte Folded Spill
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	sub	sp, sp, #432
	mov	x19, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-104]
	str	x1, [sp, #88]
	ldr	x8, [x0, #8]
	ldp	x8, x21, [x8]
	ldr	x20, [x8]
	stp	xzr, xzr, [sp, #56]
	str	xzr, [sp, #72]
	ldr	d8, [x21]
	ldr	w0, [x0, #16]
	bl	_av_pix_fmt_desc_get
	mov	x24, x0
	ldr	w0, [x22]
	ldr	w1, [x24, #4]
	bl	_AV_CEIL_RSHIFT
	mov	x23, x0
	ldr	w0, [x22, #4]
	ldr	w1, [x24]
	bl	_AV_CEIL_RSHIFT
	mov	x25, x0
	ldp	w1, w2, [x20]
	mov	x0, x20
	bl	_ff_get_video_buffer
	str	x0, [sp, #80]
	cbz	x0, LBB0_9
; %bb.1:
	mov	x24, x0
	mov	x1, x19
	bl	_av_frame_copy_props
	ldp	x9, x8, [x19]
	ldr	w8, [x8]
	ldr	w9, [x9]
	orr	w8, w8, w9
	tst	x8, #0xf
	cset	w2, eq
	mov	w0, #4
	mov	w1, #4
	mov	x3, x21
	bl	_av_pixelutils_get_sad_fn
	str	w0, [x21, #120]
	cbz	w0, LBB0_15
; %bb.2:
	fmov	d0, #2.00000000
	fdiv	d0, d0, d8
	fcvt	s0, d0
	str	q0, [sp, #32]                   ; 16-byte Folded Spill
	ldr	x0, [x21, #8]
	tbnz	x0, #63, LBB0_10
; %bb.3:
	ldr	x8, [x21, #16]
	tbnz	x8, #63, LBB0_10
; %bb.4:
	ldr	w8, [x21, #24]
	tbnz	w8, #31, LBB0_10
; %bb.5:
	ldr	x8, [x21, #32]
	tbnz	x8, #63, LBB0_10
; %bb.6:
	ldr	x8, [x21, #48]
	cmp	x8, #0
	csel	x8, x19, x8, eq
	ldr	x8, [x8, #8]
	ldr	x26, [x8]
	ldr	x8, [x19, #8]
	ldr	x27, [x8]
	ldr	w1, [x22]
	bl	_FFMIN
	str	x0, [x21, #8]
	ldr	x0, [x21, #16]
	ldr	w1, [x22, #4]
	bl	_FFMIN
	str	x0, [x21, #16]
	ldr	x8, [x21, #8]
	ldr	w9, [x21, #24]
	ldp	w11, w10, [x22]
	sub	w12, w11, w8
	add	w13, w9, w8
	cmp	w13, w11
	csel	w9, w12, w9, hi
	ldr	w4, [x21, #32]
	add	w11, w4, w0
	cmp	w11, w10
	b.ls	LBB0_8
; %bb.7:
	sub	x4, x10, x0
	str	x4, [x21, #32]
LBB0_8:
	and	w3, w9, #0xfffffff0
	str	w3, [x21, #24]
	ldr	x9, [x19]
	ldrsw	x5, [x9]
	madd	x8, x5, x0, x8
	lsl	x8, x8, #2
	add	x1, x26, x8
	add	x2, x27, x8
	add	x6, sp, #56
	mov	x0, x21
                                        ; kill: def $w4 killed $w4 killed $x4
                                        ; kill: def $w5 killed $w5 killed $x5
	b	LBB0_11
LBB0_9:
	add	x0, sp, #88
	bl	_av_frame_free
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_AVERROR
	mov	x22, x0
	b	LBB0_18
LBB0_10:
	ldr	x8, [x21, #48]
	cmp	x8, #0
	csel	x8, x19, x8, eq
	ldr	x8, [x8, #8]
	ldr	x1, [x8]
	ldp	x9, x8, [x19]
	ldr	x2, [x8]
	ldp	w3, w4, [x22]
	ldr	w5, [x9]
	add	x6, sp, #56
	mov	x0, x21
LBB0_11:
	bl	_find_motion
	ldp	s1, s3, [sp, #56]
	ldr	q17, [sp, #32]                  ; 16-byte Folded Reload
	fcvt	d0, s17
	fmov	d8, #1.00000000
	fsub	d0, d8, d0
	fmul	s2, s1, s17
	fcvt	d2, s2
	ldp	s4, s5, [x21, #104]
	fcvt	d4, s4
	fmadd	d2, d0, d4, d2
	fcvt	s2, d2
	str	s2, [x21, #104]
	fmul	s4, s3, s17
	fcvt	d4, s4
	fcvt	d5, s5
	fmadd	d4, d0, d5, d4
	fcvt	s4, d4
	str	s4, [x21, #108]
	fsub	s6, s1, s2
	fsub	s5, s3, s4
	ldr	d16, [sp, #64]
	ldr	d7, [x21, #112]
	fcvtl	v7.2d, v7.2s
	fmul.2s	v17, v16, v17[0]
	fcvtl	v17.2d, v17.2s
	fmla.2d	v17, v7, v0[0]
	fcvtn	v0.2s, v17.2d
	str	d0, [x21, #112]
	fsub.2s	v7, v16, v0
	fneg.2s	v7, v7
	str	d7, [sp, #64]
	fneg	s6, s6
	stp	s6, s5, [sp, #56]
	ldr	x8, [x21, #96]
	cbz	x8, LBB0_13
; %bb.12:
	fcvtzs	w3, s16
	fcvtzs	w4, s7
	mov	s16, v16[1]
	fcvtzs	w5, s16
	mov	s7, v7[1]
	fcvtzs	w6, s7
	fcvtzs	w7, s1
	fcvtzs	w8, s6
	mov	s1, v0[1]
	str	w8, [sp]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #96
                                        ; kill: def $s0 killed $s0 killed $q0
	mov	w1, #256
	bl	_snprintf
	add	x0, sp, #96
	bl	_strlen
	mov	x2, x0
	ldr	x3, [x21, #96]
	add	x0, sp, #96
	mov	w1, #1
	bl	_fwrite
	ldr	d7, [sp, #64]
	ldp	s6, s5, [sp, #56]
LBB0_13:
	fcvtl	v0.2d, v7.2s
	fcvt	d1, s6
	ldp	d2, d3, [x21, #64]
	fadd	d1, d2, d1
	fcvt	s1, d1
	fcvt	d2, s5
	fadd	d2, d3, d2
	fcvt	s2, d2
	fcvt	d1, s1
	mov	x8, #-3689348814741910324
	movk	x8, #52429
	movk	x8, #16364, lsl #48
	dup.2d	v3, x8
	fmov	d4, x8
	fmul	d1, d1, d4
	fcvt	s1, d1
	stp	s1, s2, [sp, #56]
	ldr	q4, [x21, #80]
	fadd.2d	v0, v4, v0
	fcvtn	v0.2s, v0.2d
	fcvtl	v0.2d, v0.2s
	fmul.2d	v0, v0, v3
	fcvtn	v3.2s, v0.2d
	str	d3, [sp, #64]
	mov	s4, v3[1]
	fcvtl	v0.2d, v3.2s
	str	q0, [x21, #80]
	fcvt	d0, s1
	str	d0, [x21, #64]
	fcvt	d1, s2
	str	d1, [x21, #72]
	mov	x8, #4636737291354636288
	fmov	d2, x8
	fdiv	d1, d1, d2
	fadd	d1, d1, d8
	fcvt	s8, d1
	fcvtzs	w0, s3
	fcvtzs	w1, s4
	sub	x2, x29, #140
	fmov	s1, s8
	fmov	s2, s8
	bl	_ff_get_matrix
	ldp	w8, w9, [x22]
	udiv	w8, w8, w23
	ucvtf	s0, w8
	ldr	s1, [sp, #64]
	ldr	s2, [sp, #56]
	fdiv	s0, s1, s0
	fcvtzs	w0, s0
	ldr	s0, [sp, #68]
	udiv	w8, w9, w25
	ucvtf	s1, w8
	fdiv	s0, s0, s1
	fcvtzs	w1, s0
	fcvt	d0, s2
	sub	x2, x29, #176
	fmov	s1, s8
	fmov	s2, s8
	bl	_ff_get_matrix
	ldr	x8, [x21, #40]
	ldr	x0, [x22, #8]
	ldp	w1, w2, [x22]
Lloh8:
	adrp	x9, _INTERPOLATE_BILINEAR@GOTPAGE
Lloh9:
	ldr	x9, [x9, _INTERPOLATE_BILINEAR@GOTPAGEOFF]
Lloh10:
	ldr	w7, [x9]
	ldr	w9, [x21, #56]
	stp	x19, x24, [sp, #8]
	sub	x5, x29, #140
	sub	x6, x29, #176
	str	w9, [sp]
	mov	x3, x23
	mov	x4, x25
	blr	x8
	mov	x22, x0
	add	x21, x21, #48
	mov	x0, x21
	bl	_av_frame_free
	tbnz	w22, #31, LBB0_17
; %bb.14:
	str	x19, [x21]
	mov	x0, x20
	mov	x1, x24
	bl	_ff_filter_frame
	mov	x22, x0
	b	LBB0_18
LBB0_15:
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ldur	x8, [x29, #-104]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.16:
	add	sp, sp, #432
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #112              ; 16-byte Folded Reload
	b	_AVERROR
LBB0_17:
	add	x0, sp, #80
	bl	_av_frame_free
LBB0_18:
	ldur	x8, [x29, #-104]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.19:
	mov	x0, x22
	add	sp, sp, #432
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #112              ; 16-byte Folded Reload
	ret
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%f, %f, %f, %f, %f, %f, %f, %f, %f, %f, %f, %f\n"

	.comm	_INTERPOLATE_BILINEAR,4,2       ; @INTERPOLATE_BILINEAR
	.no_dead_strip	_filter_frame
.subsections_via_symbols
