	.file	"357112.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"orig.txt"
.LC2:
	.string	"w"
.LC3:
	.string	"output.txt"
	.align 8
.LC4:
	.string	"ERROR opening input file orig.txt"
	.align 8
.LC6:
	.string	"ERROR: You need 100 datum instead of %d\n"
	.align 8
.LC7:
	.string	"run 'make run' longer to get enough information\n"
.LC8:
	.string	"%s %s %lf %lf\n"
.LC9:
	.string	"opt.txt"
	.align 8
.LC10:
	.string	"ERROR opening input file opt.txt"
.LC11:
	.string	"hash.txt"
	.align 8
.LC12:
	.string	"ERROR opening input file hash.txt"
.LC14:
	.string	"append() %lf %lf %lf\n"
.LC15:
	.string	"findName() %.9lf %.9lf %.9lf"
	.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, 256
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -192[rbp], rax
	lea	rsi, .LC2[rip]
	lea	rdi, .LC3[rip]
	call	fopen@PLT
	mov	QWORD PTR -136[rbp], rax
	cmp	QWORD PTR -192[rbp], 0
	jne	.L2
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L2:
	mov	DWORD PTR -244[rbp], 0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -184[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -176[rbp], xmm0
	mov	DWORD PTR -244[rbp], 0
	jmp	.L3
.L5:
	mov	rax, QWORD PTR -192[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L4
	mov	eax, DWORD PTR -244[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L4:
	lea	rdi, -232[rbp]
	lea	rsi, -240[rbp]
	lea	rcx, -64[rbp]
	lea	rdx, -128[rbp]
	mov	rax, QWORD PTR -192[rbp]
	mov	r9, rdi
	mov	r8, rsi
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	movsd	xmm0, QWORD PTR -240[rbp]
	movsd	xmm1, QWORD PTR -184[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -184[rbp], xmm0
	movsd	xmm0, QWORD PTR -232[rbp]
	movsd	xmm1, QWORD PTR -176[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -176[rbp], xmm0
	add	DWORD PTR -244[rbp], 1
.L3:
	cmp	DWORD PTR -244[rbp], 99
	jle	.L5
	mov	rax, QWORD PTR -192[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rsi, .LC0[rip]
	lea	rdi, .LC9[rip]
	call	fopen@PLT
	mov	QWORD PTR -192[rbp], rax
	cmp	QWORD PTR -192[rbp], 0
	jne	.L6
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -192[rbp], rax
	cmp	QWORD PTR -192[rbp], 0
	jne	.L6
	lea	rdi, .LC10[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L6:
	pxor	xmm0, xmm0
	movsd	QWORD PTR -168[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -160[rbp], xmm0
	mov	DWORD PTR -244[rbp], 0
	jmp	.L7
.L9:
	mov	rax, QWORD PTR -192[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L8
	mov	eax, DWORD PTR -244[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L8:
	lea	rdi, -216[rbp]
	lea	rsi, -224[rbp]
	lea	rcx, -64[rbp]
	lea	rdx, -128[rbp]
	mov	rax, QWORD PTR -192[rbp]
	mov	r9, rdi
	mov	r8, rsi
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	movsd	xmm0, QWORD PTR -224[rbp]
	movsd	xmm1, QWORD PTR -168[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -168[rbp], xmm0
	movsd	xmm0, QWORD PTR -216[rbp]
	movsd	xmm1, QWORD PTR -160[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -160[rbp], xmm0
	add	DWORD PTR -244[rbp], 1
.L7:
	cmp	DWORD PTR -244[rbp], 99
	jle	.L9
	mov	rax, QWORD PTR -192[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rsi, .LC0[rip]
	lea	rdi, .LC11[rip]
	call	fopen@PLT
	mov	QWORD PTR -192[rbp], rax
	cmp	QWORD PTR -192[rbp], 0
	jne	.L10
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -192[rbp], rax
	cmp	QWORD PTR -192[rbp], 0
	jne	.L10
	lea	rdi, .LC12[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L10:
	pxor	xmm0, xmm0
	movsd	QWORD PTR -152[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -144[rbp], xmm0
	mov	DWORD PTR -244[rbp], 0
	jmp	.L11
.L13:
	mov	rax, QWORD PTR -192[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L12
	mov	eax, DWORD PTR -244[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L12:
	lea	rdi, -200[rbp]
	lea	rsi, -208[rbp]
	lea	rcx, -64[rbp]
	lea	rdx, -128[rbp]
	mov	rax, QWORD PTR -192[rbp]
	mov	r9, rdi
	mov	r8, rsi
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	movsd	xmm0, QWORD PTR -208[rbp]
	movsd	xmm1, QWORD PTR -152[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -152[rbp], xmm0
	movsd	xmm0, QWORD PTR -200[rbp]
	movsd	xmm1, QWORD PTR -144[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -144[rbp], xmm0
	add	DWORD PTR -244[rbp], 1
.L11:
	cmp	DWORD PTR -244[rbp], 99
	jle	.L13
	movsd	xmm0, QWORD PTR -152[rbp]
	movsd	xmm1, QWORD PTR .LC13[rip]
	movapd	xmm2, xmm0
	divsd	xmm2, xmm1
	movsd	xmm0, QWORD PTR -168[rbp]
	movsd	xmm1, QWORD PTR .LC13[rip]
	movapd	xmm3, xmm0
	divsd	xmm3, xmm1
	movsd	xmm0, QWORD PTR -184[rbp]
	movsd	xmm1, QWORD PTR .LC13[rip]
	divsd	xmm0, xmm1
	movq	rdx, xmm0
	mov	rax, QWORD PTR -136[rbp]
	movapd	xmm1, xmm3
	movq	xmm0, rdx
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	mov	eax, 3
	call	fprintf@PLT
	movsd	xmm0, QWORD PTR -144[rbp]
	movsd	xmm1, QWORD PTR .LC13[rip]
	movapd	xmm2, xmm0
	divsd	xmm2, xmm1
	movsd	xmm0, QWORD PTR -160[rbp]
	movsd	xmm1, QWORD PTR .LC13[rip]
	movapd	xmm3, xmm0
	divsd	xmm3, xmm1
	movsd	xmm0, QWORD PTR -176[rbp]
	movsd	xmm1, QWORD PTR .LC13[rip]
	divsd	xmm0, xmm1
	movq	rdx, xmm0
	mov	rax, QWORD PTR -136[rbp]
	movapd	xmm1, xmm3
	movq	xmm0, rdx
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 3
	call	fprintf@PLT
	mov	rax, QWORD PTR -136[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -192[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC13:
	.long	0
	.long	1079574528
	.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	"357112.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"orig.txt\000"
	.align	2
.LC2:
	.ascii	"w\000"
	.align	2
.LC3:
	.ascii	"output.txt\000"
	.align	2
.LC4:
	.ascii	"ERROR opening input file orig.txt\000"
	.align	2
.LC5:
	.ascii	"ERROR: You need 100 datum instead of %d\012\000"
	.align	2
.LC6:
	.ascii	"run 'make run' longer to get enough information\012"
	.ascii	"\000"
	.align	2
.LC7:
	.ascii	"%s %s %lf %lf\012\000"
	.global	__aeabi_dadd
	.align	2
.LC8:
	.ascii	"opt.txt\000"
	.align	2
.LC9:
	.ascii	"ERROR opening input file opt.txt\000"
	.align	2
.LC10:
	.ascii	"hash.txt\000"
	.align	2
.LC11:
	.ascii	"ERROR opening input file hash.txt\000"
	.global	__aeabi_ddiv
	.align	2
.LC12:
	.ascii	"append() %lf %lf %lf\012\000"
	.align	2
.LC13:
	.ascii	"findName() %.9lf %.9lf %.9lf\000"
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 224
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #240
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	ldr	r1, .L16+4
	ldr	r0, .L16+8
	bl	fopen
	str	r0, [fp, #-240]
	ldr	r1, .L16+12
	ldr	r0, .L16+16
	bl	fopen
	str	r0, [fp, #-232]
	ldr	r3, [fp, #-240]
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L16+20
	bl	puts
	mov	r0, #0
	bl	exit
.L2:
	mov	r3, #0
	str	r3, [fp, #-236]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-180]
	str	r3, [fp, #-176]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-172]
	str	r3, [fp, #-168]
	mov	r3, #0
	str	r3, [fp, #-236]
	b	.L3
.L5:
	ldr	r0, [fp, #-240]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L4
	ldr	r1, [fp, #-236]
	ldr	r0, .L16+24
	bl	printf
	ldr	r0, .L16+28
	bl	puts
	mov	r0, #0
	bl	exit
.L4:
	sub	r1, fp, #76
	sub	r2, fp, #128
	sub	r3, fp, #220
	str	r3, [sp, #4]
	sub	r3, fp, #228
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L16+32
	ldr	r0, [fp, #-240]
	bl	__isoc99_fscanf
	sub	r3, fp, #228
	ldmia	r3, {r2-r3}
	sub	r1, fp, #180
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-180]
	str	r3, [fp, #-176]
	sub	r3, fp, #220
	ldmia	r3, {r2-r3}
	sub	r1, fp, #172
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-172]
	str	r3, [fp, #-168]
	ldr	r3, [fp, #-236]
	add	r3, r3, #1
	str	r3, [fp, #-236]
.L3:
	ldr	r3, [fp, #-236]
	cmp	r3, #99
	ble	.L5
	ldr	r0, [fp, #-240]
	bl	fclose
	ldr	r1, .L16+4
	ldr	r0, .L16+36
	bl	fopen
	str	r0, [fp, #-240]
	ldr	r3, [fp, #-240]
	cmp	r3, #0
	bne	.L6
	ldr	r1, .L16+4
	ldr	r0, .L16+8
	bl	fopen
	str	r0, [fp, #-240]
	ldr	r3, [fp, #-240]
	cmp	r3, #0
	bne	.L6
	ldr	r0, .L16+40
	bl	puts
	mov	r0, #0
	bl	exit
.L6:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-164]
	str	r3, [fp, #-160]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-156]
	str	r3, [fp, #-152]
	mov	r3, #0
	str	r3, [fp, #-236]
	b	.L7
.L9:
	ldr	r0, [fp, #-240]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L8
	ldr	r1, [fp, #-236]
	ldr	r0, .L16+24
	bl	printf
	ldr	r0, .L16+28
	bl	puts
	mov	r0, #0
	bl	exit
.L8:
	sub	r1, fp, #76
	sub	r2, fp, #128
	sub	r3, fp, #204
	str	r3, [sp, #4]
	sub	r3, fp, #212
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L16+32
	ldr	r0, [fp, #-240]
	bl	__isoc99_fscanf
	sub	r3, fp, #212
	ldmia	r3, {r2-r3}
	sub	r1, fp, #164
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-164]
	str	r3, [fp, #-160]
	sub	r3, fp, #204
	ldmia	r3, {r2-r3}
	sub	r1, fp, #156
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-156]
	str	r3, [fp, #-152]
	ldr	r3, [fp, #-236]
	add	r3, r3, #1
	str	r3, [fp, #-236]
.L7:
	ldr	r3, [fp, #-236]
	cmp	r3, #99
	ble	.L9
	ldr	r0, [fp, #-240]
	bl	fclose
	ldr	r1, .L16+4
	ldr	r0, .L16+44
	bl	fopen
	str	r0, [fp, #-240]
	ldr	r3, [fp, #-240]
	cmp	r3, #0
	bne	.L10
	ldr	r1, .L16+4
	ldr	r0, .L16+8
	bl	fopen
	str	r0, [fp, #-240]
	ldr	r3, [fp, #-240]
	cmp	r3, #0
	bne	.L10
	ldr	r0, .L16+48
	bl	puts
	mov	r0, #0
	bl	exit
.L10:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-148]
	str	r3, [fp, #-144]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-140]
	str	r3, [fp, #-136]
	mov	r3, #0
	str	r3, [fp, #-236]
	b	.L11
.L13:
	ldr	r0, [fp, #-240]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L12
	ldr	r1, [fp, #-236]
	ldr	r0, .L16+24
	bl	printf
	ldr	r0, .L16+28
	bl	puts
	mov	r0, #0
	bl	exit
.L12:
	sub	r1, fp, #76
	sub	r2, fp, #128
	sub	r3, fp, #188
	str	r3, [sp, #4]
	sub	r3, fp, #196
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L16+32
	ldr	r0, [fp, #-240]
	bl	__isoc99_fscanf
	sub	r3, fp, #196
	ldmia	r3, {r2-r3}
	sub	r1, fp, #148
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-148]
	str	r3, [fp, #-144]
	sub	r3, fp, #188
	ldmia	r3, {r2-r3}
	sub	r1, fp, #140
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-140]
	str	r3, [fp, #-136]
	ldr	r3, [fp, #-236]
	add	r3, r3, #1
	str	r3, [fp, #-236]
.L11:
	ldr	r3, [fp, #-236]
	cmp	r3, #99
	ble	.L13
	mov	r2, #0
	ldr	r3, .L16+52
	sub	r1, fp, #180
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	mov	r2, #0
	ldr	r3, .L16+52
	sub	r1, fp, #164
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	mov	r2, #0
	ldr	r3, .L16+52
	sub	r1, fp, #148
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	stm	sp, {r4-r5}
	mov	r2, r6
	mov	r3, r7
	ldr	r1, .L16+56
	ldr	r0, [fp, #-232]
	bl	fprintf
	mov	r2, #0
	ldr	r3, .L16+52
	sub	r1, fp, #172
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	mov	r2, #0
	ldr	r3, .L16+52
	sub	r1, fp, #156
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	mov	r2, #0
	ldr	r3, .L16+52
	sub	r1, fp, #140
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	stm	sp, {r4-r5}
	mov	r2, r6
	mov	r3, r7
	ldr	r1, .L16+60
	ldr	r0, [fp, #-232]
	bl	fprintf
	ldr	r0, [fp, #-232]
	bl	fclose
	ldr	r0, [fp, #-240]
	bl	fclose
	mov	r3, #0
	ldr	r2, .L16
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC14
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	1079574528
	.word	.LC12
	.word	.LC13
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
