user: 请将以下的汇编代码转换成C语言代码:

```asm
<main>:
  endbr64
  push   %r15
  mov    $0x19,%ecx
  xor    %edx,%edx
  mov    $0x1,%r10d
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x1c8,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x1b8(%rsp)
  xor    %eax,%eax
  lea    0x10(%rsp),%r9
  mov    %r9,%rdi
  rep stos %rax,%es:(%rdi)
  mov    $0x2,%ecx
  mov    %cx,0x10(%rsp)
  mov    %dx,(%rdi)
  mov    $0x3,%edi
  nopw   0x0(%rax,%rax,1)
L98:
  lea    0x1(%r10),%r8d
  mov    %edi,%r11d
  mov    $0x1,%ecx
  xor    %eax,%eax
  movzwl %r8w,%r8d
  test   %r10w,%r10w
  jg     L62
  jmp    L13
  nopl   (%rax)
L78:
  mov    %ecx,%eax
  add    $0x1,%rcx
  cmp    %rcx,%r8
  je     L13
L62:
  mov    %edi,%eax
  movswl -0x2(%r9,%rcx,2),%esi
  cltd
  idiv   %esi
  test   %edx,%edx
  jne    L78
L92:
  add    $0x2,%edi
  cmp    $0x67,%edi
  jne    L98
L139:
  lea    0xe(%rsp),%r13
  lea    D12(%rip),%rbx
  lea    D15(%rip),%rbp
  nopl   0x0(%rax)
L176:
  mov    %r13,%rsi
  lea    D11(%rip),%rdi
  call   <scanf@plt>
  test   %rax,%rax
  je     L125
  movzwl 0xe(%rsp),%eax
  test   %ax,%ax
  je     L125
  movswl %ax,%esi
  lea    D22(%rip),%rdi
  xor    %eax,%eax
  xor    %r14d,%r14d
  call   <printf@plt>
  movswl 0x10(%rsp),%ecx
  movzwl 0xe(%rsp),%r9d
  xor    %edi,%edi
  cmp    %r9w,%cx
  jg     L131
  nopl   0x0(%rax)
L164:
  xor    %eax,%eax
  mov    %ax,0xe0(%rsp,%rdi,2)
  test   %r9w,%r9w
  je     L32
  mov    %r9d,%edx
  xor    %esi,%esi
  nopl   (%rax)
L170:
  movswl %dx,%eax
  cltd
  idiv   %ecx
  mov    %eax,%edx
  add    %eax,%esi
  test   %ax,%ax
  jne    L170
  mov    %si,0xe0(%rsp,%rdi,2)
L32:
  add    $0x1,%r14d
  movswq %r14w,%rdi
  movswl 0x10(%rsp,%rdi,2),%ecx
  cmp    %r9w,%cx
  jle    L164
  mov    $0x1,%r12d
  lea    0xe0(%rsp),%r15
  test   %r14w,%r14w
  jg     L120
  jmp    L131
  nopl   0x0(%rax,%rax,1)
L63:
  add    $0x1,%r12
L120:
  movswl -0x2(%r15,%r12,2),%esi
  mov    %rbx,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %r12d,%eax
  cmp    %r12w,%r14w
  jle    L131
  cmp    $0xe,%r12w
  jle    L63
  imul   $0xeeef,%ax,%ax
  cmp    $0x1111,%ax
  ja     L63
  mov    %rbp,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L63
  nopl   0x0(%rax,%rax,1)
L13:
  cmp    %r10w,%ax
  jne    L92
  movswq %r10w,%rax
  add    $0x2,%edi
  add    $0x1,%r10d
  mov    %r11w,0x10(%rsp,%rax,2)
  cmp    $0x67,%edi
  jne    L98
  jmp    L139
  nopl   0x0(%rax)
L131:
  mov    $0xa,%edi
  call   <putchar@plt>
  jmp    L176
L125:
  mov    0x1b8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L5
  add    $0x1c8,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L5:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: data_tag: D12
datatype: string
name: disassemble_data
arguments: data_tag: D15
datatype: string
name: disassemble_data
arguments: data_tag: D11
datatype: string
name: disassemble_data
arguments: data_tag: D22
datatype: string

tool: D12: %3hd

tool: D15: 
      

tool: D11: %hd

tool: D22: %3hd! =

assistant: ```c
int main() {
  short n, pr[101] = {2}, fr[101], i = 1, j, en;
  for (j = 3; j <= 101; j += 2) {
    for (en = 0; en < i; en++)
      if (!(j % pr[en]))
        break;
    if (en == i)
      pr[i++] = j;
  }
  while (scanf("%hd", &n) && n) {
    printf("%3hd! =", n);
    for (i = 0; pr[i] <= n; i++) {
      en = n;
      fr[i] = 0;
      while (en) {
        en /= pr[i];
        fr[i] += en;
      }
    }
    for (j = 0; j < i; j++) {
      if (j > 14 && !(j % 15))
        printf("\n      ");
      printf("%3hd", fr[j]);
    }
    printf("\n");
  }
  return 0;
}
```