	.file	"245234.c"
	.intel_syntax noprefix
	.text
	.globl	MAX_THREADS
	.section	.rodata
	.align 4
	.type	MAX_THREADS, @object
	.size	MAX_THREADS, 4
MAX_THREADS:
	.long	1024
	.globl	thread_count
	.bss
	.align 8
	.type	thread_count, @object
	.size	thread_count, 8
thread_count:
	.zero	8
	.globl	n
	.align 8
	.type	n, @object
	.size	n, 8
n:
	.zero	8
	.globl	sum
	.align 8
	.type	sum, @object
	.size	sum, 8
sum:
	.zero	8
	.section	.rodata
.LC2:
	.string	"With n = %lld terms,\n"
	.align 8
.LC3:
	.string	"   Our estimate of pi = %.15f\n"
	.align 8
.LC4:
	.string	"   Single thread est  = %.15f\n"
	.align 8
.LC6:
	.string	"                   pi = %.15f\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
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	Get_args
	mov	rax, QWORD PTR thread_count[rip]
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	pxor	xmm0, xmm0
	movsd	QWORD PTR sum[rip], xmm0
	mov	QWORD PTR -16[rbp], 0
	jmp	.L2
.L3:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -8[rbp]
	lea	rdi, [rcx+rdx]
	mov	rcx, rax
	lea	rdx, Thread_sum[rip]
	mov	esi, 0
	call	pthread_create@PLT
	add	QWORD PTR -16[rbp], 1
.L2:
	mov	rax, QWORD PTR thread_count[rip]
	cmp	QWORD PTR -16[rbp], rax
	jl	.L3
	mov	QWORD PTR -16[rbp], 0
	jmp	.L4
.L5:
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	add	QWORD PTR -16[rbp], 1
.L4:
	mov	rax, QWORD PTR thread_count[rip]
	cmp	QWORD PTR -16[rbp], rax
	jl	.L5
	movsd	xmm1, QWORD PTR sum[rip]
	movsd	xmm0, QWORD PTR .LC1[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR sum[rip], xmm0
	mov	rax, QWORD PTR n[rip]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR sum[rip]
	movq	xmm0, rax
	lea	rdi, .LC3[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR n[rip]
	mov	rdi, rax
	call	Serial_pi
	movq	rax, xmm0
	mov	QWORD PTR sum[rip], rax
	mov	rax, QWORD PTR sum[rip]
	movq	xmm0, rax
	lea	rdi, .LC4[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR .LC5[rip]
	movq	xmm0, rax
	lea	rdi, .LC6[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	Thread_sum
	.type	Thread_sum, @function
Thread_sum:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR n[rip]
	mov	rcx, QWORD PTR thread_count[rip]
	cqo
	idiv	rcx
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	imul	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	and	eax, 1
	test	rax, rax
	jne	.L8
	movsd	xmm0, QWORD PTR .LC7[rip]
	movsd	QWORD PTR -48[rbp], xmm0
	jmp	.L9
.L8:
	movsd	xmm0, QWORD PTR .LC8[rip]
	movsd	QWORD PTR -48[rbp], xmm0
.L9:
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -40[rbp], rax
	jmp	.L10
.L11:
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rax
	add	rax, 1
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, rax
	movsd	xmm0, QWORD PTR -48[rbp]
	movapd	xmm1, xmm0
	divsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR sum[rip]
	addsd	xmm0, xmm1
	movsd	QWORD PTR sum[rip], xmm0
	add	QWORD PTR -40[rbp], 1
	movsd	xmm0, QWORD PTR -48[rbp]
	movq	xmm1, QWORD PTR .LC9[rip]
	xorpd	xmm0, xmm1
	movsd	QWORD PTR -48[rbp], xmm0
.L10:
	mov	rax, QWORD PTR -40[rbp]
	cmp	rax, QWORD PTR -8[rbp]
	jl	.L11
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	Thread_sum, .-Thread_sum
	.globl	Serial_pi
	.type	Serial_pi, @function
Serial_pi:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -40[rbp], rdi
	pxor	xmm0, xmm0
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC7[rip]
	movsd	QWORD PTR -8[rbp], xmm0
	mov	QWORD PTR -16[rbp], 0
	jmp	.L14
.L15:
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rax
	add	rax, 1
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	movsd	xmm0, QWORD PTR -8[rbp]
	divsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -24[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	add	QWORD PTR -16[rbp], 1
	movsd	xmm0, QWORD PTR -8[rbp]
	movq	xmm1, QWORD PTR .LC9[rip]
	xorpd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
.L14:
	mov	rax, QWORD PTR -16[rbp]
	cmp	rax, QWORD PTR -40[rbp]
	jl	.L15
	movsd	xmm1, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR .LC1[rip]
	mulsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	Serial_pi, .-Serial_pi
	.globl	Get_args
	.type	Get_args, @function
Get_args:
.LFB9:
	.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	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	cmp	DWORD PTR -4[rbp], 3
	je	.L18
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	Usage
.L18:
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	edx, 10
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	QWORD PTR thread_count[rip], rax
	mov	rax, QWORD PTR thread_count[rip]
	test	rax, rax
	jle	.L19
	mov	eax, 1024
	movsx	rdx, eax
	mov	rax, QWORD PTR thread_count[rip]
	cmp	rdx, rax
	jge	.L20
.L19:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	Usage
.L20:
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	edx, 10
	mov	esi, 0
	mov	rdi, rax
	call	strtoll@PLT
	mov	QWORD PTR n[rip], rax
	mov	rax, QWORD PTR n[rip]
	test	rax, rax
	jg	.L22
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	Usage
.L22:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	Get_args, .-Get_args
	.section	.rodata
	.align 8
.LC10:
	.string	"usage: %s <number of threads> <n>\n"
	.align 8
.LC11:
	.string	"   n is the number of terms and should be >= 1\n"
	.align 8
.LC12:
	.string	"   n should be evenly divisible by the number of threads\n"
	.text
	.globl	Usage
	.type	Usage, @function
Usage:
.LFB10:
	.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	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -8[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 47
	mov	esi, 1
	lea	rdi, .LC11[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 57
	mov	esi, 1
	lea	rdi, .LC12[rip]
	call	fwrite@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE10:
	.size	Usage, .-Usage
	.section	.rodata
	.align 8
.LC1:
	.long	0
	.long	1074790400
	.align 8
.LC5:
	.long	1413754136
	.long	1074340347
	.align 8
.LC7:
	.long	0
	.long	1072693248
	.align 8
.LC8:
	.long	0
	.long	-1074790400
	.align 16
.LC9:
	.long	0
	.long	-2147483648
	.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	"245234.c"
	.text
	.global	MAX_THREADS
	.section	.rodata
	.align	2
	.type	MAX_THREADS, %object
	.size	MAX_THREADS, 4
MAX_THREADS:
	.word	1024
	.comm	thread_count,4,4
	.comm	n,8,8
	.comm	sum,8,8
	.global	__aeabi_dmul
	.align	2
.LC0:
	.ascii	"With n = %lld terms,\012\000"
	.align	2
.LC1:
	.ascii	"   Our estimate of pi = %.15f\012\000"
	.align	2
.LC2:
	.ascii	"   Single thread est  = %.15f\012\000"
	.align	2
.LC3:
	.ascii	"                   pi = %.15f\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	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	Get_args
	ldr	r3, .L7
	ldr	r3, [r3]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r1, .L7+4
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L2
.L3:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r0, r2, r3
	ldr	r3, [fp, #-12]
	ldr	r2, .L7+8
	mov	r1, #0
	bl	pthread_create
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L2:
	ldr	r3, .L7
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L3
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L4
.L5:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L4:
	ldr	r3, .L7
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L5
	ldr	r3, .L7+4
	ldmia	r3, {r0-r1}
	mov	r2, #0
	ldr	r3, .L7+12
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L7+4
	stm	r1, {r2-r3}
	ldr	r3, .L7+16
	ldmia	r3, {r2-r3}
	ldr	r0, .L7+20
	bl	printf
	ldr	r3, .L7+4
	ldmia	r3, {r2-r3}
	ldr	r0, .L7+24
	bl	printf
	ldr	r3, .L7+16
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	Serial_pi
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L7+4
	stm	r1, {r2-r3}
	ldr	r3, .L7+4
	ldmia	r3, {r2-r3}
	ldr	r0, .L7+28
	bl	printf
	ldr	r2, .L7+32
	ldr	r3, .L7+36
	ldr	r0, .L7+40
	bl	printf
	ldr	r0, [fp, #-8]
	bl	free
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	thread_count
	.word	sum
	.word	Thread_sum
	.word	1074790400
	.word	n
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	1413754136
	.word	1074340347
	.word	.LC3
	.size	main, .-main
	.global	__aeabi_ldivmod
	.global	__aeabi_l2d
	.global	__aeabi_ddiv
	.global	__aeabi_dadd
	.align	2
	.global	Thread_sum
	.syntax unified
	.arm
	.fpu softvfp
	.type	Thread_sum, %function
Thread_sum:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #80
	str	r0, [fp, #-80]
	ldr	r3, [fp, #-80]
	str	r3, [fp, #-72]
	ldr	r3, .L15
	ldmia	r3, {r0-r1}
	ldr	r3, .L15+4
	ldr	r3, [r3]
	mov	r2, r3
	asr	r3, r2, #31
	bl	__aeabi_ldivmod
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-72]
	mov	r0, r3
	asr	r1, r0, #31
	ldr	r3, [fp, #-48]
	mul	r2, r0, r3
	ldr	r3, [fp, #-52]
	mul	r3, r1, r3
	add	lr, r2, r3
	ldr	ip, [fp, #-52]
	umull	r2, r3, ip, r0
	add	r1, lr, r3
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	adds	r4, r0, r2
	adc	r5, r1, r3
	str	r4, [fp, #-36]
	str	r5, [fp, #-32]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	mov	r0, #1
	mov	r1, #0
	and	r6, r2, r0
	and	r7, r3, r1
	orrs	r3, r6, r7
	bne	.L10
	mov	r2, #0
	ldr	r3, .L15+8
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	b	.L11
.L10:
	mov	r2, #0
	ldr	r3, .L15+12
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
.L11:
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	b	.L12
.L13:
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	adds	r1, r2, r2
	str	r1, [fp, #-100]
	adc	r3, r3, r3
	str	r3, [fp, #-96]
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	str	r1, [fp, #-92]
	adc	r3, r3, #0
	str	r3, [fp, #-88]
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	bl	__aeabi_l2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, .L15+16
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L15+16
	stm	r1, {r2-r3}
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	adds	r8, r2, #1
	adc	r9, r3, #0
	str	r8, [fp, #-60]
	str	r9, [fp, #-56]
	ldr	r3, [fp, #-68]
	str	r3, [fp, #-108]
	ldr	r3, [fp, #-64]
	eor	r3, r3, #-2147483648
	str	r3, [fp, #-104]
	sub	r4, fp, #108
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-68]
	str	r4, [fp, #-64]
.L12:
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	cmp	r0, r2
	sbcs	r3, r1, r3
	blt	.L13
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L16:
	.align	2
.L15:
	.word	n
	.word	thread_count
	.word	1072693248
	.word	-1074790400
	.word	sum
	.size	Thread_sum, .-Thread_sum
	.align	2
	.global	Serial_pi
	.syntax unified
	.arm
	.fpu softvfp
	.type	Serial_pi, %function
Serial_pi:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #40
	str	r0, [fp, #-60]
	str	r1, [fp, #-56]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	mov	r2, #0
	ldr	r3, .L21
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	b	.L18
.L19:
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	adds	r1, r2, r2
	str	r1, [fp, #-68]
	adc	r3, r3, r3
	str	r3, [fp, #-64]
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	adds	r8, r2, #1
	adc	r9, r3, #0
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_l2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	adds	r4, r2, #1
	adc	r5, r3, #0
	str	r4, [fp, #-44]
	str	r5, [fp, #-40]
	ldr	r6, [fp, #-36]
	ldr	r3, [fp, #-32]
	eor	r7, r3, #-2147483648
	str	r6, [fp, #-36]
	str	r7, [fp, #-32]
.L18:
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	cmp	r0, r2
	sbcs	r3, r1, r3
	blt	.L19
	mov	r2, #0
	ldr	r3, .L21+4
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L22:
	.align	2
.L21:
	.word	1072693248
	.word	1074790400
	.size	Serial_pi, .-Serial_pi
	.align	2
	.global	Get_args
	.syntax unified
	.arm
	.fpu softvfp
	.type	Get_args, %function
Get_args:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r3, #3
	beq	.L24
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	mov	r0, r3
	bl	Usage
.L24:
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, #10
	mov	r1, #0
	mov	r0, r3
	bl	strtol
	mov	r3, r0
	ldr	r2, .L29
	str	r3, [r2]
	ldr	r3, .L29
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L25
	ldr	r3, .L29
	ldr	r3, [r3]
	mov	r2, #1024
	cmp	r3, r2
	ble	.L26
.L25:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	mov	r0, r3
	bl	Usage
.L26:
	ldr	r3, [fp, #-12]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r2, #10
	mov	r1, #0
	mov	r0, r3
	bl	strtoll
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L29+4
	stm	r1, {r2-r3}
	ldr	r3, .L29+4
	ldmia	r3, {r2-r3}
	cmp	r2, #1
	sbcs	r3, r3, #0
	bge	.L28
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	mov	r0, r3
	bl	Usage
.L28:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	thread_count
	.word	n
	.size	Get_args, .-Get_args
	.section	.rodata
	.align	2
.LC4:
	.ascii	"usage: %s <number of threads> <n>\012\000"
	.align	2
.LC5:
	.ascii	"   n is the number of terms and should be >= 1\012\000"
	.align	2
.LC6:
	.ascii	"   n should be evenly divisible by the number of th"
	.ascii	"reads\012\000"
	.text
	.align	2
	.global	Usage
	.syntax unified
	.arm
	.fpu softvfp
	.type	Usage, %function
Usage:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, .L32
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r1, .L32+4
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L32
	ldr	r3, [r3]
	mov	r2, #47
	mov	r1, #1
	ldr	r0, .L32+8
	bl	fwrite
	ldr	r3, .L32
	ldr	r3, [r3]
	mov	r2, #57
	mov	r1, #1
	ldr	r0, .L32+12
	bl	fwrite
	mov	r0, #0
	bl	exit
.L33:
	.align	2
.L32:
	.word	stderr
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	Usage, .-Usage
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
