user: 请从给定的汇编指令推导出C源代码:

```asm
<unescape_line>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %rdi,%r14
  mov    %rdx,0x8(%rsp)
  mov    %esi,%r12d
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  mov    %rdi,%rbp
  mov    %rdi,%rbx
  lea    D11(%rip),%r13
  lea    0x14(%rsp),%r15
  jmp    L85
L128:
  add    $0x1,%rbx
  mov    0x8(%rsp),%rax
  mov    %rbx,(%rax)
  mov    %ebp,%eax
  sub    %r14d,%eax
  jmp    L52
L67:
  cmp    $0x30,%al
  je     L173
  cmp    $0x30,%al
  jle    L224
  mov    $0xffffffff,%eax
  jmp    L52
L224:
  cmp    $0x22,%al
  je     L172
  cmp    $0x27,%al
  jne    L250
L172:
  mov    %al,0x0(%rbp)
  add    $0x1,%rbp
  lea    0x1(%rdx),%rbx
  cmpb   $0x0,(%rdx)
  je     L74
L85:
  movzbl (%rbx),%eax
  cmp    %r12b,%al
  je     L128
  mov    %rbx,%rdx
  cmp    $0x5c,%al
  jne    L172
  lea    0x1(%rbx),%rdx
  movzbl 0x1(%rbx),%eax
  cmp    $0x78,%al
  jg     L107
  cmp    $0x5b,%al
  jle    L67
  lea    -0x5c(%rax),%ecx
  cmp    $0x1c,%cl
  ja     L158
  movzbl %cl,%ecx
  movslq 0x0(%r13,%rcx,4),%rcx
  add    %r13,%rcx
  notrack jmp *%rcx
L250:
  mov    $0xffffffff,%eax
  jmp    L52
  mov    $0xd,%eax
  jmp    L172
  mov    $0x9,%eax
  jmp    L172
  mov    $0xb,%eax
  jmp    L172
  movsbl 0x2(%rbx),%edi
  call   <isxdigit@plt>
  test   %eax,%eax
  je     L262
  movsbl 0x3(%rbx),%edi
  call   <isxdigit@plt>
  test   %eax,%eax
  je     L215
  lea    0x2(%rbx),%rdi
  mov    %r15,%rdx
  lea    D0(%rip),%rsi
  call   <sscanf@plt>
  movzbl 0x14(%rsp),%eax
  lea    0x3(%rbx),%rdx
  jmp    L172
L173:
  mov    $0x0,%eax
  jmp    L172
  mov    $0xa,%eax
  jmp    L172
L74:
  mov    0x8(%rsp),%rax
  mov    %rbx,(%rax)
  sub    %r14,%rbp
  lea    -0x1(%rbp),%eax
  jmp    L52
L107:
  mov    $0xffffffff,%eax
  jmp    L52
L158:
  mov    $0xffffffff,%eax
L52:
  mov    0x18(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L255
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L262:
  mov    $0xffffffff,%eax
  jmp    L52
L215:
  mov    $0xffffffff,%eax
  jmp    L52
L255:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: data_tag: D0
data_type: string

tool: D0: %2x

assistant: ```c
int unescape_line(char *line, char delim, char **tail) {
  char *p, *q;
  unsigned int x;
  p = q = line;
  do {
    if (*p == delim) {
      *tail = p + 1;
      return (int)(q - line);
    } else if (*p == '\\')
      switch (*++p) {
      case '\\':
        *q = '\\';
        break;
      case 'n':
        *q = '\n';
        break;
      case 'r':
        *q = '\r';
        break;
      case 't':
        *q = '\t';
        break;
      case 'v':
        *q = '\v';
        break;
      case '0':
        *q = '\0';
        break;
      case 'x':
        if (!isxdigit(p[1]) || !isxdigit(p[2]))
          return -1;
        sscanf(p + 1, "%2x", &x);
        *q = x;
        p += 2;
        break;
      case '\"':
      case '\'':
      case '`':
        *q = *p;
        break;
      default:
        return -1;
      }
    else
      *q = *p;
    q++;
  } while (*p++ != '\0');
  *tail = p;
  return (int)(q - line - 1);
}
```