	.file	"15948.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Eh possivel formar um triangulo a partir dos dados inseridos"
	.align 8
.LC1:
	.string	"Os lados do triangulo sao %.2f %.2f %.2f"
	.align 8
.LC2:
	.string	"Nao eh possivel formar um triangulo a partir dos dados inseridos"
	.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, 48
	mov	eax, 0
	call	leitura
	movq	rax, xmm0
	mov	QWORD PTR -24[rbp], rax
	mov	eax, 0
	call	leitura
	movq	rax, xmm0
	mov	QWORD PTR -16[rbp], rax
	mov	eax, 0
	call	leitura
	movq	rax, xmm0
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	movq	xmm1, rdx
	movq	xmm0, rax
	call	distancia
	movd	eax, xmm0
	mov	DWORD PTR -36[rbp], eax
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm1, rdx
	movq	xmm0, rax
	call	distancia
	movd	eax, xmm0
	mov	DWORD PTR -32[rbp], eax
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -24[rbp]
	movq	xmm1, rdx
	movq	xmm0, rax
	call	distancia
	movd	eax, xmm0
	mov	DWORD PTR -28[rbp], eax
	movss	xmm1, DWORD PTR -28[rbp]
	movss	xmm0, DWORD PTR -32[rbp]
	mov	eax, DWORD PTR -36[rbp]
	movaps	xmm2, xmm1
	movaps	xmm1, xmm0
	movd	xmm0, eax
	call	triangulo
	test	al, al
	je	.L2
	lea	rdi, .LC0[rip]
	call	puts@PLT
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -28[rbp]
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -32[rbp]
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -36[rbp]
	movq	rax, xmm3
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC1[rip]
	mov	eax, 3
	call	printf@PLT
	jmp	.L3
.L2:
	lea	rdi, .LC2[rip]
	call	puts@PLT
.L3:
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC3:
	.string	"Digite a coordenada x"
.LC4:
	.string	"%f"
.LC5:
	.string	"Digite a coordenada y"
	.text
	.globl	leitura
	.type	leitura, @function
leitura:
.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, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rax, -16[rbp]
	add	rax, 4
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	leitura, .-leitura
	.globl	distancia
	.type	distancia, @function
distancia:
.LFB8:
	.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	QWORD PTR -24[rbp], xmm0
	movq	QWORD PTR -32[rbp], xmm1
	movss	xmm0, DWORD PTR -32[rbp]
	movss	xmm1, DWORD PTR -24[rbp]
	subss	xmm0, xmm1
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm0
	movq	rax, xmm3
	movsd	xmm0, QWORD PTR .LC6[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movsd	QWORD PTR -40[rbp], xmm0
	movss	xmm0, DWORD PTR -28[rbp]
	movss	xmm1, DWORD PTR -20[rbp]
	subss	xmm0, xmm1
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, xmm0
	movq	rax, xmm4
	movsd	xmm0, QWORD PTR .LC6[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
.LFE8:
	.size	distancia, .-distancia
	.globl	triangulo
	.type	triangulo, @function
triangulo:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movss	DWORD PTR -20[rbp], xmm0
	movss	DWORD PTR -24[rbp], xmm1
	movss	DWORD PTR -28[rbp], xmm2
	mov	BYTE PTR -1[rbp], 1
	movss	xmm0, DWORD PTR -24[rbp]
	movaps	xmm1, xmm0
	addss	xmm1, DWORD PTR -28[rbp]
	movss	xmm0, DWORD PTR -20[rbp]
	comiss	xmm0, xmm1
	ja	.L11
	movss	xmm0, DWORD PTR -20[rbp]
	movaps	xmm1, xmm0
	addss	xmm1, DWORD PTR -28[rbp]
	movss	xmm0, DWORD PTR -24[rbp]
	comiss	xmm0, xmm1
	ja	.L11
	movss	xmm0, DWORD PTR -20[rbp]
	addss	xmm0, DWORD PTR -24[rbp]
	movaps	xmm1, xmm0
	movss	xmm0, DWORD PTR -28[rbp]
	comiss	xmm0, xmm1
	jbe	.L12
.L11:
	mov	BYTE PTR -1[rbp], 0
.L12:
	movzx	eax, BYTE PTR -1[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	triangulo, .-triangulo
	.section	.rodata
	.align 8
.LC6:
	.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	"15948.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Eh possivel formar um triangulo a partir dos dados "
	.ascii	"inseridos\000"
	.global	__aeabi_f2d
	.align	2
.LC1:
	.ascii	"Os lados do triangulo sao %.2f %.2f %.2f\000"
	.align	2
.LC2:
	.ascii	"Nao eh possivel formar um triangulo a partir dos da"
	.ascii	"dos inseridos\000"
	.align	2
.LC3:
	.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, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #56
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	sub	r3, fp, #48
	mov	r0, r3
	bl	leitura
	sub	r3, fp, #40
	mov	r0, r3
	bl	leitura
	sub	r3, fp, #32
	mov	r0, r3
	bl	leitura
	sub	r3, fp, #40
	ldm	r3, {r2, r3}
	sub	r1, fp, #48
	ldm	r1, {r0, r1}
	bl	distancia
	str	r0, [fp, #-60]	@ float
	sub	r3, fp, #32
	ldm	r3, {r2, r3}
	sub	r1, fp, #40
	ldm	r1, {r0, r1}
	bl	distancia
	str	r0, [fp, #-56]	@ float
	sub	r3, fp, #32
	ldm	r3, {r2, r3}
	sub	r1, fp, #48
	ldm	r1, {r0, r1}
	bl	distancia
	str	r0, [fp, #-52]	@ float
	ldr	r2, [fp, #-52]	@ float
	ldr	r1, [fp, #-56]	@ float
	ldr	r0, [fp, #-60]	@ float
	bl	triangulo
	mov	r3, r0
	cmp	r3, #0
	beq	.L2
	ldr	r0, .L6+4
	bl	puts
	ldr	r0, [fp, #-60]	@ float
	bl	__aeabi_f2d
	mov	r6, r0
	mov	r7, r1
	ldr	r0, [fp, #-56]	@ float
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-52]	@ float
	bl	__aeabi_f2d
	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	r0, .L6+8
	bl	printf
	b	.L3
.L2:
	ldr	r0, .L6+12
	bl	puts
.L3:
	mov	r3, #0
	ldr	r2, .L6
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.section	.rodata
	.align	2
.LC4:
	.ascii	"Digite a coordenada x\000"
	.align	2
.LC5:
	.ascii	"%f\000"
	.align	2
.LC6:
	.ascii	"Digite a coordenada y\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	leitura
	.syntax unified
	.arm
	.fpu softvfp
	.type	leitura, %function
leitura:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L11+4
	bl	puts
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L11+8
	bl	__isoc99_scanf
	ldr	r0, .L11+12
	bl	puts
	sub	r3, fp, #16
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L11+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-24]
	mov	r2, r3
	sub	r3, fp, #16
	ldm	r3, {r0, r1}
	stm	r2, {r0, r1}
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L10
	bl	__stack_chk_fail
.L10:
	ldr	r0, [fp, #-24]
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC7
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	leitura, .-leitura
	.global	__aeabi_fsub
	.global	__aeabi_dadd
	.global	__aeabi_d2f
	.align	2
	.global	distancia
	.syntax unified
	.arm
	.fpu softvfp
	.type	distancia, %function
distancia:
	@ 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, #28
	stm	ip, {r0, r1}
	sub	r1, fp, #36
	stm	r1, {r2, r3}
	ldr	r3, [fp, #-36]	@ 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	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-32]	@ float
	ldr	r2, [fp, #-24]	@ 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	distancia, .-distancia
	.global	__aeabi_fadd
	.global	__aeabi_fcmpgt
	.align	2
	.global	triangulo
	.syntax unified
	.arm
	.fpu softvfp
	.type	triangulo, %function
triangulo:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]	@ float
	str	r1, [fp, #-20]	@ float
	str	r2, [fp, #-24]	@ float
	mov	r3, #1
	strb	r3, [fp, #-5]
	ldr	r1, [fp, #-24]	@ float
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L16
	ldr	r1, [fp, #-24]	@ float
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L16
	ldr	r1, [fp, #-20]	@ float
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L17
.L16:
	mov	r3, #0
	strb	r3, [fp, #-5]
.L17:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	triangulo, .-triangulo
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
