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<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;
}```

Assembly Code:

```assembly
	.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:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
Optimized Assembly Code:

user
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.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
```assembly
	.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:
```
```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;
}```
Given the following C 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;
}```

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:

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 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;
}```

Assembly Code:

```assembly
	.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:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
Optimized Assembly Code:

train
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.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:
```