user: What is the c source code of the assembly code below?

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0xd0,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  jmp    L137
L66:
  mov    -0xc8(%rbp),%eax
  test   %eax,%eax
  jne    L57
  mov    -0xc4(%rbp),%eax
  test   %eax,%eax
  je     L149
L57:
  movl   $0x0,-0xc0(%rbp)
  jmp    L5
L42:
  mov    -0xc0(%rbp),%eax
  cltq
  movl   $0x1,-0xb0(%rbp,%rax,4)
  mov    -0xc0(%rbp),%eax
  cltq
  movl   $0x1,-0x60(%rbp,%rax,4)
  addl   $0x1,-0xc0(%rbp)
L5:
  cmpl   $0x13,-0xc0(%rbp)
  jle    L42
  mov    -0xc8(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,%edx
  mov    -0xc4(%rbp),%eax
  cmp    %eax,%edx
  jle    L37
  mov    -0xc8(%rbp),%eax
  mov    -0xc4(%rbp),%edx
  sub    %edx,%eax
  mov    %eax,-0xc4(%rbp)
L37:
  mov    -0xc4(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,-0xc0(%rbp)
  jmp    L19
L168:
  mov    -0xc4(%rbp),%edx
  mov    -0xc0(%rbp),%eax
  sub    %edx,%eax
  sub    $0x1,%eax
  cltq
  mov    -0xc0(%rbp),%edx
  mov    %edx,-0xb0(%rbp,%rax,4)
  addl   $0x1,-0xc0(%rbp)
L19:
  mov    -0xc8(%rbp),%eax
  cmp    %eax,-0xc0(%rbp)
  jle    L168
  movl   $0x2,-0xc0(%rbp)
  jmp    L182
L2:
  mov    -0xc0(%rbp),%eax
  cltq
  mov    -0xc0(%rbp),%edx
  mov    %edx,-0x60(%rbp,%rax,4)
  addl   $0x1,-0xc0(%rbp)
L182:
  mov    -0xc8(%rbp),%eax
  mov    -0xc4(%rbp),%edx
  sub    %edx,%eax
  cmp    %eax,-0xc0(%rbp)
  jle    L2
  movl   $0x0,-0xc0(%rbp)
  jmp    L90
L15:
  movl   $0x0,-0xbc(%rbp)
  jmp    L119
L131:
  mov    -0xbc(%rbp),%eax
  cltq
  mov    -0x60(%rbp,%rax,4),%edx
  mov    -0xc0(%rbp),%eax
  cltq
  mov    -0xb0(%rbp,%rax,4),%eax
  mov    %edx,%esi
  mov    %eax,%edi
  call   <bcd@plt>
  mov    %eax,-0xb4(%rbp)
  mov    -0xc0(%rbp),%eax
  cltq
  mov    -0xb0(%rbp,%rax,4),%eax
  cltd
  idivl  -0xb4(%rbp)
  mov    %eax,%edx
  mov    -0xc0(%rbp),%eax
  cltq
  mov    %edx,-0xb0(%rbp,%rax,4)
  mov    -0xbc(%rbp),%eax
  cltq
  mov    -0x60(%rbp,%rax,4),%eax
  cltd
  idivl  -0xb4(%rbp)
  mov    %eax,%edx
  mov    -0xbc(%rbp),%eax
  cltq
  mov    %edx,-0x60(%rbp,%rax,4)
  addl   $0x1,-0xbc(%rbp)
L119:
  mov    -0xc8(%rbp),%eax
  mov    -0xc4(%rbp),%edx
  sub    %edx,%eax
  cmp    %eax,-0xbc(%rbp)
  jle    L131
  addl   $0x1,-0xc0(%rbp)
L90:
  mov    -0xc8(%rbp),%eax
  mov    -0xc4(%rbp),%edx
  sub    %edx,%eax
  cmp    %eax,-0xc0(%rbp)
  jle    L15
  movl   $0x1,-0xb8(%rbp)
  movl   $0x0,-0xc0(%rbp)
  jmp    L77
L79:
  mov    -0xc0(%rbp),%eax
  cltq
  mov    -0xb0(%rbp,%rax,4),%eax
  mov    -0xb8(%rbp),%edx
  imul   %edx,%eax
  mov    %eax,-0xb8(%rbp)
  addl   $0x1,-0xc0(%rbp)
L77:
  cmpl   $0x13,-0xc0(%rbp)
  jle    L79
  mov    -0xb8(%rbp),%eax
  mov    %eax,%esi
  lea    D5(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
L137:
  lea    -0xc4(%rbp),%rdx
  lea    -0xc8(%rbp),%rax
  mov    %rax,%rsi
  lea    D7(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  cmp    $0xffffffff,%eax
  jne    L66
  jmp    L78
L149:
  nop
L78:
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L102
  call   <__stack_chk_fail@plt>
L102:
  leave
  ret
```

tool_calls: name: read_data
arguments: label: D5
type: string
name: read_data
arguments: label: D7
type: string

tool: D5: %d


tool: D7: %d%d

assistant: ```c
int main() {
  int n, k, i, j;
  int res[20], ma[20], r, bc;
  while (scanf("%d%d", &n, &k) != -1) {
    if (n == 0 && k == 0)
      break;
    for (i = 0; i < 20; i++) {
      res[i] = 1;
      ma[i] = 1;
    }
    if (k < n / 2)
      k = n - k;
    for (i = k + 1; i <= n; i++)
      res[i - k - 1] = i;
    for (i = 2; i <= n - k; i++)
      ma[i] = i;
    for (i = 0; i <= n - k; i++)
      for (j = 0; j <= n - k; j++) {
        bc = bcd(res[i], ma[j]);
        res[i] /= bc;
        ma[j] /= bc;
      }
    r = 1;
    for (i = 0; i < 20; i++)
      r *= res[i];
    printf("%d\n", r);
  }
  return 0;
}
```