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>
double map[98][21];
int main(void){
    int n,i,line[100],o;
    scanf("%d",&n);
    for(i=0;i<n;i++){
        scanf("%d",&line[i]);
    }
    map[0][line[0]]=1;
    for(i=1;i<n-1;i++){
        for(o=0;o<21;o++){
            if(o-line[i]>=0)
                map[i][o-line[i]]+=map[i-1][o];
            if(o+line[i] < 21)
                map[i][o+line[i]]+=map[i-1][o];
        }
    }
    printf("%.0f\n",map[n-2][line[n-1]]);
    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	map
	.bss
	.align 32
	.type	map, @object
	.size	map, 16464
map:
	.zero	16464
	.section	.rodata
.LC0:
	.string	"%d"
.LC2:
	.string	"%.0f\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	$432, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-428(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -424(%rbp)
	jmp	.L2
.L3:
	leaq	-416(%rbp), %rdx
	movl	-424(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -424(%rbp)
.L2:
	movl	-428(%rbp), %eax
	cmpl	%eax, -424(%rbp)
	jl	.L3
	movl	-416(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	map(%rip), %rax
	movsd	.LC1(%rip), %xmm0
	movsd	%xmm0, (%rdx,%rax)
	movl	$1, -424(%rbp)
	jmp	.L4
.L9:
	movl	$0, -420(%rbp)
	jmp	.L5
.L8:
	movl	-424(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %edx
	movl	-420(%rbp), %eax
	subl	%edx, %eax
	testl	%eax, %eax
	js	.L6
	movl	-424(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %edx
	movl	-420(%rbp), %eax
	subl	%edx, %eax
	movslq	%eax, %rcx
	movl	-424(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,8), %rdx
	leaq	map(%rip), %rax
	movsd	(%rdx,%rax), %xmm1
	movl	-424(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-420(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,8), %rdx
	leaq	map(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	movl	-424(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %edx
	movl	-420(%rbp), %eax
	subl	%edx, %eax
	addsd	%xmm1, %xmm0
	movslq	%eax, %rcx
	movl	-424(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,8), %rdx
	leaq	map(%rip), %rax
	movsd	%xmm0, (%rdx,%rax)
.L6:
	movl	-424(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %edx
	movl	-420(%rbp), %eax
	addl	%edx, %eax
	cmpl	$20, %eax
	jg	.L7
	movl	-424(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %edx
	movl	-420(%rbp), %eax
	addl	%edx, %eax
	movslq	%eax, %rcx
	movl	-424(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,8), %rdx
	leaq	map(%rip), %rax
	movsd	(%rdx,%rax), %xmm1
	movl	-424(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-420(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,8), %rdx
	leaq	map(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	movl	-424(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %edx
	movl	-420(%rbp), %eax
	addl	%edx, %eax
	addsd	%xmm1, %xmm0
	movslq	%eax, %rcx
	movl	-424(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,8), %rdx
	leaq	map(%rip), %rax
	movsd	%xmm0, (%rdx,%rax)
.L7:
	addl	$1, -420(%rbp)
.L5:
	cmpl	$20, -420(%rbp)
	jle	.L8
	addl	$1, -424(%rbp)
.L4:
	movl	-428(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -424(%rbp)
	jl	.L9
	movl	-428(%rbp), %eax
	leal	-2(%rax), %edx
	movl	-428(%rbp), %eax
	subl	$1, %eax
	cltq
	movl	-416(%rbp,%rax,4), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,8), %rdx
	leaq	map(%rip), %rax
	movq	(%rdx,%rax), %rax
	movq	%rax, %xmm0
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$1, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC1:
	.long	0
	.long	1072693248
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
user
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC2:
	.string	"%.0f\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
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	.LC0(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	movq	%r13, %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$456, %rsp
	.cfi_def_cfa_offset 512
	movq	%fs:40, %rax
	movq	%rax, 440(%rsp)
	xorl	%eax, %eax
	leaq	28(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %ebx
	testl	%ebx, %ebx
	jle	.L2
	leaq	32(%rsp), %r12
	xorl	%ebp, %ebp
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r12, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebp
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %ebx
	addq	$4, %r12
	cmpl	%ebp, %ebx
	jg	.L3
.L2:
	movslq	32(%rsp), %rax
	movq	.LC1(%rip), %rdi
	leaq	map(%rip), %r13
	movq	%rdi, 0(%r13,%rax,8)
	leal	-1(%rbx), %eax
	movl	%eax, 12(%rsp)
	cmpl	$1, %eax
	jle	.L4
	leal	-3(%rbx), %eax
	leaq	36(%rsp), %r12
	xorl	%r8d, %r8d
	movq	$-168, %rbp
	leaq	(%rax,%rax,4), %rdx
	movl	$21, %r11d
	movl	$21, %r14d
	leaq	42(%rax,%rdx,4), %r15
	.p2align 4,,10
	.p2align 3
.L8:
	movslq	(%r12), %r10
	movl	%r14d, %r9d
	movl	%r10d, %edx
	movq	%r10, %rcx
	movq	%r10, %rsi
	subl	%r10d, %r9d
	negq	%rcx
	negl	%edx
	leaq	(%r10,%r11), %rax
	addl	%esi, %esi
	leaq	0(%rbp,%rcx,8), %rdi
	movslq	%edx, %rcx
	leaq	0(%r13,%rax,8), %rax
	subq	%r10, %rcx
	.p2align 4,,10
	.p2align 3
.L7:
	testl	%edx, %edx
	js	.L5
	leaq	(%rax,%rdi), %r10
	movsd	(%rax,%rcx,8), %xmm0
	addsd	(%r10,%r8), %xmm0
	movsd	%xmm0, (%rax,%rcx,8)
.L5:
	leal	(%rdx,%rsi), %r10d
	cmpl	$20, %r10d
	jg	.L6
	leaq	(%rax,%rdi), %r10
	movsd	(%rax), %xmm0
	addsd	(%r10,%r8), %xmm0
	movsd	%xmm0, (%rax)
.L6:
	addl	$1, %edx
	addq	$8, %rax
	cmpl	%r9d, %edx
	jne	.L7
	addq	$21, %r11
	addq	$4, %r12
	subq	$168, %rbp
	addq	$168, %r8
	cmpq	%r15, %r11
	jne	.L8
.L4:
	movslq	12(%rsp), %rax
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	movslq	32(%rsp,%rax,4), %rdx
	leal	-2(%rbx), %eax
	cltq
	leaq	(%rax,%rax,4), %rcx
	leaq	(%rax,%rcx,4), %rax
	addq	%rdx, %rax
	movsd	0(%r13,%rax,8), %xmm0
	movl	$1, %eax
	call	__printf_chk@PLT
	movq	440(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L15
	addq	$456, %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
.L15:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.globl	map
	.bss
	.align 32
	.type	map, @object
	.size	map, 16464
map:
	.zero	16464
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC1:
	.long	0
	.long	1072693248
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:

rule
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC2:
	.string	"%.0f\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
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	.LC0(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	movq	%r13, %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$456, %rsp
	.cfi_def_cfa_offset 512
	movq	%fs:40, %rax
	movq	%rax, 440(%rsp)
	xorl	%eax, %eax
	leaq	28(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %ebx
	testl	%ebx, %ebx
	jle	.L2
	leaq	32(%rsp), %r12
	xorl	%ebp, %ebp
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r12, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebp
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %ebx
	addq	$4, %r12
	cmpl	%ebp, %ebx
	jg	.L3
.L2:
	movslq	32(%rsp), %rax
	movq	.LC1(%rip), %rdi
	leaq	map(%rip), %r13
	movq	%rdi, 0(%r13,%rax,8)
	leal	-1(%rbx), %eax
	movl	%eax, 12(%rsp)
	cmpl	$1, %eax
	jle	.L4
	leal	-3(%rbx), %eax
	leaq	36(%rsp), %r12
	xorl	%r8d, %r8d
	movq	$-168, %rbp
	leaq	(%rax,%rax,4), %rdx
	movl	$21, %r11d
	movl	$21, %r14d
	leaq	42(%rax,%rdx,4), %r15
	.p2align 4,,10
	.p2align 3
.L8:
	movslq	(%r12), %r10
	movl	%r14d, %r9d
	movl	%r10d, %edx
	movq	%r10, %rcx
	movq	%r10, %rsi
	subl	%r10d, %r9d
	negq	%rcx
	negl	%edx
	leaq	(%r10,%r11), %rax
	addl	%esi, %esi
	leaq	0(%rbp,%rcx,8), %rdi
	movslq	%edx, %rcx
	leaq	0(%r13,%rax,8), %rax
	subq	%r10, %rcx
	.p2align 4,,10
	.p2align 3
.L7:
	testl	%edx, %edx
	js	.L5
	leaq	(%rax,%rdi), %r10
	movsd	(%rax,%rcx,8), %xmm0
	addsd	(%r10,%r8), %xmm0
	movsd	%xmm0, (%rax,%rcx,8)
.L5:
	leal	(%rdx,%rsi), %r10d
	cmpl	$20, %r10d
	jg	.L6
	leaq	(%rax,%rdi), %r10
	movsd	(%rax), %xmm0
	addsd	(%r10,%r8), %xmm0
	movsd	%xmm0, (%rax)
.L6:
	addl	$1, %edx
	addq	$8, %rax
	cmpl	%r9d, %edx
	jne	.L7
	addq	$21, %r11
	addq	$4, %r12
	subq	$168, %rbp
	addq	$168, %r8
	cmpq	%r15, %r11
	jne	.L8
.L4:
	movslq	12(%rsp), %rax
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	movslq	32(%rsp,%rax,4), %rdx
	leal	-2(%rbx), %eax
	cltq
	leaq	(%rax,%rax,4), %rcx
	leaq	(%rax,%rcx,4), %rax
	addq	%rdx, %rax
	movsd	0(%r13,%rax,8), %xmm0
	movl	$1, %eax
	call	__printf_chk@PLT
	movq	440(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L15
	addq	$456, %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
.L15:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.globl	map
	.bss
	.align 32
	.type	map, @object
	.size	map, 16464
map:
	.zero	16464
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC1:
	.long	0
	.long	1072693248
	.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>
double map[98][21];
int main(void){
    int n,i,line[100],o;
    scanf("%d",&n);
    for(i=0;i<n;i++){
        scanf("%d",&line[i]);
    }
    map[0][line[0]]=1;
    for(i=1;i<n-1;i++){
        for(o=0;o<21;o++){
            if(o-line[i]>=0)
                map[i][o-line[i]]+=map[i-1][o];
            if(o+line[i] < 21)
                map[i][o+line[i]]+=map[i-1][o];
        }
    }
    printf("%.0f\n",map[n-2][line[n-1]]);
    return 0;
}
11
8 3 2 4 8 7 2 4 0 8 8

10

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>
double map[98][21];
int main(void){
    int n,i,line[100],o;
    scanf("%d",&n);
    for(i=0;i<n;i++){
        scanf("%d",&line[i]);
    }
    map[0][line[0]]=1;
    for(i=1;i<n-1;i++){
        for(o=0;o<21;o++){
            if(o-line[i]>=0)
                map[i][o-line[i]]+=map[i-1][o];
            if(o+line[i] < 21)
                map[i][o+line[i]]+=map[i-1][o];
        }
    }
    printf("%.0f\n",map[n-2][line[n-1]]);
    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	map
	.bss
	.align 32
	.type	map, @object
	.size	map, 16464
map:
	.zero	16464
	.section	.rodata
.LC0:
	.string	"%d"
.LC2:
	.string	"%.0f\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	$432, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-428(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -424(%rbp)
	jmp	.L2
.L3:
	leaq	-416(%rbp), %rdx
	movl	-424(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -424(%rbp)
.L2:
	movl	-428(%rbp), %eax
	cmpl	%eax, -424(%rbp)
	jl	.L3
	movl	-416(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	map(%rip), %rax
	movsd	.LC1(%rip), %xmm0
	movsd	%xmm0, (%rdx,%rax)
	movl	$1, -424(%rbp)
	jmp	.L4
.L9:
	movl	$0, -420(%rbp)
	jmp	.L5
.L8:
	movl	-424(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %edx
	movl	-420(%rbp), %eax
	subl	%edx, %eax
	testl	%eax, %eax
	js	.L6
	movl	-424(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %edx
	movl	-420(%rbp), %eax
	subl	%edx, %eax
	movslq	%eax, %rcx
	movl	-424(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,8), %rdx
	leaq	map(%rip), %rax
	movsd	(%rdx,%rax), %xmm1
	movl	-424(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-420(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,8), %rdx
	leaq	map(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	movl	-424(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %edx
	movl	-420(%rbp), %eax
	subl	%edx, %eax
	addsd	%xmm1, %xmm0
	movslq	%eax, %rcx
	movl	-424(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,8), %rdx
	leaq	map(%rip), %rax
	movsd	%xmm0, (%rdx,%rax)
.L6:
	movl	-424(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %edx
	movl	-420(%rbp), %eax
	addl	%edx, %eax
	cmpl	$20, %eax
	jg	.L7
	movl	-424(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %edx
	movl	-420(%rbp), %eax
	addl	%edx, %eax
	movslq	%eax, %rcx
	movl	-424(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,8), %rdx
	leaq	map(%rip), %rax
	movsd	(%rdx,%rax), %xmm1
	movl	-424(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-420(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,8), %rdx
	leaq	map(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	movl	-424(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %edx
	movl	-420(%rbp), %eax
	addl	%edx, %eax
	addsd	%xmm1, %xmm0
	movslq	%eax, %rcx
	movl	-424(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,8), %rdx
	leaq	map(%rip), %rax
	movsd	%xmm0, (%rdx,%rax)
.L7:
	addl	$1, -420(%rbp)
.L5:
	cmpl	$20, -420(%rbp)
	jle	.L8
	addl	$1, -424(%rbp)
.L4:
	movl	-428(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -424(%rbp)
	jl	.L9
	movl	-428(%rbp), %eax
	leal	-2(%rax), %edx
	movl	-428(%rbp), %eax
	subl	$1, %eax
	cltq
	movl	-416(%rbp,%rax,4), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,8), %rdx
	leaq	map(%rip), %rax
	movq	(%rdx,%rax), %rax
	movq	%rax, %xmm0
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$1, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC1:
	.long	0
	.long	1072693248
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
train
	.file	"temp.c"
	.text
	.globl	map
	.bss
	.align 32
	.type	map, @object
	.size	map, 16464
map:
	.zero	16464
	.section	.rodata
.LC0:
	.string	"%d"
.LC2:
	.string	"%.0f\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	$432, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-428(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -424(%rbp)
	jmp	.L2
.L3:
	leaq	-416(%rbp), %rdx
	movl	-424(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -424(%rbp)
.L2:
	movl	-428(%rbp), %eax
	cmpl	%eax, -424(%rbp)
	jl	.L3
	movl	-416(%rbp), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	map(%rip), %rax
	movsd	.LC1(%rip), %xmm0
	movsd	%xmm0, (%rdx,%rax)
	movl	$1, -424(%rbp)
	jmp	.L4
.L9:
	movl	$0, -420(%rbp)
	jmp	.L5
.L8:
	movl	-424(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %edx
	movl	-420(%rbp), %eax
	subl	%edx, %eax
	testl	%eax, %eax
	js	.L6
	movl	-424(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %edx
	movl	-420(%rbp), %eax
	subl	%edx, %eax
	movslq	%eax, %rcx
	movl	-424(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,8), %rdx
	leaq	map(%rip), %rax
	movsd	(%rdx,%rax), %xmm1
	movl	-424(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-420(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,8), %rdx
	leaq	map(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	movl	-424(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %edx
	movl	-420(%rbp), %eax
	subl	%edx, %eax
	addsd	%xmm1, %xmm0
	movslq	%eax, %rcx
	movl	-424(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,8), %rdx
	leaq	map(%rip), %rax
	movsd	%xmm0, (%rdx,%rax)
.L6:
	movl	-424(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %edx
	movl	-420(%rbp), %eax
	addl	%edx, %eax
	cmpl	$20, %eax
	jg	.L7
	movl	-424(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %edx
	movl	-420(%rbp), %eax
	addl	%edx, %eax
	movslq	%eax, %rcx
	movl	-424(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,8), %rdx
	leaq	map(%rip), %rax
	movsd	(%rdx,%rax), %xmm1
	movl	-424(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-420(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,8), %rdx
	leaq	map(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	movl	-424(%rbp), %eax
	cltq
	movl	-416(%rbp,%rax,4), %edx
	movl	-420(%rbp), %eax
	addl	%edx, %eax
	addsd	%xmm1, %xmm0
	movslq	%eax, %rcx
	movl	-424(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,8), %rdx
	leaq	map(%rip), %rax
	movsd	%xmm0, (%rdx,%rax)
.L7:
	addl	$1, -420(%rbp)
.L5:
	cmpl	$20, -420(%rbp)
	jle	.L8
	addl	$1, -424(%rbp)
.L4:
	movl	-428(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -424(%rbp)
	jl	.L9
	movl	-428(%rbp), %eax
	leal	-2(%rax), %edx
	movl	-428(%rbp), %eax
	subl	$1, %eax
	cltq
	movl	-416(%rbp,%rax,4), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,8), %rdx
	leaq	map(%rip), %rax
	movq	(%rdx,%rax), %rax
	movq	%rax, %xmm0
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$1, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC1:
	.long	0
	.long	1072693248
	.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:
