user: 请从给定的汇编指令推导出C源代码：

```asm
<main>:
  endbr64
  push   %r15
  mov    $0x13,%ecx
  push   %r14
  push   %r13
  push   %r12
  lea    D18(%rip),%r12
  push   %rbp
  push   %rbx
  sub    $0xe8,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0xd8(%rsp)
  xor    %eax,%eax
  lea    0x38(%rsp),%rdi
  mov    %rdi,0x8(%rsp)
  rep stos %rax,%es:(%rdi)
  mov    D7(%rip),%rax
  lea    D38(%rip),%rdi
  mov    %rax,0x30(%rsp)
  xor    %eax,%eax
  call   <printf@plt>
  lea    0x2c(%rsp),%rax
  mov    %r12,%rdi
  mov    %rax,%rsi
  mov    %rax,0x18(%rsp)
  call   <scanf@plt>
  mov    0x2c(%rsp),%eax
  test   %eax,%eax
  jle    L127
  movl   $0x1,0x10(%rsp)
  mov    $0x1,%r14d
  lea    0x30(%rsp),%rbp
  mov    $0x1,%r15d
  movl   $0x0,0x14(%rsp)
  nopl   (%rax)
L236:
  cmpl   $0x2,0x14(%rsp)
  jbe    L63
  movd   0x10(%rsp),%xmm5
  movdqu 0x34(%rsp),%xmm0
  mov    %r14d,%eax
  movdqu 0x34(%rsp),%xmm2
  shr    $0x2,%eax
  pshufd $0x0,%xmm5,%xmm1
  psrlq  $0x20,%xmm0
  movdqa %xmm1,%xmm3
  pmuludq %xmm1,%xmm2
  psrlq  $0x20,%xmm3
  pmuludq %xmm3,%xmm0
  pshufd $0x8,%xmm2,%xmm2
  pshufd $0x8,%xmm0,%xmm0
  punpckldq %xmm0,%xmm2
  movups %xmm2,0x34(%rsp)
  cmp    $0x1,%eax
  je     L225
  movdqu 0x44(%rsp),%xmm0
  movdqu 0x44(%rsp),%xmm2
  psrlq  $0x20,%xmm0
  pmuludq %xmm1,%xmm2
  pmuludq %xmm3,%xmm0
  pshufd $0x8,%xmm2,%xmm2
  pshufd $0x8,%xmm0,%xmm0
  punpckldq %xmm0,%xmm2
  movups %xmm2,0x44(%rsp)
  cmp    $0x2,%eax
  je     L225
  movdqu 0x54(%rsp),%xmm0
  movdqu 0x54(%rsp),%xmm2
  psrlq  $0x20,%xmm0
  pmuludq %xmm1,%xmm2
  pmuludq %xmm3,%xmm0
  pshufd $0x8,%xmm2,%xmm2
  pshufd $0x8,%xmm0,%xmm0
  punpckldq %xmm0,%xmm2
  movups %xmm2,0x54(%rsp)
  cmp    $0x3,%eax
  je     L225
  movdqu 0x64(%rsp),%xmm0
  movdqu 0x64(%rsp),%xmm2
  psrlq  $0x20,%xmm0
  pmuludq %xmm1,%xmm2
  pmuludq %xmm3,%xmm0
  pshufd $0x8,%xmm2,%xmm2
  pshufd $0x8,%xmm0,%xmm0
  punpckldq %xmm0,%xmm2
  movups %xmm2,0x64(%rsp)
  cmp    $0x4,%eax
  je     L225
  movdqu 0x74(%rsp),%xmm0
  movdqu 0x74(%rsp),%xmm2
  psrlq  $0x20,%xmm0
  pmuludq %xmm1,%xmm2
  pmuludq %xmm3,%xmm0
  pshufd $0x8,%xmm2,%xmm2
  pshufd $0x8,%xmm0,%xmm0
  punpckldq %xmm0,%xmm2
  movups %xmm2,0x74(%rsp)
  cmp    $0x5,%eax
  je     L225
  movdqu 0x84(%rsp),%xmm0
  movdqu 0x84(%rsp),%xmm2
  psrlq  $0x20,%xmm0
  pmuludq %xmm1,%xmm2
  pmuludq %xmm3,%xmm0
  pshufd $0x8,%xmm2,%xmm2
  pshufd $0x8,%xmm0,%xmm0
  punpckldq %xmm0,%xmm2
  movups %xmm2,0x84(%rsp)
  cmp    $0x6,%eax
  je     L225
  movdqu 0x94(%rsp),%xmm0
  movdqu 0x94(%rsp),%xmm2
  psrlq  $0x20,%xmm0
  pmuludq %xmm1,%xmm2
  pmuludq %xmm3,%xmm0
  pshufd $0x8,%xmm2,%xmm2
  pshufd $0x8,%xmm0,%xmm0
  punpckldq %xmm0,%xmm2
  movups %xmm2,0x94(%rsp)
  cmp    $0x7,%eax
  je     L225
  movdqu 0xa4(%rsp),%xmm0
  movdqu 0xa4(%rsp),%xmm2
  psrlq  $0x20,%xmm0
  pmuludq %xmm1,%xmm2
  pmuludq %xmm3,%xmm0
  pshufd $0x8,%xmm2,%xmm2
  pshufd $0x8,%xmm0,%xmm0
  punpckldq %xmm0,%xmm2
  movups %xmm2,0xa4(%rsp)
  cmp    $0x8,%eax
  je     L225
  movdqu 0xb4(%rsp),%xmm2
  movdqu 0xb4(%rsp),%xmm6
  psrlq  $0x20,%xmm2
  pmuludq %xmm6,%xmm1
  pmuludq %xmm3,%xmm2
  pshufd $0x8,%xmm1,%xmm0
  pshufd $0x8,%xmm2,%xmm1
  punpckldq %xmm1,%xmm0
  movups %xmm0,0xb4(%rsp)
L225:
  mov    %r14d,%edx
  and    $0xfffffffc,%edx
  lea    0x1(%rdx),%eax
  cmp    %edx,%r14d
  je     L162
L59:
  movslq %eax,%rdx
  mov    0x10(%rsp),%ecx
  mov    0x30(%rsp,%rdx,4),%esi
  imul   %ecx,%esi
  mov    %esi,0x30(%rsp,%rdx,4)
  lea    0x1(%rax),%edx
  cmp    %edx,%r14d
  jl     L162
  movslq %edx,%rdx
  add    $0x2,%eax
  mov    0x30(%rsp,%rdx,4),%esi
  imul   %ecx,%esi
  mov    %esi,0x30(%rsp,%rdx,4)
  cmp    %r14d,%eax
  jg     L162
  cltq
  imul   0x30(%rsp,%rax,4),%ecx
  mov    %ecx,0x30(%rsp,%rax,4)
L162:
  mov    $0x1,%r9d
  jmp    L130
  cs nopw 0x0(%rax,%rax,1)
L84:
  add    $0x1,%r9
  cmp    %r9d,%r14d
  jl     L62
L130:
  cmpl   $0xa,0x0(%rbp,%r9,4)
  jle    L84
  mov    0x34(%rsp),%edx
  mov    0x8(%rsp),%rsi
  mov    $0x1,%edi
  jmp    L180
  nopl   0x0(%rax)
L2:
  mov    %r10d,%edx
L180:
  cmpl   $0xa,0x30(%rsp,%r15,4)
  jle    L99
  add    $0x1,%r14d
  movslq %r14d,%r15
L99:
  movslq %edx,%rax
  mov    %edx,%r10d
  add    $0x1,%edi
  add    $0x4,%rsi
  imul   $0x66666667,%rax,%rax
  sar    $0x1f,%r10d
  sar    $0x22,%rax
  sub    %r10d,%eax
  mov    -0x4(%rsi),%r10d
  add    %eax,%r10d
  lea    (%rax,%rax,4),%eax
  add    %eax,%eax
  movd   %r10d,%xmm4
  sub    %eax,%edx
  movd   %edx,%xmm0
  punpckldq %xmm4,%xmm0
  movq   %xmm0,-0x8(%rsi)
  cmp    %r14d,%edi
  jle    L2
  add    $0x1,%r9
  cmp    %r9d,%r14d
  jge    L130
L62:
  mov    0x10(%rsp),%esi
  lea    D9(%rip),%rdi
  xor    %eax,%eax
  lea    0x0(,%r15,4),%rbx
  lea    0x0(%rbp,%rbx,1),%r13
  call   <printf@plt>
  lea    -0x1(%r14),%eax
  add    0x18(%rsp),%rbx
  mov    %eax,0x14(%rsp)
  shl    $0x2,%rax
  sub    %rax,%rbx
  nopw   0x0(%rax,%rax,1)
L61:
  mov    0x0(%r13),%esi
  mov    %r12,%rdi
  xor    %eax,%eax
  sub    $0x4,%r13
  call   <printf@plt>
  cmp    %rbx,%r13
  jne    L61
  mov    $0xa,%edi
  call   <putchar@plt>
  xor    %eax,%eax
  call   <getch@plt>
  addl   $0x1,0x10(%rsp)
  mov    0x10(%rsp),%eax
  cmp    %eax,0x2c(%rsp)
  jge    L236
L127:
  mov    0xd8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L1
  add    $0xe8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L63:
  mov    $0x1,%eax
  jmp    L59
L1:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: data_tag: D18
type_guessed: string
name: unpack_data
arguments: data_tag: D7
type_guessed: byte[8]
name: unpack_data
arguments: data_tag: D38
type_guessed: string
name: unpack_data
arguments: data_tag: D9
type_guessed: string

tool: D18: %d

tool: {"D7": [0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00]}

tool: D38: Enter a number what you want to calculus:

tool: D9: %d!=  

assistant: ```c
void main() {
  int Data[40];
  int Digit;
  int i, j, r, k;
  int N;
  for (i = 0; i < 40; i++)
    Data[i] = 0;
  Data[0] = 1;
  Data[1] = 1;
  Digit = 1;
  printf("Enter a number what you want to calculus:");
  scanf("%d", &N);
  for (i = 1; i < N + 1; i++) {
    for (j = 1; j < Digit + 1; j++)
      Data[j] *= i;
    for (j = 1; j < Digit + 1; j++) {
      if (Data[j] > 10) {
        for (r = 1; r < Digit + 1; r++) {
          if (Data[Digit] > 10)
            Digit++;
          Data[r + 1] += Data[r] / 10;
          Data[r] = Data[r] % 10;
        }
      }
    }
    printf("%d!=  ", i);
    for (k = Digit; k; k--)
      printf("%d", Data[k]);
    printf("\n");
    getch();
  }
}
```