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>

int main(){
  long i,j,k,l,n;
  char a[12];
  while(scanf("%ld",&n),n!=0){
    sprintf(a,"%lo",n);
    for(i=0;i<11;i++){
      if(a[i]>='4') a[i]++;
      if(a[i]>='6') a[i]++;
    }
    printf("%s\n",a);
  }
  return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lo"
.LC1:
	.string	"%ld"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	leaq	.LC0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	leaq	.LC1(%rip), %rbx
	subq	$40, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbp
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L14:
	leaq	12(%rsp), %r13
	movq	%r12, %rcx
	movl	$12, %edx
	xorl	%eax, %eax
	movl	$1, %esi
	movq	%r13, %rdi
	call	__sprintf_chk@PLT
	movzbl	12(%rsp), %eax
	cmpb	$51, %al
	jle	.L3
	leal	1(%rax), %edx
	movb	%dl, 12(%rsp)
	cmpb	$53, %dl
	jle	.L3
	addl	$2, %eax
	movb	%al, 12(%rsp)
.L3:
	movzbl	13(%rsp), %eax
	cmpb	$51, %al
	jle	.L4
	leal	1(%rax), %edx
	movb	%dl, 13(%rsp)
	cmpb	$53, %dl
	jle	.L4
	addl	$2, %eax
	movb	%al, 13(%rsp)
.L4:
	movzbl	14(%rsp), %eax
	cmpb	$51, %al
	jle	.L5
	leal	1(%rax), %edx
	movb	%dl, 14(%rsp)
	cmpb	$53, %dl
	jle	.L5
	addl	$2, %eax
	movb	%al, 14(%rsp)
.L5:
	movzbl	15(%rsp), %eax
	cmpb	$51, %al
	jle	.L6
	leal	1(%rax), %edx
	movb	%dl, 15(%rsp)
	cmpb	$53, %dl
	jle	.L6
	addl	$2, %eax
	movb	%al, 15(%rsp)
.L6:
	movzbl	16(%rsp), %eax
	cmpb	$51, %al
	jle	.L7
	leal	1(%rax), %edx
	movb	%dl, 16(%rsp)
	cmpb	$53, %dl
	jle	.L7
	addl	$2, %eax
	movb	%al, 16(%rsp)
.L7:
	movzbl	17(%rsp), %eax
	cmpb	$51, %al
	jle	.L8
	leal	1(%rax), %edx
	movb	%dl, 17(%rsp)
	cmpb	$53, %dl
	jle	.L8
	addl	$2, %eax
	movb	%al, 17(%rsp)
.L8:
	movzbl	18(%rsp), %eax
	cmpb	$51, %al
	jle	.L9
	leal	1(%rax), %edx
	movb	%dl, 18(%rsp)
	cmpb	$53, %dl
	jle	.L9
	addl	$2, %eax
	movb	%al, 18(%rsp)
.L9:
	movzbl	19(%rsp), %eax
	cmpb	$51, %al
	jle	.L10
	leal	1(%rax), %edx
	movb	%dl, 19(%rsp)
	cmpb	$53, %dl
	jle	.L10
	addl	$2, %eax
	movb	%al, 19(%rsp)
.L10:
	movzbl	20(%rsp), %eax
	cmpb	$51, %al
	jle	.L11
	leal	1(%rax), %edx
	movb	%dl, 20(%rsp)
	cmpb	$53, %dl
	jle	.L11
	addl	$2, %eax
	movb	%al, 20(%rsp)
.L11:
	movzbl	21(%rsp), %eax
	cmpb	$51, %al
	jle	.L12
	leal	1(%rax), %edx
	movb	%dl, 21(%rsp)
	cmpb	$53, %dl
	jle	.L12
	addl	$2, %eax
	movb	%al, 21(%rsp)
.L12:
	movzbl	22(%rsp), %eax
	cmpb	$51, %al
	jle	.L13
	leal	1(%rax), %edx
	movb	%dl, 22(%rsp)
	cmpb	$53, %dl
	jle	.L13
	addl	$2, %eax
	movb	%al, 22(%rsp)
.L13:
	movq	%r13, %rdi
	call	puts@PLT
.L2:
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	(%rsp), %r8
	testq	%r8, %r8
	jne	.L14
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L18
	addq	$40, %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
.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:
```

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
.LC0:
	.string	"%lo"
.LC1:
	.string	"%ld"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	leaq	.LC0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	leaq	.LC1(%rip), %rbx
	subq	$40, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbp
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L14:
	leaq	12(%rsp), %r13
	movq	%r12, %rcx
	movl	$12, %edx
	xorl	%eax, %eax
	movl	$1, %esi
	movq	%r13, %rdi
	call	__sprintf_chk@PLT
	movzbl	12(%rsp), %eax
	cmpb	$51, %al
	jle	.L3
	leal	1(%rax), %edx
	movb	%dl, 12(%rsp)
	cmpb	$53, %dl
	jle	.L3
	addl	$2, %eax
	movb	%al, 12(%rsp)
.L3:
	movzbl	13(%rsp), %eax
	cmpb	$51, %al
	jle	.L4
	leal	1(%rax), %edx
	movb	%dl, 13(%rsp)
	cmpb	$53, %dl
	jle	.L4
	addl	$2, %eax
	movb	%al, 13(%rsp)
.L4:
	movzbl	14(%rsp), %eax
	cmpb	$51, %al
	jle	.L5
	leal	1(%rax), %edx
	movb	%dl, 14(%rsp)
	cmpb	$53, %dl
	jle	.L5
	addl	$2, %eax
	movb	%al, 14(%rsp)
.L5:
	movzbl	15(%rsp), %eax
	cmpb	$51, %al
	jle	.L6
	leal	1(%rax), %edx
	movb	%dl, 15(%rsp)
	cmpb	$53, %dl
	jle	.L6
	addl	$2, %eax
	movb	%al, 15(%rsp)
.L6:
	movzbl	16(%rsp), %eax
	cmpb	$51, %al
	jle	.L7
	leal	1(%rax), %edx
	movb	%dl, 16(%rsp)
	cmpb	$53, %dl
	jle	.L7
	addl	$2, %eax
	movb	%al, 16(%rsp)
.L7:
	movzbl	17(%rsp), %eax
	cmpb	$51, %al
	jle	.L8
	leal	1(%rax), %edx
	movb	%dl, 17(%rsp)
	cmpb	$53, %dl
	jle	.L8
	addl	$2, %eax
	movb	%al, 17(%rsp)
.L8:
	movzbl	18(%rsp), %eax
	cmpb	$51, %al
	jle	.L9
	leal	1(%rax), %edx
	movb	%dl, 18(%rsp)
	cmpb	$53, %dl
	jle	.L9
	addl	$2, %eax
	movb	%al, 18(%rsp)
.L9:
	movzbl	19(%rsp), %eax
	cmpb	$51, %al
	jle	.L10
	leal	1(%rax), %edx
	movb	%dl, 19(%rsp)
	cmpb	$53, %dl
	jle	.L10
	addl	$2, %eax
	movb	%al, 19(%rsp)
.L10:
	movzbl	20(%rsp), %eax
	cmpb	$51, %al
	jle	.L11
	leal	1(%rax), %edx
	movb	%dl, 20(%rsp)
	cmpb	$53, %dl
	jle	.L11
	addl	$2, %eax
	movb	%al, 20(%rsp)
.L11:
	movzbl	21(%rsp), %eax
	cmpb	$51, %al
	jle	.L12
	leal	1(%rax), %edx
	movb	%dl, 21(%rsp)
	cmpb	$53, %dl
	jle	.L12
	addl	$2, %eax
	movb	%al, 21(%rsp)
.L12:
	movzbl	22(%rsp), %eax
	cmpb	$51, %al
	jle	.L13
	leal	1(%rax), %edx
	movb	%dl, 22(%rsp)
	cmpb	$53, %dl
	jle	.L13
	addl	$2, %eax
	movb	%al, 22(%rsp)
.L13:
	movq	%r13, %rdi
	call	puts@PLT
.L2:
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	(%rsp), %r8
	testq	%r8, %r8
	jne	.L14
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L18
	addq	$40, %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
.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
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lo"
.LC1:
	.string	"%ld"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	leaq	.LC0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	leaq	.LC1(%rip), %rbx
	subq	$40, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbp
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L14:
	leaq	12(%rsp), %r13
	movq	%r12, %rcx
	movl	$12, %edx
	xorl	%eax, %eax
	movl	$1, %esi
	movq	%r13, %rdi
	call	__sprintf_chk@PLT
	movzbl	12(%rsp), %eax
	cmpb	$51, %al
	jle	.L3
	leal	1(%rax), %edx
	movb	%dl, 12(%rsp)
	cmpb	$53, %dl
	jle	.L3
	addl	$2, %eax
	movb	%al, 12(%rsp)
.L3:
	movzbl	13(%rsp), %eax
	cmpb	$51, %al
	jle	.L4
	leal	1(%rax), %edx
	movb	%dl, 13(%rsp)
	cmpb	$53, %dl
	jle	.L4
	addl	$2, %eax
	movb	%al, 13(%rsp)
.L4:
	movzbl	14(%rsp), %eax
	cmpb	$51, %al
	jle	.L5
	leal	1(%rax), %edx
	movb	%dl, 14(%rsp)
	cmpb	$53, %dl
	jle	.L5
	addl	$2, %eax
	movb	%al, 14(%rsp)
.L5:
	movzbl	15(%rsp), %eax
	cmpb	$51, %al
	jle	.L6
	leal	1(%rax), %edx
	movb	%dl, 15(%rsp)
	cmpb	$53, %dl
	jle	.L6
	addl	$2, %eax
	movb	%al, 15(%rsp)
.L6:
	movzbl	16(%rsp), %eax
	cmpb	$51, %al
	jle	.L7
	leal	1(%rax), %edx
	movb	%dl, 16(%rsp)
	cmpb	$53, %dl
	jle	.L7
	addl	$2, %eax
	movb	%al, 16(%rsp)
.L7:
	movzbl	17(%rsp), %eax
	cmpb	$51, %al
	jle	.L8
	leal	1(%rax), %edx
	movb	%dl, 17(%rsp)
	cmpb	$53, %dl
	jle	.L8
	addl	$2, %eax
	movb	%al, 17(%rsp)
.L8:
	movzbl	18(%rsp), %eax
	cmpb	$51, %al
	jle	.L9
	leal	1(%rax), %edx
	movb	%dl, 18(%rsp)
	cmpb	$53, %dl
	jle	.L9
	addl	$2, %eax
	movb	%al, 18(%rsp)
.L9:
	movzbl	19(%rsp), %eax
	cmpb	$51, %al
	jle	.L10
	leal	1(%rax), %edx
	movb	%dl, 19(%rsp)
	cmpb	$53, %dl
	jle	.L10
	addl	$2, %eax
	movb	%al, 19(%rsp)
.L10:
	movzbl	20(%rsp), %eax
	cmpb	$51, %al
	jle	.L11
	leal	1(%rax), %edx
	movb	%dl, 20(%rsp)
	cmpb	$53, %dl
	jle	.L11
	addl	$2, %eax
	movb	%al, 20(%rsp)
.L11:
	movzbl	21(%rsp), %eax
	cmpb	$51, %al
	jle	.L12
	leal	1(%rax), %edx
	movb	%dl, 21(%rsp)
	cmpb	$53, %dl
	jle	.L12
	addl	$2, %eax
	movb	%al, 21(%rsp)
.L12:
	movzbl	22(%rsp), %eax
	cmpb	$51, %al
	jle	.L13
	leal	1(%rax), %edx
	movb	%dl, 22(%rsp)
	cmpb	$53, %dl
	jle	.L13
	addl	$2, %eax
	movb	%al, 22(%rsp)
.L13:
	movq	%r13, %rdi
	call	puts@PLT
.L2:
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	(%rsp), %r8
	testq	%r8, %r8
	jne	.L14
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L18
	addq	$40, %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
.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:
```
```c
#include <stdio.h>

int main(){
  long i,j,k,l,n;
  char a[12];
  while(scanf("%ld",&n),n!=0){
    sprintf(a,"%lo",n);
    for(i=0;i<11;i++){
      if(a[i]>='4') a[i]++;
      if(a[i]>='6') a[i]++;
    }
    printf("%s\n",a);
  }
  return 0;
}```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>

int main(){
  long i,j,k,l,n;
  char a[12];
  while(scanf("%ld",&n),n!=0){
    sprintf(a,"%lo",n);
    for(i=0;i<11;i++){
      if(a[i]>='4') a[i]++;
      if(a[i]>='6') a[i]++;
    }
    printf("%s\n",a);
  }
  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:

15
100
1000000000
1
0
 15
110
1000000000
1
0
 15
101
1000000000
3
0
 15
110
1000000000
0
0
 15
101
1001000000
3
0
 15
100
1000000000
0
0
 15
111
1001000000
3
0
 15
000
1000000000
0
0
 15
111
1001000000
2
0
 15
111
1001000001
2
0

19
155
9358757000
1
 19
178
9358757000
1
 19
157
9358757000
3
 19
178
9358757000
 19
157
9372508100
3
 19
155
9358757000
 19
179
9372508100
3
 19
 19
179
9372508100
2
 19
179
9372508101
2

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>

int main(){
  long i,j,k,l,n;
  char a[12];
  while(scanf("%ld",&n),n!=0){
    sprintf(a,"%lo",n);
    for(i=0;i<11;i++){
      if(a[i]>='4') a[i]++;
      if(a[i]>='6') a[i]++;
    }
    printf("%s\n",a);
  }
  return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lo"
.LC1:
	.string	"%ld"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	leaq	.LC0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	leaq	.LC1(%rip), %rbx
	subq	$40, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbp
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L14:
	leaq	12(%rsp), %r13
	movq	%r12, %rcx
	movl	$12, %edx
	xorl	%eax, %eax
	movl	$1, %esi
	movq	%r13, %rdi
	call	__sprintf_chk@PLT
	movzbl	12(%rsp), %eax
	cmpb	$51, %al
	jle	.L3
	leal	1(%rax), %edx
	movb	%dl, 12(%rsp)
	cmpb	$53, %dl
	jle	.L3
	addl	$2, %eax
	movb	%al, 12(%rsp)
.L3:
	movzbl	13(%rsp), %eax
	cmpb	$51, %al
	jle	.L4
	leal	1(%rax), %edx
	movb	%dl, 13(%rsp)
	cmpb	$53, %dl
	jle	.L4
	addl	$2, %eax
	movb	%al, 13(%rsp)
.L4:
	movzbl	14(%rsp), %eax
	cmpb	$51, %al
	jle	.L5
	leal	1(%rax), %edx
	movb	%dl, 14(%rsp)
	cmpb	$53, %dl
	jle	.L5
	addl	$2, %eax
	movb	%al, 14(%rsp)
.L5:
	movzbl	15(%rsp), %eax
	cmpb	$51, %al
	jle	.L6
	leal	1(%rax), %edx
	movb	%dl, 15(%rsp)
	cmpb	$53, %dl
	jle	.L6
	addl	$2, %eax
	movb	%al, 15(%rsp)
.L6:
	movzbl	16(%rsp), %eax
	cmpb	$51, %al
	jle	.L7
	leal	1(%rax), %edx
	movb	%dl, 16(%rsp)
	cmpb	$53, %dl
	jle	.L7
	addl	$2, %eax
	movb	%al, 16(%rsp)
.L7:
	movzbl	17(%rsp), %eax
	cmpb	$51, %al
	jle	.L8
	leal	1(%rax), %edx
	movb	%dl, 17(%rsp)
	cmpb	$53, %dl
	jle	.L8
	addl	$2, %eax
	movb	%al, 17(%rsp)
.L8:
	movzbl	18(%rsp), %eax
	cmpb	$51, %al
	jle	.L9
	leal	1(%rax), %edx
	movb	%dl, 18(%rsp)
	cmpb	$53, %dl
	jle	.L9
	addl	$2, %eax
	movb	%al, 18(%rsp)
.L9:
	movzbl	19(%rsp), %eax
	cmpb	$51, %al
	jle	.L10
	leal	1(%rax), %edx
	movb	%dl, 19(%rsp)
	cmpb	$53, %dl
	jle	.L10
	addl	$2, %eax
	movb	%al, 19(%rsp)
.L10:
	movzbl	20(%rsp), %eax
	cmpb	$51, %al
	jle	.L11
	leal	1(%rax), %edx
	movb	%dl, 20(%rsp)
	cmpb	$53, %dl
	jle	.L11
	addl	$2, %eax
	movb	%al, 20(%rsp)
.L11:
	movzbl	21(%rsp), %eax
	cmpb	$51, %al
	jle	.L12
	leal	1(%rax), %edx
	movb	%dl, 21(%rsp)
	cmpb	$53, %dl
	jle	.L12
	addl	$2, %eax
	movb	%al, 21(%rsp)
.L12:
	movzbl	22(%rsp), %eax
	cmpb	$51, %al
	jle	.L13
	leal	1(%rax), %edx
	movb	%dl, 22(%rsp)
	cmpb	$53, %dl
	jle	.L13
	addl	$2, %eax
	movb	%al, 22(%rsp)
.L13:
	movq	%r13, %rdi
	call	puts@PLT
.L2:
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	(%rsp), %r8
	testq	%r8, %r8
	jne	.L14
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L18
	addq	$40, %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
.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:
```

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
.LC0:
	.string	"%lo"
.LC1:
	.string	"%ld"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	leaq	.LC0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	leaq	.LC1(%rip), %rbx
	subq	$40, %rsp
	.cfi_def_cfa_offset 80
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbp
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L14:
	leaq	12(%rsp), %r13
	movq	%r12, %rcx
	movl	$12, %edx
	xorl	%eax, %eax
	movl	$1, %esi
	movq	%r13, %rdi
	call	__sprintf_chk@PLT
	movzbl	12(%rsp), %eax
	cmpb	$51, %al
	jle	.L3
	leal	1(%rax), %edx
	movb	%dl, 12(%rsp)
	cmpb	$53, %dl
	jle	.L3
	addl	$2, %eax
	movb	%al, 12(%rsp)
.L3:
	movzbl	13(%rsp), %eax
	cmpb	$51, %al
	jle	.L4
	leal	1(%rax), %edx
	movb	%dl, 13(%rsp)
	cmpb	$53, %dl
	jle	.L4
	addl	$2, %eax
	movb	%al, 13(%rsp)
.L4:
	movzbl	14(%rsp), %eax
	cmpb	$51, %al
	jle	.L5
	leal	1(%rax), %edx
	movb	%dl, 14(%rsp)
	cmpb	$53, %dl
	jle	.L5
	addl	$2, %eax
	movb	%al, 14(%rsp)
.L5:
	movzbl	15(%rsp), %eax
	cmpb	$51, %al
	jle	.L6
	leal	1(%rax), %edx
	movb	%dl, 15(%rsp)
	cmpb	$53, %dl
	jle	.L6
	addl	$2, %eax
	movb	%al, 15(%rsp)
.L6:
	movzbl	16(%rsp), %eax
	cmpb	$51, %al
	jle	.L7
	leal	1(%rax), %edx
	movb	%dl, 16(%rsp)
	cmpb	$53, %dl
	jle	.L7
	addl	$2, %eax
	movb	%al, 16(%rsp)
.L7:
	movzbl	17(%rsp), %eax
	cmpb	$51, %al
	jle	.L8
	leal	1(%rax), %edx
	movb	%dl, 17(%rsp)
	cmpb	$53, %dl
	jle	.L8
	addl	$2, %eax
	movb	%al, 17(%rsp)
.L8:
	movzbl	18(%rsp), %eax
	cmpb	$51, %al
	jle	.L9
	leal	1(%rax), %edx
	movb	%dl, 18(%rsp)
	cmpb	$53, %dl
	jle	.L9
	addl	$2, %eax
	movb	%al, 18(%rsp)
.L9:
	movzbl	19(%rsp), %eax
	cmpb	$51, %al
	jle	.L10
	leal	1(%rax), %edx
	movb	%dl, 19(%rsp)
	cmpb	$53, %dl
	jle	.L10
	addl	$2, %eax
	movb	%al, 19(%rsp)
.L10:
	movzbl	20(%rsp), %eax
	cmpb	$51, %al
	jle	.L11
	leal	1(%rax), %edx
	movb	%dl, 20(%rsp)
	cmpb	$53, %dl
	jle	.L11
	addl	$2, %eax
	movb	%al, 20(%rsp)
.L11:
	movzbl	21(%rsp), %eax
	cmpb	$51, %al
	jle	.L12
	leal	1(%rax), %edx
	movb	%dl, 21(%rsp)
	cmpb	$53, %dl
	jle	.L12
	addl	$2, %eax
	movb	%al, 21(%rsp)
.L12:
	movzbl	22(%rsp), %eax
	cmpb	$51, %al
	jle	.L13
	leal	1(%rax), %edx
	movb	%dl, 22(%rsp)
	cmpb	$53, %dl
	jle	.L13
	addl	$2, %eax
	movb	%al, 22(%rsp)
.L13:
	movq	%r13, %rdi
	call	puts@PLT
.L2:
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	(%rsp), %r8
	testq	%r8, %r8
	jne	.L14
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L18
	addq	$40, %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
.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:
```