user: 请将这段汇编代码片段转换成等效的C代码：

```asm
<clef_skip>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %rdi,%rbx
  mov    %rsi,%rbp
  mov    %rdx,0x8(%rsp)
  mov    %rcx,0x10(%rsp)
  mov    %r8,0x18(%rsp)
  lea    D101(%rip),%r12
  lea    D150(%rip),%r13
  lea    D35(%rip),%r14
  lea    D141(%rip),%r15
  jmp    L17
L202:
  mov    $0x4,%edx
  mov    %r14,%rsi
  mov    %rbx,%rdi
  call   <strncmp@plt>
  test   %rax,%rax
  je     L205
  mov    $0x6,%edx
  mov    %r15,%rsi
  mov    %rbx,%rdi
  call   <strncmp@plt>
  test   %rax,%rax
  je     L205
  mov    $0x4,%edx
  lea    D75(%rip),%rsi
  mov    %rbx,%rdi
  call   <strncmp@plt>
  test   %rax,%rax
  je     L205
  mov    $0x5,%edx
  lea    D6(%rip),%rsi
  mov    %rbx,%rdi
  call   <strncmp@plt>
  test   %rax,%rax
  je     L205
  mov    $0x4,%edx
  lea    D157(%rip),%rsi
  mov    %rbx,%rdi
  call   <strncmp@plt>
  test   %rax,%rax
  je     L205
  mov    $0x7,%edx
  lea    D57(%rip),%rsi
  mov    %rbx,%rdi
  call   <strncmp@plt>
  test   %rax,%rax
  jne    L237
L158:
  mov    0x8(%rsp),%rax
  cmpq   $0x0,(%rax)
  je     L255
  mov    %rbx,%rsi
  lea    D10(%rip),%rdi
  call   <syntax@plt>
L255:
  cmpb   $0x3d,0x1(%rbx)
  setne  %al
  movzbl %al,%eax
  lea    0x2(%rax,%rax,4),%rax
  add    %rbx,%rax
  mov    0x8(%rsp),%rcx
  mov    %rax,(%rcx)
  jmp    L143
L237:
  mov    $0x2,%edx
  lea    D131(%rip),%rsi
  mov    %rbx,%rdi
  call   <strncmp@plt>
  test   %rax,%rax
  je     L158
  mov    $0xb,%edx
  lea    D30(%rip),%rsi
  mov    %rbx,%rdi
  call   <strncmp@plt>
  test   %rax,%rax
  jne    L167
  mov    0x10(%rsp),%rax
  cmpq   $0x0,(%rax)
  je     L226
  mov    %rbx,%rsi
  lea    D58(%rip),%rdi
  call   <syntax@plt>
L226:
  lea    0xb(%rbx),%rax
  mov    0x10(%rsp),%rcx
  mov    %rax,(%rcx)
  jmp    L143
L167:
  mov    $0xb,%edx
  lea    D2(%rip),%rsi
  mov    %rbx,%rdi
  call   <strncmp@plt>
  test   %rax,%rax
  jne    L197
  mov    0x18(%rsp),%rax
  cmpq   $0x0,(%rax)
  je     L187
  mov    %rbx,%rsi
  lea    D95(%rip),%rdi
  call   <syntax@plt>
L187:
  lea    0xb(%rbx),%rax
  mov    0x18(%rsp),%rcx
  mov    %rax,(%rcx)
  jmp    L143
L197:
  mov    $0xa,%edx
  lea    D135(%rip),%rsi
  mov    %rbx,%rdi
  call   <strncmp@plt>
  test   %rax,%rax
  je     L143
  mov    $0x2,%edx
  lea    D159(%rip),%rsi
  mov    %rbx,%rdi
  call   <strncmp@plt>
  test   %rax,%rax
  je     L143
L131:
  mov    %rbx,%rax
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L111:
  movsbl (%rbx),%edi
  call   <isspace@plt>
  test   %rax,%rax
  je     L38
  add    $0x1,%rbx
  jmp    L111
L38:
  cmpb   $0x0,(%rbx)
  je     L131
L17:
  mov    $0x5,%edx
  mov    %r12,%rsi
  mov    %rbx,%rdi
  call   <strncmp@plt>
  test   %rax,%rax
  jne    L202
L205:
  cmpq   $0x0,0x0(%rbp)
  je     L10
  mov    %rbx,%rsi
  mov    %r13,%rdi
  call   <syntax@plt>
L10:
  mov    %rbx,0x0(%rbp)
L143:
  movsbl (%rbx),%edi
  call   <isspace@plt>
  test   %rax,%rax
  jne    L111
  cmpb   $0x0,(%rbx)
  je     L111
  add    $0x1,%rbx
  jmp    L143
```

tool_calls: name: unpack_data
arguments: tag: D101
data_type: string
name: unpack_data
arguments: tag: D150
data_type: string
name: unpack_data
arguments: tag: D35
data_type: string
name: unpack_data
arguments: tag: D141
data_type: string
name: unpack_data
arguments: tag: D75
data_type: string
name: unpack_data
arguments: tag: D6
data_type: string
name: unpack_data
arguments: tag: D157
data_type: string
name: unpack_data
arguments: tag: D57
data_type: string
name: unpack_data
arguments: tag: D10
data_type: string
name: unpack_data
arguments: tag: D131
data_type: string
name: unpack_data
arguments: tag: D30
data_type: string
name: unpack_data
arguments: tag: D58
data_type: string
name: unpack_data
arguments: tag: D2
data_type: string
name: unpack_data
arguments: tag: D95
data_type: string
name: unpack_data
arguments: tag: D135
data_type: string
name: unpack_data
arguments: tag: D159
data_type: string

tool: D101: clef=

tool: D150: Double clef name

tool: D35: bass

tool: D141: treble

tool: D75: alto

tool: D6: tenor

tool: D157: perc

tool: D57: middle=

tool: D10: Double clef middle

tool: D131: m=

tool: D30: stafflines=

tool: D58: Double clef stafflines

tool: D2: staffscale=

tool: D95: Double clef staffscale

tool: D135: transpose=

tool: D159: t=

assistant: ```c
char *clef_skip(char *p, char **p_name, char **p_middle, char **p_lines, char **p_scale) {
  for (;;) {
    if (strncmp(p, "clef=", 5) == 0 || strncmp(p, "bass", 4) == 0 || strncmp(p, "treble", 6) == 0 || strncmp(p, "alto", 4) == 0 || strncmp(p, "tenor", 5) == 0 || strncmp(p, "perc", 4) == 0) {
      if (*p_name != 0)
        syntax("Double clef name", p);
      *p_name = p;
    } else if (strncmp(p, "middle=", 7) == 0 || strncmp(p, "m=", 2) == 0) {
      if (*p_middle != 0)
        syntax("Double clef middle", p);
      *p_middle = p + (p[1] == '=' ? 2 : 7);
    } else if (strncmp(p, "stafflines=", 11) == 0) {
      if (*p_lines != 0)
        syntax("Double clef stafflines", p);
      *p_lines = p + 11;
    } else if (strncmp(p, "staffscale=", 11) == 0) {
      if (*p_scale != 0)
        syntax("Double clef staffscale", p);
      *p_scale = p + 11;
    } else if (strncmp(p, "transpose=", 10) == 0 || strncmp(p, "t=", 2) == 0) {
      ;
    } else
      break;
    while (!isspace((unsigned)*p) && *p != '\0')
      p++;
    while (isspace((unsigned)*p))
      p++;
    if (*p == '\0')
      break;
  }
  return p;
}
```