user: Demonstrate the C code that generates the assembly output below:

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  lea    -0xc3000(%rsp),%r11
L87:
  sub    $0x1000,%rsp
  orq    $0x0,(%rsp)
  cmp    %r11,%rsp
  jne    L87
  sub    $0x530,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  lea    -0xc352c(%rbp),%rax
  mov    %rax,%rsi
  lea    D1(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  jmp    L65
L31:
  lea    -0xc3528(%rbp),%rax
  mov    %rax,%rsi
  lea    D1(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  movl   $0x1,-0xc3510(%rbp)
  movl   $0x1,-0xc3518(%rbp)
  movl   $0x0,-0xc351c(%rbp)
  movl   $0x1,-0xc3524(%rbp)
  jmp    L17
L97:
  movl   $0x0,-0xc3520(%rbp)
  jmp    L45
L117:
  mov    -0xc3520(%rbp),%eax
  cltq
  mov    -0xc3510(%rbp,%rax,4),%eax
  imul   -0xc3524(%rbp),%eax
  mov    %eax,%edx
  mov    -0xc351c(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0xc3514(%rbp)
  mov    -0xc3514(%rbp),%ecx
  movslq %ecx,%rax
  imul   $0x66666667,%rax,%rax
  shr    $0x20,%rax
  sar    $0x2,%eax
  mov    %ecx,%esi
  sar    $0x1f,%esi
  sub    %esi,%eax
  mov    %eax,%edx
  mov    %edx,%eax
  shl    $0x2,%eax
  add    %edx,%eax
  add    %eax,%eax
  sub    %eax,%ecx
  mov    %ecx,%edx
  mov    -0xc3520(%rbp),%eax
  cltq
  mov    %edx,-0xc3510(%rbp,%rax,4)
  mov    -0xc3514(%rbp),%eax
  movslq %eax,%rdx
  imul   $0x66666667,%rdx,%rdx
  shr    $0x20,%rdx
  sar    $0x2,%edx
  sar    $0x1f,%eax
  mov    %eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  mov    %eax,-0xc351c(%rbp)
  addl   $0x1,-0xc3520(%rbp)
L45:
  mov    -0xc3520(%rbp),%eax
  cmp    -0xc3518(%rbp),%eax
  jl     L117
  jmp    L1
L102:
  mov    -0xc351c(%rbp),%ecx
  movslq %ecx,%rax
  imul   $0x66666667,%rax,%rax
  shr    $0x20,%rax
  sar    $0x2,%eax
  mov    %ecx,%esi
  sar    $0x1f,%esi
  sub    %esi,%eax
  mov    %eax,%edx
  mov    %edx,%eax
  shl    $0x2,%eax
  add    %edx,%eax
  add    %eax,%eax
  sub    %eax,%ecx
  mov    %ecx,%edx
  mov    -0xc3518(%rbp),%eax
  cltq
  mov    %edx,-0xc3510(%rbp,%rax,4)
  mov    -0xc351c(%rbp),%eax
  movslq %eax,%rdx
  imul   $0x66666667,%rdx,%rdx
  shr    $0x20,%rdx
  sar    $0x2,%edx
  sar    $0x1f,%eax
  mov    %eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  mov    %eax,-0xc351c(%rbp)
  addl   $0x1,-0xc3518(%rbp)
L1:
  cmpl   $0x0,-0xc351c(%rbp)
  jg     L102
  addl   $0x1,-0xc3524(%rbp)
L17:
  mov    -0xc3528(%rbp),%eax
  cmp    %eax,-0xc3524(%rbp)
  jle    L97
  mov    -0xc3518(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0xc3524(%rbp)
  jmp    L105
L109:
  mov    -0xc3524(%rbp),%eax
  cltq
  mov    -0xc3510(%rbp,%rax,4),%eax
  mov    %eax,%esi
  lea    D1(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  subl   $0x1,-0xc3524(%rbp)
L105:
  cmpl   $0x0,-0xc3524(%rbp)
  jns    L109
  mov    $0xa,%edi
  call   <putchar@plt>
L65:
  mov    -0xc352c(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    %edx,-0xc352c(%rbp)
  test   %eax,%eax
  jne    L31
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L111
  call   <__stack_chk_fail@plt>
L111:
  leave
  ret
```

tool_calls: name: parse_data
arguments: label: D1
datatype: string

tool: D1: %d

assistant: ```c
int main() {
  int t;
  int a[200001];
  int n, i, j, temp, m, x;
  scanf("%d", &t);
  while (t--) {
    scanf("%d", &n);
    a[0] = 1;
    m = 1;
    temp = 0;
    for (i = 1; i <= n; i++) {
      for (j = 0; j < m; j++) {
        x = a[j] * i + temp;
        a[j] = x % 10;
        temp = x / 10;
      }
      while (temp > 0) {
        a[m] = temp % 10;
        temp = temp / 10;
        m++;
      }
    }
    for (i = m - 1; i >= 0; i--)
      printf("%d", a[i]);
    printf("\n");
  }
  return 0;
}
```