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

```c
#include <stdio.h>


int main(void){
  int q;
  scanf("%d",&q);

  double x1,y1,x2,y2,x3,y3,x4,y4;
  double x,y;//直線の交点
  double det;//行列式
  for(int i=0;i<q;i++){
    scanf("%lf %lf %lf %lf %lf %lf %lf %lf",&x1,&y1,&x2,&y2,&x3,&y3,&x4,&y4);
    det=(x2-x1)*(y4-y3)-(y2-y1)*(x4-x3);
    x=((x3-x4)*(x1*y2-x2*y1)+(x2-x1)*(x3*y4-x4*y3))/det;
    y=((y3-y4)*(x1*y2-x2*y1)+(y2-y1)*(x3*y4-x4*y3))/det;
    printf("%.16lf %.16lf\n",x,y);
  }
  return 0;
}

```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"%lf %lf %lf %lf %lf %lf %lf %lf"
	.section	.rodata.str1.1
.LC2:
	.string	"%.16lf %.16lf\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	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
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	leaq	36(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	36(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	leaq	96(%rsp), %rax
	leaq	64(%rsp), %r15
	xorl	%ebx, %ebx
	movq	%rax, 8(%rsp)
	leaq	88(%rsp), %rax
	leaq	40(%rsp), %r12
	movq	%r15, %r8
	movq	%rax, 24(%rsp)
	leaq	80(%rsp), %rax
	leaq	72(%rsp), %r9
	movq	%r12, %r15
	movq	%rax, 16(%rsp)
	leaq	56(%rsp), %r14
	leaq	48(%rsp), %r13
	movq	%r9, %r12
	leaq	.LC1(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L3:
	subq	$8, %rsp
	.cfi_def_cfa_offset 184
	movq	%r12, %r9
	movq	%r14, %rcx
	movq	%r13, %rdx
	pushq	16(%rsp)
	.cfi_def_cfa_offset 192
	movq	%r15, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	pushq	40(%rsp)
	.cfi_def_cfa_offset 200
	addl	$1, %ebx
	pushq	40(%rsp)
	.cfi_def_cfa_offset 208
	movq	%r8, 32(%rsp)
	call	__isoc99_scanf@PLT
	movsd	88(%rsp), %xmm4
	movl	$1, %edi
	movsd	128(%rsp), %xmm9
	movsd	120(%rsp), %xmm8
	movsd	96(%rsp), %xmm11
	leaq	.LC2(%rip), %rsi
	movl	$2, %eax
	movsd	112(%rsp), %xmm2
	movapd	%xmm4, %xmm7
	movapd	%xmm9, %xmm3
	movsd	104(%rsp), %xmm0
	movsd	72(%rsp), %xmm6
	movapd	%xmm11, %xmm5
	movapd	%xmm8, %xmm1
	movsd	80(%rsp), %xmm10
	subsd	%xmm2, %xmm3
	subsd	%xmm0, %xmm1
	addq	$32, %rsp
	.cfi_def_cfa_offset 176
	subsd	%xmm6, %xmm7
	subsd	%xmm10, %xmm5
	mulsd	%xmm11, %xmm6
	mulsd	%xmm10, %xmm4
	mulsd	%xmm5, %xmm1
	mulsd	%xmm7, %xmm3
	subsd	%xmm1, %xmm3
	movapd	%xmm6, %xmm1
	movapd	%xmm2, %xmm6
	subsd	%xmm4, %xmm1
	movapd	%xmm9, %xmm4
	subsd	%xmm9, %xmm2
	mulsd	%xmm0, %xmm4
	subsd	%xmm8, %xmm0
	mulsd	%xmm8, %xmm6
	mulsd	%xmm1, %xmm2
	mulsd	%xmm1, %xmm0
	subsd	%xmm6, %xmm4
	mulsd	%xmm4, %xmm5
	mulsd	%xmm4, %xmm7
	addsd	%xmm5, %xmm2
	addsd	%xmm7, %xmm0
	divsd	%xmm3, %xmm2
	divsd	%xmm3, %xmm0
	movapd	%xmm2, %xmm1
	call	__printf_chk@PLT
	cmpl	%ebx, 36(%rsp)
	movq	(%rsp), %r8
	jg	.L3
.L2:
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L8
	addq	$120, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L8:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.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.
Optimized Assembly Code:

user
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"%lf %lf %lf %lf %lf %lf %lf %lf"
	.section	.rodata.str1.1
.LC2:
	.string	"%.16lf %.16lf\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	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
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	leaq	36(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	36(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	leaq	96(%rsp), %rax
	leaq	64(%rsp), %r15
	xorl	%ebx, %ebx
	movq	%rax, 8(%rsp)
	leaq	88(%rsp), %rax
	leaq	40(%rsp), %r12
	movq	%r15, %r8
	movq	%rax, 24(%rsp)
	leaq	80(%rsp), %rax
	leaq	72(%rsp), %r9
	movq	%r12, %r15
	movq	%rax, 16(%rsp)
	leaq	56(%rsp), %r14
	leaq	48(%rsp), %r13
	movq	%r9, %r12
	leaq	.LC1(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L3:
	subq	$8, %rsp
	.cfi_def_cfa_offset 184
	movq	%r12, %r9
	movq	%r14, %rcx
	movq	%r13, %rdx
	pushq	16(%rsp)
	.cfi_def_cfa_offset 192
	movq	%r15, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	pushq	40(%rsp)
	.cfi_def_cfa_offset 200
	addl	$1, %ebx
	pushq	40(%rsp)
	.cfi_def_cfa_offset 208
	movq	%r8, 32(%rsp)
	call	__isoc99_scanf@PLT
	movsd	88(%rsp), %xmm4
	movl	$1, %edi
	movsd	128(%rsp), %xmm9
	movsd	120(%rsp), %xmm8
	movsd	96(%rsp), %xmm11
	leaq	.LC2(%rip), %rsi
	movl	$2, %eax
	movsd	112(%rsp), %xmm2
	movapd	%xmm4, %xmm7
	movapd	%xmm9, %xmm3
	movsd	104(%rsp), %xmm0
	movsd	72(%rsp), %xmm6
	movapd	%xmm11, %xmm5
	movapd	%xmm8, %xmm1
	movsd	80(%rsp), %xmm10
	subsd	%xmm2, %xmm3
	subsd	%xmm0, %xmm1
	addq	$32, %rsp
	.cfi_def_cfa_offset 176
	subsd	%xmm6, %xmm7
	subsd	%xmm10, %xmm5
	mulsd	%xmm11, %xmm6
	mulsd	%xmm10, %xmm4
	mulsd	%xmm5, %xmm1
	mulsd	%xmm7, %xmm3
	subsd	%xmm1, %xmm3
	movapd	%xmm6, %xmm1
	movapd	%xmm2, %xmm6
	subsd	%xmm4, %xmm1
	movapd	%xmm9, %xmm4
	subsd	%xmm9, %xmm2
	mulsd	%xmm0, %xmm4
	subsd	%xmm8, %xmm0
	mulsd	%xmm8, %xmm6
	mulsd	%xmm1, %xmm2
	mulsd	%xmm1, %xmm0
	subsd	%xmm6, %xmm4
	mulsd	%xmm4, %xmm5
	mulsd	%xmm4, %xmm7
	addsd	%xmm5, %xmm2
	addsd	%xmm7, %xmm0
	divsd	%xmm3, %xmm2
	divsd	%xmm3, %xmm0
	movapd	%xmm2, %xmm1
	call	__printf_chk@PLT
	cmpl	%ebx, 36(%rsp)
	movq	(%rsp), %r8
	jg	.L3
.L2:
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L8
	addq	$120, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L8:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.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
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"%lf %lf %lf %lf %lf %lf %lf %lf"
	.section	.rodata.str1.1
.LC2:
	.string	"%.16lf %.16lf\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	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
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	leaq	36(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	36(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	leaq	96(%rsp), %rax
	leaq	64(%rsp), %r15
	xorl	%ebx, %ebx
	movq	%rax, 8(%rsp)
	leaq	88(%rsp), %rax
	leaq	40(%rsp), %r12
	movq	%r15, %r8
	movq	%rax, 24(%rsp)
	leaq	80(%rsp), %rax
	leaq	72(%rsp), %r9
	movq	%r12, %r15
	movq	%rax, 16(%rsp)
	leaq	56(%rsp), %r14
	leaq	48(%rsp), %r13
	movq	%r9, %r12
	leaq	.LC1(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L3:
	subq	$8, %rsp
	.cfi_def_cfa_offset 184
	movq	%r12, %r9
	movq	%r14, %rcx
	movq	%r13, %rdx
	pushq	16(%rsp)
	.cfi_def_cfa_offset 192
	movq	%r15, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	pushq	40(%rsp)
	.cfi_def_cfa_offset 200
	addl	$1, %ebx
	pushq	40(%rsp)
	.cfi_def_cfa_offset 208
	movq	%r8, 32(%rsp)
	call	__isoc99_scanf@PLT
	movsd	88(%rsp), %xmm4
	movl	$1, %edi
	movsd	128(%rsp), %xmm9
	movsd	120(%rsp), %xmm8
	movsd	96(%rsp), %xmm11
	leaq	.LC2(%rip), %rsi
	movl	$2, %eax
	movsd	112(%rsp), %xmm2
	movapd	%xmm4, %xmm7
	movapd	%xmm9, %xmm3
	movsd	104(%rsp), %xmm0
	movsd	72(%rsp), %xmm6
	movapd	%xmm11, %xmm5
	movapd	%xmm8, %xmm1
	movsd	80(%rsp), %xmm10
	subsd	%xmm2, %xmm3
	subsd	%xmm0, %xmm1
	addq	$32, %rsp
	.cfi_def_cfa_offset 176
	subsd	%xmm6, %xmm7
	subsd	%xmm10, %xmm5
	mulsd	%xmm11, %xmm6
	mulsd	%xmm10, %xmm4
	mulsd	%xmm5, %xmm1
	mulsd	%xmm7, %xmm3
	subsd	%xmm1, %xmm3
	movapd	%xmm6, %xmm1
	movapd	%xmm2, %xmm6
	subsd	%xmm4, %xmm1
	movapd	%xmm9, %xmm4
	subsd	%xmm9, %xmm2
	mulsd	%xmm0, %xmm4
	subsd	%xmm8, %xmm0
	mulsd	%xmm8, %xmm6
	mulsd	%xmm1, %xmm2
	mulsd	%xmm1, %xmm0
	subsd	%xmm6, %xmm4
	mulsd	%xmm4, %xmm5
	mulsd	%xmm4, %xmm7
	addsd	%xmm5, %xmm2
	addsd	%xmm7, %xmm0
	divsd	%xmm3, %xmm2
	divsd	%xmm3, %xmm0
	movapd	%xmm2, %xmm1
	call	__printf_chk@PLT
	cmpl	%ebx, 36(%rsp)
	movq	(%rsp), %r8
	jg	.L3
.L2:
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L8
	addq	$120, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L8:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.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:
```
```c
#include <stdio.h>


int main(void){
  int q;
  scanf("%d",&q);

  double x1,y1,x2,y2,x3,y3,x4,y4;
  double x,y;//直線の交点
  double det;//行列式
  for(int i=0;i<q;i++){
    scanf("%lf %lf %lf %lf %lf %lf %lf %lf",&x1,&y1,&x2,&y2,&x3,&y3,&x4,&y4);
    det=(x2-x1)*(y4-y3)-(y2-y1)*(x4-x3);
    x=((x3-x4)*(x1*y2-x2*y1)+(x2-x1)*(x3*y4-x4*y3))/det;
    y=((y3-y4)*(x1*y2-x2*y1)+(y2-y1)*(x3*y4-x4*y3))/det;
    printf("%.16lf %.16lf\n",x,y);
  }
  return 0;
}

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

```c
#include <stdio.h>


int main(void){
  int q;
  scanf("%d",&q);

  double x1,y1,x2,y2,x3,y3,x4,y4;
  double x,y;//直線の交点
  double det;//行列式
  for(int i=0;i<q;i++){
    scanf("%lf %lf %lf %lf %lf %lf %lf %lf",&x1,&y1,&x2,&y2,&x3,&y3,&x4,&y4);
    det=(x2-x1)*(y4-y3)-(y2-y1)*(x4-x3);
    x=((x3-x4)*(x1*y2-x2*y1)+(x2-x1)*(x3*y4-x4*y3))/det;
    y=((y3-y4)*(x1*y2-x2*y1)+(y2-y1)*(x3*y4-x4*y3))/det;
    printf("%.16lf %.16lf\n",x,y);
  }
  return 0;
}

```

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.
Optimized Assembly Code:

3
0 0 2 0 2 1 1 -1
0 0 1 1 0 1 1 0
0 0 1 1 1 0 0 1
 3
0 0 2 0 2 2 1 -1
0 0 1 1 0 1 1 0
0 0 1 1 1 0 0 1
 3
0 0 2 0 2 2 0 -1
0 0 1 1 0 1 1 0
0 0 1 1 1 0 0 1
 3
0 0 2 0 2 1 0 -1
0 0 1 1 0 1 1 0
0 0 1 1 1 0 0 1
 3
0 0 2 0 2 1 0 -1
0 0 1 1 0 1 1 0
0 0 1 0 1 0 0 1
 3
0 0 2 0 2 1 0 -1
0 0 1 1 0 1 2 0
0 0 1 0 1 0 0 1
 3
0 0 2 0 0 1 1 -1
0 0 1 1 0 1 1 0
0 0 1 1 1 0 0 1
 3
0 0 2 0 2 2 1 -1
0 0 1 1 0 1 1 0
0 0 1 1 2 0 0 1
 3
0 0 2 0 2 2 0 -1
0 0 2 1 0 1 1 0
0 0 1 1 1 0 0 1
 3
0 0 2 0 2 0 0 -1
0 0 1 1 0 1 1 0
0 0 1 1 1 0 0 1

1.5000000000000000 -0.0000000000000000
0.5000000000000000 0.5000000000000000
0.5000000000000000 0.5000000000000000
 1.3333333333333333 -0.0000000000000000
0.5000000000000000 0.5000000000000000
0.5000000000000000 0.5000000000000000
 0.6666666666666666 -0.0000000000000000
0.5000000000000000 0.5000000000000000
0.5000000000000000 0.5000000000000000
 1.0000000000000000 -0.0000000000000000
0.5000000000000000 0.5000000000000000
0.5000000000000000 0.5000000000000000
 1.0000000000000000 -0.0000000000000000
0.5000000000000000 0.5000000000000000
1.0000000000000000 0.0000000000000000
 1.0000000000000000 -0.0000000000000000
0.6666666666666666 0.6666666666666666
1.0000000000000000 0.0000000000000000
 0.5000000000000000 -0.0000000000000000
0.5000000000000000 0.5000000000000000
0.5000000000000000 0.5000000000000000
 1.3333333333333333 -0.0000000000000000
0.5000000000000000 0.5000000000000000
0.6666666666666666 0.6666666666666666
 0.6666666666666666 -0.0000000000000000
0.6666666666666666 0.3333333333333333
0.5000000000000000 0.5000000000000000
 2.0000000000000000 -0.0000000000000000
0.5000000000000000 0.5000000000000000
0.5000000000000000 0.5000000000000000

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

```c
#include <stdio.h>


int main(void){
  int q;
  scanf("%d",&q);

  double x1,y1,x2,y2,x3,y3,x4,y4;
  double x,y;//直線の交点
  double det;//行列式
  for(int i=0;i<q;i++){
    scanf("%lf %lf %lf %lf %lf %lf %lf %lf",&x1,&y1,&x2,&y2,&x3,&y3,&x4,&y4);
    det=(x2-x1)*(y4-y3)-(y2-y1)*(x4-x3);
    x=((x3-x4)*(x1*y2-x2*y1)+(x2-x1)*(x3*y4-x4*y3))/det;
    y=((y3-y4)*(x1*y2-x2*y1)+(y2-y1)*(x3*y4-x4*y3))/det;
    printf("%.16lf %.16lf\n",x,y);
  }
  return 0;
}

```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"%lf %lf %lf %lf %lf %lf %lf %lf"
	.section	.rodata.str1.1
.LC2:
	.string	"%.16lf %.16lf\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	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
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	leaq	36(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	36(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	leaq	96(%rsp), %rax
	leaq	64(%rsp), %r15
	xorl	%ebx, %ebx
	movq	%rax, 8(%rsp)
	leaq	88(%rsp), %rax
	leaq	40(%rsp), %r12
	movq	%r15, %r8
	movq	%rax, 24(%rsp)
	leaq	80(%rsp), %rax
	leaq	72(%rsp), %r9
	movq	%r12, %r15
	movq	%rax, 16(%rsp)
	leaq	56(%rsp), %r14
	leaq	48(%rsp), %r13
	movq	%r9, %r12
	leaq	.LC1(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L3:
	subq	$8, %rsp
	.cfi_def_cfa_offset 184
	movq	%r12, %r9
	movq	%r14, %rcx
	movq	%r13, %rdx
	pushq	16(%rsp)
	.cfi_def_cfa_offset 192
	movq	%r15, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	pushq	40(%rsp)
	.cfi_def_cfa_offset 200
	addl	$1, %ebx
	pushq	40(%rsp)
	.cfi_def_cfa_offset 208
	movq	%r8, 32(%rsp)
	call	__isoc99_scanf@PLT
	movsd	88(%rsp), %xmm4
	movl	$1, %edi
	movsd	128(%rsp), %xmm9
	movsd	120(%rsp), %xmm8
	movsd	96(%rsp), %xmm11
	leaq	.LC2(%rip), %rsi
	movl	$2, %eax
	movsd	112(%rsp), %xmm2
	movapd	%xmm4, %xmm7
	movapd	%xmm9, %xmm3
	movsd	104(%rsp), %xmm0
	movsd	72(%rsp), %xmm6
	movapd	%xmm11, %xmm5
	movapd	%xmm8, %xmm1
	movsd	80(%rsp), %xmm10
	subsd	%xmm2, %xmm3
	subsd	%xmm0, %xmm1
	addq	$32, %rsp
	.cfi_def_cfa_offset 176
	subsd	%xmm6, %xmm7
	subsd	%xmm10, %xmm5
	mulsd	%xmm11, %xmm6
	mulsd	%xmm10, %xmm4
	mulsd	%xmm5, %xmm1
	mulsd	%xmm7, %xmm3
	subsd	%xmm1, %xmm3
	movapd	%xmm6, %xmm1
	movapd	%xmm2, %xmm6
	subsd	%xmm4, %xmm1
	movapd	%xmm9, %xmm4
	subsd	%xmm9, %xmm2
	mulsd	%xmm0, %xmm4
	subsd	%xmm8, %xmm0
	mulsd	%xmm8, %xmm6
	mulsd	%xmm1, %xmm2
	mulsd	%xmm1, %xmm0
	subsd	%xmm6, %xmm4
	mulsd	%xmm4, %xmm5
	mulsd	%xmm4, %xmm7
	addsd	%xmm5, %xmm2
	addsd	%xmm7, %xmm0
	divsd	%xmm3, %xmm2
	divsd	%xmm3, %xmm0
	movapd	%xmm2, %xmm1
	call	__printf_chk@PLT
	cmpl	%ebx, 36(%rsp)
	movq	(%rsp), %r8
	jg	.L3
.L2:
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L8
	addq	$120, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L8:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.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.
Optimized Assembly Code:

train
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"%lf %lf %lf %lf %lf %lf %lf %lf"
	.section	.rodata.str1.1
.LC2:
	.string	"%.16lf %.16lf\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	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
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	leaq	36(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	36(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	leaq	96(%rsp), %rax
	leaq	64(%rsp), %r15
	xorl	%ebx, %ebx
	movq	%rax, 8(%rsp)
	leaq	88(%rsp), %rax
	leaq	40(%rsp), %r12
	movq	%r15, %r8
	movq	%rax, 24(%rsp)
	leaq	80(%rsp), %rax
	leaq	72(%rsp), %r9
	movq	%r12, %r15
	movq	%rax, 16(%rsp)
	leaq	56(%rsp), %r14
	leaq	48(%rsp), %r13
	movq	%r9, %r12
	leaq	.LC1(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L3:
	subq	$8, %rsp
	.cfi_def_cfa_offset 184
	movq	%r12, %r9
	movq	%r14, %rcx
	movq	%r13, %rdx
	pushq	16(%rsp)
	.cfi_def_cfa_offset 192
	movq	%r15, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	pushq	40(%rsp)
	.cfi_def_cfa_offset 200
	addl	$1, %ebx
	pushq	40(%rsp)
	.cfi_def_cfa_offset 208
	movq	%r8, 32(%rsp)
	call	__isoc99_scanf@PLT
	movsd	88(%rsp), %xmm4
	movl	$1, %edi
	movsd	128(%rsp), %xmm9
	movsd	120(%rsp), %xmm8
	movsd	96(%rsp), %xmm11
	leaq	.LC2(%rip), %rsi
	movl	$2, %eax
	movsd	112(%rsp), %xmm2
	movapd	%xmm4, %xmm7
	movapd	%xmm9, %xmm3
	movsd	104(%rsp), %xmm0
	movsd	72(%rsp), %xmm6
	movapd	%xmm11, %xmm5
	movapd	%xmm8, %xmm1
	movsd	80(%rsp), %xmm10
	subsd	%xmm2, %xmm3
	subsd	%xmm0, %xmm1
	addq	$32, %rsp
	.cfi_def_cfa_offset 176
	subsd	%xmm6, %xmm7
	subsd	%xmm10, %xmm5
	mulsd	%xmm11, %xmm6
	mulsd	%xmm10, %xmm4
	mulsd	%xmm5, %xmm1
	mulsd	%xmm7, %xmm3
	subsd	%xmm1, %xmm3
	movapd	%xmm6, %xmm1
	movapd	%xmm2, %xmm6
	subsd	%xmm4, %xmm1
	movapd	%xmm9, %xmm4
	subsd	%xmm9, %xmm2
	mulsd	%xmm0, %xmm4
	subsd	%xmm8, %xmm0
	mulsd	%xmm8, %xmm6
	mulsd	%xmm1, %xmm2
	mulsd	%xmm1, %xmm0
	subsd	%xmm6, %xmm4
	mulsd	%xmm4, %xmm5
	mulsd	%xmm4, %xmm7
	addsd	%xmm5, %xmm2
	addsd	%xmm7, %xmm0
	divsd	%xmm3, %xmm2
	divsd	%xmm3, %xmm0
	movapd	%xmm2, %xmm1
	call	__printf_chk@PLT
	cmpl	%ebx, 36(%rsp)
	movq	(%rsp), %r8
	jg	.L3
.L2:
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L8
	addq	$120, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L8:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.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:
```