user: Please show me the C implementation that matches the assembly code listed below:

```asm
<parseInfo>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x40,%rsp
  mov    %edi,-0x14(%rbp)
  mov    %rsi,-0x20(%rbp)
  mov    %rdx,-0x28(%rbp)
  mov    %rcx,-0x30(%rbp)
  mov    %r8,-0x38(%rbp)
  mov    %r9,-0x40(%rbp)
  mov    -0x28(%rbp),%rax
  mov    %rax,-0x8(%rbp)
  mov    -0x20(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x73,%al
  jne    L5
  mov    -0x30(%rbp),%rax
  movl   $0x7,(%rax)
  jmp    L1
L5:
  mov    -0x20(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x64,%al
  jne    L62
  mov    -0x30(%rbp),%rax
  movl   $0x6,(%rax)
  jmp    L1
L62:
  mov    -0x20(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x6c,%al
  je     L49
  mov    -0x20(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x62,%al
  jne    L32
L49:
  mov    -0x30(%rbp),%rax
  movl   $0x3,(%rax)
  jmp    L1
L32:
  lea    D12(%rip),%rax
  mov    %rax,%rdi
  call   <ERROR@plt>
L1:
  mov    -0x20(%rbp),%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  cmp    $0x63,%al
  jne    L165
  mov    -0x38(%rbp),%rax
  movl   $0x1,(%rax)
  jmp    L56
L165:
  mov    -0x20(%rbp),%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  cmp    $0x72,%al
  jne    L246
  mov    -0x38(%rbp),%rax
  movl   $0x0,(%rax)
  jmp    L56
L246:
  lea    D29(%rip),%rax
  mov    %rax,%rdi
  call   <ERROR@plt>
L56:
  mov    0x10(%rbp),%rax
  movl   $0x1,(%rax)
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x5b,%al
  jne    L210
  addq   $0x1,-0x8(%rbp)
L210:
  movl   $0x0,-0x10(%rbp)
  jmp    L147
L127:
  mov    -0x10(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x40(%rbp),%rax
  add    %rax,%rdx
  mov    -0x8(%rbp),%rax
  lea    D19(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <sscanf@plt>
  mov    %eax,-0xc(%rbp)
  cmpl   $0x0,-0xc(%rbp)
  je     L153
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x5d,%al
  je     L153
  mov    0x10(%rbp),%rax
  mov    (%rax),%edx
  mov    -0x10(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rcx
  mov    -0x40(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%eax
  imul   %eax,%edx
  mov    0x10(%rbp),%rax
  mov    %edx,(%rax)
  jmp    L16
L129:
  addq   $0x1,-0x8(%rbp)
L16:
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x2f,%al
  jle    L116
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x39,%al
  jle    L129
L116:
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x2e,%al
  je     L129
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x2d,%al
  je     L129
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x78,%al
  jne    L120
  addq   $0x1,-0x8(%rbp)
L120:
  addl   $0x1,-0x10(%rbp)
L147:
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  je     L153
  mov    -0x10(%rbp),%eax
  cmp    -0x14(%rbp),%eax
  jl     L127
L153:
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x5d,%al
  jne    L119
  addq   $0x1,-0x8(%rbp)
L119:
  subl   $0x1,-0x14(%rbp)
  jmp    L204
L41:
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  movl   $0x1,(%rax)
  subl   $0x1,-0x14(%rbp)
L204:
  mov    -0x10(%rbp),%eax
  cmp    -0x14(%rbp),%eax
  jl     L41
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  movl   $0x1,(%rax)
  mov    -0x14(%rbp),%eax
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D12
type: string
name: extract_symbolic_data
arguments: data_label: D29
type: string
name: extract_symbolic_data
arguments: data_label: D19
type: string

tool: D12: Unsupported type string

tool: D29: Unsupported complex type

tool: D19: %d

assistant: ```c
int parseInfo(int nd, char *typestr, char *szstr, int *type, int *complexp, int *sz, int *numel) {
  char *cp = szstr;
  int i, nch;
  if (typestr[0] == 's')
    *type = 7;
  else if (typestr[0] == 'd')
    *type = 6;
  else if (typestr[0] == 'l' || typestr[0] == 'b')
    *type = 3;
  else
    ERROR("Unsupported type string");
  if (typestr[1] == 'c')
    *complexp = 1;
  else if (typestr[1] == 'r')
    *complexp = 0;
  else
    ERROR("Unsupported complex type");
  *numel = 1;
  if (*cp == '[')
    cp++;
  for (i = 0; *cp != 0 && i < nd; i++) {
    nch = sscanf(cp, "%d", sz + i);
    if (nch == 0 || *cp == ']')
      break;
    *numel *= sz[i];
    for (; (*cp >= '0' && *cp <= '9') || *cp == '.' || *cp == '-'; cp++)
      ;
    if (*cp == 'x')
      cp++;
  }
  if (*cp == ']')
    cp++;
  for (nd--; i < nd; nd--) {
    sz[nd] = 1;
  }
  sz[nd] = 1;
  return nd;
}
```