	.file	"extr_webvtt.c_ConvertWEBVTT.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ConvertWEBVTT, @function
ConvertWEBVTT:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, esi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	r12, rsp
	mov	rdi, r12
	call	vlc_memstream_open@PLT
	test	rax, rax
	jne	.L9
	mov	rdi, QWORD PTR [rbx]
	xor	r14d, r14d
	call	strlen@PLT
	mov	rdi, QWORD PTR 8[rbx]
	lea	ebp, 8[rax]
	movsx	rbp, ebp
	test	rdi, rdi
	je	.L4
	call	strlen@PLT
	lea	r14d, 8[rax]
	movsx	r14, r14d
.L4:
	mov	rdi, QWORD PTR 16[rbx]
	xor	r13d, r13d
	test	rdi, rdi
	je	.L5
	call	strlen@PLT
	lea	r13d, 8[rax]
	movsx	r13, r13d
.L5:
	movabs	rax, 7166480957208264704
	lea	rsi, 8[r14+rbp]
	mov	QWORD PTR 8[rsp], rax
	add	rsi, r13
	test	r15d, r15d
	je	.L6
	mov	BYTE PTR 15[rsp], 120
.L6:
	lea	r15, 8[rsp]
	mov	rdi, r15
	call	SetDWBE@PLT
	mov	rsi, r15
	mov	edx, 8
	mov	rdi, r12
	call	vlc_memstream_write@PLT
	cmp	QWORD PTR 8[rbx], 0
	lea	r15, 16[rsp]
	je	.L7
	movabs	rax, 7954874718954192896
	mov	rsi, r14
	mov	rdi, r15
	mov	QWORD PTR 16[rsp], rax
	call	SetDWBE@PLT
	mov	edx, 8
	mov	rsi, r15
	mov	rdi, r12
	call	vlc_memstream_write@PLT
	mov	rsi, QWORD PTR 8[rbx]
	lea	rdx, -8[r14]
	mov	rdi, r12
	call	vlc_memstream_write@PLT
.L7:
	cmp	QWORD PTR 16[rbx], 0
	je	.L8
	movabs	rax, 7454711320475074560
	mov	rsi, r13
	mov	rdi, r15
	mov	QWORD PTR 16[rsp], rax
	call	SetDWBE@PLT
	mov	edx, 8
	mov	rsi, r15
	mov	rdi, r12
	call	vlc_memstream_write@PLT
	mov	rsi, QWORD PTR 16[rbx]
	lea	rdx, -8[r13]
	mov	rdi, r12
	call	vlc_memstream_write@PLT
.L8:
	movabs	rax, 7816385761942437888
	mov	rsi, rbp
	mov	rdi, r15
	mov	QWORD PTR 16[rsp], rax
	call	SetDWBE@PLT
	mov	edx, 8
	mov	rsi, r15
	mov	rdi, r12
	call	vlc_memstream_write@PLT
	mov	rsi, QWORD PTR [rbx]
	lea	rdx, -8[rbp]
	mov	rdi, r12
	call	vlc_memstream_write@PLT
	mov	rdi, r12
	call	vlc_memstream_close@PLT
	cmp	rax, QWORD PTR VLC_SUCCESS[rip]
	je	.L21
.L9:
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L22
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L21:
	.cfi_restore_state
	mov	esi, DWORD PTR [rsp]
	mov	edi, DWORD PTR 4[rsp]
	call	block_heap_Alloc@PLT
	jmp	.L1
.L22:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ConvertWEBVTT, .-ConvertWEBVTT
	.comm	VLC_SUCCESS,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_webvtt.c_ConvertWEBVTT.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ConvertWEBVTT, %function
ConvertWEBVTT:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r3, .L26
	sub	sp, sp, #36
	mov	r4, r0
	add	r0, sp, #4
	mov	r5, r1
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	bl	vlc_memstream_open
	cmp	r0, #0
	bne	.L9
	ldr	r0, [r4]
	bl	strlen
	mov	r8, r0
	ldr	r0, [r4, #4]
	add	r9, r8, #8
	cmp	r0, #0
	moveq	r7, r0
	beq	.L4
	bl	strlen
	add	r7, r0, #8
.L4:
	ldr	r0, [r4, #8]
	cmp	r0, #0
	moveq	r6, r0
	beq	.L5
	bl	strlen
	add	r6, r0, #8
.L5:
	ldr	r2, .L26+4
	cmp	r5, #0
	ldm	r2, {r0, r1}
	movne	r2, #120
	add	r3, r8, #16
	add	r3, r3, r7
	add	r5, sp, #12
	add	r3, r3, r6
	stm	r5, {r0, r1}
	mov	r1, r3
	mov	r0, r5
	strbne	r2, [sp, #19]
	bl	SetDWBE
	mov	r1, r5
	mov	r2, #8
	add	r0, sp, #4
	bl	vlc_memstream_write
	ldr	r3, [r4, #4]
	cmp	r3, #0
	addeq	r5, sp, #20
	beq	.L7
	ldr	r3, .L26+8
	add	r5, sp, #20
	ldm	r3, {r0, r1}
	stm	r5, {r0, r1}
	mov	r1, r7
	mov	r0, r5
	bl	SetDWBE
	mov	r1, r5
	mov	r2, #8
	add	r0, sp, #4
	bl	vlc_memstream_write
	ldr	r1, [r4, #4]
	sub	r2, r7, #8
	add	r0, sp, #4
	bl	vlc_memstream_write
.L7:
	ldr	r3, [r4, #8]
	cmp	r3, #0
	beq	.L8
	ldr	r3, .L26+12
	ldm	r3, {r0, r1}
	stm	r5, {r0, r1}
	mov	r1, r6
	mov	r0, r5
	bl	SetDWBE
	mov	r2, #8
	mov	r1, r5
	add	r0, sp, #4
	bl	vlc_memstream_write
	ldr	r1, [r4, #8]
	sub	r2, r6, #8
	add	r0, sp, #4
	bl	vlc_memstream_write
.L8:
	ldr	r3, .L26+16
	ldm	r3, {r0, r1}
	stm	r5, {r0, r1}
	mov	r1, r9
	mov	r0, r5
	bl	SetDWBE
	mov	r1, r5
	mov	r2, #8
	add	r0, sp, #4
	bl	vlc_memstream_write
	mov	r2, r8
	ldr	r1, [r4]
	add	r0, sp, #4
	bl	vlc_memstream_write
	add	r0, sp, #4
	bl	vlc_memstream_close
	ldr	r3, .L26+20
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L24
.L9:
	mov	r0, #0
.L1:
	ldr	r3, .L26
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L25
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L24:
	ldr	r1, [sp, #4]
	ldr	r0, [sp, #8]
	bl	block_heap_Alloc
	b	.L1
.L25:
	bl	__stack_chk_fail
.L27:
	.align	2
.L26:
	.word	.LC4
	.word	.LANCHOR0
	.word	.LANCHOR0+8
	.word	.LANCHOR0+16
	.word	.LANCHOR0+24
	.word	VLC_SUCCESS
	.size	ConvertWEBVTT, .-ConvertWEBVTT
	.comm	VLC_SUCCESS,4,4
	.section	.rodata
	.align	2
	.set	.LANCHOR0,. + 0
.LC0:
	.ascii	"\000\000\000\000vttc"
.LC1:
	.ascii	"\000\000\000\000iden"
.LC2:
	.ascii	"\000\000\000\000sttg"
.LC3:
	.ascii	"\000\000\000\000payl"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
