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(void)
{
	int n;
	char s[16];
	char eigth[8] = {0, 1, 2, 3, 5, 7, 8, 9}; 
	int i;
	
	while (scanf("%d", &n), n != 0){
		
		sprintf(s, "%o", n);
		for (i = 0; s[i] != '\0'; i++){
			if (s[i] >= '5'){
				s[i] += 2;
			}
			else if (s[i] >= '4'){
				s[i]++;
			}
		}
		printf("%s\n",s);
	}
	return (0);
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%o"
.LC1:
	.string	"%d"
	.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	$56, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rbp
	.p2align 4,,10
	.p2align 3
.L2:
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %r8d
	testl	%r8d, %r8d
	je	.L83
	leaq	16(%rsp), %r13
	movq	%r12, %rcx
	movl	$16, %edx
	xorl	%eax, %eax
	movl	$1, %esi
	movq	%r13, %rdi
	call	__sprintf_chk@PLT
	movzbl	16(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L4
	jne	.L5
	movb	$53, 16(%rsp)
	.p2align 4,,10
	.p2align 3
.L5:
	movzbl	17(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L6
	jne	.L7
	movb	$53, 17(%rsp)
	.p2align 4,,10
	.p2align 3
.L7:
	movzbl	18(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L8
	jne	.L9
	movb	$53, 18(%rsp)
	.p2align 4,,10
	.p2align 3
.L9:
	movzbl	19(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L10
	jne	.L11
	movb	$53, 19(%rsp)
	.p2align 4,,10
	.p2align 3
.L11:
	movzbl	20(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L12
	jne	.L13
	movb	$53, 20(%rsp)
	.p2align 4,,10
	.p2align 3
.L13:
	movzbl	21(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L14
	jne	.L15
	movb	$53, 21(%rsp)
	.p2align 4,,10
	.p2align 3
.L15:
	movzbl	22(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L16
	jne	.L17
	movb	$53, 22(%rsp)
	.p2align 4,,10
	.p2align 3
.L17:
	movzbl	23(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L18
	jne	.L19
	movb	$53, 23(%rsp)
	.p2align 4,,10
	.p2align 3
.L19:
	movzbl	24(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L20
	jne	.L21
	movb	$53, 24(%rsp)
	.p2align 4,,10
	.p2align 3
.L21:
	movzbl	25(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L22
	jne	.L23
	movb	$53, 25(%rsp)
	.p2align 4,,10
	.p2align 3
.L23:
	movzbl	26(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L24
	jne	.L25
	movb	$53, 26(%rsp)
	.p2align 4,,10
	.p2align 3
.L25:
	movzbl	27(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L26
	jne	.L27
	movb	$53, 27(%rsp)
	.p2align 4,,10
	.p2align 3
.L27:
	movzbl	28(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L28
	jne	.L29
	movb	$53, 28(%rsp)
	.p2align 4,,10
	.p2align 3
.L29:
	movzbl	29(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L30
	jne	.L31
	movb	$53, 29(%rsp)
	.p2align 4,,10
	.p2align 3
.L31:
	movzbl	30(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jle	.L32
	addl	$2, %eax
	movb	%al, 30(%rsp)
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r13, %rdi
	call	puts@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	addl	$2, %eax
	movb	%al, 16(%rsp)
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L6:
	addl	$2, %eax
	movb	%al, 17(%rsp)
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L8:
	addl	$2, %eax
	movb	%al, 18(%rsp)
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L10:
	addl	$2, %eax
	movb	%al, 19(%rsp)
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L12:
	addl	$2, %eax
	movb	%al, 20(%rsp)
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L14:
	addl	$2, %eax
	movb	%al, 21(%rsp)
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L16:
	addl	$2, %eax
	movb	%al, 22(%rsp)
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L18:
	addl	$2, %eax
	movb	%al, 23(%rsp)
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L20:
	addl	$2, %eax
	movb	%al, 24(%rsp)
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L22:
	addl	$2, %eax
	movb	%al, 25(%rsp)
	jmp	.L23
	.p2align 4,,10
	.p2align 3
.L24:
	addl	$2, %eax
	movb	%al, 26(%rsp)
	jmp	.L25
	.p2align 4,,10
	.p2align 3
.L26:
	addl	$2, %eax
	movb	%al, 27(%rsp)
	jmp	.L27
	.p2align 4,,10
	.p2align 3
.L83:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L84
	addq	$56, %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
	.p2align 4,,10
	.p2align 3
.L28:
	.cfi_restore_state
	addl	$2, %eax
	movb	%al, 28(%rsp)
	jmp	.L29
	.p2align 4,,10
	.p2align 3
.L30:
	addl	$2, %eax
	movb	%al, 29(%rsp)
	jmp	.L31
.L32:
	jne	.L3
	movb	$53, 30(%rsp)
	jmp	.L3
.L84:
	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	"%o"
.LC1:
	.string	"%d"
	.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	$56, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rbp
	.p2align 4,,10
	.p2align 3
.L2:
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %r8d
	testl	%r8d, %r8d
	je	.L83
	leaq	16(%rsp), %r13
	movq	%r12, %rcx
	movl	$16, %edx
	xorl	%eax, %eax
	movl	$1, %esi
	movq	%r13, %rdi
	call	__sprintf_chk@PLT
	movzbl	16(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L4
	jne	.L5
	movb	$53, 16(%rsp)
	.p2align 4,,10
	.p2align 3
.L5:
	movzbl	17(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L6
	jne	.L7
	movb	$53, 17(%rsp)
	.p2align 4,,10
	.p2align 3
.L7:
	movzbl	18(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L8
	jne	.L9
	movb	$53, 18(%rsp)
	.p2align 4,,10
	.p2align 3
.L9:
	movzbl	19(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L10
	jne	.L11
	movb	$53, 19(%rsp)
	.p2align 4,,10
	.p2align 3
.L11:
	movzbl	20(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L12
	jne	.L13
	movb	$53, 20(%rsp)
	.p2align 4,,10
	.p2align 3
.L13:
	movzbl	21(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L14
	jne	.L15
	movb	$53, 21(%rsp)
	.p2align 4,,10
	.p2align 3
.L15:
	movzbl	22(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L16
	jne	.L17
	movb	$53, 22(%rsp)
	.p2align 4,,10
	.p2align 3
.L17:
	movzbl	23(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L18
	jne	.L19
	movb	$53, 23(%rsp)
	.p2align 4,,10
	.p2align 3
.L19:
	movzbl	24(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L20
	jne	.L21
	movb	$53, 24(%rsp)
	.p2align 4,,10
	.p2align 3
.L21:
	movzbl	25(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L22
	jne	.L23
	movb	$53, 25(%rsp)
	.p2align 4,,10
	.p2align 3
.L23:
	movzbl	26(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L24
	jne	.L25
	movb	$53, 26(%rsp)
	.p2align 4,,10
	.p2align 3
.L25:
	movzbl	27(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L26
	jne	.L27
	movb	$53, 27(%rsp)
	.p2align 4,,10
	.p2align 3
.L27:
	movzbl	28(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L28
	jne	.L29
	movb	$53, 28(%rsp)
	.p2align 4,,10
	.p2align 3
.L29:
	movzbl	29(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L30
	jne	.L31
	movb	$53, 29(%rsp)
	.p2align 4,,10
	.p2align 3
.L31:
	movzbl	30(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jle	.L32
	addl	$2, %eax
	movb	%al, 30(%rsp)
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r13, %rdi
	call	puts@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	addl	$2, %eax
	movb	%al, 16(%rsp)
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L6:
	addl	$2, %eax
	movb	%al, 17(%rsp)
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L8:
	addl	$2, %eax
	movb	%al, 18(%rsp)
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L10:
	addl	$2, %eax
	movb	%al, 19(%rsp)
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L12:
	addl	$2, %eax
	movb	%al, 20(%rsp)
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L14:
	addl	$2, %eax
	movb	%al, 21(%rsp)
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L16:
	addl	$2, %eax
	movb	%al, 22(%rsp)
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L18:
	addl	$2, %eax
	movb	%al, 23(%rsp)
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L20:
	addl	$2, %eax
	movb	%al, 24(%rsp)
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L22:
	addl	$2, %eax
	movb	%al, 25(%rsp)
	jmp	.L23
	.p2align 4,,10
	.p2align 3
.L24:
	addl	$2, %eax
	movb	%al, 26(%rsp)
	jmp	.L25
	.p2align 4,,10
	.p2align 3
.L26:
	addl	$2, %eax
	movb	%al, 27(%rsp)
	jmp	.L27
	.p2align 4,,10
	.p2align 3
.L83:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L84
	addq	$56, %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
	.p2align 4,,10
	.p2align 3
.L28:
	.cfi_restore_state
	addl	$2, %eax
	movb	%al, 28(%rsp)
	jmp	.L29
	.p2align 4,,10
	.p2align 3
.L30:
	addl	$2, %eax
	movb	%al, 29(%rsp)
	jmp	.L31
.L32:
	jne	.L3
	movb	$53, 30(%rsp)
	jmp	.L3
.L84:
	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	"%o"
.LC1:
	.string	"%d"
	.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	$56, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rbp
	.p2align 4,,10
	.p2align 3
.L2:
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %r8d
	testl	%r8d, %r8d
	je	.L83
	leaq	16(%rsp), %r13
	movq	%r12, %rcx
	movl	$16, %edx
	xorl	%eax, %eax
	movl	$1, %esi
	movq	%r13, %rdi
	call	__sprintf_chk@PLT
	movzbl	16(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L4
	jne	.L5
	movb	$53, 16(%rsp)
	.p2align 4,,10
	.p2align 3
.L5:
	movzbl	17(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L6
	jne	.L7
	movb	$53, 17(%rsp)
	.p2align 4,,10
	.p2align 3
.L7:
	movzbl	18(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L8
	jne	.L9
	movb	$53, 18(%rsp)
	.p2align 4,,10
	.p2align 3
.L9:
	movzbl	19(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L10
	jne	.L11
	movb	$53, 19(%rsp)
	.p2align 4,,10
	.p2align 3
.L11:
	movzbl	20(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L12
	jne	.L13
	movb	$53, 20(%rsp)
	.p2align 4,,10
	.p2align 3
.L13:
	movzbl	21(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L14
	jne	.L15
	movb	$53, 21(%rsp)
	.p2align 4,,10
	.p2align 3
.L15:
	movzbl	22(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L16
	jne	.L17
	movb	$53, 22(%rsp)
	.p2align 4,,10
	.p2align 3
.L17:
	movzbl	23(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L18
	jne	.L19
	movb	$53, 23(%rsp)
	.p2align 4,,10
	.p2align 3
.L19:
	movzbl	24(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L20
	jne	.L21
	movb	$53, 24(%rsp)
	.p2align 4,,10
	.p2align 3
.L21:
	movzbl	25(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L22
	jne	.L23
	movb	$53, 25(%rsp)
	.p2align 4,,10
	.p2align 3
.L23:
	movzbl	26(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L24
	jne	.L25
	movb	$53, 26(%rsp)
	.p2align 4,,10
	.p2align 3
.L25:
	movzbl	27(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L26
	jne	.L27
	movb	$53, 27(%rsp)
	.p2align 4,,10
	.p2align 3
.L27:
	movzbl	28(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L28
	jne	.L29
	movb	$53, 28(%rsp)
	.p2align 4,,10
	.p2align 3
.L29:
	movzbl	29(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L30
	jne	.L31
	movb	$53, 29(%rsp)
	.p2align 4,,10
	.p2align 3
.L31:
	movzbl	30(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jle	.L32
	addl	$2, %eax
	movb	%al, 30(%rsp)
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r13, %rdi
	call	puts@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	addl	$2, %eax
	movb	%al, 16(%rsp)
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L6:
	addl	$2, %eax
	movb	%al, 17(%rsp)
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L8:
	addl	$2, %eax
	movb	%al, 18(%rsp)
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L10:
	addl	$2, %eax
	movb	%al, 19(%rsp)
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L12:
	addl	$2, %eax
	movb	%al, 20(%rsp)
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L14:
	addl	$2, %eax
	movb	%al, 21(%rsp)
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L16:
	addl	$2, %eax
	movb	%al, 22(%rsp)
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L18:
	addl	$2, %eax
	movb	%al, 23(%rsp)
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L20:
	addl	$2, %eax
	movb	%al, 24(%rsp)
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L22:
	addl	$2, %eax
	movb	%al, 25(%rsp)
	jmp	.L23
	.p2align 4,,10
	.p2align 3
.L24:
	addl	$2, %eax
	movb	%al, 26(%rsp)
	jmp	.L25
	.p2align 4,,10
	.p2align 3
.L26:
	addl	$2, %eax
	movb	%al, 27(%rsp)
	jmp	.L27
	.p2align 4,,10
	.p2align 3
.L83:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L84
	addq	$56, %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
	.p2align 4,,10
	.p2align 3
.L28:
	.cfi_restore_state
	addl	$2, %eax
	movb	%al, 28(%rsp)
	jmp	.L29
	.p2align 4,,10
	.p2align 3
.L30:
	addl	$2, %eax
	movb	%al, 29(%rsp)
	jmp	.L31
.L32:
	jne	.L3
	movb	$53, 30(%rsp)
	jmp	.L3
.L84:
	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(void)
{
	int n;
	char s[16];
	char eigth[8] = {0, 1, 2, 3, 5, 7, 8, 9}; 
	int i;
	
	while (scanf("%d", &n), n != 0){
		
		sprintf(s, "%o", n);
		for (i = 0; s[i] != '\0'; i++){
			if (s[i] >= '5'){
				s[i] += 2;
			}
			else if (s[i] >= '4'){
				s[i]++;
			}
		}
		printf("%s\n",s);
	}
	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(void)
{
	int n;
	char s[16];
	char eigth[8] = {0, 1, 2, 3, 5, 7, 8, 9}; 
	int i;
	
	while (scanf("%d", &n), n != 0){
		
		sprintf(s, "%o", n);
		for (i = 0; s[i] != '\0'; i++){
			if (s[i] >= '5'){
				s[i] += 2;
			}
			else if (s[i] >= '4'){
				s[i]++;
			}
		}
		printf("%s\n",s);
	}
	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(void)
{
	int n;
	char s[16];
	char eigth[8] = {0, 1, 2, 3, 5, 7, 8, 9}; 
	int i;
	
	while (scanf("%d", &n), n != 0){
		
		sprintf(s, "%o", n);
		for (i = 0; s[i] != '\0'; i++){
			if (s[i] >= '5'){
				s[i] += 2;
			}
			else if (s[i] >= '4'){
				s[i]++;
			}
		}
		printf("%s\n",s);
	}
	return (0);
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%o"
.LC1:
	.string	"%d"
	.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	$56, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rbp
	.p2align 4,,10
	.p2align 3
.L2:
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %r8d
	testl	%r8d, %r8d
	je	.L83
	leaq	16(%rsp), %r13
	movq	%r12, %rcx
	movl	$16, %edx
	xorl	%eax, %eax
	movl	$1, %esi
	movq	%r13, %rdi
	call	__sprintf_chk@PLT
	movzbl	16(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L4
	jne	.L5
	movb	$53, 16(%rsp)
	.p2align 4,,10
	.p2align 3
.L5:
	movzbl	17(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L6
	jne	.L7
	movb	$53, 17(%rsp)
	.p2align 4,,10
	.p2align 3
.L7:
	movzbl	18(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L8
	jne	.L9
	movb	$53, 18(%rsp)
	.p2align 4,,10
	.p2align 3
.L9:
	movzbl	19(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L10
	jne	.L11
	movb	$53, 19(%rsp)
	.p2align 4,,10
	.p2align 3
.L11:
	movzbl	20(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L12
	jne	.L13
	movb	$53, 20(%rsp)
	.p2align 4,,10
	.p2align 3
.L13:
	movzbl	21(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L14
	jne	.L15
	movb	$53, 21(%rsp)
	.p2align 4,,10
	.p2align 3
.L15:
	movzbl	22(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L16
	jne	.L17
	movb	$53, 22(%rsp)
	.p2align 4,,10
	.p2align 3
.L17:
	movzbl	23(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L18
	jne	.L19
	movb	$53, 23(%rsp)
	.p2align 4,,10
	.p2align 3
.L19:
	movzbl	24(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L20
	jne	.L21
	movb	$53, 24(%rsp)
	.p2align 4,,10
	.p2align 3
.L21:
	movzbl	25(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L22
	jne	.L23
	movb	$53, 25(%rsp)
	.p2align 4,,10
	.p2align 3
.L23:
	movzbl	26(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L24
	jne	.L25
	movb	$53, 26(%rsp)
	.p2align 4,,10
	.p2align 3
.L25:
	movzbl	27(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L26
	jne	.L27
	movb	$53, 27(%rsp)
	.p2align 4,,10
	.p2align 3
.L27:
	movzbl	28(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L28
	jne	.L29
	movb	$53, 28(%rsp)
	.p2align 4,,10
	.p2align 3
.L29:
	movzbl	29(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L30
	jne	.L31
	movb	$53, 29(%rsp)
	.p2align 4,,10
	.p2align 3
.L31:
	movzbl	30(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jle	.L32
	addl	$2, %eax
	movb	%al, 30(%rsp)
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r13, %rdi
	call	puts@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	addl	$2, %eax
	movb	%al, 16(%rsp)
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L6:
	addl	$2, %eax
	movb	%al, 17(%rsp)
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L8:
	addl	$2, %eax
	movb	%al, 18(%rsp)
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L10:
	addl	$2, %eax
	movb	%al, 19(%rsp)
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L12:
	addl	$2, %eax
	movb	%al, 20(%rsp)
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L14:
	addl	$2, %eax
	movb	%al, 21(%rsp)
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L16:
	addl	$2, %eax
	movb	%al, 22(%rsp)
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L18:
	addl	$2, %eax
	movb	%al, 23(%rsp)
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L20:
	addl	$2, %eax
	movb	%al, 24(%rsp)
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L22:
	addl	$2, %eax
	movb	%al, 25(%rsp)
	jmp	.L23
	.p2align 4,,10
	.p2align 3
.L24:
	addl	$2, %eax
	movb	%al, 26(%rsp)
	jmp	.L25
	.p2align 4,,10
	.p2align 3
.L26:
	addl	$2, %eax
	movb	%al, 27(%rsp)
	jmp	.L27
	.p2align 4,,10
	.p2align 3
.L83:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L84
	addq	$56, %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
	.p2align 4,,10
	.p2align 3
.L28:
	.cfi_restore_state
	addl	$2, %eax
	movb	%al, 28(%rsp)
	jmp	.L29
	.p2align 4,,10
	.p2align 3
.L30:
	addl	$2, %eax
	movb	%al, 29(%rsp)
	jmp	.L31
.L32:
	jne	.L3
	movb	$53, 30(%rsp)
	jmp	.L3
.L84:
	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	"%o"
.LC1:
	.string	"%d"
	.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	$56, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rbp
	.p2align 4,,10
	.p2align 3
.L2:
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %r8d
	testl	%r8d, %r8d
	je	.L83
	leaq	16(%rsp), %r13
	movq	%r12, %rcx
	movl	$16, %edx
	xorl	%eax, %eax
	movl	$1, %esi
	movq	%r13, %rdi
	call	__sprintf_chk@PLT
	movzbl	16(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L4
	jne	.L5
	movb	$53, 16(%rsp)
	.p2align 4,,10
	.p2align 3
.L5:
	movzbl	17(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L6
	jne	.L7
	movb	$53, 17(%rsp)
	.p2align 4,,10
	.p2align 3
.L7:
	movzbl	18(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L8
	jne	.L9
	movb	$53, 18(%rsp)
	.p2align 4,,10
	.p2align 3
.L9:
	movzbl	19(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L10
	jne	.L11
	movb	$53, 19(%rsp)
	.p2align 4,,10
	.p2align 3
.L11:
	movzbl	20(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L12
	jne	.L13
	movb	$53, 20(%rsp)
	.p2align 4,,10
	.p2align 3
.L13:
	movzbl	21(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L14
	jne	.L15
	movb	$53, 21(%rsp)
	.p2align 4,,10
	.p2align 3
.L15:
	movzbl	22(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L16
	jne	.L17
	movb	$53, 22(%rsp)
	.p2align 4,,10
	.p2align 3
.L17:
	movzbl	23(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L18
	jne	.L19
	movb	$53, 23(%rsp)
	.p2align 4,,10
	.p2align 3
.L19:
	movzbl	24(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L20
	jne	.L21
	movb	$53, 24(%rsp)
	.p2align 4,,10
	.p2align 3
.L21:
	movzbl	25(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L22
	jne	.L23
	movb	$53, 25(%rsp)
	.p2align 4,,10
	.p2align 3
.L23:
	movzbl	26(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L24
	jne	.L25
	movb	$53, 26(%rsp)
	.p2align 4,,10
	.p2align 3
.L25:
	movzbl	27(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L26
	jne	.L27
	movb	$53, 27(%rsp)
	.p2align 4,,10
	.p2align 3
.L27:
	movzbl	28(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L28
	jne	.L29
	movb	$53, 28(%rsp)
	.p2align 4,,10
	.p2align 3
.L29:
	movzbl	29(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jg	.L30
	jne	.L31
	movb	$53, 29(%rsp)
	.p2align 4,,10
	.p2align 3
.L31:
	movzbl	30(%rsp), %eax
	testb	%al, %al
	je	.L3
	cmpb	$52, %al
	jle	.L32
	addl	$2, %eax
	movb	%al, 30(%rsp)
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r13, %rdi
	call	puts@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	addl	$2, %eax
	movb	%al, 16(%rsp)
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L6:
	addl	$2, %eax
	movb	%al, 17(%rsp)
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L8:
	addl	$2, %eax
	movb	%al, 18(%rsp)
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L10:
	addl	$2, %eax
	movb	%al, 19(%rsp)
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L12:
	addl	$2, %eax
	movb	%al, 20(%rsp)
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L14:
	addl	$2, %eax
	movb	%al, 21(%rsp)
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L16:
	addl	$2, %eax
	movb	%al, 22(%rsp)
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L18:
	addl	$2, %eax
	movb	%al, 23(%rsp)
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L20:
	addl	$2, %eax
	movb	%al, 24(%rsp)
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L22:
	addl	$2, %eax
	movb	%al, 25(%rsp)
	jmp	.L23
	.p2align 4,,10
	.p2align 3
.L24:
	addl	$2, %eax
	movb	%al, 26(%rsp)
	jmp	.L25
	.p2align 4,,10
	.p2align 3
.L26:
	addl	$2, %eax
	movb	%al, 27(%rsp)
	jmp	.L27
	.p2align 4,,10
	.p2align 3
.L83:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L84
	addq	$56, %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
	.p2align 4,,10
	.p2align 3
.L28:
	.cfi_restore_state
	addl	$2, %eax
	movb	%al, 28(%rsp)
	jmp	.L29
	.p2align 4,,10
	.p2align 3
.L30:
	addl	$2, %eax
	movb	%al, 29(%rsp)
	jmp	.L31
.L32:
	jne	.L3
	movb	$53, 30(%rsp)
	jmp	.L3
.L84:
	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:
```