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

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

typedef struct Point {
	double x;
	double y;
} Point;

typedef struct Vector {
	struct Point point;
	double size;
} Vector;

Point VectorAddition(Point, Point, int);
double Vectormultiplication(Point, Point);
double VectorSize(Point);
double Range(Point, Point);

int main(void) {

	Point point1, point2, point3, ans, k;
	Vector vector1, vector2;
	int q, i, co = 0;

	scanf("%lf %lf %lf %lf %d", &point1.x, &point1.y, &point2.x, &point2.y, &q);

	vector1.point = VectorAddition(point1, point2, 2);
	vector1.size = VectorSize(vector1.point);

	for (i = 0; i < q; i++) {

		scanf("%lf %lf", &point3.x, &point3.y);

		vector2.point = VectorAddition(point1, point3, 2);
		vector2.size = VectorSize(vector2.point);

		if (Range(vector1.point, vector2.point) < 0) {
			ans.x = (fabs(Vectormultiplication(vector1.point, vector2.point)) / pow(vector1.size, 2) * vector1.point.x * -1) + point1.x;
			ans.y = (fabs(Vectormultiplication(vector1.point, vector2.point)) / pow(vector1.size, 2) * vector1.point.y * -1) + point1.y;
		}
		else {
			ans.x = (fabs(Vectormultiplication(vector1.point, vector2.point)) / pow(vector1.size, 2) * vector1.point.x) + point1.x;
			ans.y = (fabs(Vectormultiplication(vector1.point, vector2.point)) / pow(vector1.size, 2) * vector1.point.y) + point1.y;
		}

		printf("%.9lf %.9lf\n", ans.x, ans.y);
	}

	return 0;
}

Point VectorAddition(Point p1, Point p2, int sign) {
	Point point;
	switch (sign) {
	case 1:
		point.x = p2.x + p1.x;
		point.y = p2.y + p1.y;
		break;
	case 2:
		point.x = p2.x - p1.x;
		point.y = p2.y - p1.y;
		break;
	}
	return point;

}

double Vectormultiplication(Point p1, Point p2) {
	Point point;
	double i;
	point.x = p1.x * p2.x;
	point.y = p1.y * p2.y;
	i = point.x + point.y;
	return i;
}

double VectorSize(Point p) {
	return sqrt(pow(p.x, 2) + pow(p.y, 2));
}

double Range(Point p1, Point p2) {
	return Vectormultiplication(p1, p2) / (VectorSize(p1) * VectorSize(p2));
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%lf %lf %lf %lf %d"
.LC1:
	.string	"%lf %lf"
.LC5:
	.string	"%.9lf %.9lf\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	$160, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -132(%rbp)
	leaq	-140(%rbp), %rcx
	leaq	-112(%rbp), %rax
	leaq	8(%rax), %rdi
	leaq	-112(%rbp), %rdx
	leaq	-128(%rbp), %rax
	leaq	8(%rax), %rsi
	leaq	-128(%rbp), %rax
	movq	%rcx, %r9
	movq	%rdi, %r8
	movq	%rdx, %rcx
	movq	%rsi, %rdx
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movsd	-112(%rbp), %xmm2
	movsd	-104(%rbp), %xmm0
	movq	-128(%rbp), %rax
	movsd	-120(%rbp), %xmm1
	movl	$2, %edi
	movapd	%xmm0, %xmm3
	movq	%rax, %xmm0
	call	VectorAddition
	movq	%xmm0, %rax
	movapd	%xmm1, %xmm0
	movq	%rax, -64(%rbp)
	movsd	%xmm0, -56(%rbp)
	movq	-64(%rbp), %rax
	movsd	-56(%rbp), %xmm1
	movq	%rax, %xmm0
	call	VectorSize
	movq	%xmm0, %rax
	movq	%rax, -48(%rbp)
	movl	$0, -136(%rbp)
	jmp	.L2
.L6:
	leaq	-96(%rbp), %rax
	leaq	8(%rax), %rdx
	leaq	-96(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movsd	-96(%rbp), %xmm2
	movsd	-88(%rbp), %xmm0
	movq	-128(%rbp), %rax
	movsd	-120(%rbp), %xmm1
	movl	$2, %edi
	movapd	%xmm0, %xmm3
	movq	%rax, %xmm0
	call	VectorAddition
	movq	%xmm0, %rax
	movapd	%xmm1, %xmm0
	movq	%rax, -32(%rbp)
	movsd	%xmm0, -24(%rbp)
	movq	-32(%rbp), %rax
	movsd	-24(%rbp), %xmm1
	movq	%rax, %xmm0
	call	VectorSize
	movq	%xmm0, %rax
	movq	%rax, -16(%rbp)
	movsd	-32(%rbp), %xmm2
	movsd	-24(%rbp), %xmm0
	movq	-64(%rbp), %rax
	movsd	-56(%rbp), %xmm1
	movapd	%xmm0, %xmm3
	movq	%rax, %xmm0
	call	Range
	pxor	%xmm1, %xmm1
	comisd	%xmm0, %xmm1
	jbe	.L10
	movsd	-128(%rbp), %xmm4
	movsd	%xmm4, -152(%rbp)
	movsd	-32(%rbp), %xmm2
	movsd	-24(%rbp), %xmm0
	movq	-64(%rbp), %rax
	movsd	-56(%rbp), %xmm1
	movapd	%xmm0, %xmm3
	movq	%rax, %xmm0
	call	Vectormultiplication
	movq	%xmm0, %rax
	movq	.LC3(%rip), %xmm0
	movq	%rax, %xmm4
	andpd	%xmm0, %xmm4
	movsd	%xmm4, -160(%rbp)
	movq	-48(%rbp), %rax
	movsd	.LC4(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movsd	-160(%rbp), %xmm1
	divsd	%xmm0, %xmm1
	movsd	-64(%rbp), %xmm0
	mulsd	%xmm0, %xmm1
	movsd	-152(%rbp), %xmm0
	subsd	%xmm1, %xmm0
	movsd	%xmm0, -80(%rbp)
	movsd	-120(%rbp), %xmm5
	movsd	%xmm5, -152(%rbp)
	movsd	-32(%rbp), %xmm2
	movsd	-24(%rbp), %xmm0
	movq	-64(%rbp), %rax
	movsd	-56(%rbp), %xmm1
	movapd	%xmm0, %xmm3
	movq	%rax, %xmm0
	call	Vectormultiplication
	movq	%xmm0, %rax
	movq	.LC3(%rip), %xmm0
	movq	%rax, %xmm5
	andpd	%xmm0, %xmm5
	movsd	%xmm5, -160(%rbp)
	movq	-48(%rbp), %rax
	movsd	.LC4(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movsd	-160(%rbp), %xmm1
	divsd	%xmm0, %xmm1
	movsd	-56(%rbp), %xmm0
	mulsd	%xmm0, %xmm1
	movsd	-152(%rbp), %xmm0
	subsd	%xmm1, %xmm0
	movsd	%xmm0, -72(%rbp)
	jmp	.L5
.L10:
	movsd	-32(%rbp), %xmm2
	movsd	-24(%rbp), %xmm0
	movq	-64(%rbp), %rax
	movsd	-56(%rbp), %xmm1
	movapd	%xmm0, %xmm3
	movq	%rax, %xmm0
	call	Vectormultiplication
	movq	%xmm0, %rax
	movq	.LC3(%rip), %xmm0
	movq	%rax, %xmm6
	andpd	%xmm0, %xmm6
	movsd	%xmm6, -152(%rbp)
	movq	-48(%rbp), %rax
	movsd	.LC4(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movsd	-152(%rbp), %xmm1
	divsd	%xmm0, %xmm1
	movsd	-64(%rbp), %xmm0
	mulsd	%xmm0, %xmm1
	movsd	-128(%rbp), %xmm0
	addsd	%xmm1, %xmm0
	movsd	%xmm0, -80(%rbp)
	movsd	-32(%rbp), %xmm2
	movsd	-24(%rbp), %xmm0
	movq	-64(%rbp), %rax
	movsd	-56(%rbp), %xmm1
	movapd	%xmm0, %xmm3
	movq	%rax, %xmm0
	call	Vectormultiplication
	movq	%xmm0, %rax
	movq	.LC3(%rip), %xmm0
	movq	%rax, %xmm7
	andpd	%xmm0, %xmm7
	movsd	%xmm7, -152(%rbp)
	movq	-48(%rbp), %rax
	movsd	.LC4(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movsd	-152(%rbp), %xmm1
	divsd	%xmm0, %xmm1
	movsd	-56(%rbp), %xmm0
	mulsd	%xmm0, %xmm1
	movsd	-120(%rbp), %xmm0
	addsd	%xmm1, %xmm0
	movsd	%xmm0, -72(%rbp)
.L5:
	movsd	-72(%rbp), %xmm0
	movq	-80(%rbp), %rax
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	leaq	.LC5(%rip), %rax
	movq	%rax, %rdi
	movl	$2, %eax
	call	printf@PLT
	addl	$1, -136(%rbp)
.L2:
	movl	-140(%rbp), %eax
	cmpl	%eax, -136(%rbp)
	jl	.L6
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	VectorAddition
	.type	VectorAddition, @function
VectorAddition:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%rbx
	.cfi_offset 3, -24
	movq	%xmm0, %rcx
	movapd	%xmm1, %xmm0
	movl	$0, %eax
	movl	$0, %edx
	movq	%rcx, %rax
	movq	%xmm0, %rdx
	movq	%rax, -48(%rbp)
	movq	%rdx, -40(%rbp)
	movapd	%xmm2, %xmm1
	movapd	%xmm3, %xmm0
	movl	$0, %eax
	movl	$0, %edx
	movq	%xmm1, %rax
	movq	%xmm0, %rdx
	movq	%rax, -64(%rbp)
	movq	%rdx, -56(%rbp)
	movl	%edi, -68(%rbp)
	cmpl	$1, -68(%rbp)
	je	.L12
	cmpl	$2, -68(%rbp)
	je	.L13
	jmp	.L14
.L12:
	movsd	-64(%rbp), %xmm1
	movsd	-48(%rbp), %xmm0
	addsd	%xmm1, %xmm0
	movsd	%xmm0, -32(%rbp)
	movsd	-56(%rbp), %xmm1
	movsd	-40(%rbp), %xmm0
	addsd	%xmm1, %xmm0
	movsd	%xmm0, -24(%rbp)
	jmp	.L14
.L13:
	movsd	-64(%rbp), %xmm0
	movsd	-48(%rbp), %xmm1
	subsd	%xmm1, %xmm0
	movsd	%xmm0, -32(%rbp)
	movsd	-56(%rbp), %xmm0
	movsd	-40(%rbp), %xmm1
	subsd	%xmm1, %xmm0
	movsd	%xmm0, -24(%rbp)
	nop
.L14:
	movq	-32(%rbp), %rax
	movq	-24(%rbp), %rdx
	movq	%rax, %rsi
	movq	%rdx, %rdi
	movq	%rax, %rcx
	movq	%rdx, %rbx
	movq	%rsi, %rax
	movq	%rbx, %xmm1
	movq	%rax, %xmm0
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	VectorAddition, .-VectorAddition
	.globl	Vectormultiplication
	.type	Vectormultiplication, @function
Vectormultiplication:
.LFB2:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%xmm0, %rcx
	movapd	%xmm1, %xmm0
	movl	$0, %eax
	movl	$0, %edx
	movq	%rcx, %rax
	movq	%xmm0, %rdx
	movq	%rax, -48(%rbp)
	movq	%rdx, -40(%rbp)
	movapd	%xmm2, %xmm1
	movapd	%xmm3, %xmm0
	movl	$0, %eax
	movl	$0, %edx
	movq	%xmm1, %rax
	movq	%xmm0, %rdx
	movq	%rax, -64(%rbp)
	movq	%rdx, -56(%rbp)
	movsd	-48(%rbp), %xmm1
	movsd	-64(%rbp), %xmm0
	mulsd	%xmm1, %xmm0
	movsd	%xmm0, -16(%rbp)
	movsd	-40(%rbp), %xmm1
	movsd	-56(%rbp), %xmm0
	mulsd	%xmm1, %xmm0
	movsd	%xmm0, -8(%rbp)
	movsd	-16(%rbp), %xmm1
	movsd	-8(%rbp), %xmm0
	addsd	%xmm1, %xmm0
	movsd	%xmm0, -24(%rbp)
	movsd	-24(%rbp), %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	Vectormultiplication, .-Vectormultiplication
	.globl	VectorSize
	.type	VectorSize, @function
VectorSize:
.LFB3:
	.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
	movq	%xmm0, %rcx
	movapd	%xmm1, %xmm0
	movl	$0, %eax
	movl	$0, %edx
	movq	%rcx, %rax
	movq	%xmm0, %rdx
	movq	%rax, -16(%rbp)
	movq	%rdx, -8(%rbp)
	movq	-16(%rbp), %rax
	movsd	.LC4(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movsd	%xmm0, -24(%rbp)
	movq	-8(%rbp), %rax
	movsd	.LC4(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movapd	%xmm0, %xmm2
	addsd	-24(%rbp), %xmm2
	movq	%xmm2, %rax
	movq	%rax, %xmm0
	call	sqrt@PLT
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	VectorSize, .-VectorSize
	.globl	Range
	.type	Range, @function
Range:
.LFB4:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset 3, -24
	movq	%xmm0, %rcx
	movapd	%xmm1, %xmm0
	movl	$0, %eax
	movl	$0, %edx
	movq	%rcx, %rax
	movq	%xmm0, %rdx
	movq	%rax, -32(%rbp)
	movq	%rdx, -24(%rbp)
	movapd	%xmm2, %xmm1
	movapd	%xmm3, %xmm0
	movl	$0, %eax
	movl	$0, %edx
	movq	%xmm1, %rax
	movq	%xmm0, %rdx
	movq	%rax, -48(%rbp)
	movq	%rdx, -40(%rbp)
	movsd	-48(%rbp), %xmm2
	movsd	-40(%rbp), %xmm0
	movq	-32(%rbp), %rax
	movsd	-24(%rbp), %xmm1
	movapd	%xmm0, %xmm3
	movq	%rax, %xmm0
	call	Vectormultiplication
	movq	%xmm0, %rbx
	movq	-32(%rbp), %rax
	movsd	-24(%rbp), %xmm1
	movq	%rax, %xmm0
	call	VectorSize
	movsd	%xmm0, -56(%rbp)
	movq	-48(%rbp), %rax
	movsd	-40(%rbp), %xmm1
	movq	%rax, %xmm0
	call	VectorSize
	mulsd	-56(%rbp), %xmm0
	movq	%rbx, %xmm1
	divsd	%xmm0, %xmm1
	movq	%xmm1, %rax
	movq	%rax, %xmm0
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	Range, .-Range
	.section	.rodata
	.align 16
.LC3:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.align 8
.LC4:
	.long	0
	.long	1073741824
	.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	"%lf %lf %lf %lf %d"
.LC2:
	.string	"%lf %lf"
.LC4:
	.string	"%.9lf %.9lf\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$160, %rsp
	.cfi_def_cfa_offset 208
	movq	%fs:40, %rax
	movq	%rax, 152(%rsp)
	xorl	%eax, %eax
	leaq	112(%rsp), %rcx
	leaq	96(%rsp), %rsi
	leaq	104(%rsp), %rdx
	leaq	92(%rsp), %r9
	leaq	120(%rsp), %r8
	call	__isoc99_scanf@PLT
	movsd	112(%rsp), %xmm0
	movapd	%xmm0, %xmm6
	movsd	120(%rsp), %xmm0
	subsd	96(%rsp), %xmm6
	movapd	%xmm0, %xmm5
	subsd	104(%rsp), %xmm5
	movapd	%xmm6, %xmm1
	movsd	%xmm6, 8(%rsp)
	mulsd	%xmm6, %xmm1
	movapd	%xmm5, %xmm0
	movsd	%xmm5, 16(%rsp)
	mulsd	%xmm5, %xmm0
	pxor	%xmm5, %xmm5
	addsd	%xmm0, %xmm1
	ucomisd	%xmm1, %xmm5
	movsd	%xmm1, 24(%rsp)
	ja	.L23
	movapd	%xmm1, %xmm6
	sqrtsd	%xmm6, %xmm6
	movapd	%xmm6, %xmm0
.L4:
	movl	92(%rsp), %eax
	testl	%eax, %eax
	jle	.L16
	mulsd	%xmm0, %xmm0
	xorl	%ebx, %ebx
	leaq	128(%rsp), %r13
	leaq	136(%rsp), %r12
	leaq	.LC2(%rip), %rbp
	leaq	.LC4(%rip), %r14
	movsd	%xmm0, 32(%rsp)
	.p2align 4,,10
	.p2align 3
.L5:
	xorl	%eax, %eax
	movq	%r12, %rdx
	movq	%r13, %rsi
	movq	%rbp, %rdi
	call	__isoc99_scanf@PLT
	movsd	96(%rsp), %xmm5
	movsd	104(%rsp), %xmm6
	movsd	128(%rsp), %xmm2
	movsd	136(%rsp), %xmm4
	subsd	%xmm5, %xmm2
	subsd	%xmm6, %xmm4
	movapd	%xmm2, %xmm0
	movapd	%xmm4, %xmm3
	mulsd	%xmm2, %xmm0
	mulsd	%xmm4, %xmm3
	addsd	%xmm0, %xmm3
	pxor	%xmm0, %xmm0
	ucomisd	%xmm3, %xmm0
	ja	.L30
.L6:
	mulsd	16(%rsp), %xmm4
	movsd	24(%rsp), %xmm7
	mulsd	8(%rsp), %xmm2
	addsd	%xmm4, %xmm2
	pxor	%xmm4, %xmm4
	ucomisd	%xmm7, %xmm4
	ja	.L25
	sqrtsd	%xmm7, %xmm7
	movapd	%xmm7, %xmm4
.L9:
	pxor	%xmm7, %xmm7
	ucomisd	%xmm3, %xmm7
	ja	.L26
	sqrtsd	%xmm3, %xmm3
.L12:
	mulsd	%xmm4, %xmm3
	movapd	%xmm2, %xmm1
	pxor	%xmm4, %xmm4
	movsd	8(%rsp), %xmm7
	andpd	.LC3(%rip), %xmm1
	divsd	32(%rsp), %xmm1
	mulsd	%xmm1, %xmm7
	mulsd	16(%rsp), %xmm1
	divsd	%xmm3, %xmm2
	comisd	%xmm2, %xmm4
	ja	.L31
	addsd	%xmm7, %xmm5
	addsd	%xmm6, %xmm1
	movq	%r14, %rsi
	movl	$1, %edi
	movl	$2, %eax
	addl	$1, %ebx
	movapd	%xmm5, %xmm0
	call	__printf_chk@PLT
	cmpl	%ebx, 92(%rsp)
	jg	.L5
.L16:
	movq	152(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L32
	addq	$160, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L31:
	.cfi_restore_state
	subsd	%xmm7, %xmm5
	subsd	%xmm1, %xmm6
	movq	%r14, %rsi
	movl	$1, %edi
	movl	$2, %eax
	addl	$1, %ebx
	movapd	%xmm5, %xmm0
	movapd	%xmm6, %xmm1
	call	__printf_chk@PLT
	cmpl	92(%rsp), %ebx
	jl	.L5
	jmp	.L16
.L30:
	movapd	%xmm3, %xmm0
	movsd	%xmm5, 72(%rsp)
	movsd	%xmm6, 64(%rsp)
	movsd	%xmm4, 56(%rsp)
	movsd	%xmm2, 48(%rsp)
	movsd	%xmm3, 40(%rsp)
	call	sqrt@PLT
	movsd	72(%rsp), %xmm5
	movsd	64(%rsp), %xmm6
	movsd	56(%rsp), %xmm4
	movsd	48(%rsp), %xmm2
	movsd	40(%rsp), %xmm3
	jmp	.L6
.L26:
	movapd	%xmm3, %xmm0
	movsd	%xmm2, 64(%rsp)
	movsd	%xmm4, 56(%rsp)
	movsd	%xmm5, 48(%rsp)
	movsd	%xmm6, 40(%rsp)
	call	sqrt@PLT
	movsd	64(%rsp), %xmm2
	movsd	56(%rsp), %xmm4
	movsd	48(%rsp), %xmm5
	movsd	40(%rsp), %xmm6
	movapd	%xmm0, %xmm3
	jmp	.L12
.L25:
	movsd	24(%rsp), %xmm0
	movsd	%xmm2, 64(%rsp)
	movsd	%xmm5, 56(%rsp)
	movsd	%xmm6, 48(%rsp)
	movsd	%xmm3, 40(%rsp)
	call	sqrt@PLT
	movsd	64(%rsp), %xmm2
	movsd	56(%rsp), %xmm5
	movsd	48(%rsp), %xmm6
	movsd	40(%rsp), %xmm3
	movapd	%xmm0, %xmm4
	jmp	.L9
.L23:
	movsd	24(%rsp), %xmm0
	call	sqrt@PLT
	jmp	.L4
.L32:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.text
	.p2align 4
	.globl	VectorAddition
	.type	VectorAddition, @function
VectorAddition:
.LFB24:
	.cfi_startproc
	endbr64
	pxor	%xmm4, %xmm4
	movq	%xmm1, -48(%rsp)
	movq	%xmm0, -56(%rsp)
	movapd	-56(%rsp), %xmm0
	movq	%xmm2, -40(%rsp)
	movq	%xmm3, -32(%rsp)
	movapd	-40(%rsp), %xmm1
	movaps	%xmm4, -24(%rsp)
	cmpl	$1, %edi
	je	.L34
	cmpl	$2, %edi
	jne	.L36
	subpd	%xmm0, %xmm1
	movaps	%xmm1, -24(%rsp)
.L36:
	movsd	-16(%rsp), %xmm1
	movsd	-24(%rsp), %xmm0
	ret
	.p2align 4,,10
	.p2align 3
.L34:
	movapd	-56(%rsp), %xmm5
	addpd	%xmm1, %xmm5
	movaps	%xmm5, -24(%rsp)
	movsd	-16(%rsp), %xmm1
	movsd	-24(%rsp), %xmm0
	ret
	.cfi_endproc
.LFE24:
	.size	VectorAddition, .-VectorAddition
	.p2align 4
	.globl	Vectormultiplication
	.type	Vectormultiplication, @function
Vectormultiplication:
.LFB25:
	.cfi_startproc
	endbr64
	mulsd	%xmm2, %xmm0
	mulsd	%xmm3, %xmm1
	addsd	%xmm1, %xmm0
	ret
	.cfi_endproc
.LFE25:
	.size	Vectormultiplication, .-Vectormultiplication
	.p2align 4
	.globl	VectorSize
	.type	VectorSize, @function
VectorSize:
.LFB26:
	.cfi_startproc
	endbr64
	mulsd	%xmm1, %xmm1
	mulsd	%xmm0, %xmm0
	addsd	%xmm1, %xmm0
	pxor	%xmm1, %xmm1
	ucomisd	%xmm0, %xmm1
	ja	.L46
	sqrtsd	%xmm0, %xmm0
	ret
.L46:
	jmp	sqrt@PLT
	.cfi_endproc
.LFE26:
	.size	VectorSize, .-VectorSize
	.p2align 4
	.globl	Range
	.type	Range, @function
Range:
.LFB27:
	.cfi_startproc
	endbr64
	movapd	%xmm0, %xmm4
	movapd	%xmm1, %xmm5
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	mulsd	%xmm4, %xmm4
	mulsd	%xmm1, %xmm1
	mulsd	%xmm2, %xmm0
	mulsd	%xmm3, %xmm5
	addsd	%xmm4, %xmm1
	pxor	%xmm4, %xmm4
	addsd	%xmm0, %xmm5
	ucomisd	%xmm1, %xmm4
	ja	.L56
	sqrtsd	%xmm1, %xmm1
.L50:
	mulsd	%xmm2, %xmm2
	mulsd	%xmm3, %xmm3
	addsd	%xmm3, %xmm2
	ucomisd	%xmm2, %xmm4
	ja	.L57
	sqrtsd	%xmm2, %xmm2
.L53:
	mulsd	%xmm2, %xmm1
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	divsd	%xmm1, %xmm5
	movapd	%xmm5, %xmm0
	ret
.L56:
	.cfi_restore_state
	movapd	%xmm1, %xmm0
	movsd	%xmm3, 24(%rsp)
	movsd	%xmm2, 16(%rsp)
	movsd	%xmm5, 8(%rsp)
	call	sqrt@PLT
	movsd	24(%rsp), %xmm3
	movsd	16(%rsp), %xmm2
	pxor	%xmm4, %xmm4
	movsd	8(%rsp), %xmm5
	movapd	%xmm0, %xmm1
	jmp	.L50
.L57:
	movapd	%xmm2, %xmm0
	movsd	%xmm5, 16(%rsp)
	movsd	%xmm1, 8(%rsp)
	call	sqrt@PLT
	movsd	16(%rsp), %xmm5
	movsd	8(%rsp), %xmm1
	movapd	%xmm0, %xmm2
	jmp	.L53
	.cfi_endproc
.LFE27:
	.size	Range, .-Range
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC3:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.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	"%lf %lf %lf %lf %d"
.LC2:
	.string	"%lf %lf"
.LC4:
	.string	"%.9lf %.9lf\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$160, %rsp
	.cfi_def_cfa_offset 208
	movq	%fs:40, %rax
	movq	%rax, 152(%rsp)
	xorl	%eax, %eax
	leaq	112(%rsp), %rcx
	leaq	96(%rsp), %rsi
	leaq	104(%rsp), %rdx
	leaq	92(%rsp), %r9
	leaq	120(%rsp), %r8
	call	__isoc99_scanf@PLT
	movsd	112(%rsp), %xmm0
	movapd	%xmm0, %xmm6
	movsd	120(%rsp), %xmm0
	subsd	96(%rsp), %xmm6
	movapd	%xmm0, %xmm5
	subsd	104(%rsp), %xmm5
	movapd	%xmm6, %xmm1
	movsd	%xmm6, 8(%rsp)
	mulsd	%xmm6, %xmm1
	movapd	%xmm5, %xmm0
	movsd	%xmm5, 16(%rsp)
	mulsd	%xmm5, %xmm0
	pxor	%xmm5, %xmm5
	addsd	%xmm0, %xmm1
	ucomisd	%xmm1, %xmm5
	movsd	%xmm1, 24(%rsp)
	ja	.L23
	movapd	%xmm1, %xmm6
	sqrtsd	%xmm6, %xmm6
	movapd	%xmm6, %xmm0
.L4:
	movl	92(%rsp), %eax
	testl	%eax, %eax
	jle	.L16
	mulsd	%xmm0, %xmm0
	xorl	%ebx, %ebx
	leaq	128(%rsp), %r13
	leaq	136(%rsp), %r12
	leaq	.LC2(%rip), %rbp
	leaq	.LC4(%rip), %r14
	movsd	%xmm0, 32(%rsp)
	.p2align 4,,10
	.p2align 3
.L5:
	xorl	%eax, %eax
	movq	%r12, %rdx
	movq	%r13, %rsi
	movq	%rbp, %rdi
	call	__isoc99_scanf@PLT
	movsd	96(%rsp), %xmm5
	movsd	104(%rsp), %xmm6
	movsd	128(%rsp), %xmm2
	movsd	136(%rsp), %xmm4
	subsd	%xmm5, %xmm2
	subsd	%xmm6, %xmm4
	movapd	%xmm2, %xmm0
	movapd	%xmm4, %xmm3
	mulsd	%xmm2, %xmm0
	mulsd	%xmm4, %xmm3
	addsd	%xmm0, %xmm3
	pxor	%xmm0, %xmm0
	ucomisd	%xmm3, %xmm0
	ja	.L30
.L6:
	mulsd	16(%rsp), %xmm4
	movsd	24(%rsp), %xmm7
	mulsd	8(%rsp), %xmm2
	addsd	%xmm4, %xmm2
	pxor	%xmm4, %xmm4
	ucomisd	%xmm7, %xmm4
	ja	.L25
	sqrtsd	%xmm7, %xmm7
	movapd	%xmm7, %xmm4
.L9:
	pxor	%xmm7, %xmm7
	ucomisd	%xmm3, %xmm7
	ja	.L26
	sqrtsd	%xmm3, %xmm3
.L12:
	mulsd	%xmm4, %xmm3
	movapd	%xmm2, %xmm1
	pxor	%xmm4, %xmm4
	movsd	8(%rsp), %xmm7
	andpd	.LC3(%rip), %xmm1
	divsd	32(%rsp), %xmm1
	mulsd	%xmm1, %xmm7
	mulsd	16(%rsp), %xmm1
	divsd	%xmm3, %xmm2
	comisd	%xmm2, %xmm4
	ja	.L31
	addsd	%xmm7, %xmm5
	addsd	%xmm6, %xmm1
	movq	%r14, %rsi
	movl	$1, %edi
	movl	$2, %eax
	addl	$1, %ebx
	movapd	%xmm5, %xmm0
	call	__printf_chk@PLT
	cmpl	%ebx, 92(%rsp)
	jg	.L5
.L16:
	movq	152(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L32
	addq	$160, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L31:
	.cfi_restore_state
	subsd	%xmm7, %xmm5
	subsd	%xmm1, %xmm6
	movq	%r14, %rsi
	movl	$1, %edi
	movl	$2, %eax
	addl	$1, %ebx
	movapd	%xmm5, %xmm0
	movapd	%xmm6, %xmm1
	call	__printf_chk@PLT
	cmpl	92(%rsp), %ebx
	jl	.L5
	jmp	.L16
.L30:
	movapd	%xmm3, %xmm0
	movsd	%xmm5, 72(%rsp)
	movsd	%xmm6, 64(%rsp)
	movsd	%xmm4, 56(%rsp)
	movsd	%xmm2, 48(%rsp)
	movsd	%xmm3, 40(%rsp)
	call	sqrt@PLT
	movsd	72(%rsp), %xmm5
	movsd	64(%rsp), %xmm6
	movsd	56(%rsp), %xmm4
	movsd	48(%rsp), %xmm2
	movsd	40(%rsp), %xmm3
	jmp	.L6
.L26:
	movapd	%xmm3, %xmm0
	movsd	%xmm2, 64(%rsp)
	movsd	%xmm4, 56(%rsp)
	movsd	%xmm5, 48(%rsp)
	movsd	%xmm6, 40(%rsp)
	call	sqrt@PLT
	movsd	64(%rsp), %xmm2
	movsd	56(%rsp), %xmm4
	movsd	48(%rsp), %xmm5
	movsd	40(%rsp), %xmm6
	movapd	%xmm0, %xmm3
	jmp	.L12
.L25:
	movsd	24(%rsp), %xmm0
	movsd	%xmm2, 64(%rsp)
	movsd	%xmm5, 56(%rsp)
	movsd	%xmm6, 48(%rsp)
	movsd	%xmm3, 40(%rsp)
	call	sqrt@PLT
	movsd	64(%rsp), %xmm2
	movsd	56(%rsp), %xmm5
	movsd	48(%rsp), %xmm6
	movsd	40(%rsp), %xmm3
	movapd	%xmm0, %xmm4
	jmp	.L9
.L23:
	movsd	24(%rsp), %xmm0
	call	sqrt@PLT
	jmp	.L4
.L32:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.text
	.p2align 4
	.globl	VectorAddition
	.type	VectorAddition, @function
VectorAddition:
.LFB24:
	.cfi_startproc
	endbr64
	pxor	%xmm4, %xmm4
	movq	%xmm1, -48(%rsp)
	movq	%xmm0, -56(%rsp)
	movapd	-56(%rsp), %xmm0
	movq	%xmm2, -40(%rsp)
	movq	%xmm3, -32(%rsp)
	movapd	-40(%rsp), %xmm1
	movaps	%xmm4, -24(%rsp)
	cmpl	$1, %edi
	je	.L34
	cmpl	$2, %edi
	jne	.L36
	subpd	%xmm0, %xmm1
	movaps	%xmm1, -24(%rsp)
.L36:
	movsd	-16(%rsp), %xmm1
	movsd	-24(%rsp), %xmm0
	ret
	.p2align 4,,10
	.p2align 3
.L34:
	movapd	-56(%rsp), %xmm5
	addpd	%xmm1, %xmm5
	movaps	%xmm5, -24(%rsp)
	movsd	-16(%rsp), %xmm1
	movsd	-24(%rsp), %xmm0
	ret
	.cfi_endproc
.LFE24:
	.size	VectorAddition, .-VectorAddition
	.p2align 4
	.globl	Vectormultiplication
	.type	Vectormultiplication, @function
Vectormultiplication:
.LFB25:
	.cfi_startproc
	endbr64
	mulsd	%xmm2, %xmm0
	mulsd	%xmm3, %xmm1
	addsd	%xmm1, %xmm0
	ret
	.cfi_endproc
.LFE25:
	.size	Vectormultiplication, .-Vectormultiplication
	.p2align 4
	.globl	VectorSize
	.type	VectorSize, @function
VectorSize:
.LFB26:
	.cfi_startproc
	endbr64
	mulsd	%xmm1, %xmm1
	mulsd	%xmm0, %xmm0
	addsd	%xmm1, %xmm0
	pxor	%xmm1, %xmm1
	ucomisd	%xmm0, %xmm1
	ja	.L46
	sqrtsd	%xmm0, %xmm0
	ret
.L46:
	jmp	sqrt@PLT
	.cfi_endproc
.LFE26:
	.size	VectorSize, .-VectorSize
	.p2align 4
	.globl	Range
	.type	Range, @function
Range:
.LFB27:
	.cfi_startproc
	endbr64
	movapd	%xmm0, %xmm4
	movapd	%xmm1, %xmm5
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	mulsd	%xmm4, %xmm4
	mulsd	%xmm1, %xmm1
	mulsd	%xmm2, %xmm0
	mulsd	%xmm3, %xmm5
	addsd	%xmm4, %xmm1
	pxor	%xmm4, %xmm4
	addsd	%xmm0, %xmm5
	ucomisd	%xmm1, %xmm4
	ja	.L56
	sqrtsd	%xmm1, %xmm1
.L50:
	mulsd	%xmm2, %xmm2
	mulsd	%xmm3, %xmm3
	addsd	%xmm3, %xmm2
	ucomisd	%xmm2, %xmm4
	ja	.L57
	sqrtsd	%xmm2, %xmm2
.L53:
	mulsd	%xmm2, %xmm1
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	divsd	%xmm1, %xmm5
	movapd	%xmm5, %xmm0
	ret
.L56:
	.cfi_restore_state
	movapd	%xmm1, %xmm0
	movsd	%xmm3, 24(%rsp)
	movsd	%xmm2, 16(%rsp)
	movsd	%xmm5, 8(%rsp)
	call	sqrt@PLT
	movsd	24(%rsp), %xmm3
	movsd	16(%rsp), %xmm2
	pxor	%xmm4, %xmm4
	movsd	8(%rsp), %xmm5
	movapd	%xmm0, %xmm1
	jmp	.L50
.L57:
	movapd	%xmm2, %xmm0
	movsd	%xmm5, 16(%rsp)
	movsd	%xmm1, 8(%rsp)
	call	sqrt@PLT
	movsd	16(%rsp), %xmm5
	movsd	8(%rsp), %xmm1
	movapd	%xmm0, %xmm2
	jmp	.L53
	.cfi_endproc
.LFE27:
	.size	Range, .-Range
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC3:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.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:

#include <stdio.h>
#include <math.h>

typedef struct Point {
	double x;
	double y;
} Point;

typedef struct Vector {
	struct Point point;
	double size;
} Vector;

Point VectorAddition(Point, Point, int);
double Vectormultiplication(Point, Point);
double VectorSize(Point);
double Range(Point, Point);

int main(void) {

	Point point1, point2, point3, ans, k;
	Vector vector1, vector2;
	int q, i, co = 0;

	scanf("%lf %lf %lf %lf %d", &point1.x, &point1.y, &point2.x, &point2.y, &q);

	vector1.point = VectorAddition(point1, point2, 2);
	vector1.size = VectorSize(vector1.point);

	for (i = 0; i < q; i++) {

		scanf("%lf %lf", &point3.x, &point3.y);

		vector2.point = VectorAddition(point1, point3, 2);
		vector2.size = VectorSize(vector2.point);

		if (Range(vector1.point, vector2.point) < 0) {
			ans.x = (fabs(Vectormultiplication(vector1.point, vector2.point)) / pow(vector1.size, 2) * vector1.point.x * -1) + point1.x;
			ans.y = (fabs(Vectormultiplication(vector1.point, vector2.point)) / pow(vector1.size, 2) * vector1.point.y * -1) + point1.y;
		}
		else {
			ans.x = (fabs(Vectormultiplication(vector1.point, vector2.point)) / pow(vector1.size, 2) * vector1.point.x) + point1.x;
			ans.y = (fabs(Vectormultiplication(vector1.point, vector2.point)) / pow(vector1.size, 2) * vector1.point.y) + point1.y;
		}

		printf("%.9lf %.9lf\n", ans.x, ans.y);
	}

	return 0;
}

Point VectorAddition(Point p1, Point p2, int sign) {
	Point point;
	switch (sign) {
	case 1:
		point.x = p2.x + p1.x;
		point.y = p2.y + p1.y;
		break;
	case 2:
		point.x = p2.x - p1.x;
		point.y = p2.y - p1.y;
		break;
	}
	return point;

}

double Vectormultiplication(Point p1, Point p2) {
	Point point;
	double i;
	point.x = p1.x * p2.x;
	point.y = p1.y * p2.y;
	i = point.x + point.y;
	return i;
}

double VectorSize(Point p) {
	return sqrt(pow(p.x, 2) + pow(p.y, 2));
}

double Range(Point p1, Point p2) {
	return Vectormultiplication(p1, p2) / (VectorSize(p1) * VectorSize(p2));
}
0 0 1 4
1
2 5
 0 0 2 0
3
-1 1
0 2
1 1
 0 0 1 4
1
2 9
 0 0 1 6
1
2 9
 0 -1 1 6
1
2 9
 0 -1 2 6
1
2 9
 0 -1 2 2
1
2 9
 0 -1 4 2
1
2 9
 0 -2 4 2
1
2 9
 0 0 2 0
3
-1 1
0 1
0 1

1.294117647 5.176470588
 -1.000000000 0.000000000
0.000000000 0.000000000
1.000000000 0.000000000
 2.235294118 8.941176471
 1.513513514 9.081081081
 1.440000000 9.080000000
 2.792452830 8.773584906
 5.230769231 6.846153846
 6.080000000 3.560000000
 6.500000000 4.500000000
 -1.000000000 0.000000000
0.000000000 0.000000000
0.000000000 0.000000000

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

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

typedef struct Point {
	double x;
	double y;
} Point;

typedef struct Vector {
	struct Point point;
	double size;
} Vector;

Point VectorAddition(Point, Point, int);
double Vectormultiplication(Point, Point);
double VectorSize(Point);
double Range(Point, Point);

int main(void) {

	Point point1, point2, point3, ans, k;
	Vector vector1, vector2;
	int q, i, co = 0;

	scanf("%lf %lf %lf %lf %d", &point1.x, &point1.y, &point2.x, &point2.y, &q);

	vector1.point = VectorAddition(point1, point2, 2);
	vector1.size = VectorSize(vector1.point);

	for (i = 0; i < q; i++) {

		scanf("%lf %lf", &point3.x, &point3.y);

		vector2.point = VectorAddition(point1, point3, 2);
		vector2.size = VectorSize(vector2.point);

		if (Range(vector1.point, vector2.point) < 0) {
			ans.x = (fabs(Vectormultiplication(vector1.point, vector2.point)) / pow(vector1.size, 2) * vector1.point.x * -1) + point1.x;
			ans.y = (fabs(Vectormultiplication(vector1.point, vector2.point)) / pow(vector1.size, 2) * vector1.point.y * -1) + point1.y;
		}
		else {
			ans.x = (fabs(Vectormultiplication(vector1.point, vector2.point)) / pow(vector1.size, 2) * vector1.point.x) + point1.x;
			ans.y = (fabs(Vectormultiplication(vector1.point, vector2.point)) / pow(vector1.size, 2) * vector1.point.y) + point1.y;
		}

		printf("%.9lf %.9lf\n", ans.x, ans.y);
	}

	return 0;
}

Point VectorAddition(Point p1, Point p2, int sign) {
	Point point;
	switch (sign) {
	case 1:
		point.x = p2.x + p1.x;
		point.y = p2.y + p1.y;
		break;
	case 2:
		point.x = p2.x - p1.x;
		point.y = p2.y - p1.y;
		break;
	}
	return point;

}

double Vectormultiplication(Point p1, Point p2) {
	Point point;
	double i;
	point.x = p1.x * p2.x;
	point.y = p1.y * p2.y;
	i = point.x + point.y;
	return i;
}

double VectorSize(Point p) {
	return sqrt(pow(p.x, 2) + pow(p.y, 2));
}

double Range(Point p1, Point p2) {
	return Vectormultiplication(p1, p2) / (VectorSize(p1) * VectorSize(p2));
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%lf %lf %lf %lf %d"
.LC1:
	.string	"%lf %lf"
.LC5:
	.string	"%.9lf %.9lf\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	$160, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -132(%rbp)
	leaq	-140(%rbp), %rcx
	leaq	-112(%rbp), %rax
	leaq	8(%rax), %rdi
	leaq	-112(%rbp), %rdx
	leaq	-128(%rbp), %rax
	leaq	8(%rax), %rsi
	leaq	-128(%rbp), %rax
	movq	%rcx, %r9
	movq	%rdi, %r8
	movq	%rdx, %rcx
	movq	%rsi, %rdx
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movsd	-112(%rbp), %xmm2
	movsd	-104(%rbp), %xmm0
	movq	-128(%rbp), %rax
	movsd	-120(%rbp), %xmm1
	movl	$2, %edi
	movapd	%xmm0, %xmm3
	movq	%rax, %xmm0
	call	VectorAddition
	movq	%xmm0, %rax
	movapd	%xmm1, %xmm0
	movq	%rax, -64(%rbp)
	movsd	%xmm0, -56(%rbp)
	movq	-64(%rbp), %rax
	movsd	-56(%rbp), %xmm1
	movq	%rax, %xmm0
	call	VectorSize
	movq	%xmm0, %rax
	movq	%rax, -48(%rbp)
	movl	$0, -136(%rbp)
	jmp	.L2
.L6:
	leaq	-96(%rbp), %rax
	leaq	8(%rax), %rdx
	leaq	-96(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movsd	-96(%rbp), %xmm2
	movsd	-88(%rbp), %xmm0
	movq	-128(%rbp), %rax
	movsd	-120(%rbp), %xmm1
	movl	$2, %edi
	movapd	%xmm0, %xmm3
	movq	%rax, %xmm0
	call	VectorAddition
	movq	%xmm0, %rax
	movapd	%xmm1, %xmm0
	movq	%rax, -32(%rbp)
	movsd	%xmm0, -24(%rbp)
	movq	-32(%rbp), %rax
	movsd	-24(%rbp), %xmm1
	movq	%rax, %xmm0
	call	VectorSize
	movq	%xmm0, %rax
	movq	%rax, -16(%rbp)
	movsd	-32(%rbp), %xmm2
	movsd	-24(%rbp), %xmm0
	movq	-64(%rbp), %rax
	movsd	-56(%rbp), %xmm1
	movapd	%xmm0, %xmm3
	movq	%rax, %xmm0
	call	Range
	pxor	%xmm1, %xmm1
	comisd	%xmm0, %xmm1
	jbe	.L10
	movsd	-128(%rbp), %xmm4
	movsd	%xmm4, -152(%rbp)
	movsd	-32(%rbp), %xmm2
	movsd	-24(%rbp), %xmm0
	movq	-64(%rbp), %rax
	movsd	-56(%rbp), %xmm1
	movapd	%xmm0, %xmm3
	movq	%rax, %xmm0
	call	Vectormultiplication
	movq	%xmm0, %rax
	movq	.LC3(%rip), %xmm0
	movq	%rax, %xmm4
	andpd	%xmm0, %xmm4
	movsd	%xmm4, -160(%rbp)
	movq	-48(%rbp), %rax
	movsd	.LC4(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movsd	-160(%rbp), %xmm1
	divsd	%xmm0, %xmm1
	movsd	-64(%rbp), %xmm0
	mulsd	%xmm0, %xmm1
	movsd	-152(%rbp), %xmm0
	subsd	%xmm1, %xmm0
	movsd	%xmm0, -80(%rbp)
	movsd	-120(%rbp), %xmm5
	movsd	%xmm5, -152(%rbp)
	movsd	-32(%rbp), %xmm2
	movsd	-24(%rbp), %xmm0
	movq	-64(%rbp), %rax
	movsd	-56(%rbp), %xmm1
	movapd	%xmm0, %xmm3
	movq	%rax, %xmm0
	call	Vectormultiplication
	movq	%xmm0, %rax
	movq	.LC3(%rip), %xmm0
	movq	%rax, %xmm5
	andpd	%xmm0, %xmm5
	movsd	%xmm5, -160(%rbp)
	movq	-48(%rbp), %rax
	movsd	.LC4(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movsd	-160(%rbp), %xmm1
	divsd	%xmm0, %xmm1
	movsd	-56(%rbp), %xmm0
	mulsd	%xmm0, %xmm1
	movsd	-152(%rbp), %xmm0
	subsd	%xmm1, %xmm0
	movsd	%xmm0, -72(%rbp)
	jmp	.L5
.L10:
	movsd	-32(%rbp), %xmm2
	movsd	-24(%rbp), %xmm0
	movq	-64(%rbp), %rax
	movsd	-56(%rbp), %xmm1
	movapd	%xmm0, %xmm3
	movq	%rax, %xmm0
	call	Vectormultiplication
	movq	%xmm0, %rax
	movq	.LC3(%rip), %xmm0
	movq	%rax, %xmm6
	andpd	%xmm0, %xmm6
	movsd	%xmm6, -152(%rbp)
	movq	-48(%rbp), %rax
	movsd	.LC4(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movsd	-152(%rbp), %xmm1
	divsd	%xmm0, %xmm1
	movsd	-64(%rbp), %xmm0
	mulsd	%xmm0, %xmm1
	movsd	-128(%rbp), %xmm0
	addsd	%xmm1, %xmm0
	movsd	%xmm0, -80(%rbp)
	movsd	-32(%rbp), %xmm2
	movsd	-24(%rbp), %xmm0
	movq	-64(%rbp), %rax
	movsd	-56(%rbp), %xmm1
	movapd	%xmm0, %xmm3
	movq	%rax, %xmm0
	call	Vectormultiplication
	movq	%xmm0, %rax
	movq	.LC3(%rip), %xmm0
	movq	%rax, %xmm7
	andpd	%xmm0, %xmm7
	movsd	%xmm7, -152(%rbp)
	movq	-48(%rbp), %rax
	movsd	.LC4(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movsd	-152(%rbp), %xmm1
	divsd	%xmm0, %xmm1
	movsd	-56(%rbp), %xmm0
	mulsd	%xmm0, %xmm1
	movsd	-120(%rbp), %xmm0
	addsd	%xmm1, %xmm0
	movsd	%xmm0, -72(%rbp)
.L5:
	movsd	-72(%rbp), %xmm0
	movq	-80(%rbp), %rax
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	leaq	.LC5(%rip), %rax
	movq	%rax, %rdi
	movl	$2, %eax
	call	printf@PLT
	addl	$1, -136(%rbp)
.L2:
	movl	-140(%rbp), %eax
	cmpl	%eax, -136(%rbp)
	jl	.L6
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	VectorAddition
	.type	VectorAddition, @function
VectorAddition:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%rbx
	.cfi_offset 3, -24
	movq	%xmm0, %rcx
	movapd	%xmm1, %xmm0
	movl	$0, %eax
	movl	$0, %edx
	movq	%rcx, %rax
	movq	%xmm0, %rdx
	movq	%rax, -48(%rbp)
	movq	%rdx, -40(%rbp)
	movapd	%xmm2, %xmm1
	movapd	%xmm3, %xmm0
	movl	$0, %eax
	movl	$0, %edx
	movq	%xmm1, %rax
	movq	%xmm0, %rdx
	movq	%rax, -64(%rbp)
	movq	%rdx, -56(%rbp)
	movl	%edi, -68(%rbp)
	cmpl	$1, -68(%rbp)
	je	.L12
	cmpl	$2, -68(%rbp)
	je	.L13
	jmp	.L14
.L12:
	movsd	-64(%rbp), %xmm1
	movsd	-48(%rbp), %xmm0
	addsd	%xmm1, %xmm0
	movsd	%xmm0, -32(%rbp)
	movsd	-56(%rbp), %xmm1
	movsd	-40(%rbp), %xmm0
	addsd	%xmm1, %xmm0
	movsd	%xmm0, -24(%rbp)
	jmp	.L14
.L13:
	movsd	-64(%rbp), %xmm0
	movsd	-48(%rbp), %xmm1
	subsd	%xmm1, %xmm0
	movsd	%xmm0, -32(%rbp)
	movsd	-56(%rbp), %xmm0
	movsd	-40(%rbp), %xmm1
	subsd	%xmm1, %xmm0
	movsd	%xmm0, -24(%rbp)
	nop
.L14:
	movq	-32(%rbp), %rax
	movq	-24(%rbp), %rdx
	movq	%rax, %rsi
	movq	%rdx, %rdi
	movq	%rax, %rcx
	movq	%rdx, %rbx
	movq	%rsi, %rax
	movq	%rbx, %xmm1
	movq	%rax, %xmm0
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	VectorAddition, .-VectorAddition
	.globl	Vectormultiplication
	.type	Vectormultiplication, @function
Vectormultiplication:
.LFB2:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%xmm0, %rcx
	movapd	%xmm1, %xmm0
	movl	$0, %eax
	movl	$0, %edx
	movq	%rcx, %rax
	movq	%xmm0, %rdx
	movq	%rax, -48(%rbp)
	movq	%rdx, -40(%rbp)
	movapd	%xmm2, %xmm1
	movapd	%xmm3, %xmm0
	movl	$0, %eax
	movl	$0, %edx
	movq	%xmm1, %rax
	movq	%xmm0, %rdx
	movq	%rax, -64(%rbp)
	movq	%rdx, -56(%rbp)
	movsd	-48(%rbp), %xmm1
	movsd	-64(%rbp), %xmm0
	mulsd	%xmm1, %xmm0
	movsd	%xmm0, -16(%rbp)
	movsd	-40(%rbp), %xmm1
	movsd	-56(%rbp), %xmm0
	mulsd	%xmm1, %xmm0
	movsd	%xmm0, -8(%rbp)
	movsd	-16(%rbp), %xmm1
	movsd	-8(%rbp), %xmm0
	addsd	%xmm1, %xmm0
	movsd	%xmm0, -24(%rbp)
	movsd	-24(%rbp), %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	Vectormultiplication, .-Vectormultiplication
	.globl	VectorSize
	.type	VectorSize, @function
VectorSize:
.LFB3:
	.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
	movq	%xmm0, %rcx
	movapd	%xmm1, %xmm0
	movl	$0, %eax
	movl	$0, %edx
	movq	%rcx, %rax
	movq	%xmm0, %rdx
	movq	%rax, -16(%rbp)
	movq	%rdx, -8(%rbp)
	movq	-16(%rbp), %rax
	movsd	.LC4(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movsd	%xmm0, -24(%rbp)
	movq	-8(%rbp), %rax
	movsd	.LC4(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movapd	%xmm0, %xmm2
	addsd	-24(%rbp), %xmm2
	movq	%xmm2, %rax
	movq	%rax, %xmm0
	call	sqrt@PLT
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	VectorSize, .-VectorSize
	.globl	Range
	.type	Range, @function
Range:
.LFB4:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset 3, -24
	movq	%xmm0, %rcx
	movapd	%xmm1, %xmm0
	movl	$0, %eax
	movl	$0, %edx
	movq	%rcx, %rax
	movq	%xmm0, %rdx
	movq	%rax, -32(%rbp)
	movq	%rdx, -24(%rbp)
	movapd	%xmm2, %xmm1
	movapd	%xmm3, %xmm0
	movl	$0, %eax
	movl	$0, %edx
	movq	%xmm1, %rax
	movq	%xmm0, %rdx
	movq	%rax, -48(%rbp)
	movq	%rdx, -40(%rbp)
	movsd	-48(%rbp), %xmm2
	movsd	-40(%rbp), %xmm0
	movq	-32(%rbp), %rax
	movsd	-24(%rbp), %xmm1
	movapd	%xmm0, %xmm3
	movq	%rax, %xmm0
	call	Vectormultiplication
	movq	%xmm0, %rbx
	movq	-32(%rbp), %rax
	movsd	-24(%rbp), %xmm1
	movq	%rax, %xmm0
	call	VectorSize
	movsd	%xmm0, -56(%rbp)
	movq	-48(%rbp), %rax
	movsd	-40(%rbp), %xmm1
	movq	%rax, %xmm0
	call	VectorSize
	mulsd	-56(%rbp), %xmm0
	movq	%rbx, %xmm1
	divsd	%xmm0, %xmm1
	movq	%xmm1, %rax
	movq	%rax, %xmm0
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	Range, .-Range
	.section	.rodata
	.align 16
.LC3:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.align 8
.LC4:
	.long	0
	.long	1073741824
	.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
	.section	.rodata
.LC0:
	.string	"%lf %lf %lf %lf %d"
.LC1:
	.string	"%lf %lf"
.LC5:
	.string	"%.9lf %.9lf\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	$160, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -132(%rbp)
	leaq	-140(%rbp), %rcx
	leaq	-112(%rbp), %rax
	leaq	8(%rax), %rdi
	leaq	-112(%rbp), %rdx
	leaq	-128(%rbp), %rax
	leaq	8(%rax), %rsi
	leaq	-128(%rbp), %rax
	movq	%rcx, %r9
	movq	%rdi, %r8
	movq	%rdx, %rcx
	movq	%rsi, %rdx
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movsd	-112(%rbp), %xmm2
	movsd	-104(%rbp), %xmm0
	movq	-128(%rbp), %rax
	movsd	-120(%rbp), %xmm1
	movl	$2, %edi
	movapd	%xmm0, %xmm3
	movq	%rax, %xmm0
	call	VectorAddition
	movq	%xmm0, %rax
	movapd	%xmm1, %xmm0
	movq	%rax, -64(%rbp)
	movsd	%xmm0, -56(%rbp)
	movq	-64(%rbp), %rax
	movsd	-56(%rbp), %xmm1
	movq	%rax, %xmm0
	call	VectorSize
	movq	%xmm0, %rax
	movq	%rax, -48(%rbp)
	movl	$0, -136(%rbp)
	jmp	.L2
.L6:
	leaq	-96(%rbp), %rax
	leaq	8(%rax), %rdx
	leaq	-96(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movsd	-96(%rbp), %xmm2
	movsd	-88(%rbp), %xmm0
	movq	-128(%rbp), %rax
	movsd	-120(%rbp), %xmm1
	movl	$2, %edi
	movapd	%xmm0, %xmm3
	movq	%rax, %xmm0
	call	VectorAddition
	movq	%xmm0, %rax
	movapd	%xmm1, %xmm0
	movq	%rax, -32(%rbp)
	movsd	%xmm0, -24(%rbp)
	movq	-32(%rbp), %rax
	movsd	-24(%rbp), %xmm1
	movq	%rax, %xmm0
	call	VectorSize
	movq	%xmm0, %rax
	movq	%rax, -16(%rbp)
	movsd	-32(%rbp), %xmm2
	movsd	-24(%rbp), %xmm0
	movq	-64(%rbp), %rax
	movsd	-56(%rbp), %xmm1
	movapd	%xmm0, %xmm3
	movq	%rax, %xmm0
	call	Range
	pxor	%xmm1, %xmm1
	comisd	%xmm0, %xmm1
	jbe	.L10
	movsd	-128(%rbp), %xmm4
	movsd	%xmm4, -152(%rbp)
	movsd	-32(%rbp), %xmm2
	movsd	-24(%rbp), %xmm0
	movq	-64(%rbp), %rax
	movsd	-56(%rbp), %xmm1
	movapd	%xmm0, %xmm3
	movq	%rax, %xmm0
	call	Vectormultiplication
	movq	%xmm0, %rax
	movq	.LC3(%rip), %xmm0
	movq	%rax, %xmm4
	andpd	%xmm0, %xmm4
	movsd	%xmm4, -160(%rbp)
	movq	-48(%rbp), %rax
	movsd	.LC4(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movsd	-160(%rbp), %xmm1
	divsd	%xmm0, %xmm1
	movsd	-64(%rbp), %xmm0
	mulsd	%xmm0, %xmm1
	movsd	-152(%rbp), %xmm0
	subsd	%xmm1, %xmm0
	movsd	%xmm0, -80(%rbp)
	movsd	-120(%rbp), %xmm5
	movsd	%xmm5, -152(%rbp)
	movsd	-32(%rbp), %xmm2
	movsd	-24(%rbp), %xmm0
	movq	-64(%rbp), %rax
	movsd	-56(%rbp), %xmm1
	movapd	%xmm0, %xmm3
	movq	%rax, %xmm0
	call	Vectormultiplication
	movq	%xmm0, %rax
	movq	.LC3(%rip), %xmm0
	movq	%rax, %xmm5
	andpd	%xmm0, %xmm5
	movsd	%xmm5, -160(%rbp)
	movq	-48(%rbp), %rax
	movsd	.LC4(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movsd	-160(%rbp), %xmm1
	divsd	%xmm0, %xmm1
	movsd	-56(%rbp), %xmm0
	mulsd	%xmm0, %xmm1
	movsd	-152(%rbp), %xmm0
	subsd	%xmm1, %xmm0
	movsd	%xmm0, -72(%rbp)
	jmp	.L5
.L10:
	movsd	-32(%rbp), %xmm2
	movsd	-24(%rbp), %xmm0
	movq	-64(%rbp), %rax
	movsd	-56(%rbp), %xmm1
	movapd	%xmm0, %xmm3
	movq	%rax, %xmm0
	call	Vectormultiplication
	movq	%xmm0, %rax
	movq	.LC3(%rip), %xmm0
	movq	%rax, %xmm6
	andpd	%xmm0, %xmm6
	movsd	%xmm6, -152(%rbp)
	movq	-48(%rbp), %rax
	movsd	.LC4(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movsd	-152(%rbp), %xmm1
	divsd	%xmm0, %xmm1
	movsd	-64(%rbp), %xmm0
	mulsd	%xmm0, %xmm1
	movsd	-128(%rbp), %xmm0
	addsd	%xmm1, %xmm0
	movsd	%xmm0, -80(%rbp)
	movsd	-32(%rbp), %xmm2
	movsd	-24(%rbp), %xmm0
	movq	-64(%rbp), %rax
	movsd	-56(%rbp), %xmm1
	movapd	%xmm0, %xmm3
	movq	%rax, %xmm0
	call	Vectormultiplication
	movq	%xmm0, %rax
	movq	.LC3(%rip), %xmm0
	movq	%rax, %xmm7
	andpd	%xmm0, %xmm7
	movsd	%xmm7, -152(%rbp)
	movq	-48(%rbp), %rax
	movsd	.LC4(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movsd	-152(%rbp), %xmm1
	divsd	%xmm0, %xmm1
	movsd	-56(%rbp), %xmm0
	mulsd	%xmm0, %xmm1
	movsd	-120(%rbp), %xmm0
	addsd	%xmm1, %xmm0
	movsd	%xmm0, -72(%rbp)
.L5:
	movsd	-72(%rbp), %xmm0
	movq	-80(%rbp), %rax
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	leaq	.LC5(%rip), %rax
	movq	%rax, %rdi
	movl	$2, %eax
	call	printf@PLT
	addl	$1, -136(%rbp)
.L2:
	movl	-140(%rbp), %eax
	cmpl	%eax, -136(%rbp)
	jl	.L6
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	VectorAddition
	.type	VectorAddition, @function
VectorAddition:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%rbx
	.cfi_offset 3, -24
	movq	%xmm0, %rcx
	movapd	%xmm1, %xmm0
	movl	$0, %eax
	movl	$0, %edx
	movq	%rcx, %rax
	movq	%xmm0, %rdx
	movq	%rax, -48(%rbp)
	movq	%rdx, -40(%rbp)
	movapd	%xmm2, %xmm1
	movapd	%xmm3, %xmm0
	movl	$0, %eax
	movl	$0, %edx
	movq	%xmm1, %rax
	movq	%xmm0, %rdx
	movq	%rax, -64(%rbp)
	movq	%rdx, -56(%rbp)
	movl	%edi, -68(%rbp)
	cmpl	$1, -68(%rbp)
	je	.L12
	cmpl	$2, -68(%rbp)
	je	.L13
	jmp	.L14
.L12:
	movsd	-64(%rbp), %xmm1
	movsd	-48(%rbp), %xmm0
	addsd	%xmm1, %xmm0
	movsd	%xmm0, -32(%rbp)
	movsd	-56(%rbp), %xmm1
	movsd	-40(%rbp), %xmm0
	addsd	%xmm1, %xmm0
	movsd	%xmm0, -24(%rbp)
	jmp	.L14
.L13:
	movsd	-64(%rbp), %xmm0
	movsd	-48(%rbp), %xmm1
	subsd	%xmm1, %xmm0
	movsd	%xmm0, -32(%rbp)
	movsd	-56(%rbp), %xmm0
	movsd	-40(%rbp), %xmm1
	subsd	%xmm1, %xmm0
	movsd	%xmm0, -24(%rbp)
	nop
.L14:
	movq	-32(%rbp), %rax
	movq	-24(%rbp), %rdx
	movq	%rax, %rsi
	movq	%rdx, %rdi
	movq	%rax, %rcx
	movq	%rdx, %rbx
	movq	%rsi, %rax
	movq	%rbx, %xmm1
	movq	%rax, %xmm0
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	VectorAddition, .-VectorAddition
	.globl	Vectormultiplication
	.type	Vectormultiplication, @function
Vectormultiplication:
.LFB2:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%xmm0, %rcx
	movapd	%xmm1, %xmm0
	movl	$0, %eax
	movl	$0, %edx
	movq	%rcx, %rax
	movq	%xmm0, %rdx
	movq	%rax, -48(%rbp)
	movq	%rdx, -40(%rbp)
	movapd	%xmm2, %xmm1
	movapd	%xmm3, %xmm0
	movl	$0, %eax
	movl	$0, %edx
	movq	%xmm1, %rax
	movq	%xmm0, %rdx
	movq	%rax, -64(%rbp)
	movq	%rdx, -56(%rbp)
	movsd	-48(%rbp), %xmm1
	movsd	-64(%rbp), %xmm0
	mulsd	%xmm1, %xmm0
	movsd	%xmm0, -16(%rbp)
	movsd	-40(%rbp), %xmm1
	movsd	-56(%rbp), %xmm0
	mulsd	%xmm1, %xmm0
	movsd	%xmm0, -8(%rbp)
	movsd	-16(%rbp), %xmm1
	movsd	-8(%rbp), %xmm0
	addsd	%xmm1, %xmm0
	movsd	%xmm0, -24(%rbp)
	movsd	-24(%rbp), %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	Vectormultiplication, .-Vectormultiplication
	.globl	VectorSize
	.type	VectorSize, @function
VectorSize:
.LFB3:
	.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
	movq	%xmm0, %rcx
	movapd	%xmm1, %xmm0
	movl	$0, %eax
	movl	$0, %edx
	movq	%rcx, %rax
	movq	%xmm0, %rdx
	movq	%rax, -16(%rbp)
	movq	%rdx, -8(%rbp)
	movq	-16(%rbp), %rax
	movsd	.LC4(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movsd	%xmm0, -24(%rbp)
	movq	-8(%rbp), %rax
	movsd	.LC4(%rip), %xmm0
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movapd	%xmm0, %xmm2
	addsd	-24(%rbp), %xmm2
	movq	%xmm2, %rax
	movq	%rax, %xmm0
	call	sqrt@PLT
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	VectorSize, .-VectorSize
	.globl	Range
	.type	Range, @function
Range:
.LFB4:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset 3, -24
	movq	%xmm0, %rcx
	movapd	%xmm1, %xmm0
	movl	$0, %eax
	movl	$0, %edx
	movq	%rcx, %rax
	movq	%xmm0, %rdx
	movq	%rax, -32(%rbp)
	movq	%rdx, -24(%rbp)
	movapd	%xmm2, %xmm1
	movapd	%xmm3, %xmm0
	movl	$0, %eax
	movl	$0, %edx
	movq	%xmm1, %rax
	movq	%xmm0, %rdx
	movq	%rax, -48(%rbp)
	movq	%rdx, -40(%rbp)
	movsd	-48(%rbp), %xmm2
	movsd	-40(%rbp), %xmm0
	movq	-32(%rbp), %rax
	movsd	-24(%rbp), %xmm1
	movapd	%xmm0, %xmm3
	movq	%rax, %xmm0
	call	Vectormultiplication
	movq	%xmm0, %rbx
	movq	-32(%rbp), %rax
	movsd	-24(%rbp), %xmm1
	movq	%rax, %xmm0
	call	VectorSize
	movsd	%xmm0, -56(%rbp)
	movq	-48(%rbp), %rax
	movsd	-40(%rbp), %xmm1
	movq	%rax, %xmm0
	call	VectorSize
	mulsd	-56(%rbp), %xmm0
	movq	%rbx, %xmm1
	divsd	%xmm0, %xmm1
	movq	%xmm1, %rax
	movq	%rax, %xmm0
	movq	-8(%rbp), %rbx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	Range, .-Range
	.section	.rodata
	.align 16
.LC3:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.align 8
.LC4:
	.long	0
	.long	1073741824
	.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:
