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(){
    int n,ax,ay,bx,by,cx,cy,dx,dy;
    double x,y,t;
    scanf("%d",&n);
    while(n--){
        scanf("%d%d%d%d%d%d%d%d",&ax,&ay,&bx,&by,&cx,&cy,&dx,&dy);
        t=(double)((cx-ax)*(dy-cy)-(cy-ay)*(dx-cx))/(double)((bx-ax)*(dy-cy)-(by-ay)*(dx-cx));
        x=ax+t*(bx-ax);
        y=ay+t*(by-ay);
        printf("%.10f %.10f\n",x,y);
    }
    return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d%d%d%d%d%d%d%d"
.LC2:
	.string	"%.10f %.10f\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	$88, %rsp
	.cfi_def_cfa_offset 144
	movq	%fs:40, %rax
	movq	%rax, 72(%rsp)
	xorl	%eax, %eax
	leaq	36(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	36(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 36(%rsp)
	testl	%eax, %eax
	je	.L2
	leaq	68(%rsp), %rax
	leaq	52(%rsp), %r12
	movq	%rax, 24(%rsp)
	leaq	64(%rsp), %rax
	leaq	56(%rsp), %r9
	movq	%r12, %r8
	movq	%rax, 16(%rsp)
	leaq	60(%rsp), %rax
	leaq	48(%rsp), %r15
	movq	%r9, %r12
	movq	%rax, 8(%rsp)
	leaq	44(%rsp), %r14
	leaq	40(%rsp), %r13
	leaq	.LC1(%rip), %rbp
	leaq	.LC2(%rip), %rbx
	.p2align 4,,10
	.p2align 3
.L3:
	subq	$8, %rsp
	.cfi_def_cfa_offset 152
	movq	%r12, %r9
	movq	%r15, %rcx
	movq	%r14, %rdx
	pushq	32(%rsp)
	.cfi_def_cfa_offset 160
	movq	%r13, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	pushq	32(%rsp)
	.cfi_def_cfa_offset 168
	pushq	32(%rsp)
	.cfi_def_cfa_offset 176
	movq	%r8, 32(%rsp)
	call	__isoc99_scanf@PLT
	movl	88(%rsp), %edx
	movl	92(%rsp), %r10d
	pxor	%xmm2, %xmm2
	movl	100(%rsp), %eax
	movl	96(%rsp), %ecx
	pxor	%xmm0, %xmm0
	pxor	%xmm1, %xmm1
	movl	80(%rsp), %esi
	movl	84(%rsp), %edi
	pxor	%xmm3, %xmm3
	subl	72(%rsp), %esi
	subl	76(%rsp), %edi
	subl	%r10d, %eax
	subl	%edx, %ecx
	subl	76(%rsp), %r10d
	cvtsi2sdl	%edi, %xmm1
	subl	72(%rsp), %edx
	addq	$32, %rsp
	.cfi_def_cfa_offset 144
	imull	%ecx, %r10d
	imull	%eax, %edx
	imull	%edi, %ecx
	movl	$1, %edi
	imull	%esi, %eax
	subl	%r10d, %edx
	cvtsi2sdl	44(%rsp), %xmm3
	cvtsi2sdl	%edx, %xmm2
	subl	%ecx, %eax
	cvtsi2sdl	%eax, %xmm0
	movl	$2, %eax
	divsd	%xmm0, %xmm2
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%esi, %xmm0
	movq	%rbx, %rsi
	mulsd	%xmm2, %xmm1
	mulsd	%xmm2, %xmm0
	pxor	%xmm2, %xmm2
	cvtsi2sdl	40(%rsp), %xmm2
	addsd	%xmm3, %xmm1
	addsd	%xmm2, %xmm0
	call	__printf_chk@PLT
	movl	36(%rsp), %eax
	movq	(%rsp), %r8
	leal	-1(%rax), %edx
	testl	%eax, %eax
	movl	%edx, 36(%rsp)
	jne	.L3
.L2:
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L11
	addq	$88, %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
.L11:
	.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"
.LC1:
	.string	"%d%d%d%d%d%d%d%d"
.LC2:
	.string	"%.10f %.10f\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	$88, %rsp
	.cfi_def_cfa_offset 144
	movq	%fs:40, %rax
	movq	%rax, 72(%rsp)
	xorl	%eax, %eax
	leaq	36(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	36(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 36(%rsp)
	testl	%eax, %eax
	je	.L2
	leaq	68(%rsp), %rax
	leaq	52(%rsp), %r12
	movq	%rax, 24(%rsp)
	leaq	64(%rsp), %rax
	leaq	56(%rsp), %r9
	movq	%r12, %r8
	movq	%rax, 16(%rsp)
	leaq	60(%rsp), %rax
	leaq	48(%rsp), %r15
	movq	%r9, %r12
	movq	%rax, 8(%rsp)
	leaq	44(%rsp), %r14
	leaq	40(%rsp), %r13
	leaq	.LC1(%rip), %rbp
	leaq	.LC2(%rip), %rbx
	.p2align 4,,10
	.p2align 3
.L3:
	subq	$8, %rsp
	.cfi_def_cfa_offset 152
	movq	%r12, %r9
	movq	%r15, %rcx
	movq	%r14, %rdx
	pushq	32(%rsp)
	.cfi_def_cfa_offset 160
	movq	%r13, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	pushq	32(%rsp)
	.cfi_def_cfa_offset 168
	pushq	32(%rsp)
	.cfi_def_cfa_offset 176
	movq	%r8, 32(%rsp)
	call	__isoc99_scanf@PLT
	movl	88(%rsp), %edx
	movl	92(%rsp), %r10d
	pxor	%xmm2, %xmm2
	movl	100(%rsp), %eax
	movl	96(%rsp), %ecx
	pxor	%xmm0, %xmm0
	pxor	%xmm1, %xmm1
	movl	80(%rsp), %esi
	movl	84(%rsp), %edi
	pxor	%xmm3, %xmm3
	subl	72(%rsp), %esi
	subl	76(%rsp), %edi
	subl	%r10d, %eax
	subl	%edx, %ecx
	subl	76(%rsp), %r10d
	cvtsi2sdl	%edi, %xmm1
	subl	72(%rsp), %edx
	addq	$32, %rsp
	.cfi_def_cfa_offset 144
	imull	%ecx, %r10d
	imull	%eax, %edx
	imull	%edi, %ecx
	movl	$1, %edi
	imull	%esi, %eax
	subl	%r10d, %edx
	cvtsi2sdl	44(%rsp), %xmm3
	cvtsi2sdl	%edx, %xmm2
	subl	%ecx, %eax
	cvtsi2sdl	%eax, %xmm0
	movl	$2, %eax
	divsd	%xmm0, %xmm2
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%esi, %xmm0
	movq	%rbx, %rsi
	mulsd	%xmm2, %xmm1
	mulsd	%xmm2, %xmm0
	pxor	%xmm2, %xmm2
	cvtsi2sdl	40(%rsp), %xmm2
	addsd	%xmm3, %xmm1
	addsd	%xmm2, %xmm0
	call	__printf_chk@PLT
	movl	36(%rsp), %eax
	movq	(%rsp), %r8
	leal	-1(%rax), %edx
	testl	%eax, %eax
	movl	%edx, 36(%rsp)
	jne	.L3
.L2:
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L11
	addq	$88, %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
.L11:
	.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"
.LC1:
	.string	"%d%d%d%d%d%d%d%d"
.LC2:
	.string	"%.10f %.10f\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	$88, %rsp
	.cfi_def_cfa_offset 144
	movq	%fs:40, %rax
	movq	%rax, 72(%rsp)
	xorl	%eax, %eax
	leaq	36(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	36(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 36(%rsp)
	testl	%eax, %eax
	je	.L2
	leaq	68(%rsp), %rax
	leaq	52(%rsp), %r12
	movq	%rax, 24(%rsp)
	leaq	64(%rsp), %rax
	leaq	56(%rsp), %r9
	movq	%r12, %r8
	movq	%rax, 16(%rsp)
	leaq	60(%rsp), %rax
	leaq	48(%rsp), %r15
	movq	%r9, %r12
	movq	%rax, 8(%rsp)
	leaq	44(%rsp), %r14
	leaq	40(%rsp), %r13
	leaq	.LC1(%rip), %rbp
	leaq	.LC2(%rip), %rbx
	.p2align 4,,10
	.p2align 3
.L3:
	subq	$8, %rsp
	.cfi_def_cfa_offset 152
	movq	%r12, %r9
	movq	%r15, %rcx
	movq	%r14, %rdx
	pushq	32(%rsp)
	.cfi_def_cfa_offset 160
	movq	%r13, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	pushq	32(%rsp)
	.cfi_def_cfa_offset 168
	pushq	32(%rsp)
	.cfi_def_cfa_offset 176
	movq	%r8, 32(%rsp)
	call	__isoc99_scanf@PLT
	movl	88(%rsp), %edx
	movl	92(%rsp), %r10d
	pxor	%xmm2, %xmm2
	movl	100(%rsp), %eax
	movl	96(%rsp), %ecx
	pxor	%xmm0, %xmm0
	pxor	%xmm1, %xmm1
	movl	80(%rsp), %esi
	movl	84(%rsp), %edi
	pxor	%xmm3, %xmm3
	subl	72(%rsp), %esi
	subl	76(%rsp), %edi
	subl	%r10d, %eax
	subl	%edx, %ecx
	subl	76(%rsp), %r10d
	cvtsi2sdl	%edi, %xmm1
	subl	72(%rsp), %edx
	addq	$32, %rsp
	.cfi_def_cfa_offset 144
	imull	%ecx, %r10d
	imull	%eax, %edx
	imull	%edi, %ecx
	movl	$1, %edi
	imull	%esi, %eax
	subl	%r10d, %edx
	cvtsi2sdl	44(%rsp), %xmm3
	cvtsi2sdl	%edx, %xmm2
	subl	%ecx, %eax
	cvtsi2sdl	%eax, %xmm0
	movl	$2, %eax
	divsd	%xmm0, %xmm2
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%esi, %xmm0
	movq	%rbx, %rsi
	mulsd	%xmm2, %xmm1
	mulsd	%xmm2, %xmm0
	pxor	%xmm2, %xmm2
	cvtsi2sdl	40(%rsp), %xmm2
	addsd	%xmm3, %xmm1
	addsd	%xmm2, %xmm0
	call	__printf_chk@PLT
	movl	36(%rsp), %eax
	movq	(%rsp), %r8
	leal	-1(%rax), %edx
	testl	%eax, %eax
	movl	%edx, 36(%rsp)
	jne	.L3
.L2:
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L11
	addq	$88, %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
.L11:
	.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(){
    int n,ax,ay,bx,by,cx,cy,dx,dy;
    double x,y,t;
    scanf("%d",&n);
    while(n--){
        scanf("%d%d%d%d%d%d%d%d",&ax,&ay,&bx,&by,&cx,&cy,&dx,&dy);
        t=(double)((cx-ax)*(dy-cy)-(cy-ay)*(dx-cx))/(double)((bx-ax)*(dy-cy)-(by-ay)*(dx-cx));
        x=ax+t*(bx-ax);
        y=ay+t*(by-ay);
        printf("%.10f %.10f\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(){
    int n,ax,ay,bx,by,cx,cy,dx,dy;
    double x,y,t;
    scanf("%d",&n);
    while(n--){
        scanf("%d%d%d%d%d%d%d%d",&ax,&ay,&bx,&by,&cx,&cy,&dx,&dy);
        t=(double)((cx-ax)*(dy-cy)-(cy-ay)*(dx-cx))/(double)((bx-ax)*(dy-cy)-(by-ay)*(dx-cx));
        x=ax+t*(bx-ax);
        y=ay+t*(by-ay);
        printf("%.10f %.10f\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.5000000000 0.0000000000
0.5000000000 0.5000000000
0.5000000000 0.5000000000
 1.3333333333 0.0000000000
0.5000000000 0.5000000000
0.5000000000 0.5000000000
 0.6666666667 0.0000000000
0.5000000000 0.5000000000
0.5000000000 0.5000000000
 1.0000000000 0.0000000000
0.5000000000 0.5000000000
0.5000000000 0.5000000000
 1.0000000000 0.0000000000
0.5000000000 0.5000000000
1.0000000000 0.0000000000
 1.0000000000 0.0000000000
0.6666666667 0.6666666667
1.0000000000 0.0000000000
 0.5000000000 0.0000000000
0.5000000000 0.5000000000
0.5000000000 0.5000000000
 1.3333333333 0.0000000000
0.5000000000 0.5000000000
0.6666666667 0.6666666667
 0.6666666667 0.0000000000
0.6666666667 0.3333333333
0.5000000000 0.5000000000
 2.0000000000 0.0000000000
0.5000000000 0.5000000000
0.5000000000 0.5000000000

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(){
    int n,ax,ay,bx,by,cx,cy,dx,dy;
    double x,y,t;
    scanf("%d",&n);
    while(n--){
        scanf("%d%d%d%d%d%d%d%d",&ax,&ay,&bx,&by,&cx,&cy,&dx,&dy);
        t=(double)((cx-ax)*(dy-cy)-(cy-ay)*(dx-cx))/(double)((bx-ax)*(dy-cy)-(by-ay)*(dx-cx));
        x=ax+t*(bx-ax);
        y=ay+t*(by-ay);
        printf("%.10f %.10f\n",x,y);
    }
    return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d%d%d%d%d%d%d%d"
.LC2:
	.string	"%.10f %.10f\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	$88, %rsp
	.cfi_def_cfa_offset 144
	movq	%fs:40, %rax
	movq	%rax, 72(%rsp)
	xorl	%eax, %eax
	leaq	36(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	36(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 36(%rsp)
	testl	%eax, %eax
	je	.L2
	leaq	68(%rsp), %rax
	leaq	52(%rsp), %r12
	movq	%rax, 24(%rsp)
	leaq	64(%rsp), %rax
	leaq	56(%rsp), %r9
	movq	%r12, %r8
	movq	%rax, 16(%rsp)
	leaq	60(%rsp), %rax
	leaq	48(%rsp), %r15
	movq	%r9, %r12
	movq	%rax, 8(%rsp)
	leaq	44(%rsp), %r14
	leaq	40(%rsp), %r13
	leaq	.LC1(%rip), %rbp
	leaq	.LC2(%rip), %rbx
	.p2align 4,,10
	.p2align 3
.L3:
	subq	$8, %rsp
	.cfi_def_cfa_offset 152
	movq	%r12, %r9
	movq	%r15, %rcx
	movq	%r14, %rdx
	pushq	32(%rsp)
	.cfi_def_cfa_offset 160
	movq	%r13, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	pushq	32(%rsp)
	.cfi_def_cfa_offset 168
	pushq	32(%rsp)
	.cfi_def_cfa_offset 176
	movq	%r8, 32(%rsp)
	call	__isoc99_scanf@PLT
	movl	88(%rsp), %edx
	movl	92(%rsp), %r10d
	pxor	%xmm2, %xmm2
	movl	100(%rsp), %eax
	movl	96(%rsp), %ecx
	pxor	%xmm0, %xmm0
	pxor	%xmm1, %xmm1
	movl	80(%rsp), %esi
	movl	84(%rsp), %edi
	pxor	%xmm3, %xmm3
	subl	72(%rsp), %esi
	subl	76(%rsp), %edi
	subl	%r10d, %eax
	subl	%edx, %ecx
	subl	76(%rsp), %r10d
	cvtsi2sdl	%edi, %xmm1
	subl	72(%rsp), %edx
	addq	$32, %rsp
	.cfi_def_cfa_offset 144
	imull	%ecx, %r10d
	imull	%eax, %edx
	imull	%edi, %ecx
	movl	$1, %edi
	imull	%esi, %eax
	subl	%r10d, %edx
	cvtsi2sdl	44(%rsp), %xmm3
	cvtsi2sdl	%edx, %xmm2
	subl	%ecx, %eax
	cvtsi2sdl	%eax, %xmm0
	movl	$2, %eax
	divsd	%xmm0, %xmm2
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%esi, %xmm0
	movq	%rbx, %rsi
	mulsd	%xmm2, %xmm1
	mulsd	%xmm2, %xmm0
	pxor	%xmm2, %xmm2
	cvtsi2sdl	40(%rsp), %xmm2
	addsd	%xmm3, %xmm1
	addsd	%xmm2, %xmm0
	call	__printf_chk@PLT
	movl	36(%rsp), %eax
	movq	(%rsp), %r8
	leal	-1(%rax), %edx
	testl	%eax, %eax
	movl	%edx, 36(%rsp)
	jne	.L3
.L2:
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L11
	addq	$88, %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
.L11:
	.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"
.LC1:
	.string	"%d%d%d%d%d%d%d%d"
.LC2:
	.string	"%.10f %.10f\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	$88, %rsp
	.cfi_def_cfa_offset 144
	movq	%fs:40, %rax
	movq	%rax, 72(%rsp)
	xorl	%eax, %eax
	leaq	36(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	36(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 36(%rsp)
	testl	%eax, %eax
	je	.L2
	leaq	68(%rsp), %rax
	leaq	52(%rsp), %r12
	movq	%rax, 24(%rsp)
	leaq	64(%rsp), %rax
	leaq	56(%rsp), %r9
	movq	%r12, %r8
	movq	%rax, 16(%rsp)
	leaq	60(%rsp), %rax
	leaq	48(%rsp), %r15
	movq	%r9, %r12
	movq	%rax, 8(%rsp)
	leaq	44(%rsp), %r14
	leaq	40(%rsp), %r13
	leaq	.LC1(%rip), %rbp
	leaq	.LC2(%rip), %rbx
	.p2align 4,,10
	.p2align 3
.L3:
	subq	$8, %rsp
	.cfi_def_cfa_offset 152
	movq	%r12, %r9
	movq	%r15, %rcx
	movq	%r14, %rdx
	pushq	32(%rsp)
	.cfi_def_cfa_offset 160
	movq	%r13, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	pushq	32(%rsp)
	.cfi_def_cfa_offset 168
	pushq	32(%rsp)
	.cfi_def_cfa_offset 176
	movq	%r8, 32(%rsp)
	call	__isoc99_scanf@PLT
	movl	88(%rsp), %edx
	movl	92(%rsp), %r10d
	pxor	%xmm2, %xmm2
	movl	100(%rsp), %eax
	movl	96(%rsp), %ecx
	pxor	%xmm0, %xmm0
	pxor	%xmm1, %xmm1
	movl	80(%rsp), %esi
	movl	84(%rsp), %edi
	pxor	%xmm3, %xmm3
	subl	72(%rsp), %esi
	subl	76(%rsp), %edi
	subl	%r10d, %eax
	subl	%edx, %ecx
	subl	76(%rsp), %r10d
	cvtsi2sdl	%edi, %xmm1
	subl	72(%rsp), %edx
	addq	$32, %rsp
	.cfi_def_cfa_offset 144
	imull	%ecx, %r10d
	imull	%eax, %edx
	imull	%edi, %ecx
	movl	$1, %edi
	imull	%esi, %eax
	subl	%r10d, %edx
	cvtsi2sdl	44(%rsp), %xmm3
	cvtsi2sdl	%edx, %xmm2
	subl	%ecx, %eax
	cvtsi2sdl	%eax, %xmm0
	movl	$2, %eax
	divsd	%xmm0, %xmm2
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%esi, %xmm0
	movq	%rbx, %rsi
	mulsd	%xmm2, %xmm1
	mulsd	%xmm2, %xmm0
	pxor	%xmm2, %xmm2
	cvtsi2sdl	40(%rsp), %xmm2
	addsd	%xmm3, %xmm1
	addsd	%xmm2, %xmm0
	call	__printf_chk@PLT
	movl	36(%rsp), %eax
	movq	(%rsp), %r8
	leal	-1(%rax), %edx
	testl	%eax, %eax
	movl	%edx, 36(%rsp)
	jne	.L3
.L2:
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L11
	addq	$88, %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
.L11:
	.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:
```