	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function computeInitialTS
LCPI0_0:
	.quad	0x0000000000000000              ## double 0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_computeInitialTS:                      ## @computeInitialTS
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movl	8(%rsi), %edi
	callq	_hb_list_count
	testl	%eax, %eax
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	jle	LBB0_4
## %bb.1:
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %r14
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%rbx), %edi
	callq	_hb_list_count
	cmpl	%eax, %r12d
	jge	LBB0_4
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%rbx), %edi
	movl	%r12d, %esi
	callq	_hb_list_item
	movq	%rax, %r15
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_UpdateSCR
	testl	%eax, %eax
	je	LBB0_3
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	incl	%r12d
	movq	(%rbx), %rax
	movq	_SYNC_TYPE_VIDEO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	testq	%r14, %r14
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movsd	(%r15), %xmm0                   ## xmm0 = mem[0],zero
	movapd	%xmm0, %xmm1
	subsd	(%r14), %xmm1
	ucomisd	LCPI0_0(%rip), %xmm1
	jbe	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movsd	%xmm1, 8(%r14)
	movsd	%xmm0, 16(%r14)
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%rbx), %edi
	movq	%r15, %rsi
	callq	_hb_list_rem
	jmp	LBB0_16
LBB0_4:
	cmpl	$0, (%r13)
	jle	LBB0_24
## %bb.5:
	xorl	%ebx, %ebx
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	incq	%rbx
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jge	LBB0_24
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movq	8(%r13), %r14
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	shlq	$4, %rbx
	leaq	(%r14,%rbx), %r12
	cmpq	-48(%rbp), %r12                 ## 8-byte Folded Reload
	je	LBB0_23
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	8(%r14,%rbx), %edi
	callq	_hb_list_count
	testl	%eax, %eax
	jle	LBB0_23
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	leaq	(%r14,%rbx), %r15
	addq	$8, %r15
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_9 Depth=2
	movq	%rbx, %r14
LBB0_22:                                ##   in Loop: Header=BB0_9 Depth=2
	movl	(%r15), %edi
	callq	_hb_list_count
	cmpl	%eax, %r13d
	jge	LBB0_23
LBB0_9:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r15), %edi
	movl	%r13d, %esi
	callq	_hb_list_item
	movq	%rax, %rbx
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_UpdateSCR
	testl	%eax, %eax
	je	LBB0_10
## %bb.17:                              ##   in Loop: Header=BB0_9 Depth=2
	incl	%r13d
	movq	(%r12), %rax
	movq	_SYNC_TYPE_VIDEO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_21
## %bb.18:                              ##   in Loop: Header=BB0_9 Depth=2
	testq	%r14, %r14
	je	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_9 Depth=2
	movsd	(%rbx), %xmm0                   ## xmm0 = mem[0],zero
	movapd	%xmm0, %xmm1
	subsd	(%r14), %xmm1
	ucomisd	LCPI0_0(%rip), %xmm1
	jbe	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_9 Depth=2
	movsd	%xmm1, 8(%r14)
	movsd	%xmm0, 16(%r14)
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_9 Depth=2
	movl	(%r15), %edi
	movq	%rbx, %rsi
	callq	_hb_list_rem
	jmp	LBB0_22
LBB0_24:
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_alignStreams                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SYNC_TYPE_VIDEO,8,3            ## @SYNC_TYPE_VIDEO
	.comm	_AV_NOPTS_VALUE,4,2             ## @AV_NOPTS_VALUE
	.no_dead_strip	_computeInitialTS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function computeInitialTS
_computeInitialTS:                      ; @computeInitialTS
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x1, #8]
	bl	_hb_list_count
Lloh0:
	adrp	x24, _SYNC_TYPE_VIDEO@GOTPAGE
Lloh1:
	ldr	x24, [x24, _SYNC_TYPE_VIDEO@GOTPAGEOFF]
	cmp	w0, #1
	b.lt	LBB0_9
; %bb.1:
	mov	w21, #0
	mov	x23, #0
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x23, x22
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x20, #8]
	bl	_hb_list_count
	cmp	w21, w0
	b.ge	LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20, #8]
	mov	x1, x21
	bl	_hb_list_item
	mov	x22, x0
	mov	x0, x20
	mov	x1, x22
	bl	_UpdateSCR
	cbz	w0, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w21, w21, #1
	ldr	x8, [x20]
	ldr	x9, [x24]
	cmp	x8, x9
	ccmp	x23, #0, #4, eq
	b.eq	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	d0, [x22]
	ldr	d1, [x23]
	fsub	d1, d0, d1
	fcmp	d1, #0.0
	b.le	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	stp	d1, d0, [x23, #8]
	b	LBB0_2
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x20, #8]
	mov	x1, x22
	bl	_hb_list_rem
	b	LBB0_3
LBB0_9:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_22
; %bb.10:
	mov	x25, #0
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x25, x25, #1
	ldrsw	x8, [x19]
	cmp	x25, x8
	b.ge	LBB0_22
LBB0_12:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_17 Depth 2
	ldr	x8, [x19, #8]
	add	x21, x8, x25, lsl #4
	cmp	x21, x20
	b.eq	LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x26, x21
	ldr	w0, [x26, #8]!
	bl	_hb_list_count
	cmp	w0, #1
	b.lt	LBB0_11
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	w22, #0
	mov	x27, #0
	b	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_17 Depth=2
	mov	x27, x23
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=2
	ldr	w0, [x26]
	bl	_hb_list_count
	cmp	w22, w0
	b.ge	LBB0_11
LBB0_17:                                ;   Parent Loop BB0_12 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x26]
	mov	x1, x22
	bl	_hb_list_item
	mov	x23, x0
	mov	x0, x21
	mov	x1, x23
	bl	_UpdateSCR
	cbz	w0, LBB0_21
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=2
	add	w22, w22, #1
	ldr	x8, [x21]
	ldr	x9, [x24]
	cmp	x8, x9
	ccmp	x27, #0, #4, eq
	b.eq	LBB0_15
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=2
	ldr	d0, [x23]
	ldr	d1, [x27]
	fsub	d1, d0, d1
	fcmp	d1, #0.0
	b.le	LBB0_15
; %bb.20:                               ;   in Loop: Header=BB0_17 Depth=2
	stp	d1, d0, [x27, #8]
	b	LBB0_15
LBB0_21:                                ;   in Loop: Header=BB0_17 Depth=2
	ldr	w0, [x26]
	mov	x1, x23
	bl	_hb_list_rem
	b	LBB0_16
LBB0_22:
Lloh2:
	adrp	x8, _AV_NOPTS_VALUE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AV_NOPTS_VALUE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_alignStreams
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SYNC_TYPE_VIDEO,8,3            ; @SYNC_TYPE_VIDEO
	.comm	_AV_NOPTS_VALUE,4,2             ; @AV_NOPTS_VALUE
	.no_dead_strip	_computeInitialTS
.subsections_via_symbols
