	.file	"367318.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"ladoA[%d]: "
.LC1:
	.string	"ladoB[%d]: "
.LC2:
	.string	"ladoC[%d]: "
.LC3:
	.string	"Valores %d, %d e %d: "
.LC4:
	.string	"nao formam um triangulo"
.LC5:
	.string	"triangulo equilatero"
.LC6:
	.string	"triangulo isosceles"
.LC7:
	.string	"triangulo escaleno"
	.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, 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -104[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -104[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	lePositivo
	mov	edx, DWORD PTR -104[rbp]
	movsx	rdx, edx
	mov	DWORD PTR -96[rbp+rdx*4], eax
	mov	eax, DWORD PTR -104[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	lePositivo
	mov	edx, DWORD PTR -104[rbp]
	movsx	rdx, edx
	mov	DWORD PTR -64[rbp+rdx*4], eax
	mov	eax, DWORD PTR -104[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	lePositivo
	mov	edx, DWORD PTR -104[rbp]
	movsx	rdx, edx
	mov	DWORD PTR -32[rbp+rdx*4], eax
	add	DWORD PTR -104[rbp], 1
.L2:
	cmp	DWORD PTR -104[rbp], 4
	jle	.L3
	mov	DWORD PTR -100[rbp], 0
	jmp	.L4
.L11:
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	mov	ecx, DWORD PTR -32[rbp+rax*4]
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	mov	edx, DWORD PTR -64[rbp+rax*4]
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	mov	eax, DWORD PTR -96[rbp+rax*4]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	mov	edx, DWORD PTR -32[rbp+rax*4]
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	mov	ecx, DWORD PTR -64[rbp+rax*4]
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	mov	eax, DWORD PTR -96[rbp+rax*4]
	mov	esi, ecx
	mov	edi, eax
	call	tipoTriangulo
	cmp	eax, 3
	je	.L5
	cmp	eax, 3
	jg	.L6
	cmp	eax, 2
	je	.L7
	cmp	eax, 2
	jg	.L6
	test	eax, eax
	je	.L8
	cmp	eax, 1
	je	.L9
	jmp	.L6
.L8:
	lea	rdi, .LC4[rip]
	call	puts@PLT
	jmp	.L10
.L9:
	lea	rdi, .LC5[rip]
	call	puts@PLT
	jmp	.L10
.L7:
	lea	rdi, .LC6[rip]
	call	puts@PLT
	jmp	.L10
.L5:
	lea	rdi, .LC7[rip]
	call	puts@PLT
	jmp	.L10
.L6:
	lea	rdi, .LC4[rip]
	call	puts@PLT
.L10:
	add	DWORD PTR -100[rbp], 1
.L4:
	cmp	DWORD PTR -100[rbp], 4
	jle	.L11
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC8:
	.string	"%d"
.LC9:
	.string	"Entre com um valor positivo: "
	.text
	.globl	lePositivo
	.type	lePositivo, @function
lePositivo:
.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	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L15
.L16:
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L15:
	mov	eax, DWORD PTR -12[rbp]
	test	eax, eax
	js	.L16
	mov	eax, DWORD PTR -12[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	lePositivo, .-lePositivo
	.globl	ehTriangulo
	.type	ehTriangulo, @function
ehTriangulo:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	DWORD PTR -12[rbp], edx
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, DWORD PTR -8[rbp]
	cdq
	xor	eax, edx
	sub	eax, edx
	cmp	DWORD PTR -12[rbp], eax
	jle	.L20
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -8[rbp]
	add	eax, edx
	cmp	DWORD PTR -12[rbp], eax
	jge	.L20
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, DWORD PTR -12[rbp]
	cdq
	xor	eax, edx
	sub	eax, edx
	cmp	DWORD PTR -8[rbp], eax
	jle	.L20
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -12[rbp]
	add	eax, edx
	cmp	DWORD PTR -8[rbp], eax
	jge	.L20
	mov	eax, DWORD PTR -8[rbp]
	sub	eax, DWORD PTR -12[rbp]
	cdq
	xor	eax, edx
	sub	eax, edx
	cmp	DWORD PTR -4[rbp], eax
	jle	.L20
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -12[rbp]
	add	eax, edx
	cmp	DWORD PTR -4[rbp], eax
	jge	.L20
	mov	eax, 1
	jmp	.L21
.L20:
	mov	eax, 0
.L21:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	ehTriangulo, .-ehTriangulo
	.globl	tipoTriangulo
	.type	tipoTriangulo, @function
tipoTriangulo:
.LFB9:
	.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	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	DWORD PTR -12[rbp], edx
	mov	edx, DWORD PTR -12[rbp]
	mov	ecx, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	ehTriangulo
	xor	eax, 1
	test	al, al
	je	.L23
	mov	eax, 0
	jmp	.L24
.L23:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jne	.L25
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jne	.L25
	mov	eax, 1
	jmp	.L24
.L25:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	je	.L26
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	je	.L26
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jne	.L27
.L26:
	mov	eax, 2
	jmp	.L24
.L27:
	mov	eax, 3
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	tipoTriangulo, .-tipoTriangulo
	.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	"367318.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"ladoA[%d]: \000"
	.align	2
.LC1:
	.ascii	"ladoB[%d]: \000"
	.align	2
.LC2:
	.ascii	"ladoC[%d]: \000"
	.align	2
.LC3:
	.ascii	"Valores %d, %d e %d: \000"
	.align	2
.LC4:
	.ascii	"nao formam um triangulo\000"
	.align	2
.LC5:
	.ascii	"triangulo equilatero\000"
	.align	2
.LC6:
	.ascii	"triangulo isosceles\000"
	.align	2
.LC7:
	.ascii	"triangulo escaleno\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L2
.L3:
	ldr	r1, [fp, #-76]
	ldr	r0, .L15+4
	bl	printf
	bl	lePositivo
	mov	r2, r0
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-64]
	ldr	r1, [fp, #-76]
	ldr	r0, .L15+8
	bl	printf
	bl	lePositivo
	mov	r2, r0
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-44]
	ldr	r1, [fp, #-76]
	ldr	r0, .L15+12
	bl	printf
	bl	lePositivo
	mov	r2, r0
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-24]
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L2:
	ldr	r3, [fp, #-76]
	cmp	r3, #4
	ble	.L3
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L4
.L12:
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r1, [r3, #-64]
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-44]
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	sub	r0, fp, #4
	add	r3, r0, r3
	ldr	r3, [r3, #-24]
	ldr	r0, .L15+16
	bl	printf
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r0, [r3, #-64]
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r1, [r3, #-44]
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-24]
	mov	r2, r3
	bl	tipoTriangulo
	mov	r3, r0
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L5
.L7:
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L6
.L10:
	ldr	r0, .L15+20
	bl	puts
	b	.L11
.L9:
	ldr	r0, .L15+24
	bl	puts
	b	.L11
.L8:
	ldr	r0, .L15+28
	bl	puts
	b	.L11
.L6:
	ldr	r0, .L15+32
	bl	puts
	b	.L11
.L5:
	ldr	r0, .L15+20
	bl	puts
.L11:
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L4:
	ldr	r3, [fp, #-72]
	cmp	r3, #4
	ble	.L12
	mov	r3, #0
	ldr	r2, .L15
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.section	.rodata
	.align	2
.LC9:
	.ascii	"%d\000"
	.align	2
.LC10:
	.ascii	"Entre com um valor positivo: \000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	lePositivo
	.syntax unified
	.arm
	.fpu softvfp
	.type	lePositivo, %function
lePositivo:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L22
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L22+4
	bl	__isoc99_scanf
	b	.L18
.L19:
	ldr	r0, .L22+8
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L22+4
	bl	__isoc99_scanf
.L18:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	blt	.L19
	ldr	r3, [fp, #-12]
	ldr	r2, .L22
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L21
	bl	__stack_chk_fail
.L21:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC11
	.word	.LC9
	.word	.LC10
	.size	lePositivo, .-lePositivo
	.align	2
	.global	ehTriangulo
	.syntax unified
	.arm
	.fpu softvfp
	.type	ehTriangulo, %function
ehTriangulo:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	sub	r3, r2, r3
	cmp	r3, #0
	rsblt	r3, r3, #0
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	ble	.L25
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bge	.L25
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	cmp	r3, #0
	rsblt	r3, r3, #0
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	ble	.L25
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bge	.L25
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	cmp	r3, #0
	rsblt	r3, r3, #0
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	ble	.L25
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bge	.L25
	mov	r3, #1
	b	.L26
.L25:
	mov	r3, #0
.L26:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	ehTriangulo, .-ehTriangulo
	.align	2
	.global	tipoTriangulo
	.syntax unified
	.arm
	.fpu softvfp
	.type	tipoTriangulo, %function
tipoTriangulo:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	ehTriangulo
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L28
	mov	r3, #0
	b	.L29
.L28:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bne	.L30
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	bne	.L30
	mov	r3, #1
	b	.L29
.L30:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	beq	.L31
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	beq	.L31
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bne	.L32
.L31:
	mov	r3, #2
	b	.L29
.L32:
	mov	r3, #3
.L29:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	tipoTriangulo, .-tipoTriangulo
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
