	.file	"311038.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Faltan n\302\272 componentes del vector"
	.align 8
.LC1:
	.string	"Error en la reserva de espacio para los vectores"
	.align 8
.LC3:
	.string	"Inicializaci\303\263n: La hebra %d ejecuta iteraci\303\263n %d\n"
	.align 8
.LC4:
	.string	"Suma: La hebra %d ejecuta iteraci\303\263n %d\n"
	.align 8
.LC6:
	.string	"Tiempo(seg.): %11.9f\t / Tama\303\261o Vectores:%u\n"
	.align 8
.LC7:
	.string	"thread %d ejecuta la iteraci\303\263n %d del bucle\n"
.LC8:
	.string	"Elapsed time: %11.9f\t\n"
	.align 8
.LC9:
	.string	"/V1[%d]+V2[%d](%8.6f+%8.6f=%8.6f)/\n"
	.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, 96
	mov	DWORD PTR -84[rbp], edi
	mov	QWORD PTR -96[rbp], rsi
	cmp	DWORD PTR -84[rbp], 1
	jg	.L2
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	edi, -1
	call	exit@PLT
.L2:
	mov	rax, QWORD PTR -96[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -76[rbp], eax
	mov	eax, DWORD PTR -76[rbp]
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -72[rbp], rax
	mov	eax, DWORD PTR -76[rbp]
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -64[rbp], rax
	mov	eax, DWORD PTR -76[rbp]
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -56[rbp], rax
	cmp	QWORD PTR -72[rbp], 0
	je	.L3
	cmp	QWORD PTR -64[rbp], 0
	je	.L3
	cmp	QWORD PTR -56[rbp], 0
	jne	.L4
.L3:
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	edi, -2
	call	exit@PLT
.L4:
	mov	DWORD PTR -80[rbp], 0
	jmp	.L5
.L10:
	mov	eax, DWORD PTR -76[rbp]
	test	rax, rax
	js	.L6
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L7
.L6:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L7:
	movsd	xmm1, QWORD PTR .LC2[rip]
	mulsd	xmm1, xmm0
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, DWORD PTR -80[rbp]
	movsd	xmm0, QWORD PTR .LC2[rip]
	mulsd	xmm0, xmm2
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -76[rbp]
	test	rax, rax
	js	.L8
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L9
.L8:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L9:
	movsd	xmm1, QWORD PTR .LC2[rip]
	mulsd	xmm0, xmm1
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, DWORD PTR -80[rbp]
	movsd	xmm1, QWORD PTR .LC2[rip]
	mulsd	xmm1, xmm2
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	subsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	call	omp_get_thread_num@PLT
	mov	ecx, eax
	mov	eax, DWORD PTR -80[rbp]
	mov	edx, eax
	mov	esi, ecx
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -80[rbp], 1
.L5:
	mov	eax, DWORD PTR -80[rbp]
	cmp	DWORD PTR -76[rbp], eax
	ja	.L10
	call	omp_get_wtime@PLT
	movq	rax, xmm0
	mov	QWORD PTR -48[rbp], rax
	mov	DWORD PTR -80[rbp], 0
	jmp	.L11
.L12:
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	call	omp_get_thread_num@PLT
	mov	ecx, eax
	mov	eax, DWORD PTR -80[rbp]
	mov	edx, eax
	mov	esi, ecx
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	sub	rax, rdx
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	sub	rax, rdx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm2, QWORD PTR .LC5[rip]
	divsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	add	DWORD PTR -80[rbp], 1
.L11:
	mov	eax, DWORD PTR -80[rbp]
	cmp	DWORD PTR -76[rbp], eax
	ja	.L12
	call	omp_get_wtime@PLT
	movq	rax, xmm0
	mov	edx, DWORD PTR -76[rbp]
	mov	esi, edx
	movq	xmm0, rax
	lea	rdi, .LC6[rip]
	mov	eax, 1
	call	printf@PLT
	mov	DWORD PTR -80[rbp], 0
	jmp	.L13
.L14:
	call	omp_get_thread_num@PLT
	mov	ecx, eax
	mov	eax, DWORD PTR -80[rbp]
	mov	edx, eax
	mov	esi, ecx
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	call	omp_get_wtime@PLT
	movq	rax, xmm0
	movq	xmm3, rax
	subsd	xmm3, QWORD PTR -48[rbp]
	movq	rax, xmm3
	movq	xmm0, rax
	lea	rdi, .LC8[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	mov	rsi, QWORD PTR [rax]
	mov	ecx, DWORD PTR -80[rbp]
	mov	edx, DWORD PTR -80[rbp]
	mov	eax, DWORD PTR -80[rbp]
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rsi
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 3
	call	printf@PLT
	add	DWORD PTR -80[rbp], 1
.L13:
	mov	eax, DWORD PTR -80[rbp]
	cmp	DWORD PTR -76[rbp], eax
	ja	.L14
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC2:
	.long	-1717986918
	.long	1069128089
	.align 8
.LC5:
	.long	0
	.long	1104006501
	.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	"311038.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Faltan n\302\272 componentes del vector\000"
	.align	2
.LC1:
	.ascii	"Error en la reserva de espacio para los vectores\000"
	.global	__aeabi_ui2d
	.global	__aeabi_dmul
	.global	__aeabi_i2d
	.global	__aeabi_dadd
	.global	__aeabi_dsub
	.align	2
.LC2:
	.ascii	"Inicializaci\303\263n: La hebra %d ejecuta iteraci\303"
	.ascii	"\263n %d\012\000"
	.align	2
.LC3:
	.ascii	"Suma: La hebra %d ejecuta iteraci\303\263n %d\012\000"
	.global	__aeabi_ddiv
	.align	2
.LC4:
	.ascii	"Tiempo(seg.): %11.9f\011 / Tama\303\261o Vectores:%"
	.ascii	"u\012\000"
	.align	2
.LC5:
	.ascii	"thread %d ejecuta la iteraci\303\263n %d del bucle\012"
	.ascii	"\000"
	.align	2
.LC6:
	.ascii	"Elapsed time: %11.9f\011\012\000"
	.align	2
.LC7:
	.ascii	"/V1[%d]+V2[%d](%8.6f+%8.6f=%8.6f)/\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #88
	str	r0, [fp, #-80]
	str	r1, [fp, #-84]
	ldr	r3, [fp, #-80]
	cmp	r3, #1
	bgt	.L2
	ldr	r0, .L12
	bl	puts
	mvn	r0, #0
	bl	exit
.L2:
	ldr	r3, [fp, #-84]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	beq	.L3
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	beq	.L3
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bne	.L4
.L3:
	ldr	r0, .L12+4
	bl	puts
	mvn	r0, #1
	bl	exit
.L4:
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L5
.L6:
	ldr	r0, [fp, #-68]
	bl	__aeabi_ui2d
	ldr	r2, .L12+8
	ldr	r3, .L12+12
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r0, [fp, #-72]
	bl	__aeabi_i2d
	ldr	r2, .L12+8
	ldr	r3, .L12+12
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-64]
	add	r4, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r0, [fp, #-68]
	bl	__aeabi_ui2d
	ldr	r2, .L12+8
	ldr	r3, .L12+12
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r0, [fp, #-72]
	bl	__aeabi_i2d
	ldr	r2, .L12+8
	ldr	r3, .L12+12
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-60]
	add	r4, r2, r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	bl	omp_get_thread_num
	mov	r3, r0
	ldr	r2, [fp, #-72]
	mov	r1, r3
	ldr	r0, .L12+16
	bl	printf
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L5:
	ldr	r3, [fp, #-72]
	ldr	r2, [fp, #-68]
	cmp	r2, r3
	bhi	.L6
	bl	omp_get_wtime
	str	r0, [fp, #-52]
	str	r1, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L7
.L8:
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	ip, [fp, #-72]
	lsl	ip, ip, #3
	ldr	lr, [fp, #-56]
	add	r4, lr, ip
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	bl	omp_get_thread_num
	mov	r3, r0
	ldr	r2, [fp, #-72]
	mov	r1, r3
	ldr	r0, .L12+20
	bl	printf
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-36]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-32]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L12+24
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L7:
	ldr	r3, [fp, #-72]
	ldr	r2, [fp, #-68]
	cmp	r2, r3
	bhi	.L8
	bl	omp_get_wtime
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-68]
	str	r1, [sp]
	ldr	r0, .L12+28
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L9
.L10:
	bl	omp_get_thread_num
	mov	r3, r0
	ldr	r2, [fp, #-72]
	mov	r1, r3
	ldr	r0, .L12+32
	bl	printf
	bl	omp_get_wtime
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L12+36
	bl	printf
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-72]
	lsl	r1, r1, #3
	ldr	r0, [fp, #-60]
	add	r1, r0, r1
	ldmia	r1, {r0-r1}
	ldr	ip, [fp, #-72]
	lsl	ip, ip, #3
	ldr	lr, [fp, #-56]
	add	ip, lr, ip
	ldmia	ip, {r4-r5}
	str	r4, [sp, #16]
	str	r5, [sp, #20]
	str	r0, [sp, #8]
	str	r1, [sp, #12]
	stm	sp, {r2-r3}
	ldr	r3, [fp, #-72]
	ldr	r2, [fp, #-72]
	ldr	r1, [fp, #-72]
	ldr	r0, .L12+40
	bl	printf
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L9:
	ldr	r3, [fp, #-72]
	ldr	r2, [fp, #-68]
	cmp	r2, r3
	bhi	.L10
	ldr	r0, [fp, #-64]
	bl	free
	ldr	r0, [fp, #-60]
	bl	free
	ldr	r0, [fp, #-56]
	bl	free
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC0
	.word	.LC1
	.word	-1717986918
	.word	1069128089
	.word	.LC2
	.word	.LC3
	.word	1104006501
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
