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>
#include<stdlib.h>
#include<math.h>

typedef long long int int64;

#define MAX(a,b) ((a)>(b)?(a):(b))
#define MIN(a,b) ((a)<(b)?(a):(b))
#define ABS(a) ((a)>(0)?(a):-(a))

void run(void){
  int a,b,c,d;
  scanf("%d%d%d%d",&a,&b,&c,&d);
  int p=c-a;
  int q=d-b;
  double norm=p*p+q*q;
  int query;
  scanf("%d",&query);
  while(query--){
    int x,y;
    scanf("%d%d",&x,&y);
    x-=a;
    y-=b;
    double innerNorm=p*x+q*y;
    double xx=p*innerNorm/norm;
    double yy=q*innerNorm/norm;
    double ansX=a-x+2*xx;
    double ansY=b-y+2*yy;
    printf("%.9lf %.9lf\n",ansX,ansY);
  }
}

int main(void){
  run();
  return 0;
}

```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d%d%d"
.LC1:
	.string	"%d"
.LC2:
	.string	"%d%d"
.LC3:
	.string	"%.9lf %.9lf\n"
	.text
	.p2align 4
	.globl	run
	.type	run, @function
run:
.LFB39:
	.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	52(%rsp), %rcx
	leaq	48(%rsp), %rdx
	leaq	44(%rsp), %rsi
	leaq	56(%rsp), %r8
	call	__isoc99_scanf@PLT
	movl	52(%rsp), %ebx
	movl	56(%rsp), %ebp
	pxor	%xmm6, %xmm6
	subl	44(%rsp), %ebx
	subl	48(%rsp), %ebp
	leaq	60(%rsp), %rsi
	movl	%ebx, %eax
	movl	%ebp, %edx
	leaq	.LC1(%rip), %rdi
	imull	%ebp, %edx
	imull	%ebx, %eax
	addl	%edx, %eax
	cvtsi2sdl	%eax, %xmm6
	xorl	%eax, %eax
	movsd	%xmm6, 8(%rsp)
	call	__isoc99_scanf@PLT
	movl	60(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 60(%rsp)
	testl	%eax, %eax
	je	.L1
	pxor	%xmm7, %xmm7
	leaq	68(%rsp), %r15
	leaq	64(%rsp), %r14
	cvtsi2sdl	%ebp, %xmm7
	leaq	.LC2(%rip), %r13
	leaq	.LC3(%rip), %r12
	movsd	%xmm7, 24(%rsp)
	pxor	%xmm7, %xmm7
	cvtsi2sdl	%ebx, %xmm7
	movsd	%xmm7, 16(%rsp)
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r15, %rdx
	movq	%r14, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	44(%rsp), %ecx
	movl	64(%rsp), %eax
	pxor	%xmm0, %xmm0
	movl	48(%rsp), %esi
	movl	68(%rsp), %edx
	pxor	%xmm2, %xmm2
	pxor	%xmm3, %xmm3
	subl	%ecx, %eax
	movsd	24(%rsp), %xmm1
	movsd	8(%rsp), %xmm4
	subl	%esi, %edx
	movl	%eax, %edi
	subl	%eax, %ecx
	movl	%eax, 64(%rsp)
	movl	%edx, %r8d
	imull	%ebx, %edi
	subl	%edx, %esi
	movl	$2, %eax
	imull	%ebp, %r8d
	movl	%edx, 68(%rsp)
	cvtsi2sdl	%esi, %xmm2
	movq	%r12, %rsi
	cvtsi2sdl	%ecx, %xmm3
	addl	%r8d, %edi
	cvtsi2sdl	%edi, %xmm0
	movl	$1, %edi
	mulsd	%xmm0, %xmm1
	mulsd	16(%rsp), %xmm0
	divsd	%xmm4, %xmm1
	divsd	%xmm4, %xmm0
	addsd	%xmm1, %xmm1
	addsd	%xmm2, %xmm1
	addsd	%xmm0, %xmm0
	addsd	%xmm3, %xmm0
	call	__printf_chk@PLT
	movl	60(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 60(%rsp)
	testl	%eax, %eax
	jne	.L3
.L1:
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L11
	addq	$88, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.LFE39:
	.size	run, .-run
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	subq	$8, %rsp
	.cfi_def_cfa_offset 16
	call	run
	xorl	%eax, %eax
	addq	$8, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE40:
	.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%d%d%d"
.LC1:
	.string	"%d"
.LC2:
	.string	"%d%d"
.LC3:
	.string	"%.9lf %.9lf\n"
	.text
	.p2align 4
	.globl	run
	.type	run, @function
run:
.LFB39:
	.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	52(%rsp), %rcx
	leaq	48(%rsp), %rdx
	leaq	44(%rsp), %rsi
	leaq	56(%rsp), %r8
	call	__isoc99_scanf@PLT
	movl	52(%rsp), %ebx
	movl	56(%rsp), %ebp
	pxor	%xmm6, %xmm6
	subl	44(%rsp), %ebx
	subl	48(%rsp), %ebp
	leaq	60(%rsp), %rsi
	movl	%ebx, %eax
	movl	%ebp, %edx
	leaq	.LC1(%rip), %rdi
	imull	%ebp, %edx
	imull	%ebx, %eax
	addl	%edx, %eax
	cvtsi2sdl	%eax, %xmm6
	xorl	%eax, %eax
	movsd	%xmm6, 8(%rsp)
	call	__isoc99_scanf@PLT
	movl	60(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 60(%rsp)
	testl	%eax, %eax
	je	.L1
	pxor	%xmm7, %xmm7
	leaq	68(%rsp), %r15
	leaq	64(%rsp), %r14
	cvtsi2sdl	%ebp, %xmm7
	leaq	.LC2(%rip), %r13
	leaq	.LC3(%rip), %r12
	movsd	%xmm7, 24(%rsp)
	pxor	%xmm7, %xmm7
	cvtsi2sdl	%ebx, %xmm7
	movsd	%xmm7, 16(%rsp)
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r15, %rdx
	movq	%r14, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	44(%rsp), %ecx
	movl	64(%rsp), %eax
	pxor	%xmm0, %xmm0
	movl	48(%rsp), %esi
	movl	68(%rsp), %edx
	pxor	%xmm2, %xmm2
	pxor	%xmm3, %xmm3
	subl	%ecx, %eax
	movsd	24(%rsp), %xmm1
	movsd	8(%rsp), %xmm4
	subl	%esi, %edx
	movl	%eax, %edi
	subl	%eax, %ecx
	movl	%eax, 64(%rsp)
	movl	%edx, %r8d
	imull	%ebx, %edi
	subl	%edx, %esi
	movl	$2, %eax
	imull	%ebp, %r8d
	movl	%edx, 68(%rsp)
	cvtsi2sdl	%esi, %xmm2
	movq	%r12, %rsi
	cvtsi2sdl	%ecx, %xmm3
	addl	%r8d, %edi
	cvtsi2sdl	%edi, %xmm0
	movl	$1, %edi
	mulsd	%xmm0, %xmm1
	mulsd	16(%rsp), %xmm0
	divsd	%xmm4, %xmm1
	divsd	%xmm4, %xmm0
	addsd	%xmm1, %xmm1
	addsd	%xmm2, %xmm1
	addsd	%xmm0, %xmm0
	addsd	%xmm3, %xmm0
	call	__printf_chk@PLT
	movl	60(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 60(%rsp)
	testl	%eax, %eax
	jne	.L3
.L1:
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L11
	addq	$88, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.LFE39:
	.size	run, .-run
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	subq	$8, %rsp
	.cfi_def_cfa_offset 16
	call	run
	xorl	%eax, %eax
	addq	$8, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE40:
	.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%d%d%d"
.LC1:
	.string	"%d"
.LC2:
	.string	"%d%d"
.LC3:
	.string	"%.9lf %.9lf\n"
	.text
	.p2align 4
	.globl	run
	.type	run, @function
run:
.LFB39:
	.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	52(%rsp), %rcx
	leaq	48(%rsp), %rdx
	leaq	44(%rsp), %rsi
	leaq	56(%rsp), %r8
	call	__isoc99_scanf@PLT
	movl	52(%rsp), %ebx
	movl	56(%rsp), %ebp
	pxor	%xmm6, %xmm6
	subl	44(%rsp), %ebx
	subl	48(%rsp), %ebp
	leaq	60(%rsp), %rsi
	movl	%ebx, %eax
	movl	%ebp, %edx
	leaq	.LC1(%rip), %rdi
	imull	%ebp, %edx
	imull	%ebx, %eax
	addl	%edx, %eax
	cvtsi2sdl	%eax, %xmm6
	xorl	%eax, %eax
	movsd	%xmm6, 8(%rsp)
	call	__isoc99_scanf@PLT
	movl	60(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 60(%rsp)
	testl	%eax, %eax
	je	.L1
	pxor	%xmm7, %xmm7
	leaq	68(%rsp), %r15
	leaq	64(%rsp), %r14
	cvtsi2sdl	%ebp, %xmm7
	leaq	.LC2(%rip), %r13
	leaq	.LC3(%rip), %r12
	movsd	%xmm7, 24(%rsp)
	pxor	%xmm7, %xmm7
	cvtsi2sdl	%ebx, %xmm7
	movsd	%xmm7, 16(%rsp)
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r15, %rdx
	movq	%r14, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	44(%rsp), %ecx
	movl	64(%rsp), %eax
	pxor	%xmm0, %xmm0
	movl	48(%rsp), %esi
	movl	68(%rsp), %edx
	pxor	%xmm2, %xmm2
	pxor	%xmm3, %xmm3
	subl	%ecx, %eax
	movsd	24(%rsp), %xmm1
	movsd	8(%rsp), %xmm4
	subl	%esi, %edx
	movl	%eax, %edi
	subl	%eax, %ecx
	movl	%eax, 64(%rsp)
	movl	%edx, %r8d
	imull	%ebx, %edi
	subl	%edx, %esi
	movl	$2, %eax
	imull	%ebp, %r8d
	movl	%edx, 68(%rsp)
	cvtsi2sdl	%esi, %xmm2
	movq	%r12, %rsi
	cvtsi2sdl	%ecx, %xmm3
	addl	%r8d, %edi
	cvtsi2sdl	%edi, %xmm0
	movl	$1, %edi
	mulsd	%xmm0, %xmm1
	mulsd	16(%rsp), %xmm0
	divsd	%xmm4, %xmm1
	divsd	%xmm4, %xmm0
	addsd	%xmm1, %xmm1
	addsd	%xmm2, %xmm1
	addsd	%xmm0, %xmm0
	addsd	%xmm3, %xmm0
	call	__printf_chk@PLT
	movl	60(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 60(%rsp)
	testl	%eax, %eax
	jne	.L3
.L1:
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L11
	addq	$88, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.LFE39:
	.size	run, .-run
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	subq	$8, %rsp
	.cfi_def_cfa_offset 16
	call	run
	xorl	%eax, %eax
	addq	$8, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE40:
	.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>
#include<stdlib.h>
#include<math.h>

typedef long long int int64;

#define MAX(a,b) ((a)>(b)?(a):(b))
#define MIN(a,b) ((a)<(b)?(a):(b))
#define ABS(a) ((a)>(0)?(a):-(a))

void run(void){
  int a,b,c,d;
  scanf("%d%d%d%d",&a,&b,&c,&d);
  int p=c-a;
  int q=d-b;
  double norm=p*p+q*q;
  int query;
  scanf("%d",&query);
  while(query--){
    int x,y;
    scanf("%d%d",&x,&y);
    x-=a;
    y-=b;
    double innerNorm=p*x+q*y;
    double xx=p*innerNorm/norm;
    double yy=q*innerNorm/norm;
    double ansX=a-x+2*xx;
    double ansY=b-y+2*yy;
    printf("%.9lf %.9lf\n",ansX,ansY);
  }
}

int main(void){
  run();
  return 0;
}

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

```c
#include<stdio.h>
#include<stdlib.h>
#include<math.h>

typedef long long int int64;

#define MAX(a,b) ((a)>(b)?(a):(b))
#define MIN(a,b) ((a)<(b)?(a):(b))
#define ABS(a) ((a)>(0)?(a):-(a))

void run(void){
  int a,b,c,d;
  scanf("%d%d%d%d",&a,&b,&c,&d);
  int p=c-a;
  int q=d-b;
  double norm=p*p+q*q;
  int query;
  scanf("%d",&query);
  while(query--){
    int x,y;
    scanf("%d%d",&x,&y);
    x-=a;
    y-=b;
    double innerNorm=p*x+q*y;
    double xx=p*innerNorm/norm;
    double yy=q*innerNorm/norm;
    double ansX=a-x+2*xx;
    double ansY=b-y+2*yy;
    printf("%.9lf %.9lf\n",ansX,ansY);
  }
}

int main(void){
  run();
  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:

0 0 3 7
3
2 5
1 4
0 3
 0 0 1 0
3
-1 1
0 1
1 1
 0 0 3 7
3
2 5
2 4
0 3
 0 1 3 7
3
2 5
2 4
0 3
 0 1 3 7
3
1 5
2 4
0 3
 0 1 3 7
3
1 5
4 4
0 3
 0 0 3 7
3
1 5
4 4
0 3
 1 0 3 7
3
1 5
4 4
0 3
 1 0 3 7
3
1 4
4 4
0 3
 1 0 3 7
3
1 4
4 4
-1 3

2.241379310 4.896551724
2.206896552 3.482758621
2.172413793 2.068965517
 -1.000000000 -1.000000000
0.000000000 -1.000000000
1.000000000 -1.000000000
 2.241379310 4.896551724
1.517241379 4.206896552
2.172413793 2.068965517
 2.000000000 5.000000000
1.200000000 4.400000000
1.600000000 2.200000000
 2.600000000 4.200000000
1.200000000 4.400000000
1.600000000 2.200000000
 2.600000000 4.200000000
0.000000000 6.000000000
1.600000000 2.200000000
 2.931034483 4.172413793
0.137931034 5.655172414
2.172413793 2.068965517
 3.641509434 4.245283019
0.566037736 4.981132075
3.433962264 2.018867925
 3.113207547 3.396226415
0.566037736 4.981132075
3.433962264 2.018867925
 3.113207547 3.396226415
0.566037736 4.981132075
4.283018868 1.490566038

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>
#include<stdlib.h>
#include<math.h>

typedef long long int int64;

#define MAX(a,b) ((a)>(b)?(a):(b))
#define MIN(a,b) ((a)<(b)?(a):(b))
#define ABS(a) ((a)>(0)?(a):-(a))

void run(void){
  int a,b,c,d;
  scanf("%d%d%d%d",&a,&b,&c,&d);
  int p=c-a;
  int q=d-b;
  double norm=p*p+q*q;
  int query;
  scanf("%d",&query);
  while(query--){
    int x,y;
    scanf("%d%d",&x,&y);
    x-=a;
    y-=b;
    double innerNorm=p*x+q*y;
    double xx=p*innerNorm/norm;
    double yy=q*innerNorm/norm;
    double ansX=a-x+2*xx;
    double ansY=b-y+2*yy;
    printf("%.9lf %.9lf\n",ansX,ansY);
  }
}

int main(void){
  run();
  return 0;
}

```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d%d%d"
.LC1:
	.string	"%d"
.LC2:
	.string	"%d%d"
.LC3:
	.string	"%.9lf %.9lf\n"
	.text
	.p2align 4
	.globl	run
	.type	run, @function
run:
.LFB39:
	.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	52(%rsp), %rcx
	leaq	48(%rsp), %rdx
	leaq	44(%rsp), %rsi
	leaq	56(%rsp), %r8
	call	__isoc99_scanf@PLT
	movl	52(%rsp), %ebx
	movl	56(%rsp), %ebp
	pxor	%xmm6, %xmm6
	subl	44(%rsp), %ebx
	subl	48(%rsp), %ebp
	leaq	60(%rsp), %rsi
	movl	%ebx, %eax
	movl	%ebp, %edx
	leaq	.LC1(%rip), %rdi
	imull	%ebp, %edx
	imull	%ebx, %eax
	addl	%edx, %eax
	cvtsi2sdl	%eax, %xmm6
	xorl	%eax, %eax
	movsd	%xmm6, 8(%rsp)
	call	__isoc99_scanf@PLT
	movl	60(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 60(%rsp)
	testl	%eax, %eax
	je	.L1
	pxor	%xmm7, %xmm7
	leaq	68(%rsp), %r15
	leaq	64(%rsp), %r14
	cvtsi2sdl	%ebp, %xmm7
	leaq	.LC2(%rip), %r13
	leaq	.LC3(%rip), %r12
	movsd	%xmm7, 24(%rsp)
	pxor	%xmm7, %xmm7
	cvtsi2sdl	%ebx, %xmm7
	movsd	%xmm7, 16(%rsp)
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r15, %rdx
	movq	%r14, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	44(%rsp), %ecx
	movl	64(%rsp), %eax
	pxor	%xmm0, %xmm0
	movl	48(%rsp), %esi
	movl	68(%rsp), %edx
	pxor	%xmm2, %xmm2
	pxor	%xmm3, %xmm3
	subl	%ecx, %eax
	movsd	24(%rsp), %xmm1
	movsd	8(%rsp), %xmm4
	subl	%esi, %edx
	movl	%eax, %edi
	subl	%eax, %ecx
	movl	%eax, 64(%rsp)
	movl	%edx, %r8d
	imull	%ebx, %edi
	subl	%edx, %esi
	movl	$2, %eax
	imull	%ebp, %r8d
	movl	%edx, 68(%rsp)
	cvtsi2sdl	%esi, %xmm2
	movq	%r12, %rsi
	cvtsi2sdl	%ecx, %xmm3
	addl	%r8d, %edi
	cvtsi2sdl	%edi, %xmm0
	movl	$1, %edi
	mulsd	%xmm0, %xmm1
	mulsd	16(%rsp), %xmm0
	divsd	%xmm4, %xmm1
	divsd	%xmm4, %xmm0
	addsd	%xmm1, %xmm1
	addsd	%xmm2, %xmm1
	addsd	%xmm0, %xmm0
	addsd	%xmm3, %xmm0
	call	__printf_chk@PLT
	movl	60(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 60(%rsp)
	testl	%eax, %eax
	jne	.L3
.L1:
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L11
	addq	$88, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.LFE39:
	.size	run, .-run
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	subq	$8, %rsp
	.cfi_def_cfa_offset 16
	call	run
	xorl	%eax, %eax
	addq	$8, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE40:
	.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%d%d%d"
.LC1:
	.string	"%d"
.LC2:
	.string	"%d%d"
.LC3:
	.string	"%.9lf %.9lf\n"
	.text
	.p2align 4
	.globl	run
	.type	run, @function
run:
.LFB39:
	.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	52(%rsp), %rcx
	leaq	48(%rsp), %rdx
	leaq	44(%rsp), %rsi
	leaq	56(%rsp), %r8
	call	__isoc99_scanf@PLT
	movl	52(%rsp), %ebx
	movl	56(%rsp), %ebp
	pxor	%xmm6, %xmm6
	subl	44(%rsp), %ebx
	subl	48(%rsp), %ebp
	leaq	60(%rsp), %rsi
	movl	%ebx, %eax
	movl	%ebp, %edx
	leaq	.LC1(%rip), %rdi
	imull	%ebp, %edx
	imull	%ebx, %eax
	addl	%edx, %eax
	cvtsi2sdl	%eax, %xmm6
	xorl	%eax, %eax
	movsd	%xmm6, 8(%rsp)
	call	__isoc99_scanf@PLT
	movl	60(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 60(%rsp)
	testl	%eax, %eax
	je	.L1
	pxor	%xmm7, %xmm7
	leaq	68(%rsp), %r15
	leaq	64(%rsp), %r14
	cvtsi2sdl	%ebp, %xmm7
	leaq	.LC2(%rip), %r13
	leaq	.LC3(%rip), %r12
	movsd	%xmm7, 24(%rsp)
	pxor	%xmm7, %xmm7
	cvtsi2sdl	%ebx, %xmm7
	movsd	%xmm7, 16(%rsp)
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r15, %rdx
	movq	%r14, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	44(%rsp), %ecx
	movl	64(%rsp), %eax
	pxor	%xmm0, %xmm0
	movl	48(%rsp), %esi
	movl	68(%rsp), %edx
	pxor	%xmm2, %xmm2
	pxor	%xmm3, %xmm3
	subl	%ecx, %eax
	movsd	24(%rsp), %xmm1
	movsd	8(%rsp), %xmm4
	subl	%esi, %edx
	movl	%eax, %edi
	subl	%eax, %ecx
	movl	%eax, 64(%rsp)
	movl	%edx, %r8d
	imull	%ebx, %edi
	subl	%edx, %esi
	movl	$2, %eax
	imull	%ebp, %r8d
	movl	%edx, 68(%rsp)
	cvtsi2sdl	%esi, %xmm2
	movq	%r12, %rsi
	cvtsi2sdl	%ecx, %xmm3
	addl	%r8d, %edi
	cvtsi2sdl	%edi, %xmm0
	movl	$1, %edi
	mulsd	%xmm0, %xmm1
	mulsd	16(%rsp), %xmm0
	divsd	%xmm4, %xmm1
	divsd	%xmm4, %xmm0
	addsd	%xmm1, %xmm1
	addsd	%xmm2, %xmm1
	addsd	%xmm0, %xmm0
	addsd	%xmm3, %xmm0
	call	__printf_chk@PLT
	movl	60(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 60(%rsp)
	testl	%eax, %eax
	jne	.L3
.L1:
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L11
	addq	$88, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.LFE39:
	.size	run, .-run
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	subq	$8, %rsp
	.cfi_def_cfa_offset 16
	call	run
	xorl	%eax, %eax
	addq	$8, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE40:
	.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:
```