user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  lea    -0xc3000(%rsp),%r11
L19:
  sub    $0x1000,%rsp
  orq    $0x0,(%rsp)
  cmp    %r11,%rsp
  jne    L19
  sub    $0x5b0,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  lea    -0xc35a8(%rbp),%rax
  mov    %rax,%rsi
  lea    D20(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  lea    -0xc3540(%rbp),%rax
  mov    $0x61a94,%edx
  mov    $0x0,%esi
  mov    %rax,%rdi
  call   <memset@plt>
  lea    -0x61aa0(%rbp),%rax
  mov    $0x61a94,%edx
  mov    $0x0,%esi
  mov    %rax,%rdi
  call   <memset@plt>
  jmp    L7
L131:
  movq   $0x0,-0xc3560(%rbp)
  mov    -0xc3560(%rbp),%rax
  mov    %rax,-0xc3568(%rbp)
  movq   $0x1,-0xc3598(%rbp)
  movq   $0x0,-0xc3590(%rbp)
  jmp    L163
L186:
  movl   $0x0,-0xc(%rbp)
  mov    -0xc(%rbp),%edx
  mov    -0xc3590(%rbp),%rax
  mov    %edx,-0xc3540(%rbp,%rax,4)
  addq   $0x1,-0xc3590(%rbp)
L163:
  cmpq   $0x186a4,-0xc3590(%rbp)
  jle    L186
  lea    -0xc35a0(%rbp),%rax
  mov    %rax,%rsi
  lea    D20(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  mov    -0xc35a0(%rbp),%rax
  mov    %rax,-0xc3570(%rbp)
  movq   $0x2,-0xc3590(%rbp)
  jmp    L213
L25:
  mov    -0xc3570(%rbp),%rax
  cqto
  idivq  -0xc3590(%rbp)
  mov    %rdx,%rax
  test   %rax,%rax
  jne    L14
  mov    -0xc3568(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0xc3568(%rbp)
  mov    -0xc3590(%rbp),%rdx
  mov    %edx,-0xc3540(%rbp,%rax,4)
  mov    -0xc3570(%rbp),%rax
  cqto
  idivq  -0xc3590(%rbp)
  mov    %rax,-0xc3570(%rbp)
  movq   $0x1,-0xc3590(%rbp)
L14:
  addq   $0x1,-0xc3590(%rbp)
L213:
  mov    -0xc3590(%rbp),%rax
  cmp    -0xc3570(%rbp),%rax
  jle    L25
  mov    -0xc3568(%rbp),%rax
  mov    %rax,%rsi
  mov    $0x2,%edi
  call   <pow@plt>
  mov    %rax,-0xc3550(%rbp)
  movq   $0x1,-0xc3590(%rbp)
  jmp    L10
L18:
  mov    -0xc3590(%rbp),%rax
  mov    %rax,-0xc3578(%rbp)
  movq   $0x0,-0xc3588(%rbp)
  movq   $0x1,-0xc3558(%rbp)
  jmp    L8
L85:
  mov    -0xc3578(%rbp),%rax
  and    $0x1,%eax
  test   %rax,%rax
  je     L201
  mov    -0xc3588(%rbp),%rax
  mov    -0xc3540(%rbp,%rax,4),%eax
  cltq
  mov    -0xc3558(%rbp),%rdx
  imul   %rdx,%rax
  mov    %rax,-0xc3558(%rbp)
L201:
  sarq   -0xc3578(%rbp)
  addq   $0x1,-0xc3588(%rbp)
L8:
  cmpq   $0x0,-0xc3578(%rbp)
  jne    L85
  mov    -0xc3560(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0xc3560(%rbp)
  mov    -0xc3558(%rbp),%rdx
  mov    %edx,-0x61aa0(%rbp,%rax,4)
  addq   $0x1,-0xc3590(%rbp)
L10:
  mov    -0xc3590(%rbp),%rax
  cmp    -0xc3550(%rbp),%rax
  jl     L18
  movq   $0x0,-0xc3590(%rbp)
  jmp    L96
L54:
  mov    -0xc3590(%rbp),%rax
  mov    -0x61aa0(%rbp,%rax,4),%eax
  mov    %eax,-0xc35ac(%rbp)
  mov    -0xc3590(%rbp),%rax
  mov    %rax,-0xc3580(%rbp)
  jmp    L57
L59:
  mov    -0xc3580(%rbp),%rax
  mov    -0x61aa0(%rbp,%rax,4),%eax
  cmp    %eax,-0xc35ac(%rbp)
  jle    L29
  mov    -0xc3580(%rbp),%rax
  mov    -0x61aa0(%rbp,%rax,4),%eax
  mov    %eax,-0xc35ac(%rbp)
  mov    -0xc3580(%rbp),%rax
  mov    %eax,-0xc35b0(%rbp)
L29:
  addq   $0x1,-0xc3580(%rbp)
L57:
  mov    -0xc3560(%rbp),%rax
  sub    -0xc3580(%rbp),%rax
  cmp    %rax,-0xc3580(%rbp)
  jl     L59
  mov    -0xc3590(%rbp),%rax
  mov    -0x61aa0(%rbp,%rax,4),%eax
  cmp    %eax,-0xc35ac(%rbp)
  je     L39
  mov    -0xc3590(%rbp),%rax
  mov    -0x61aa0(%rbp,%rax,4),%eax
  cltq
  mov    %rax,-0xc3548(%rbp)
  mov    -0xc35b0(%rbp),%eax
  cltq
  mov    -0x61aa0(%rbp,%rax,4),%edx
  mov    -0xc3590(%rbp),%rax
  mov    %edx,-0x61aa0(%rbp,%rax,4)
  mov    -0xc3548(%rbp),%rax
  mov    %eax,%edx
  mov    -0xc35b0(%rbp),%eax
  cltq
  mov    %edx,-0x61aa0(%rbp,%rax,4)
L39:
  addq   $0x1,-0xc3590(%rbp)
L96:
  mov    -0xc3590(%rbp),%rax
  cmp    -0xc3560(%rbp),%rax
  jl     L54
  mov    -0x61aa0(%rbp),%eax
  cltq
  add    %rax,-0xc3598(%rbp)
  movq   $0x1,-0xc3590(%rbp)
  jmp    L137
L117:
  mov    -0xc3590(%rbp),%rax
  mov    -0x61aa0(%rbp,%rax,4),%edx
  mov    -0xc3590(%rbp),%rax
  sub    $0x1,%rax
  mov    -0x61aa0(%rbp,%rax,4),%eax
  cmp    %eax,%edx
  je     L142
  mov    -0xc3590(%rbp),%rax
  mov    -0x61aa0(%rbp,%rax,4),%eax
  cltq
  add    %rax,-0xc3598(%rbp)
L142:
  addq   $0x1,-0xc3590(%rbp)
L137:
  mov    -0xc3590(%rbp),%rax
  cmp    -0xc3560(%rbp),%rax
  jl     L117
  mov    -0xc3598(%rbp),%rax
  mov    %rax,%rsi
  lea    D11(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
L7:
  mov    -0xc35a8(%rbp),%rax
  lea    -0x1(%rax),%rdx
  mov    %rdx,-0xc35a8(%rbp)
  test   %rax,%rax
  jne    L131
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L181
  call   <__stack_chk_fail@plt>
L181:
  leave
  ret
```

tool_calls: name: unpack_data
arguments: label: D20
data_type: string
name: unpack_data
arguments: label: D11
data_type: string

tool: D20: %lld

tool: D11: %lld


assistant: ```c
int main() {
  long long int t, n, sum, i, l, j, k, temp, num, p, f, prod, set;
  scanf("%lld", &t);
  int prm[100005] = {0}, fact[100005] = {0};
  while (t--) {
    p = f = 0;
    sum = 1;
    for (i = 0; i < 100005; i++)
      prm[i] = fact[100005] = 0;
    scanf("%lld", &n);
    num = n;
    for (i = 2; i <= num; i++) {
      if (num % i == 0) {
        prm[p++] = i;
        num /= i;
        i = 1;
      }
    }
    set = pow(2, p);
    for (i = 1; i < set; i++) {
      k = i;
      l = 0;
      prod = 1;
      while (k) {
        if (k & 1) {
          prod *= prm[l];
        }
        k = k >> 1;
        l++;
      }
      fact[f++] = prod;
    }
    int pos;
    for (i = 0; i < f; i++) {
      int min = fact[i];
      for (j = i; j < f - j; j++) {
        if (min > fact[j]) {
          min = fact[j];
          pos = j;
        }
      }
      if (min != fact[i]) {
        temp = fact[i];
        fact[i] = fact[pos];
        fact[pos] = temp;
      }
    }
    sum += fact[0];
    for (i = 1; i < f; i++) {
      if (fact[i] != fact[i - 1]) {
        sum += fact[i];
      }
    }
    printf("%lld\n", sum);
  }
  return 0;
}
```