user: 下面的汇编指令对应的C源代码是什么：

```asm
<parse_html_decode>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x60,%rsp
  mov    %rdi,-0x48(%rbp)
  mov    %rsi,-0x50(%rbp)
  mov    %rdx,-0x58(%rbp)
  mov    -0x50(%rbp),%rax
  mov    %rax,-0x28(%rbp)
  mov    -0x48(%rbp),%rax
  mov    %rax,-0x20(%rbp)
  jmp    L138
L167:
  mov    -0x28(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x26,%al
  je     L170
  mov    -0x28(%rbp),%rdx
  lea    0x1(%rdx),%rax
  mov    %rax,-0x28(%rbp)
  mov    -0x20(%rbp),%rax
  lea    0x1(%rax),%rcx
  mov    %rcx,-0x20(%rbp)
  movzbl (%rdx),%edx
  mov    %dl,(%rax)
  jmp    L138
L170:
  addq   $0x1,-0x28(%rbp)
  mov    -0x28(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  je     L156
  mov    -0x28(%rbp),%rax
  cmp    -0x58(%rbp),%rax
  jne    L54
L156:
  mov    -0x20(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x20(%rbp)
  movb   $0x26,(%rax)
  jmp    L138
L54:
  mov    -0x28(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x23,%al
  jne    L71
  mov    -0x28(%rbp),%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  cmp    $0x78,%al
  jne    L71
  mov    -0x28(%rbp),%rax
  mov    %rax,-0x18(%rbp)
  addq   $0x2,-0x28(%rbp)
  jmp    L130
L23:
  addq   $0x1,-0x28(%rbp)
L130:
  mov    -0x28(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  mov    %eax,%edi
  call   <isxdigit@plt>
  test   %rax,%rax
  jne    L23
  mov    -0x18(%rbp),%rax
  lea    0x2(%rax),%rcx
  mov    -0x28(%rbp),%rax
  mov    $0x10,%edx
  mov    %rax,%rsi
  mov    %rcx,%rdi
  call   <convert_html_entity@plt>
  mov    %eax,-0x34(%rbp)
  cmpl   $0x0,-0x34(%rbp)
  js     L93
  mov    -0x34(%rbp),%edx
  mov    -0x20(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  call   <ucs4_to_utf8_char@plt>
  mov    %rax,-0x20(%rbp)
  mov    -0x28(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x3b,%al
  jne    L138
  addq   $0x1,-0x28(%rbp)
  jmp    L138
L93:
  mov    -0x20(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x20(%rbp)
  movb   $0x26,(%rax)
  mov    -0x18(%rbp),%rax
  mov    %rax,-0x28(%rbp)
  jmp    L138
L71:
  mov    -0x28(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x23,%al
  jne    L153
  mov    -0x28(%rbp),%rax
  mov    %rax,-0x8(%rbp)
  addq   $0x1,-0x28(%rbp)
  jmp    L161
L131:
  addq   $0x1,-0x28(%rbp)
L161:
  mov    -0x28(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  mov    %eax,%edi
  call   <isdigit@plt>
  test   %rax,%rax
  jne    L131
  mov    -0x8(%rbp),%rax
  lea    0x1(%rax),%rcx
  mov    -0x28(%rbp),%rax
  mov    $0xa,%edx
  mov    %rax,%rsi
  mov    %rcx,%rdi
  call   <convert_html_entity@plt>
  mov    %eax,-0x2c(%rbp)
  cmpl   $0x0,-0x2c(%rbp)
  js     L124
  mov    -0x2c(%rbp),%edx
  mov    -0x20(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  call   <ucs4_to_utf8_char@plt>
  mov    %rax,-0x20(%rbp)
  mov    -0x28(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x3b,%al
  jne    L138
  addq   $0x1,-0x28(%rbp)
  jmp    L138
L124:
  mov    -0x20(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x20(%rbp)
  movb   $0x26,(%rax)
  mov    -0x8(%rbp),%rax
  mov    %rax,-0x28(%rbp)
  jmp    L138
L153:
  mov    -0x28(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  mov    %eax,%edi
  call   <isalpha@plt>
  test   %rax,%rax
  je     L266
  mov    -0x28(%rbp),%rax
  mov    %rax,-0x10(%rbp)
  jmp    L205
L44:
  addq   $0x1,-0x28(%rbp)
L205:
  mov    -0x28(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  mov    %eax,%edi
  call   <isalnum@plt>
  test   %rax,%rax
  jne    L44
  mov    -0x28(%rbp),%rdx
  mov    -0x10(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <find_html_entity@plt>
  mov    %eax,-0x30(%rbp)
  cmpl   $0x0,-0x30(%rbp)
  js     L243
  mov    -0x30(%rbp),%edx
  mov    -0x20(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  call   <ucs4_to_utf8_char@plt>
  mov    %rax,-0x20(%rbp)
  mov    -0x28(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x3b,%al
  jne    L138
  addq   $0x1,-0x28(%rbp)
  jmp    L138
L243:
  mov    -0x20(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x20(%rbp)
  movb   $0x26,(%rax)
  mov    -0x10(%rbp),%rax
  mov    %rax,-0x28(%rbp)
  jmp    L138
L266:
  mov    -0x20(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x20(%rbp)
  movb   $0x26,(%rax)
  nop
L138:
  mov    -0x28(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  je     L233
  mov    -0x28(%rbp),%rax
  cmp    -0x58(%rbp),%rax
  jne    L167
L233:
  mov    -0x20(%rbp),%rax
  movb   $0x0,(%rax)
  nop
  leave
  ret
```

assistant: ```c
void parse_html_decode(unsigned char *buf, const unsigned char *start, const unsigned char *end) {
  const unsigned char *p = start;
  unsigned char *out = buf;
  while (*p && p != end) {
    if (*p != '&') {
      *out++ = *p++;
      continue;
    }
    ++p;
    if (!*p || p == end) {
      *out++ = '&';
      continue;
    }
    if (*p == '#' && p[1] == 'x') {
      const unsigned char *q = p;
      p += 2;
      while (isxdigit(*p))
        ++p;
      int e = convert_html_entity(q + 2, p, 16);
      if (e >= 0) {
        out = ucs4_to_utf8_char(out, e);
        if (*p == ';')
          ++p;
      } else {
        *out++ = '&';
        p = q;
      }
    } else if (*p == '#') {
      const unsigned char *q = p;
      ++p;
      while (isdigit(*p))
        ++p;
      int e = convert_html_entity(q + 1, p, 10);
      if (e >= 0) {
        out = ucs4_to_utf8_char(out, e);
        if (*p == ';')
          ++p;
      } else {
        *out++ = '&';
        p = q;
      }
    } else if (isalpha(*p)) {
      const unsigned char *q = p;
      while (isalnum(*p))
        ++p;
      int e = find_html_entity(q, p);
      if (e >= 0) {
        out = ucs4_to_utf8_char(out, e);
        if (*p == ';')
          ++p;
      } else {
        *out++ = '&';
        p = q;
      }
    } else {
      *out++ = '&';
      continue;
    }
  }
  *out = 0;
}
```