user: Converte this assembly snippet into its equivalent C code:

```asm
<main>:
  endbr64
  push   %r14
  lea    D85(%rip),%rsi
  mov    $0x20,%edx
  push   %r13
  lea    D25(%rip),%r13
  push   %r12
  push   %rbp
  xor    %ebp,%ebp
  push   %rbx
  sub    $0x50,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x48(%rsp)
  movabs $0x2b00000020,%rax
  mov    %rsi,0x20(%rsp)
  mov    %rsp,%r12
  lea    0x20(%rsp),%rbx
  movl   $0x2,0x10(%rsp)
  mov    %rax,(%rsp)
  movabs $0x590000000c,%rax
  mov    %rax,0x8(%rsp)
  lea    D74(%rip),%rax
  mov    %rax,0x28(%rsp)
  lea    D31(%rip),%rax
  mov    %rax,0x30(%rsp)
  lea    D76(%rip),%rax
  mov    %rax,0x38(%rsp)
  lea    D82(%rip),%rax
  mov    %rax,0x40(%rsp)
L64:
  mov    %r13,%rdi
  xor    %eax,%eax
  add    $0x4,%rbp
  call   <printf@plt>
  cmp    $0x14,%rbp
  je     L15
  mov    (%r12,%rbp,1),%edx
  mov    (%rbx,%rbp,2),%rsi
  jmp    L64
  nopl   0x0(%rax,%rax,1)
L15:
  lea    D38(%rip),%r13
  xor    %ebp,%ebp
  lea    D100(%rip),%r14
  mov    %r13,%rdi
  call   <puts@plt>
  lea    D85(%rip),%rsi
  mov    $0x20,%edx
L89:
  mov    %r14,%rdi
  xor    %eax,%eax
  add    $0x4,%rbp
  call   <printf@plt>
  cmp    $0x14,%rbp
  je     L28
  mov    (%r12,%rbp,1),%edx
  mov    (%rbx,%rbp,2),%rsi
  jmp    L89
  nopw   0x0(%rax,%rax,1)
L28:
  mov    %r13,%rdi
  xor    %ebp,%ebp
  lea    D5(%rip),%r14
  call   <puts@plt>
  lea    D85(%rip),%rsi
  mov    $0x20,%edx
L84:
  mov    %r14,%rdi
  xor    %eax,%eax
  add    $0x4,%rbp
  call   <printf@plt>
  cmp    $0x14,%rbp
  je     L53
  mov    (%r12,%rbp,1),%edx
  mov    (%rbx,%rbp,2),%rsi
  jmp    L84
  nopl   0x0(%rax,%rax,1)
L53:
  mov    %r13,%rdi
  mov    %r12,%rbp
  lea    D96(%rip),%r13
  call   <puts@plt>
  lea    D85(%rip),%rsi
  mov    $0x20,%edx
  jmp    L75
L16:
  mov    0x0(%rbp),%edx
  mov    (%rbx),%rsi
L75:
  mov    %r13,%rdi
  xor    %eax,%eax
  add    $0x4,%rbp
  add    $0x8,%rbx
  call   <printf@plt>
  mov    %rbp,%rax
  sub    %r12,%rax
  cmp    $0x10,%rax
  jle    L16
  mov    0x48(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L65
  add    $0x50,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
L65:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: data_tag: D85
datatype: string
name: parse_data
arguments: data_tag: D25
datatype: string
name: parse_data
arguments: data_tag: D74
datatype: string
name: parse_data
arguments: data_tag: D31
datatype: string
name: parse_data
arguments: data_tag: D76
datatype: string
name: parse_data
arguments: data_tag: D82
datatype: string
name: parse_data
arguments: data_tag: D38
datatype: string
name: parse_data
arguments: data_tag: D100
datatype: string
name: parse_data
arguments: data_tag: D5
datatype: string
name: parse_data
arguments: data_tag: D96
datatype: string

tool: D85: Alan

tool: D25: %s has %d years alive.


tool: D74: Frank

tool: D31: Mary

tool: D76: John

tool: D82: Lisa

tool: D38: ---

tool: D100: %s is %d years old.


tool: D5: %s is %d years old again.


tool: D96: %s lived %d years so far.


assistant: ```c
int main(int argc, char *argv[]) {
  int ages[] = {32, 43, 12, 89, 2};
  char *names[] = {"Alan", "Frank", "Mary", "John", "Lisa"};
  int count = sizeof(ages) / sizeof(int);
  int i = 0;
  for (i = 0; i < count; i++) {
    printf("%s has %d years alive.\n", names[i], ages[i]);
  }
  printf("---\n");
  int *cur_age = ages;
  char **cur_name = names;
  for (i = 0; i < count; i++) {
    printf("%s is %d years old.\n", *(cur_name + i), *(cur_age + i));
  }
  printf("---\n");
  for (i = 0; i < count; i++) {
    printf("%s is %d years old again.\n", cur_name[i], cur_age[i]);
  }
  printf("---\n");
  for (cur_name = names, cur_age = ages; (cur_age - ages) < count; cur_name++, cur_age++) {
    printf("%s lived %d years so far.\n", *cur_name, *cur_age);
  }
  return 0;
}
```