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>

int cmpnum(const void * n1, const void * n2)
{
	if(*(double *)n1 >*(double *)n2)
	{
		return -1;
	}
	else if(*(double *)n1 < *(double *)n2)
	{
		return 1;
	}
	else
	{
		return 0;
}
}

int main(void)
{
  int i,n;
  double v[51]={0};
  double sum=0;

  scanf("%d",&n);
  for(i=0;i<n;i++)
    scanf("%lf",&v[i]);

  qsort(v, sizeof(v)/ sizeof(v[0]),sizeof(double),cmpnum);

  sum+=v[n-1];
  for(i=0;i<n-1;i++){
    sum+=v[n-2-i];
    sum/=2;
  }
  printf("%lf",sum);

  return 0;

}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	cmpnum
	.type	cmpnum, @function
cmpnum:
.LFB39:
	.cfi_startproc
	endbr64
	movsd	(%rdi), %xmm0
	movsd	(%rsi), %xmm1
	movl	$-1, %eax
	comisd	%xmm1, %xmm0
	ja	.L1
	xorl	%eax, %eax
	comisd	%xmm0, %xmm1
	seta	%al
.L1:
	ret
	.cfi_endproc
.LFE39:
	.size	cmpnum, .-cmpnum
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC2:
	.string	"%lf"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	movl	$51, %ecx
	leaq	.LC2(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	xorl	%ebx, %ebx
	subq	$440, %rsp
	.cfi_def_cfa_offset 480
	movq	%fs:40, %rax
	movq	%rax, 424(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rbp
	leaq	12(%rsp), %rsi
	movq	%rbp, %rdi
	movq	%rbp, %r12
	rep stosq
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L10
	.p2align 4,,10
	.p2align 3
.L9:
	movq	%r12, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	addq	$8, %r12
	cmpl	%ebx, 12(%rsp)
	jg	.L9
.L10:
	leaq	cmpnum(%rip), %rcx
	movl	$8, %edx
	movl	$51, %esi
	movq	%rbp, %rdi
	call	qsort@PLT
	movl	12(%rsp), %edx
	pxor	%xmm0, %xmm0
	leal	-1(%rdx), %eax
	movslq	%eax, %rcx
	addsd	16(%rsp,%rcx,8), %xmm0
	testl	%eax, %eax
	jle	.L8
	movslq	%edx, %rax
	subl	$2, %edx
	movsd	.LC3(%rip), %xmm1
	salq	$3, %rax
	salq	$3, %rdx
	leaq	0(%rbp,%rax), %rdi
	leaq	8(%rsp,%rax), %rax
	subq	%rdx, %rax
	.p2align 4,,10
	.p2align 3
.L11:
	addsd	-16(%rdi), %xmm0
	subq	$8, %rdi
	mulsd	%xmm1, %xmm0
	cmpq	%rax, %rdi
	jne	.L11
.L8:
	movq	%r13, %rsi
	movl	$1, %edi
	movl	$1, %eax
	call	__printf_chk@PLT
	movq	424(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L18
	addq	$440, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L18:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE40:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC3:
	.long	0
	.long	1071644672
	.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
	.p2align 4
	.globl	cmpnum
	.type	cmpnum, @function
cmpnum:
.LFB39:
	.cfi_startproc
	endbr64
	movsd	(%rdi), %xmm0
	movsd	(%rsi), %xmm1
	movl	$-1, %eax
	comisd	%xmm1, %xmm0
	ja	.L1
	xorl	%eax, %eax
	comisd	%xmm0, %xmm1
	seta	%al
.L1:
	ret
	.cfi_endproc
.LFE39:
	.size	cmpnum, .-cmpnum
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC2:
	.string	"%lf"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	movl	$51, %ecx
	leaq	.LC2(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	xorl	%ebx, %ebx
	subq	$440, %rsp
	.cfi_def_cfa_offset 480
	movq	%fs:40, %rax
	movq	%rax, 424(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rbp
	leaq	12(%rsp), %rsi
	movq	%rbp, %rdi
	movq	%rbp, %r12
	rep stosq
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L10
	.p2align 4,,10
	.p2align 3
.L9:
	movq	%r12, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	addq	$8, %r12
	cmpl	%ebx, 12(%rsp)
	jg	.L9
.L10:
	leaq	cmpnum(%rip), %rcx
	movl	$8, %edx
	movl	$51, %esi
	movq	%rbp, %rdi
	call	qsort@PLT
	movl	12(%rsp), %edx
	pxor	%xmm0, %xmm0
	leal	-1(%rdx), %eax
	movslq	%eax, %rcx
	addsd	16(%rsp,%rcx,8), %xmm0
	testl	%eax, %eax
	jle	.L8
	movslq	%edx, %rax
	subl	$2, %edx
	movsd	.LC3(%rip), %xmm1
	salq	$3, %rax
	salq	$3, %rdx
	leaq	0(%rbp,%rax), %rdi
	leaq	8(%rsp,%rax), %rax
	subq	%rdx, %rax
	.p2align 4,,10
	.p2align 3
.L11:
	addsd	-16(%rdi), %xmm0
	subq	$8, %rdi
	mulsd	%xmm1, %xmm0
	cmpq	%rax, %rdi
	jne	.L11
.L8:
	movq	%r13, %rsi
	movl	$1, %edi
	movl	$1, %eax
	call	__printf_chk@PLT
	movq	424(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L18
	addq	$440, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L18:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE40:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC3:
	.long	0
	.long	1071644672
	.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
	.p2align 4
	.globl	cmpnum
	.type	cmpnum, @function
cmpnum:
.LFB39:
	.cfi_startproc
	endbr64
	movsd	(%rdi), %xmm0
	movsd	(%rsi), %xmm1
	movl	$-1, %eax
	comisd	%xmm1, %xmm0
	ja	.L1
	xorl	%eax, %eax
	comisd	%xmm0, %xmm1
	seta	%al
.L1:
	ret
	.cfi_endproc
.LFE39:
	.size	cmpnum, .-cmpnum
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC2:
	.string	"%lf"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	movl	$51, %ecx
	leaq	.LC2(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	xorl	%ebx, %ebx
	subq	$440, %rsp
	.cfi_def_cfa_offset 480
	movq	%fs:40, %rax
	movq	%rax, 424(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rbp
	leaq	12(%rsp), %rsi
	movq	%rbp, %rdi
	movq	%rbp, %r12
	rep stosq
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L10
	.p2align 4,,10
	.p2align 3
.L9:
	movq	%r12, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	addq	$8, %r12
	cmpl	%ebx, 12(%rsp)
	jg	.L9
.L10:
	leaq	cmpnum(%rip), %rcx
	movl	$8, %edx
	movl	$51, %esi
	movq	%rbp, %rdi
	call	qsort@PLT
	movl	12(%rsp), %edx
	pxor	%xmm0, %xmm0
	leal	-1(%rdx), %eax
	movslq	%eax, %rcx
	addsd	16(%rsp,%rcx,8), %xmm0
	testl	%eax, %eax
	jle	.L8
	movslq	%edx, %rax
	subl	$2, %edx
	movsd	.LC3(%rip), %xmm1
	salq	$3, %rax
	salq	$3, %rdx
	leaq	0(%rbp,%rax), %rdi
	leaq	8(%rsp,%rax), %rax
	subq	%rdx, %rax
	.p2align 4,,10
	.p2align 3
.L11:
	addsd	-16(%rdi), %xmm0
	subq	$8, %rdi
	mulsd	%xmm1, %xmm0
	cmpq	%rax, %rdi
	jne	.L11
.L8:
	movq	%r13, %rsi
	movl	$1, %edi
	movl	$1, %eax
	call	__printf_chk@PLT
	movq	424(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L18
	addq	$440, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L18:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE40:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC3:
	.long	0
	.long	1071644672
	.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>

int cmpnum(const void * n1, const void * n2)
{
	if(*(double *)n1 >*(double *)n2)
	{
		return -1;
	}
	else if(*(double *)n1 < *(double *)n2)
	{
		return 1;
	}
	else
	{
		return 0;
}
}

int main(void)
{
  int i,n;
  double v[51]={0};
  double sum=0;

  scanf("%d",&n);
  for(i=0;i<n;i++)
    scanf("%lf",&v[i]);

  qsort(v, sizeof(v)/ sizeof(v[0]),sizeof(double),cmpnum);

  sum+=v[n-1];
  for(i=0;i<n-1;i++){
    sum+=v[n-2-i];
    sum/=2;
  }
  printf("%lf",sum);

  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>

int cmpnum(const void * n1, const void * n2)
{
	if(*(double *)n1 >*(double *)n2)
	{
		return -1;
	}
	else if(*(double *)n1 < *(double *)n2)
	{
		return 1;
	}
	else
	{
		return 0;
}
}

int main(void)
{
  int i,n;
  double v[51]={0};
  double sum=0;

  scanf("%d",&n);
  for(i=0;i<n;i++)
    scanf("%lf",&v[i]);

  qsort(v, sizeof(v)/ sizeof(v[0]),sizeof(double),cmpnum);

  sum+=v[n-1];
  for(i=0;i<n-1;i++){
    sum+=v[n-2-i];
    sum/=2;
  }
  printf("%lf",sum);

  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:

2
1 4
 3
500 300 210
 5
138 138 232 138 138
 2
1 2
 3
500 105 210
 5
138 138 232 218 138
 2
2 4
 3
500 4 210
 5
37 138 232 218 138
 3
500 4 409

2.500000 377.500000 185.000000 1.500000 328.750000 205.000000 3.000000 303.500000 198.687500 353.250000
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>

int cmpnum(const void * n1, const void * n2)
{
	if(*(double *)n1 >*(double *)n2)
	{
		return -1;
	}
	else if(*(double *)n1 < *(double *)n2)
	{
		return 1;
	}
	else
	{
		return 0;
}
}

int main(void)
{
  int i,n;
  double v[51]={0};
  double sum=0;

  scanf("%d",&n);
  for(i=0;i<n;i++)
    scanf("%lf",&v[i]);

  qsort(v, sizeof(v)/ sizeof(v[0]),sizeof(double),cmpnum);

  sum+=v[n-1];
  for(i=0;i<n-1;i++){
    sum+=v[n-2-i];
    sum/=2;
  }
  printf("%lf",sum);

  return 0;

}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	cmpnum
	.type	cmpnum, @function
cmpnum:
.LFB39:
	.cfi_startproc
	endbr64
	movsd	(%rdi), %xmm0
	movsd	(%rsi), %xmm1
	movl	$-1, %eax
	comisd	%xmm1, %xmm0
	ja	.L1
	xorl	%eax, %eax
	comisd	%xmm0, %xmm1
	seta	%al
.L1:
	ret
	.cfi_endproc
.LFE39:
	.size	cmpnum, .-cmpnum
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC2:
	.string	"%lf"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	movl	$51, %ecx
	leaq	.LC2(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	xorl	%ebx, %ebx
	subq	$440, %rsp
	.cfi_def_cfa_offset 480
	movq	%fs:40, %rax
	movq	%rax, 424(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rbp
	leaq	12(%rsp), %rsi
	movq	%rbp, %rdi
	movq	%rbp, %r12
	rep stosq
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L10
	.p2align 4,,10
	.p2align 3
.L9:
	movq	%r12, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	addq	$8, %r12
	cmpl	%ebx, 12(%rsp)
	jg	.L9
.L10:
	leaq	cmpnum(%rip), %rcx
	movl	$8, %edx
	movl	$51, %esi
	movq	%rbp, %rdi
	call	qsort@PLT
	movl	12(%rsp), %edx
	pxor	%xmm0, %xmm0
	leal	-1(%rdx), %eax
	movslq	%eax, %rcx
	addsd	16(%rsp,%rcx,8), %xmm0
	testl	%eax, %eax
	jle	.L8
	movslq	%edx, %rax
	subl	$2, %edx
	movsd	.LC3(%rip), %xmm1
	salq	$3, %rax
	salq	$3, %rdx
	leaq	0(%rbp,%rax), %rdi
	leaq	8(%rsp,%rax), %rax
	subq	%rdx, %rax
	.p2align 4,,10
	.p2align 3
.L11:
	addsd	-16(%rdi), %xmm0
	subq	$8, %rdi
	mulsd	%xmm1, %xmm0
	cmpq	%rax, %rdi
	jne	.L11
.L8:
	movq	%r13, %rsi
	movl	$1, %edi
	movl	$1, %eax
	call	__printf_chk@PLT
	movq	424(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L18
	addq	$440, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L18:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE40:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC3:
	.long	0
	.long	1071644672
	.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
	.p2align 4
	.globl	cmpnum
	.type	cmpnum, @function
cmpnum:
.LFB39:
	.cfi_startproc
	endbr64
	movsd	(%rdi), %xmm0
	movsd	(%rsi), %xmm1
	movl	$-1, %eax
	comisd	%xmm1, %xmm0
	ja	.L1
	xorl	%eax, %eax
	comisd	%xmm0, %xmm1
	seta	%al
.L1:
	ret
	.cfi_endproc
.LFE39:
	.size	cmpnum, .-cmpnum
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC2:
	.string	"%lf"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	movl	$51, %ecx
	leaq	.LC2(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	xorl	%ebx, %ebx
	subq	$440, %rsp
	.cfi_def_cfa_offset 480
	movq	%fs:40, %rax
	movq	%rax, 424(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rbp
	leaq	12(%rsp), %rsi
	movq	%rbp, %rdi
	movq	%rbp, %r12
	rep stosq
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L10
	.p2align 4,,10
	.p2align 3
.L9:
	movq	%r12, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	addq	$8, %r12
	cmpl	%ebx, 12(%rsp)
	jg	.L9
.L10:
	leaq	cmpnum(%rip), %rcx
	movl	$8, %edx
	movl	$51, %esi
	movq	%rbp, %rdi
	call	qsort@PLT
	movl	12(%rsp), %edx
	pxor	%xmm0, %xmm0
	leal	-1(%rdx), %eax
	movslq	%eax, %rcx
	addsd	16(%rsp,%rcx,8), %xmm0
	testl	%eax, %eax
	jle	.L8
	movslq	%edx, %rax
	subl	$2, %edx
	movsd	.LC3(%rip), %xmm1
	salq	$3, %rax
	salq	$3, %rdx
	leaq	0(%rbp,%rax), %rdi
	leaq	8(%rsp,%rax), %rax
	subq	%rdx, %rax
	.p2align 4,,10
	.p2align 3
.L11:
	addsd	-16(%rdi), %xmm0
	subq	$8, %rdi
	mulsd	%xmm1, %xmm0
	cmpq	%rax, %rdi
	jne	.L11
.L8:
	movq	%r13, %rsi
	movl	$1, %edi
	movl	$1, %eax
	call	__printf_chk@PLT
	movq	424(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L18
	addq	$440, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L18:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE40:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC3:
	.long	0
	.long	1071644672
	.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:
```