	.file	"901201.c"
	.intel_syntax noprefix
	.text
	.globl	PI
	.section	.rodata
	.align 8
	.type	PI, @object
	.size	PI, 8
PI:
	.long	1413754136
	.long	1074340347
	.globl	a
	.align 8
	.type	a, @object
	.size	a, 8
a:
	.long	0
	.long	-1072693248
	.globl	b
	.align 8
	.type	b, @object
	.size	b, 8
b:
	.long	0
	.long	1074790400
	.globl	nsteps
	.align 4
	.type	nsteps, @object
	.size	nsteps, 4
nsteps:
	.long	80000000
	.text
	.globl	wtime
	.type	wtime, @function
wtime:
.LFB0:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -32[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	rax, QWORD PTR -32[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	mov	rax, QWORD PTR -24[rbp]
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, rax
	movsd	xmm0, QWORD PTR .LC0[rip]
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movq	rax, xmm0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	wtime, .-wtime
	.globl	func
	.type	func, @function
func:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR -8[rbp]
	movq	xmm1, QWORD PTR .LC1[rip]
	xorpd	xmm0, xmm1
	mulsd	xmm0, QWORD PTR -8[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	call	exp@PLT
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	func, .-func
	.globl	integrate
	.type	integrate, @function
integrate:
.LFB2:
	.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	QWORD PTR -40[rbp], rdi
	movsd	QWORD PTR -48[rbp], xmm0
	movsd	QWORD PTR -56[rbp], xmm1
	mov	DWORD PTR -60[rbp], esi
	movsd	xmm0, QWORD PTR -56[rbp]
	subsd	xmm0, QWORD PTR -48[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -60[rbp]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -16[rbp], xmm0
	mov	DWORD PTR -20[rbp], 0
	jmp	.L7
.L8:
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -20[rbp]
	movsd	xmm0, QWORD PTR .LC3[rip]
	addsd	xmm0, xmm1
	mulsd	xmm0, QWORD PTR -8[rbp]
	addsd	xmm0, QWORD PTR -48[rbp]
	movq	rax, xmm0
	mov	rdx, QWORD PTR -40[rbp]
	movq	xmm0, rax
	call	rdx
	movsd	xmm1, QWORD PTR -16[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	add	DWORD PTR -20[rbp], 1
.L7:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -60[rbp]
	jl	.L8
	movsd	xmm0, QWORD PTR -16[rbp]
	mulsd	xmm0, QWORD PTR -8[rbp]
	movsd	QWORD PTR -16[rbp], xmm0
	movsd	xmm0, QWORD PTR -16[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	integrate, .-integrate
	.section	.rodata
	.align 8
.LC8:
	.string	"Result (serial): %.12f; error %.12f\n"
	.text
	.globl	run_serial
	.type	run_serial, @function
run_serial:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	eax, 0
	call	wtime
	movq	rax, xmm0
	mov	QWORD PTR -16[rbp], rax
	mov	edx, 80000000
	movsd	xmm0, QWORD PTR .LC4[rip]
	mov	rax, QWORD PTR .LC5[rip]
	mov	esi, edx
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, func[rip]
	call	integrate
	movq	rax, xmm0
	mov	QWORD PTR -8[rbp], rax
	mov	eax, 0
	call	wtime
	movq	rax, xmm0
	movq	xmm0, rax
	subsd	xmm0, QWORD PTR -16[rbp]
	movsd	QWORD PTR -16[rbp], xmm0
	mov	rax, QWORD PTR .LC6[rip]
	movq	xmm0, rax
	call	sqrt@PLT
	movapd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -8[rbp]
	subsd	xmm0, xmm1
	movq	xmm1, QWORD PTR .LC7[rip]
	andpd	xmm0, xmm1
	mov	rax, QWORD PTR -8[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC8[rip]
	mov	eax, 2
	call	printf@PLT
	movsd	xmm0, QWORD PTR -16[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	run_serial, .-run_serial
	.globl	integrate_omp
	.type	integrate_omp, @function
integrate_omp:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 336
	mov	QWORD PTR -312[rbp], rdi
	movsd	QWORD PTR -320[rbp], xmm0
	movsd	QWORD PTR -328[rbp], xmm1
	mov	DWORD PTR -332[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movsd	xmm0, QWORD PTR -328[rbp]
	subsd	xmm0, QWORD PTR -320[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -332[rbp]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -288[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -280[rbp], xmm0
	call	omp_get_thread_num@PLT
	mov	DWORD PTR -292[rbp], eax
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	pxor	xmm0, xmm0
	movsd	QWORD PTR -272[rbp+rax*8], xmm0
	mov	DWORD PTR -296[rbp], 0
	jmp	.L13
.L14:
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -296[rbp]
	movsd	xmm0, QWORD PTR .LC3[rip]
	addsd	xmm0, xmm1
	mulsd	xmm0, QWORD PTR -288[rbp]
	addsd	xmm0, QWORD PTR -320[rbp]
	movq	rax, xmm0
	mov	rdx, QWORD PTR -312[rbp]
	movq	xmm0, rax
	call	rdx
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	movsd	xmm1, QWORD PTR -272[rbp+rax*8]
	addsd	xmm0, xmm1
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	movsd	QWORD PTR -272[rbp+rax*8], xmm0
	add	DWORD PTR -296[rbp], 1
.L13:
	mov	eax, DWORD PTR -296[rbp]
	cmp	eax, DWORD PTR -332[rbp]
	jl	.L14
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	movsd	xmm0, QWORD PTR -272[rbp+rax*8]
	movsd	xmm1, QWORD PTR -280[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -280[rbp], xmm0
	movsd	xmm0, QWORD PTR -280[rbp]
	mulsd	xmm0, QWORD PTR -288[rbp]
	movsd	QWORD PTR -280[rbp], xmm0
	movsd	xmm0, QWORD PTR -280[rbp]
	movq	rax, xmm0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	integrate_omp, .-integrate_omp
	.globl	integrate_omp_opt
	.type	integrate_omp_opt, @function
integrate_omp_opt:
.LFB5:
	.cfi_startproc
	endbr64
	lea	r10, 8[rsp]
	.cfi_def_cfa 10, 0
	and	rsp, -64
	push	QWORD PTR -8[r10]
	push	rbp
	mov	rbp, rsp
	.cfi_escape 0x10,0x6,0x2,0x76,0
	push	r10
	.cfi_escape 0xf,0x3,0x76,0x78,0x6
	sub	rsp, 2216
	mov	QWORD PTR -2200[rbp], rdi
	movsd	QWORD PTR -2208[rbp], xmm0
	movsd	QWORD PTR -2216[rbp], xmm1
	mov	DWORD PTR -2220[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	movsd	xmm0, QWORD PTR -2216[rbp]
	subsd	xmm0, QWORD PTR -2208[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -2220[rbp]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -2176[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -2168[rbp], xmm0
	call	omp_get_thread_num@PLT
	mov	DWORD PTR -2180[rbp], eax
	mov	eax, DWORD PTR -2180[rbp]
	cdqe
	sal	rax, 6
	lea	rax, -48[rax]
	add	rax, rbp
	sub	rax, 2112
	pxor	xmm0, xmm0
	movsd	QWORD PTR [rax], xmm0
	mov	DWORD PTR -2184[rbp], 0
	jmp	.L18
.L19:
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -2184[rbp]
	movsd	xmm0, QWORD PTR .LC3[rip]
	addsd	xmm0, xmm1
	mulsd	xmm0, QWORD PTR -2176[rbp]
	addsd	xmm0, QWORD PTR -2208[rbp]
	movq	rax, xmm0
	mov	rdx, QWORD PTR -2200[rbp]
	movq	xmm0, rax
	call	rdx
	mov	eax, DWORD PTR -2180[rbp]
	cdqe
	sal	rax, 6
	lea	rax, -48[rax]
	add	rax, rbp
	sub	rax, 2112
	movsd	xmm1, QWORD PTR [rax]
	addsd	xmm0, xmm1
	mov	eax, DWORD PTR -2180[rbp]
	cdqe
	sal	rax, 6
	lea	rax, -48[rax]
	add	rax, rbp
	sub	rax, 2112
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -2184[rbp], 1
.L18:
	mov	eax, DWORD PTR -2184[rbp]
	cmp	eax, DWORD PTR -2220[rbp]
	jl	.L19
	mov	eax, DWORD PTR -2180[rbp]
	cdqe
	sal	rax, 6
	lea	rax, -48[rax]
	add	rax, rbp
	sub	rax, 2112
	movsd	xmm0, QWORD PTR [rax]
	movsd	xmm1, QWORD PTR -2168[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -2168[rbp], xmm0
	movsd	xmm0, QWORD PTR -2168[rbp]
	mulsd	xmm0, QWORD PTR -2176[rbp]
	movsd	QWORD PTR -2168[rbp], xmm0
	movsd	xmm0, QWORD PTR -2168[rbp]
	movq	rax, xmm0
	mov	rcx, QWORD PTR -56[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	movq	xmm0, rax
	mov	r10, QWORD PTR -8[rbp]
	.cfi_def_cfa 10, 0
	leave
	lea	rsp, -8[r10]
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	integrate_omp_opt, .-integrate_omp_opt
	.section	.rodata
	.align 8
.LC9:
	.string	"Result (parallel): %.12f; error %.12f\n"
	.text
	.globl	run_parallel
	.type	run_parallel, @function
run_parallel:
.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, 16
	mov	eax, 0
	call	wtime
	movq	rax, xmm0
	mov	QWORD PTR -16[rbp], rax
	mov	edx, 80000000
	movsd	xmm0, QWORD PTR .LC4[rip]
	mov	rax, QWORD PTR .LC5[rip]
	mov	esi, edx
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, func[rip]
	call	integrate_omp_opt
	movq	rax, xmm0
	mov	QWORD PTR -8[rbp], rax
	mov	eax, 0
	call	wtime
	movq	rax, xmm0
	movq	xmm0, rax
	subsd	xmm0, QWORD PTR -16[rbp]
	movsd	QWORD PTR -16[rbp], xmm0
	mov	rax, QWORD PTR .LC6[rip]
	movq	xmm0, rax
	call	sqrt@PLT
	movapd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -8[rbp]
	subsd	xmm0, xmm1
	movq	xmm1, QWORD PTR .LC7[rip]
	andpd	xmm0, xmm1
	mov	rax, QWORD PTR -8[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC9[rip]
	mov	eax, 2
	call	printf@PLT
	movsd	xmm0, QWORD PTR -16[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	run_parallel, .-run_parallel
	.section	.rodata
	.align 8
.LC10:
	.string	"Integration f(x) on [%.12f, %.12f], nsteps = %d\n"
	.align 8
.LC11:
	.string	"Execution time (serial): %.6f\n"
	.align 8
.LC12:
	.string	"Execution time (parallel): %.6f\n"
.LC13:
	.string	"Speedup: %.2f\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.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
	mov	edx, 80000000
	movsd	xmm0, QWORD PTR .LC4[rip]
	mov	rax, QWORD PTR .LC5[rip]
	mov	esi, edx
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC10[rip]
	mov	eax, 2
	call	printf@PLT
	mov	eax, 0
	call	run_serial
	movq	rax, xmm0
	mov	QWORD PTR -16[rbp], rax
	mov	eax, 0
	call	run_parallel
	movq	rax, xmm0
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm0, rax
	lea	rdi, .LC11[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rax
	lea	rdi, .LC12[rip]
	mov	eax, 1
	call	printf@PLT
	movsd	xmm0, QWORD PTR -16[rbp]
	divsd	xmm0, QWORD PTR -8[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC13[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	-1598689907
	.long	1051772663
	.align 16
.LC1:
	.long	0
	.long	-2147483648
	.long	0
	.long	0
	.align 8
.LC3:
	.long	0
	.long	1071644672
	.align 8
.LC4:
	.long	0
	.long	1074790400
	.align 8
.LC5:
	.long	0
	.long	-1072693248
	.align 8
.LC6:
	.long	1413754136
	.long	1074340347
	.align 16
.LC7:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.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	"901201.c"
	.text
	.global	PI
	.section	.rodata
	.align	3
	.type	PI, %object
	.size	PI, 8
PI:
	.word	1413754136
	.word	1074340347
	.global	a
	.align	3
	.type	a, %object
	.size	a, 8
a:
	.word	0
	.word	-1072693248
	.global	b
	.align	3
	.type	b, %object
	.size	b, 8
b:
	.word	0
	.word	1074790400
	.global	nsteps
	.align	2
	.type	nsteps, %object
	.size	nsteps, 4
nsteps:
	.word	80000000
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	wtime
	.syntax unified
	.arm
	.fpu softvfp
	.type	wtime, %function
wtime:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #16
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #24
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-20]
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L4+4
	ldr	r3, .L4+8
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L4
	ldr	r0, [r1]
	ldr	r1, [fp, #-16]
	eors	r0, r1, r0
	mov	r1, #0
	beq	.L3
	bl	__stack_chk_fail
.L3:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC0
	.word	-1598689907
	.word	1051772663
	.size	wtime, .-wtime
	.align	2
	.global	func
	.syntax unified
	.arm
	.fpu softvfp
	.type	func, %function
func:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #8
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	ldr	r4, [fp, #-20]
	ldr	r3, [fp, #-16]
	eor	r5, r3, #-2147483648
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	exp
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
	.size	func, .-func
	.global	__aeabi_dsub
	.global	__aeabi_ddiv
	.align	2
	.global	integrate
	.syntax unified
	.arm
	.fpu softvfp
	.type	integrate, %function
integrate:
	@ args = 12, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	ldmib	fp, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #12]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L9
.L10:
	ldr	r0, [fp, #-32]
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L12
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-40]
	blx	r3
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L9:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #12]
	cmp	r2, r3
	blt	.L10
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L13:
	.align	2
.L12:
	.word	1071644672
	.size	integrate, .-integrate
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Result (serial): %.12f; error %.12f\012\000"
	.text
	.align	2
	.global	run_serial
	.syntax unified
	.arm
	.fpu softvfp
	.type	run_serial, %function
run_serial:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #32
	bl	wtime
	str	r0, [fp, #-28]
	str	r1, [fp, #-24]
	mov	r0, #0
	ldr	r1, .L16
	mov	r2, #0
	ldr	r3, .L16+4
	ldr	ip, .L16+8
	str	ip, [sp, #8]
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L16+12
	bl	integrate
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	bl	wtime
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r2, .L16+16
	ldr	r3, .L16+20
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	bic	r5, r3, #-2147483648
	stm	sp, {r4-r5}
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	ldr	r0, .L16+24
	bl	printf
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L17:
	.align	2
.L16:
	.word	-1072693248
	.word	1074790400
	.word	80000000
	.word	func
	.word	1413754136
	.word	1074340347
	.word	.LC1
	.size	run_serial, .-run_serial
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	integrate_omp
	.syntax unified
	.arm
	.fpu softvfp
	.type	integrate_omp, %function
integrate_omp:
	@ args = 12, pretend = 0, frame = 304
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #304
	str	r0, [fp, #-304]
	str	r2, [fp, #-316]
	str	r3, [fp, #-312]
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #316
	ldmia	r3, {r2-r3}
	ldmib	fp, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #12]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-292]
	str	r3, [fp, #-288]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-284]
	str	r3, [fp, #-280]
	bl	omp_get_thread_num
	str	r0, [fp, #-296]
	ldr	r3, [fp, #-296]
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r1, r3, #264
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	mov	r3, #0
	str	r3, [fp, #-300]
	b	.L19
.L20:
	ldr	r0, [fp, #-300]
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L23+4
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #292
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #316
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-304]
	blx	r3
	ldr	r3, [fp, #-296]
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #264
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-296]
	lsl	r1, r1, #3
	sub	r0, fp, #12
	add	r1, r0, r1
	sub	r1, r1, #264
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-300]
	add	r3, r3, #1
	str	r3, [fp, #-300]
.L19:
	ldr	r2, [fp, #-300]
	ldr	r3, [fp, #12]
	cmp	r2, r3
	blt	.L20
	ldr	r3, [fp, #-296]
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #264
	ldmia	r3, {r2-r3}
	sub	r1, fp, #284
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-284]
	str	r3, [fp, #-280]
	sub	r3, fp, #292
	ldmia	r3, {r2-r3}
	sub	r1, fp, #284
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-284]
	str	r3, [fp, #-280]
	sub	r3, fp, #284
	ldmia	r3, {r2-r3}
	ldr	r1, .L23
	ldr	r0, [r1]
	ldr	r1, [fp, #-16]
	eors	r0, r1, r0
	mov	r1, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC2
	.word	1071644672
	.size	integrate_omp, .-integrate_omp
	.section	.rodata
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	integrate_omp_opt
	.syntax unified
	.arm
	.fpu softvfp
	.type	integrate_omp_opt, %function
integrate_omp_opt:
	@ args = 12, pretend = 0, frame = 2152
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r6, r7, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #2144
	sub	sp, sp, #12
	str	r0, [fp, #-2160]
	str	r2, [fp, #-2172]
	str	r3, [fp, #-2168]
	sub	r3, fp, #20
	sub	r3, r3, #2112
	add	r3, r3, #63
	lsr	r3, r3, #6
	lsl	r4, r3, #6
	ldr	r3, .L30
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	ldr	r2, [fp, #-2172]
	ldr	r3, [fp, #-2168]
	ldmib	fp, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r0, [fp, #12]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-2148]
	str	r3, [fp, #-2144]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-2140]
	str	r3, [fp, #-2136]
	bl	omp_get_thread_num
	str	r0, [fp, #-2152]
	ldr	r3, [fp, #-2152]
	lsl	r3, r3, #6
	add	r1, r4, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	mov	r3, #0
	str	r3, [fp, #-2156]
	b	.L26
.L27:
	ldr	r0, [fp, #-2156]
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L30+4
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, [fp, #-2148]
	ldr	r3, [fp, #-2144]
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, [fp, #-2172]
	ldr	r3, [fp, #-2168]
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-2160]
	blx	r3
	ldr	r3, [fp, #-2152]
	lsl	r3, r3, #6
	add	r3, r4, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-2152]
	lsl	r1, r1, #6
	add	r1, r4, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-2156]
	add	r3, r3, #1
	str	r3, [fp, #-2156]
.L26:
	ldr	r2, [fp, #-2156]
	ldr	r3, [fp, #12]
	cmp	r2, r3
	blt	.L27
	ldr	r3, [fp, #-2152]
	lsl	r3, r3, #6
	add	r3, r4, r3
	ldmia	r3, {r2-r3}
	ldr	r0, [fp, #-2140]
	ldr	r1, [fp, #-2136]
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-2140]
	str	r3, [fp, #-2136]
	ldr	r2, [fp, #-2148]
	ldr	r3, [fp, #-2144]
	ldr	r0, [fp, #-2140]
	ldr	r1, [fp, #-2136]
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-2140]
	str	r3, [fp, #-2136]
	ldr	r2, [fp, #-2140]
	ldr	r3, [fp, #-2136]
	ldr	r1, .L30
	ldr	r0, [r1]
	ldr	r1, [fp, #-24]
	eors	r0, r1, r0
	mov	r1, #0
	beq	.L29
	bl	__stack_chk_fail
.L29:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r6, r7, fp, pc}
.L31:
	.align	2
.L30:
	.word	.LC3
	.word	1071644672
	.size	integrate_omp_opt, .-integrate_omp_opt
	.section	.rodata
	.align	2
.LC4:
	.ascii	"Result (parallel): %.12f; error %.12f\012\000"
	.text
	.align	2
	.global	run_parallel
	.syntax unified
	.arm
	.fpu softvfp
	.type	run_parallel, %function
run_parallel:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #32
	bl	wtime
	str	r0, [fp, #-28]
	str	r1, [fp, #-24]
	mov	r0, #0
	ldr	r1, .L34
	mov	r2, #0
	ldr	r3, .L34+4
	ldr	ip, .L34+8
	str	ip, [sp, #8]
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L34+12
	bl	integrate_omp_opt
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	bl	wtime
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r2, .L34+16
	ldr	r3, .L34+20
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	bic	r5, r3, #-2147483648
	stm	sp, {r4-r5}
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	ldr	r0, .L34+24
	bl	printf
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L35:
	.align	2
.L34:
	.word	-1072693248
	.word	1074790400
	.word	80000000
	.word	func
	.word	1413754136
	.word	1074340347
	.word	.LC4
	.size	run_parallel, .-run_parallel
	.section	.rodata
	.align	2
.LC5:
	.ascii	"Integration f(x) on [%.12f, %.12f], nsteps = %d\012"
	.ascii	"\000"
	.align	2
.LC6:
	.ascii	"Execution time (serial): %.6f\012\000"
	.align	2
.LC7:
	.ascii	"Execution time (parallel): %.6f\012\000"
	.align	2
.LC8:
	.ascii	"Speedup: %.2f\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r0, #0
	ldr	r1, .L38
	mov	r2, #0
	ldr	r3, .L38+4
	ldr	ip, .L38+8
	str	ip, [sp, #8]
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L38+12
	bl	printf
	bl	run_serial
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	bl	run_parallel
	str	r0, [fp, #-12]
	str	r1, [fp, #-8]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	ldr	r0, .L38+16
	bl	printf
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	ldr	r0, .L38+20
	bl	printf
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L38+24
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	-1072693248
	.word	1074790400
	.word	80000000
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
