Given the following C code and unoptimized assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
double d[3],e[3],s[99][3];main(T,n,i,j,k,l){for(scanf("%d",&T);T;T--){
for(scanf("%lf%lf%lf%d",d,d+1,d+2,&n),i=0;i<n;i++)scanf("%lf%lf%lf",s[i],s[i]+1,s[i]+2);
for(i=0;i<n;i++)for(j=0;j<n;j++)for(k=0;k<n;k++)if(i-j&&j-k&&k-i){
	*e=sqrt(pow(*s[j]-*s[i],2)+pow(s[j][1]-s[i][1],2)+pow(s[j][2]-s[i][2],2));
	e[1]=sqrt(pow(*s[k]-*s[j],2)+pow(s[k][1]-s[j][1],2)+pow(s[k][2]-s[j][2],2));
	e[2]=sqrt(pow(*s[i]-*s[k],2)+pow(s[i][1]-s[k][1],2)+pow(s[i][2]-s[k][2],2));
	for(l=0;l<3;l++)if(d[l]/d[(l+1)%3]-e[l]/e[(l+1)%3]>1e-3)break;
	if(l>2)printf("%d %d %d\n",k+1,i+1,j+1);
}
}exit(0);}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	d
	.bss
	.align 16
	.type	d, @object
	.size	d, 24
d:
	.zero	24
	.globl	e
	.align 16
	.type	e, @object
	.size	e, 24
e:
	.zero	24
	.globl	s
	.align 32
	.type	s, @object
	.size	s, 2376
s:
	.zero	2376
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%lf%lf%lf%d"
.LC2:
	.string	"%lf%lf%lf"
.LC5:
	.string	"%d %d %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movl	%edi, -4(%rbp)
	movl	%esi, -8(%rbp)
	movl	%edx, -12(%rbp)
	movl	%ecx, -16(%rbp)
	movl	%r8d, -20(%rbp)
	movl	%r9d, -24(%rbp)
	leaq	-4(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	jmp	.L2
.L17:
	leaq	16+d(%rip), %rdx
	leaq	8+d(%rip), %rax
	leaq	-8(%rbp), %rcx
	movq	%rcx, %r8
	movq	%rdx, %rcx
	movq	%rax, %rdx
	leaq	d(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	movl	$0, -12(%rbp)
	jmp	.L3
.L4:
	movl	-12(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	leaq	s(%rip), %rdx
	addq	%rdx, %rax
	leaq	16(%rax), %rcx
	movl	-12(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	leaq	s(%rip), %rdx
	addq	%rdx, %rax
	leaq	8(%rax), %rdx
	movl	-12(%rbp), %eax
	movslq	%eax, %rsi
	movq	%rsi, %rax
	addq	%rax, %rax
	addq	%rsi, %rax
	salq	$3, %rax
	leaq	s(%rip), %rsi
	addq	%rsi, %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	addl	$1, -12(%rbp)
.L3:
	movl	-8(%rbp), %eax
	cmpl	%eax, -12(%rbp)
	jl	.L4
	movl	$0, -12(%rbp)
	jmp	.L5
.L16:
	movl	$0, -16(%rbp)
	jmp	.L6
.L15:
	movl	$0, -20(%rbp)
	jmp	.L7
.L14:
	movl	-12(%rbp), %eax
	cmpl	-16(%rbp), %eax
	je	.L8
	movl	-16(%rbp), %eax
	cmpl	-20(%rbp), %eax
	je	.L8
	movl	-20(%rbp), %eax
	cmpl	-12(%rbp), %eax
	je	.L8
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	s(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	movl	-12(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	s(%rip), %rax
	movsd	(%rdx,%rax), %xmm1
	subsd	%xmm1, %xmm0
	movq	%xmm0, %rax
	movsd	.LC3(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movsd	%xmm0, -32(%rbp)
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	8+s(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	movl	-12(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	8+s(%rip), %rax
	movsd	(%rdx,%rax), %xmm1
	movapd	%xmm0, %xmm3
	subsd	%xmm1, %xmm3
	movq	%xmm3, %rax
	movsd	.LC3(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movapd	%xmm0, %xmm4
	addsd	-32(%rbp), %xmm4
	movsd	%xmm4, -32(%rbp)
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	16+s(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	movl	-12(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	16+s(%rip), %rax
	movsd	(%rdx,%rax), %xmm1
	subsd	%xmm1, %xmm0
	movq	%xmm0, %rax
	movsd	.LC3(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	addsd	-32(%rbp), %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	sqrt@PLT
	movq	%xmm0, %rax
	movq	%rax, e(%rip)
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	s(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	s(%rip), %rax
	movsd	(%rdx,%rax), %xmm1
	subsd	%xmm1, %xmm0
	movq	%xmm0, %rax
	movsd	.LC3(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movsd	%xmm0, -32(%rbp)
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	8+s(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	8+s(%rip), %rax
	movsd	(%rdx,%rax), %xmm1
	movapd	%xmm0, %xmm5
	subsd	%xmm1, %xmm5
	movq	%xmm5, %rax
	movsd	.LC3(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movapd	%xmm0, %xmm6
	addsd	-32(%rbp), %xmm6
	movsd	%xmm6, -32(%rbp)
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	16+s(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	16+s(%rip), %rax
	movsd	(%rdx,%rax), %xmm1
	subsd	%xmm1, %xmm0
	movq	%xmm0, %rax
	movsd	.LC3(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	addsd	-32(%rbp), %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	sqrt@PLT
	movq	%xmm0, %rax
	movq	%rax, 8+e(%rip)
	movl	-12(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	s(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	s(%rip), %rax
	movsd	(%rdx,%rax), %xmm1
	subsd	%xmm1, %xmm0
	movq	%xmm0, %rax
	movsd	.LC3(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movsd	%xmm0, -32(%rbp)
	movl	-12(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	8+s(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	8+s(%rip), %rax
	movsd	(%rdx,%rax), %xmm1
	movapd	%xmm0, %xmm7
	subsd	%xmm1, %xmm7
	movq	%xmm7, %rax
	movsd	.LC3(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movapd	%xmm0, %xmm2
	addsd	-32(%rbp), %xmm2
	movsd	%xmm2, -32(%rbp)
	movl	-12(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	16+s(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	16+s(%rip), %rax
	movsd	(%rdx,%rax), %xmm1
	subsd	%xmm1, %xmm0
	movq	%xmm0, %rax
	movsd	.LC3(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	addsd	-32(%rbp), %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	sqrt@PLT
	movq	%xmm0, %rax
	movq	%rax, 16+e(%rip)
	movl	$0, -24(%rbp)
	jmp	.L9
.L13:
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	d(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	movl	-24(%rbp), %eax
	leal	1(%rax), %edx
	movslq	%edx, %rax
	imulq	$1431655766, %rax, %rax
	shrq	$32, %rax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	movl	%eax, %ecx
	addl	%ecx, %ecx
	addl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	d(%rip), %rax
	movsd	(%rdx,%rax), %xmm1
	divsd	%xmm1, %xmm0
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	e(%rip), %rax
	movsd	(%rdx,%rax), %xmm1
	movl	-24(%rbp), %eax
	leal	1(%rax), %edx
	movslq	%edx, %rax
	imulq	$1431655766, %rax, %rax
	shrq	$32, %rax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	movl	%eax, %ecx
	addl	%ecx, %ecx
	addl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	e(%rip), %rax
	movsd	(%rdx,%rax), %xmm2
	divsd	%xmm2, %xmm1
	subsd	%xmm1, %xmm0
	comisd	.LC4(%rip), %xmm0
	ja	.L18
	addl	$1, -24(%rbp)
.L9:
	cmpl	$2, -24(%rbp)
	jle	.L13
	jmp	.L12
.L18:
	nop
.L12:
	cmpl	$2, -24(%rbp)
	jle	.L8
	movl	-16(%rbp), %eax
	leal	1(%rax), %ecx
	movl	-12(%rbp), %eax
	leal	1(%rax), %edx
	movl	-20(%rbp), %eax
	addl	$1, %eax
	movl	%eax, %esi
	leaq	.LC5(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L8:
	addl	$1, -20(%rbp)
.L7:
	movl	-8(%rbp), %eax
	cmpl	%eax, -20(%rbp)
	jl	.L14
	addl	$1, -16(%rbp)
.L6:
	movl	-8(%rbp), %eax
	cmpl	%eax, -16(%rbp)
	jl	.L15
	addl	$1, -12(%rbp)
.L5:
	movl	-8(%rbp), %eax
	cmpl	%eax, -12(%rbp)
	jl	.L16
	movl	-4(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -4(%rbp)
.L2:
	movl	-4(%rbp), %eax
	testl	%eax, %eax
	jne	.L17
	movl	$0, %edi
	call	exit@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC3:
	.long	0
	.long	1073741824
	.align 8
.LC4:
	.long	-755914244
	.long	1062232653
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.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:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
user
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%lf%lf%lf%d"
.LC2:
	.string	"%lf%lf%lf"
.LC5:
	.string	"%d %d %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	xorl	%eax, %eax
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$120, %rsp
	.cfi_def_cfa_offset 176
	movl	%edi, 108(%rsp)
	leaq	.LC0(%rip), %rdi
	movl	%esi, 104(%rsp)
	leaq	108(%rsp), %rsi
	call	scanf@PLT
	movl	108(%rsp), %edx
	leaq	104(%rsp), %rax
	movq	%rax, 32(%rsp)
	testl	%edx, %edx
	je	.L20
.L2:
	leaq	16+d(%rip), %rcx
	movq	32(%rsp), %r8
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	leaq	-8(%rcx), %rdx
	leaq	-8(%rdx), %rsi
	call	scanf@PLT
	movl	104(%rsp), %eax
	testl	%eax, %eax
	jle	.L3
	leaq	s(%rip), %rbx
	xorl	%ebp, %ebp
	leaq	.LC2(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L4:
	leaq	16(%rbx), %rcx
	leaq	8(%rbx), %rdx
	movq	%rbx, %rsi
	xorl	%eax, %eax
	movq	%r12, %rdi
	addl	$1, %ebp
	addq	$24, %rbx
	call	scanf@PLT
	movl	104(%rsp), %r11d
	movsd	.LC4(%rip), %xmm5
	cmpl	%ebp, %r11d
	jg	.L4
	testl	%r11d, %r11d
	jle	.L3
	leaq	s(%rip), %r15
	xorl	%r14d, %r14d
	pxor	%xmm4, %xmm4
	movq	%r15, %r10
	movl	%r14d, %r15d
	.p2align 4,,10
	.p2align 3
.L5:
	movl	%r15d, %r14d
	leaq	s(%rip), %r9
	addl	$1, %r15d
	xorl	%r13d, %r13d
	movl	%r15d, 96(%rsp)
	leal	1(%r13), %ecx
	movq	%r9, %r15
	testl	%r11d, %r11d
	jle	.L3
	.p2align 4,,10
	.p2align 3
.L18:
	cmpl	%r14d, %r13d
	leaq	s(%rip), %rbp
	setne	%r8b
	xorl	%ebx, %ebx
	movl	%r8d, %eax
	movq	%r15, %r8
	movl	%eax, %r15d
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L6:
	movl	%r12d, %ebx
	addq	$24, %rbp
	cmpl	%r11d, %r12d
	jge	.L54
.L16:
	cmpl	%ebx, %r13d
	leal	1(%rbx), %r12d
	setne	%dl
	cmpl	%r14d, %ebx
	setne	%al
	testb	%al, %dl
	je	.L6
	testb	%r15b, %r15b
	je	.L6
	movsd	(%r8), %xmm2
	movsd	8(%r8), %xmm8
	movsd	(%r10), %xmm1
	movsd	8(%r10), %xmm7
	movapd	%xmm2, %xmm3
	movapd	%xmm8, %xmm9
	movsd	16(%r8), %xmm11
	movsd	16(%r10), %xmm6
	subsd	%xmm1, %xmm3
	subsd	%xmm7, %xmm9
	movapd	%xmm11, %xmm0
	subsd	%xmm6, %xmm0
	mulsd	%xmm3, %xmm3
	mulsd	%xmm9, %xmm9
	mulsd	%xmm0, %xmm0
	addsd	%xmm9, %xmm3
	addsd	%xmm0, %xmm3
	ucomisd	%xmm3, %xmm4
	ja	.L41
	sqrtsd	%xmm3, %xmm3
.L9:
	movsd	0(%rbp), %xmm10
	movsd	8(%rbp), %xmm9
	movsd	%xmm3, e(%rip)
	movapd	%xmm10, %xmm12
	subsd	%xmm2, %xmm12
	movapd	%xmm9, %xmm2
	subsd	%xmm8, %xmm2
	movsd	16(%rbp), %xmm8
	mulsd	%xmm12, %xmm12
	movapd	%xmm8, %xmm0
	mulsd	%xmm2, %xmm2
	subsd	%xmm11, %xmm0
	mulsd	%xmm0, %xmm0
	addsd	%xmm12, %xmm2
	addsd	%xmm0, %xmm2
	ucomisd	%xmm2, %xmm4
	ja	.L42
	sqrtsd	%xmm2, %xmm2
.L12:
	subsd	%xmm10, %xmm1
	subsd	%xmm9, %xmm7
	movsd	%xmm2, 8+e(%rip)
	subsd	%xmm8, %xmm6
	mulsd	%xmm1, %xmm1
	mulsd	%xmm7, %xmm7
	mulsd	%xmm6, %xmm6
	addsd	%xmm7, %xmm1
	movapd	%xmm1, %xmm0
	addsd	%xmm6, %xmm0
	ucomisd	%xmm0, %xmm4
	ja	.L43
	sqrtsd	%xmm0, %xmm0
.L15:
	leaq	d(%rip), %rax
	movsd	8+d(%rip), %xmm1
	movapd	%xmm3, %xmm8
	movsd	%xmm0, 16+e(%rip)
	movsd	(%rax), %xmm7
	divsd	%xmm2, %xmm8
	movapd	%xmm7, %xmm6
	divsd	%xmm1, %xmm6
	subsd	%xmm8, %xmm6
	comisd	%xmm5, %xmm6
	ja	.L52
	movsd	16+d(%rip), %xmm6
	divsd	%xmm0, %xmm2
	divsd	%xmm6, %xmm1
	subsd	%xmm2, %xmm1
	comisd	%xmm5, %xmm1
	ja	.L52
	divsd	%xmm7, %xmm6
	divsd	%xmm3, %xmm0
	subsd	%xmm0, %xmm6
	comisd	%xmm5, %xmm6
	ja	.L52
	leal	1(%rbx), %r12d
	movl	96(%rsp), %edx
	xorl	%eax, %eax
	movq	%r10, 24(%rsp)
	movl	%r12d, %esi
	movq	%r8, 16(%rsp)
	movl	%r12d, %ebx
	addq	$24, %rbp
	leaq	.LC5(%rip), %rdi
	movl	%ecx, 8(%rsp)
	call	printf@PLT
	movl	104(%rsp), %r11d
	movq	24(%rsp), %r10
	pxor	%xmm4, %xmm4
	movq	16(%rsp), %r8
	movsd	.LC4(%rip), %xmm5
	movl	8(%rsp), %ecx
	cmpl	%r11d, %r12d
	jl	.L16
	.p2align 4,,10
	.p2align 3
.L54:
	movq	%r8, %r15
	cmpl	%r11d, %ecx
	jge	.L55
	movl	%ecx, %r13d
	addq	$24, %r15
	leal	1(%r13), %ecx
	testl	%r11d, %r11d
	jg	.L18
.L3:
	subl	$1, 108(%rsp)
	jne	.L2
.L20:
	xorl	%edi, %edi
	call	exit@PLT
	.p2align 4,,10
	.p2align 3
.L52:
	leal	1(%rbx), %r12d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L55:
	movl	96(%rsp), %r15d
	addq	$24, %r10
	cmpl	%r15d, %r11d
	jg	.L5
	jmp	.L3
.L41:
	movapd	%xmm3, %xmm0
	movl	%r11d, 88(%rsp)
	movq	%r10, 80(%rsp)
	movl	%ecx, 72(%rsp)
	movq	%r8, 64(%rsp)
	movsd	%xmm6, 56(%rsp)
	movsd	%xmm11, 48(%rsp)
	movsd	%xmm7, 40(%rsp)
	movsd	%xmm8, 24(%rsp)
	movsd	%xmm1, 16(%rsp)
	movsd	%xmm2, 8(%rsp)
	call	sqrt@PLT
	movl	88(%rsp), %r11d
	movq	80(%rsp), %r10
	pxor	%xmm4, %xmm4
	movl	72(%rsp), %ecx
	movq	64(%rsp), %r8
	movapd	%xmm0, %xmm3
	movsd	.LC4(%rip), %xmm5
	movsd	56(%rsp), %xmm6
	movsd	48(%rsp), %xmm11
	movsd	40(%rsp), %xmm7
	movsd	24(%rsp), %xmm8
	movsd	16(%rsp), %xmm1
	movsd	8(%rsp), %xmm2
	jmp	.L9
.L43:
	movl	%r11d, 56(%rsp)
	movq	%r10, 48(%rsp)
	movl	%ecx, 40(%rsp)
	movq	%r8, 24(%rsp)
	movsd	%xmm2, 16(%rsp)
	movsd	%xmm3, 8(%rsp)
	call	sqrt@PLT
	movl	56(%rsp), %r11d
	movq	48(%rsp), %r10
	pxor	%xmm4, %xmm4
	movl	40(%rsp), %ecx
	movq	24(%rsp), %r8
	movsd	.LC4(%rip), %xmm5
	movsd	16(%rsp), %xmm2
	movsd	8(%rsp), %xmm3
	jmp	.L15
.L42:
	movapd	%xmm2, %xmm0
	movl	%r11d, 100(%rsp)
	movq	%r10, 88(%rsp)
	movl	%ecx, 80(%rsp)
	movq	%r8, 72(%rsp)
	movsd	%xmm8, 64(%rsp)
	movsd	%xmm9, 56(%rsp)
	movsd	%xmm10, 48(%rsp)
	movsd	%xmm3, 40(%rsp)
	movsd	%xmm6, 24(%rsp)
	movsd	%xmm7, 16(%rsp)
	movsd	%xmm1, 8(%rsp)
	call	sqrt@PLT
	movl	100(%rsp), %r11d
	movq	88(%rsp), %r10
	pxor	%xmm4, %xmm4
	movl	80(%rsp), %ecx
	movq	72(%rsp), %r8
	movapd	%xmm0, %xmm2
	movsd	.LC4(%rip), %xmm5
	movsd	64(%rsp), %xmm8
	movsd	56(%rsp), %xmm9
	movsd	48(%rsp), %xmm10
	movsd	40(%rsp), %xmm3
	movsd	24(%rsp), %xmm6
	movsd	16(%rsp), %xmm7
	movsd	8(%rsp), %xmm1
	jmp	.L12
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	s
	.bss
	.align 32
	.type	s, @object
	.size	s, 2376
s:
	.zero	2376
	.globl	e
	.align 16
	.type	e, @object
	.size	e, 24
e:
	.zero	24
	.globl	d
	.align 16
	.type	d, @object
	.size	d, 24
d:
	.zero	24
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC4:
	.long	-755914244
	.long	1062232653
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.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:

rule
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%lf%lf%lf%d"
.LC2:
	.string	"%lf%lf%lf"
.LC5:
	.string	"%d %d %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	xorl	%eax, %eax
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$120, %rsp
	.cfi_def_cfa_offset 176
	movl	%edi, 108(%rsp)
	leaq	.LC0(%rip), %rdi
	movl	%esi, 104(%rsp)
	leaq	108(%rsp), %rsi
	call	scanf@PLT
	movl	108(%rsp), %edx
	leaq	104(%rsp), %rax
	movq	%rax, 32(%rsp)
	testl	%edx, %edx
	je	.L20
.L2:
	leaq	16+d(%rip), %rcx
	movq	32(%rsp), %r8
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	leaq	-8(%rcx), %rdx
	leaq	-8(%rdx), %rsi
	call	scanf@PLT
	movl	104(%rsp), %eax
	testl	%eax, %eax
	jle	.L3
	leaq	s(%rip), %rbx
	xorl	%ebp, %ebp
	leaq	.LC2(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L4:
	leaq	16(%rbx), %rcx
	leaq	8(%rbx), %rdx
	movq	%rbx, %rsi
	xorl	%eax, %eax
	movq	%r12, %rdi
	addl	$1, %ebp
	addq	$24, %rbx
	call	scanf@PLT
	movl	104(%rsp), %r11d
	movsd	.LC4(%rip), %xmm5
	cmpl	%ebp, %r11d
	jg	.L4
	testl	%r11d, %r11d
	jle	.L3
	leaq	s(%rip), %r15
	xorl	%r14d, %r14d
	pxor	%xmm4, %xmm4
	movq	%r15, %r10
	movl	%r14d, %r15d
	.p2align 4,,10
	.p2align 3
.L5:
	movl	%r15d, %r14d
	leaq	s(%rip), %r9
	addl	$1, %r15d
	xorl	%r13d, %r13d
	movl	%r15d, 96(%rsp)
	leal	1(%r13), %ecx
	movq	%r9, %r15
	testl	%r11d, %r11d
	jle	.L3
	.p2align 4,,10
	.p2align 3
.L18:
	cmpl	%r14d, %r13d
	leaq	s(%rip), %rbp
	setne	%r8b
	xorl	%ebx, %ebx
	movl	%r8d, %eax
	movq	%r15, %r8
	movl	%eax, %r15d
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L6:
	movl	%r12d, %ebx
	addq	$24, %rbp
	cmpl	%r11d, %r12d
	jge	.L54
.L16:
	cmpl	%ebx, %r13d
	leal	1(%rbx), %r12d
	setne	%dl
	cmpl	%r14d, %ebx
	setne	%al
	testb	%al, %dl
	je	.L6
	testb	%r15b, %r15b
	je	.L6
	movsd	(%r8), %xmm2
	movsd	8(%r8), %xmm8
	movsd	(%r10), %xmm1
	movsd	8(%r10), %xmm7
	movapd	%xmm2, %xmm3
	movapd	%xmm8, %xmm9
	movsd	16(%r8), %xmm11
	movsd	16(%r10), %xmm6
	subsd	%xmm1, %xmm3
	subsd	%xmm7, %xmm9
	movapd	%xmm11, %xmm0
	subsd	%xmm6, %xmm0
	mulsd	%xmm3, %xmm3
	mulsd	%xmm9, %xmm9
	mulsd	%xmm0, %xmm0
	addsd	%xmm9, %xmm3
	addsd	%xmm0, %xmm3
	ucomisd	%xmm3, %xmm4
	ja	.L41
	sqrtsd	%xmm3, %xmm3
.L9:
	movsd	0(%rbp), %xmm10
	movsd	8(%rbp), %xmm9
	movsd	%xmm3, e(%rip)
	movapd	%xmm10, %xmm12
	subsd	%xmm2, %xmm12
	movapd	%xmm9, %xmm2
	subsd	%xmm8, %xmm2
	movsd	16(%rbp), %xmm8
	mulsd	%xmm12, %xmm12
	movapd	%xmm8, %xmm0
	mulsd	%xmm2, %xmm2
	subsd	%xmm11, %xmm0
	mulsd	%xmm0, %xmm0
	addsd	%xmm12, %xmm2
	addsd	%xmm0, %xmm2
	ucomisd	%xmm2, %xmm4
	ja	.L42
	sqrtsd	%xmm2, %xmm2
.L12:
	subsd	%xmm10, %xmm1
	subsd	%xmm9, %xmm7
	movsd	%xmm2, 8+e(%rip)
	subsd	%xmm8, %xmm6
	mulsd	%xmm1, %xmm1
	mulsd	%xmm7, %xmm7
	mulsd	%xmm6, %xmm6
	addsd	%xmm7, %xmm1
	movapd	%xmm1, %xmm0
	addsd	%xmm6, %xmm0
	ucomisd	%xmm0, %xmm4
	ja	.L43
	sqrtsd	%xmm0, %xmm0
.L15:
	leaq	d(%rip), %rax
	movsd	8+d(%rip), %xmm1
	movapd	%xmm3, %xmm8
	movsd	%xmm0, 16+e(%rip)
	movsd	(%rax), %xmm7
	divsd	%xmm2, %xmm8
	movapd	%xmm7, %xmm6
	divsd	%xmm1, %xmm6
	subsd	%xmm8, %xmm6
	comisd	%xmm5, %xmm6
	ja	.L52
	movsd	16+d(%rip), %xmm6
	divsd	%xmm0, %xmm2
	divsd	%xmm6, %xmm1
	subsd	%xmm2, %xmm1
	comisd	%xmm5, %xmm1
	ja	.L52
	divsd	%xmm7, %xmm6
	divsd	%xmm3, %xmm0
	subsd	%xmm0, %xmm6
	comisd	%xmm5, %xmm6
	ja	.L52
	leal	1(%rbx), %r12d
	movl	96(%rsp), %edx
	xorl	%eax, %eax
	movq	%r10, 24(%rsp)
	movl	%r12d, %esi
	movq	%r8, 16(%rsp)
	movl	%r12d, %ebx
	addq	$24, %rbp
	leaq	.LC5(%rip), %rdi
	movl	%ecx, 8(%rsp)
	call	printf@PLT
	movl	104(%rsp), %r11d
	movq	24(%rsp), %r10
	pxor	%xmm4, %xmm4
	movq	16(%rsp), %r8
	movsd	.LC4(%rip), %xmm5
	movl	8(%rsp), %ecx
	cmpl	%r11d, %r12d
	jl	.L16
	.p2align 4,,10
	.p2align 3
.L54:
	movq	%r8, %r15
	cmpl	%r11d, %ecx
	jge	.L55
	movl	%ecx, %r13d
	addq	$24, %r15
	leal	1(%r13), %ecx
	testl	%r11d, %r11d
	jg	.L18
.L3:
	subl	$1, 108(%rsp)
	jne	.L2
.L20:
	xorl	%edi, %edi
	call	exit@PLT
	.p2align 4,,10
	.p2align 3
.L52:
	leal	1(%rbx), %r12d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L55:
	movl	96(%rsp), %r15d
	addq	$24, %r10
	cmpl	%r15d, %r11d
	jg	.L5
	jmp	.L3
.L41:
	movapd	%xmm3, %xmm0
	movl	%r11d, 88(%rsp)
	movq	%r10, 80(%rsp)
	movl	%ecx, 72(%rsp)
	movq	%r8, 64(%rsp)
	movsd	%xmm6, 56(%rsp)
	movsd	%xmm11, 48(%rsp)
	movsd	%xmm7, 40(%rsp)
	movsd	%xmm8, 24(%rsp)
	movsd	%xmm1, 16(%rsp)
	movsd	%xmm2, 8(%rsp)
	call	sqrt@PLT
	movl	88(%rsp), %r11d
	movq	80(%rsp), %r10
	pxor	%xmm4, %xmm4
	movl	72(%rsp), %ecx
	movq	64(%rsp), %r8
	movapd	%xmm0, %xmm3
	movsd	.LC4(%rip), %xmm5
	movsd	56(%rsp), %xmm6
	movsd	48(%rsp), %xmm11
	movsd	40(%rsp), %xmm7
	movsd	24(%rsp), %xmm8
	movsd	16(%rsp), %xmm1
	movsd	8(%rsp), %xmm2
	jmp	.L9
.L43:
	movl	%r11d, 56(%rsp)
	movq	%r10, 48(%rsp)
	movl	%ecx, 40(%rsp)
	movq	%r8, 24(%rsp)
	movsd	%xmm2, 16(%rsp)
	movsd	%xmm3, 8(%rsp)
	call	sqrt@PLT
	movl	56(%rsp), %r11d
	movq	48(%rsp), %r10
	pxor	%xmm4, %xmm4
	movl	40(%rsp), %ecx
	movq	24(%rsp), %r8
	movsd	.LC4(%rip), %xmm5
	movsd	16(%rsp), %xmm2
	movsd	8(%rsp), %xmm3
	jmp	.L15
.L42:
	movapd	%xmm2, %xmm0
	movl	%r11d, 100(%rsp)
	movq	%r10, 88(%rsp)
	movl	%ecx, 80(%rsp)
	movq	%r8, 72(%rsp)
	movsd	%xmm8, 64(%rsp)
	movsd	%xmm9, 56(%rsp)
	movsd	%xmm10, 48(%rsp)
	movsd	%xmm3, 40(%rsp)
	movsd	%xmm6, 24(%rsp)
	movsd	%xmm7, 16(%rsp)
	movsd	%xmm1, 8(%rsp)
	call	sqrt@PLT
	movl	100(%rsp), %r11d
	movq	88(%rsp), %r10
	pxor	%xmm4, %xmm4
	movl	80(%rsp), %ecx
	movq	72(%rsp), %r8
	movapd	%xmm0, %xmm2
	movsd	.LC4(%rip), %xmm5
	movsd	64(%rsp), %xmm8
	movsd	56(%rsp), %xmm9
	movsd	48(%rsp), %xmm10
	movsd	40(%rsp), %xmm3
	movsd	24(%rsp), %xmm6
	movsd	16(%rsp), %xmm7
	movsd	8(%rsp), %xmm1
	jmp	.L12
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	s
	.bss
	.align 32
	.type	s, @object
	.size	s, 2376
s:
	.zero	2376
	.globl	e
	.align 16
	.type	e, @object
	.size	e, 24
e:
	.zero	24
	.globl	d
	.align 16
	.type	d, @object
	.size	d, 24
d:
	.zero	24
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC4:
	.long	-755914244
	.long	1062232653
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.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:

double d[3],e[3],s[99][3];main(T,n,i,j,k,l){for(scanf("%d",&T);T;T--){
for(scanf("%lf%lf%lf%d",d,d+1,d+2,&n),i=0;i<n;i++)scanf("%lf%lf%lf",s[i],s[i]+1,s[i]+2);
for(i=0;i<n;i++)for(j=0;j<n;j++)for(k=0;k<n;k++)if(i-j&&j-k&&k-i){
	*e=sqrt(pow(*s[j]-*s[i],2)+pow(s[j][1]-s[i][1],2)+pow(s[j][2]-s[i][2],2));
	e[1]=sqrt(pow(*s[k]-*s[j],2)+pow(s[k][1]-s[j][1],2)+pow(s[k][2]-s[j][2],2));
	e[2]=sqrt(pow(*s[i]-*s[k],2)+pow(s[i][1]-s[k][1],2)+pow(s[i][2]-s[k][2],2));
	for(l=0;l<3;l++)if(d[l]/d[(l+1)%3]-e[l]/e[(l+1)%3]>1e-3)break;
	if(l>2)printf("%d %d %d\n",k+1,i+1,j+1);
}
}exit(0);}
2
   50.36493  81.61338  79.96592
5
  -10293.83 -4800.033 -5296.238
   14936.30  6964.826  7684.818
  -4516.069  25748.41 -27016.06
   18301.59 -11946.25  5380.309
   27115.20  43415.99770967086 -71607.81
   11.51547  13.35555  14.57307
5
  -56292.27  2583.892  67754.62
  -567.5082 -756.2763 -118.7268
  -1235.987 -213.3318 -216.4862
  -317.6108 -54.81976 -55.63033
   22505.44 -40752.88  27482.94
 2
   50.36493  81.61338  79.96592
5
  -10293.83 -4800.033 -5296.238
   14936.30  6964.826  7684.818
  -4516.069  25748.41 -27016.06
   18301.59 -11946.25  5380.309
   27115.20  43415.99770967086 -71607.81
   11.51547  13.35555  14.57307
5
  -56292.27  2584.5264985984345  67754.62
  -567.5082 -756.2763 -118.7268
  -1235.987 -213.3318 -216.4862
  -317.6108 -54.81976 -55.63033
   22505.44 -40752.88  27482.94
 2
   50.36493  81.61338  79.96592
5
  -10293.83 -4800.033 -5296.238
   14936.30  6964.826  7684.818
  -4516.069  25748.68553121518 -27016.06
   18301.59 -11946.25  5380.309
   27115.20  43415.99770967086 -71607.81
   11.51547  13.35555  14.57307
5
  -56292.27  2583.892  67754.62
  -567.5082 -756.2763 -118.7268
  -1235.987 -213.3318 -216.4862
  -317.6108 -54.81976 -55.63033
   22505.44 -40752.88  27482.94
 2
   50.36493  81.61338  79.96592
5
  -10293.83 -4800.033 -5296.238
   14936.30  6964.826  7684.818
  -4516.069  25748.41 -27016.06
   18301.59 -11946.25  5380.309
   27115.20  43415.99770967086 -71607.81
   11.51547  13.35555  14.57307
5
  -56292.27  2584.5264985984345  67755.55744936658
  -567.5082 -756.2763 -118.7268
  -1235.987 -213.3318 -216.4862
  -317.6108 -54.81976 -55.63033
   22505.44 -40752.88  27482.94
 2
   50.36493  81.61338  79.96592
5
  -10293.83 -4800.033 -5296.238
   14936.30  6964.826  7684.894858264562
  -4516.069  25748.41 -27016.06
   18301.59 -11946.25  5380.309
   27115.20  43415.99770967086 -71607.81
   11.51547  13.35555  14.57307
5
  -56292.27  2584.5264985984345  67755.55744936658
  -567.5082 -756.2763 -118.7268
  -1235.987 -213.3318 -216.4862
  -317.6108 -54.81976 -55.63033
   22505.44 -40752.88  27482.94
 2
   50.36493  81.61338  79.96592
5
  -10293.83 -4800.033 -5296.238
   14936.30  6964.826  7684.894858264562
  -4516.069  25748.41 -27016.06
   18301.59 -11946.25  5380.309
   27115.20  43415.99770967086 -71607.81
   11.51547  13.35555  14.57307
5
  -56292.27  2584.5264985984345  67755.55744936658
  -567.5082 -756.2763 -118.7268
  -1235.987 -213.3318 -216.4862
  -317.6108 -54.81976 -55.63033
   22505.44 -40752.88  27483.444069553898
 2
   50.36493  81.61338  79.96592
5
  -10293.83 -4800.033 -5296.238
   14936.30  6964.826  7684.818
  -4516.069  25748.41 -27016.06
   18301.59 -11946.25  5380.309
   27115.20  43415.93 -71607.81
   11.51547  13.35555  14.57307
5
  -56292.27  2583.892  67754.62
  -567.5082 -756.2763 -118.7268
  -1235.987 -213.3318 -216.4862
  -317.6108 -54.81976 -55.63033
   22505.51648385568 -40752.88  27482.94
 2
   50.36493  81.61338  79.96592
5
  -10293.83 -4800.033 -5296.238
   14936.30  6964.826  7684.818
  -4516.069  25748.41 -27016.06
   18301.59 -11946.25  5380.309
   27115.20  43415.99770967086 -71607.81
   11.51547  13.35555  14.57307
5
  -56292.27  2584.703121022903  67754.62
  -567.5082 -756.2763 -118.7268
  -1235.987 -213.3318 -216.4862
  -317.6108 -54.81976 -55.63033
   22505.44 -40752.88  27482.94
 2
   50.36493  81.61338  79.96592
5
  -10293.83 -4800.033 -5296.238
   14936.30  6964.826  7684.818
  -4516.069  25748.68553121518 -27016.06
   18301.59 -11946.25  5380.309
   27115.20  43415.99770967086 -71607.81
   11.51547  13.35555  14.57307
5
  -56292.27  2583.892  67754.62
  -567.5082 -756.2763 -118.7268
  -1235.987 -213.3318 -216.4862
  -317.6108 -54.81976 -55.63033
   22505.44 -40752.88  27482.997591308562
 2
   50.36493  81.61338  79.96592
5
  -10293.83 -4800.033 -5296.238
   14936.30  6964.826  7684.818
  -4516.069  25748.41 -27016.06
   18301.59 -11946.25  5380.309
   27115.20  43415.99770967086 -71607.81
   11.51547  13.35555  14.57307
5
  -56292.09110175918  2584.5264985984345  67755.55744936658
  -567.5082 -756.2763 -118.7268
  -1235.987 -213.3318 -216.4862
  -317.6108 -54.81976 -55.63033
   22505.44 -40752.88  27482.94

1 2 4
3 4 2
 1 2 4
3 4 2
 1 2 4
3 4 2
 1 2 4
3 4 2
 1 2 4
3 4 2
 1 2 4
3 4 2
 1 2 4
3 4 2
 1 2 4
3 4 2
 1 2 4
3 4 2
 1 2 4
3 4 2

Given the following C code and unoptimized assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
double d[3],e[3],s[99][3];main(T,n,i,j,k,l){for(scanf("%d",&T);T;T--){
for(scanf("%lf%lf%lf%d",d,d+1,d+2,&n),i=0;i<n;i++)scanf("%lf%lf%lf",s[i],s[i]+1,s[i]+2);
for(i=0;i<n;i++)for(j=0;j<n;j++)for(k=0;k<n;k++)if(i-j&&j-k&&k-i){
	*e=sqrt(pow(*s[j]-*s[i],2)+pow(s[j][1]-s[i][1],2)+pow(s[j][2]-s[i][2],2));
	e[1]=sqrt(pow(*s[k]-*s[j],2)+pow(s[k][1]-s[j][1],2)+pow(s[k][2]-s[j][2],2));
	e[2]=sqrt(pow(*s[i]-*s[k],2)+pow(s[i][1]-s[k][1],2)+pow(s[i][2]-s[k][2],2));
	for(l=0;l<3;l++)if(d[l]/d[(l+1)%3]-e[l]/e[(l+1)%3]>1e-3)break;
	if(l>2)printf("%d %d %d\n",k+1,i+1,j+1);
}
}exit(0);}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	d
	.bss
	.align 16
	.type	d, @object
	.size	d, 24
d:
	.zero	24
	.globl	e
	.align 16
	.type	e, @object
	.size	e, 24
e:
	.zero	24
	.globl	s
	.align 32
	.type	s, @object
	.size	s, 2376
s:
	.zero	2376
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%lf%lf%lf%d"
.LC2:
	.string	"%lf%lf%lf"
.LC5:
	.string	"%d %d %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movl	%edi, -4(%rbp)
	movl	%esi, -8(%rbp)
	movl	%edx, -12(%rbp)
	movl	%ecx, -16(%rbp)
	movl	%r8d, -20(%rbp)
	movl	%r9d, -24(%rbp)
	leaq	-4(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	jmp	.L2
.L17:
	leaq	16+d(%rip), %rdx
	leaq	8+d(%rip), %rax
	leaq	-8(%rbp), %rcx
	movq	%rcx, %r8
	movq	%rdx, %rcx
	movq	%rax, %rdx
	leaq	d(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	movl	$0, -12(%rbp)
	jmp	.L3
.L4:
	movl	-12(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	leaq	s(%rip), %rdx
	addq	%rdx, %rax
	leaq	16(%rax), %rcx
	movl	-12(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	leaq	s(%rip), %rdx
	addq	%rdx, %rax
	leaq	8(%rax), %rdx
	movl	-12(%rbp), %eax
	movslq	%eax, %rsi
	movq	%rsi, %rax
	addq	%rax, %rax
	addq	%rsi, %rax
	salq	$3, %rax
	leaq	s(%rip), %rsi
	addq	%rsi, %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	addl	$1, -12(%rbp)
.L3:
	movl	-8(%rbp), %eax
	cmpl	%eax, -12(%rbp)
	jl	.L4
	movl	$0, -12(%rbp)
	jmp	.L5
.L16:
	movl	$0, -16(%rbp)
	jmp	.L6
.L15:
	movl	$0, -20(%rbp)
	jmp	.L7
.L14:
	movl	-12(%rbp), %eax
	cmpl	-16(%rbp), %eax
	je	.L8
	movl	-16(%rbp), %eax
	cmpl	-20(%rbp), %eax
	je	.L8
	movl	-20(%rbp), %eax
	cmpl	-12(%rbp), %eax
	je	.L8
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	s(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	movl	-12(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	s(%rip), %rax
	movsd	(%rdx,%rax), %xmm1
	subsd	%xmm1, %xmm0
	movq	%xmm0, %rax
	movsd	.LC3(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movsd	%xmm0, -32(%rbp)
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	8+s(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	movl	-12(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	8+s(%rip), %rax
	movsd	(%rdx,%rax), %xmm1
	movapd	%xmm0, %xmm3
	subsd	%xmm1, %xmm3
	movq	%xmm3, %rax
	movsd	.LC3(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movapd	%xmm0, %xmm4
	addsd	-32(%rbp), %xmm4
	movsd	%xmm4, -32(%rbp)
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	16+s(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	movl	-12(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	16+s(%rip), %rax
	movsd	(%rdx,%rax), %xmm1
	subsd	%xmm1, %xmm0
	movq	%xmm0, %rax
	movsd	.LC3(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	addsd	-32(%rbp), %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	sqrt@PLT
	movq	%xmm0, %rax
	movq	%rax, e(%rip)
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	s(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	s(%rip), %rax
	movsd	(%rdx,%rax), %xmm1
	subsd	%xmm1, %xmm0
	movq	%xmm0, %rax
	movsd	.LC3(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movsd	%xmm0, -32(%rbp)
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	8+s(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	8+s(%rip), %rax
	movsd	(%rdx,%rax), %xmm1
	movapd	%xmm0, %xmm5
	subsd	%xmm1, %xmm5
	movq	%xmm5, %rax
	movsd	.LC3(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movapd	%xmm0, %xmm6
	addsd	-32(%rbp), %xmm6
	movsd	%xmm6, -32(%rbp)
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	16+s(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	16+s(%rip), %rax
	movsd	(%rdx,%rax), %xmm1
	subsd	%xmm1, %xmm0
	movq	%xmm0, %rax
	movsd	.LC3(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	addsd	-32(%rbp), %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	sqrt@PLT
	movq	%xmm0, %rax
	movq	%rax, 8+e(%rip)
	movl	-12(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	s(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	s(%rip), %rax
	movsd	(%rdx,%rax), %xmm1
	subsd	%xmm1, %xmm0
	movq	%xmm0, %rax
	movsd	.LC3(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movsd	%xmm0, -32(%rbp)
	movl	-12(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	8+s(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	8+s(%rip), %rax
	movsd	(%rdx,%rax), %xmm1
	movapd	%xmm0, %xmm7
	subsd	%xmm1, %xmm7
	movq	%xmm7, %rax
	movsd	.LC3(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movapd	%xmm0, %xmm2
	addsd	-32(%rbp), %xmm2
	movsd	%xmm2, -32(%rbp)
	movl	-12(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	16+s(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	16+s(%rip), %rax
	movsd	(%rdx,%rax), %xmm1
	subsd	%xmm1, %xmm0
	movq	%xmm0, %rax
	movsd	.LC3(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	addsd	-32(%rbp), %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	sqrt@PLT
	movq	%xmm0, %rax
	movq	%rax, 16+e(%rip)
	movl	$0, -24(%rbp)
	jmp	.L9
.L13:
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	d(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	movl	-24(%rbp), %eax
	leal	1(%rax), %edx
	movslq	%edx, %rax
	imulq	$1431655766, %rax, %rax
	shrq	$32, %rax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	movl	%eax, %ecx
	addl	%ecx, %ecx
	addl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	d(%rip), %rax
	movsd	(%rdx,%rax), %xmm1
	divsd	%xmm1, %xmm0
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	e(%rip), %rax
	movsd	(%rdx,%rax), %xmm1
	movl	-24(%rbp), %eax
	leal	1(%rax), %edx
	movslq	%edx, %rax
	imulq	$1431655766, %rax, %rax
	shrq	$32, %rax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	movl	%eax, %ecx
	addl	%ecx, %ecx
	addl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	e(%rip), %rax
	movsd	(%rdx,%rax), %xmm2
	divsd	%xmm2, %xmm1
	subsd	%xmm1, %xmm0
	comisd	.LC4(%rip), %xmm0
	ja	.L18
	addl	$1, -24(%rbp)
.L9:
	cmpl	$2, -24(%rbp)
	jle	.L13
	jmp	.L12
.L18:
	nop
.L12:
	cmpl	$2, -24(%rbp)
	jle	.L8
	movl	-16(%rbp), %eax
	leal	1(%rax), %ecx
	movl	-12(%rbp), %eax
	leal	1(%rax), %edx
	movl	-20(%rbp), %eax
	addl	$1, %eax
	movl	%eax, %esi
	leaq	.LC5(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L8:
	addl	$1, -20(%rbp)
.L7:
	movl	-8(%rbp), %eax
	cmpl	%eax, -20(%rbp)
	jl	.L14
	addl	$1, -16(%rbp)
.L6:
	movl	-8(%rbp), %eax
	cmpl	%eax, -16(%rbp)
	jl	.L15
	addl	$1, -12(%rbp)
.L5:
	movl	-8(%rbp), %eax
	cmpl	%eax, -12(%rbp)
	jl	.L16
	movl	-4(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -4(%rbp)
.L2:
	movl	-4(%rbp), %eax
	testl	%eax, %eax
	jne	.L17
	movl	$0, %edi
	call	exit@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC3:
	.long	0
	.long	1073741824
	.align 8
.LC4:
	.long	-755914244
	.long	1062232653
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.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:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
train
	.file	"temp.c"
	.text
	.globl	d
	.bss
	.align 16
	.type	d, @object
	.size	d, 24
d:
	.zero	24
	.globl	e
	.align 16
	.type	e, @object
	.size	e, 24
e:
	.zero	24
	.globl	s
	.align 32
	.type	s, @object
	.size	s, 2376
s:
	.zero	2376
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%lf%lf%lf%d"
.LC2:
	.string	"%lf%lf%lf"
.LC5:
	.string	"%d %d %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movl	%edi, -4(%rbp)
	movl	%esi, -8(%rbp)
	movl	%edx, -12(%rbp)
	movl	%ecx, -16(%rbp)
	movl	%r8d, -20(%rbp)
	movl	%r9d, -24(%rbp)
	leaq	-4(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	jmp	.L2
.L17:
	leaq	16+d(%rip), %rdx
	leaq	8+d(%rip), %rax
	leaq	-8(%rbp), %rcx
	movq	%rcx, %r8
	movq	%rdx, %rcx
	movq	%rax, %rdx
	leaq	d(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	movl	$0, -12(%rbp)
	jmp	.L3
.L4:
	movl	-12(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	leaq	s(%rip), %rdx
	addq	%rdx, %rax
	leaq	16(%rax), %rcx
	movl	-12(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	leaq	s(%rip), %rdx
	addq	%rdx, %rax
	leaq	8(%rax), %rdx
	movl	-12(%rbp), %eax
	movslq	%eax, %rsi
	movq	%rsi, %rax
	addq	%rax, %rax
	addq	%rsi, %rax
	salq	$3, %rax
	leaq	s(%rip), %rsi
	addq	%rsi, %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	scanf@PLT
	addl	$1, -12(%rbp)
.L3:
	movl	-8(%rbp), %eax
	cmpl	%eax, -12(%rbp)
	jl	.L4
	movl	$0, -12(%rbp)
	jmp	.L5
.L16:
	movl	$0, -16(%rbp)
	jmp	.L6
.L15:
	movl	$0, -20(%rbp)
	jmp	.L7
.L14:
	movl	-12(%rbp), %eax
	cmpl	-16(%rbp), %eax
	je	.L8
	movl	-16(%rbp), %eax
	cmpl	-20(%rbp), %eax
	je	.L8
	movl	-20(%rbp), %eax
	cmpl	-12(%rbp), %eax
	je	.L8
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	s(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	movl	-12(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	s(%rip), %rax
	movsd	(%rdx,%rax), %xmm1
	subsd	%xmm1, %xmm0
	movq	%xmm0, %rax
	movsd	.LC3(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movsd	%xmm0, -32(%rbp)
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	8+s(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	movl	-12(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	8+s(%rip), %rax
	movsd	(%rdx,%rax), %xmm1
	movapd	%xmm0, %xmm3
	subsd	%xmm1, %xmm3
	movq	%xmm3, %rax
	movsd	.LC3(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movapd	%xmm0, %xmm4
	addsd	-32(%rbp), %xmm4
	movsd	%xmm4, -32(%rbp)
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	16+s(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	movl	-12(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	16+s(%rip), %rax
	movsd	(%rdx,%rax), %xmm1
	subsd	%xmm1, %xmm0
	movq	%xmm0, %rax
	movsd	.LC3(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	addsd	-32(%rbp), %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	sqrt@PLT
	movq	%xmm0, %rax
	movq	%rax, e(%rip)
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	s(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	s(%rip), %rax
	movsd	(%rdx,%rax), %xmm1
	subsd	%xmm1, %xmm0
	movq	%xmm0, %rax
	movsd	.LC3(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movsd	%xmm0, -32(%rbp)
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	8+s(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	8+s(%rip), %rax
	movsd	(%rdx,%rax), %xmm1
	movapd	%xmm0, %xmm5
	subsd	%xmm1, %xmm5
	movq	%xmm5, %rax
	movsd	.LC3(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movapd	%xmm0, %xmm6
	addsd	-32(%rbp), %xmm6
	movsd	%xmm6, -32(%rbp)
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	16+s(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	16+s(%rip), %rax
	movsd	(%rdx,%rax), %xmm1
	subsd	%xmm1, %xmm0
	movq	%xmm0, %rax
	movsd	.LC3(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	addsd	-32(%rbp), %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	sqrt@PLT
	movq	%xmm0, %rax
	movq	%rax, 8+e(%rip)
	movl	-12(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	s(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	s(%rip), %rax
	movsd	(%rdx,%rax), %xmm1
	subsd	%xmm1, %xmm0
	movq	%xmm0, %rax
	movsd	.LC3(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movsd	%xmm0, -32(%rbp)
	movl	-12(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	8+s(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	8+s(%rip), %rax
	movsd	(%rdx,%rax), %xmm1
	movapd	%xmm0, %xmm7
	subsd	%xmm1, %xmm7
	movq	%xmm7, %rax
	movsd	.LC3(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movapd	%xmm0, %xmm2
	addsd	-32(%rbp), %xmm2
	movsd	%xmm2, -32(%rbp)
	movl	-12(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	16+s(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	leaq	16+s(%rip), %rax
	movsd	(%rdx,%rax), %xmm1
	subsd	%xmm1, %xmm0
	movq	%xmm0, %rax
	movsd	.LC3(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	addsd	-32(%rbp), %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	call	sqrt@PLT
	movq	%xmm0, %rax
	movq	%rax, 16+e(%rip)
	movl	$0, -24(%rbp)
	jmp	.L9
.L13:
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	d(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	movl	-24(%rbp), %eax
	leal	1(%rax), %edx
	movslq	%edx, %rax
	imulq	$1431655766, %rax, %rax
	shrq	$32, %rax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	movl	%eax, %ecx
	addl	%ecx, %ecx
	addl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	d(%rip), %rax
	movsd	(%rdx,%rax), %xmm1
	divsd	%xmm1, %xmm0
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	e(%rip), %rax
	movsd	(%rdx,%rax), %xmm1
	movl	-24(%rbp), %eax
	leal	1(%rax), %edx
	movslq	%edx, %rax
	imulq	$1431655766, %rax, %rax
	shrq	$32, %rax
	movl	%edx, %ecx
	sarl	$31, %ecx
	subl	%ecx, %eax
	movl	%eax, %ecx
	addl	%ecx, %ecx
	addl	%eax, %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	e(%rip), %rax
	movsd	(%rdx,%rax), %xmm2
	divsd	%xmm2, %xmm1
	subsd	%xmm1, %xmm0
	comisd	.LC4(%rip), %xmm0
	ja	.L18
	addl	$1, -24(%rbp)
.L9:
	cmpl	$2, -24(%rbp)
	jle	.L13
	jmp	.L12
.L18:
	nop
.L12:
	cmpl	$2, -24(%rbp)
	jle	.L8
	movl	-16(%rbp), %eax
	leal	1(%rax), %ecx
	movl	-12(%rbp), %eax
	leal	1(%rax), %edx
	movl	-20(%rbp), %eax
	addl	$1, %eax
	movl	%eax, %esi
	leaq	.LC5(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L8:
	addl	$1, -20(%rbp)
.L7:
	movl	-8(%rbp), %eax
	cmpl	%eax, -20(%rbp)
	jl	.L14
	addl	$1, -16(%rbp)
.L6:
	movl	-8(%rbp), %eax
	cmpl	%eax, -16(%rbp)
	jl	.L15
	addl	$1, -12(%rbp)
.L5:
	movl	-8(%rbp), %eax
	cmpl	%eax, -12(%rbp)
	jl	.L16
	movl	-4(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -4(%rbp)
.L2:
	movl	-4(%rbp), %eax
	testl	%eax, %eax
	jne	.L17
	movl	$0, %edi
	call	exit@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC3:
	.long	0
	.long	1073741824
	.align 8
.LC4:
	.long	-755914244
	.long	1062232653
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.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:
