	.file	"62100.c"
	.intel_syntax noprefix
	.text
	.globl	PI
	.section	.rodata
	.align 8
	.type	PI, @object
	.size	PI, 8
PI:
	.long	1413754136
	.long	1074340347
	.globl	STEP_NUM
	.align 8
	.type	STEP_NUM, @object
	.size	STEP_NUM, 8
STEP_NUM:
	.quad	1070596096
	.globl	STEP_LENGTH
	.align 8
	.type	STEP_LENGTH, @object
	.size	STEP_LENGTH, 8
STEP_LENGTH:
	.long	113578959
	.long	1041239049
.LC1:
	.string	"\nStart calculating..."
	.align 8
.LC9:
	.string	"PI = %.16lf with error %.16lf\nTime elapsed : %lf seconds.\n\n"
.LC11:
	.string	"the_stack_data/62100.c"
.LC12:
	.string	"fabs(PI - pi) <= 0.001"
	.text
	.globl	main
	.type	main, @function
main:
.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, 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -48[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	pxor	xmm0, xmm0
	movsd	QWORD PTR -72[rbp], xmm0
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	DWORD PTR -76[rbp], 0
	jmp	.L2
.L3:
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -76[rbp]
	movsd	xmm0, QWORD PTR .LC2[rip]
	addsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC3[rip]
	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 .LC4[rip]
	addsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC4[rip]
	divsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -72[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -72[rbp], xmm0
	add	DWORD PTR -76[rbp], 1
.L2:
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	mov	edx, 1070596096
	cmp	rax, rdx
	jl	.L3
	movsd	xmm0, QWORD PTR .LC3[rip]
	movapd	xmm1, xmm0
	mulsd	xmm1, QWORD PTR -72[rbp]
	movsd	xmm0, QWORD PTR .LC5[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -64[rbp], xmm0
	lea	rax, -32[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -48[rbp]
	sub	rax, rdx
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	sub	rax, rdx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm2, QWORD PTR .LC6[rip]
	divsd	xmm0, xmm2
	movapd	xmm2, xmm1
	addsd	xmm2, xmm0
	movsd	xmm1, QWORD PTR .LC7[rip]
	movsd	xmm0, QWORD PTR -64[rbp]
	subsd	xmm0, xmm1
	movq	xmm1, QWORD PTR .LC8[rip]
	andpd	xmm0, xmm1
	mov	rax, QWORD PTR -64[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC9[rip]
	mov	eax, 3
	call	printf@PLT
	movsd	xmm0, QWORD PTR .LC7[rip]
	subsd	xmm0, QWORD PTR -64[rbp]
	movq	xmm1, QWORD PTR .LC8[rip]
	andpd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC10[rip]
	comisd	xmm0, xmm1
	jnb	.L4
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 33
	lea	rsi, .LC11[rip]
	lea	rdi, .LC12[rip]
	call	__assert_fail@PLT
.L4:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 5
__PRETTY_FUNCTION__.0:
	.string	"main"
	.align 8
.LC2:
	.long	0
	.long	1071644672
	.align 8
.LC3:
	.long	113578959
	.long	1041239049
	.align 8
.LC4:
	.long	0
	.long	1072693248
	.align 8
.LC5:
	.long	0
	.long	1074790400
	.align 8
.LC6:
	.long	0
	.long	1097011920
	.align 8
.LC7:
	.long	1413754136
	.long	1074340347
	.align 16
.LC8:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.align 8
.LC10:
	.long	-755914244
	.long	1062232653
	.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	"62100.c"
	.text
	.global	PI
	.section	.rodata
	.align	3
	.type	PI, %object
	.size	PI, 8
PI:
	.word	1413754136
	.word	1074340347
	.global	STEP_NUM
	.align	2
	.type	STEP_NUM, %object
	.size	STEP_NUM, 4
STEP_NUM:
	.word	1070596096
	.global	STEP_LENGTH
	.align	3
	.type	STEP_LENGTH, %object
	.size	STEP_LENGTH, 8
STEP_LENGTH:
	.word	113578959
	.word	1041239049
	.align	2
.LC0:
	.ascii	"\012Start calculating...\000"
	.global	__aeabi_i2d
	.global	__aeabi_dadd
	.global	__aeabi_dmul
	.global	__aeabi_ddiv
	.global	__aeabi_dsub
	.align	2
.LC1:
	.ascii	"PI = %.16lf with error %.16lf\012Time elapsed : %lf"
	.ascii	" seconds.\012\012\000"
	.global	__aeabi_dcmple
	.align	2
.LC2:
	.ascii	"the_stack_data/62100.c\000"
	.align	2
.LC3:
	.ascii	"fabs(PI - pi) <= 0.001\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.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, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #72
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	sub	r3, fp, #48
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	ldr	r0, .L7+4
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L2
.L3:
	ldr	r0, [fp, #-80]
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L7+8
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L7+12
	ldr	r3, .L7+16
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L7+20
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L7+20
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L2:
	ldr	r2, .L7+24
	ldr	r3, [fp, #-80]
	cmp	r3, r2
	blt	.L3
	ldr	r0, .L7+12
	ldr	r1, .L7+16
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L7+28
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	sub	r3, fp, #40
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	ldr	r2, .L7+32
	ldr	r3, .L7+36
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	bic	r5, r3, #-2147483648
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-48]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r8, r0
	mov	r9, r1
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-44]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L7+40
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	stm	sp, {r4-r5}
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	ldr	r0, .L7+44
	bl	printf
	ldr	r0, .L7+32
	ldr	r1, .L7+36
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	bic	r7, r3, #-2147483648
	ldr	r2, .L7+48
	ldr	r3, .L7+52
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dcmple
	mov	r3, r0
	cmp	r3, #0
	bne	.L4
	ldr	r3, .L7+56
	mov	r2, #33
	ldr	r1, .L7+60
	ldr	r0, .L7+64
	bl	__assert_fail
.L4:
	mov	r3, #0
	ldr	r2, .L7
	ldr	r1, [r2]
	ldr	r2, [fp, #-32]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC4
	.word	.LC0
	.word	1071644672
	.word	113578959
	.word	1041239049
	.word	1072693248
	.word	1070596096
	.word	1074790400
	.word	1413754136
	.word	1074340347
	.word	1097011920
	.word	.LC1
	.word	-755914244
	.word	1062232653
	.word	__PRETTY_FUNCTION__.6051
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.6051, %object
	.size	__PRETTY_FUNCTION__.6051, 5
__PRETTY_FUNCTION__.6051:
	.ascii	"main\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
