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>

int main(void)
{
  long int n;
  scanf("%ld", &n);

  char ans[15];
  int amari;
  for(int i=0;i<15;i++){
    amari = n % 26;
    if(amari==0){
      if(n==0) ans[i] = ' ';
      else ans[i] = 'z';
    }
    else ans[i] = amari+96;
    n = (n-1) / 26;
  }

  char tmp;
  for(int j=0;j<14;j++){
    for(int k=j+1;k<15;k++){
      if(ans[k] != ' '){
        tmp = ans[j];
        ans[j] = ans[k];
        ans[k] = tmp;
      }
    }
  }

  printf("%s", ans);

  return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%ld"
.LC1:
	.string	"%s"
	.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	$64, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-32(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -48(%rbp)
	jmp	.L2
.L6:
	movq	-32(%rbp), %rcx
	movabsq	$5675921253449092805, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	movq	%rdx, %rax
	sarq	$3, %rax
	movq	%rcx, %rsi
	sarq	$63, %rsi
	subq	%rsi, %rax
	movq	%rax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	subq	%rax, %rcx
	movq	%rcx, %rdx
	movl	%edx, -36(%rbp)
	cmpl	$0, -36(%rbp)
	jne	.L3
	movq	-32(%rbp), %rax
	testq	%rax, %rax
	jne	.L4
	movl	-48(%rbp), %eax
	cltq
	movb	$32, -23(%rbp,%rax)
	jmp	.L5
.L4:
	movl	-48(%rbp), %eax
	cltq
	movb	$122, -23(%rbp,%rax)
	jmp	.L5
.L3:
	movl	-36(%rbp), %eax
	addl	$96, %eax
	movl	%eax, %edx
	movl	-48(%rbp), %eax
	cltq
	movb	%dl, -23(%rbp,%rax)
.L5:
	movq	-32(%rbp), %rax
	leaq	-1(%rax), %rcx
	movabsq	$5675921253449092805, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	movq	%rdx, %rax
	sarq	$3, %rax
	sarq	$63, %rcx
	movq	%rcx, %rdx
	subq	%rdx, %rax
	movq	%rax, -32(%rbp)
	addl	$1, -48(%rbp)
.L2:
	cmpl	$14, -48(%rbp)
	jle	.L6
	movl	$0, -44(%rbp)
	jmp	.L7
.L11:
	movl	-44(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -40(%rbp)
	jmp	.L8
.L10:
	movl	-40(%rbp), %eax
	cltq
	movzbl	-23(%rbp,%rax), %eax
	cmpb	$32, %al
	je	.L9
	movl	-44(%rbp), %eax
	cltq
	movzbl	-23(%rbp,%rax), %eax
	movb	%al, -49(%rbp)
	movl	-40(%rbp), %eax
	cltq
	movzbl	-23(%rbp,%rax), %edx
	movl	-44(%rbp), %eax
	cltq
	movb	%dl, -23(%rbp,%rax)
	movl	-40(%rbp), %eax
	cltq
	movzbl	-49(%rbp), %edx
	movb	%dl, -23(%rbp,%rax)
.L9:
	addl	$1, -40(%rbp)
.L8:
	cmpl	$14, -40(%rbp)
	jle	.L10
	addl	$1, -44(%rbp)
.L7:
	cmpl	$13, -44(%rbp)
	jle	.L11
	leaq	-23(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.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	"%ld"
.LC1:
	.string	"%s"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	movq	(%rsp), %rcx
	movabsq	$5675921253449092805, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	movq	%rdx, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	sarq	$3, %rax
	subq	%rdx, %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rdx
	movq	%rcx, %rax
	addq	%rdx, %rdx
	subq	%rdx, %rax
	je	.L2
	addl	$96, %eax
.L3:
	subq	$1, %rcx
	movb	%al, 9(%rsp)
	movabsq	$5675921253449092805, %rsi
	movq	%rcx, %rax
	imulq	%rsi
	movq	%rcx, %rax
	sarq	$63, %rax
	sarq	$3, %rdx
	subq	%rax, %rdx
	movq	%rdx, %rax
	movq	%rdx, %rcx
	imulq	%rsi
	movq	%rdx, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	sarq	$3, %rax
	subq	%rdx, %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rdx
	movq	%rcx, %rax
	addq	%rdx, %rdx
	subq	%rdx, %rax
	je	.L5
	addl	$96, %eax
.L6:
	subq	$1, %rcx
	movb	%al, 10(%rsp)
	movabsq	$5675921253449092805, %rsi
	movq	%rcx, %rax
	imulq	%rsi
	movq	%rcx, %rax
	sarq	$63, %rax
	sarq	$3, %rdx
	subq	%rax, %rdx
	movq	%rdx, %rax
	movq	%rdx, %rcx
	imulq	%rsi
	movq	%rdx, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	sarq	$3, %rax
	subq	%rdx, %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rdx
	movq	%rcx, %rax
	addq	%rdx, %rdx
	subq	%rdx, %rax
	je	.L8
	addl	$96, %eax
.L9:
	subq	$1, %rcx
	movb	%al, 11(%rsp)
	movabsq	$5675921253449092805, %rsi
	movq	%rcx, %rax
	imulq	%rsi
	movq	%rcx, %rax
	sarq	$63, %rax
	sarq	$3, %rdx
	subq	%rax, %rdx
	movq	%rdx, %rax
	movq	%rdx, %rcx
	imulq	%rsi
	movq	%rdx, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	sarq	$3, %rax
	subq	%rdx, %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rdx
	movq	%rcx, %rax
	addq	%rdx, %rdx
	subq	%rdx, %rax
	je	.L11
	addl	$96, %eax
.L12:
	subq	$1, %rcx
	movb	%al, 12(%rsp)
	movabsq	$5675921253449092805, %rsi
	movq	%rcx, %rax
	imulq	%rsi
	movq	%rcx, %rax
	sarq	$63, %rax
	sarq	$3, %rdx
	subq	%rax, %rdx
	movq	%rdx, %rax
	movq	%rdx, %rcx
	imulq	%rsi
	movq	%rdx, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	sarq	$3, %rax
	subq	%rdx, %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rdx
	movq	%rcx, %rax
	addq	%rdx, %rdx
	subq	%rdx, %rax
	je	.L14
	addl	$96, %eax
.L15:
	subq	$1, %rcx
	movb	%al, 13(%rsp)
	movabsq	$5675921253449092805, %rsi
	movq	%rcx, %rax
	imulq	%rsi
	movq	%rcx, %rax
	sarq	$63, %rax
	sarq	$3, %rdx
	subq	%rax, %rdx
	movq	%rdx, %rax
	movq	%rdx, %rcx
	imulq	%rsi
	movq	%rdx, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	sarq	$3, %rax
	subq	%rdx, %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rdx
	movq	%rcx, %rax
	addq	%rdx, %rdx
	subq	%rdx, %rax
	je	.L17
	addl	$96, %eax
.L18:
	subq	$1, %rcx
	movb	%al, 14(%rsp)
	movabsq	$5675921253449092805, %rsi
	movq	%rcx, %rax
	imulq	%rsi
	movq	%rcx, %rax
	sarq	$63, %rax
	sarq	$3, %rdx
	subq	%rax, %rdx
	movq	%rdx, %rax
	movq	%rdx, %rcx
	imulq	%rsi
	movq	%rdx, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	sarq	$3, %rax
	subq	%rdx, %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rdx
	movq	%rcx, %rax
	addq	%rdx, %rdx
	subq	%rdx, %rax
	je	.L20
	addl	$96, %eax
.L21:
	subq	$1, %rcx
	movb	%al, 15(%rsp)
	movabsq	$5675921253449092805, %rsi
	movq	%rcx, %rax
	imulq	%rsi
	movq	%rcx, %rax
	sarq	$63, %rax
	sarq	$3, %rdx
	subq	%rax, %rdx
	movq	%rdx, %rax
	movq	%rdx, %rcx
	imulq	%rsi
	movq	%rdx, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	sarq	$3, %rax
	subq	%rdx, %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rdx
	movq	%rcx, %rax
	addq	%rdx, %rdx
	subq	%rdx, %rax
	je	.L23
	addl	$96, %eax
.L24:
	subq	$1, %rcx
	movb	%al, 16(%rsp)
	movabsq	$5675921253449092805, %rsi
	movq	%rcx, %rax
	imulq	%rsi
	movq	%rcx, %rax
	sarq	$63, %rax
	sarq	$3, %rdx
	subq	%rax, %rdx
	movq	%rdx, %rax
	movq	%rdx, %rcx
	imulq	%rsi
	movq	%rdx, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	sarq	$3, %rax
	subq	%rdx, %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rdx
	movq	%rcx, %rax
	addq	%rdx, %rdx
	subq	%rdx, %rax
	je	.L26
	addl	$96, %eax
.L27:
	subq	$1, %rcx
	movb	%al, 17(%rsp)
	movabsq	$5675921253449092805, %rsi
	movq	%rcx, %rax
	imulq	%rsi
	movq	%rcx, %rax
	sarq	$63, %rax
	sarq	$3, %rdx
	subq	%rax, %rdx
	movq	%rdx, %rax
	movq	%rdx, %rcx
	imulq	%rsi
	movq	%rdx, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	sarq	$3, %rax
	subq	%rdx, %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rdx
	movq	%rcx, %rax
	addq	%rdx, %rdx
	subq	%rdx, %rax
	je	.L29
	addl	$96, %eax
.L30:
	subq	$1, %rcx
	movb	%al, 18(%rsp)
	movabsq	$5675921253449092805, %rsi
	movq	%rcx, %rax
	imulq	%rsi
	movq	%rcx, %rax
	sarq	$63, %rax
	sarq	$3, %rdx
	subq	%rax, %rdx
	movq	%rdx, %rax
	movq	%rdx, %rcx
	imulq	%rsi
	movq	%rdx, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	sarq	$3, %rax
	subq	%rdx, %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rdx
	movq	%rcx, %rax
	addq	%rdx, %rdx
	subq	%rdx, %rax
	je	.L32
	addl	$96, %eax
.L33:
	subq	$1, %rcx
	movb	%al, 19(%rsp)
	movabsq	$5675921253449092805, %rsi
	movq	%rcx, %rax
	imulq	%rsi
	movq	%rcx, %rax
	sarq	$63, %rax
	sarq	$3, %rdx
	subq	%rax, %rdx
	movq	%rdx, %rax
	movq	%rdx, %rcx
	imulq	%rsi
	movq	%rdx, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	sarq	$3, %rax
	subq	%rdx, %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rdx
	movq	%rcx, %rax
	addq	%rdx, %rdx
	subq	%rdx, %rax
	je	.L35
	addl	$96, %eax
.L36:
	subq	$1, %rcx
	movb	%al, 20(%rsp)
	movabsq	$5675921253449092805, %rsi
	movq	%rcx, %rax
	imulq	%rsi
	movq	%rcx, %rax
	sarq	$63, %rax
	sarq	$3, %rdx
	subq	%rax, %rdx
	movq	%rdx, %rax
	movq	%rdx, %rcx
	imulq	%rsi
	movq	%rdx, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	sarq	$3, %rax
	subq	%rdx, %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rdx
	movq	%rcx, %rax
	addq	%rdx, %rdx
	subq	%rdx, %rax
	je	.L38
	addl	$96, %eax
.L39:
	subq	$1, %rcx
	movb	%al, 21(%rsp)
	movabsq	$5675921253449092805, %rdx
	movq	%rcx, %rax
	sarq	$63, %rcx
	imulq	%rdx
	movq	%rdx, %rax
	sarq	$3, %rax
	subq	%rcx, %rax
	leal	96(%rax), %edx
	movl	$32, %eax
	cmovne	%edx, %eax
.L42:
	movb	$32, 23(%rsp)
	leaq	9(%rsp), %r8
	movl	$2, %edx
	movq	$0, (%rsp)
	movb	%al, 22(%rsp)
	movq	%r8, %rax
	.p2align 4,,10
	.p2align 3
.L59:
	movzbl	1(%rax), %ecx
	cmpb	$32, %cl
	je	.L43
	movzbl	(%rax), %esi
	movb	%cl, (%rax)
	movb	%sil, 1(%rax)
.L43:
	cmpl	$15, %edx
	je	.L44
	movzbl	2(%rax), %ecx
	cmpb	$32, %cl
	je	.L45
	movzbl	(%rax), %esi
	movb	%cl, (%rax)
	movb	%sil, 2(%rax)
.L45:
	cmpl	$14, %edx
	je	.L46
	movzbl	3(%rax), %ecx
	cmpb	$32, %cl
	je	.L47
	movzbl	(%rax), %esi
	movb	%cl, (%rax)
	movb	%sil, 3(%rax)
.L47:
	cmpl	$13, %edx
	je	.L46
	movzbl	4(%rax), %ecx
	cmpb	$32, %cl
	je	.L48
	movzbl	(%rax), %esi
	movb	%cl, (%rax)
	movb	%sil, 4(%rax)
.L48:
	cmpl	$12, %edx
	je	.L46
	movzbl	5(%rax), %ecx
	cmpb	$32, %cl
	je	.L49
	movzbl	(%rax), %esi
	movb	%cl, (%rax)
	movb	%sil, 5(%rax)
.L49:
	cmpl	$11, %edx
	je	.L46
	movzbl	6(%rax), %ecx
	cmpb	$32, %cl
	je	.L50
	movzbl	(%rax), %esi
	movb	%cl, (%rax)
	movb	%sil, 6(%rax)
.L50:
	cmpl	$10, %edx
	je	.L46
	movzbl	7(%rax), %ecx
	cmpb	$32, %cl
	je	.L51
	movzbl	(%rax), %esi
	movb	%cl, (%rax)
	movb	%sil, 7(%rax)
.L51:
	cmpl	$9, %edx
	je	.L46
	movzbl	8(%rax), %ecx
	cmpb	$32, %cl
	je	.L52
	movzbl	(%rax), %esi
	movb	%cl, (%rax)
	movb	%sil, 8(%rax)
.L52:
	cmpl	$8, %edx
	je	.L46
	movzbl	9(%rax), %ecx
	cmpb	$32, %cl
	je	.L53
	movzbl	(%rax), %esi
	movb	%cl, (%rax)
	movb	%sil, 9(%rax)
.L53:
	cmpl	$7, %edx
	je	.L46
	movzbl	10(%rax), %ecx
	cmpb	$32, %cl
	je	.L54
	movzbl	(%rax), %esi
	movb	%cl, (%rax)
	movb	%sil, 10(%rax)
.L54:
	cmpl	$6, %edx
	je	.L46
	movzbl	11(%rax), %ecx
	cmpb	$32, %cl
	je	.L55
	movzbl	(%rax), %esi
	movb	%cl, (%rax)
	movb	%sil, 11(%rax)
.L55:
	cmpl	$5, %edx
	je	.L46
	movzbl	12(%rax), %ecx
	cmpb	$32, %cl
	je	.L56
	movzbl	(%rax), %esi
	movb	%cl, (%rax)
	movb	%sil, 12(%rax)
.L56:
	cmpl	$4, %edx
	je	.L46
	movzbl	13(%rax), %ecx
	cmpb	$32, %cl
	je	.L57
	movzbl	(%rax), %esi
	movb	%cl, (%rax)
	movb	%sil, 13(%rax)
.L57:
	cmpl	$3, %edx
	je	.L46
	movzbl	14(%rax), %ecx
	cmpb	$32, %cl
	je	.L58
	movzbl	(%rax), %esi
	movb	%cl, (%rax)
	movb	%sil, 14(%rax)
.L58:
	addl	$1, %edx
	addq	$1, %rax
	cmpl	$16, %edx
	jne	.L59
	.p2align 4,,10
	.p2align 3
.L44:
	xorl	%eax, %eax
	movq	%r8, %rdx
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L186
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L46:
	.cfi_restore_state
	addq	$1, %rax
	addl	$1, %edx
	jmp	.L59
.L2:
	testq	%rcx, %rcx
	jne	.L187
	movb	$32, 9(%rsp)
.L7:
	movb	$32, 10(%rsp)
.L10:
	movb	$32, 11(%rsp)
.L13:
	movb	$32, 12(%rsp)
.L16:
	movb	$32, 13(%rsp)
.L19:
	movb	$32, 14(%rsp)
.L22:
	movb	$32, 15(%rsp)
.L25:
	movb	$32, 16(%rsp)
.L28:
	movb	$32, 17(%rsp)
.L31:
	movb	$32, 18(%rsp)
.L34:
	movb	$32, 19(%rsp)
.L37:
	movb	$32, 20(%rsp)
.L40:
	movb	$32, 21(%rsp)
	movl	$32, %eax
	jmp	.L42
.L187:
	movl	$122, %eax
	jmp	.L3
.L38:
	testq	%rcx, %rcx
	je	.L40
	movl	$122, %eax
	jmp	.L39
.L35:
	testq	%rcx, %rcx
	je	.L37
	movl	$122, %eax
	jmp	.L36
.L32:
	testq	%rcx, %rcx
	je	.L34
	movl	$122, %eax
	jmp	.L33
.L29:
	testq	%rcx, %rcx
	je	.L31
	movl	$122, %eax
	jmp	.L30
.L26:
	testq	%rcx, %rcx
	je	.L28
	movl	$122, %eax
	jmp	.L27
.L23:
	testq	%rcx, %rcx
	je	.L25
	movl	$122, %eax
	jmp	.L24
.L20:
	testq	%rcx, %rcx
	je	.L22
	movl	$122, %eax
	jmp	.L21
.L17:
	testq	%rcx, %rcx
	je	.L19
	movl	$122, %eax
	jmp	.L18
.L14:
	testq	%rcx, %rcx
	je	.L16
	movl	$122, %eax
	jmp	.L15
.L11:
	testq	%rcx, %rcx
	je	.L13
	movl	$122, %eax
	jmp	.L12
.L8:
	testq	%rcx, %rcx
	je	.L10
	movl	$122, %eax
	jmp	.L9
.L5:
	testq	%rcx, %rcx
	je	.L7
	movl	$122, %eax
	jmp	.L6
.L186:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.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	"%ld"
.LC1:
	.string	"%s"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	movq	(%rsp), %rcx
	movabsq	$5675921253449092805, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	movq	%rdx, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	sarq	$3, %rax
	subq	%rdx, %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rdx
	movq	%rcx, %rax
	addq	%rdx, %rdx
	subq	%rdx, %rax
	je	.L2
	addl	$96, %eax
.L3:
	subq	$1, %rcx
	movb	%al, 9(%rsp)
	movabsq	$5675921253449092805, %rsi
	movq	%rcx, %rax
	imulq	%rsi
	movq	%rcx, %rax
	sarq	$63, %rax
	sarq	$3, %rdx
	subq	%rax, %rdx
	movq	%rdx, %rax
	movq	%rdx, %rcx
	imulq	%rsi
	movq	%rdx, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	sarq	$3, %rax
	subq	%rdx, %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rdx
	movq	%rcx, %rax
	addq	%rdx, %rdx
	subq	%rdx, %rax
	je	.L5
	addl	$96, %eax
.L6:
	subq	$1, %rcx
	movb	%al, 10(%rsp)
	movabsq	$5675921253449092805, %rsi
	movq	%rcx, %rax
	imulq	%rsi
	movq	%rcx, %rax
	sarq	$63, %rax
	sarq	$3, %rdx
	subq	%rax, %rdx
	movq	%rdx, %rax
	movq	%rdx, %rcx
	imulq	%rsi
	movq	%rdx, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	sarq	$3, %rax
	subq	%rdx, %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rdx
	movq	%rcx, %rax
	addq	%rdx, %rdx
	subq	%rdx, %rax
	je	.L8
	addl	$96, %eax
.L9:
	subq	$1, %rcx
	movb	%al, 11(%rsp)
	movabsq	$5675921253449092805, %rsi
	movq	%rcx, %rax
	imulq	%rsi
	movq	%rcx, %rax
	sarq	$63, %rax
	sarq	$3, %rdx
	subq	%rax, %rdx
	movq	%rdx, %rax
	movq	%rdx, %rcx
	imulq	%rsi
	movq	%rdx, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	sarq	$3, %rax
	subq	%rdx, %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rdx
	movq	%rcx, %rax
	addq	%rdx, %rdx
	subq	%rdx, %rax
	je	.L11
	addl	$96, %eax
.L12:
	subq	$1, %rcx
	movb	%al, 12(%rsp)
	movabsq	$5675921253449092805, %rsi
	movq	%rcx, %rax
	imulq	%rsi
	movq	%rcx, %rax
	sarq	$63, %rax
	sarq	$3, %rdx
	subq	%rax, %rdx
	movq	%rdx, %rax
	movq	%rdx, %rcx
	imulq	%rsi
	movq	%rdx, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	sarq	$3, %rax
	subq	%rdx, %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rdx
	movq	%rcx, %rax
	addq	%rdx, %rdx
	subq	%rdx, %rax
	je	.L14
	addl	$96, %eax
.L15:
	subq	$1, %rcx
	movb	%al, 13(%rsp)
	movabsq	$5675921253449092805, %rsi
	movq	%rcx, %rax
	imulq	%rsi
	movq	%rcx, %rax
	sarq	$63, %rax
	sarq	$3, %rdx
	subq	%rax, %rdx
	movq	%rdx, %rax
	movq	%rdx, %rcx
	imulq	%rsi
	movq	%rdx, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	sarq	$3, %rax
	subq	%rdx, %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rdx
	movq	%rcx, %rax
	addq	%rdx, %rdx
	subq	%rdx, %rax
	je	.L17
	addl	$96, %eax
.L18:
	subq	$1, %rcx
	movb	%al, 14(%rsp)
	movabsq	$5675921253449092805, %rsi
	movq	%rcx, %rax
	imulq	%rsi
	movq	%rcx, %rax
	sarq	$63, %rax
	sarq	$3, %rdx
	subq	%rax, %rdx
	movq	%rdx, %rax
	movq	%rdx, %rcx
	imulq	%rsi
	movq	%rdx, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	sarq	$3, %rax
	subq	%rdx, %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rdx
	movq	%rcx, %rax
	addq	%rdx, %rdx
	subq	%rdx, %rax
	je	.L20
	addl	$96, %eax
.L21:
	subq	$1, %rcx
	movb	%al, 15(%rsp)
	movabsq	$5675921253449092805, %rsi
	movq	%rcx, %rax
	imulq	%rsi
	movq	%rcx, %rax
	sarq	$63, %rax
	sarq	$3, %rdx
	subq	%rax, %rdx
	movq	%rdx, %rax
	movq	%rdx, %rcx
	imulq	%rsi
	movq	%rdx, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	sarq	$3, %rax
	subq	%rdx, %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rdx
	movq	%rcx, %rax
	addq	%rdx, %rdx
	subq	%rdx, %rax
	je	.L23
	addl	$96, %eax
.L24:
	subq	$1, %rcx
	movb	%al, 16(%rsp)
	movabsq	$5675921253449092805, %rsi
	movq	%rcx, %rax
	imulq	%rsi
	movq	%rcx, %rax
	sarq	$63, %rax
	sarq	$3, %rdx
	subq	%rax, %rdx
	movq	%rdx, %rax
	movq	%rdx, %rcx
	imulq	%rsi
	movq	%rdx, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	sarq	$3, %rax
	subq	%rdx, %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rdx
	movq	%rcx, %rax
	addq	%rdx, %rdx
	subq	%rdx, %rax
	je	.L26
	addl	$96, %eax
.L27:
	subq	$1, %rcx
	movb	%al, 17(%rsp)
	movabsq	$5675921253449092805, %rsi
	movq	%rcx, %rax
	imulq	%rsi
	movq	%rcx, %rax
	sarq	$63, %rax
	sarq	$3, %rdx
	subq	%rax, %rdx
	movq	%rdx, %rax
	movq	%rdx, %rcx
	imulq	%rsi
	movq	%rdx, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	sarq	$3, %rax
	subq	%rdx, %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rdx
	movq	%rcx, %rax
	addq	%rdx, %rdx
	subq	%rdx, %rax
	je	.L29
	addl	$96, %eax
.L30:
	subq	$1, %rcx
	movb	%al, 18(%rsp)
	movabsq	$5675921253449092805, %rsi
	movq	%rcx, %rax
	imulq	%rsi
	movq	%rcx, %rax
	sarq	$63, %rax
	sarq	$3, %rdx
	subq	%rax, %rdx
	movq	%rdx, %rax
	movq	%rdx, %rcx
	imulq	%rsi
	movq	%rdx, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	sarq	$3, %rax
	subq	%rdx, %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rdx
	movq	%rcx, %rax
	addq	%rdx, %rdx
	subq	%rdx, %rax
	je	.L32
	addl	$96, %eax
.L33:
	subq	$1, %rcx
	movb	%al, 19(%rsp)
	movabsq	$5675921253449092805, %rsi
	movq	%rcx, %rax
	imulq	%rsi
	movq	%rcx, %rax
	sarq	$63, %rax
	sarq	$3, %rdx
	subq	%rax, %rdx
	movq	%rdx, %rax
	movq	%rdx, %rcx
	imulq	%rsi
	movq	%rdx, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	sarq	$3, %rax
	subq	%rdx, %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rdx
	movq	%rcx, %rax
	addq	%rdx, %rdx
	subq	%rdx, %rax
	je	.L35
	addl	$96, %eax
.L36:
	subq	$1, %rcx
	movb	%al, 20(%rsp)
	movabsq	$5675921253449092805, %rsi
	movq	%rcx, %rax
	imulq	%rsi
	movq	%rcx, %rax
	sarq	$63, %rax
	sarq	$3, %rdx
	subq	%rax, %rdx
	movq	%rdx, %rax
	movq	%rdx, %rcx
	imulq	%rsi
	movq	%rdx, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	sarq	$3, %rax
	subq	%rdx, %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rdx
	movq	%rcx, %rax
	addq	%rdx, %rdx
	subq	%rdx, %rax
	je	.L38
	addl	$96, %eax
.L39:
	subq	$1, %rcx
	movb	%al, 21(%rsp)
	movabsq	$5675921253449092805, %rdx
	movq	%rcx, %rax
	sarq	$63, %rcx
	imulq	%rdx
	movq	%rdx, %rax
	sarq	$3, %rax
	subq	%rcx, %rax
	leal	96(%rax), %edx
	movl	$32, %eax
	cmovne	%edx, %eax
.L42:
	movb	$32, 23(%rsp)
	leaq	9(%rsp), %r8
	movl	$2, %edx
	movq	$0, (%rsp)
	movb	%al, 22(%rsp)
	movq	%r8, %rax
	.p2align 4,,10
	.p2align 3
.L59:
	movzbl	1(%rax), %ecx
	cmpb	$32, %cl
	je	.L43
	movzbl	(%rax), %esi
	movb	%cl, (%rax)
	movb	%sil, 1(%rax)
.L43:
	cmpl	$15, %edx
	je	.L44
	movzbl	2(%rax), %ecx
	cmpb	$32, %cl
	je	.L45
	movzbl	(%rax), %esi
	movb	%cl, (%rax)
	movb	%sil, 2(%rax)
.L45:
	cmpl	$14, %edx
	je	.L46
	movzbl	3(%rax), %ecx
	cmpb	$32, %cl
	je	.L47
	movzbl	(%rax), %esi
	movb	%cl, (%rax)
	movb	%sil, 3(%rax)
.L47:
	cmpl	$13, %edx
	je	.L46
	movzbl	4(%rax), %ecx
	cmpb	$32, %cl
	je	.L48
	movzbl	(%rax), %esi
	movb	%cl, (%rax)
	movb	%sil, 4(%rax)
.L48:
	cmpl	$12, %edx
	je	.L46
	movzbl	5(%rax), %ecx
	cmpb	$32, %cl
	je	.L49
	movzbl	(%rax), %esi
	movb	%cl, (%rax)
	movb	%sil, 5(%rax)
.L49:
	cmpl	$11, %edx
	je	.L46
	movzbl	6(%rax), %ecx
	cmpb	$32, %cl
	je	.L50
	movzbl	(%rax), %esi
	movb	%cl, (%rax)
	movb	%sil, 6(%rax)
.L50:
	cmpl	$10, %edx
	je	.L46
	movzbl	7(%rax), %ecx
	cmpb	$32, %cl
	je	.L51
	movzbl	(%rax), %esi
	movb	%cl, (%rax)
	movb	%sil, 7(%rax)
.L51:
	cmpl	$9, %edx
	je	.L46
	movzbl	8(%rax), %ecx
	cmpb	$32, %cl
	je	.L52
	movzbl	(%rax), %esi
	movb	%cl, (%rax)
	movb	%sil, 8(%rax)
.L52:
	cmpl	$8, %edx
	je	.L46
	movzbl	9(%rax), %ecx
	cmpb	$32, %cl
	je	.L53
	movzbl	(%rax), %esi
	movb	%cl, (%rax)
	movb	%sil, 9(%rax)
.L53:
	cmpl	$7, %edx
	je	.L46
	movzbl	10(%rax), %ecx
	cmpb	$32, %cl
	je	.L54
	movzbl	(%rax), %esi
	movb	%cl, (%rax)
	movb	%sil, 10(%rax)
.L54:
	cmpl	$6, %edx
	je	.L46
	movzbl	11(%rax), %ecx
	cmpb	$32, %cl
	je	.L55
	movzbl	(%rax), %esi
	movb	%cl, (%rax)
	movb	%sil, 11(%rax)
.L55:
	cmpl	$5, %edx
	je	.L46
	movzbl	12(%rax), %ecx
	cmpb	$32, %cl
	je	.L56
	movzbl	(%rax), %esi
	movb	%cl, (%rax)
	movb	%sil, 12(%rax)
.L56:
	cmpl	$4, %edx
	je	.L46
	movzbl	13(%rax), %ecx
	cmpb	$32, %cl
	je	.L57
	movzbl	(%rax), %esi
	movb	%cl, (%rax)
	movb	%sil, 13(%rax)
.L57:
	cmpl	$3, %edx
	je	.L46
	movzbl	14(%rax), %ecx
	cmpb	$32, %cl
	je	.L58
	movzbl	(%rax), %esi
	movb	%cl, (%rax)
	movb	%sil, 14(%rax)
.L58:
	addl	$1, %edx
	addq	$1, %rax
	cmpl	$16, %edx
	jne	.L59
	.p2align 4,,10
	.p2align 3
.L44:
	xorl	%eax, %eax
	movq	%r8, %rdx
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L186
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L46:
	.cfi_restore_state
	addq	$1, %rax
	addl	$1, %edx
	jmp	.L59
.L2:
	testq	%rcx, %rcx
	jne	.L187
	movb	$32, 9(%rsp)
.L7:
	movb	$32, 10(%rsp)
.L10:
	movb	$32, 11(%rsp)
.L13:
	movb	$32, 12(%rsp)
.L16:
	movb	$32, 13(%rsp)
.L19:
	movb	$32, 14(%rsp)
.L22:
	movb	$32, 15(%rsp)
.L25:
	movb	$32, 16(%rsp)
.L28:
	movb	$32, 17(%rsp)
.L31:
	movb	$32, 18(%rsp)
.L34:
	movb	$32, 19(%rsp)
.L37:
	movb	$32, 20(%rsp)
.L40:
	movb	$32, 21(%rsp)
	movl	$32, %eax
	jmp	.L42
.L187:
	movl	$122, %eax
	jmp	.L3
.L38:
	testq	%rcx, %rcx
	je	.L40
	movl	$122, %eax
	jmp	.L39
.L35:
	testq	%rcx, %rcx
	je	.L37
	movl	$122, %eax
	jmp	.L36
.L32:
	testq	%rcx, %rcx
	je	.L34
	movl	$122, %eax
	jmp	.L33
.L29:
	testq	%rcx, %rcx
	je	.L31
	movl	$122, %eax
	jmp	.L30
.L26:
	testq	%rcx, %rcx
	je	.L28
	movl	$122, %eax
	jmp	.L27
.L23:
	testq	%rcx, %rcx
	je	.L25
	movl	$122, %eax
	jmp	.L24
.L20:
	testq	%rcx, %rcx
	je	.L22
	movl	$122, %eax
	jmp	.L21
.L17:
	testq	%rcx, %rcx
	je	.L19
	movl	$122, %eax
	jmp	.L18
.L14:
	testq	%rcx, %rcx
	je	.L16
	movl	$122, %eax
	jmp	.L15
.L11:
	testq	%rcx, %rcx
	je	.L13
	movl	$122, %eax
	jmp	.L12
.L8:
	testq	%rcx, %rcx
	je	.L10
	movl	$122, %eax
	jmp	.L9
.L5:
	testq	%rcx, %rcx
	je	.L7
	movl	$122, %eax
	jmp	.L6
.L186:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.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>

int main(void)
{
  long int n;
  scanf("%ld", &n);

  char ans[15];
  int amari;
  for(int i=0;i<15;i++){
    amari = n % 26;
    if(amari==0){
      if(n==0) ans[i] = ' ';
      else ans[i] = 'z';
    }
    else ans[i] = amari+96;
    n = (n-1) / 26;
  }

  char tmp;
  for(int j=0;j<14;j++){
    for(int k=j+1;k<15;k++){
      if(ans[k] != ' '){
        tmp = ans[j];
        ans[j] = ans[k];
        ans[k] = tmp;
      }
    }
  }

  printf("%s", ans);

  return 0;
}

40
 1
 71095103
 51
 50389265
 4
 56744729
 3
 61759127
 6

an              a               eynzga          ay              dffxhq          d               dtdmwo          c               eecuqa          f              
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>

int main(void)
{
  long int n;
  scanf("%ld", &n);

  char ans[15];
  int amari;
  for(int i=0;i<15;i++){
    amari = n % 26;
    if(amari==0){
      if(n==0) ans[i] = ' ';
      else ans[i] = 'z';
    }
    else ans[i] = amari+96;
    n = (n-1) / 26;
  }

  char tmp;
  for(int j=0;j<14;j++){
    for(int k=j+1;k<15;k++){
      if(ans[k] != ' '){
        tmp = ans[j];
        ans[j] = ans[k];
        ans[k] = tmp;
      }
    }
  }

  printf("%s", ans);

  return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%ld"
.LC1:
	.string	"%s"
	.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	$64, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-32(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -48(%rbp)
	jmp	.L2
.L6:
	movq	-32(%rbp), %rcx
	movabsq	$5675921253449092805, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	movq	%rdx, %rax
	sarq	$3, %rax
	movq	%rcx, %rsi
	sarq	$63, %rsi
	subq	%rsi, %rax
	movq	%rax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	subq	%rax, %rcx
	movq	%rcx, %rdx
	movl	%edx, -36(%rbp)
	cmpl	$0, -36(%rbp)
	jne	.L3
	movq	-32(%rbp), %rax
	testq	%rax, %rax
	jne	.L4
	movl	-48(%rbp), %eax
	cltq
	movb	$32, -23(%rbp,%rax)
	jmp	.L5
.L4:
	movl	-48(%rbp), %eax
	cltq
	movb	$122, -23(%rbp,%rax)
	jmp	.L5
.L3:
	movl	-36(%rbp), %eax
	addl	$96, %eax
	movl	%eax, %edx
	movl	-48(%rbp), %eax
	cltq
	movb	%dl, -23(%rbp,%rax)
.L5:
	movq	-32(%rbp), %rax
	leaq	-1(%rax), %rcx
	movabsq	$5675921253449092805, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	movq	%rdx, %rax
	sarq	$3, %rax
	sarq	$63, %rcx
	movq	%rcx, %rdx
	subq	%rdx, %rax
	movq	%rax, -32(%rbp)
	addl	$1, -48(%rbp)
.L2:
	cmpl	$14, -48(%rbp)
	jle	.L6
	movl	$0, -44(%rbp)
	jmp	.L7
.L11:
	movl	-44(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -40(%rbp)
	jmp	.L8
.L10:
	movl	-40(%rbp), %eax
	cltq
	movzbl	-23(%rbp,%rax), %eax
	cmpb	$32, %al
	je	.L9
	movl	-44(%rbp), %eax
	cltq
	movzbl	-23(%rbp,%rax), %eax
	movb	%al, -49(%rbp)
	movl	-40(%rbp), %eax
	cltq
	movzbl	-23(%rbp,%rax), %edx
	movl	-44(%rbp), %eax
	cltq
	movb	%dl, -23(%rbp,%rax)
	movl	-40(%rbp), %eax
	cltq
	movzbl	-49(%rbp), %edx
	movb	%dl, -23(%rbp,%rax)
.L9:
	addl	$1, -40(%rbp)
.L8:
	cmpl	$14, -40(%rbp)
	jle	.L10
	addl	$1, -44(%rbp)
.L7:
	cmpl	$13, -44(%rbp)
	jle	.L11
	leaq	-23(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.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	"%ld"
.LC1:
	.string	"%s"
	.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	$64, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-32(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -48(%rbp)
	jmp	.L2
.L6:
	movq	-32(%rbp), %rcx
	movabsq	$5675921253449092805, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	movq	%rdx, %rax
	sarq	$3, %rax
	movq	%rcx, %rsi
	sarq	$63, %rsi
	subq	%rsi, %rax
	movq	%rax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	subq	%rax, %rcx
	movq	%rcx, %rdx
	movl	%edx, -36(%rbp)
	cmpl	$0, -36(%rbp)
	jne	.L3
	movq	-32(%rbp), %rax
	testq	%rax, %rax
	jne	.L4
	movl	-48(%rbp), %eax
	cltq
	movb	$32, -23(%rbp,%rax)
	jmp	.L5
.L4:
	movl	-48(%rbp), %eax
	cltq
	movb	$122, -23(%rbp,%rax)
	jmp	.L5
.L3:
	movl	-36(%rbp), %eax
	addl	$96, %eax
	movl	%eax, %edx
	movl	-48(%rbp), %eax
	cltq
	movb	%dl, -23(%rbp,%rax)
.L5:
	movq	-32(%rbp), %rax
	leaq	-1(%rax), %rcx
	movabsq	$5675921253449092805, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	movq	%rdx, %rax
	sarq	$3, %rax
	sarq	$63, %rcx
	movq	%rcx, %rdx
	subq	%rdx, %rax
	movq	%rax, -32(%rbp)
	addl	$1, -48(%rbp)
.L2:
	cmpl	$14, -48(%rbp)
	jle	.L6
	movl	$0, -44(%rbp)
	jmp	.L7
.L11:
	movl	-44(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -40(%rbp)
	jmp	.L8
.L10:
	movl	-40(%rbp), %eax
	cltq
	movzbl	-23(%rbp,%rax), %eax
	cmpb	$32, %al
	je	.L9
	movl	-44(%rbp), %eax
	cltq
	movzbl	-23(%rbp,%rax), %eax
	movb	%al, -49(%rbp)
	movl	-40(%rbp), %eax
	cltq
	movzbl	-23(%rbp,%rax), %edx
	movl	-44(%rbp), %eax
	cltq
	movb	%dl, -23(%rbp,%rax)
	movl	-40(%rbp), %eax
	cltq
	movzbl	-49(%rbp), %edx
	movb	%dl, -23(%rbp,%rax)
.L9:
	addl	$1, -40(%rbp)
.L8:
	cmpl	$14, -40(%rbp)
	jle	.L10
	addl	$1, -44(%rbp)
.L7:
	cmpl	$13, -44(%rbp)
	jle	.L11
	leaq	-23(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.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:
