user: Translate the below assembly code into C programming language:

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x348,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x338(%rsp)
  xor    %eax,%eax
  lea    0x10(%rsp),%rdi
  mov    $0x32,%ecx
  rep stos %rax,%es:(%rdi)
  movl   $0x1,0x1c(%rsp)
  movl   $0x1,0x20(%rsp)
  movl   $0x1,0x24(%rsp)
  movl   $0x1,0x28(%rsp)
  lea    0x1a0(%rsp),%rax
  mov    %rax,0x8(%rsp)
  lea    0x330(%rsp),%rdx
L56:
  movl   $0x0,(%rax)
  add    $0x4,%rax
  cmp    %rdx,%rax
  jne    L56
  lea    0x10(%rsp),%r15
  lea    0x30(%rsp),%r13
  mov    %r15,%rbx
  lea    D47(%rip),%r12
  lea    D46(%rip),%rbp
  jmp    L189
L86:
  mov    %rbp,%rdi
  call   <printf@plt>
L50:
  add    $0x4,%rbx
  cmp    %r13,%rbx
  je     L37
L189:
  mov    (%rbx),%eax
  cmp    $0x1,%eax
  je     L86
  test   %eax,%eax
  jne    L50
  mov    %r12,%rdi
  call   <printf@plt>
  jmp    L50
L37:
  lea    D45(%rip),%rdi
  call   <printf@plt>
  movl   $0x100,0x4(%rsp)
  lea    D47(%rip),%r13
  lea    D46(%rip),%r14
  jmp    L26
L96:
  cmp    $0x1,%ecx
  jne    L58
  movl   $0x1,0x0(%rbp)
L158:
  mov    0x0(%rbp),%eax
  cmp    $0x1,%eax
  je     L207
  test   %eax,%eax
  je     L179
L295:
  add    $0x4,%rbx
  add    $0x4,%rbp
  cmp    %r12,%rbx
  je     L14
L274:
  mov    %rbx,%rdx
  mov    -0x4(%rbx),%eax
  cmp    $0x1,%eax
  je     L237
  mov    (%rbx),%ecx
  test   %ecx,%ecx
  je     L249
  cmpl   $0x0,0x4(%rbx)
  je     L96
L168:
  movl   $0x1,0x0(%rbp)
  mov    (%rdx),%ecx
  cmp    $0x1,%ecx
  je     L308
  cmp    $0x1,%eax
  je     L154
  or     %ecx,%eax
  jne    L207
L33:
  cmpl   $0x0,0x4(%rdx)
  jne    L158
  jmp    L151
L249:
  cmpl   $0x1,0x4(%rbx)
  je     L168
L58:
  or     %ecx,%eax
  jne    L158
  jmp    L33
L308:
  cmp    $0x1,%eax
  jne    L158
L151:
  movl   $0x0,0x0(%rbp)
L179:
  mov    %r13,%rdi
  call   <printf@plt>
  jmp    L295
L14:
  mov    $0x0,%eax
L187:
  mov    0x1a0(%rsp,%rax,1),%edx
  mov    %edx,0x10(%rsp,%rax,1)
  add    $0x4,%rax
  cmp    $0x190,%rax
  jne    L187
  lea    D45(%rip),%rdi
  call   <printf@plt>
  subl   $0x1,0x4(%rsp)
  je     L299
L26:
  lea    0x190(%r15),%r12
  mov    0x8(%rsp),%rbp
  mov    %r15,%rbx
  jmp    L274
L299:
  mov    0x338(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L98
  mov    $0x0,%eax
  add    $0x348,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L237:
  movl   $0x1,0x0(%rbp)
  cmpl   $0x1,(%rbx)
  je     L308
L154:
  cmpl   $0x1,0x4(%rdx)
  je     L151
L207:
  mov    %r14,%rdi
  call   <printf@plt>
  jmp    L295
L98:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: data_tag: D47
datatype: string
name: read_data
arguments: data_tag: D46
datatype: string
name: read_data
arguments: data_tag: D45
datatype: string

tool: D47:  

tool: D46: *

tool: D45: 


assistant: ```c
int main() {
  int parent[100] = {0, 0, 0, 1, 1, 1, 1, 0};
  int child[100];
  for (int i = 0; i < 100; i++) {
    child[i] = 0;
  }
  for (int i = 0; i < 8; i++) {
    if (parent[i] == 1) {
      printf("*");
    }
    if (parent[i] == 0) {
      printf(" ");
    }
  }
  printf("\n");
  for (int i = 0; i < 256; i++) {
    for (int c = 0; c < 100; c++) {
      if (parent[c - 1] == 1 || parent[c] && parent[c + 1] || parent[c] == 1 || parent[c + 1] == 1) {
        child[c] = 1;
      }
      if (parent[c] == 1 && parent[c + 1] == 1 && parent[c - 1] == 1 || parent[c] == 1 && parent[c - 1] == 1 || parent[c - 1] == 1 && parent[c + 1] == 1 || parent[c] == 0 && parent[c - 1] == 0 && parent[c + 1] == 0) {
        child[c] = 0;
      }
      if (child[c] == 1) {
        printf("*");
      }
      if (child[c] == 0) {
        printf(" ");
      }
    }
    for (int d = 0; d < 100; d++) {
      parent[d] = child[d];
    }
    printf("\n");
  }
}
```