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

```asm
<main>:
  endbr64
  push   %r14
  lea    D86(%rip),%rcx
  push   %r13
  lea    D89(%rip),%r13
  push   %r12
  push   %rbp
  xor    %ebp,%ebp
  push   %rbx
  sub    $0x50,%rsp
  movdqa D40(%rip),%xmm0
  mov    %fs:0x28,%rax
  mov    %rax,0x48(%rsp)
  xor    %eax,%eax
  lea    D76(%rip),%rax
  mov    %rsp,%r12
  lea    0x20(%rsp),%rbx
  movq   %rax,%xmm1
  movaps %xmm0,(%rsp)
  lea    D28(%rip),%rax
  movq   %rcx,%xmm0
  punpcklqdq %xmm1,%xmm0
  movq   %rax,%xmm2
  lea    D63(%rip),%rcx
  movl   $0x2,0x10(%rsp)
  lea    D5(%rip),%rax
  movaps %xmm0,0x20(%rsp)
  movq   %rcx,%xmm0
  mov    %rax,0x40(%rsp)
  punpcklqdq %xmm2,%xmm0
  movaps %xmm0,0x30(%rsp)
L43:
  mov    (%r12,%rbp,4),%edx
  mov    (%rbx,%rbp,8),%rsi
  mov    %r13,%rdi
  xor    %eax,%eax
  add    $0x1,%rbp
  call   <printf@plt>
  cmp    $0x5,%rbp
  jne    L43
  lea    D77(%rip),%r14
  xor    %ebp,%ebp
  lea    D29(%rip),%r13
  mov    %r14,%rdi
  call   <puts@plt>
L42:
  mov    (%r12,%rbp,4),%edx
  mov    (%rbx,%rbp,8),%rsi
  mov    %r13,%rdi
  xor    %eax,%eax
  add    $0x1,%rbp
  call   <printf@plt>
  cmp    $0x5,%rbp
  jne    L42
  mov    %r14,%rdi
  xor    %ebp,%ebp
  call   <puts@plt>
L13:
  mov    (%r12,%rbp,4),%edx
  mov    (%rbx,%rbp,8),%rsi
  mov    %r13,%rdi
  xor    %eax,%eax
  add    $0x1,%rbp
  call   <printf@plt>
  cmp    $0x5,%rbp
  jne    L13
  mov    %r14,%rdi
  mov    %r12,%rbp
  call   <puts@plt>
  nopl   0x0(%rax)
L23:
  mov    0x0(%rbp),%edx
  mov    (%rbx),%rsi
  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    L23
  mov    %r14,%rdi
  call   <puts@plt>
  mov    0x48(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L20
  add    $0x50,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
L20:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: label: D86
type_guessed: string
name: parse_data
arguments: label: D89
type_guessed: string
name: parse_data
arguments: label: D40
type_guessed: byte[16]
name: parse_data
arguments: label: D76
type_guessed: string
name: parse_data
arguments: label: D28
type_guessed: string
name: parse_data
arguments: label: D63
type_guessed: string
name: parse_data
arguments: label: D5
type_guessed: string
name: parse_data
arguments: label: D77
type_guessed: string
name: parse_data
arguments: label: D29
type_guessed: string

tool: D86: Alan

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


tool: {"D40": [0x17,0x00,0x00,0x00,0x2b,0x00,0x00,0x00,0x0c,0x00,0x00,0x00,0x59,0x00,0x00,0x00]}

tool: D76: Frank

tool: D28: John

tool: D63: Many

tool: D5: Lisa

tool: D77: ----------------------

tool: D29: %s is %d years old,


assistant: ```c
int main(int argc, char *argv[]) {
  int ages[] = {23, 43, 12, 89, 2};
  char *names[] = {"Alan", "Frank", "Many", "John", "Lisa"};
  int count = sizeof(ages) / sizeof(int);
  int i = 0;
  for (i = 0; i < count; i++) {
    printf("%s is %d years old.\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,\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 is %d years old,\n", *cur_name, *cur_age);
  }
  printf("----------------------\n");
  return 0;
}
```