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>
#include<stdlib.h>

int fastDigit(int n){
  if(n <= 9) return n;
  else fastDigit(n / 10);
}

int main(void){
  int n, i, j, result=0;
  int c[10][10]={0};
  scanf("%d", &n);
  for(i=1;i<=n;i++){
    if(i%10==0){
      continue;
    }else{
      j = fastDigit(i);
      c[j][i%10]++;
    }
  }
  for(i=1;i<=9;i++){
    for(j=1;j<=9;j++){
      result += c[i][j] * c[j][i];
    }
  }
  printf("%d",result);
      
  return 0;
  
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	fastDigit
	.type	fastDigit, @function
fastDigit:
.LFB39:
	.cfi_startproc
	endbr64
	movl	%edi, %eax
	movl	$3435973837, %ecx
	cmpl	$9, %edi
	jle	.L4
	.p2align 4,,10
	.p2align 3
.L2:
	movl	%eax, %eax
	movq	%rax, %rdx
	imulq	%rcx, %rax
	shrq	$35, %rax
	cmpl	$99, %edx
	jg	.L2
.L4:
	ret
	.cfi_endproc
.LFE39:
	.size	fastDigit, .-fastDigit
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movl	$50, %ecx
	leaq	.LC0(%rip), %rbp
	subq	$432, %rsp
	.cfi_def_cfa_offset 448
	movq	%fs:40, %rax
	movq	%rax, 424(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rdi
	leaq	12(%rsp), %rsi
	rep stosq
	movq	%rbp, %rdi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L8
	movl	$1, 60(%rsp)
	cmpl	$1, %eax
	je	.L18
	movl	$1, 104(%rsp)
	cmpl	$2, %eax
	je	.L19
	movl	$1, 148(%rsp)
	cmpl	$3, %eax
	je	.L20
	movl	$1, 192(%rsp)
	cmpl	$4, %eax
	je	.L21
	movl	$1, 236(%rsp)
	cmpl	$5, %eax
	je	.L22
	movl	$1, 280(%rsp)
	cmpl	$6, %eax
	je	.L23
	movl	$1, 324(%rsp)
	cmpl	$7, %eax
	je	.L24
	movl	$1, 368(%rsp)
	cmpl	$8, %eax
	jle	.L25
	movl	$1, 412(%rsp)
	movl	$10, %edi
.L9:
	leal	1(%rax), %r9d
	movl	$3435973837, %r8d
	cmpl	%edi, %eax
	jge	.L13
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L33:
	addl	$1, %edi
	cmpl	%edi, %r9d
	je	.L8
.L13:
	movl	%edi, %ecx
	imulq	%r8, %rcx
	shrq	$35, %rcx
	leal	(%rcx,%rcx,4), %eax
	movl	%edi, %ecx
	addl	%eax, %eax
	subl	%eax, %ecx
	movl	%edi, %eax
	je	.L33
	.p2align 4,,10
	.p2align 3
.L11:
	cltq
	movq	%rax, %rdx
	imulq	$1717986919, %rax, %rax
	movl	%edx, %esi
	sarl	$31, %esi
	sarq	$34, %rax
	subl	%esi, %eax
	cmpl	$99, %edx
	jg	.L11
	cltq
	movslq	%ecx, %rcx
	addl	$1, %edi
	leaq	(%rax,%rax,4), %rax
	leaq	(%rcx,%rax,2), %rax
	addl	$1, 16(%rsp,%rax,4)
	cmpl	%edi, %r9d
	jne	.L13
.L8:
	leaq	60(%rsp), %rax
	leaq	420(%rsp), %rdi
	xorl	%edx, %edx
	movq	%rax, %rcx
	.p2align 4,,10
	.p2align 3
.L16:
	movl	(%rax), %esi
	imull	(%rcx), %esi
	addq	$40, %rax
	addq	$4, %rcx
	addl	%esi, %edx
	movl	-36(%rax), %esi
	imull	36(%rcx), %esi
	addl	%edx, %esi
	movl	-32(%rax), %edx
	imull	76(%rcx), %edx
	addl	%esi, %edx
	movl	-28(%rax), %esi
	imull	116(%rcx), %esi
	addl	%edx, %esi
	movl	-24(%rax), %edx
	imull	156(%rcx), %edx
	addl	%esi, %edx
	movl	-20(%rax), %esi
	imull	196(%rcx), %esi
	addl	%edx, %esi
	movl	-16(%rax), %edx
	imull	236(%rcx), %edx
	addl	%esi, %edx
	movl	-12(%rax), %esi
	imull	276(%rcx), %esi
	addl	%edx, %esi
	movl	-8(%rax), %edx
	imull	316(%rcx), %edx
	addl	%esi, %edx
	cmpq	%rdi, %rax
	jne	.L16
	xorl	%eax, %eax
	movq	%rbp, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	424(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L34
	addq	$432, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L22:
	.cfi_restore_state
	movl	$6, %edi
	jmp	.L9
.L18:
	movl	$2, %edi
	jmp	.L9
.L19:
	movl	$3, %edi
	jmp	.L9
.L20:
	movl	$4, %edi
	jmp	.L9
.L21:
	movl	$5, %edi
	jmp	.L9
.L23:
	movl	$7, %edi
	jmp	.L9
.L25:
	movl	$9, %edi
	jmp	.L9
.L24:
	movl	$8, %edi
	jmp	.L9
.L34:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE40:
	.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
	.p2align 4
	.globl	fastDigit
	.type	fastDigit, @function
fastDigit:
.LFB39:
	.cfi_startproc
	endbr64
	movl	%edi, %eax
	movl	$3435973837, %ecx
	cmpl	$9, %edi
	jle	.L4
	.p2align 4,,10
	.p2align 3
.L2:
	movl	%eax, %eax
	movq	%rax, %rdx
	imulq	%rcx, %rax
	shrq	$35, %rax
	cmpl	$99, %edx
	jg	.L2
.L4:
	ret
	.cfi_endproc
.LFE39:
	.size	fastDigit, .-fastDigit
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movl	$50, %ecx
	leaq	.LC0(%rip), %rbp
	subq	$432, %rsp
	.cfi_def_cfa_offset 448
	movq	%fs:40, %rax
	movq	%rax, 424(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rdi
	leaq	12(%rsp), %rsi
	rep stosq
	movq	%rbp, %rdi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L8
	movl	$1, 60(%rsp)
	cmpl	$1, %eax
	je	.L18
	movl	$1, 104(%rsp)
	cmpl	$2, %eax
	je	.L19
	movl	$1, 148(%rsp)
	cmpl	$3, %eax
	je	.L20
	movl	$1, 192(%rsp)
	cmpl	$4, %eax
	je	.L21
	movl	$1, 236(%rsp)
	cmpl	$5, %eax
	je	.L22
	movl	$1, 280(%rsp)
	cmpl	$6, %eax
	je	.L23
	movl	$1, 324(%rsp)
	cmpl	$7, %eax
	je	.L24
	movl	$1, 368(%rsp)
	cmpl	$8, %eax
	jle	.L25
	movl	$1, 412(%rsp)
	movl	$10, %edi
.L9:
	leal	1(%rax), %r9d
	movl	$3435973837, %r8d
	cmpl	%edi, %eax
	jge	.L13
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L33:
	addl	$1, %edi
	cmpl	%edi, %r9d
	je	.L8
.L13:
	movl	%edi, %ecx
	imulq	%r8, %rcx
	shrq	$35, %rcx
	leal	(%rcx,%rcx,4), %eax
	movl	%edi, %ecx
	addl	%eax, %eax
	subl	%eax, %ecx
	movl	%edi, %eax
	je	.L33
	.p2align 4,,10
	.p2align 3
.L11:
	cltq
	movq	%rax, %rdx
	imulq	$1717986919, %rax, %rax
	movl	%edx, %esi
	sarl	$31, %esi
	sarq	$34, %rax
	subl	%esi, %eax
	cmpl	$99, %edx
	jg	.L11
	cltq
	movslq	%ecx, %rcx
	addl	$1, %edi
	leaq	(%rax,%rax,4), %rax
	leaq	(%rcx,%rax,2), %rax
	addl	$1, 16(%rsp,%rax,4)
	cmpl	%edi, %r9d
	jne	.L13
.L8:
	leaq	60(%rsp), %rax
	leaq	420(%rsp), %rdi
	xorl	%edx, %edx
	movq	%rax, %rcx
	.p2align 4,,10
	.p2align 3
.L16:
	movl	(%rax), %esi
	imull	(%rcx), %esi
	addq	$40, %rax
	addq	$4, %rcx
	addl	%esi, %edx
	movl	-36(%rax), %esi
	imull	36(%rcx), %esi
	addl	%edx, %esi
	movl	-32(%rax), %edx
	imull	76(%rcx), %edx
	addl	%esi, %edx
	movl	-28(%rax), %esi
	imull	116(%rcx), %esi
	addl	%edx, %esi
	movl	-24(%rax), %edx
	imull	156(%rcx), %edx
	addl	%esi, %edx
	movl	-20(%rax), %esi
	imull	196(%rcx), %esi
	addl	%edx, %esi
	movl	-16(%rax), %edx
	imull	236(%rcx), %edx
	addl	%esi, %edx
	movl	-12(%rax), %esi
	imull	276(%rcx), %esi
	addl	%edx, %esi
	movl	-8(%rax), %edx
	imull	316(%rcx), %edx
	addl	%esi, %edx
	cmpq	%rdi, %rax
	jne	.L16
	xorl	%eax, %eax
	movq	%rbp, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	424(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L34
	addq	$432, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L22:
	.cfi_restore_state
	movl	$6, %edi
	jmp	.L9
.L18:
	movl	$2, %edi
	jmp	.L9
.L19:
	movl	$3, %edi
	jmp	.L9
.L20:
	movl	$4, %edi
	jmp	.L9
.L21:
	movl	$5, %edi
	jmp	.L9
.L23:
	movl	$7, %edi
	jmp	.L9
.L25:
	movl	$9, %edi
	jmp	.L9
.L24:
	movl	$8, %edi
	jmp	.L9
.L34:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE40:
	.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
	.p2align 4
	.globl	fastDigit
	.type	fastDigit, @function
fastDigit:
.LFB39:
	.cfi_startproc
	endbr64
	movl	%edi, %eax
	movl	$3435973837, %ecx
	cmpl	$9, %edi
	jle	.L4
	.p2align 4,,10
	.p2align 3
.L2:
	movl	%eax, %eax
	movq	%rax, %rdx
	imulq	%rcx, %rax
	shrq	$35, %rax
	cmpl	$99, %edx
	jg	.L2
.L4:
	ret
	.cfi_endproc
.LFE39:
	.size	fastDigit, .-fastDigit
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movl	$50, %ecx
	leaq	.LC0(%rip), %rbp
	subq	$432, %rsp
	.cfi_def_cfa_offset 448
	movq	%fs:40, %rax
	movq	%rax, 424(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rdi
	leaq	12(%rsp), %rsi
	rep stosq
	movq	%rbp, %rdi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L8
	movl	$1, 60(%rsp)
	cmpl	$1, %eax
	je	.L18
	movl	$1, 104(%rsp)
	cmpl	$2, %eax
	je	.L19
	movl	$1, 148(%rsp)
	cmpl	$3, %eax
	je	.L20
	movl	$1, 192(%rsp)
	cmpl	$4, %eax
	je	.L21
	movl	$1, 236(%rsp)
	cmpl	$5, %eax
	je	.L22
	movl	$1, 280(%rsp)
	cmpl	$6, %eax
	je	.L23
	movl	$1, 324(%rsp)
	cmpl	$7, %eax
	je	.L24
	movl	$1, 368(%rsp)
	cmpl	$8, %eax
	jle	.L25
	movl	$1, 412(%rsp)
	movl	$10, %edi
.L9:
	leal	1(%rax), %r9d
	movl	$3435973837, %r8d
	cmpl	%edi, %eax
	jge	.L13
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L33:
	addl	$1, %edi
	cmpl	%edi, %r9d
	je	.L8
.L13:
	movl	%edi, %ecx
	imulq	%r8, %rcx
	shrq	$35, %rcx
	leal	(%rcx,%rcx,4), %eax
	movl	%edi, %ecx
	addl	%eax, %eax
	subl	%eax, %ecx
	movl	%edi, %eax
	je	.L33
	.p2align 4,,10
	.p2align 3
.L11:
	cltq
	movq	%rax, %rdx
	imulq	$1717986919, %rax, %rax
	movl	%edx, %esi
	sarl	$31, %esi
	sarq	$34, %rax
	subl	%esi, %eax
	cmpl	$99, %edx
	jg	.L11
	cltq
	movslq	%ecx, %rcx
	addl	$1, %edi
	leaq	(%rax,%rax,4), %rax
	leaq	(%rcx,%rax,2), %rax
	addl	$1, 16(%rsp,%rax,4)
	cmpl	%edi, %r9d
	jne	.L13
.L8:
	leaq	60(%rsp), %rax
	leaq	420(%rsp), %rdi
	xorl	%edx, %edx
	movq	%rax, %rcx
	.p2align 4,,10
	.p2align 3
.L16:
	movl	(%rax), %esi
	imull	(%rcx), %esi
	addq	$40, %rax
	addq	$4, %rcx
	addl	%esi, %edx
	movl	-36(%rax), %esi
	imull	36(%rcx), %esi
	addl	%edx, %esi
	movl	-32(%rax), %edx
	imull	76(%rcx), %edx
	addl	%esi, %edx
	movl	-28(%rax), %esi
	imull	116(%rcx), %esi
	addl	%edx, %esi
	movl	-24(%rax), %edx
	imull	156(%rcx), %edx
	addl	%esi, %edx
	movl	-20(%rax), %esi
	imull	196(%rcx), %esi
	addl	%edx, %esi
	movl	-16(%rax), %edx
	imull	236(%rcx), %edx
	addl	%esi, %edx
	movl	-12(%rax), %esi
	imull	276(%rcx), %esi
	addl	%edx, %esi
	movl	-8(%rax), %edx
	imull	316(%rcx), %edx
	addl	%esi, %edx
	cmpq	%rdi, %rax
	jne	.L16
	xorl	%eax, %eax
	movq	%rbp, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	424(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L34
	addq	$432, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L22:
	.cfi_restore_state
	movl	$6, %edi
	jmp	.L9
.L18:
	movl	$2, %edi
	jmp	.L9
.L19:
	movl	$3, %edi
	jmp	.L9
.L20:
	movl	$4, %edi
	jmp	.L9
.L21:
	movl	$5, %edi
	jmp	.L9
.L23:
	movl	$7, %edi
	jmp	.L9
.L25:
	movl	$9, %edi
	jmp	.L9
.L24:
	movl	$8, %edi
	jmp	.L9
.L34:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE40:
	.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>
#include<stdlib.h>

int fastDigit(int n){
  if(n <= 9) return n;
  else fastDigit(n / 10);
}

int main(void){
  int n, i, j, result=0;
  int c[10][10]={0};
  scanf("%d", &n);
  for(i=1;i<=n;i++){
    if(i%10==0){
      continue;
    }else{
      j = fastDigit(i);
      c[j][i%10]++;
    }
  }
  for(i=1;i<=9;i++){
    for(j=1;j<=9;j++){
      result += c[i][j] * c[j][i];
    }
  }
  printf("%d",result);
      
  return 0;
  
}```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include<stdio.h>
#include<stdlib.h>

int fastDigit(int n){
  if(n <= 9) return n;
  else fastDigit(n / 10);
}

int main(void){
  int n, i, j, result=0;
  int c[10][10]={0};
  scanf("%d", &n);
  for(i=1;i<=n;i++){
    if(i%10==0){
      continue;
    }else{
      j = fastDigit(i);
      c[j][i%10]++;
    }
  }
  for(i=1;i<=9;i++){
    for(j=1;j<=9;j++){
      result += c[i][j] * c[j][i];
    }
  }
  printf("%d",result);
      
  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:

73
 3093
 50
 101
 0
 11
 1020
 78
 001
 6

63 95976 33 113 0 12 10412 72 1 6
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>
#include<stdlib.h>

int fastDigit(int n){
  if(n <= 9) return n;
  else fastDigit(n / 10);
}

int main(void){
  int n, i, j, result=0;
  int c[10][10]={0};
  scanf("%d", &n);
  for(i=1;i<=n;i++){
    if(i%10==0){
      continue;
    }else{
      j = fastDigit(i);
      c[j][i%10]++;
    }
  }
  for(i=1;i<=9;i++){
    for(j=1;j<=9;j++){
      result += c[i][j] * c[j][i];
    }
  }
  printf("%d",result);
      
  return 0;
  
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	fastDigit
	.type	fastDigit, @function
fastDigit:
.LFB39:
	.cfi_startproc
	endbr64
	movl	%edi, %eax
	movl	$3435973837, %ecx
	cmpl	$9, %edi
	jle	.L4
	.p2align 4,,10
	.p2align 3
.L2:
	movl	%eax, %eax
	movq	%rax, %rdx
	imulq	%rcx, %rax
	shrq	$35, %rax
	cmpl	$99, %edx
	jg	.L2
.L4:
	ret
	.cfi_endproc
.LFE39:
	.size	fastDigit, .-fastDigit
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movl	$50, %ecx
	leaq	.LC0(%rip), %rbp
	subq	$432, %rsp
	.cfi_def_cfa_offset 448
	movq	%fs:40, %rax
	movq	%rax, 424(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rdi
	leaq	12(%rsp), %rsi
	rep stosq
	movq	%rbp, %rdi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L8
	movl	$1, 60(%rsp)
	cmpl	$1, %eax
	je	.L18
	movl	$1, 104(%rsp)
	cmpl	$2, %eax
	je	.L19
	movl	$1, 148(%rsp)
	cmpl	$3, %eax
	je	.L20
	movl	$1, 192(%rsp)
	cmpl	$4, %eax
	je	.L21
	movl	$1, 236(%rsp)
	cmpl	$5, %eax
	je	.L22
	movl	$1, 280(%rsp)
	cmpl	$6, %eax
	je	.L23
	movl	$1, 324(%rsp)
	cmpl	$7, %eax
	je	.L24
	movl	$1, 368(%rsp)
	cmpl	$8, %eax
	jle	.L25
	movl	$1, 412(%rsp)
	movl	$10, %edi
.L9:
	leal	1(%rax), %r9d
	movl	$3435973837, %r8d
	cmpl	%edi, %eax
	jge	.L13
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L33:
	addl	$1, %edi
	cmpl	%edi, %r9d
	je	.L8
.L13:
	movl	%edi, %ecx
	imulq	%r8, %rcx
	shrq	$35, %rcx
	leal	(%rcx,%rcx,4), %eax
	movl	%edi, %ecx
	addl	%eax, %eax
	subl	%eax, %ecx
	movl	%edi, %eax
	je	.L33
	.p2align 4,,10
	.p2align 3
.L11:
	cltq
	movq	%rax, %rdx
	imulq	$1717986919, %rax, %rax
	movl	%edx, %esi
	sarl	$31, %esi
	sarq	$34, %rax
	subl	%esi, %eax
	cmpl	$99, %edx
	jg	.L11
	cltq
	movslq	%ecx, %rcx
	addl	$1, %edi
	leaq	(%rax,%rax,4), %rax
	leaq	(%rcx,%rax,2), %rax
	addl	$1, 16(%rsp,%rax,4)
	cmpl	%edi, %r9d
	jne	.L13
.L8:
	leaq	60(%rsp), %rax
	leaq	420(%rsp), %rdi
	xorl	%edx, %edx
	movq	%rax, %rcx
	.p2align 4,,10
	.p2align 3
.L16:
	movl	(%rax), %esi
	imull	(%rcx), %esi
	addq	$40, %rax
	addq	$4, %rcx
	addl	%esi, %edx
	movl	-36(%rax), %esi
	imull	36(%rcx), %esi
	addl	%edx, %esi
	movl	-32(%rax), %edx
	imull	76(%rcx), %edx
	addl	%esi, %edx
	movl	-28(%rax), %esi
	imull	116(%rcx), %esi
	addl	%edx, %esi
	movl	-24(%rax), %edx
	imull	156(%rcx), %edx
	addl	%esi, %edx
	movl	-20(%rax), %esi
	imull	196(%rcx), %esi
	addl	%edx, %esi
	movl	-16(%rax), %edx
	imull	236(%rcx), %edx
	addl	%esi, %edx
	movl	-12(%rax), %esi
	imull	276(%rcx), %esi
	addl	%edx, %esi
	movl	-8(%rax), %edx
	imull	316(%rcx), %edx
	addl	%esi, %edx
	cmpq	%rdi, %rax
	jne	.L16
	xorl	%eax, %eax
	movq	%rbp, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	424(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L34
	addq	$432, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L22:
	.cfi_restore_state
	movl	$6, %edi
	jmp	.L9
.L18:
	movl	$2, %edi
	jmp	.L9
.L19:
	movl	$3, %edi
	jmp	.L9
.L20:
	movl	$4, %edi
	jmp	.L9
.L21:
	movl	$5, %edi
	jmp	.L9
.L23:
	movl	$7, %edi
	jmp	.L9
.L25:
	movl	$9, %edi
	jmp	.L9
.L24:
	movl	$8, %edi
	jmp	.L9
.L34:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE40:
	.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
	.p2align 4
	.globl	fastDigit
	.type	fastDigit, @function
fastDigit:
.LFB39:
	.cfi_startproc
	endbr64
	movl	%edi, %eax
	movl	$3435973837, %ecx
	cmpl	$9, %edi
	jle	.L4
	.p2align 4,,10
	.p2align 3
.L2:
	movl	%eax, %eax
	movq	%rax, %rdx
	imulq	%rcx, %rax
	shrq	$35, %rax
	cmpl	$99, %edx
	jg	.L2
.L4:
	ret
	.cfi_endproc
.LFE39:
	.size	fastDigit, .-fastDigit
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movl	$50, %ecx
	leaq	.LC0(%rip), %rbp
	subq	$432, %rsp
	.cfi_def_cfa_offset 448
	movq	%fs:40, %rax
	movq	%rax, 424(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rdi
	leaq	12(%rsp), %rsi
	rep stosq
	movq	%rbp, %rdi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L8
	movl	$1, 60(%rsp)
	cmpl	$1, %eax
	je	.L18
	movl	$1, 104(%rsp)
	cmpl	$2, %eax
	je	.L19
	movl	$1, 148(%rsp)
	cmpl	$3, %eax
	je	.L20
	movl	$1, 192(%rsp)
	cmpl	$4, %eax
	je	.L21
	movl	$1, 236(%rsp)
	cmpl	$5, %eax
	je	.L22
	movl	$1, 280(%rsp)
	cmpl	$6, %eax
	je	.L23
	movl	$1, 324(%rsp)
	cmpl	$7, %eax
	je	.L24
	movl	$1, 368(%rsp)
	cmpl	$8, %eax
	jle	.L25
	movl	$1, 412(%rsp)
	movl	$10, %edi
.L9:
	leal	1(%rax), %r9d
	movl	$3435973837, %r8d
	cmpl	%edi, %eax
	jge	.L13
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L33:
	addl	$1, %edi
	cmpl	%edi, %r9d
	je	.L8
.L13:
	movl	%edi, %ecx
	imulq	%r8, %rcx
	shrq	$35, %rcx
	leal	(%rcx,%rcx,4), %eax
	movl	%edi, %ecx
	addl	%eax, %eax
	subl	%eax, %ecx
	movl	%edi, %eax
	je	.L33
	.p2align 4,,10
	.p2align 3
.L11:
	cltq
	movq	%rax, %rdx
	imulq	$1717986919, %rax, %rax
	movl	%edx, %esi
	sarl	$31, %esi
	sarq	$34, %rax
	subl	%esi, %eax
	cmpl	$99, %edx
	jg	.L11
	cltq
	movslq	%ecx, %rcx
	addl	$1, %edi
	leaq	(%rax,%rax,4), %rax
	leaq	(%rcx,%rax,2), %rax
	addl	$1, 16(%rsp,%rax,4)
	cmpl	%edi, %r9d
	jne	.L13
.L8:
	leaq	60(%rsp), %rax
	leaq	420(%rsp), %rdi
	xorl	%edx, %edx
	movq	%rax, %rcx
	.p2align 4,,10
	.p2align 3
.L16:
	movl	(%rax), %esi
	imull	(%rcx), %esi
	addq	$40, %rax
	addq	$4, %rcx
	addl	%esi, %edx
	movl	-36(%rax), %esi
	imull	36(%rcx), %esi
	addl	%edx, %esi
	movl	-32(%rax), %edx
	imull	76(%rcx), %edx
	addl	%esi, %edx
	movl	-28(%rax), %esi
	imull	116(%rcx), %esi
	addl	%edx, %esi
	movl	-24(%rax), %edx
	imull	156(%rcx), %edx
	addl	%esi, %edx
	movl	-20(%rax), %esi
	imull	196(%rcx), %esi
	addl	%edx, %esi
	movl	-16(%rax), %edx
	imull	236(%rcx), %edx
	addl	%esi, %edx
	movl	-12(%rax), %esi
	imull	276(%rcx), %esi
	addl	%edx, %esi
	movl	-8(%rax), %edx
	imull	316(%rcx), %edx
	addl	%esi, %edx
	cmpq	%rdi, %rax
	jne	.L16
	xorl	%eax, %eax
	movq	%rbp, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	424(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L34
	addq	$432, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L22:
	.cfi_restore_state
	movl	$6, %edi
	jmp	.L9
.L18:
	movl	$2, %edi
	jmp	.L9
.L19:
	movl	$3, %edi
	jmp	.L9
.L20:
	movl	$4, %edi
	jmp	.L9
.L21:
	movl	$5, %edi
	jmp	.L9
.L23:
	movl	$7, %edi
	jmp	.L9
.L25:
	movl	$9, %edi
	jmp	.L9
.L24:
	movl	$8, %edi
	jmp	.L9
.L34:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE40:
	.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:
```