	.file	"31388885.c"
	.intel_syntax noprefix
	.text
	.globl	Anew
	.bss
	.align 32
	.type	Anew, @object
	.size	Anew, 72096032
Anew:
	.zero	72096032
	.globl	A
	.align 32
	.type	A, @object
	.size	A, 72096032
A:
	.zero	72096032
	.section	.rodata
	.align 8
.LC5:
	.string	"Demorou %.4f segundos para executar o algoritmo."
	.align 8
.LC6:
	.string	" Erro maximo na iteracao %d era %f\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, 64
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	DWORD PTR -36[rbp], 1024
	mov	DWORD PTR -40[rbp], 1
	movsd	xmm0, QWORD PTR .LC0[rip]
	movsd	QWORD PTR -32[rbp], xmm0
	mov	eax, 0
	call	iniciar
	call	omp_get_wtime@PLT
	movq	rax, xmm0
	mov	QWORD PTR -24[rbp], rax
	jmp	.L2
.L9:
	pxor	xmm0, xmm0
	movsd	QWORD PTR -32[rbp], xmm0
	mov	DWORD PTR -48[rbp], 1
	jmp	.L3
.L6:
	mov	DWORD PTR -44[rbp], 1
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -48[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -44[rbp]
	movsx	rcx, eax
	movsx	rax, edx
	imul	rax, rax, 3002
	add	rax, rcx
	lea	rdx, 0[0+rax*8]
	lea	rax, A[rip]
	movsd	xmm1, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -48[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -44[rbp]
	movsx	rcx, eax
	movsx	rax, edx
	imul	rax, rax, 3002
	add	rax, rcx
	lea	rdx, 0[0+rax*8]
	lea	rax, A[rip]
	movsd	xmm0, QWORD PTR [rdx+rax]
	addsd	xmm1, xmm0
	mov	eax, DWORD PTR -44[rbp]
	add	eax, 1
	movsx	rdx, eax
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	imul	rax, rax, 3002
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	lea	rax, A[rip]
	movsd	xmm0, QWORD PTR [rdx+rax]
	addsd	xmm1, xmm0
	mov	eax, DWORD PTR -44[rbp]
	sub	eax, 1
	movsx	rdx, eax
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	imul	rax, rax, 3002
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	lea	rax, A[rip]
	movsd	xmm0, QWORD PTR [rdx+rax]
	addsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC2[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	imul	rax, rax, 3002
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	lea	rax, A[rip]
	movsd	xmm1, QWORD PTR [rdx+rax]
	movsd	xmm0, QWORD PTR -16[rbp]
	subsd	xmm0, xmm1
	movq	xmm1, QWORD PTR .LC3[rip]
	andpd	xmm0, xmm1
	movq	rax, xmm0
	movsd	xmm0, QWORD PTR -32[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	fmax@PLT
	movq	rax, xmm0
	mov	QWORD PTR -32[rbp], rax
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	imul	rax, rax, 3002
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	lea	rax, A[rip]
	movsd	xmm0, QWORD PTR -16[rbp]
	movsd	QWORD PTR [rdx+rax], xmm0
	add	DWORD PTR -44[rbp], 1
.L4:
	cmp	DWORD PTR -44[rbp], 3000
	jle	.L5
	add	DWORD PTR -48[rbp], 1
.L3:
	cmp	DWORD PTR -48[rbp], 3000
	jle	.L6
	add	DWORD PTR -40[rbp], 1
.L2:
	movsd	xmm0, QWORD PTR -32[rbp]
	comisd	xmm0, QWORD PTR .LC4[rip]
	jbe	.L7
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jle	.L9
.L7:
	call	omp_get_wtime@PLT
	movq	rax, xmm0
	mov	QWORD PTR -8[rbp], rax
	movsd	xmm0, QWORD PTR -8[rbp]
	subsd	xmm0, QWORD PTR -24[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC5[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, DWORD PTR -40[rbp]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -32[rbp]
	movq	xmm0, rax
	mov	esi, edx
	lea	rdi, .LC6[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	iniciar
	.type	iniciar, @function
iniciar:
.LFB7:
	.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 -8[rbp], 0
	jmp	.L13
.L16:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L14
.L15:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	imul	rax, rax, 3002
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	lea	rax, A[rip]
	movsd	xmm0, QWORD PTR .LC7[rip]
	movsd	QWORD PTR [rdx+rax], xmm0
	add	DWORD PTR -4[rbp], 1
.L14:
	cmp	DWORD PTR -4[rbp], 3001
	jle	.L15
	add	DWORD PTR -8[rbp], 1
.L13:
	cmp	DWORD PTR -8[rbp], 3001
	jle	.L16
	lea	rax, A[rip]
	movsd	xmm0, QWORD PTR .LC0[rip]
	movsd	QWORD PTR 19219200[rax], xmm0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	iniciar, .-iniciar
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1079574528
	.align 8
.LC2:
	.long	0
	.long	1070596096
	.align 16
.LC3:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.align 8
.LC4:
	.long	1202590843
	.long	1065646817
	.align 8
.LC7:
	.long	0
	.long	1077149696
	.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	"31388885.c"
	.text
	.comm	Anew,72096032,8
	.comm	A,72096032,8
	.global	__aeabi_dadd
	.global	__aeabi_dmul
	.global	__aeabi_dsub
	.global	__aeabi_dcmpgt
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Demorou %.4f segundos para executar o algoritmo.\000"
	.align	2
.LC1:
	.ascii	" Erro maximo na iteracao %d era %f\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #56
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	mov	r3, #1024
	str	r3, [fp, #-48]
	mov	r3, #1
	str	r3, [fp, #-52]
	mov	r2, #0
	ldr	r3, .L12
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	bl	iniciar
	bl	omp_get_wtime
	str	r0, [fp, #-36]
	str	r1, [fp, #-32]
	b	.L2
.L9:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	mov	r3, #1
	str	r3, [fp, #-60]
	b	.L3
.L6:
	mov	r3, #1
	str	r3, [fp, #-56]
	b	.L4
.L5:
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	ldr	r1, .L12+4
	ldr	r2, .L12+8
	mul	r2, r3, r2
	ldr	r3, [fp, #-56]
	add	r3, r2, r3
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-60]
	sub	r3, r3, #1
	ldr	ip, .L12+4
	ldr	r2, .L12+8
	mul	r2, r3, r2
	ldr	r3, [fp, #-56]
	add	r3, r2, r3
	lsl	r3, r3, #3
	add	r3, ip, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	ldr	ip, .L12+4
	ldr	r2, [fp, #-60]
	ldr	lr, .L12+8
	mul	r2, lr, r2
	add	r3, r2, r3
	lsl	r3, r3, #3
	add	r3, ip, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-56]
	sub	r3, r3, #1
	ldr	ip, .L12+4
	ldr	r2, [fp, #-60]
	ldr	lr, .L12+8
	mul	r2, lr, r2
	add	r3, r2, r3
	lsl	r3, r3, #3
	add	r3, ip, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L12+12
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r1, .L12+4
	ldr	r3, [fp, #-60]
	ldr	r2, .L12+8
	mul	r2, r3, r2
	ldr	r3, [fp, #-56]
	add	r3, r2, r3
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	bic	r5, r3, #-2147483648
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	mov	r0, r4
	mov	r1, r5
	bl	fmax
	str	r0, [fp, #-44]
	str	r1, [fp, #-40]
	ldr	r1, .L12+4
	ldr	r3, [fp, #-60]
	ldr	r2, .L12+8
	mul	r2, r3, r2
	ldr	r3, [fp, #-56]
	add	r3, r2, r3
	lsl	r3, r3, #3
	add	r1, r1, r3
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L4:
	ldr	r3, [fp, #-56]
	ldr	r2, .L12+16
	cmp	r3, r2
	ble	.L5
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L3:
	ldr	r3, [fp, #-60]
	ldr	r2, .L12+16
	cmp	r3, r2
	ble	.L6
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L2:
	ldr	r2, .L12+20
	ldr	r3, .L12+24
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L7
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	ble	.L9
.L7:
	bl	omp_get_wtime
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L12+28
	bl	printf
	ldr	r3, [fp, #-52]
	sub	r1, r3, #1
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	ldr	r0, .L12+32
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L13:
	.align	2
.L12:
	.word	1079574528
	.word	A
	.word	3002
	.word	1070596096
	.word	3000
	.word	1202590843
	.word	1065646817
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.align	2
	.global	iniciar
	.syntax unified
	.arm
	.fpu softvfp
	.type	iniciar, %function
iniciar:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L15
.L18:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L16
.L17:
	ldr	r1, .L19
	ldr	r3, [fp, #-12]
	ldr	r2, .L19+4
	mul	r2, r3, r2
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	lsl	r3, r3, #3
	add	r1, r1, r3
	mov	r2, #0
	ldr	r3, .L19+8
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L16:
	ldr	r3, [fp, #-8]
	ldr	r2, .L19+12
	cmp	r3, r2
	ble	.L17
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L15:
	ldr	r3, [fp, #-12]
	ldr	r2, .L19+12
	cmp	r3, r2
	ble	.L18
	ldr	r2, .L19
	ldr	r3, .L19+16
	add	r3, r2, r3
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L19+20
	stm	r1, {r2-r3}
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L20:
	.align	2
.L19:
	.word	A
	.word	3002
	.word	1077149696
	.word	3001
	.word	19219200
	.word	1079574528
	.size	iniciar, .-iniciar
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
