user: What would the C source look like for the assembly code provided here:

```asm
<parse_netmap>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x188,%rsp
  mov    %rsi,%r12
  mov    %rdx,%rbp
  mov    %rcx,%rbx
  mov    %fs:0x28,%rax
  mov    %rax,0x178(%rsp)
  xor    %eax,%eax
  movl   $0x0,(%rsi)
  movl   $0x0,(%rdx)
  movl   $0x0,(%rcx)
  lea    D15(%rip),%rsi
  call   <strtok@plt>
  mov    %rax,%rsi
  mov    $0x1,%eax
  test   %rsi,%rsi
  je     L46
  lea    0xa0(%rsp),%rdi
  call   <strcpy@plt>
  lea    D15(%rip),%rsi
  mov    $0x0,%edi
  call   <strtok@plt>
  mov    %rax,%rsi
  mov    $0x1,%eax
  test   %rsi,%rsi
  je     L46
  lea    0x110(%rsp),%rdi
  call   <strcpy@plt>
  lea    0xa0(%rsp),%rdi
  lea    D57(%rip),%rsi
  call   <strtok@plt>
  mov    %rax,%rsi
  mov    $0x1,%eax
  test   %rsi,%rsi
  je     L46
  mov    %rsp,%rdi
  call   <strcpy@plt>
  lea    D15(%rip),%rsi
  mov    $0x0,%edi
  call   <strtok@plt>
  mov    %rax,%rsi
  mov    $0x1,%eax
  test   %rsi,%rsi
  je     L46
  lea    0x20(%rsp),%r14
  mov    %r14,%rdi
  call   <strcpy@plt>
  lea    0x80(%rsp),%r13
  mov    %r14,%rsi
  mov    %r13,%rdi
  call   <strcpy@plt>
  lea    D19(%rip),%rsi
  mov    %r13,%rdi
  call   <strtok@plt>
  test   %rax,%rax
  je     L69
  mov    %r14,%rdi
  mov    %rax,%rsi
  call   <strcpy@plt>
L69:
  lea    0x20(%rsp),%rdi
  lea    D20(%rip),%rsi
  call   <strtok@plt>
  mov    %rax,%rsi
  mov    $0x1,%eax
  test   %rsi,%rsi
  je     L46
  lea    0x40(%rsp),%rdi
  call   <strcpy@plt>
  lea    D20(%rip),%rsi
  mov    $0x0,%edi
  call   <strtok@plt>
  mov    %rax,%rsi
  mov    $0x1,%eax
  test   %rsi,%rsi
  je     L46
  lea    0x60(%rsp),%r14
  mov    %r14,%rdi
  call   <strcpy@plt>
  lea    0x40(%rsp),%rdi
  call   <atoi@plt>
  mov    %eax,%r15d
  mov    %r14,%rdi
  call   <atoi@plt>
  shl    $0x4,%eax
  add    %eax,%r15d
  movzbl 0x110(%rsp),%edi
  test   %dil,%dil
  je     L111
  mov    $0x0,%r13d
L12:
  movsbl %dil,%edi
  call   <isdigit@plt>
  test   %rax,%rax
  je     L59
  add    $0x1,%r13
  movzbl 0x110(%rsp,%r13,1),%edi
  test   %dil,%dil
  jne    L12
  jmp    L111
L59:
  movslq %r13d,%r14
  movb   $0x0,0x110(%rsp,%r14,1)
L111:
  mov    %rsp,%rdi
  call   <atoi@plt>
  mov    %eax,(%r12)
  mov    %r15d,0x0(%rbp)
  lea    0x110(%rsp),%rdi
  call   <atoi@plt>
  mov    %eax,(%rbx)
  mov    $0x0,%eax
L46:
  mov    0x178(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L78
  add    $0x188,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L78:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: data_label: D15
type: string
name: disassemble_data
arguments: data_label: D57
type: string
name: disassemble_data
arguments: data_label: D19
type: string
name: disassemble_data
arguments: data_label: D20
type: string

tool: D15:  

tool: D57: :

tool: D19: @

tool: D20: /

assistant: ```c
int parse_netmap(char *s, int *iouinst, int *iouintf, int *iouliveinst) {
  char Left[100], Right[100];
  char LeftInstance[20], RightInstance[20];
  char LeftIntf[20], IntMajor[20], IntMinor[20];
  char temps[30];
  int interface;
  char *t;
  int i;
  *iouinst = 0;
  *iouintf = 0;
  *iouliveinst = 0;
  t = strtok(s, " ");
  if (t != NULL)
    strcpy(Left, t);
  else
    return 1;
  t = strtok(NULL, " ");
  if (t != NULL)
    strcpy(Right, t);
  else
    return 1;
  t = strtok(Left, ":");
  if (t != NULL)
    strcpy(LeftInstance, t);
  else
    return 1;
  t = strtok(NULL, " ");
  if (t != NULL)
    strcpy(LeftIntf, t);
  else
    return 1;
  strcpy(temps, LeftIntf);
  t = strtok(temps, "@");
  if (t != NULL)
    strcpy(LeftIntf, t);
  t = strtok(LeftIntf, "/");
  if (t != NULL)
    strcpy(IntMajor, t);
  else
    return 1;
  t = strtok(NULL, "/");
  if (t != NULL)
    strcpy(IntMinor, t);
  else
    return 1;
  interface = atoi(IntMajor) + (atoi(IntMinor) * 16);
  i = 0;
  while (Right[i] != '\0') {
    if (isdigit(Right[i]))
      i++;
    else {
      Right[i] = '\0';
      break;
    }
  }
  *iouinst = atoi(LeftInstance);
  *iouintf = interface;
  *iouliveinst = atoi(Right);
  return 0;
}
```