user: What is the c source code of the assembly code below:

```asm
<cmd_seek>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x40,%rsp
  mov    %rdi,-0x38(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0x0,-0x24(%rbp)
  movl   $0x0,-0x20(%rbp)
  movl   $0x1,-0x1c(%rbp)
  mov    -0x38(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  cmp    $0x2b,%eax
  je     L141
  cmp    $0x2d,%eax
  jne    L4
  movl   $0xffffffff,-0x1c(%rbp)
L141:
  movl   $0x1,-0x24(%rbp)
  addq   $0x1,-0x38(%rbp)
  nop
L4:
  movl   $0x0,-0x18(%rbp)
  jmp    L68
L10:
  mov    -0x38(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x3a,%al
  jne    L171
  addq   $0x1,-0x38(%rbp)
L68:
  lea    -0x10(%rbp),%rdx
  mov    -0x38(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <get_number@plt>
  mov    %eax,-0x14(%rbp)
  mov    -0x10(%rbp),%rax
  cmp    %rax,-0x38(%rbp)
  je     L115
  mov    -0x10(%rbp),%rax
  mov    %rax,-0x38(%rbp)
  mov    -0x20(%rbp),%eax
  imul   $0x3c,%eax,%edx
  mov    -0x14(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x20(%rbp)
  addl   $0x1,-0x18(%rbp)
  cmpl   $0x2,-0x18(%rbp)
  jle    L10
  jmp    L122
L171:
  nop
  jmp    L122
L115:
  nop
L122:
  mov    -0x20(%rbp),%eax
  imul   -0x1c(%rbp),%eax
  mov    %eax,-0x20(%rbp)
  cmpl   $0x0,-0x18(%rbp)
  je     L185
  cmpl   $0x1,-0x18(%rbp)
  jne    L90
  mov    -0x38(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  mov    %eax,%edi
  call   <tolower@plt>
  cmp    $0x73,%eax
  je     L188
  cmp    $0x73,%eax
  jg     L90
  cmp    $0x68,%eax
  je     L98
  cmp    $0x6d,%eax
  je     L56
  jmp    L90
L98:
  mov    -0x20(%rbp),%eax
  imul   $0x3c,%eax,%eax
  mov    %eax,-0x20(%rbp)
L56:
  mov    -0x20(%rbp),%eax
  imul   $0x3c,%eax,%eax
  mov    %eax,-0x20(%rbp)
L188:
  addq   $0x1,-0x38(%rbp)
  nop
L90:
  mov    -0x38(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  jne    L62
  mov    -0x24(%rbp),%ecx
  mov    -0x20(%rbp),%eax
  mov    $0x1,%edx
  mov    %ecx,%esi
  mov    %eax,%edi
  call   <player_seek@plt>
  jmp    L35
L185:
  nop
  jmp    L116
L62:
  nop
L116:
  lea    D3(%rip),%rax
  mov    %rax,%rdi
  call   <error_msg@plt>
L35:
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L40
  call   <__stack_chk_fail@plt>
L40:
  leave
  ret
```

tool_calls: name: retrieve_data
arguments: label: D3
type_infered: string

tool: D3: expecting one argument: [+-]INTEGER[mh] or [+-]H:MM:SS

assistant: ```c
void cmd_seek(char *arg) {
  int relative = 0;
  int seek = 0, sign = 1, count;
  switch (*arg) {
  case '-':
    sign = -1;
  case '+':
    relative = 1;
    arg++;
    break;
  }
  count = 0;
  goto inside;
  do {
    int num;
    char *end;
    if (*arg != ':')
      break;
    arg++;
  inside:
    num = get_number(arg, &end);
    if (arg == end)
      break;
    arg = end;
    seek = seek * 60 + num;
  } while (++count < 3);
  seek *= sign;
  if (!count)
    goto err;
  if (count == 1) {
    switch (tolower((unsigned char)*arg)) {
    case 'h':
      seek *= 60;
    case 'm':
      seek *= 60;
    case 's':
      arg++;
      break;
    }
  }
  if (!*arg) {
    player_seek(seek, relative, 1);
    return;
  }
err:
  error_msg("expecting one argument: [+-]INTEGER[mh] or [+-]H:MM:SS");
}
```