	.file	"extr_assdec.c_read_dialogue.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Dialogue: %*[^,],%d:%d:%d%*c%d,%d:%d:%d%*c%d,%n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%u,%d,%s"
	.text
	.p2align 4
	.type	read_dialogue, @function
read_dialogue:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, r8
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	mov	rdi, r14
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	lea	rsi, .LC0[rip]
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	lea	rcx, 12[rsp]
	lea	rdx, 8[rsp]
	mov	DWORD PTR 4[rsp], 0
	sub	rsp, 8
	.cfi_def_cfa_offset 120
	lea	rax, 12[rsp]
	push	rax
	.cfi_def_cfa_offset 128
	lea	rax, 52[rsp]
	push	rax
	.cfi_def_cfa_offset 136
	lea	rax, 56[rsp]
	push	rax
	.cfi_def_cfa_offset 144
	lea	rax, 60[rsp]
	push	rax
	.cfi_def_cfa_offset 152
	lea	rax, 64[rsp]
	push	rax
	.cfi_def_cfa_offset 160
	lea	r9, 68[rsp]
	lea	r8, 64[rsp]
	call	sscanf@PLT
	add	rsp, 48
	.cfi_def_cfa_offset 112
	cmp	eax, 7
	jle	.L8
	mov	eax, DWORD PTR 4[rsp]
	test	eax, eax
	jle	.L8
	lea	rdi, 40[r14]
	call	atoi@PLT
	movsx	rcx, DWORD PTR 28[rsp]
	movsx	rsi, DWORD PTR 12[rsp]
	mov	rdi, rbx
	mov	r15d, eax
	movsx	rax, DWORD PTR 24[rsp]
	mov	rdx, rcx
	imul	rax, rax, 3600
	sal	rdx, 4
	sub	rdx, rcx
	mov	rcx, rsi
	sal	rcx, 4
	lea	rax, [rax+rdx*4]
	add	eax, DWORD PTR 32[rsp]
	sub	rcx, rsi
	imul	eax, eax, 100
	add	eax, DWORD PTR 36[rsp]
	mov	edx, eax
	movsx	rax, DWORD PTR 8[rsp]
	imul	rax, rax, 3600
	lea	rax, [rax+rcx*4]
	add	eax, DWORD PTR 16[rsp]
	imul	eax, eax, 100
	add	eax, DWORD PTR 20[rsp]
	sub	edx, eax
	mov	DWORD PTR 0[r13], eax
	mov	DWORD PTR [r12], edx
	call	av_bprint_clear@PLT
	mov	edx, DWORD PTR 0[rbp]
	movsx	rax, DWORD PTR 4[rsp]
	mov	rdi, rbx
	lea	rsi, .LC1[rip]
	lea	ecx, 1[rdx]
	lea	r8, [r14+rax*4]
	mov	DWORD PTR 0[rbp], ecx
	mov	ecx, r15d
	call	av_bprintf@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L5:
	sub	eax, 1
	mov	DWORD PTR [rbx], eax
	cdqe
	mov	BYTE PTR [rdx+rax], 0
.L3:
	movsx	rcx, DWORD PTR [rbx]
	mov	rdx, QWORD PTR 8[rbx]
	mov	rax, rcx
	movzx	ecx, BYTE PTR -1[rdx+rcx]
	test	eax, eax
	jle	.L4
	cmp	cl, 13
	je	.L5
.L4:
	cmp	cl, 10
	je	.L5
	xor	eax, eax
.L1:
	mov	rsi, QWORD PTR 40[rsp]
	xor	rsi, QWORD PTR fs:40
	jne	.L17
	add	rsp, 56
	.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
.L8:
	.cfi_restore_state
	mov	eax, -1
	jmp	.L1
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	read_dialogue, .-read_dialogue
	.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_assdec.c_read_dialogue.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Dialogue: %*[^,],%d:%d:%d%*c%d,%d:%d:%d%*c%d,%n\000"
	.align	2
.LC1:
	.ascii	"%u,%d,%s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_dialogue, %function
read_dialogue:
	@ args = 4, pretend = 0, frame = 48
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r6, r2
	mov	r5, #0
	sub	sp, sp, #84
	add	r2, sp, #40
	add	ip, sp, #64
	mov	r8, r3
	add	r3, sp, #72
	str	r2, [sp, #24]
	str	r3, [sp, #20]
	str	ip, [sp, #12]
	add	lr, sp, #68
	ldr	ip, .L18
	add	r2, sp, #56
	add	r3, sp, #52
	mov	r4, r1
	add	r1, sp, #60
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	str	lr, [sp, #16]
	mov	r7, r0
	ldr	r1, .L18+4
	mov	r0, r6
	add	r3, sp, #48
	add	r2, sp, #44
	ldr	ip, [ip]
	str	ip, [sp, #76]
	mov	ip,#0
	ldr	r9, [sp, #120]
	str	r5, [sp, #40]
	bl	sscanf
	cmp	r0, #7
	ble	.L8
	ldr	r3, [sp, #40]
	cmp	r3, r5
	ble	.L8
	add	r0, r6, #40
	bl	atoi
	mov	ip, #60
	mov	r1, #3600
	ldr	r3, [sp, #64]
	ldr	lr, [sp, #48]
	smull	r10, fp, r3, ip
	smull	r2, r3, lr, ip
	ldr	ip, [sp, #60]
	ldr	lr, [sp, #44]
	smlal	r10, fp, r1, ip
	smlal	r2, r3, r1, lr
	ldr	ip, [sp, #52]
	ldr	r1, [sp, #68]
	str	r0, [sp, #36]
	adds	r10, r10, r1
	adds	r2, r2, ip
	ldr	r0, [sp, #72]
	ldr	r1, [sp, #56]
	add	r10, r10, r10, lsl #2
	add	r2, r2, r2, lsl #2
	add	r10, r10, r10, lsl #2
	add	r2, r2, r2, lsl #2
	add	r2, r1, r2, lsl #2
	add	r10, r0, r10, lsl #2
	sub	r10, r10, r2
	str	r2, [r8]
	mov	r0, r4
	str	r10, [r9]
	bl	av_bprint_clear
	ldr	r2, [r7]
	ldr	r3, [sp, #40]
	add	r1, r2, #1
	add	r6, r6, r3, lsl #2
	str	r1, [r7]
	mov	r0, r4
	ldr	r3, [sp, #36]
	ldr	r1, .L18+8
	str	r6, [sp]
	bl	av_bprintf
	b	.L3
.L5:
	str	r3, [r4]
	strb	r5, [r2, r3]
.L3:
	ldr	r3, [r4]
	ldr	r2, [r4, #4]
	cmp	r3, #0
	sub	r3, r3, #1
	ldrb	r1, [r2, r3]	@ zero_extendqisi2
	ble	.L4
	cmp	r1, #13
	beq	.L5
.L4:
	cmp	r1, #10
	beq	.L5
	mov	r0, #0
.L1:
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [sp, #76]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	add	sp, sp, #84
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L8:
	mvn	r0, #0
	b	.L1
.L17:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	read_dialogue, .-read_dialogue
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
