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>

void print_number(int a) {
  int i;
  if (a == 0)
    printf("-\n");
  else {
    for (i = 0; i < a; i++)
      printf("*");
    putchar('\n');
  }
}

int main(void) {
  int n, c[10], i, t;

  while (1) {
    scanf("%d", &n);
    if (n == 0) break;

    for (i = 0; i < 10; i++)
      c[i] = 0;

    for (i = 0; i < n; i++) {
      scanf("%d", &t);
      c[t]++;
    }

    for (i = 0; i < 10; i++)
      print_number(c[i]);
  }

  return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"-"
	.text
	.p2align 4
	.globl	print_number
	.type	print_number, @function
print_number:
.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
	subq	$8, %rsp
	.cfi_def_cfa_offset 32
	testl	%edi, %edi
	je	.L2
	movl	%edi, %ebp
	movl	$0, %ebx
	jle	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	movl	$42, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	%ebx, %ebp
	jne	.L3
.L4:
	movq	stdout(%rip), %rsi
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	movl	$10, %edi
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	jmp	putc@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	leaq	.LC0(%rip), %rdi
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	jmp	puts@PLT
	.cfi_endproc
.LFE23:
	.size	print_number, .-print_number
	.section	.rodata.str1.1
.LC1:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	.LC0(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	.LC1(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$88, %rsp
	.cfi_def_cfa_offset 144
	movq	%fs:40, %rax
	movq	%rax, 72(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movq	%rax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L19:
	movq	8(%rsp), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	24(%rsp), %eax
	testl	%eax, %eax
	je	.L11
	movq	$0, 64(%rsp)
	pxor	%xmm0, %xmm0
	movaps	%xmm0, 32(%rsp)
	movaps	%xmm0, 48(%rsp)
	jle	.L12
	xorl	%ebx, %ebx
	leaq	28(%rsp), %rbp
	.p2align 4,,10
	.p2align 3
.L13:
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movslq	28(%rsp), %rax
	addl	$1, 32(%rsp,%rax,4)
	cmpl	%ebx, 24(%rsp)
	jg	.L13
.L12:
	movl	32(%rsp), %ebx
	leaq	32(%rsp), %rbp
	leaq	72(%rsp), %r12
	testl	%ebx, %ebx
	je	.L14
	.p2align 4,,10
	.p2align 3
.L28:
	movl	$0, %r15d
	jle	.L16
	.p2align 4,,10
	.p2align 3
.L15:
	movl	$42, %edi
	addl	$1, %r15d
	call	putchar@PLT
	cmpl	%r15d, %ebx
	jne	.L15
.L16:
	movq	stdout(%rip), %rsi
	movl	$10, %edi
	call	putc@PLT
.L17:
	addq	$4, %rbp
	cmpq	%rbp, %r12
	je	.L19
	movl	0(%rbp), %ebx
	testl	%ebx, %ebx
	jne	.L28
.L14:
	movq	%r14, %rdi
	call	puts@PLT
	jmp	.L17
.L11:
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L29
	addq	$88, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L29:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.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	"-"
	.text
	.p2align 4
	.globl	print_number
	.type	print_number, @function
print_number:
.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
	subq	$8, %rsp
	.cfi_def_cfa_offset 32
	testl	%edi, %edi
	je	.L2
	movl	%edi, %ebp
	movl	$0, %ebx
	jle	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	movl	$42, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	%ebx, %ebp
	jne	.L3
.L4:
	movq	stdout(%rip), %rsi
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	movl	$10, %edi
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	jmp	putc@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	leaq	.LC0(%rip), %rdi
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	jmp	puts@PLT
	.cfi_endproc
.LFE23:
	.size	print_number, .-print_number
	.section	.rodata.str1.1
.LC1:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	.LC0(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	.LC1(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$88, %rsp
	.cfi_def_cfa_offset 144
	movq	%fs:40, %rax
	movq	%rax, 72(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movq	%rax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L19:
	movq	8(%rsp), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	24(%rsp), %eax
	testl	%eax, %eax
	je	.L11
	movq	$0, 64(%rsp)
	pxor	%xmm0, %xmm0
	movaps	%xmm0, 32(%rsp)
	movaps	%xmm0, 48(%rsp)
	jle	.L12
	xorl	%ebx, %ebx
	leaq	28(%rsp), %rbp
	.p2align 4,,10
	.p2align 3
.L13:
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movslq	28(%rsp), %rax
	addl	$1, 32(%rsp,%rax,4)
	cmpl	%ebx, 24(%rsp)
	jg	.L13
.L12:
	movl	32(%rsp), %ebx
	leaq	32(%rsp), %rbp
	leaq	72(%rsp), %r12
	testl	%ebx, %ebx
	je	.L14
	.p2align 4,,10
	.p2align 3
.L28:
	movl	$0, %r15d
	jle	.L16
	.p2align 4,,10
	.p2align 3
.L15:
	movl	$42, %edi
	addl	$1, %r15d
	call	putchar@PLT
	cmpl	%r15d, %ebx
	jne	.L15
.L16:
	movq	stdout(%rip), %rsi
	movl	$10, %edi
	call	putc@PLT
.L17:
	addq	$4, %rbp
	cmpq	%rbp, %r12
	je	.L19
	movl	0(%rbp), %ebx
	testl	%ebx, %ebx
	jne	.L28
.L14:
	movq	%r14, %rdi
	call	puts@PLT
	jmp	.L17
.L11:
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L29
	addq	$88, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L29:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.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	"-"
	.text
	.p2align 4
	.globl	print_number
	.type	print_number, @function
print_number:
.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
	subq	$8, %rsp
	.cfi_def_cfa_offset 32
	testl	%edi, %edi
	je	.L2
	movl	%edi, %ebp
	movl	$0, %ebx
	jle	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	movl	$42, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	%ebx, %ebp
	jne	.L3
.L4:
	movq	stdout(%rip), %rsi
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	movl	$10, %edi
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	jmp	putc@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	leaq	.LC0(%rip), %rdi
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	jmp	puts@PLT
	.cfi_endproc
.LFE23:
	.size	print_number, .-print_number
	.section	.rodata.str1.1
.LC1:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	.LC0(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	.LC1(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$88, %rsp
	.cfi_def_cfa_offset 144
	movq	%fs:40, %rax
	movq	%rax, 72(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movq	%rax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L19:
	movq	8(%rsp), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	24(%rsp), %eax
	testl	%eax, %eax
	je	.L11
	movq	$0, 64(%rsp)
	pxor	%xmm0, %xmm0
	movaps	%xmm0, 32(%rsp)
	movaps	%xmm0, 48(%rsp)
	jle	.L12
	xorl	%ebx, %ebx
	leaq	28(%rsp), %rbp
	.p2align 4,,10
	.p2align 3
.L13:
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movslq	28(%rsp), %rax
	addl	$1, 32(%rsp,%rax,4)
	cmpl	%ebx, 24(%rsp)
	jg	.L13
.L12:
	movl	32(%rsp), %ebx
	leaq	32(%rsp), %rbp
	leaq	72(%rsp), %r12
	testl	%ebx, %ebx
	je	.L14
	.p2align 4,,10
	.p2align 3
.L28:
	movl	$0, %r15d
	jle	.L16
	.p2align 4,,10
	.p2align 3
.L15:
	movl	$42, %edi
	addl	$1, %r15d
	call	putchar@PLT
	cmpl	%r15d, %ebx
	jne	.L15
.L16:
	movq	stdout(%rip), %rsi
	movl	$10, %edi
	call	putc@PLT
.L17:
	addq	$4, %rbp
	cmpq	%rbp, %r12
	je	.L19
	movl	0(%rbp), %ebx
	testl	%ebx, %ebx
	jne	.L28
.L14:
	movq	%r14, %rdi
	call	puts@PLT
	jmp	.L17
.L11:
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L29
	addq	$88, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L29:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.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>

void print_number(int a) {
  int i;
  if (a == 0)
    printf("-\n");
  else {
    for (i = 0; i < a; i++)
      printf("*");
    putchar('\n');
  }
}

int main(void) {
  int n, c[10], i, t;

  while (1) {
    scanf("%d", &n);
    if (n == 0) break;

    for (i = 0; i < 10; i++)
      c[i] = 0;

    for (i = 0; i < n; i++) {
      scanf("%d", &t);
      c[t]++;
    }

    for (i = 0; i < 10; i++)
      print_number(c[i]);
  }

  return 0;
}```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>

void print_number(int a) {
  int i;
  if (a == 0)
    printf("-\n");
  else {
    for (i = 0; i < a; i++)
      printf("*");
    putchar('\n');
  }
}

int main(void) {
  int n, c[10], i, t;

  while (1) {
    scanf("%d", &n);
    if (n == 0) break;

    for (i = 0; i < 10; i++)
      c[i] = 0;

    for (i = 0; i < n; i++) {
      scanf("%d", &t);
      c[t]++;
    }

    for (i = 0; i < 10; i++)
      print_number(c[i]);
  }

  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
2
6
7
0
1
9
8
7
3
8
9
4
8
4
2
3
9
1
5
0
 15
2
6
7
0
0
9
8
7
3
8
9
4
8
2
2
3
9
1
5
0
 15
2
6
7
0
1
9
8
7
3
8
9
4
8
4
2
3
9
1
2
0
 15
2
6
7
0
0
9
8
7
3
8
9
8
8
2
2
3
9
1
5
0
 15
2
6
7
0
1
9
8
7
3
8
9
4
8
4
2
3
2
1
2
0
 15
2
6
7
0
0
9
8
7
3
8
9
9
8
2
2
3
9
1
5
0
 15
2
3
7
0
1
9
8
7
3
8
9
4
8
2
2
3
9
1
5
0
 15
2
6
7
0
0
9
8
7
3
8
9
4
8
2
2
3
8
1
5
0
 15
2
6
7
0
1
9
8
7
3
8
6
4
8
4
2
3
9
1
2
0
 15
2
6
7
0
1
9
8
7
3
8
9
5
8
4
2
3
2
1
2
0

*
*
**
*
**
-
*
**
***
**
-
*
-
-
-
*
-
-
-
*
 **
-
***
*
*
-
*
**
***
**
-
*
-
-
-
*
-
-
-
*
 *
*
**
*
**
-
*
**
***
**
-
*
*
-
-
-
-
-
-
*
 **
-
***
*
-
-
*
**
****
**
-
*
-
-
-
*
-
-
-
*
 *
*
**
*
**
-
*
**
***
**
-
*
**
-
-
-
-
-
-
-
 **
-
***
*
-
-
*
**
***
***
-
*
-
-
-
*
-
-
-
*
 *
*
***
**
*
-
-
**
***
**
-
*
-
-
-
*
-
-
-
*
 **
-
***
*
*
-
*
**
***
**
-
*
-
-
-
*
-
-
*
-
 *
*
**
*
**
-
**
**
***
*
-
*
*
-
-
-
-
-
-
*
 *
*
**
*
*
*
*
**
***
**
-
*
**
-
-
-
-
-
-
-

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>

void print_number(int a) {
  int i;
  if (a == 0)
    printf("-\n");
  else {
    for (i = 0; i < a; i++)
      printf("*");
    putchar('\n');
  }
}

int main(void) {
  int n, c[10], i, t;

  while (1) {
    scanf("%d", &n);
    if (n == 0) break;

    for (i = 0; i < 10; i++)
      c[i] = 0;

    for (i = 0; i < n; i++) {
      scanf("%d", &t);
      c[t]++;
    }

    for (i = 0; i < 10; i++)
      print_number(c[i]);
  }

  return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"-"
	.text
	.p2align 4
	.globl	print_number
	.type	print_number, @function
print_number:
.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
	subq	$8, %rsp
	.cfi_def_cfa_offset 32
	testl	%edi, %edi
	je	.L2
	movl	%edi, %ebp
	movl	$0, %ebx
	jle	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	movl	$42, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	%ebx, %ebp
	jne	.L3
.L4:
	movq	stdout(%rip), %rsi
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	movl	$10, %edi
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	jmp	putc@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	leaq	.LC0(%rip), %rdi
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	jmp	puts@PLT
	.cfi_endproc
.LFE23:
	.size	print_number, .-print_number
	.section	.rodata.str1.1
.LC1:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	.LC0(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	.LC1(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$88, %rsp
	.cfi_def_cfa_offset 144
	movq	%fs:40, %rax
	movq	%rax, 72(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movq	%rax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L19:
	movq	8(%rsp), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	24(%rsp), %eax
	testl	%eax, %eax
	je	.L11
	movq	$0, 64(%rsp)
	pxor	%xmm0, %xmm0
	movaps	%xmm0, 32(%rsp)
	movaps	%xmm0, 48(%rsp)
	jle	.L12
	xorl	%ebx, %ebx
	leaq	28(%rsp), %rbp
	.p2align 4,,10
	.p2align 3
.L13:
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movslq	28(%rsp), %rax
	addl	$1, 32(%rsp,%rax,4)
	cmpl	%ebx, 24(%rsp)
	jg	.L13
.L12:
	movl	32(%rsp), %ebx
	leaq	32(%rsp), %rbp
	leaq	72(%rsp), %r12
	testl	%ebx, %ebx
	je	.L14
	.p2align 4,,10
	.p2align 3
.L28:
	movl	$0, %r15d
	jle	.L16
	.p2align 4,,10
	.p2align 3
.L15:
	movl	$42, %edi
	addl	$1, %r15d
	call	putchar@PLT
	cmpl	%r15d, %ebx
	jne	.L15
.L16:
	movq	stdout(%rip), %rsi
	movl	$10, %edi
	call	putc@PLT
.L17:
	addq	$4, %rbp
	cmpq	%rbp, %r12
	je	.L19
	movl	0(%rbp), %ebx
	testl	%ebx, %ebx
	jne	.L28
.L14:
	movq	%r14, %rdi
	call	puts@PLT
	jmp	.L17
.L11:
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L29
	addq	$88, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L29:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.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	"-"
	.text
	.p2align 4
	.globl	print_number
	.type	print_number, @function
print_number:
.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
	subq	$8, %rsp
	.cfi_def_cfa_offset 32
	testl	%edi, %edi
	je	.L2
	movl	%edi, %ebp
	movl	$0, %ebx
	jle	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	movl	$42, %edi
	addl	$1, %ebx
	call	putchar@PLT
	cmpl	%ebx, %ebp
	jne	.L3
.L4:
	movq	stdout(%rip), %rsi
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	movl	$10, %edi
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	jmp	putc@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	leaq	.LC0(%rip), %rdi
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	jmp	puts@PLT
	.cfi_endproc
.LFE23:
	.size	print_number, .-print_number
	.section	.rodata.str1.1
.LC1:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	.LC0(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	.LC1(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$88, %rsp
	.cfi_def_cfa_offset 144
	movq	%fs:40, %rax
	movq	%rax, 72(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movq	%rax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L19:
	movq	8(%rsp), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	24(%rsp), %eax
	testl	%eax, %eax
	je	.L11
	movq	$0, 64(%rsp)
	pxor	%xmm0, %xmm0
	movaps	%xmm0, 32(%rsp)
	movaps	%xmm0, 48(%rsp)
	jle	.L12
	xorl	%ebx, %ebx
	leaq	28(%rsp), %rbp
	.p2align 4,,10
	.p2align 3
.L13:
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movslq	28(%rsp), %rax
	addl	$1, 32(%rsp,%rax,4)
	cmpl	%ebx, 24(%rsp)
	jg	.L13
.L12:
	movl	32(%rsp), %ebx
	leaq	32(%rsp), %rbp
	leaq	72(%rsp), %r12
	testl	%ebx, %ebx
	je	.L14
	.p2align 4,,10
	.p2align 3
.L28:
	movl	$0, %r15d
	jle	.L16
	.p2align 4,,10
	.p2align 3
.L15:
	movl	$42, %edi
	addl	$1, %r15d
	call	putchar@PLT
	cmpl	%r15d, %ebx
	jne	.L15
.L16:
	movq	stdout(%rip), %rsi
	movl	$10, %edi
	call	putc@PLT
.L17:
	addq	$4, %rbp
	cmpq	%rbp, %r12
	je	.L19
	movl	0(%rbp), %ebx
	testl	%ebx, %ebx
	jne	.L28
.L14:
	movq	%r14, %rdi
	call	puts@PLT
	jmp	.L17
.L11:
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L29
	addq	$88, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L29:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.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:
```