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

```asm
<parseAllPostingList>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x50,%rsp
  mov    %rdi,-0x48(%rbp)
  mov    %rsi,-0x50(%rbp)
  mov    %rdx,-0x58(%rbp)
  mov    %rcx,-0x60(%rbp)
  mov    %r8,-0x68(%rbp)
  mov    %r9d,-0x6c(%rbp)
  cmpl   $0x1,-0x6c(%rbp)
  ja     L96
  mov    $0x1,%eax
  jmp    L93
L96:
  mov    -0x68(%rbp),%rax
  mov    (%rax),%eax
  mov    %eax,-0x34(%rbp)
  mov    -0x68(%rbp),%rax
  mov    0x4(%rax),%edx
  mov    -0x60(%rbp),%rax
  mov    %edx,(%rax)
  mov    -0x34(%rbp),%eax
  shl    $0x2,%eax
  mov    %eax,%edi
  call   <myMalloc@plt>
  mov    %rax,-0x30(%rbp)
  mov    -0x34(%rbp),%eax
  shl    $0x3,%eax
  mov    %eax,%edi
  call   <myMalloc@plt>
  mov    %rax,-0x28(%rbp)
  mov    $0x2,%r12d
  movl   $0x0,-0x38(%rbp)
  mov    $0x0,%ebx
  jmp    L41
L45:
  mov    %r12d,%eax
  lea    0x1(%rax),%r12d
  mov    %eax,%eax
  lea    0x0(,%rax,4),%rdx
  mov    -0x68(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%r13d
  mov    %ebx,%eax
  lea    0x0(,%rax,4),%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  mov    %r13d,(%rax)
  lea    0x0(,%r13,4),%eax
  mov    %eax,%edi
  call   <myMalloc@plt>
  mov    %ebx,%edx
  lea    0x0(,%rdx,8),%rcx
  mov    -0x28(%rbp),%rdx
  add    %rcx,%rdx
  mov    %rax,(%rdx)
  mov    $0x0,%r14d
  jmp    L34
L52:
  mov    %r12d,%eax
  lea    0x1(%rax),%r12d
  mov    %eax,%eax
  lea    0x0(,%rax,4),%rdx
  mov    -0x68(%rbp),%rax
  add    %rdx,%rax
  mov    %ebx,%edx
  lea    0x0(,%rdx,8),%rcx
  mov    -0x28(%rbp),%rdx
  add    %rcx,%rdx
  mov    (%rdx),%rcx
  mov    %r14d,%edx
  shl    $0x2,%rdx
  add    %rcx,%rdx
  mov    (%rax),%eax
  mov    %eax,(%rdx)
  mov    %ebx,%eax
  lea    0x0(,%rax,8),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    %r14d,%eax
  shl    $0x2,%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  cmp    %eax,-0x38(%rbp)
  jae    L38
  mov    %ebx,%eax
  lea    0x0(,%rax,8),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    %r14d,%eax
  shl    $0x2,%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0x38(%rbp)
L38:
  add    $0x1,%r14d
L34:
  cmp    %r13d,%r14d
  jb     L52
  add    $0x1,%ebx
L41:
  cmp    -0x34(%rbp),%ebx
  jb     L45
  mov    -0x60(%rbp),%rax
  mov    (%rax),%eax
  cmp    %eax,-0x38(%rbp)
  jbe    L83
  mov    -0x60(%rbp),%rax
  mov    -0x38(%rbp),%edx
  mov    %edx,(%rax)
L83:
  mov    -0x60(%rbp),%rax
  mov    (%rax),%eax
  mov    -0x38(%rbp),%edx
  mov    %eax,%esi
  lea    D5(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  cmp    %r12d,-0x6c(%rbp)
  je     L26
  mov    $0x1f,%eax
  jmp    L93
L26:
  mov    -0x48(%rbp),%rax
  mov    -0x34(%rbp),%edx
  mov    %edx,(%rax)
  mov    -0x50(%rbp),%rax
  mov    -0x30(%rbp),%rdx
  mov    %rdx,(%rax)
  mov    -0x58(%rbp),%rax
  mov    -0x28(%rbp),%rdx
  mov    %rdx,(%rax)
  mov    $0x0,%eax
L93:
  add    $0x50,%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %rbp
  ret
```

tool_calls: name: extract_symbolic_data
arguments: label: D5
datatype: string

tool: D5: 
 **** maxpostSource = %d, maxpostComputed = %d

assistant: ```c
int parseAllPostingList(unsigned int *nlists, unsigned int **lenList, unsigned int ***occList, unsigned int *maxPostValue, unsigned int *source, unsigned int length) {
  unsigned int **occs;
  unsigned int *lens;
  unsigned int n;
  register unsigned int i, j, sourcepos, len;
  if (length < 2)
    return 1;
  n = source[0];
  *maxPostValue = source[1] + 0;
  lens = (unsigned int *)myMalloc(sizeof(unsigned int) * n);
  occs = (unsigned int **)myMalloc(sizeof(unsigned int *) * n);
  sourcepos = 2;
  unsigned int maxpostL = 0;
  for (i = 0; i < n; i++) {
    lens[i] = len = source[sourcepos++];
    occs[i] = (unsigned int *)myMalloc(sizeof(unsigned int) * len);
    for (j = 0; j < len; j++) {
      occs[i][j] = 0 + source[sourcepos++];
      if (occs[i][j] > maxpostL)
        maxpostL = (occs[i][j]);
    }
  }
  if (maxpostL > *maxPostValue)
    *maxPostValue = maxpostL;
  printf("\n **** maxpostSource = %d, maxpostComputed = %d", *maxPostValue, maxpostL);
  if (length != sourcepos)
    return 31;
  *nlists = n;
  *lenList = lens;
  *occList = occs;
  return 0;
}
```