user: 这段汇编代码用C语言表示是什么样的？

```asm
<parse_html_decode>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %rdi,%rbp
  movzbl (%rsi),%eax
  cmp    %rdx,%rsi
  je     L237
  mov    %rsi,%rbx
  mov    %rdx,%r12
  test   %al,%al
  jne    L62
L237:
  movb   $0x0,0x0(%rbp)
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
L156:
  add    $0x1,%rbx
  mov    %al,0x0(%rbp)
  lea    0x1(%rbp),%rbp
L48:
  movzbl (%rbx),%eax
  cmp    %r12,%rbx
  je     L237
  test   %al,%al
  je     L237
L62:
  cmp    $0x26,%al
  jne    L156
  lea    0x1(%rbx),%r13
  movzbl 0x1(%rbx),%edi
  cmp    %r13,%r12
  je     L30
  test   %dil,%dil
  je     L30
  cmp    $0x23,%dil
  je     L0
  movzbl %dil,%edi
  call   <isalpha@plt>
  test   %rax,%rax
  jne    L10
  movb   $0x26,0x0(%rbp)
  lea    0x1(%rbp),%rbp
  mov    %r13,%rbx
  jmp    L48
L30:
  movb   $0x26,0x0(%rbp)
  lea    0x1(%rbp),%rbp
  mov    %r13,%rbx
  jmp    L48
L0:
  cmpb   $0x78,0x2(%rbx)
  je     L235
  lea    0x2(%rbx),%r14
  mov    %r14,%rbx
  jmp    L111
L235:
  lea    0x3(%rbx),%r14
  mov    %r14,%rbx
  jmp    L96
L267:
  add    $0x1,%rbx
L96:
  movzbl (%rbx),%edi
  call   <isxdigit@plt>
  test   %rax,%rax
  jne    L267
  mov    $0x10,%edx
  mov    %rbx,%rsi
  mov    %r14,%rdi
  call   <convert_html_entity@plt>
  test   %eax,%eax
  jns    L113
  movb   $0x26,0x0(%rbp)
  lea    0x1(%rbp),%rbp
  mov    %r13,%rbx
  jmp    L48
L113:
  mov    %eax,%esi
  mov    %rbp,%rdi
  call   <ucs4_to_utf8_char@plt>
  mov    %rax,%rbp
  cmpb   $0x3b,(%rbx)
  sete   %al
  movzbl %al,%eax
  add    %rax,%rbx
  jmp    L48
L112:
  add    $0x1,%rbx
L111:
  movzbl (%rbx),%edi
  call   <isdigit@plt>
  test   %rax,%rax
  jne    L112
  mov    $0xa,%edx
  mov    %rbx,%rsi
  mov    %r14,%rdi
  call   <convert_html_entity@plt>
  test   %eax,%eax
  jns    L124
  movb   $0x26,0x0(%rbp)
  lea    0x1(%rbp),%rbp
  mov    %r13,%rbx
  jmp    L48
L124:
  mov    %eax,%esi
  mov    %rbp,%rdi
  call   <ucs4_to_utf8_char@plt>
  mov    %rax,%rbp
  cmpb   $0x3b,(%rbx)
  sete   %al
  movzbl %al,%eax
  add    %rax,%rbx
  jmp    L48
L258:
  add    $0x1,%rbx
L215:
  movzbl (%rbx),%edi
  call   <isalnum@plt>
  test   %rax,%rax
  jne    L258
  mov    %rbx,%rsi
  mov    %r13,%rdi
  call   <find_html_entity@plt>
  test   %eax,%eax
  jns    L247
  movb   $0x26,0x0(%rbp)
  lea    0x1(%rbp),%rbp
  mov    %r13,%rbx
  jmp    L48
L10:
  mov    %r13,%rbx
  jmp    L215
L247:
  mov    %eax,%esi
  mov    %rbp,%rdi
  call   <ucs4_to_utf8_char@plt>
  mov    %rax,%rbp
  cmpb   $0x3b,(%rbx)
  sete   %al
  movzbl %al,%eax
  add    %rax,%rbx
  jmp    L48
```

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;
}
```