	.file	"122793.c"
	.intel_syntax noprefix
	.text
	.globl	a
	.bss
	.align 8
	.type	a, @object
	.size	a, 8
a:
	.zero	8
	.globl	b
	.align 8
	.type	b, @object
	.size	b, 8
b:
	.zero	8
	.globl	sum
	.align 8
	.type	sum, @object
	.size	sum, 8
sum:
	.zero	8
	.globl	begin
	.align 8
	.type	begin, @object
	.size	begin, 8
begin:
	.zero	8
	.globl	time_spent
	.align 8
	.type	time_spent, @object
	.size	time_spent, 8
time_spent:
	.zero	8
	.section	.rodata
.LC1:
	.string	"Sum = %f\n"
.LC2:
	.string	"Time: %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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	pxor	xmm0, xmm0
	movsd	QWORD PTR sum[rip], xmm0
	mov	esi, 800000000
	mov	edi, 64
	call	aligned_alloc@PLT
	mov	QWORD PTR a[rip], rax
	mov	esi, 800000000
	mov	edi, 64
	call	aligned_alloc@PLT
	mov	QWORD PTR b[rip], rax
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L3:
	mov	rdx, QWORD PTR b[rip]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -4[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	rcx, QWORD PTR a[rip]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	sal	rdx, 3
	add	rdx, rcx
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR [rdx], xmm0
	add	DWORD PTR -4[rbp], 1
.L2:
	cmp	DWORD PTR -4[rbp], 99999999
	jle	.L3
	mov	edi, 4
	call	omp_set_num_threads@PLT
	call	omp_get_wtime@PLT
	movq	rax, xmm0
	mov	QWORD PTR begin[rip], rax
	mov	DWORD PTR -4[rbp], 0
	jmp	.L4
.L5:
	mov	rdx, QWORD PTR a[rip]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	rdx, QWORD PTR b[rip]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR sum[rip]
	addsd	xmm0, xmm1
	movsd	QWORD PTR sum[rip], xmm0
	add	DWORD PTR -4[rbp], 1
.L4:
	cmp	DWORD PTR -4[rbp], 99999999
	jle	.L5
	call	omp_get_wtime@PLT
	movq	rax, xmm0
	movsd	xmm1, QWORD PTR begin[rip]
	movq	xmm0, rax
	subsd	xmm0, xmm1
	movsd	QWORD PTR time_spent[rip], xmm0
	mov	rax, QWORD PTR sum[rip]
	movq	xmm0, rax
	lea	rdi, .LC1[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR time_spent[rip]
	movq	xmm0, rax
	lea	rdi, .LC2[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
	leave
	.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	"122793.c"
	.text
	.comm	a,4,4
	.comm	b,4,4
	.comm	sum,8,8
	.comm	begin,8,8
	.comm	time_spent,8,8
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.global	__aeabi_dsub
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Sum = %f\012\000"
	.align	2
.LC1:
	.ascii	"Time: %f\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r1, .L7
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r1, .L7+4
	mov	r0, #64
	bl	aligned_alloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L7+8
	str	r2, [r3]
	ldr	r1, .L7+4
	mov	r0, #64
	bl	aligned_alloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L7+12
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L2
.L3:
	ldr	r3, .L7+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #3
	add	r4, r2, r3
	ldr	r0, [fp, #-16]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, .L7+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #3
	add	r1, r2, r3
	ldmia	r4, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L2:
	ldr	r3, [fp, #-16]
	ldr	r2, .L7+16
	cmp	r3, r2
	ble	.L3
	mov	r0, #4
	bl	omp_set_num_threads
	bl	omp_get_wtime
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L7+20
	stm	r1, {r2-r3}
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L4
.L5:
	ldr	r3, .L7+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, .L7+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, .L7
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L7
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L4:
	ldr	r3, [fp, #-16]
	ldr	r2, .L7+16
	cmp	r3, r2
	ble	.L5
	bl	omp_get_wtime
	ldr	r3, .L7+20
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L7+24
	stm	r1, {r2-r3}
	ldr	r3, .L7
	ldmia	r3, {r2-r3}
	ldr	r0, .L7+28
	bl	printf
	ldr	r3, .L7+24
	ldmia	r3, {r2-r3}
	ldr	r0, .L7+32
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L8:
	.align	2
.L7:
	.word	sum
	.word	800000000
	.word	a
	.word	b
	.word	99999999
	.word	begin
	.word	time_spent
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
