	.file	"315481.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"r+"
.LC1:
	.string	"pontos.txt"
.LC2:
	.string	"w+"
.LC3:
	.string	"retas_tam.txt"
.LC4:
	.string	"erro"
	.align 8
.LC5:
	.string	" Pontos:[%.2f, %2.f] [%.2f, %.2f] -> Tamanho: %.2f \n"
.LC6:
	.string	"%f %f %f %f"
	.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, 64
	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 -48[rbp], rax
	lea	rsi, .LC2[rip]
	lea	rdi, .LC3[rip]
	call	fopen@PLT
	mov	QWORD PTR -40[rbp], rax
	cmp	QWORD PTR -48[rbp], 0
	je	.L2
	cmp	QWORD PTR -40[rbp], 0
	jne	.L5
.L2:
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L7
.L6:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	movq	xmm0, rax
	movq	xmm1, rdx
	call	calcreta
	movd	eax, xmm0
	mov	DWORD PTR -52[rbp], eax
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -52[rbp]
	movss	xmm0, DWORD PTR -20[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movss	xmm0, DWORD PTR -24[rbp]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movss	xmm0, DWORD PTR -28[rbp]
	cvtss2sd	xmm0, xmm0
	movss	xmm4, DWORD PTR -32[rbp]
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, xmm4
	movq	rdx, xmm5
	mov	rax, QWORD PTR -40[rbp]
	movapd	xmm4, xmm3
	movapd	xmm3, xmm2
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 5
	call	fprintf@PLT
.L5:
	lea	rax, -32[rbp]
	lea	rdi, 12[rax]
	lea	rax, -32[rbp]
	lea	rsi, 8[rax]
	lea	rax, -32[rbp]
	lea	rcx, 4[rax]
	lea	rdx, -32[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	r9, rdi
	mov	r8, rsi
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	cmp	eax, -1
	jne	.L6
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
.L7:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	calcreta
	.type	calcreta, @function
calcreta:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	movq	rax, xmm0
	movdqa	xmm0, xmm1
	movq	rdx, xmm0
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR -24[rbp], rdx
	movss	xmm0, DWORD PTR -24[rbp]
	movss	xmm1, DWORD PTR -32[rbp]
	subss	xmm0, xmm1
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm0
	movq	rax, xmm3
	movsd	xmm0, QWORD PTR .LC7[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movsd	QWORD PTR -40[rbp], xmm0
	movss	xmm0, DWORD PTR -20[rbp]
	movss	xmm1, DWORD PTR -24[rbp]
	subss	xmm0, xmm1
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, xmm0
	movq	rax, xmm4
	movsd	xmm0, QWORD PTR .LC7[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movapd	xmm2, xmm0
	addsd	xmm2, QWORD PTR -40[rbp]
	movq	rax, xmm2
	movq	xmm0, rax
	call	sqrt@PLT
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -4[rbp], xmm0
	movss	xmm0, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	calcreta, .-calcreta
	.section	.rodata
	.align 8
.LC7:
	.long	0
	.long	1073741824
	.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	"315481.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r+\000"
	.align	2
.LC1:
	.ascii	"pontos.txt\000"
	.align	2
.LC2:
	.ascii	"w+\000"
	.align	2
.LC3:
	.ascii	"retas_tam.txt\000"
	.align	2
.LC4:
	.ascii	"erro\000"
	.global	__aeabi_f2d
	.align	2
.LC5:
	.ascii	" Pontos:[%.2f, %2.f] [%.2f, %.2f] -> Tamanho: %.2f "
	.ascii	"\012\000"
	.align	2
.LC6:
	.ascii	"%f %f %f %f\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #72
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	ldr	r1, .L9+4
	ldr	r0, .L9+8
	bl	fopen
	str	r0, [fp, #-60]
	ldr	r1, .L9+12
	ldr	r0, .L9+16
	bl	fopen
	str	r0, [fp, #-56]
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bne	.L5
.L2:
	ldr	r0, .L9+20
	bl	printf
	mov	r3, #1
	b	.L7
.L6:
	sub	r3, fp, #48
	ldm	r3, {r0, r1, r2, r3}
	bl	calcreta
	str	r0, [fp, #-52]	@ float
	ldr	r3, [fp, #-48]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	str	r0, [fp, #-68]
	str	r1, [fp, #-64]
	ldr	r3, [fp, #-44]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-40]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r6, r0
	mov	r7, r1
	ldr	r3, [fp, #-36]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r8, r0
	mov	r9, r1
	ldr	r0, [fp, #-52]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [sp, #24]
	str	r3, [sp, #28]
	str	r8, [sp, #16]
	str	r9, [sp, #20]
	str	r6, [sp, #8]
	str	r7, [sp, #12]
	stm	sp, {r4-r5}
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	ldr	r1, .L9+24
	ldr	r0, [fp, #-56]
	bl	fprintf
.L5:
	sub	r3, fp, #48
	add	r1, r3, #4
	sub	r2, fp, #48
	sub	r3, fp, #48
	add	r3, r3, #12
	str	r3, [sp, #4]
	sub	r3, fp, #48
	add	r3, r3, #8
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L9+28
	ldr	r0, [fp, #-60]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L6
	ldr	r0, [fp, #-60]
	bl	fclose
	ldr	r0, [fp, #-56]
	bl	fclose
	mov	r3, #0
.L7:
	ldr	r2, .L9
	ldr	r1, [r2]
	ldr	r2, [fp, #-32]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC7
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.global	__aeabi_fsub
	.global	__aeabi_dadd
	.global	__aeabi_d2f
	.align	2
	.global	calcreta
	.syntax unified
	.arm
	.fpu softvfp
	.type	calcreta, %function
calcreta:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #24
	sub	ip, fp, #36
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, [fp, #-28]	@ float
	ldr	r2, [fp, #-36]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, #0
	mov	r3, #1073741824
	bl	pow
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-24]	@ float
	ldr	r2, [fp, #-28]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, #0
	mov	r3, #1073741824
	bl	pow
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-16]	@ float
	ldr	r3, [fp, #-16]	@ float
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
	.size	calcreta, .-calcreta
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
