	.file	"extr_subtitle.c_ParseMPL2.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"[%d][] %[^\r\n]"
.LC1:
	.string	"[%d][%d] %[^\r\n]"
	.text
	.p2align 4
	.type	ParseMPL2, @function
ParseMPL2:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, r8
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rbx, rsp
	call	VLC_UNUSED@PLT
	mov	rdi, r14
	call	VLC_UNUSED@PLT
	mov	rdi, rbp
	call	VLC_UNUSED@PLT
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rdi, rax
	call	strlen@PLT
	lea	rdi, 1[rax]
	call	malloc@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L31
	mov	rcx, rax
	mov	rdx, rbx
	xor	eax, eax
	mov	rdi, r14
	lea	rsi, .LC0[rip]
	mov	DWORD PTR [rsp], 0
	mov	DWORD PTR 4[rsp], -1
	call	sscanf@PLT
	cmp	eax, 2
	je	.L8
	xor	eax, eax
	lea	rcx, 4[rsp]
	mov	r8, rbp
	mov	rdx, rbx
	lea	rsi, .LC1[rip]
	mov	rdi, r14
	call	sscanf@PLT
	cmp	eax, 3
	je	.L8
	mov	rdi, rbp
	call	free@PLT
.L12:
	mov	rdi, r12
	call	TextGetLine@PLT
	mov	r14, rax
	test	rax, rax
	jne	.L2
	mov	eax, DWORD PTR VLC_EGENERIC[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L8:
	imul	edi, DWORD PTR [rsp], 100
	call	VLC_TICK_FROM_MS@PLT
	mov	edi, DWORD PTR 4[rsp]
	mov	DWORD PTR 0[r13], eax
	mov	eax, -1
	test	edi, edi
	jns	.L32
.L7:
	mov	DWORD PTR 4[r13], eax
	movzx	eax, BYTE PTR 0[rbp]
	mov	r12, rbp
	xor	ebx, ebx
	xor	edx, edx
	test	al, al
	jne	.L10
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L14:
	cmp	BYTE PTR [r12], 47
	jne	.L15
	test	ebx, ebx
	je	.L16
	cmp	BYTE PTR -1[rbp+rdx], 10
	je	.L16
	.p2align 4,,10
	.p2align 3
.L15:
	add	ebx, 1
.L17:
	movsx	rdx, ebx
	lea	r12, 0[rbp+rdx]
	movzx	eax, BYTE PTR [r12]
	test	al, al
	je	.L11
.L10:
	cmp	al, 124
	jne	.L14
	mov	BYTE PTR [r12], 10
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L16:
	lea	r14, 1[rbp+rdx]
	mov	rdi, r14
	call	strlen@PLT
	mov	rsi, r14
	mov	rdi, r12
	lea	rdx, 1[rax]
	call	memmove@PLT
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L11:
	mov	QWORD PTR 8[r13], rbp
	mov	eax, DWORD PTR VLC_SUCCESS[rip]
.L1:
	mov	rsi, QWORD PTR 8[rsp]
	xor	rsi, QWORD PTR fs:40
	jne	.L33
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L32:
	.cfi_restore_state
	imul	edi, edi, 100
	call	VLC_TICK_FROM_MS@PLT
	jmp	.L7
.L31:
	mov	eax, DWORD PTR VLC_ENOMEM[rip]
	jmp	.L1
.L33:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ParseMPL2, .-ParseMPL2
	.comm	VLC_SUCCESS,4,4
	.comm	VLC_ENOMEM,4,4
	.comm	VLC_EGENERIC,4,4
	.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_subtitle.c_ParseMPL2.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"[%d][] %[^\015\012]\000"
	.align	2
.LC1:
	.ascii	"[%d][%d] %[^\015\012]\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ParseMPL2, %function
ParseMPL2:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r1
	mov	r9, r3
	ldr	r3, .L34
	sub	sp, sp, #24
	mov	r5, r2
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	VLC_UNUSED
	mov	r0, r4
	bl	VLC_UNUSED
	ldr	r0, [sp, #56]
	bl	VLC_UNUSED
	mov	r7, #0
	ldr	r6, .L34+4
	ldr	r8, .L34+8
	b	.L12
.L2:
	bl	strlen
	add	r0, r0, #1
	bl	malloc
	subs	r4, r0, #0
	beq	.L30
	mvn	ip, #0
	mov	r3, r4
	mov	r1, r6
	mov	r0, r10
	add	r2, sp, #12
	str	r7, [sp, #12]
	str	ip, [sp, #16]
	bl	sscanf
	cmp	r0, #2
	beq	.L8
	mov	r0, r10
	mov	r1, r8
	str	r4, [sp]
	add	r2, sp, #12
	add	r3, sp, #16
	bl	sscanf
	cmp	r0, #3
	beq	.L8
	mov	r0, r4
	bl	free
.L12:
	mov	r0, r5
	bl	TextGetLine
	subs	r10, r0, #0
	bne	.L2
	ldr	r3, .L34+12
	ldr	r0, [r3]
	b	.L1
.L8:
	ldr	r0, [sp, #12]
	add	r0, r0, r0, lsl #2
	add	r0, r0, r0, lsl #2
	lsl	r0, r0, #2
	bl	VLC_TICK_FROM_MS
	ldr	r3, [sp, #16]
	str	r0, [r9]
	cmp	r3, #0
	mvnlt	r0, #0
	bge	.L31
.L7:
	ldrb	r3, [r4]	@ zero_extendqisi2
	str	r0, [r9, #4]
	cmp	r3, #0
	movne	r5, #0
	movne	r7, r4
	movne	r1, r5
	movne	r8, #10
	bne	.L10
	b	.L11
.L32:
	add	r3, r4, r1
	ldrb	r3, [r3, #-1]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L16
.L15:
	add	r5, r5, #1
.L17:
	ldrb	r3, [r4, r5]	@ zero_extendqisi2
	mov	r1, r5
	cmp	r3, #0
	add	r7, r4, r5
	beq	.L11
.L10:
	cmp	r3, #124
	strbeq	r8, [r7]
	beq	.L15
	ldrb	r3, [r7]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L15
	cmp	r5, #0
	bne	.L32
.L16:
	add	r1, r1, #1
	add	r6, r4, r1
	mov	r0, r6
	bl	strlen
	mov	r1, r6
	add	r2, r0, #1
	mov	r0, r7
	bl	memmove
	b	.L17
.L11:
	ldr	r3, .L34+16
	str	r4, [r9, #8]
	ldr	r0, [r3]
.L1:
	ldr	r3, .L34
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L33
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L31:
	add	r3, r3, r3, lsl #2
	add	r3, r3, r3, lsl #2
	lsl	r0, r3, #2
	bl	VLC_TICK_FROM_MS
	b	.L7
.L30:
	ldr	r3, .L34+20
	ldr	r0, [r3]
	b	.L1
.L33:
	bl	__stack_chk_fail
.L35:
	.align	2
.L34:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.word	VLC_EGENERIC
	.word	VLC_SUCCESS
	.word	VLC_ENOMEM
	.size	ParseMPL2, .-ParseMPL2
	.comm	VLC_SUCCESS,4,4
	.comm	VLC_ENOMEM,4,4
	.comm	VLC_EGENERIC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
