	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function updateDuration
_updateDuration:                        ## @updateDuration
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	_SYNC_TYPE_VIDEO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.1:
	movq	%rdi, %rbx
	movl	8(%rdi), %edi
	callq	_hb_list_count
	cmpl	$2, %eax
	jl	LBB0_6
## %bb.2:
	movl	%eax, %r14d
	movl	8(%rbx), %edi
	leal	-1(%r14), %esi
	callq	_hb_list_item
	movq	%rax, %r15
	movl	8(%rbx), %edi
	addl	$-2, %r14d
	movl	%r14d, %esi
	callq	_hb_list_item
	movsd	(%r15), %xmm0                   ## xmm0 = mem[0],zero
	movapd	%xmm0, %xmm1
	subsd	(%rax), %xmm1
	xorpd	%xmm2, %xmm2
	ucomisd	%xmm2, %xmm1
	jbe	LBB0_4
## %bb.3:
	movsd	%xmm1, 8(%rax)
	addq	$16, %rax
	jmp	LBB0_5
LBB0_4:
	movq	$0, 8(%rax)
	movsd	%xmm0, 16(%rax)
LBB0_5:
	movsd	%xmm0, (%rax)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SYNC_TYPE_VIDEO,8,3            ## @SYNC_TYPE_VIDEO
	.no_dead_strip	_updateDuration
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function updateDuration
_updateDuration:                        ; @updateDuration
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [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 w21, -40
	.cfi_offset w22, -48
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _SYNC_TYPE_VIDEO@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SYNC_TYPE_VIDEO@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.1:
	mov	x19, x0
	ldr	w0, [x0, #8]
	bl	_hb_list_count
	subs	w20, w0, #2
	b.lt	LBB0_6
; %bb.2:
	ldr	w8, [x19, #8]
	sub	w1, w0, #1
	mov	x0, x8
	bl	_hb_list_item
	mov	x21, x0
	ldr	w0, [x19, #8]
	mov	x1, x20
	bl	_hb_list_item
	ldr	d0, [x21]
	ldr	d1, [x0]
	fsub	d1, d0, d1
	fcmp	d1, #0.0
	b.le	LBB0_4
; %bb.3:
	str	d1, [x0, #8]
	add	x0, x0, #16
	b	LBB0_5
LBB0_4:
	str	xzr, [x0, #8]
	str	d0, [x0, #16]
LBB0_5:
	str	d0, [x0]
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SYNC_TYPE_VIDEO,8,3            ; @SYNC_TYPE_VIDEO
	.no_dead_strip	_updateDuration
.subsections_via_symbols
