	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function scc_write_packet
_scc_write_packet:                      ## @scc_write_packet
	.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	%rdi, %r14
	movl	(%rsi), %ecx
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jne	LBB0_2
## %bb.1:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	callq	_av_log
	jmp	LBB0_34
LBB0_2:
	movq	%rsi, %rbx
	movl	4(%rsi), %eax
	testl	%eax, %eax
	jle	LBB0_34
## %bb.3:
	movq	8(%r14), %r15
	movslq	%ecx, %rdx
	imulq	$1250999897, %rdx, %r12         ## imm = 0x4A90BE59
	movq	%r12, %rsi
	shrq	$63, %rsi
	shrq	$32, %r12
	sarl	$20, %r12d
	addl	%esi, %r12d
	imulq	$1172812403, %rdx, %rsi         ## imm = 0x45E7B273
	movq	%rsi, %rdi
	shrq	$63, %rdi
	shrq	$32, %rsi
	sarl	$14, %esi
	addl	%edi, %esi
	movslq	%esi, %r13
	imulq	$-2004318071, %r13, %rsi        ## imm = 0x88888889
	shrq	$32, %rsi
	addl	%r13d, %esi
	movl	%esi, %edi
	shrl	$31, %edi
	sarl	$5, %esi
	addl	%edi, %esi
	imull	$60, %esi, %esi
	subl	%esi, %r13d
	imulq	$274877907, %rdx, %rdx          ## imm = 0x10624DD3
	movq	%rdx, %rsi
	shrq	$63, %rsi
	sarq	$38, %rdx
	addl	%esi, %edx
	movslq	%edx, %rdi
	imulq	$-2004318071, %rdi, %rdx        ## imm = 0x88888889
	shrq	$32, %rdx
	addl	%edi, %edx
	movl	%edx, %esi
	shrl	$31, %esi
	sarl	$5, %edx
	addl	%esi, %edx
	imull	$60, %edx, %edx
	imull	$1000, %edi, %esi               ## imm = 0x3E8
	subl	%edx, %edi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	subl	%esi, %ecx
	movswl	%cx, %ecx
	imull	$1986, %ecx, %ecx               ## imm = 0x7C2
	movl	%ecx, %edx
	shrl	$31, %edx
	shrl	$16, %ecx
	addl	%edx, %ecx
	movswl	%cx, %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	8(%rbx), %rcx
	xorl	%edx, %edx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	addq	$3, %rdx
	cmpl	%edx, %eax
	jle	LBB0_34
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$252, (%rcx,%rdx,4)
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$128, 4(%rcx,%rdx,4)
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$128, 8(%rcx,%rdx,4)
	je	LBB0_7
LBB0_8:
	movl	(%r15), %ecx
	testl	%ecx, %ecx
	jne	LBB0_14
## %bb.9:
	cmpl	%r12d, 4(%r15)
	jne	LBB0_13
## %bb.10:
	cmpl	%r13d, 8(%r15)
	jne	LBB0_13
## %bb.11:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpl	%ecx, 12(%r15)
	jne	LBB0_13
## %bb.12:
	xorl	%ecx, %ecx
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	cmpl	%edx, 16(%r15)
	je	LBB0_14
LBB0_13:
	movl	(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r12d, %edx
	movl	%r13d, %ecx
	movq	-56(%rbp), %r8                  ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_avio_printf
	movl	$1, (%r15)
	movl	4(%rbx), %eax
	movl	$1, %ecx
LBB0_14:
	testl	%eax, %eax
	jle	LBB0_27
## %bb.15:
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_16 Depth=1
	movl	(%r14), %edi
	movq	8(%rbx), %rax
	movl	-8(%rax,%r13,4), %edx
	movl	-4(%rax,%r13,4), %ecx
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_avio_printf
	incq	24(%r15)
	movl	4(%rbx), %eax
LBB0_25:                                ##   in Loop: Header=BB0_16 Depth=1
	cmpl	%r13d, %eax
	jle	LBB0_26
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rcx
	addq	$3, %r13
	cmpl	%r13d, %eax
	jl	LBB0_26
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	8(%rbx), %rdx
	cmpl	$252, (%rdx,%rcx,4)
	jne	LBB0_25
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=1
	cmpl	$128, -8(%rdx,%r13,4)
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_16 Depth=1
	cmpl	$128, -4(%rdx,%r13,4)
	je	LBB0_25
LBB0_20:                                ##   in Loop: Header=BB0_16 Depth=1
	cmpl	$0, (%r15)
	jne	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_16 Depth=1
	movl	(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r12d, %edx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	movq	-56(%rbp), %r8                  ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_avio_printf
	movl	$1, (%r15)
LBB0_22:                                ##   in Loop: Header=BB0_16 Depth=1
	cmpq	$0, 24(%r15)
	jle	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_16 Depth=1
	movl	(%r14), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_avio_printf
	jmp	LBB0_24
LBB0_26:
	movl	(%r15), %ecx
	movq	-64(%rbp), %r13                 ## 8-byte Reload
LBB0_27:
	testl	%ecx, %ecx
	je	LBB0_33
## %bb.28:
	cmpl	%r12d, 4(%r15)
	jne	LBB0_32
## %bb.29:
	cmpl	%r13d, 8(%r15)
	jne	LBB0_32
## %bb.30:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpl	%eax, 12(%r15)
	jne	LBB0_32
## %bb.31:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, 16(%r15)
	je	LBB0_33
LBB0_32:
	movl	(%r14), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_avio_printf
	movq	$0, 24(%r15)
	movl	$0, (%r15)
LBB0_33:
	movl	%r12d, 4(%r15)
	movl	%r13d, 8(%r15)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, 12(%r15)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 16(%r15)
LBB0_34:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_NOPTS_VALUE,4,2             ## @AV_NOPTS_VALUE
	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Insufficient timestamps.\n"

L_.str.1:                               ## @.str.1
	.asciz	"\n%02d:%02d:%02d:%02d\t"

L_.str.2:                               ## @.str.2
	.asciz	" "

L_.str.3:                               ## @.str.3
	.asciz	"%02x%02x"

L_.str.4:                               ## @.str.4
	.asciz	"\n"

	.no_dead_strip	_scc_write_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function scc_write_packet
_scc_write_packet:                      ; @scc_write_packet
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x19, x0
	ldr	w10, [x1]
Lloh0:
	adrp	x8, _AV_NOPTS_VALUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_NOPTS_VALUE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w10, w8
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_av_log
	b	LBB0_35
LBB0_2:
	mov	x20, x1
	ldr	w8, [x1, #4]
	cmp	w8, #1
	b.lt	LBB0_35
; %bb.3:
	mov	x9, #0
	mov	w11, #48729
	movk	w11, #19088, lsl #16
	smull	x11, w10, w11
	lsr	x12, x11, #32
	lsr	x11, x11, #63
	add	w24, w11, w12, asr #20
	mov	w11, #45683
	movk	w11, #17895, lsl #16
	smull	x11, w10, w11
	lsr	x12, x11, #32
	lsr	x11, x11, #63
	add	w11, w11, w12, asr #14
	mov	w12, #34953
	movk	w12, #34952, lsl #16
	smull	x13, w11, w12
	lsr	x13, x13, #32
	add	w13, w13, w11
	asr	w14, w13, #5
	add	w13, w14, w13, lsr #31
	mov	w14, #60
	msub	w25, w13, w14, w11
	mov	w11, #19923
	movk	w11, #4194, lsl #16
	smull	x11, w10, w11
	lsr	x13, x11, #32
	lsr	x11, x11, #63
	add	w11, w11, w13, asr #6
	smull	x12, w11, w12
	lsr	x12, x12, #32
	add	w12, w12, w11
	asr	w13, w12, #5
	add	w12, w13, w12, lsr #31
	ldr	x26, [x19, #8]
	msub	w27, w12, w14, w11
	mov	w12, #1000
	msub	w10, w11, w12, w10
	sxth	w10, w10
	mov	w11, #1986
	mul	w10, w10, w11
	lsr	w11, w10, #16
	add	w10, w11, w10, lsr #31
	sxth	w28, w10
	ldr	x10, [x20, #8]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x9, x9, #3
	cmp	w8, w9
	b.le	LBB0_35
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10, x9, lsl #2]
	cmp	w11, #252
	b.ne	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x11, x10, x9, lsl #2
	ldr	w12, [x11, #4]
	cmp	w12, #128
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w11, [x11, #8]
	cmp	w11, #128
	b.eq	LBB0_4
LBB0_8:
	ldr	w9, [x26]
	cbnz	w9, LBB0_15
; %bb.9:
	ldr	w9, [x26, #4]
	cmp	w9, w24
	b.ne	LBB0_14
; %bb.10:
	ldr	w9, [x26, #8]
	cmp	w9, w25
	b.ne	LBB0_14
; %bb.11:
	ldr	w9, [x26, #12]
	cmp	w9, w27
	b.ne	LBB0_14
; %bb.12:
	ldr	w9, [x26, #16]
	cmp	w9, w28
	b.ne	LBB0_14
; %bb.13:
	mov	w9, #0
	b	LBB0_15
LBB0_14:
	ldr	w0, [x19]
	mov	x8, x28
	mov	x9, x27
	stp	x9, x8, [sp, #16]
	mov	x8, x25
	mov	x9, x24
	stp	x9, x8, [sp]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_avio_printf
	mov	w9, #1
	str	w9, [x26]
	ldr	w8, [x20, #4]
LBB0_15:
	cmp	w8, #1
	b.lt	LBB0_28
; %bb.16:
	mov	x21, #0
Lloh10:
	adrp	x23, l_.str.3@PAGE
Lloh11:
	add	x23, x23, l_.str.3@PAGEOFF
	b	LBB0_19
LBB0_17:                                ;   in Loop: Header=BB0_19 Depth=1
	ldr	w0, [x19]
	ldr	x8, [x20, #8]
	add	x8, x8, x21, lsl #2
	ldp	w9, w8, [x8, #4]
	stp	x9, x8, [sp]
	mov	x1, x23
	bl	_avio_printf
	ldr	x8, [x26, #24]
	add	x8, x8, #1
	str	x8, [x26, #24]
	ldr	w8, [x20, #4]
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	x21, x22
	cmp	w8, w22
	b.le	LBB0_27
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	add	x22, x21, #3
	cmp	w8, w22
	b.lt	LBB0_27
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	x9, [x20, #8]
	ldr	w10, [x9, x21, lsl #2]
	cmp	w10, #252
	b.ne	LBB0_18
; %bb.21:                               ;   in Loop: Header=BB0_19 Depth=1
	add	x9, x9, x21, lsl #2
	ldr	w10, [x9, #4]
	cmp	w10, #128
	b.ne	LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	w9, [x9, #8]
	cmp	w9, #128
	b.eq	LBB0_18
LBB0_23:                                ;   in Loop: Header=BB0_19 Depth=1
	ldr	w8, [x26]
	cbnz	w8, LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	w0, [x19]
	stp	x27, x28, [sp, #16]
	stp	x24, x25, [sp]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_avio_printf
	mov	w8, #1
	str	w8, [x26]
LBB0_25:                                ;   in Loop: Header=BB0_19 Depth=1
	ldr	x8, [x26, #24]
	cmp	x8, #1
	b.lt	LBB0_17
; %bb.26:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	w0, [x19]
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_avio_printf
	b	LBB0_17
LBB0_27:
	ldr	w9, [x26]
LBB0_28:
	cbz	w9, LBB0_34
; %bb.29:
	ldr	w8, [x26, #4]
	cmp	w8, w24
	b.ne	LBB0_33
; %bb.30:
	ldr	w8, [x26, #8]
	cmp	w8, w25
	b.ne	LBB0_33
; %bb.31:
	ldr	w8, [x26, #12]
	cmp	w8, w27
	b.ne	LBB0_33
; %bb.32:
	ldr	w8, [x26, #16]
	cmp	w8, w28
	b.eq	LBB0_34
LBB0_33:
	ldr	w0, [x19]
Lloh16:
	adrp	x1, l_.str.4@PAGE
Lloh17:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_avio_printf
	str	xzr, [x26, #24]
	str	wzr, [x26]
LBB0_34:
	stp	w24, w25, [x26, #4]
	stp	w27, w28, [x26, #12]
LBB0_35:
	mov	w0, #0
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_NOPTS_VALUE,4,2             ; @AV_NOPTS_VALUE
	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Insufficient timestamps.\n"

l_.str.1:                               ; @.str.1
	.asciz	"\n%02d:%02d:%02d:%02d\t"

l_.str.2:                               ; @.str.2
	.asciz	" "

l_.str.3:                               ; @.str.3
	.asciz	"%02x%02x"

l_.str.4:                               ; @.str.4
	.asciz	"\n"

	.no_dead_strip	_scc_write_packet
.subsections_via_symbols
