	.file	"723997.c"
	.intel_syntax noprefix
	.text
	.local	float_rand_seed_flag
	.comm	float_rand_seed_flag,4,4
	.globl	maybe_pi
	.bss
	.align 4
	.type	maybe_pi, @object
	.size	maybe_pi, 4
maybe_pi:
	.zero	4
	.text
	.globl	FlortGetRandom
	.type	FlortGetRandom, @function
FlortGetRandom:
.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
	movss	DWORD PTR -20[rbp], xmm0
	movss	DWORD PTR -24[rbp], xmm1
	mov	eax, DWORD PTR float_rand_seed_flag[rip]
	test	eax, eax
	jne	.L2
	mov	edi, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
	mov	DWORD PTR float_rand_seed_flag[rip], 1
.L2:
	movss	xmm0, DWORD PTR -24[rbp]
	subss	xmm0, DWORD PTR -20[rbp]
	movss	DWORD PTR -28[rbp], xmm0
	call	rand@PLT
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	movss	xmm1, DWORD PTR .LC0[rip]
	divss	xmm0, xmm1
	mulss	xmm0, DWORD PTR -28[rbp]
	movss	xmm1, DWORD PTR -20[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -4[rbp], xmm0
	movss	xmm0, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	FlortGetRandom, .-FlortGetRandom
	.section	.rodata
.LC2:
	.string	"Input LOOP number\343\200\202\357\274\232"
.LC3:
	.string	"%lf"
	.align 8
.LC9:
	.string	"%d\345\233\236\350\251\246\350\241\214\343\202\222\350\241\214\343\201\204\343\200\201\345\206\206\343\201\256\343\201\252\343\201\213%d\345\233\236\343\201\252\343\201\256\343\201\247\343\200\201\346\216\250\345\256\232\345\206\206\345\221\250\347\216\207\343\201\257 %.15f %%\343\201\247\343\201\231\343\200\202\n"
	.align 8
.LC10:
	.string	"throw_x:%10lu, throw_y:%10lu, maybe_pi:%10lu\n"
	.align 8
.LC11:
	.string	"\n%d\345\233\236\350\251\246\350\241\214\343\202\222\350\241\214\343\201\204\343\200\201\345\206\206\345\206\205\343\201\253\345\205\245\343\201\243\343\201\237\343\201\256\343\201\214%d\345\233\236\343\201\252\343\201\256\343\201\247\343\200\201\346\216\250\345\256\232\345\206\206\345\221\250\347\216\207\343\201\257 %.15f %%\343\201\247\343\201\231\343\200\202\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, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -48[rbp], 0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -40[rbp], xmm0
	mov	rax, QWORD PTR -48[rbp]
	shr	rax, 2
	movabs	rdx, 2951479051793528259
	mul	rdx
	mov	rax, rdx
	shr	rax, 2
	test	rax, rax
	js	.L5
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L6
.L5:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L6:
	movsd	QWORD PTR -40[rbp], xmm0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	DWORD PTR -64[rbp], 0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -16[rbp], xmm0
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR -48[rbp]
	cmp	rax, 100
	ja	.L7
	movsd	xmm0, QWORD PTR .LC4[rip]
	movsd	QWORD PTR -40[rbp], xmm0
	jmp	.L8
.L7:
	mov	rax, QWORD PTR -48[rbp]
	cmp	rax, 99999999
	jbe	.L8
	movsd	xmm0, QWORD PTR .LC5[rip]
	movsd	QWORD PTR -40[rbp], xmm0
.L8:
	mov	edi, 10
	call	putchar@PLT
.L20:
	add	QWORD PTR -32[rbp], 1
	mov	rcx, QWORD PTR -32[rbp]
	mov	rax, rcx
	shr	rax, 5
	movabs	rdx, 755578637259143235
	mul	rdx
	mov	rax, rdx
	shr	rax, 7
	imul	rdx, rax, 100000
	mov	rax, rcx
	sub	rax, rdx
	test	rax, rax
	jne	.L9
	mov	DWORD PTR float_rand_seed_flag[rip], 0
.L9:
	movss	xmm1, DWORD PTR .LC6[rip]
	pxor	xmm0, xmm0
	call	FlortGetRandom
	movd	eax, xmm0
	mov	DWORD PTR -60[rbp], eax
	movss	xmm1, DWORD PTR .LC6[rip]
	pxor	xmm0, xmm0
	call	FlortGetRandom
	movd	eax, xmm0
	mov	DWORD PTR -56[rbp], eax
	movss	xmm0, DWORD PTR -60[rbp]
	movaps	xmm1, xmm0
	mulss	xmm1, xmm0
	movss	xmm0, DWORD PTR -56[rbp]
	mulss	xmm0, xmm0
	addss	xmm0, xmm1
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm0
	movq	rax, xmm3
	movq	xmm0, rax
	call	sqrt@PLT
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -52[rbp], xmm0
	movss	xmm0, DWORD PTR .LC6[rip]
	comiss	xmm0, DWORD PTR -52[rbp]
	jb	.L10
	add	QWORD PTR -24[rbp], 1
.L10:
	mov	rax, QWORD PTR -24[rbp]
	test	rax, rax
	js	.L12
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rax
	jmp	.L13
.L12:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rdx
	addss	xmm0, xmm0
.L13:
	mov	rax, QWORD PTR -32[rbp]
	test	rax, rax
	js	.L14
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, rax
	jmp	.L15
.L14:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, rdx
	addss	xmm1, xmm1
.L15:
	movaps	xmm2, xmm0
	divss	xmm2, xmm1
	movss	xmm0, DWORD PTR .LC8[rip]
	mulss	xmm0, xmm2
	movss	DWORD PTR maybe_pi[rip], xmm0
	mov	rax, QWORD PTR -32[rbp]
	test	rax, rax
	js	.L16
	pxor	xmm4, xmm4
	cvtsi2sd	xmm4, rax
	movq	rax, xmm4
	jmp	.L17
.L16:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
	movq	rax, xmm0
.L17:
	movsd	xmm0, QWORD PTR -40[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	fmod@PLT
	movq	rax, xmm0
	pxor	xmm0, xmm0
	movq	xmm5, rax
	ucomisd	xmm5, xmm0
	jp	.L18
	pxor	xmm0, xmm0
	movq	xmm6, rax
	ucomisd	xmm6, xmm0
	jne	.L18
	movss	xmm0, DWORD PTR maybe_pi[rip]
	pxor	xmm7, xmm7
	cvtss2sd	xmm7, xmm0
	movq	rcx, xmm7
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -32[rbp]
	movq	xmm0, rcx
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 1
	call	printf@PLT
	movss	xmm0, DWORD PTR maybe_pi[rip]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -56[rbp]
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -60[rbp]
	movq	rax, xmm3
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC10[rip]
	mov	eax, 3
	call	printf@PLT
	mov	edi, 10000
	call	usleep@PLT
.L18:
	mov	rax, QWORD PTR -48[rbp]
	cmp	QWORD PTR -32[rbp], rax
	jne	.L20
	movss	xmm0, DWORD PTR maybe_pi[rip]
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, xmm0
	movq	rcx, xmm4
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -32[rbp]
	movq	xmm0, rcx
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 1
	call	printf@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC0:
	.long	1325400064
	.align 8
.LC4:
	.long	0
	.long	1072693248
	.align 8
.LC5:
	.long	0
	.long	1097011920
	.align 4
.LC6:
	.long	1065353216
	.align 4
.LC8:
	.long	1082130432
	.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	"723997.c"
	.text
	.local	float_rand_seed_flag
	.comm	float_rand_seed_flag,4,4
	.global	maybe_pi
	.bss
	.align	2
	.type	maybe_pi, %object
	.size	maybe_pi, 4
maybe_pi:
	.space	4
	.global	__aeabi_fsub
	.global	__aeabi_i2f
	.global	__aeabi_fdiv
	.global	__aeabi_fmul
	.global	__aeabi_fadd
	.text
	.align	2
	.global	FlortGetRandom
	.syntax unified
	.arm
	.fpu softvfp
	.type	FlortGetRandom, %function
FlortGetRandom:
	@ 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]	@ float
	str	r1, [fp, #-28]	@ float
	ldr	r3, .L4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L2
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	ldr	r3, .L4
	mov	r2, #1
	str	r2, [r3]
.L2:
	ldr	r1, [fp, #-24]	@ float
	ldr	r0, [fp, #-28]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r4, r3
	bl	rand
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, #1325400064
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-16]	@ float
	ldr	r3, [fp, #-16]	@ float
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L5:
	.align	2
.L4:
	.word	float_rand_seed_flag
	.size	FlortGetRandom, .-FlortGetRandom
	.global	__aeabi_uldivmod
	.global	__aeabi_ul2d
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Input LOOP number\343\200\202\357\274\232\000"
	.align	2
.LC1:
	.ascii	"%lf\000"
	.global	__aeabi_f2d
	.global	__aeabi_d2f
	.global	__aeabi_fcmple
	.global	__aeabi_ul2f
	.global	__aeabi_dcmpeq
	.align	2
.LC2:
	.ascii	"%d\345\233\236\350\251\246\350\241\214\343\202\222\350"
	.ascii	"\241\214\343\201\204\343\200\201\345\206\206\343\201"
	.ascii	"\256\343\201\252\343\201\213%d\345\233\236\343\201\252"
	.ascii	"\343\201\256\343\201\247\343\200\201\346\216\250\345"
	.ascii	"\256\232\345\206\206\345\221\250\347\216\207\343\201"
	.ascii	"\257 %.15f %%\343\201\247\343\201\231\343\200\202\012"
	.ascii	"\000"
	.align	2
.LC3:
	.ascii	"throw_x:%10lu, throw_y:%10lu, maybe_pi:%10lu\012\000"
	.align	2
.LC4:
	.ascii	"\012%d\345\233\236\350\251\246\350\241\214\343\202\222"
	.ascii	"\350\241\214\343\201\204\343\200\201\345\206\206\345"
	.ascii	"\206\205\343\201\253\345\205\245\343\201\243\343\201"
	.ascii	"\237\343\201\256\343\201\214%d\345\233\236\343\201\252"
	.ascii	"\343\201\256\343\201\247\343\200\201\346\216\250\345"
	.ascii	"\256\232\345\206\206\345\221\250\347\216\207\343\201"
	.ascii	"\257 %.15f %%\343\201\247\343\201\231\343\200\202\012"
	.ascii	"\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #88
	ldr	r3, .L18+8
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	mov	r2, #100
	mov	r3, #0
	bl	__aeabi_uldivmod
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_ul2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-92]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r0, .L18+12
	bl	printf
	sub	r3, fp, #76
	mov	r1, r3
	ldr	r0, .L18+16
	bl	__isoc99_scanf
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	cmp	r3, #0
	cmpeq	r2, #100
	bhi	.L7
	mov	r2, #0
	ldr	r3, .L18+20
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	b	.L8
.L7:
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	adr	r1, .L18
	ldmia	r1, {r0-r1}
	cmp	r3, r1
	cmpeq	r2, r0
	bls	.L8
	mov	r2, #0
	ldr	r3, .L18+24
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
.L8:
	mov	r0, #10
	bl	putchar
.L14:
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	adds	r4, r2, #1
	adc	r5, r3, #0
	str	r4, [fp, #-60]
	str	r5, [fp, #-56]
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	ldr	r2, .L18+28
	mov	r3, #0
	bl	__aeabi_uldivmod
	orrs	r3, r2, r3
	bne	.L9
	ldr	r3, .L18+32
	mov	r2, #0
	str	r2, [r3]
.L9:
	mov	r1, #1065353216
	mov	r0, #0
	bl	FlortGetRandom
	str	r0, [fp, #-88]	@ float
	mov	r1, #1065353216
	mov	r0, #0
	bl	FlortGetRandom
	str	r0, [fp, #-84]	@ float
	ldr	r1, [fp, #-88]	@ float
	ldr	r0, [fp, #-88]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r8, r3
	ldr	r1, [fp, #-84]	@ float
	ldr	r0, [fp, #-84]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r8
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-80]	@ float
	mov	r1, #1065353216
	ldr	r0, [fp, #-80]	@ float
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L10
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	adds	r6, r2, #1
	adc	r7, r3, #0
	str	r6, [fp, #-52]
	str	r7, [fp, #-48]
.L10:
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_ul2f
	mov	r8, r0
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_ul2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r8
	bl	__aeabi_fdiv
	mov	r3, r0
	ldr	r1, .L18+36
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L18+40
	str	r2, [r3]	@ float
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_ul2d
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	bl	fmod
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L12
	ldr	r3, .L18+40
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	ldr	r0, .L18+44
	bl	printf
	ldr	r0, [fp, #-88]	@ float
	bl	__aeabi_f2d
	str	r0, [fp, #-100]
	str	r1, [fp, #-96]
	ldr	r0, [fp, #-84]	@ float
	bl	__aeabi_f2d
	mov	r8, r0
	mov	r9, r1
	ldr	r3, .L18+40
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	stm	sp, {r8-r9}
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	ldr	r0, .L18+48
	bl	printf
	ldr	r0, .L18+52
	bl	usleep
.L12:
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	cmp	r1, r3
	cmpeq	r0, r2
	bne	.L14
	ldr	r3, .L18+40
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	ldr	r0, .L18+56
	bl	printf
	nop
	ldr	r3, .L18+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L19:
	.align	3
.L18:
	.word	99999999
	.word	0
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	1072693248
	.word	1097011920
	.word	100000
	.word	float_rand_seed_flag
	.word	1082130432
	.word	maybe_pi
	.word	.LC2
	.word	.LC3
	.word	10000
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
