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>
int main()
{
long int k[20],i,j;
for(i=0;i<20;++i)
{
k[i]=pow(2,i);  
} 
  
double p,n,pp,l,cc,ans;
  ans=0;
int sw;
 scanf("%lf %lf",&n,&l);
  pp=1/n;
  p=0.5;
  
  for(j=1;j<=n;++j)
  {if(l/j<1) sw=0;
    else{
   for(i=0;i<19;++i)
   {
   if(k[i]<(l/j) && (l/j)<=k[i+1]) sw=i+1;
   }
    }
  ans=ans+pp*pow(p,sw);
    sw=0;
  }
  
  
  printf("%.9f",ans);

return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC2:
	.string	"%lf %lf"
.LC5:
	.string	"%.9f"
	.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	$240, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	$0, -216(%rbp)
	jmp	.L2
.L3:
	pxor	%xmm0, %xmm0
	cvtsi2sdq	-216(%rbp), %xmm0
	movq	.LC0(%rip), %rax
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	cvttsd2siq	%xmm0, %rdx
	movq	-216(%rbp), %rax
	movq	%rdx, -176(%rbp,%rax,8)
	addq	$1, -216(%rbp)
.L2:
	cmpq	$19, -216(%rbp)
	jle	.L3
	pxor	%xmm0, %xmm0
	movsd	%xmm0, -200(%rbp)
	leaq	-224(%rbp), %rdx
	leaq	-232(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movsd	-232(%rbp), %xmm1
	movsd	.LC3(%rip), %xmm0
	divsd	%xmm1, %xmm0
	movsd	%xmm0, -192(%rbp)
	movsd	.LC4(%rip), %xmm0
	movsd	%xmm0, -184(%rbp)
	movq	$1, -208(%rbp)
	jmp	.L4
.L13:
	movsd	-224(%rbp), %xmm0
	pxor	%xmm2, %xmm2
	cvtsi2sdq	-208(%rbp), %xmm2
	movapd	%xmm0, %xmm1
	divsd	%xmm2, %xmm1
	movsd	.LC3(%rip), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L19
	movl	$0, -236(%rbp)
	jmp	.L7
.L19:
	movq	$0, -216(%rbp)
	jmp	.L8
.L12:
	movq	-216(%rbp), %rax
	movq	-176(%rbp,%rax,8), %rax
	pxor	%xmm1, %xmm1
	cvtsi2sdq	%rax, %xmm1
	movsd	-224(%rbp), %xmm0
	pxor	%xmm2, %xmm2
	cvtsi2sdq	-208(%rbp), %xmm2
	divsd	%xmm2, %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L9
	movsd	-224(%rbp), %xmm0
	pxor	%xmm2, %xmm2
	cvtsi2sdq	-208(%rbp), %xmm2
	movapd	%xmm0, %xmm1
	divsd	%xmm2, %xmm1
	movq	-216(%rbp), %rax
	addq	$1, %rax
	movq	-176(%rbp,%rax,8), %rax
	pxor	%xmm0, %xmm0
	cvtsi2sdq	%rax, %xmm0
	comisd	%xmm1, %xmm0
	jb	.L9
	movq	-216(%rbp), %rax
	addl	$1, %eax
	movl	%eax, -236(%rbp)
.L9:
	addq	$1, -216(%rbp)
.L8:
	cmpq	$18, -216(%rbp)
	jle	.L12
.L7:
	pxor	%xmm0, %xmm0
	cvtsi2sdl	-236(%rbp), %xmm0
	movq	-184(%rbp), %rax
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	mulsd	-192(%rbp), %xmm0
	movsd	-200(%rbp), %xmm1
	addsd	%xmm1, %xmm0
	movsd	%xmm0, -200(%rbp)
	movl	$0, -236(%rbp)
	addq	$1, -208(%rbp)
.L4:
	pxor	%xmm1, %xmm1
	cvtsi2sdq	-208(%rbp), %xmm1
	movsd	-232(%rbp), %xmm0
	comisd	%xmm1, %xmm0
	jnb	.L13
	movq	-200(%rbp), %rax
	movq	%rax, %xmm0
	leaq	.LC5(%rip), %rax
	movq	%rax, %rdi
	movl	$1, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1073741824
	.align 8
.LC3:
	.long	0
	.long	1072693248
	.align 8
.LC4:
	.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.
user
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC3:
	.string	"%lf %lf"
.LC5:
	.string	"%.9f"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	xorl	%ebp, %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	subq	$224, %rsp
	.cfi_def_cfa_offset 256
	movq	%fs:40, %rax
	movq	%rax, 216(%rsp)
	xorl	%eax, %eax
	leaq	48(%rsp), %rbx
	.p2align 4,,10
	.p2align 3
.L2:
	pxor	%xmm1, %xmm1
	movq	.LC2(%rip), %rax
	cvtsi2sdq	%rbp, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	cvttsd2siq	%xmm0, %rax
	movq	%rax, (%rbx,%rbp,8)
	addq	$1, %rbp
	cmpq	$20, %rbp
	jne	.L2
	xorl	%eax, %eax
	leaq	40(%rsp), %rdx
	leaq	32(%rsp), %rsi
	leaq	.LC3(%rip), %rdi
	call	__isoc99_scanf@PLT
	movsd	32(%rsp), %xmm7
	movsd	.LC1(%rip), %xmm4
	comisd	.LC1(%rip), %xmm7
	divsd	%xmm7, %xmm4
	movsd	%xmm7, 16(%rsp)
	movsd	%xmm4, 24(%rsp)
	jb	.L20
	movq	.LC1(%rip), %rax
	movq	40(%rsp), %rbp
	pxor	%xmm3, %xmm3
	movl	$1, %r12d
	movq	%rax, %xmm0
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L5:
	movq	.LC4(%rip), %rax
	movsd	%xmm3, 8(%rsp)
	addq	$1, %r12
	movq	%rax, %xmm0
	call	pow@PLT
	mulsd	24(%rsp), %xmm0
	movsd	8(%rsp), %xmm3
	movsd	16(%rsp), %xmm6
	addsd	%xmm0, %xmm3
	pxor	%xmm0, %xmm0
	cvtsi2sdq	%r12, %xmm0
	comisd	%xmm0, %xmm6
	jb	.L3
.L10:
	movq	%rbp, %xmm2
	movsd	.LC1(%rip), %xmm4
	pxor	%xmm1, %xmm1
	divsd	%xmm0, %xmm2
	comisd	%xmm2, %xmm4
	ja	.L5
	xorl	%edx, %edx
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L9:
	pxor	%xmm0, %xmm0
	cvtsi2sdq	(%rbx,%rax,8), %xmm0
	addq	$1, %rax
	comisd	%xmm0, %xmm2
	jbe	.L6
	pxor	%xmm0, %xmm0
	cvtsi2sdq	(%rbx,%rax,8), %xmm0
	ucomisd	%xmm2, %xmm0
	cmovnb	%eax, %edx
.L6:
	cmpq	$19, %rax
	jne	.L9
	pxor	%xmm1, %xmm1
	cvtsi2sdl	%edx, %xmm1
	jmp	.L5
.L20:
	pxor	%xmm3, %xmm3
	.p2align 4,,10
	.p2align 3
.L3:
	movapd	%xmm3, %xmm0
	movl	$1, %edi
	movl	$1, %eax
	leaq	.LC5(%rip), %rsi
	call	__printf_chk@PLT
	movq	216(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L23
	addq	$224, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L23:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC1:
	.long	0
	.long	1072693248
	.align 8
.LC2:
	.long	0
	.long	1073741824
	.align 8
.LC4:
	.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
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC3:
	.string	"%lf %lf"
.LC5:
	.string	"%.9f"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	xorl	%ebp, %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	subq	$224, %rsp
	.cfi_def_cfa_offset 256
	movq	%fs:40, %rax
	movq	%rax, 216(%rsp)
	xorl	%eax, %eax
	leaq	48(%rsp), %rbx
	.p2align 4,,10
	.p2align 3
.L2:
	pxor	%xmm1, %xmm1
	movq	.LC2(%rip), %rax
	cvtsi2sdq	%rbp, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	cvttsd2siq	%xmm0, %rax
	movq	%rax, (%rbx,%rbp,8)
	addq	$1, %rbp
	cmpq	$20, %rbp
	jne	.L2
	xorl	%eax, %eax
	leaq	40(%rsp), %rdx
	leaq	32(%rsp), %rsi
	leaq	.LC3(%rip), %rdi
	call	__isoc99_scanf@PLT
	movsd	32(%rsp), %xmm7
	movsd	.LC1(%rip), %xmm4
	comisd	.LC1(%rip), %xmm7
	divsd	%xmm7, %xmm4
	movsd	%xmm7, 16(%rsp)
	movsd	%xmm4, 24(%rsp)
	jb	.L20
	movq	.LC1(%rip), %rax
	movq	40(%rsp), %rbp
	pxor	%xmm3, %xmm3
	movl	$1, %r12d
	movq	%rax, %xmm0
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L5:
	movq	.LC4(%rip), %rax
	movsd	%xmm3, 8(%rsp)
	addq	$1, %r12
	movq	%rax, %xmm0
	call	pow@PLT
	mulsd	24(%rsp), %xmm0
	movsd	8(%rsp), %xmm3
	movsd	16(%rsp), %xmm6
	addsd	%xmm0, %xmm3
	pxor	%xmm0, %xmm0
	cvtsi2sdq	%r12, %xmm0
	comisd	%xmm0, %xmm6
	jb	.L3
.L10:
	movq	%rbp, %xmm2
	movsd	.LC1(%rip), %xmm4
	pxor	%xmm1, %xmm1
	divsd	%xmm0, %xmm2
	comisd	%xmm2, %xmm4
	ja	.L5
	xorl	%edx, %edx
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L9:
	pxor	%xmm0, %xmm0
	cvtsi2sdq	(%rbx,%rax,8), %xmm0
	addq	$1, %rax
	comisd	%xmm0, %xmm2
	jbe	.L6
	pxor	%xmm0, %xmm0
	cvtsi2sdq	(%rbx,%rax,8), %xmm0
	ucomisd	%xmm2, %xmm0
	cmovnb	%eax, %edx
.L6:
	cmpq	$19, %rax
	jne	.L9
	pxor	%xmm1, %xmm1
	cvtsi2sdl	%edx, %xmm1
	jmp	.L5
.L20:
	pxor	%xmm3, %xmm3
	.p2align 4,,10
	.p2align 3
.L3:
	movapd	%xmm3, %xmm0
	movl	$1, %edi
	movl	$1, %eax
	leaq	.LC5(%rip), %rsi
	call	__printf_chk@PLT
	movq	216(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L23
	addq	$224, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L23:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC1:
	.long	0
	.long	1072693248
	.align 8
.LC2:
	.long	0
	.long	1073741824
	.align 8
.LC4:
	.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:

#include<stdio.h>
#include<math.h>
int main()
{
long int k[20],i,j;
for(i=0;i<20;++i)
{
k[i]=pow(2,i);  
} 
  
double p,n,pp,l,cc,ans;
  ans=0;
int sw;
 scanf("%lf %lf",&n,&l);
  pp=1/n;
  p=0.5;
  
  for(j=1;j<=n;++j)
  {if(l/j<1) sw=0;
    else{
   for(i=0;i<19;++i)
   {
   if(k[i]<(l/j) && (l/j)<=k[i+1]) sw=i+1;
   }
    }
  ans=ans+pp*pow(p,sw);
    sw=0;
  }
  
  
  printf("%.9f",ans);

return 0;
}
3 4
 100000 8
 3 7
 100000 7
 6 7
 100100 7
 4 7
 100100 6
 110100 7
 111100 7

0.416666667 0.999956250 0.208333333 0.999961250 0.354166667 0.999961289 0.281250000 0.999968781 0.999964805 0.999965122
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>
int main()
{
long int k[20],i,j;
for(i=0;i<20;++i)
{
k[i]=pow(2,i);  
} 
  
double p,n,pp,l,cc,ans;
  ans=0;
int sw;
 scanf("%lf %lf",&n,&l);
  pp=1/n;
  p=0.5;
  
  for(j=1;j<=n;++j)
  {if(l/j<1) sw=0;
    else{
   for(i=0;i<19;++i)
   {
   if(k[i]<(l/j) && (l/j)<=k[i+1]) sw=i+1;
   }
    }
  ans=ans+pp*pow(p,sw);
    sw=0;
  }
  
  
  printf("%.9f",ans);

return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC2:
	.string	"%lf %lf"
.LC5:
	.string	"%.9f"
	.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	$240, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	$0, -216(%rbp)
	jmp	.L2
.L3:
	pxor	%xmm0, %xmm0
	cvtsi2sdq	-216(%rbp), %xmm0
	movq	.LC0(%rip), %rax
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	cvttsd2siq	%xmm0, %rdx
	movq	-216(%rbp), %rax
	movq	%rdx, -176(%rbp,%rax,8)
	addq	$1, -216(%rbp)
.L2:
	cmpq	$19, -216(%rbp)
	jle	.L3
	pxor	%xmm0, %xmm0
	movsd	%xmm0, -200(%rbp)
	leaq	-224(%rbp), %rdx
	leaq	-232(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movsd	-232(%rbp), %xmm1
	movsd	.LC3(%rip), %xmm0
	divsd	%xmm1, %xmm0
	movsd	%xmm0, -192(%rbp)
	movsd	.LC4(%rip), %xmm0
	movsd	%xmm0, -184(%rbp)
	movq	$1, -208(%rbp)
	jmp	.L4
.L13:
	movsd	-224(%rbp), %xmm0
	pxor	%xmm2, %xmm2
	cvtsi2sdq	-208(%rbp), %xmm2
	movapd	%xmm0, %xmm1
	divsd	%xmm2, %xmm1
	movsd	.LC3(%rip), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L19
	movl	$0, -236(%rbp)
	jmp	.L7
.L19:
	movq	$0, -216(%rbp)
	jmp	.L8
.L12:
	movq	-216(%rbp), %rax
	movq	-176(%rbp,%rax,8), %rax
	pxor	%xmm1, %xmm1
	cvtsi2sdq	%rax, %xmm1
	movsd	-224(%rbp), %xmm0
	pxor	%xmm2, %xmm2
	cvtsi2sdq	-208(%rbp), %xmm2
	divsd	%xmm2, %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L9
	movsd	-224(%rbp), %xmm0
	pxor	%xmm2, %xmm2
	cvtsi2sdq	-208(%rbp), %xmm2
	movapd	%xmm0, %xmm1
	divsd	%xmm2, %xmm1
	movq	-216(%rbp), %rax
	addq	$1, %rax
	movq	-176(%rbp,%rax,8), %rax
	pxor	%xmm0, %xmm0
	cvtsi2sdq	%rax, %xmm0
	comisd	%xmm1, %xmm0
	jb	.L9
	movq	-216(%rbp), %rax
	addl	$1, %eax
	movl	%eax, -236(%rbp)
.L9:
	addq	$1, -216(%rbp)
.L8:
	cmpq	$18, -216(%rbp)
	jle	.L12
.L7:
	pxor	%xmm0, %xmm0
	cvtsi2sdl	-236(%rbp), %xmm0
	movq	-184(%rbp), %rax
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	mulsd	-192(%rbp), %xmm0
	movsd	-200(%rbp), %xmm1
	addsd	%xmm1, %xmm0
	movsd	%xmm0, -200(%rbp)
	movl	$0, -236(%rbp)
	addq	$1, -208(%rbp)
.L4:
	pxor	%xmm1, %xmm1
	cvtsi2sdq	-208(%rbp), %xmm1
	movsd	-232(%rbp), %xmm0
	comisd	%xmm1, %xmm0
	jnb	.L13
	movq	-200(%rbp), %rax
	movq	%rax, %xmm0
	leaq	.LC5(%rip), %rax
	movq	%rax, %rdi
	movl	$1, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1073741824
	.align 8
.LC3:
	.long	0
	.long	1072693248
	.align 8
.LC4:
	.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.
train
	.file	"temp.c"
	.text
	.section	.rodata
.LC2:
	.string	"%lf %lf"
.LC5:
	.string	"%.9f"
	.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	$240, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	$0, -216(%rbp)
	jmp	.L2
.L3:
	pxor	%xmm0, %xmm0
	cvtsi2sdq	-216(%rbp), %xmm0
	movq	.LC0(%rip), %rax
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	cvttsd2siq	%xmm0, %rdx
	movq	-216(%rbp), %rax
	movq	%rdx, -176(%rbp,%rax,8)
	addq	$1, -216(%rbp)
.L2:
	cmpq	$19, -216(%rbp)
	jle	.L3
	pxor	%xmm0, %xmm0
	movsd	%xmm0, -200(%rbp)
	leaq	-224(%rbp), %rdx
	leaq	-232(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movsd	-232(%rbp), %xmm1
	movsd	.LC3(%rip), %xmm0
	divsd	%xmm1, %xmm0
	movsd	%xmm0, -192(%rbp)
	movsd	.LC4(%rip), %xmm0
	movsd	%xmm0, -184(%rbp)
	movq	$1, -208(%rbp)
	jmp	.L4
.L13:
	movsd	-224(%rbp), %xmm0
	pxor	%xmm2, %xmm2
	cvtsi2sdq	-208(%rbp), %xmm2
	movapd	%xmm0, %xmm1
	divsd	%xmm2, %xmm1
	movsd	.LC3(%rip), %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L19
	movl	$0, -236(%rbp)
	jmp	.L7
.L19:
	movq	$0, -216(%rbp)
	jmp	.L8
.L12:
	movq	-216(%rbp), %rax
	movq	-176(%rbp,%rax,8), %rax
	pxor	%xmm1, %xmm1
	cvtsi2sdq	%rax, %xmm1
	movsd	-224(%rbp), %xmm0
	pxor	%xmm2, %xmm2
	cvtsi2sdq	-208(%rbp), %xmm2
	divsd	%xmm2, %xmm0
	comisd	%xmm1, %xmm0
	jbe	.L9
	movsd	-224(%rbp), %xmm0
	pxor	%xmm2, %xmm2
	cvtsi2sdq	-208(%rbp), %xmm2
	movapd	%xmm0, %xmm1
	divsd	%xmm2, %xmm1
	movq	-216(%rbp), %rax
	addq	$1, %rax
	movq	-176(%rbp,%rax,8), %rax
	pxor	%xmm0, %xmm0
	cvtsi2sdq	%rax, %xmm0
	comisd	%xmm1, %xmm0
	jb	.L9
	movq	-216(%rbp), %rax
	addl	$1, %eax
	movl	%eax, -236(%rbp)
.L9:
	addq	$1, -216(%rbp)
.L8:
	cmpq	$18, -216(%rbp)
	jle	.L12
.L7:
	pxor	%xmm0, %xmm0
	cvtsi2sdl	-236(%rbp), %xmm0
	movq	-184(%rbp), %rax
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	pow@PLT
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	mulsd	-192(%rbp), %xmm0
	movsd	-200(%rbp), %xmm1
	addsd	%xmm1, %xmm0
	movsd	%xmm0, -200(%rbp)
	movl	$0, -236(%rbp)
	addq	$1, -208(%rbp)
.L4:
	pxor	%xmm1, %xmm1
	cvtsi2sdq	-208(%rbp), %xmm1
	movsd	-232(%rbp), %xmm0
	comisd	%xmm1, %xmm0
	jnb	.L13
	movq	-200(%rbp), %rax
	movq	%rax, %xmm0
	leaq	.LC5(%rip), %rax
	movq	%rax, %rdi
	movl	$1, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1073741824
	.align 8
.LC3:
	.long	0
	.long	1072693248
	.align 8
.LC4:
	.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:
