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>

void showAbacus( int number );

int main( void )
{
	int number;
	
	scanf( "%d", &number );
	showAbacus( number );
	while( scanf( "%d", &number ) != EOF )
	{
		printf( "\n" );
		showAbacus( number );
	}
	return (0);
}

void showAbacus( int number )
{
	char char_Number[6];
	int i;
	int j;
	
	
	sprintf( char_Number, "%05d", number );
	
	for( i = 0; i < 5; i++ )
	{
		if( char_Number[i] > '4' )
		{
			printf( " " );
		}
		else
		{
			printf( "*" );
		}
	}
	printf( "\n" );
	for( i = 0; i < 5; i++ )
	{
		if( char_Number[i] > '4' )
		{
			printf( "*" );
		}
		else
		{
			printf( " " );
		}
	}
	printf( "\n" );
	for( i = 0; i < 5; i++ )
	{
		printf( "=" );
	}
	printf( "\n" );
	
	for( i = 0; i < 5; i++ )
	{
		for( j = 0; j < 5; j++ )
		{
			if( char_Number[j] - '0' == i || char_Number[j] - '0' == i + 5 )
			{
				printf( " " );
			}
			else
			{
				printf( "*" );
			}
		}
		printf( "\n" );
	}
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
	.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	$16, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-12(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-12(%rbp), %eax
	movl	%eax, %edi
	call	showAbacus
	jmp	.L2
.L3:
	movl	$10, %edi
	call	putchar@PLT
	movl	-12(%rbp), %eax
	movl	%eax, %edi
	call	showAbacus
.L2:
	leaq	-12(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	cmpl	$-1, %eax
	jne	.L3
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
.LC1:
	.string	"%05d"
	.text
	.globl	showAbacus
	.type	showAbacus, @function
showAbacus:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$48, %rsp
	movl	%edi, -36(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	-36(%rbp), %edx
	leaq	-14(%rbp), %rax
	leaq	.LC1(%rip), %rcx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	sprintf@PLT
	movl	$0, -24(%rbp)
	jmp	.L7
.L10:
	movl	-24(%rbp), %eax
	cltq
	movzbl	-14(%rbp,%rax), %eax
	cmpb	$52, %al
	jle	.L8
	movl	$32, %edi
	call	putchar@PLT
	jmp	.L9
.L8:
	movl	$42, %edi
	call	putchar@PLT
.L9:
	addl	$1, -24(%rbp)
.L7:
	cmpl	$4, -24(%rbp)
	jle	.L10
	movl	$10, %edi
	call	putchar@PLT
	movl	$0, -24(%rbp)
	jmp	.L11
.L14:
	movl	-24(%rbp), %eax
	cltq
	movzbl	-14(%rbp,%rax), %eax
	cmpb	$52, %al
	jle	.L12
	movl	$42, %edi
	call	putchar@PLT
	jmp	.L13
.L12:
	movl	$32, %edi
	call	putchar@PLT
.L13:
	addl	$1, -24(%rbp)
.L11:
	cmpl	$4, -24(%rbp)
	jle	.L14
	movl	$10, %edi
	call	putchar@PLT
	movl	$0, -24(%rbp)
	jmp	.L15
.L16:
	movl	$61, %edi
	call	putchar@PLT
	addl	$1, -24(%rbp)
.L15:
	cmpl	$4, -24(%rbp)
	jle	.L16
	movl	$10, %edi
	call	putchar@PLT
	movl	$0, -24(%rbp)
	jmp	.L17
.L23:
	movl	$0, -20(%rbp)
	jmp	.L18
.L22:
	movl	-20(%rbp), %eax
	cltq
	movzbl	-14(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$48, %eax
	cmpl	%eax, -24(%rbp)
	je	.L19
	movl	-20(%rbp), %eax
	cltq
	movzbl	-14(%rbp,%rax), %eax
	movsbl	%al, %eax
	leal	-48(%rax), %edx
	movl	-24(%rbp), %eax
	addl	$5, %eax
	cmpl	%eax, %edx
	jne	.L20
.L19:
	movl	$32, %edi
	call	putchar@PLT
	jmp	.L21
.L20:
	movl	$42, %edi
	call	putchar@PLT
.L21:
	addl	$1, -20(%rbp)
.L18:
	cmpl	$4, -20(%rbp)
	jle	.L22
	movl	$10, %edi
	call	putchar@PLT
	addl	$1, -24(%rbp)
.L17:
	cmpl	$4, -24(%rbp)
	jle	.L23
	nop
	movq	-8(%rbp), %rax
	subq	%fs:40, %rax
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	showAbacus, .-showAbacus
	.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	"%05d"
	.text
	.p2align 4
	.globl	showAbacus
	.type	showAbacus, @function
showAbacus:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	movl	%edi, %r8d
	movl	$6, %edx
	movl	$1, %esi
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	leaq	.LC0(%rip), %rcx
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$16, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	2(%rsp), %r13
	leaq	7(%rsp), %rbp
	movq	%r13, %rdi
	movq	%r13, %rbx
	call	__sprintf_chk@PLT
.L4:
	cmpb	$52, (%rbx)
	jle	.L2
	movl	$32, %edi
	call	putchar@PLT
.L3:
	addq	$1, %rbx
	cmpq	%rbp, %rbx
	jne	.L4
	movl	$10, %edi
	movq	%r13, %rbx
	call	putchar@PLT
.L7:
	cmpb	$52, (%rbx)
	jle	.L5
	movl	$42, %edi
	call	putchar@PLT
.L6:
	addq	$1, %rbx
	cmpq	%rbp, %rbx
	jne	.L7
	movl	$10, %edi
	movl	$5, %ebx
	call	putchar@PLT
.L8:
	movl	$61, %edi
	call	putchar@PLT
	subl	$1, %ebx
	jne	.L8
	movl	$10, %edi
	movl	$5, %r12d
	xorl	%ebx, %ebx
	call	putchar@PLT
.L9:
	movq	%r13, %r14
.L13:
	movsbl	(%r14), %eax
	subl	$48, %eax
	cmpl	%ebx, %eax
	je	.L10
	cmpl	%r12d, %eax
	je	.L10
	movl	$42, %edi
	call	putchar@PLT
.L12:
	addq	$1, %r14
	cmpq	%rbp, %r14
	jne	.L13
	movl	$10, %edi
	addl	$1, %ebx
	addl	$1, %r12d
	call	putchar@PLT
	cmpl	$5, %ebx
	jne	.L9
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L22
	addq	$16, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	movl	$32, %edi
	call	putchar@PLT
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L5:
	movl	$32, %edi
	call	putchar@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L2:
	movl	$42, %edi
	call	putchar@PLT
	jmp	.L3
.L22:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.size	showAbacus, .-showAbacus
	.section	.rodata.str1.1
.LC1:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	leaq	.LC1(%rip), %rbx
	movq	%rbx, %rdi
	subq	$24, %rsp
	.cfi_def_cfa_offset 48
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rbp
	movq	%rbp, %rsi
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %edi
	call	showAbacus
	jmp	.L24
	.p2align 4,,10
	.p2align 3
.L25:
	movl	$10, %edi
	call	putchar@PLT
	movl	4(%rsp), %edi
	call	showAbacus
.L24:
	xorl	%eax, %eax
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$-1, %eax
	jne	.L25
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L28
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L28:
	.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
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%05d"
	.text
	.p2align 4
	.globl	showAbacus
	.type	showAbacus, @function
showAbacus:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	movl	%edi, %r8d
	movl	$6, %edx
	movl	$1, %esi
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	leaq	.LC0(%rip), %rcx
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$16, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	2(%rsp), %r13
	leaq	7(%rsp), %rbp
	movq	%r13, %rdi
	movq	%r13, %rbx
	call	__sprintf_chk@PLT
.L4:
	cmpb	$52, (%rbx)
	jle	.L2
	movl	$32, %edi
	call	putchar@PLT
.L3:
	addq	$1, %rbx
	cmpq	%rbp, %rbx
	jne	.L4
	movl	$10, %edi
	movq	%r13, %rbx
	call	putchar@PLT
.L7:
	cmpb	$52, (%rbx)
	jle	.L5
	movl	$42, %edi
	call	putchar@PLT
.L6:
	addq	$1, %rbx
	cmpq	%rbp, %rbx
	jne	.L7
	movl	$10, %edi
	movl	$5, %ebx
	call	putchar@PLT
.L8:
	movl	$61, %edi
	call	putchar@PLT
	subl	$1, %ebx
	jne	.L8
	movl	$10, %edi
	movl	$5, %r12d
	xorl	%ebx, %ebx
	call	putchar@PLT
.L9:
	movq	%r13, %r14
.L13:
	movsbl	(%r14), %eax
	subl	$48, %eax
	cmpl	%ebx, %eax
	je	.L10
	cmpl	%r12d, %eax
	je	.L10
	movl	$42, %edi
	call	putchar@PLT
.L12:
	addq	$1, %r14
	cmpq	%rbp, %r14
	jne	.L13
	movl	$10, %edi
	addl	$1, %ebx
	addl	$1, %r12d
	call	putchar@PLT
	cmpl	$5, %ebx
	jne	.L9
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L22
	addq	$16, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	movl	$32, %edi
	call	putchar@PLT
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L5:
	movl	$32, %edi
	call	putchar@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L2:
	movl	$42, %edi
	call	putchar@PLT
	jmp	.L3
.L22:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.size	showAbacus, .-showAbacus
	.section	.rodata.str1.1
.LC1:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	leaq	.LC1(%rip), %rbx
	movq	%rbx, %rdi
	subq	$24, %rsp
	.cfi_def_cfa_offset 48
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rbp
	movq	%rbp, %rsi
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %edi
	call	showAbacus
	jmp	.L24
	.p2align 4,,10
	.p2align 3
.L25:
	movl	$10, %edi
	call	putchar@PLT
	movl	4(%rsp), %edi
	call	showAbacus
.L24:
	xorl	%eax, %eax
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$-1, %eax
	jne	.L25
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L28
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L28:
	.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:

#include <stdio.h>

void showAbacus( int number );

int main( void )
{
	int number;
	
	scanf( "%d", &number );
	showAbacus( number );
	while( scanf( "%d", &number ) != EOF )
	{
		printf( "\n" );
		showAbacus( number );
	}
	return (0);
}

void showAbacus( int number )
{
	char char_Number[6];
	int i;
	int j;
	
	
	sprintf( char_Number, "%05d", number );
	
	for( i = 0; i < 5; i++ )
	{
		if( char_Number[i] > '4' )
		{
			printf( " " );
		}
		else
		{
			printf( "*" );
		}
	}
	printf( "\n" );
	for( i = 0; i < 5; i++ )
	{
		if( char_Number[i] > '4' )
		{
			printf( "*" );
		}
		else
		{
			printf( " " );
		}
	}
	printf( "\n" );
	for( i = 0; i < 5; i++ )
	{
		printf( "=" );
	}
	printf( "\n" );
	
	for( i = 0; i < 5; i++ )
	{
		for( j = 0; j < 5; j++ )
		{
			if( char_Number[j] - '0' == i || char_Number[j] - '0' == i + 5 )
			{
				printf( " " );
			}
			else
			{
				printf( "*" );
			}
		}
		printf( "\n" );
	}
}
2006
1101
 2006
0101
 2006
0100
 2006
1100
 2006
1000
 2006
1001
 2006
1011
 2006
1010
 2006
0010
 2006
0011

**** 
    *
=====
 *  *
**** 
* ***
*****
*****

*****
     
=====
 ** *
*  * 
*****
*****
*****
 **** 
    *
=====
 *  *
**** 
* ***
*****
*****

*****
     
=====
  * *
** * 
*****
*****
*****
 **** 
    *
=====
 *  *
**** 
* ***
*****
*****

*****
     
=====
  *  
** **
*****
*****
*****
 **** 
    *
=====
 *  *
**** 
* ***
*****
*****

*****
     
=====
 **  
*  **
*****
*****
*****
 **** 
    *
=====
 *  *
**** 
* ***
*****
*****

*****
     
=====
 *   
* ***
*****
*****
*****
 **** 
    *
=====
 *  *
**** 
* ***
*****
*****

*****
     
=====
 *  *
* ** 
*****
*****
*****
 **** 
    *
=====
 *  *
**** 
* ***
*****
*****

*****
     
=====
 * **
* *  
*****
*****
*****
 **** 
    *
=====
 *  *
**** 
* ***
*****
*****

*****
     
=====
 * * 
* * *
*****
*****
*****
 **** 
    *
=====
 *  *
**** 
* ***
*****
*****

*****
     
=====
   * 
*** *
*****
*****
*****
 **** 
    *
=====
 *  *
**** 
* ***
*****
*****

*****
     
=====
   **
***  
*****
*****
*****

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>

void showAbacus( int number );

int main( void )
{
	int number;
	
	scanf( "%d", &number );
	showAbacus( number );
	while( scanf( "%d", &number ) != EOF )
	{
		printf( "\n" );
		showAbacus( number );
	}
	return (0);
}

void showAbacus( int number )
{
	char char_Number[6];
	int i;
	int j;
	
	
	sprintf( char_Number, "%05d", number );
	
	for( i = 0; i < 5; i++ )
	{
		if( char_Number[i] > '4' )
		{
			printf( " " );
		}
		else
		{
			printf( "*" );
		}
	}
	printf( "\n" );
	for( i = 0; i < 5; i++ )
	{
		if( char_Number[i] > '4' )
		{
			printf( "*" );
		}
		else
		{
			printf( " " );
		}
	}
	printf( "\n" );
	for( i = 0; i < 5; i++ )
	{
		printf( "=" );
	}
	printf( "\n" );
	
	for( i = 0; i < 5; i++ )
	{
		for( j = 0; j < 5; j++ )
		{
			if( char_Number[j] - '0' == i || char_Number[j] - '0' == i + 5 )
			{
				printf( " " );
			}
			else
			{
				printf( "*" );
			}
		}
		printf( "\n" );
	}
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
	.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	$16, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-12(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-12(%rbp), %eax
	movl	%eax, %edi
	call	showAbacus
	jmp	.L2
.L3:
	movl	$10, %edi
	call	putchar@PLT
	movl	-12(%rbp), %eax
	movl	%eax, %edi
	call	showAbacus
.L2:
	leaq	-12(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	cmpl	$-1, %eax
	jne	.L3
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
.LC1:
	.string	"%05d"
	.text
	.globl	showAbacus
	.type	showAbacus, @function
showAbacus:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$48, %rsp
	movl	%edi, -36(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	-36(%rbp), %edx
	leaq	-14(%rbp), %rax
	leaq	.LC1(%rip), %rcx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	sprintf@PLT
	movl	$0, -24(%rbp)
	jmp	.L7
.L10:
	movl	-24(%rbp), %eax
	cltq
	movzbl	-14(%rbp,%rax), %eax
	cmpb	$52, %al
	jle	.L8
	movl	$32, %edi
	call	putchar@PLT
	jmp	.L9
.L8:
	movl	$42, %edi
	call	putchar@PLT
.L9:
	addl	$1, -24(%rbp)
.L7:
	cmpl	$4, -24(%rbp)
	jle	.L10
	movl	$10, %edi
	call	putchar@PLT
	movl	$0, -24(%rbp)
	jmp	.L11
.L14:
	movl	-24(%rbp), %eax
	cltq
	movzbl	-14(%rbp,%rax), %eax
	cmpb	$52, %al
	jle	.L12
	movl	$42, %edi
	call	putchar@PLT
	jmp	.L13
.L12:
	movl	$32, %edi
	call	putchar@PLT
.L13:
	addl	$1, -24(%rbp)
.L11:
	cmpl	$4, -24(%rbp)
	jle	.L14
	movl	$10, %edi
	call	putchar@PLT
	movl	$0, -24(%rbp)
	jmp	.L15
.L16:
	movl	$61, %edi
	call	putchar@PLT
	addl	$1, -24(%rbp)
.L15:
	cmpl	$4, -24(%rbp)
	jle	.L16
	movl	$10, %edi
	call	putchar@PLT
	movl	$0, -24(%rbp)
	jmp	.L17
.L23:
	movl	$0, -20(%rbp)
	jmp	.L18
.L22:
	movl	-20(%rbp), %eax
	cltq
	movzbl	-14(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$48, %eax
	cmpl	%eax, -24(%rbp)
	je	.L19
	movl	-20(%rbp), %eax
	cltq
	movzbl	-14(%rbp,%rax), %eax
	movsbl	%al, %eax
	leal	-48(%rax), %edx
	movl	-24(%rbp), %eax
	addl	$5, %eax
	cmpl	%eax, %edx
	jne	.L20
.L19:
	movl	$32, %edi
	call	putchar@PLT
	jmp	.L21
.L20:
	movl	$42, %edi
	call	putchar@PLT
.L21:
	addl	$1, -20(%rbp)
.L18:
	cmpl	$4, -20(%rbp)
	jle	.L22
	movl	$10, %edi
	call	putchar@PLT
	addl	$1, -24(%rbp)
.L17:
	cmpl	$4, -24(%rbp)
	jle	.L23
	nop
	movq	-8(%rbp), %rax
	subq	%fs:40, %rax
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	showAbacus, .-showAbacus
	.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	"%d"
	.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	$16, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-12(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-12(%rbp), %eax
	movl	%eax, %edi
	call	showAbacus
	jmp	.L2
.L3:
	movl	$10, %edi
	call	putchar@PLT
	movl	-12(%rbp), %eax
	movl	%eax, %edi
	call	showAbacus
.L2:
	leaq	-12(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	cmpl	$-1, %eax
	jne	.L3
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
.LC1:
	.string	"%05d"
	.text
	.globl	showAbacus
	.type	showAbacus, @function
showAbacus:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$48, %rsp
	movl	%edi, -36(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	-36(%rbp), %edx
	leaq	-14(%rbp), %rax
	leaq	.LC1(%rip), %rcx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	movl	$0, %eax
	call	sprintf@PLT
	movl	$0, -24(%rbp)
	jmp	.L7
.L10:
	movl	-24(%rbp), %eax
	cltq
	movzbl	-14(%rbp,%rax), %eax
	cmpb	$52, %al
	jle	.L8
	movl	$32, %edi
	call	putchar@PLT
	jmp	.L9
.L8:
	movl	$42, %edi
	call	putchar@PLT
.L9:
	addl	$1, -24(%rbp)
.L7:
	cmpl	$4, -24(%rbp)
	jle	.L10
	movl	$10, %edi
	call	putchar@PLT
	movl	$0, -24(%rbp)
	jmp	.L11
.L14:
	movl	-24(%rbp), %eax
	cltq
	movzbl	-14(%rbp,%rax), %eax
	cmpb	$52, %al
	jle	.L12
	movl	$42, %edi
	call	putchar@PLT
	jmp	.L13
.L12:
	movl	$32, %edi
	call	putchar@PLT
.L13:
	addl	$1, -24(%rbp)
.L11:
	cmpl	$4, -24(%rbp)
	jle	.L14
	movl	$10, %edi
	call	putchar@PLT
	movl	$0, -24(%rbp)
	jmp	.L15
.L16:
	movl	$61, %edi
	call	putchar@PLT
	addl	$1, -24(%rbp)
.L15:
	cmpl	$4, -24(%rbp)
	jle	.L16
	movl	$10, %edi
	call	putchar@PLT
	movl	$0, -24(%rbp)
	jmp	.L17
.L23:
	movl	$0, -20(%rbp)
	jmp	.L18
.L22:
	movl	-20(%rbp), %eax
	cltq
	movzbl	-14(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$48, %eax
	cmpl	%eax, -24(%rbp)
	je	.L19
	movl	-20(%rbp), %eax
	cltq
	movzbl	-14(%rbp,%rax), %eax
	movsbl	%al, %eax
	leal	-48(%rax), %edx
	movl	-24(%rbp), %eax
	addl	$5, %eax
	cmpl	%eax, %edx
	jne	.L20
.L19:
	movl	$32, %edi
	call	putchar@PLT
	jmp	.L21
.L20:
	movl	$42, %edi
	call	putchar@PLT
.L21:
	addl	$1, -20(%rbp)
.L18:
	cmpl	$4, -20(%rbp)
	jle	.L22
	movl	$10, %edi
	call	putchar@PLT
	addl	$1, -24(%rbp)
.L17:
	cmpl	$4, -24(%rbp)
	jle	.L23
	nop
	movq	-8(%rbp), %rax
	subq	%fs:40, %rax
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	showAbacus, .-showAbacus
	.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:
