	.file	"73575870.c"
	.intel_syntax noprefix
	.text
	.globl	pi
	.section	.rodata
	.align 8
	.type	pi, @object
	.size	pi, 8
pi:
	.long	1413754136
	.long	1074340347
	.globl	_2pi
	.align 8
	.type	_2pi, @object
	.size	_2pi, 8
_2pi:
	.long	1413754136
	.long	1075388923
	.globl	F1x
	.bss
	.align 8
	.type	F1x, @object
	.size	F1x, 8
F1x:
	.zero	8
	.globl	F1y
	.align 8
	.type	F1y, @object
	.size	F1y, 8
F1y:
	.zero	8
	.globl	F2x
	.align 8
	.type	F2x, @object
	.size	F2x, 8
F2x:
	.zero	8
	.globl	F2y
	.align 8
	.type	F2y, @object
	.size	F2y, 8
F2y:
	.zero	8
	.globl	m
	.align 8
	.type	m, @object
	.size	m, 8
m:
	.zero	8
	.globl	n
	.align 8
	.type	n, @object
	.size	n, 8
n:
	.zero	8
	.globl	R
	.align 8
	.type	R, @object
	.size	R, 8
R:
	.zero	8
	.globl	T
	.align 8
	.type	T, @object
	.size	T, 8
T:
	.zero	8
	.globl	ans
	.align 8
	.type	ans, @object
	.size	ans, 8
ans:
	.zero	8
	.globl	now
	.align 8
	.type	now, @object
	.size	now, 8
now:
	.zero	8
	.globl	cas
	.align 4
	.type	cas, @object
	.size	cas, 4
cas:
	.zero	4
	.text
	.globl	Rand
	.type	Rand, @function
Rand:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, 274877907
	shr	rdx, 32
	sar	edx, 6
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	ecx, edx, 1000
	sub	eax, ecx
	mov	edx, eax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, edx
	movsd	xmm1, QWORD PTR .LC0[rip]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	Rand, .-Rand
	.globl	Dis
	.type	Dis, @function
Dis:
.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
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	QWORD PTR -16[rbp], xmm1
	movsd	QWORD PTR -24[rbp], xmm2
	movsd	QWORD PTR -32[rbp], xmm3
	movsd	xmm0, QWORD PTR -8[rbp]
	movapd	xmm1, xmm0
	subsd	xmm1, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR -8[rbp]
	subsd	xmm0, QWORD PTR -24[rbp]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -16[rbp]
	movapd	xmm2, xmm0
	subsd	xmm2, QWORD PTR -32[rbp]
	movsd	xmm0, QWORD PTR -16[rbp]
	subsd	xmm0, QWORD PTR -32[rbp]
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	Dis, .-Dis
	.globl	F
	.type	F, @function
F:
.LFB8:
	.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
	movsd	QWORD PTR -24[rbp], xmm0
	mov	rax, QWORD PTR -24[rbp]
	movq	xmm0, rax
	call	cos@PLT
	movsd	xmm1, QWORD PTR R[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR m[rip]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	mov	rax, QWORD PTR -24[rbp]
	movq	xmm0, rax
	call	sin@PLT
	movsd	xmm1, QWORD PTR R[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR n[rip]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm2, QWORD PTR F1y[rip]
	movsd	xmm1, QWORD PTR F1x[rip]
	movsd	xmm0, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	movapd	xmm3, xmm2
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	Dis
	movsd	QWORD PTR -32[rbp], xmm0
	movsd	xmm2, QWORD PTR F2y[rip]
	movsd	xmm1, QWORD PTR F2x[rip]
	movsd	xmm0, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	movapd	xmm3, xmm2
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	Dis
	addsd	xmm0, QWORD PTR -32[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	F, .-F
	.section	.rodata
.LC1:
	.string	"%d"
.LC2:
	.string	"%lf %lf %lf %lf"
.LC3:
	.string	"%lf %lf %lf"
.LC9:
	.string	"%.3lf %.3lf\n"
	.text
	.globl	main
	.type	main, @function
main:
.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
	lea	rsi, cas[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L8
.L13:
	lea	r8, F2y[rip]
	lea	rcx, F2x[rip]
	lea	rdx, F1y[rip]
	lea	rsi, F1x[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rcx, R[rip]
	lea	rdx, n[rip]
	lea	rsi, m[rip]
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movsd	xmm0, QWORD PTR .LC4[rip]
	movsd	QWORD PTR T[rip], xmm0
	movsd	xmm0, QWORD PTR .LC5[rip]
	movsd	QWORD PTR ans[rip], xmm0
	jmp	.L9
.L12:
	mov	eax, 0
	call	Rand
	addsd	xmm0, xmm0
	movsd	xmm2, QWORD PTR .LC6[rip]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR T[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR ans[rip]
	addsd	xmm0, xmm1
	movsd	QWORD PTR now[rip], xmm0
	mov	rax, QWORD PTR now[rip]
	movq	xmm0, rax
	call	F
	movsd	QWORD PTR -8[rbp], xmm0
	mov	rax, QWORD PTR ans[rip]
	movq	xmm0, rax
	call	F
	movq	rax, xmm0
	movq	xmm4, rax
	comisd	xmm4, QWORD PTR -8[rbp]
	jbe	.L10
	movsd	xmm0, QWORD PTR now[rip]
	movsd	QWORD PTR ans[rip], xmm0
.L10:
	movsd	xmm1, QWORD PTR T[rip]
	movsd	xmm0, QWORD PTR .LC7[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR T[rip], xmm0
.L9:
	movsd	xmm0, QWORD PTR T[rip]
	comisd	xmm0, QWORD PTR .LC8[rip]
	ja	.L12
	mov	rax, QWORD PTR ans[rip]
	movq	xmm0, rax
	call	sin@PLT
	movsd	xmm1, QWORD PTR R[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR n[rip]
	addsd	xmm1, xmm0
	movsd	QWORD PTR -8[rbp], xmm1
	mov	rax, QWORD PTR ans[rip]
	movq	xmm0, rax
	call	cos@PLT
	movsd	xmm1, QWORD PTR R[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR m[rip]
	movapd	xmm3, xmm1
	addsd	xmm3, xmm0
	movq	rax, xmm3
	movsd	xmm1, QWORD PTR -8[rbp]
	movq	xmm0, rax
	lea	rdi, .LC9[rip]
	mov	eax, 2
	call	printf@PLT
.L8:
	mov	eax, DWORD PTR cas[rip]
	lea	edx, -1[rax]
	mov	DWORD PTR cas[rip], edx
	test	eax, eax
	jne	.L13
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1083129856
	.align 8
.LC4:
	.long	1413754136
	.long	1075388923
	.align 8
.LC5:
	.long	1413754136
	.long	1074340347
	.align 8
.LC6:
	.long	0
	.long	1072693248
	.align 8
.LC7:
	.long	-171798692
	.long	1072651304
	.align 8
.LC8:
	.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	"73575870.c"
	.text
	.global	pi
	.section	.rodata
	.align	3
	.type	pi, %object
	.size	pi, 8
pi:
	.word	1413754136
	.word	1074340347
	.global	_2pi
	.align	3
	.type	_2pi, %object
	.size	_2pi, 8
_2pi:
	.word	1413754136
	.word	1075388923
	.comm	F1x,8,8
	.comm	F1y,8,8
	.comm	F2x,8,8
	.comm	F2y,8,8
	.comm	m,8,8
	.comm	n,8,8
	.comm	R,8,8
	.comm	T,8,8
	.comm	ans,8,8
	.comm	now,8,8
	.comm	cas,4,4
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.text
	.align	2
	.global	Rand
	.syntax unified
	.arm
	.fpu softvfp
	.type	Rand, %function
Rand:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	rand
	mov	r1, r0
	ldr	r3, .L3
	smull	r2, r3, r1, r3
	asr	r2, r3, #6
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, r1, r3
	mov	r0, r2
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L3+4
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	274877907
	.word	1083129856
	.size	Rand, .-Rand
	.global	__aeabi_dsub
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.align	2
	.global	Dis
	.syntax unified
	.arm
	.fpu softvfp
	.type	Dis, %function
Dis:
	@ args = 16, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #16
	str	r0, [fp, #-28]
	str	r1, [fp, #-24]
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldmib	fp, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldmib	fp, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	add	r3, fp, #12
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	add	r3, fp, #12
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	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
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
	.size	Dis, .-Dis
	.align	2
	.global	F
	.syntax unified
	.arm
	.fpu softvfp
	.type	F, %function
F:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #40
	str	r0, [fp, #-36]
	str	r1, [fp, #-32]
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	cos
	ldr	r3, .L9
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, .L9+4
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	sin
	ldr	r3, .L9
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, .L9+8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, .L9+12
	ldmia	r3, {r2-r3}
	ldr	r1, .L9+16
	ldmia	r1, {r0-r1}
	str	r0, [sp, #8]
	str	r1, [sp, #12]
	stm	sp, {r2-r3}
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	Dis
	mov	r4, r0
	mov	r5, r1
	ldr	r3, .L9+20
	ldmia	r3, {r2-r3}
	ldr	r1, .L9+24
	ldmia	r1, {r0-r1}
	str	r0, [sp, #8]
	str	r1, [sp, #12]
	stm	sp, {r2-r3}
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	Dis
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L10:
	.align	2
.L9:
	.word	R
	.word	m
	.word	n
	.word	F1x
	.word	F1y
	.word	F2x
	.word	F2y
	.size	F, .-F
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.align	2
.LC1:
	.ascii	"%lf %lf %lf %lf\000"
	.align	2
.LC2:
	.ascii	"%lf %lf %lf\000"
	.global	__aeabi_dcmplt
	.global	__aeabi_dcmpgt
	.align	2
.LC3:
	.ascii	"%.3lf %.3lf\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #8
	ldr	r1, .L20
	ldr	r0, .L20+4
	bl	__isoc99_scanf
	b	.L12
.L17:
	ldr	r3, .L20+8
	str	r3, [sp]
	ldr	r3, .L20+12
	ldr	r2, .L20+16
	ldr	r1, .L20+20
	ldr	r0, .L20+24
	bl	__isoc99_scanf
	ldr	r3, .L20+28
	ldr	r2, .L20+32
	ldr	r1, .L20+36
	ldr	r0, .L20+40
	bl	__isoc99_scanf
	ldr	r2, .L20+44
	ldr	r3, .L20+48
	ldr	r1, .L20+52
	stm	r1, {r2-r3}
	ldr	r2, .L20+44
	ldr	r3, .L20+56
	ldr	r1, .L20+60
	stm	r1, {r2-r3}
	b	.L13
.L16:
	bl	Rand
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L20+64
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, .L20+52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, .L20+60
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L20+68
	stm	r1, {r2-r3}
	ldr	r3, .L20+68
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	F
	mov	r4, r0
	mov	r5, r1
	ldr	r3, .L20+60
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	F
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r3, .L20+68
	ldmia	r3, {r2-r3}
	ldr	r1, .L20+60
	stm	r1, {r2-r3}
.L14:
	ldr	r3, .L20+52
	ldmia	r3, {r0-r1}
	ldr	r2, .L20+72
	ldr	r3, .L20+76
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L20+52
	stm	r1, {r2-r3}
.L13:
	ldr	r3, .L20+52
	ldmia	r3, {r0-r1}
	ldr	r2, .L20+80
	ldr	r3, .L20+84
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L16
	ldr	r3, .L20+60
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	cos
	ldr	r3, .L20+28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, .L20+36
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, .L20+60
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	sin
	ldr	r3, .L20+28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, .L20+32
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	ldr	r0, .L20+88
	bl	printf
.L12:
	ldr	r3, .L20
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r1, .L20
	str	r2, [r1]
	cmp	r3, #0
	bne	.L17
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L21:
	.align	2
.L20:
	.word	cas
	.word	.LC0
	.word	F2y
	.word	F2x
	.word	F1y
	.word	F1x
	.word	.LC1
	.word	R
	.word	n
	.word	m
	.word	.LC2
	.word	1413754136
	.word	1075388923
	.word	T
	.word	1074340347
	.word	ans
	.word	1072693248
	.word	now
	.word	-171798692
	.word	1072651304
	.word	-755914244
	.word	1062232653
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
