	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function dejitterVideo
LCPI0_0:
	.quad	0x40f5f90000000000              ## double 9.0E+4
LCPI0_1:
	.quad	0x3ff199999999999a              ## double 1.1000000000000001
LCPI0_2:
	.quad	0x4008000000000000              ## double 3
LCPI0_3:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_dejitterVideo:                         ## @dejitterVideo
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movl	8(%rdi), %edi
	callq	_hb_list_count
	cmpl	$2, %eax
	jl	LBB0_9
## %bb.1:
	movl	%eax, %r14d
	movq	16(%r15), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	cvtsi2sdl	(%rax), %xmm1
	mulsd	LCPI0_0(%rip), %xmm1
	cvtsi2sdl	4(%rax), %xmm0
	divsd	%xmm0, %xmm1
	movsd	%xmm1, -40(%rbp)                ## 8-byte Spill
	movl	8(%r15), %edi
	movl	$1, %ebx
	movl	$1, %esi
	callq	_hb_list_item
	movq	%rax, %r12
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	subsd	(%r15), %xmm0
	subsd	-40(%rbp), %xmm0                ## 8-byte Folded Reload
	callq	_ABS
	movsd	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero
	ucomisd	%xmm0, %xmm1
	jbe	LBB0_2
## %bb.8:
	movsd	(%r15), %xmm0                   ## xmm0 = mem[0],zero
	addsd	-40(%rbp), %xmm0                ## 8-byte Folded Reload
	movsd	%xmm0, (%r12)
	movl	8(%r15), %edi
	xorl	%esi, %esi
	callq	_hb_list_item
	movsd	(%r15), %xmm0                   ## xmm0 = mem[0],zero
	movsd	%xmm0, (%rax)
	movsd	-40(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	movsd	%xmm1, 8(%rax)
	addsd	%xmm0, %xmm1
	movsd	%xmm1, 16(%rax)
	jmp	LBB0_9
LBB0_2:
	movsd	-40(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	divsd	LCPI0_2(%rip), %xmm0
	movsd	%xmm0, -56(%rbp)                ## 8-byte Spill
	xorl	%r12d, %r12d
	movsd	LCPI0_3(%rip), %xmm0            ## xmm0 = mem[0],zero
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movsd	-48(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	addsd	LCPI0_3(%rip), %xmm0
	incl	%ebx
	movl	%esi, %r12d
	cmpl	%ebx, %r14d
	je	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movsd	%xmm0, -48(%rbp)                ## 8-byte Spill
	movl	8(%r15), %edi
	movl	%ebx, %esi
	callq	_hb_list_item
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	subsd	(%r15), %xmm0
	movsd	-48(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	mulsd	-40(%rbp), %xmm1                ## 8-byte Folded Reload
	subsd	%xmm1, %xmm0
	callq	_ABS
	movsd	-56(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	ucomisd	%xmm0, %xmm1
	movl	%ebx, %esi
	ja	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%r12d, %esi
	jmp	LBB0_5
LBB0_6:
	testl	%esi, %esi
	jle	LBB0_9
## %bb.7:
	movq	%r15, %rdi
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_removeVideoJitter              ## TAILCALL
LBB0_9:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_dejitterVideo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dejitterVideo
_dejitterVideo:                         ; @dejitterVideo
	.cfi_startproc
; %bb.0:
	stp	d11, d10, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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 b8, -56
	.cfi_offset b9, -64
	.cfi_offset b10, -72
	.cfi_offset b11, -80
	mov	x19, x0
	ldr	w0, [x0, #8]
	bl	_hb_list_count
	cmp	w0, #2
	b.lt	LBB0_7
; %bb.1:
	mov	x20, x0
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldp	s0, s1, [x8]
	sshll.2d	v0, v0, #0
	scvtf	d0, d0
	mov	x8, #273778395316224
	movk	x8, #16629, lsl #48
	fmov	d2, x8
	fmul	d0, d0, d2
	sshll.2d	v1, v1, #0
	scvtf	d1, d1
	fdiv	d8, d0, d1
	ldr	w0, [x19, #8]
	mov	w1, #1
	bl	_hb_list_item
	mov	x21, x0
	ldr	d0, [x0]
	ldr	d1, [x19]
	fsub	d0, d0, d1
	fsub	d0, d0, d8
	bl	_ABS
	mov	x8, #-7378697629483820647
	movk	x8, #39322
	movk	x8, #16369, lsl #48
	fmov	d1, x8
	fcmp	d0, d1
	b.pl	LBB0_3
; %bb.2:
	ldr	d0, [x19]
	fadd	d0, d8, d0
	str	d0, [x21]
	ldr	w0, [x19, #8]
	mov	w1, #0
	bl	_hb_list_item
	ldr	d0, [x19]
	stp	d0, d8, [x0]
	fadd	d0, d8, d0
	str	d0, [x0, #16]
	b	LBB0_7
LBB0_3:
	mov	w21, #0
	fmov	d0, #3.00000000
	mov	w22, #1
	fmov	d9, #1.00000000
	fmov	d10, #1.00000000
	fdiv	d11, d8, d0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #8]
	mov	x1, x22
	bl	_hb_list_item
	ldr	d0, [x0]
	ldr	d1, [x19]
	fsub	d0, d0, d1
	fmsub	d0, d10, d8, d0
	bl	_ABS
	fcmp	d0, d11
	csel	w21, w22, w21, mi
	fadd	d10, d10, d9
	add	w22, w22, #1
	cmp	w20, w22
	b.ne	LBB0_4
; %bb.5:
	cmp	w21, #1
	b.lt	LBB0_7
; %bb.6:
	mov	x0, x19
	mov	x1, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp], #80             ; 16-byte Folded Reload
	b	_removeVideoJitter
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_dejitterVideo
.subsections_via_symbols
