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

```asm
<main>:
  endbr64
  push   %r14
  lea    D17(%rip),%r14
  push   %r13
  mov    %r14,%rdi
  push   %r12
  xor    %r12d,%r12d
  push   %rbp
  push   %rbx
  sub    $0xc0,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0xb8(%rsp)
  xor    %eax,%eax
  lea    0xc(%rsp),%rsi
  lea    0x10(%rsp),%rbp
  call   <scanf@plt>
  mov    0xc(%rsp),%edx
  mov    %rbp,%rbx
  mov    %rbp,%r13
  movl   $0x0,0x60(%rsp)
  lea    -0x1(%rdx),%eax
  cltq
  movl   $0x0,0x60(%rsp,%rax,4)
  test   %edx,%edx
  jle    L135
  nopl   (%rax)
L168:
  mov    %r13,%rsi
  mov    %r14,%rdi
  add    $0x1,%r12d
  add    $0x4,%r13
  call   <scanf@plt>
  mov    0xc(%rsp),%eax
  cmp    %r12d,%eax
  jg     L168
  test   %eax,%eax
  jle    L135
  xor    %r12d,%r12d
  lea    D25(%rip),%r14
  lea    D47(%rip),%r13
  nopl   0x0(%rax)
L188:
  mov    (%rbx),%eax
  cmp    $0x1,%eax
  je     L219
L196:
  test   %eax,%eax
  je     L113
  add    $0x1,%r12d
  add    $0x4,%rbx
  cmp    %r12d,0xc(%rsp)
  jg     L188
L135:
  lea    D29(%rip),%rdi
  mov    $0x3e9,%ebx
  lea    0x60(%rsp),%r12
  call   <printf@plt>
  mov    0xc(%rsp),%edx
  jmp    L7
  nopl   0x0(%rax)
L40:
  lea    -0x1(%rdx),%eax
  cmp    $0x2,%eax
  jbe    L184
  mov    %edx,%eax
  pxor   %xmm1,%xmm1
  movdqa %xmm1,%xmm0
  shr    $0x2,%eax
  pcmpeqd 0x60(%rsp),%xmm0
  pand   D46(%rip),%xmm0
  cmp    $0x1,%eax
  je     L157
  movdqa %xmm1,%xmm2
  pcmpeqd 0x70(%rsp),%xmm2
  psubd  %xmm2,%xmm0
  cmp    $0x2,%eax
  je     L157
  movdqa %xmm1,%xmm2
  pcmpeqd 0x80(%rsp),%xmm2
  psubd  %xmm2,%xmm0
  cmp    $0x3,%eax
  je     L157
  movdqa %xmm1,%xmm2
  pcmpeqd 0x90(%rsp),%xmm2
  psubd  %xmm2,%xmm0
  cmp    $0x4,%eax
  je     L157
  pcmpeqd 0xa0(%rsp),%xmm1
  psubd  %xmm1,%xmm0
L157:
  movdqa %xmm0,%xmm1
  mov    %edx,%ecx
  psrldq $0x8,%xmm1
  and    $0xfffffffc,%ecx
  paddd  %xmm1,%xmm0
  movdqa %xmm0,%xmm1
  psrldq $0x4,%xmm1
  paddd  %xmm1,%xmm0
  movd   %xmm0,%eax
  test   $0x3,%dl
  je     L177
L232:
  movslq %ecx,%rsi
  cmpl   $0x1,0x60(%rsp,%rsi,4)
  lea    0x1(%rcx),%esi
  adc    $0x0,%eax
  cmp    %edx,%esi
  jge    L177
  movslq %esi,%rsi
  cmpl   $0x1,0x60(%rsp,%rsi,4)
  adc    $0x0,%eax
  add    $0x2,%ecx
  cmp    %ecx,%edx
  jle    L177
  movslq %ecx,%rcx
  cmpl   $0x1,0x60(%rsp,%rcx,4)
  adc    $0x0,%eax
L177:
  cmp    %eax,%edx
  je     L132
L169:
  sub    $0x1,%ebx
  je     L132
L7:
  mov    %r12,%rsi
  mov    %rbp,%rdi
  call   <next_generation@plt>
  mov    0xc(%rsp),%edx
  test   %edx,%edx
  jg     L40
  xor    %eax,%eax
  cmp    %eax,%edx
  jne    L169
L132:
  mov    0xb8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L71
  add    $0xc0,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
  nopw   0x0(%rax,%rax,1)
L113:
  mov    %r13,%rdi
  add    $0x1,%r12d
  add    $0x4,%rbx
  call   <printf@plt>
  cmp    0xc(%rsp),%r12d
  jge    L135
  mov    (%rbx),%eax
  cmp    $0x1,%eax
  jne    L196
L219:
  mov    %r14,%rdi
  call   <printf@plt>
  mov    (%rbx),%eax
  jmp    L196
L184:
  xor    %eax,%eax
  xor    %ecx,%ecx
  jmp    L232
L71:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: tag: D17
datatype: string
name: extract_symbolic_data
arguments: tag: D25
datatype: string
name: extract_symbolic_data
arguments: tag: D47
datatype: string
name: extract_symbolic_data
arguments: tag: D29
datatype: string
name: extract_symbolic_data
arguments: tag: D46
datatype: byte[16]

tool: D17: %d

tool: D25: *

tool: D47: .

tool: D29: 


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

assistant: ```c
int main() {
  int current[20], next[20], lenght, i, k, n;
  scanf("%d", &lenght);
  next[0] = 0;
  next[lenght - 1] = 0;
  for (i = 0; i < lenght; i++) {
    scanf("%d", &current[i]);
  }
  for (i = 0; i < lenght; i++) {
    if (current[i] == 1)
      printf("*");
    if (current[i] == 0)
      printf(".");
  }
  printf("\n");
  for (i = 0; i <= 1000; i++) {
    next_generation(current, next, lenght);
    for (k = 0, n = 0; k < lenght; k++) {
      if (next[k] == 0)
        n++;
    }
    if (n == lenght)
      break;
  }
  return 0;
}
```