user: 下面的汇编指令对应的C源代码是什么:

```asm
<main>:
  endbr64
  push   %r15
  lea    D49(%rip),%rdi
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x58,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x48(%rsp)
  xor    %eax,%eax
  lea    0xc(%rsp),%rsi
  call   <scanf@plt>
  mov    0xc(%rsp),%ebx
  cmp    $0x14,%ebx
  ja     L179
  lea    0x10(%rsp),%rbp
  test   %ebx,%ebx
  je     L107
  mov    %rbp,%r12
  xor    %ebx,%ebx
  lea    0xb(%rsp),%r14
  lea    D64(%rip),%r13
  jmp    L52
L184:
  mov    0xc(%rsp),%ecx
  lea    -0x1(%rcx),%edx
  cmp    %ebx,%edx
  je     L119
L26:
  mov    %al,(%r12)
  add    $0x1,%ebx
  add    $0x1,%r12
  cmp    %ebx,0xc(%rsp)
  jle    L107
L52:
  xor    %eax,%eax
  mov    %r14,%rsi
  mov    %r13,%rdi
  call   <scanf@plt>
  cmpb   $0x20,0xb(%rsp)
  jne    L39
  mov    %r14,%rsi
  mov    %r13,%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  movzbl 0xb(%rsp),%eax
  lea    -0x30(%rax),%edx
  cmp    $0x1,%dl
  ja     L24
  test   %ebx,%ebx
  jne    L184
L119:
  cmp    $0x31,%al
  jne    L26
  lea    D10(%rip),%rdi
  call   <printf@plt>
  mov    $0x1,%eax
  jmp    L110
  nopl   0x0(%rax)
L159:
  mov    %r15,%rdi
  call   <printf@plt>
  mov    $0x31,%esi
  mov    %rbp,%rdi
  call   <strchr@plt>
  test   %rax,%rax
  je     L179
  mov    0xc(%rsp),%edx
  lea    0x30(%rsp),%rsi
  mov    %rbp,%rdi
  call   <next_generation@plt>
  sub    $0x1,%r13d
  jne    L153
L179:
  xor    %eax,%eax
L110:
  mov    0x48(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L95
  add    $0x58,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L107:
  movslq %ebx,%rbx
  mov    $0x3e8,%r13d
  lea    D43(%rip),%r15
  movb   $0x0,0x10(%rsp,%rbx,1)
  lea    D50(%rip),%r12
  lea    D31(%rip),%r14
  nopl   0x0(%rax)
L153:
  mov    0xc(%rsp),%eax
  xor    %ebx,%ebx
  test   %eax,%eax
  jg     L134
  jmp    L159
  nopw   0x0(%rax,%rax,1)
L98:
  mov    %r12,%rdi
  call   <printf@plt>
L163:
  add    $0x1,%rbx
  cmp    %ebx,0xc(%rsp)
  jle    L159
L134:
  cmpb   $0x30,0x0(%rbp,%rbx,1)
  jne    L98
  mov    %r14,%rdi
  call   <printf@plt>
  jmp    L163
L39:
  lea    D2(%rip),%rdi
  call   <printf@plt>
  mov    $0x1,%eax
  jmp    L110
L24:
  lea    D75(%rip),%rdi
  call   <printf@plt>
  mov    $0x1,%eax
  jmp    L110
L95:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: data_tag: D49
datatype: string
name: unpack_data
arguments: data_tag: D64
datatype: string
name: unpack_data
arguments: data_tag: D10
datatype: string
name: unpack_data
arguments: data_tag: D43
datatype: string
name: unpack_data
arguments: data_tag: D50
datatype: string
name: unpack_data
arguments: data_tag: D31
datatype: string
name: unpack_data
arguments: data_tag: D2
datatype: string
name: unpack_data
arguments: data_tag: D75
datatype: string

tool: D49: %d

tool: D64: %c

tool: D10: error: Input error! cell chain must start and end with 0.

tool: D43: 


tool: D50: *

tool: D31: .

tool: D2: error: Input error! Space expected.

tool: D75: error: Input error! 0/1 expected.

assistant: ```c
int main() {
  int len, i = 0, j;
  char str[20], nextStr[20], temp;
  scanf("%d", &len);
  if (len >= 0 && len <= 20) {
    while (i < len) {
      scanf("%c", &temp);
      if (temp != ' ') {
        printf("error: Input error! Space expected.");
        return 1;
      }
      scanf("%c", &temp);
      if (temp == '0' || temp == '1') {
        if ((i == 0 || i == (len - 1)) && temp == '1') {
          printf("error: Input error! cell chain must start and end with 0.");
          return 1;
        }
        str[i] = temp;
      } else {
        printf("error: Input error! 0/1 expected.");
        return 1;
      }
      i++;
    }
    str[i] = '\0';
    for (i = 0; i < 1000; i++) {
      for (j = 0; j < len; j++) {
        if (str[j] == '0')
          printf(".");
        else
          printf("*");
      }
      printf("\n");
      if (strchr(str, '1') == NULL)
        break;
      next_generation(str, nextStr, len);
    }
  }
  return 0;
}
```