	.file	"762227.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"----Calculadora del \303\241rea de un pol\303\255gono a partir de sus v\303\251rtices----"
	.align 8
.LC1:
	.string	"Ingrese la cantidad de v\303\251rtices que tendr\303\241 el pol\303\255gono. El n\303\272mero debe ser mayor o igual que 3."
.LC2:
	.string	"%d"
	.align 8
.LC3:
	.string	"--------------------------------"
	.align 8
.LC4:
	.string	"Ingrese las coordenadas de los v\303\251rtices del pol\303\255gono."
	.align 8
.LC5:
	.string	" \342\200\242 Separe las entradas de las coordenadas por un espacio o un enter. Y las coordenadas por enters."
	.align 8
.LC6:
	.string	" \342\200\242 Deben ser n\303\272meros enteros."
	.align 8
.LC7:
	.string	" \342\200\242 Las coordenadas deben de ser ingresadas ordenadamente, de tal forma que vayan en contra de las manecillas del reloj."
	.align 8
.LC8:
	.string	" \342\200\242 El c\303\241lculo no funciona si el pol\303\255gono se intersecta a si mismo o si tiene agujeros."
.LC9:
	.string	"%d %d"
	.align 8
.LC10:
	.string	"Las coordenadas de los v\303\251rtices del pol\303\255gono son:"
.LC11:
	.string	"(%d, %d)\n"
	.align 8
.LC13:
	.string	"El \303\241rea del pol\303\255gono es: %.2f\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 56
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	call	puts@PLT
.L2:
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rax, -92[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -92[rbp]
	cmp	eax, 2
	jle	.L2
	mov	eax, DWORD PTR -92[rbp]
	mov	rdx, rsp
	mov	rbx, rdx
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -72[rbp], rdx
	movsx	rdx, eax
	mov	r14, rdx
	mov	r15d, 0
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L3:
	cmp	rsp, rdx
	je	.L4
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L3
.L4:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L5
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L5:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -64[rbp], rax
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC4[rip]
	call	puts@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	rdi, .LC3[rip]
	call	puts@PLT
	mov	DWORD PTR -80[rbp], 0
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, 4[rax]
	mov	rax, QWORD PTR -64[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rcx
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -80[rbp], 1
.L6:
	mov	eax, DWORD PTR -92[rbp]
	cmp	DWORD PTR -80[rbp], eax
	jl	.L7
	lea	rdi, .LC10[rip]
	call	puts@PLT
	mov	DWORD PTR -80[rbp], 0
	jmp	.L8
.L9:
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -80[rbp]
	movsx	rdx, edx
	mov	edx, DWORD PTR 4[rax+rdx*8]
	mov	rax, QWORD PTR -64[rbp]
	mov	ecx, DWORD PTR -80[rbp]
	movsx	rcx, ecx
	mov	eax, DWORD PTR [rax+rcx*8]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -80[rbp], 1
.L8:
	mov	eax, DWORD PTR -92[rbp]
	cmp	DWORD PTR -80[rbp], eax
	jl	.L9
	mov	eax, DWORD PTR -92[rbp]
	sub	eax, 1
	mov	DWORD PTR -76[rbp], eax
	mov	DWORD PTR -84[rbp], 0
	jmp	.L10
.L11:
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -84[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR [rax+rdx*8]
	mov	eax, DWORD PTR -84[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -64[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR 4[rax+rdx*8]
	imul	ecx, eax
	mov	eax, DWORD PTR -84[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -64[rbp]
	movsx	rdx, edx
	mov	esi, DWORD PTR [rax+rdx*8]
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -84[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR 4[rax+rdx*8]
	imul	eax, esi
	sub	ecx, eax
	mov	edx, ecx
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, edx
	movss	xmm1, DWORD PTR -88[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -88[rbp], xmm0
	add	DWORD PTR -84[rbp], 1
.L10:
	mov	eax, DWORD PTR -84[rbp]
	cmp	eax, DWORD PTR -76[rbp]
	jl	.L11
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -76[rbp]
	movsx	rdx, edx
	mov	edx, DWORD PTR [rax+rdx*8]
	mov	rax, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	ecx, edx
	imul	ecx, eax
	mov	rax, QWORD PTR -64[rbp]
	mov	esi, DWORD PTR [rax]
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -76[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR 4[rax+rdx*8]
	imul	eax, esi
	sub	ecx, eax
	mov	edx, ecx
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, edx
	movss	xmm1, DWORD PTR -88[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -88[rbp], xmm0
	movss	xmm0, DWORD PTR -88[rbp]
	movss	xmm1, DWORD PTR .LC12[rip]
	divss	xmm0, xmm1
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movq	rax, xmm2
	movq	xmm0, rax
	lea	rdi, .LC13[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
	mov	rsp, rbx
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC12:
	.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	"762227.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"----Calculadora del \303\241rea de un pol\303\255go"
	.ascii	"no a partir de sus v\303\251rtices----\000"
	.align	2
.LC1:
	.ascii	"Ingrese la cantidad de v\303\251rtices que tendr\303"
	.ascii	"\241 el pol\303\255gono. El n\303\272mero debe ser "
	.ascii	"mayor o igual que 3.\000"
	.align	2
.LC2:
	.ascii	"%d\000"
	.align	2
.LC3:
	.ascii	"--------------------------------\000"
	.align	2
.LC4:
	.ascii	"Ingrese las coordenadas de los v\303\251rtices del "
	.ascii	"pol\303\255gono.\000"
	.align	2
.LC5:
	.ascii	" \342\200\242 Separe las entradas de las coordenada"
	.ascii	"s por un espacio o un enter. Y las coordenadas por "
	.ascii	"enters.\000"
	.align	2
.LC6:
	.ascii	" \342\200\242 Deben ser n\303\272meros enteros.\000"
	.align	2
.LC7:
	.ascii	" \342\200\242 Las coordenadas deben de ser ingresad"
	.ascii	"as ordenadamente, de tal forma que vayan en contra "
	.ascii	"de las manecillas del reloj.\000"
	.align	2
.LC8:
	.ascii	" \342\200\242 El c\303\241lculo no funciona si el p"
	.ascii	"ol\303\255gono se intersecta a si mismo o si tiene "
	.ascii	"agujeros.\000"
	.align	2
.LC9:
	.ascii	"%d %d\000"
	.align	2
.LC10:
	.ascii	"Las coordenadas de los v\303\251rtices del pol\303\255"
	.ascii	"gono son:\000"
	.align	2
.LC11:
	.ascii	"(%d, %d)\012\000"
	.global	__aeabi_i2f
	.global	__aeabi_fadd
	.global	__aeabi_fdiv
	.global	__aeabi_f2d
	.align	2
.LC12:
	.ascii	"El \303\241rea del pol\303\255gono es: %.2f\012\000"
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r0, .L11+4
	bl	puts
.L2:
	ldr	r0, .L11+8
	bl	puts
	sub	r3, fp, #44
	mov	r1, r3
	ldr	r0, .L11+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-44]
	cmp	r3, #2
	ble	.L2
	ldr	ip, [fp, #-44]
	mov	r3, sp
	mov	r4, r3
	sub	r3, ip, #1
	str	r3, [fp, #-28]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-24]
	ldr	r0, .L11+16
	bl	puts
	ldr	r0, .L11+20
	bl	puts
	ldr	r0, .L11+24
	bl	puts
	ldr	r0, .L11+28
	bl	puts
	ldr	r0, .L11+32
	bl	puts
	ldr	r0, .L11+36
	bl	puts
	ldr	r0, .L11+16
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L3
.L4:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-24]
	add	r1, r2, r3
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	add	r3, r3, #4
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	mov	r2, r3
	ldr	r0, .L11+40
	bl	__isoc99_scanf
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L3:
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	blt	.L4
	ldr	r0, .L11+44
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L5
.L6:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-32]
	ldr	r1, [r3, r2, lsl #3]
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	mov	r2, r3
	ldr	r0, .L11+48
	bl	printf
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L5:
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	blt	.L6
	ldr	r3, [fp, #-44]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L7
.L8:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-36]
	ldr	r2, [r3, r2, lsl #3]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	ldr	r1, [fp, #-24]
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #4]
	mul	r2, r3, r2
	ldr	r3, [fp, #-36]
	add	r1, r3, #1
	ldr	r3, [fp, #-24]
	ldr	r1, [r3, r1, lsl #3]
	ldr	r0, [fp, #-24]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #3
	add	r3, r0, r3
	ldr	r3, [r3, #4]
	mul	r3, r1, r3
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-40]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-40]	@ float
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L7:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L8
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-20]
	ldr	r3, [r3, r2, lsl #3]
	ldr	r2, [fp, #-24]
	ldr	r2, [r2, #4]
	mul	r2, r3, r2
	ldr	r3, [fp, #-24]
	ldr	r1, [r3]
	ldr	r0, [fp, #-24]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #3
	add	r3, r0, r3
	ldr	r3, [r3, #4]
	mul	r3, r1, r3
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-40]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-40]	@ float
	mov	r1, #1073741824
	ldr	r0, [fp, #-40]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L11+52
	bl	printf
	mov	r3, #0
	mov	sp, r4
	ldr	r2, .L11
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L10
	bl	__stack_chk_fail
.L10:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC13
	.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	.LC12
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
