	.file	"655769.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Enter file name: "
.LC1:
	.string	"%s"
.LC2:
	.string	"r"
.LC3:
	.string	"Could not open file %s"
.LC4:
	.string	"%*[^\n]"
.LC5:
	.string	"%*c"
.LC7:
	.string	"line[%06d]: %s"
.LC8:
	.string	"Tempo decorrido %.6fs"
.LC9:
	.string	"The file has %d lines\n "
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 160
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
	mov	DWORD PTR -152[rbp], 1
	mov	DWORD PTR -148[rbp], 0
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -112[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -112[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -144[rbp], rax
	cmp	QWORD PTR -144[rbp], 0
	jne	.L2
	lea	rax, -112[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	jmp	.L8
.L2:
	call	clock@PLT
	mov	QWORD PTR -136[rbp], rax
	jmp	.L4
.L5:
	add	DWORD PTR -152[rbp], 1
.L4:
	mov	rax, QWORD PTR -144[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rax, QWORD PTR -144[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	cmp	eax, -1
	jne	.L5
	call	clock@PLT
	mov	QWORD PTR -128[rbp], rax
	mov	rax, QWORD PTR -128[rbp]
	sub	rax, QWORD PTR -136[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm1, QWORD PTR .LC6[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -120[rbp], xmm0
	mov	rax, QWORD PTR -144[rbp]
	mov	rdi, rax
	call	rewind@PLT
	jmp	.L6
.L7:
	add	DWORD PTR -148[rbp], 1
	lea	rdx, -112[rbp]
	mov	eax, DWORD PTR -148[rbp]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	strlen@PLT
	sub	rax, 1
	movzx	eax, BYTE PTR -112[rbp+rax]
	cmp	al, 10
	je	.L6
	mov	edi, 10
	call	putchar@PLT
.L6:
	mov	rdx, QWORD PTR -144[rbp]
	lea	rax, -112[rbp]
	mov	esi, 100
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L7
	mov	rax, QWORD PTR -120[rbp]
	movq	xmm0, rax
	lea	rdi, .LC8[rip]
	mov	eax, 1
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	mov	rax, QWORD PTR -144[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -152[rbp]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
.L8:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC6:
	.long	0
	.long	1093567616
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"655769.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter file name: \000"
	.align	2
.LC1:
	.ascii	"%s\000"
	.align	2
.LC2:
	.ascii	"r\000"
	.align	2
.LC3:
	.ascii	"Could not open file %s\000"
	.align	2
.LC4:
	.ascii	"%*[^\012]\000"
	.align	2
.LC5:
	.ascii	"%*c\000"
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.align	2
.LC6:
	.ascii	"line[%06d]: %s\000"
	.align	2
.LC7:
	.ascii	"Tempo decorrido %.6fs\000"
	.align	2
.LC8:
	.ascii	"The file has %d lines\012 \000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 136
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #136
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	mov	r3, #1
	str	r3, [fp, #-136]
	mov	r3, #0
	str	r3, [fp, #-132]
	ldr	r0, .L10+4
	bl	printf
	sub	r3, fp, #108
	mov	r1, r3
	ldr	r0, .L10+8
	bl	__isoc99_scanf
	sub	r3, fp, #108
	ldr	r1, .L10+12
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-128]
	ldr	r3, [fp, #-128]
	cmp	r3, #0
	bne	.L2
	sub	r3, fp, #108
	mov	r1, r3
	ldr	r0, .L10+16
	bl	printf
	mov	r3, #0
	b	.L8
.L2:
	bl	clock
	str	r0, [fp, #-124]
	b	.L4
.L5:
	ldr	r3, [fp, #-136]
	add	r3, r3, #1
	str	r3, [fp, #-136]
.L4:
	ldr	r1, .L10+20
	ldr	r0, [fp, #-128]
	bl	__isoc99_fscanf
	ldr	r1, .L10+24
	ldr	r0, [fp, #-128]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L5
	bl	clock
	str	r0, [fp, #-120]
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-124]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L10+28
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-116]
	str	r3, [fp, #-112]
	ldr	r0, [fp, #-128]
	bl	rewind
	b	.L6
.L7:
	ldr	r3, [fp, #-132]
	add	r3, r3, #1
	str	r3, [fp, #-132]
	sub	r3, fp, #108
	mov	r2, r3
	ldr	r1, [fp, #-132]
	ldr	r0, .L10+32
	bl	printf
	sub	r3, fp, #108
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-104]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L6
	mov	r0, #10
	bl	putchar
.L6:
	sub	r3, fp, #108
	ldr	r2, [fp, #-128]
	mov	r1, #100
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L7
	sub	r3, fp, #116
	ldmia	r3, {r2-r3}
	ldr	r0, .L10+36
	bl	printf
	mov	r0, #10
	bl	putchar
	ldr	r0, [fp, #-128]
	bl	fclose
	ldr	r1, [fp, #-136]
	ldr	r0, .L10+40
	bl	printf
	mov	r3, #0
.L8:
	ldr	r2, .L10
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC9
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	1093567616
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
