	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function webvtt_write_packet
_webvtt_write_packet:                   ## @webvtt_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	(%rdi), %rbx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_avio_printf
	movq	_AV_PKT_DATA_WEBVTT_IDENTIFIER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rdx
	movq	%r14, %rdi
	callq	_av_packet_get_side_data
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movl	-32(%rbp), %edx
	testl	%edx, %edx
	jle	LBB0_3
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_avio_printf
LBB0_3:
	movq	16(%r14), %rsi
	movq	%rbx, %rdi
	callq	_webvtt_write_time
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_avio_printf
	movq	8(%r14), %rsi
	addq	16(%r14), %rsi
	movq	%rbx, %rdi
	callq	_webvtt_write_time
	movq	_AV_PKT_DATA_WEBVTT_SETTINGS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %rdx
	movq	%r14, %rdi
	callq	_av_packet_get_side_data
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movl	-28(%rbp), %edx
	testl	%edx, %edx
	jle	LBB0_6
## %bb.5:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_avio_printf
LBB0_6:
	leaq	L_.str(%rip), %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_avio_printf
	movl	(%r14), %edx
	movl	4(%r14), %esi
	movq	%rbx, %rdi
	callq	_avio_write
	movq	%rbx, %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_avio_printf
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_AV_PKT_DATA_WEBVTT_IDENTIFIER,4,2 ## @AV_PKT_DATA_WEBVTT_IDENTIFIER
L_.str.1:                               ## @.str.1
	.asciz	"%.*s\n"

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

	.comm	_AV_PKT_DATA_WEBVTT_SETTINGS,4,2 ## @AV_PKT_DATA_WEBVTT_SETTINGS
L_.str.3:                               ## @.str.3
	.asciz	" %.*s"

	.no_dead_strip	_webvtt_write_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function webvtt_write_packet
_webvtt_write_packet:                   ; @webvtt_write_packet
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x20, x1
	ldr	x19, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_avio_printf
Lloh2:
	adrp	x8, _AV_PKT_DATA_WEBVTT_IDENTIFIER@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AV_PKT_DATA_WEBVTT_IDENTIFIER@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	add	x2, sp, #28
	mov	x0, x20
	bl	_av_packet_get_side_data
	ldr	w8, [sp, #28]
	cmp	x0, #0
	ccmp	w8, #1, #8, ne
	b.lt	LBB0_2
; %bb.1:
	stp	x8, x0, [sp]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_avio_printf
LBB0_2:
	ldr	x1, [x20, #16]
	mov	x0, x19
	bl	_webvtt_write_time
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_avio_printf
	ldp	x9, x8, [x20, #8]
	add	x1, x9, x8
	mov	x0, x19
	bl	_webvtt_write_time
Lloh9:
	adrp	x8, _AV_PKT_DATA_WEBVTT_SETTINGS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AV_PKT_DATA_WEBVTT_SETTINGS@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	add	x2, sp, #24
	mov	x0, x20
	bl	_av_packet_get_side_data
	ldr	w8, [sp, #24]
	cmp	x0, #0
	ccmp	w8, #1, #8, ne
	b.lt	LBB0_4
; %bb.3:
	stp	x8, x0, [sp]
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_avio_printf
LBB0_4:
Lloh14:
	adrp	x21, l_.str@PAGE
Lloh15:
	add	x21, x21, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	bl	_avio_printf
	ldp	w2, w1, [x20]
	mov	x0, x19
	bl	_avio_write
	mov	x0, x19
	mov	x1, x21
	bl	_avio_printf
	mov	w0, #0
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_AV_PKT_DATA_WEBVTT_IDENTIFIER,4,2 ; @AV_PKT_DATA_WEBVTT_IDENTIFIER
l_.str.1:                               ; @.str.1
	.asciz	"%.*s\n"

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

	.comm	_AV_PKT_DATA_WEBVTT_SETTINGS,4,2 ; @AV_PKT_DATA_WEBVTT_SETTINGS
l_.str.3:                               ; @.str.3
	.asciz	" %.*s"

	.no_dead_strip	_webvtt_write_packet
.subsections_via_symbols
