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

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  lea    D13(%rip),%r13
  push   %r12
  mov    %r13,%rdi
  push   %rbp
  xor    %ebp,%ebp
  push   %rbx
  sub    $0xe8,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0xd8(%rsp)
  xor    %eax,%eax
  lea    0x1c(%rsp),%rsi
  lea    0x20(%rsp),%rbx
  call   <scanf@plt>
  mov    0x1c(%rsp),%eax
  mov    %rbx,%r12
  test   %eax,%eax
  jle    L14
  xchg   %ax,%ax
L155:
  mov    %r12,%rsi
  mov    %r13,%rdi
  add    $0x1,%ebp
  add    $0x4,%r12
  call   <scanf@plt>
  mov    0x1c(%rsp),%eax
  cmp    %ebp,%eax
  jg     L155
  test   %eax,%eax
  jle    L14
  xor    %ebp,%ebp
  lea    D96(%rip),%r12
  lea    D107(%rip),%r13
  xchg   %ax,%ax
L71:
  cmpl   $0x1,(%rbx,%rbp,4)
  je     L168
  mov    %r12,%rdi
  add    $0x1,%rbp
  call   <printf@plt>
  cmp    %ebp,0x1c(%rsp)
  jg     L71
L14:
  lea    D55(%rip),%r15
  lea    0x80(%rsp),%r13
  mov    %r15,%rdi
  lea    D96(%rip),%rbp
  lea    D107(%rip),%r14
  call   <printf@plt>
  movl   $0x3e8,0xc(%rsp)
  mov    0x1c(%rsp),%edx
  nopl   (%rax)
L100:
  mov    %r13,%rsi
  mov    %rbx,%rdi
  call   <next_generation@plt>
  movslq 0x1c(%rsp),%rdx
  test   %edx,%edx
  jle    L181
  lea    0x0(,%rdx,4),%r12
  mov    %r13,%rsi
  mov    %rbx,%rdi
  mov    %r12,%rdx
  call   <memcpy@plt>
  mov    %r12,%rdx
  xor    %esi,%esi
  mov    %r13,%rdi
  call   <memset@plt>
  xor    %r12d,%r12d
  nopw   0x0(%rax,%rax,1)
L127:
  cmpl   $0x1,(%rbx,%r12,4)
  je     L251
  mov    %rbp,%rdi
  add    $0x1,%r12
  call   <printf@plt>
  cmp    %r12d,0x1c(%rsp)
  jg     L127
L181:
  mov    %r15,%rdi
  call   <printf@plt>
  mov    0x1c(%rsp),%edx
  test   %edx,%edx
  jle    L28
  lea    -0x1(%rdx),%eax
  cmp    $0x2,%eax
  jbe    L77
  movdqa 0x20(%rsp),%xmm0
  mov    %edx,%eax
  shr    $0x2,%eax
  pcmpeqd D75(%rip),%xmm0
  pand   D75(%rip),%xmm0
  cmp    $0x1,%eax
  je     L29
  movdqa 0x30(%rsp),%xmm1
  pcmpeqd D75(%rip),%xmm1
  psubd  %xmm1,%xmm0
  cmp    $0x2,%eax
  je     L29
  movdqa 0x40(%rsp),%xmm1
  pcmpeqd D75(%rip),%xmm1
  psubd  %xmm1,%xmm0
  cmp    $0x3,%eax
  je     L29
  movdqa 0x50(%rsp),%xmm1
  pcmpeqd D75(%rip),%xmm1
  psubd  %xmm1,%xmm0
  cmp    $0x4,%eax
  je     L29
  movdqa 0x60(%rsp),%xmm1
  pcmpeqd D75(%rip),%xmm1
  psubd  %xmm1,%xmm0
L29:
  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     L104
L289:
  movslq %ecx,%rsi
  cmpl   $0x1,0x20(%rsp,%rsi,4)
  je     L132
  add    $0x1,%ecx
  cmp    %edx,%ecx
  jge    L104
  movslq %ecx,%rsi
  cmpl   $0x1,0x20(%rsp,%rsi,4)
  je     L227
L169:
  add    $0x1,%ecx
  cmp    %ecx,%edx
  jle    L104
L282:
  movslq %ecx,%rcx
  cmpl   $0x1,0x20(%rsp,%rcx,4)
  jne    L104
  add    $0x1,%eax
L104:
  test   %eax,%eax
  je     L28
L150:
  subl   $0x1,0xc(%rsp)
  jne    L100
  nopl   0x0(%rax,%rax,1)
L28:
  mov    0xd8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L130
  add    $0xe8,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax,%rax,1)
L251:
  mov    %r14,%rdi
  add    $0x1,%r12
  call   <printf@plt>
  cmp    %r12d,0x1c(%rsp)
  jg     L127
  jmp    L181
  nopl   0x0(%rax)
L132:
  add    $0x1,%ecx
  add    $0x1,%eax
  cmp    %ecx,%edx
  jle    L150
  movslq %ecx,%rsi
  cmpl   $0x1,0x20(%rsp,%rsi,4)
  jne    L169
L227:
  add    $0x1,%ecx
  add    $0x1,%eax
  cmp    %edx,%ecx
  jl     L282
  jmp    L150
  nopl   0x0(%rax,%rax,1)
L168:
  mov    %r13,%rdi
  add    $0x1,%rbp
  call   <printf@plt>
  cmp    %ebp,0x1c(%rsp)
  jg     L71
  jmp    L14
L77:
  xor    %eax,%eax
  xor    %ecx,%ecx
  jmp    L289
L130:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: data_label: D13
type_infered: string
name: unpack_data
arguments: data_label: D96
type_infered: string
name: unpack_data
arguments: data_label: D107
type_infered: string
name: unpack_data
arguments: data_label: D55
type_infered: string
name: unpack_data
arguments: data_label: D75
type_infered: byte[16]

tool: D13: %d

tool: D96: .

tool: D107: *

tool: D55: 


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

assistant: ```c
int main() {
  int current[21];
  int next[21];
  int length;
  scanf("%d", &length);
  int i, i1, i2, i3, i4;
  for (i = 0; i < length; i++) {
    scanf("%d", &current[i]);
  }
  for (i3 = 0; i3 < length; i3++) {
    if (current[i3] == 1) {
      printf("*");
    } else {
      printf(".");
    }
  }
  printf("\n");
  for (i = 0; i < 1000; i++) {
    next_generation(current, next, length);
    for (i1 = 0; i1 < length; i1++) {
      current[i1] = next[i1];
      next[i1] = 0;
    }
    for (i3 = 0; i3 < length; i3++) {
      if (current[i3] == 1) {
        printf("*");
      } else {
        printf(".");
      }
    }
    printf("\n");
    int number = 0;
    for (i4 = 0; i4 < length; i4++) {
      if (current[i4] == 1) {
        number++;
      }
    }
    if (number == 0) {
      break;
    }
  }
}
```