	.file	"81535.c"
	.intel_syntax noprefix
	.text
	.globl	lado
	.bss
	.align 4
	.type	lado, @object
	.size	lado, 4
lado:
	.zero	4
	.globl	ladoEscaleno1
	.align 4
	.type	ladoEscaleno1, @object
	.size	ladoEscaleno1, 4
ladoEscaleno1:
	.zero	4
	.globl	ladoEscaleno2
	.align 4
	.type	ladoEscaleno2, @object
	.size	ladoEscaleno2, 4
ladoEscaleno2:
	.zero	4
	.globl	base
	.align 4
	.type	base, @object
	.size	base, 4
base:
	.zero	4
	.globl	opcion
	.align 4
	.type	opcion, @object
	.size	opcion, 4
opcion:
	.zero	4
	.section	.rodata
	.align 8
.LC0:
	.string	"Introduzca lado del triangulo "
.LC1:
	.string	"%d"
	.align 8
.LC2:
	.string	"Introduzca segundo lado del triangulo si es Escaleno "
	.align 8
.LC3:
	.string	"Introduzca tercer lado del triangulo si es Escaleno "
	.align 8
.LC4:
	.string	"Introduzca la base del triangulo "
.LC5:
	.string	"Seleciones opcion: "
.LC6:
	.string	"1 - Equilatero "
.LC7:
	.string	"2 - Isosceles "
.LC8:
	.string	"3 - Escaleno "
.LC9:
	.string	"El perimetro es: %d\n"
.LC10:
	.string	"Opcion no valida"
.LC11:
	.string	"pause"
	.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
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rsi, lado[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rsi, ladoEscaleno1[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rsi, ladoEscaleno2[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rsi, base[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rsi, opcion[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR opcion[rip]
	cmp	eax, 3
	je	.L2
	cmp	eax, 3
	jg	.L3
	cmp	eax, 1
	je	.L4
	cmp	eax, 2
	je	.L5
	jmp	.L3
.L4:
	mov	edx, DWORD PTR lado[rip]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L6
.L5:
	mov	eax, DWORD PTR lado[rip]
	lea	edx, [rax+rax]
	mov	eax, DWORD PTR base[rip]
	add	eax, edx
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L6
.L2:
	mov	edx, DWORD PTR lado[rip]
	mov	eax, DWORD PTR ladoEscaleno1[rip]
	add	edx, eax
	mov	eax, DWORD PTR ladoEscaleno2[rip]
	add	eax, edx
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L6
.L3:
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	nop
.L6:
	lea	rdi, .LC11[rip]
	call	system@PLT
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.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	"81535.c"
	.text
	.comm	lado,4,4
	.comm	ladoEscaleno1,4,4
	.comm	ladoEscaleno2,4,4
	.comm	base,4,4
	.comm	opcion,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Introduzca lado del triangulo \000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"Introduzca segundo lado del triangulo si es Escalen"
	.ascii	"o \000"
	.align	2
.LC3:
	.ascii	"Introduzca tercer lado del triangulo si es Escaleno"
	.ascii	" \000"
	.align	2
.LC4:
	.ascii	"Introduzca la base del triangulo \000"
	.align	2
.LC5:
	.ascii	"Seleciones opcion: \000"
	.align	2
.LC6:
	.ascii	"1 - Equilatero \000"
	.align	2
.LC7:
	.ascii	"2 - Isosceles \000"
	.align	2
.LC8:
	.ascii	"3 - Escaleno \000"
	.align	2
.LC9:
	.ascii	"El perimetro es: %d\012\000"
	.align	2
.LC10:
	.ascii	"Opcion no valida\000"
	.align	2
.LC11:
	.ascii	"pause\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L8
	bl	puts
	ldr	r1, .L8+4
	ldr	r0, .L8+8
	bl	__isoc99_scanf
	ldr	r0, .L8+12
	bl	puts
	ldr	r1, .L8+16
	ldr	r0, .L8+8
	bl	__isoc99_scanf
	ldr	r0, .L8+20
	bl	puts
	ldr	r1, .L8+24
	ldr	r0, .L8+8
	bl	__isoc99_scanf
	ldr	r0, .L8+28
	bl	puts
	ldr	r1, .L8+32
	ldr	r0, .L8+8
	bl	__isoc99_scanf
	ldr	r0, .L8+36
	bl	puts
	ldr	r0, .L8+40
	bl	puts
	ldr	r0, .L8+44
	bl	puts
	ldr	r0, .L8+48
	bl	puts
	ldr	r1, .L8+52
	ldr	r0, .L8+8
	bl	__isoc99_scanf
	ldr	r3, .L8+52
	ldr	r3, [r3]
	cmp	r3, #3
	beq	.L2
	cmp	r3, #3
	bgt	.L3
	cmp	r3, #1
	beq	.L4
	cmp	r3, #2
	beq	.L5
	b	.L3
.L4:
	ldr	r3, .L8+4
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L8+56
	bl	printf
	b	.L6
.L5:
	ldr	r3, .L8+4
	ldr	r3, [r3]
	lsl	r2, r3, #1
	ldr	r3, .L8+32
	ldr	r3, [r3]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L8+56
	bl	printf
	b	.L6
.L2:
	ldr	r3, .L8+4
	ldr	r2, [r3]
	ldr	r3, .L8+16
	ldr	r3, [r3]
	add	r2, r2, r3
	ldr	r3, .L8+24
	ldr	r3, [r3]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L8+56
	bl	printf
	b	.L6
.L3:
	ldr	r0, .L8+60
	bl	printf
	nop
.L6:
	ldr	r0, .L8+64
	bl	system
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	lado
	.word	.LC1
	.word	.LC2
	.word	ladoEscaleno1
	.word	.LC3
	.word	ladoEscaleno2
	.word	.LC4
	.word	base
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	opcion
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
