	.file	"238581.c"
	.intel_syntax noprefix
	.text
	.globl	getusec_
	.type	getusec_, @function
getusec_:
.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	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
	movsd	xmm0, QWORD PTR .LC0[rip]
	mulsd	xmm1, xmm0
	mov	rax, QWORD PTR -24[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	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
.LFE6:
	.size	getusec_, .-getusec_
	.section	.rodata
	.align 8
.LC3:
	.string	"All overheads expressed in microseconds"
.LC4:
	.string	"Nthr\tTime\tTime per thread"
.LC8:
	.string	"%d\t%.4f\t%.4f\n"
	.align 8
.LC10:
	.string	"Number pi after %ld iterations = %.15f\n"
.LC11:
	.string	"Total execution time"
.LC12:
	.string	"%s: %0.6fs\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, 144
	mov	DWORD PTR -132[rbp], edi
	mov	QWORD PTR -144[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, 0
	call	getusec_
	movq	rax, xmm0
	mov	QWORD PTR -96[rbp], rax
	pxor	xmm0, xmm0
	movsd	QWORD PTR -112[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -88[rbp], xmm0
	movabs	rax, 8079521938703217493
	movabs	rdx, 8313483788277260393
	mov	QWORD PTR -48[rbp], rax
	mov	QWORD PTR -40[rbp], rdx
	movabs	rax, 8369975360064873844
	movabs	rdx, 3472328296243427698
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR -24[rbp], rdx
	movabs	rax, 2860036710740016
	mov	QWORD PTR -16[rbp], rax
	cmp	DWORD PTR -132[rbp], 1
	jg	.L5
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L5:
	mov	rax, QWORD PTR -144[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	cdqe
	mov	QWORD PTR -80[rbp], rax
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, QWORD PTR -80[rbp]
	movsd	xmm0, QWORD PTR .LC2[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -72[rbp], xmm0
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	DWORD PTR -120[rbp], 2
	jmp	.L6
.L11:
	mov	eax, DWORD PTR -120[rbp]
	mov	edi, eax
	call	omp_set_num_threads@PLT
	mov	eax, 0
	call	getusec_
	movq	rax, xmm0
	mov	QWORD PTR -64[rbp], rax
	mov	DWORD PTR -116[rbp], 0
	jmp	.L7
.L10:
	pxor	xmm0, xmm0
	movsd	QWORD PTR -112[rbp], xmm0
	mov	QWORD PTR -104[rbp], 0
	jmp	.L8
.L9:
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, QWORD PTR -104[rbp]
	movsd	xmm0, QWORD PTR .LC5[rip]
	addsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -72[rbp]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -56[rbp], xmm0
	movsd	xmm0, QWORD PTR -56[rbp]
	movapd	xmm1, xmm0
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC2[rip]
	addsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC6[rip]
	divsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -112[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -112[rbp], xmm0
	add	QWORD PTR -104[rbp], 1
.L8:
	mov	rax, QWORD PTR -104[rbp]
	cmp	rax, QWORD PTR -80[rbp]
	jl	.L9
	add	DWORD PTR -116[rbp], 1
.L7:
	cmp	DWORD PTR -116[rbp], 9999
	jle	.L10
	mov	eax, 0
	call	getusec_
	movq	rax, xmm0
	movq	xmm0, rax
	subsd	xmm0, QWORD PTR -64[rbp]
	movsd	QWORD PTR -64[rbp], xmm0
	mov	eax, DWORD PTR -120[rbp]
	imul	eax, eax, 10000
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR -64[rbp]
	movapd	xmm2, xmm0
	divsd	xmm2, xmm1
	movsd	xmm0, QWORD PTR -64[rbp]
	movsd	xmm1, QWORD PTR .LC7[rip]
	divsd	xmm0, xmm1
	movq	rdx, xmm0
	mov	eax, DWORD PTR -120[rbp]
	movapd	xmm1, xmm2
	movq	xmm0, rdx
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 2
	call	printf@PLT
	add	DWORD PTR -120[rbp], 1
.L6:
	cmp	DWORD PTR -120[rbp], 24
	jle	.L11
	movsd	xmm0, QWORD PTR -72[rbp]
	mulsd	xmm0, QWORD PTR -112[rbp]
	movsd	xmm1, QWORD PTR .LC9[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -88[rbp], xmm0
	mov	rdx, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR -80[rbp]
	movq	xmm0, rdx
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
	call	getusec_
	movq	rax, xmm0
	movq	xmm0, rax
	subsd	xmm0, QWORD PTR -96[rbp]
	movsd	QWORD PTR -96[rbp], xmm0
	movsd	xmm0, QWORD PTR -96[rbp]
	movsd	xmm1, QWORD PTR .LC0[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -96[rbp], xmm0
	mov	rax, QWORD PTR -96[rbp]
	movq	xmm0, rax
	lea	rsi, .LC11[rip]
	lea	rdi, .LC12[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1093567616
	.align 8
.LC2:
	.long	0
	.long	1072693248
	.align 8
.LC5:
	.long	0
	.long	1071644672
	.align 8
.LC6:
	.long	0
	.long	1074790400
	.align 8
.LC7:
	.long	0
	.long	1086556160
	.align 8
.LC9:
	.long	0
	.long	1077411840
	.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	"238581.c"
	.text
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	getusec_
	.syntax unified
	.arm
	.fpu softvfp
	.type	getusec_, %function
getusec_:
	@ 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	r2, #0
	ldr	r3, .L4+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-20]
	mov	r0, r3
	bl	__aeabi_i2d
	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	1093567616
	.size	getusec_, .-getusec_
	.global	__aeabi_ddiv
	.section	.rodata
	.align	2
.LC2:
	.ascii	"All overheads expressed in microseconds\000"
	.align	2
.LC3:
	.ascii	"Nthr\011Time\011Time per thread\000"
	.global	__aeabi_dsub
	.align	2
.LC4:
	.ascii	"%d\011%.4f\011%.4f\012\000"
	.align	2
.LC5:
	.ascii	"Number pi after %ld iterations = %.15f\012\000"
	.align	2
.LC6:
	.ascii	"Total execution time\000"
	.align	2
.LC7:
	.ascii	"%s: %0.6fs\012\000"
	.align	2
.LC1:
	.ascii	"Usage: pi <num_steps> (try 1000000000)\012\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #128
	str	r0, [fp, #-128]
	str	r1, [fp, #-132]
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	bl	getusec_
	str	r0, [fp, #-100]
	str	r1, [fp, #-96]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-108]
	str	r3, [fp, #-104]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	ldr	r3, .L16+4
	sub	ip, fp, #56
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	ldr	r3, [fp, #-128]
	cmp	r3, #1
	bgt	.L7
	ldr	r3, .L16+8
	ldr	r3, [r3]
	sub	r2, fp, #56
	mov	r1, r2
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L7:
	ldr	r3, [fp, #-132]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-112]
	ldr	r0, [fp, #-112]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L16+12
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	ldr	r0, .L16+16
	bl	puts
	ldr	r0, .L16+20
	bl	puts
	mov	r3, #2
	str	r3, [fp, #-124]
	b	.L8
.L13:
	ldr	r0, [fp, #-124]
	bl	omp_set_num_threads
	bl	getusec_
	str	r0, [fp, #-76]
	str	r1, [fp, #-72]
	mov	r3, #0
	str	r3, [fp, #-120]
	b	.L9
.L12:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-108]
	str	r3, [fp, #-104]
	mov	r3, #0
	str	r3, [fp, #-116]
	b	.L10
.L11:
	ldr	r0, [fp, #-116]
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L16+24
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L16+12
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L16+28
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #108
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-108]
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	str	r3, [fp, #-116]
.L10:
	ldr	r2, [fp, #-116]
	ldr	r3, [fp, #-112]
	cmp	r2, r3
	blt	.L11
	ldr	r3, [fp, #-120]
	add	r3, r3, #1
	str	r3, [fp, #-120]
.L9:
	ldr	r3, [fp, #-120]
	ldr	r2, .L16+32
	cmp	r3, r2
	ble	.L12
	bl	getusec_
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	mov	r2, #0
	ldr	r3, .L16+36
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r2, [fp, #-124]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	ldr	r1, [fp, #-124]
	ldr	r0, .L16+40
	bl	printf
	ldr	r3, [fp, #-124]
	add	r3, r3, #1
	str	r3, [fp, #-124]
.L8:
	ldr	r3, [fp, #-124]
	cmp	r3, #24
	ble	.L13
	sub	r3, fp, #108
	ldmia	r3, {r2-r3}
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L16+44
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-112]
	ldr	r0, .L16+48
	bl	printf
	bl	getusec_
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-100]
	str	r3, [fp, #-96]
	mov	r2, #0
	ldr	r3, .L16+52
	sub	r1, fp, #100
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-100]
	str	r3, [fp, #-96]
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	ldr	r1, .L16+56
	ldr	r0, .L16+60
	bl	printf
	mov	r3, #0
	ldr	r2, .L16
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC8
	.word	.LC1
	.word	stderr
	.word	1072693248
	.word	.LC2
	.word	.LC3
	.word	1071644672
	.word	1074790400
	.word	9999
	.word	1086556160
	.word	.LC4
	.word	1077411840
	.word	.LC5
	.word	1093567616
	.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
