	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function ff_timefilter_update
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_ff_timefilter_update
	.p2align	4, 0x90
_ff_timefilter_update:                  ## @ff_timefilter_update
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	(%rdi), %ecx
	leal	1(%rcx), %eax
	movl	%eax, (%rdi)
	testl	%ecx, %ecx
	je	LBB0_1
## %bb.2:
	mulsd	16(%rbx), %xmm1
	addsd	8(%rbx), %xmm1
	movsd	%xmm1, 8(%rbx)
	subsd	%xmm1, %xmm0
	movapd	%xmm0, -32(%rbp)                ## 16-byte Spill
	movl	32(%rbx), %edi
	xorps	%xmm1, %xmm1
	cvtsi2sd	%eax, %xmm1
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	divsd	%xmm1, %xmm0
	callq	_FFMAX
	movupd	8(%rbx), %xmm1
	movhpd	24(%rbx), %xmm0                 ## xmm0 = xmm0[0],mem[0]
	movapd	-32(%rbp), %xmm2                ## 16-byte Reload
	movddup	%xmm2, %xmm2                    ## xmm2 = xmm2[0,0]
	movapd	%xmm2, -32(%rbp)                ## 16-byte Spill
	movapd	-32(%rbp), %xmm2                ## 16-byte Reload
	mulpd	%xmm0, %xmm2
	movapd	%xmm2, -32(%rbp)                ## 16-byte Spill
	movapd	-32(%rbp), %xmm0                ## 16-byte Reload
	addpd	%xmm1, %xmm0
	movupd	%xmm0, 8(%rbx)
	jmp	LBB0_3
LBB0_1:
	movsd	%xmm0, 8(%rbx)
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_timefilter_update           ; -- Begin function ff_timefilter_update
	.p2align	2
_ff_timefilter_update:                  ; @ff_timefilter_update
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-48]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset b8, -40
	.cfi_offset b9, -48
	mov	x19, x0
	ldr	w9, [x0]
	add	w8, w9, #1
	str	w8, [x0]
	cbz	w9, LBB0_2
; %bb.1:
	ldp	d3, d2, [x19, #8]
	fmadd	d1, d2, d1, d3
	str	d1, [x19, #8]
	fsub	d8, d0, d1
	ldr	w0, [x19, #32]
	scvtf	d0, w8
	fmov	d1, #1.00000000
	fdiv	d0, d1, d0
	bl	_FFMAX
	ldp	d1, d2, [x19, #8]
	fmadd	d0, d0, d8, d1
	ldr	d1, [x19, #24]
	fmadd	d1, d1, d8, d2
	stp	d0, d1, [x19, #8]
	b	LBB0_3
LBB0_2:
	str	d0, [x19, #8]
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #48               ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
