	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	3                               ## -- Begin function main
LCPI0_0:
	.quad	0x40f86a0000000000              ## double 1.0E+5
	.quad	0x3ff0000000000000              ## double 1
LCPI0_1:
	.quad	0x4025ff7ced916873              ## double 10.999000000000001
	.quad	0x4024000000000000              ## double 10
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_2:
	.quad	0x408f400000000000              ## double 1000
LCPI0_3:
	.quad	0x3feff7ced916872b              ## double 0.99899999999999999
LCPI0_4:
	.quad	0x3f50624dd2f1a9fc              ## double 0.001
LCPI0_5:
	.quad	0x3ff0000000000000              ## double 1
LCPI0_6:
	.quad	0x41cdcd6500000000              ## double 1.0E+9
LCPI0_7:
	.quad	0x3fe999999999999a              ## double 0.80000000000000004
LCPI0_8:
	.quad	0x3ff35c28f5c28f5c              ## double 1.21
LCPI0_9:
	.quad	0x3fa999999999999a              ## double 0.050000000000000003
LCPI0_10:
	.quad	0x4024000000000000              ## double 10
LCPI0_11:
	.quad	0x4044000000000000              ## double 40
LCPI0_12:
	.quad	0x0000000000000000              ## double 0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_main
	.p2align	4, 0x90
_main:                                  ## @main
	.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
	pushq	%rax
	movl	$24120, %eax                    ## imm = 0x5E38
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-24148(%rbp), %r15
	leaq	L_str.4(%rip), %r12
	xorpd	%xmm1, %xmm1
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	$10, %edi
	callq	_putchar
	movsd	-24088(%rbp), %xmm1             ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	addsd	%xmm1, %xmm1
	addsd	LCPI0_5(%rip), %xmm1
	movsd	LCPI0_11(%rip), %xmm0           ## xmm0 = mem[0],zero
	ucomisd	%xmm1, %xmm0
	jbe	LBB0_29
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
                                        ##       Child Loop BB0_3 Depth 3
                                        ##       Child Loop BB0_9 Depth 3
                                        ##         Child Loop BB0_11 Depth 4
                                        ##           Child Loop BB0_12 Depth 5
                                        ##             Child Loop BB0_18 Depth 6
	movsd	%xmm1, -24088(%rbp)             ## 8-byte Spill
	movapd	%xmm1, %xmm0
	cmpneqsd	LCPI0_12(%rip), %xmm0
	movq	%xmm0, %rax
	andl	$1, %eax
	leaq	LCPI0_0(%rip), %rcx
	movsd	(%rcx,%rax,8), %xmm0            ## xmm0 = mem[0],zero
	movsd	%xmm0, -24120(%rbp)             ## 8-byte Spill
	xorpd	%xmm1, %xmm1
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_2 Depth=2
	leaq	L_.str.2(%rip), %rdi
	movsd	-24064(%rbp), %xmm0             ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	-24072(%rbp), %xmm1             ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	movsd	-24112(%rbp), %xmm2             ## 8-byte Reload
                                        ## xmm2 = mem[0],zero
	movb	$3, %al
	callq	_printf
	movsd	-24096(%rbp), %xmm1             ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	addsd	%xmm1, %xmm1
	addsd	LCPI0_5(%rip), %xmm1
	movsd	LCPI0_10(%rip), %xmm0           ## xmm0 = mem[0],zero
	ucomisd	%xmm1, %xmm0
	jbe	LBB0_28
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_3 Depth 3
                                        ##       Child Loop BB0_9 Depth 3
                                        ##         Child Loop BB0_11 Depth 4
                                        ##           Child Loop BB0_12 Depth 5
                                        ##             Child Loop BB0_18 Depth 6
	movsd	%xmm1, -24096(%rbp)             ## 8-byte Spill
	movq	%r15, %rdi
	movl	$123, %esi
	callq	_av_lfg_init
	movq	%r15, %rdi
	callq	_av_lfg_get
	movq	_LFG_MAX@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	movl	%ecx, %edx
	shrl	$31, %edx
	addl	%ecx, %edx
	sarl	%edx
	xorl	%ecx, %ecx
	cmpl	%edx, %eax
	setl	%cl
	leaq	LCPI0_1(%rip), %rax
	movsd	(%rax,%rcx,8), %xmm0            ## xmm0 = mem[0],zero
	movsd	%xmm0, -24048(%rbp)
	movsd	-24096(%rbp), %xmm1             ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	mulsd	LCPI0_12(%rip), %xmm1
	divsd	LCPI0_2(%rip), %xmm1
	addsd	%xmm0, %xmm1
	movsd	%xmm1, -24104(%rbp)             ## 8-byte Spill
	movq	%r15, %rdi
	callq	_av_lfg_get
	movslq	(%rbx), %rcx
	movl	%ecx, %edx
	shrl	$31, %edx
	addl	%ecx, %edx
	sarl	%edx
	subl	%edx, %eax
	xorps	%xmm1, %xmm1
	cvtsi2sd	%eax, %xmm1
	mulsd	-24088(%rbp), %xmm1             ## 8-byte Folded Reload
	addq	%rcx, %rcx
	leaq	(%rcx,%rcx,4), %rax
	xorps	%xmm0, %xmm0
	cvtsi2sd	%rax, %xmm0
	divsd	%xmm0, %xmm1
	addsd	-24104(%rbp), %xmm1             ## 8-byte Folded Reload
	movsd	%xmm1, -24128(%rbp)             ## 8-byte Spill
	movsd	%xmm1, -16048(%rbp)
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=3
	incq	%rbx
	cmpq	$999, %rbx                      ## imm = 0x3E7
	je	LBB0_8
LBB0_3:                                 ##   Parent Loop BB0_1 Depth=1
                                        ##     Parent Loop BB0_2 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	leal	1(%rbx), %r14d
	leal	11(%rbx), %r13d
	movq	%r15, %rdi
	callq	_av_lfg_get
	movq	_LFG_MAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %edx
	shrl	$31, %edx
	addl	%ecx, %edx
	sarl	%edx
	xorpd	%xmm0, %xmm0
	cmpl	%edx, %eax
	jl	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=3
	movsd	LCPI0_3(%rip), %xmm0            ## xmm0 = mem[0],zero
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=3
	xorps	%xmm1, %xmm1
	cvtsi2sd	%r13d, %xmm1
	addsd	%xmm0, %xmm1
	movsd	%xmm1, -24040(%rbp,%rbx,8)
	xorps	%xmm0, %xmm0
	cvtsi2sd	%r14d, %xmm0
	mulsd	-24096(%rbp), %xmm0             ## 8-byte Folded Reload
	divsd	LCPI0_2(%rip), %xmm0
	addsd	%xmm1, %xmm0
	movsd	%xmm0, -24056(%rbp)             ## 8-byte Spill
	movsd	%xmm0, -8040(%rbp,%rbx,8)
	movq	%r15, %rdi
	callq	_av_lfg_get
	movq	_LFG_MAX@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movl	%ecx, %edx
	shrl	$31, %edx
	addl	%ecx, %edx
	sarl	%edx
	subl	%edx, %eax
	xorps	%xmm1, %xmm1
	cvtsi2sd	%eax, %xmm1
	mulsd	-24088(%rbp), %xmm1             ## 8-byte Folded Reload
	addq	%rcx, %rcx
	leaq	(%rcx,%rcx,4), %rax
	xorps	%xmm0, %xmm0
	cvtsi2sd	%rax, %xmm0
	divsd	%xmm0, %xmm1
	addsd	-24056(%rbp), %xmm1             ## 8-byte Folded Reload
	movsd	%xmm1, -16040(%rbp,%rbx,8)
	movsd	-16048(%rbp,%rbx,8), %xmm0      ## xmm0 = mem[0],zero
	ucomisd	%xmm1, %xmm0
	jbe	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=3
	addsd	LCPI0_4(%rip), %xmm0
	movsd	%xmm0, -16040(%rbp,%rbx,8)
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=2
	movsd	LCPI0_6(%rip), %xmm0            ## xmm0 = mem[0],zero
	movsd	%xmm0, -24112(%rbp)             ## 8-byte Spill
	movsd	-24120(%rbp), %xmm0             ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	%xmm0, -24064(%rbp)             ## 8-byte Spill
	movsd	LCPI0_5(%rip), %xmm0            ## xmm0 = mem[0],zero
	movsd	%xmm0, -24072(%rbp)             ## 8-byte Spill
	movsd	LCPI0_8(%rip), %xmm1            ## xmm1 = mem[0],zero
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_9 Depth=3
	testl	%r14d, %r14d
	je	LBB0_27
LBB0_9:                                 ##   Parent Loop BB0_1 Depth=1
                                        ##     Parent Loop BB0_2 Depth=2
                                        ## =>    This Loop Header: Depth=3
                                        ##         Child Loop BB0_11 Depth 4
                                        ##           Child Loop BB0_12 Depth 5
                                        ##             Child Loop BB0_18 Depth 6
	movsd	-24064(%rbp), %xmm0             ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movapd	%xmm0, %xmm2
	mulsd	LCPI0_7(%rip), %xmm2
	mulsd	%xmm1, %xmm0
	movsd	%xmm2, -24080(%rbp)             ## 8-byte Spill
	ucomisd	%xmm2, %xmm0
	jb	LBB0_27
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=3
	xorl	%r14d, %r14d
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_11 Depth=4
	movsd	-24064(%rbp), %xmm2             ## 8-byte Reload
                                        ## xmm2 = mem[0],zero
	movapd	%xmm2, %xmm0
	mulsd	LCPI0_9(%rip), %xmm0
	movsd	-24080(%rbp), %xmm3             ## 8-byte Reload
                                        ## xmm3 = mem[0],zero
	addsd	%xmm0, %xmm3
	movapd	%xmm2, %xmm0
	mulsd	%xmm1, %xmm0
	movsd	%xmm3, -24080(%rbp)             ## 8-byte Spill
	ucomisd	%xmm3, %xmm0
	jb	LBB0_26
LBB0_11:                                ##   Parent Loop BB0_1 Depth=1
                                        ##     Parent Loop BB0_2 Depth=2
                                        ##       Parent Loop BB0_9 Depth=3
                                        ## =>      This Loop Header: Depth=4
                                        ##           Child Loop BB0_12 Depth 5
                                        ##             Child Loop BB0_18 Depth 6
	movsd	-24072(%rbp), %xmm0             ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movapd	%xmm0, %xmm2
	mulsd	LCPI0_7(%rip), %xmm2
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_12 Depth=5
	movsd	-24072(%rbp), %xmm1             ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	movapd	%xmm1, %xmm0
	mulsd	LCPI0_9(%rip), %xmm0
	addsd	%xmm0, %xmm2
	movapd	%xmm1, %xmm0
	movsd	LCPI0_8(%rip), %xmm1            ## xmm1 = mem[0],zero
LBB0_12:                                ##   Parent Loop BB0_1 Depth=1
                                        ##     Parent Loop BB0_2 Depth=2
                                        ##       Parent Loop BB0_9 Depth=3
                                        ##         Parent Loop BB0_11 Depth=4
                                        ## =>        This Loop Header: Depth=5
                                        ##             Child Loop BB0_18 Depth 6
	mulsd	%xmm1, %xmm0
	ucomisd	%xmm2, %xmm0
	jb	LBB0_25
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=5
	movl	$1, %edi
	movsd	-24080(%rbp), %xmm0             ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	%xmm2, -24136(%rbp)             ## 8-byte Spill
	movapd	%xmm2, %xmm1
	callq	_ff_timefilter_new
	testq	%rax, %rax
	je	LBB0_31
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=5
	movq	%rax, %rbx
	movq	%rax, %rdi
	movsd	-24128(%rbp), %xmm0             ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	LCPI0_5(%rip), %xmm1            ## xmm1 = mem[0],zero
	callq	_ff_timefilter_update
	movapd	%xmm0, %xmm1
	xorpd	%xmm0, %xmm0
	ucomisd	%xmm1, %xmm0
	ja	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=5
	ucomisd	LCPI0_6(%rip), %xmm1
	jbe	LBB0_17
LBB0_16:                                ##   in Loop: Header=BB0_12 Depth=5
	movq	%r12, %rdi
	movsd	%xmm1, -24056(%rbp)             ## 8-byte Spill
	callq	_puts
	movsd	-24056(%rbp), %xmm1             ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
LBB0_17:                                ##   in Loop: Header=BB0_12 Depth=5
	subsd	-24104(%rbp), %xmm1             ## 8-byte Folded Reload
	mulsd	%xmm1, %xmm1
	addsd	LCPI0_12(%rip), %xmm1
	movsd	%xmm1, -24056(%rbp)             ## 8-byte Spill
	movl	$1, %r13d
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_18 Depth=6
	movq	%r12, %rdi
	movsd	%xmm1, -24144(%rbp)             ## 8-byte Spill
	callq	_puts
	movsd	-24144(%rbp), %xmm1             ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
LBB0_21:                                ##   in Loop: Header=BB0_18 Depth=6
	movsd	-8048(%rbp,%r13,8), %xmm0       ## xmm0 = mem[0],zero
	subsd	%xmm0, %xmm1
	mulsd	%xmm1, %xmm1
	movsd	-24056(%rbp), %xmm0             ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	addsd	%xmm1, %xmm0
	movsd	%xmm0, -24056(%rbp)             ## 8-byte Spill
	incq	%r13
	cmpq	$1000, %r13                     ## imm = 0x3E8
	je	LBB0_22
LBB0_18:                                ##   Parent Loop BB0_1 Depth=1
                                        ##     Parent Loop BB0_2 Depth=2
                                        ##       Parent Loop BB0_9 Depth=3
                                        ##         Parent Loop BB0_11 Depth=4
                                        ##           Parent Loop BB0_12 Depth=5
                                        ## =>          This Inner Loop Header: Depth=6
	movsd	-16048(%rbp,%r13,8), %xmm0      ## xmm0 = mem[0],zero
	movsd	-24048(%rbp,%r13,8), %xmm1      ## xmm1 = mem[0],zero
	subsd	-24056(%rbp,%r13,8), %xmm1
	movq	%rbx, %rdi
	callq	_ff_timefilter_update
	movapd	%xmm0, %xmm1
	xorpd	%xmm0, %xmm0
	ucomisd	%xmm1, %xmm0
	ja	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=6
	ucomisd	LCPI0_6(%rip), %xmm1
	jbe	LBB0_21
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_12 Depth=5
	movq	%rbx, %rdi
	callq	_ff_timefilter_destroy
	movsd	-24112(%rbp), %xmm0             ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	-24056(%rbp), %xmm1             ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	ucomisd	%xmm1, %xmm0
	movsd	-24136(%rbp), %xmm2             ## 8-byte Reload
                                        ## xmm2 = mem[0],zero
	jbe	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_12 Depth=5
	movl	$1, %r14d
	movsd	%xmm1, -24112(%rbp)             ## 8-byte Spill
	movsd	-24080(%rbp), %xmm0             ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	%xmm0, -24064(%rbp)             ## 8-byte Spill
	movsd	%xmm2, -24072(%rbp)             ## 8-byte Spill
	jmp	LBB0_24
LBB0_31:
	movsd	-24104(%rbp), %xmm0             ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	%xmm0, -8048(%rbp)
	leaq	L_str(%rip), %rdi
	callq	_puts
	movl	$1, %edi
	callq	_exit
LBB0_29:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_32
## %bb.30:
	xorl	%eax, %eax
	addq	$24120, %rsp                    ## imm = 0x5E38
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_32:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_LFG_MAX,4,2                    ## @LFG_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str.2:                               ## @.str.2
	.asciz	" [%12f %11f %9f]"

	.comm	_SAMPLES,4,2                    ## @SAMPLES
L_str:                                  ## @str
	.asciz	"Could not allocate memory for timefilter."

L_str.4:                                ## @str.4
	.asciz	"filter is unstable"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	stp	d15, d14, [sp, #-160]!          ; 16-byte Folded Spill
	.cfi_def_cfa_offset 160
	stp	d13, d12, [sp, #16]             ; 16-byte Folded Spill
	stp	d11, d10, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset b10, -120
	.cfi_offset b11, -128
	.cfi_offset b12, -136
	.cfi_offset b13, -144
	.cfi_offset b14, -152
	.cfi_offset b15, -160
	mov	w9, #24080
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #5, lsl #12             ; =20480
	sub	sp, sp, #3600
	add	x9, sp, #1, lsl #12             ; =4096
	add	x9, x9, #3968
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-160]
	add	x23, x9, #8
	add	x8, sp, #3, lsl #12             ; =12288
	add	x8, x8, #3776
	add	x25, x8, #8
	fmov	d8, #1.00000000
	add	x28, sp, #64
	fmov	d9, #10.00000000
	mov	x24, #36700
	movk	x24, #62914, lsl #16
	movk	x24, #23592, lsl #32
	movk	x24, #16371, lsl #48
	mov	x22, #-7378697629483820647
	movk	x22, #39322
	movk	x22, #16297, lsl #48
	mov	x26, #225833675390976
	movk	x26, #16845, lsl #48
Lloh5:
	adrp	x20, l_str.4@PAGE
Lloh6:
	add	x20, x20, l_str.4@PAGEOFF
	movi	d10, #0000000000000000
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #10
	bl	_putchar
	fmov	d0, #2.00000000
	fmadd	d10, d10, d0, d8
	mov	x8, #4630826316843712512
	fmov	d0, x8
	fcmp	d10, d0
	b.pl	LBB0_26
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
                                        ;       Child Loop BB0_6 Depth 3
                                        ;       Child Loop BB0_10 Depth 3
                                        ;         Child Loop BB0_13 Depth 4
                                        ;           Child Loop BB0_15 Depth 5
                                        ;             Child Loop BB0_21 Depth 6
	fcmp	d10, #0.0
	mov	x8, #116548232544256
	movk	x8, #16632, lsl #48
	fmov	d0, x8
	fcsel	d0, d8, d0, ne
	stp	d10, d0, [sp, #24]              ; 16-byte Folded Spill
	movi	d11, #0000000000000000
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=2
	stp	d15, d12, [sp, #8]
	ldr	d0, [sp, #48]                   ; 8-byte Folded Reload
	str	d0, [sp]
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
	fmov	d8, #1.00000000
	fmov	d0, #2.00000000
	ldr	d11, [sp, #40]                  ; 8-byte Folded Reload
	fmadd	d11, d11, d0, d8
	fmov	d9, #10.00000000
	fcmp	d11, d9
	ldr	d10, [sp, #24]                  ; 8-byte Folded Reload
	b.pl	LBB0_1
LBB0_4:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_6 Depth 3
                                        ;       Child Loop BB0_10 Depth 3
                                        ;         Child Loop BB0_13 Depth 4
                                        ;           Child Loop BB0_15 Depth 5
                                        ;             Child Loop BB0_21 Depth 6
	add	x0, sp, #60
	mov	w1, #123
	bl	_av_lfg_init
	add	x0, sp, #60
	bl	_av_lfg_get
Lloh9:
	adrp	x19, _LFG_MAX@GOTPAGE
Lloh10:
	ldr	x19, [x19, _LFG_MAX@GOTPAGEOFF]
	ldr	w8, [x19]
	cmp	w8, #0
	cinc	w8, w8, lt
	cmp	w0, w8, asr #1
	mov	x8, #26739
	movk	x8, #60817, lsl #16
	movk	x8, #65404, lsl #32
	movk	x8, #16421, lsl #48
	fmov	d0, x8
	fcsel	d0, d9, d0, lt
	str	d0, [sp, #64]
	movi	d1, #0000000000000000
	fmul	d1, d11, d1
	mov	x8, #70368744177664
	movk	x8, #16527, lsl #48
	fmov	d2, x8
	fdiv	d1, d1, d2
	fadd	d13, d1, d0
	add	x0, sp, #60
	bl	_av_lfg_get
	ldrsw	x8, [x19]
	cmp	w8, #0
	cinc	w9, w8, lt
	sub	w9, w0, w9, asr #1
	scvtf	d0, w9
	add	x8, x8, x8, lsl #2
	lsl	x8, x8, #1
	scvtf	d1, x8
	fmul	d0, d10, d0
	fdiv	d0, d0, d1
	fadd	d8, d13, d0
	add	x8, sp, #1, lsl #12             ; =4096
	add	x8, x8, #3968
	str	d8, [x8]
	mov	x21, x23
	mov	w27, #1
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=3
	add	x27, x27, #1
	add	x21, x21, #8
	cmp	x27, #1000
	b.eq	LBB0_8
LBB0_6:                                 ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_4 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	add	w8, w27, #10
	scvtf	d9, w8
	add	x0, sp, #60
	bl	_av_lfg_get
Lloh11:
	adrp	x19, _LFG_MAX@GOTPAGE
Lloh12:
	ldr	x19, [x19, _LFG_MAX@GOTPAGEOFF]
	ldr	w8, [x19]
	cmp	w8, #0
	cinc	w8, w8, lt
	cmp	w0, w8, asr #1
	mov	x8, #34603
	movk	x8, #55574, lsl #16
	movk	x8, #63438, lsl #32
	movk	x8, #16367, lsl #48
	fmov	d0, x8
	movi	d1, #0000000000000000
	fcsel	d0, d1, d0, lt
	fadd	d0, d0, d9
	lsl	x8, x27, #3
	str	d0, [x28, x8]
	scvtf	d1, w27
	fmul	d1, d11, d1
	mov	x9, #70368744177664
	movk	x9, #16527, lsl #48
	fmov	d2, x9
	fdiv	d1, d1, d2
	fadd	d9, d1, d0
	add	x9, sp, #3, lsl #12             ; =12288
	add	x9, x9, #3776
	str	d9, [x9, x8]
	add	x0, sp, #60
	bl	_av_lfg_get
	ldrsw	x8, [x19]
	cmp	w8, #0
	cinc	w9, w8, lt
	sub	w9, w0, w9, asr #1
	scvtf	d0, w9
	add	x8, x8, x8, lsl #2
	lsl	x8, x8, #1
	scvtf	d1, x8
	fmul	d0, d10, d0
	fdiv	d0, d0, d1
	fadd	d1, d9, d0
	str	d1, [x21]
	ldur	d0, [x21, #-8]
	fcmp	d1, d0
	b.pl	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=3
	mov	x8, #43516
	movk	x8, #54001, lsl #16
	movk	x8, #25165, lsl #32
	movk	x8, #16208, lsl #48
	fmov	d1, x8
	fadd	d0, d0, d1
	str	d0, [x21]
	b	LBB0_5
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=2
	fmov	d15, #1.00000000
	mov	x8, #225833675390976
	movk	x8, #16845, lsl #48
	fmov	d12, x8
	ldr	d0, [sp, #32]                   ; 8-byte Folded Reload
	stp	d11, d0, [sp, #40]              ; 16-byte Folded Spill
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=3
	cbz	w27, LBB0_3
LBB0_10:                                ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_4 Depth=2
                                        ; =>    This Loop Header: Depth=3
                                        ;         Child Loop BB0_13 Depth 4
                                        ;           Child Loop BB0_15 Depth 5
                                        ;             Child Loop BB0_21 Depth 6
	mov	x8, #-7378697629483820647
	movk	x8, #39322
	movk	x8, #16361, lsl #48
	fmov	d0, x8
	ldr	d1, [sp, #48]                   ; 8-byte Folded Reload
	fmul	d9, d1, d0
	fmov	d0, x24
	fmul	d0, d1, d0
	fcmp	d9, d0
	b.hi	LBB0_3
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=3
	mov	w27, #0
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=4
	fmov	d0, x22
	ldr	d1, [sp, #48]                   ; 8-byte Folded Reload
	fmadd	d9, d1, d0, d9
	fmov	d0, x24
	fmul	d0, d1, d0
	fcmp	d9, d0
	b.hi	LBB0_9
LBB0_13:                                ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_4 Depth=2
                                        ;       Parent Loop BB0_10 Depth=3
                                        ; =>      This Loop Header: Depth=4
                                        ;           Child Loop BB0_15 Depth 5
                                        ;             Child Loop BB0_21 Depth 6
	mov	x8, #-7378697629483820647
	movk	x8, #39322
	movk	x8, #16361, lsl #48
	fmov	d0, x8
	fmul	d10, d15, d0
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=5
	fmov	d0, x22
	fmadd	d10, d15, d0, d10
LBB0_15:                                ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_4 Depth=2
                                        ;       Parent Loop BB0_10 Depth=3
                                        ;         Parent Loop BB0_13 Depth=4
                                        ; =>        This Loop Header: Depth=5
                                        ;             Child Loop BB0_21 Depth 6
	fmov	d0, x24
	fmul	d0, d15, d0
	fcmp	d10, d0
	b.hi	LBB0_12
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=5
	mov	w0, #1
	fmov	d0, d9
	fmov	d1, d10
	bl	_ff_timefilter_new
	cbz	x0, LBB0_25
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=5
	mov	x21, x0
	fmov	d1, #1.00000000
	fmov	d0, d8
	bl	_ff_timefilter_update
	fmov	d11, d0
	fcmp	d0, #0.0
	fmov	d0, x26
	fccmp	d11, d0, #0, pl
	b.le	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_15 Depth=5
	mov	x0, x20
	bl	_puts
LBB0_19:                                ;   in Loop: Header=BB0_15 Depth=5
	mov	x19, #0
	fsub	d0, d11, d13
	movi	d1, #0000000000000000
	fmadd	d14, d0, d0, d1
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=6
	ldr	d0, [x25, x19, lsl #3]
	fsub	d0, d11, d0
	fmadd	d14, d0, d0, d14
	add	x19, x19, #1
	cmp	x19, #999
	b.eq	LBB0_23
LBB0_21:                                ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_4 Depth=2
                                        ;       Parent Loop BB0_10 Depth=3
                                        ;         Parent Loop BB0_13 Depth=4
                                        ;           Parent Loop BB0_15 Depth=5
                                        ; =>          This Inner Loop Header: Depth=6
	lsl	x8, x19, #3
	ldr	d0, [x23, x8]
	add	x8, x28, x8
	ldp	d2, d1, [x8]
	fsub	d1, d1, d2
	mov	x0, x21
	bl	_ff_timefilter_update
	fmov	d11, d0
	fcmp	d0, #0.0
	fmov	d0, x26
	fccmp	d11, d0, #0, pl
	b.le	LBB0_20
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=6
	mov	x0, x20
	bl	_puts
	b	LBB0_20
LBB0_23:                                ;   in Loop: Header=BB0_15 Depth=5
	mov	x0, x21
	bl	_ff_timefilter_destroy
	fcmp	d14, d12
	b.pl	LBB0_14
; %bb.24:                               ;   in Loop: Header=BB0_15 Depth=5
	mov	w27, #1
	fmov	d12, d14
	str	d9, [sp, #48]                   ; 8-byte Folded Spill
	fmov	d15, d10
	b	LBB0_14
LBB0_25:
	add	x8, sp, #1, lsl #12             ; =4096
	add	x8, x8, #3968
	str	d13, [x8, #8000]
Lloh13:
	adrp	x0, l_str@PAGE
Lloh14:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	mov	w0, #1
	bl	_exit
LBB0_26:
	ldur	x8, [x29, #-160]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_28
; %bb.27:
	mov	w0, #0
	add	sp, sp, #5, lsl #12             ; =20480
	add	sp, sp, #3600
	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
	ldp	d11, d10, [sp, #32]             ; 16-byte Folded Reload
	ldp	d13, d12, [sp, #16]             ; 16-byte Folded Reload
	ldp	d15, d14, [sp], #160            ; 16-byte Folded Reload
	ret
LBB0_28:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_LFG_MAX,4,2                    ; @LFG_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str.2:                               ; @.str.2
	.asciz	" [%12f %11f %9f]"

	.comm	_SAMPLES,4,2                    ; @SAMPLES
l_str:                                  ; @str
	.asciz	"Could not allocate memory for timefilter."

l_str.4:                                ; @str.4
	.asciz	"filter is unstable"

.subsections_via_symbols
