user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<unhexlify>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %rdi,-0x18(%rbp)
  mov    %rsi,-0x20(%rbp)
  mov    %rdx,-0x28(%rbp)
  movq   $0x0,-0x8(%rbp)
  jmp    L37
L201:
  mov    -0x8(%rbp),%rax
  lea    (%rax,%rax,1),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  mov    %al,-0x9(%rbp)
  cmpb   $0x2f,-0x9(%rbp)
  jle    L4
  cmpb   $0x39,-0x9(%rbp)
  jg     L4
  movsbl -0x9(%rbp),%eax
  sub    $0x30,%eax
  shl    $0x4,%eax
  mov    %eax,%ecx
  mov    -0x20(%rbp),%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  mov    %ecx,%edx
  mov    %dl,(%rax)
  jmp    L6
L4:
  cmpb   $0x60,-0x9(%rbp)
  jle    L194
  cmpb   $0x66,-0x9(%rbp)
  jg     L194
  movsbl -0x9(%rbp),%eax
  sub    $0x57,%eax
  shl    $0x4,%eax
  mov    %eax,%ecx
  mov    -0x20(%rbp),%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  mov    %ecx,%edx
  mov    %dl,(%rax)
  jmp    L6
L194:
  cmpb   $0x40,-0x9(%rbp)
  jle    L180
  cmpb   $0x46,-0x9(%rbp)
  jg     L180
  movsbl -0x9(%rbp),%eax
  sub    $0x37,%eax
  shl    $0x4,%eax
  mov    %eax,%ecx
  mov    -0x20(%rbp),%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  mov    %ecx,%edx
  mov    %dl,(%rax)
  jmp    L6
L180:
  mov    $0x0,%eax
  jmp    L62
L6:
  mov    -0x8(%rbp),%rax
  add    %rax,%rax
  lea    0x1(%rax),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  mov    %al,-0x9(%rbp)
  cmpb   $0x2f,-0x9(%rbp)
  jle    L22
  cmpb   $0x39,-0x9(%rbp)
  jg     L22
  mov    -0x20(%rbp),%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  mov    %eax,%edx
  movzbl -0x9(%rbp),%eax
  add    %edx,%eax
  lea    -0x30(%rax),%ecx
  mov    -0x20(%rbp),%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  mov    %ecx,%edx
  mov    %dl,(%rax)
  jmp    L182
L22:
  cmpb   $0x60,-0x9(%rbp)
  jle    L151
  cmpb   $0x66,-0x9(%rbp)
  jg     L151
  mov    -0x20(%rbp),%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  mov    %eax,%edx
  movzbl -0x9(%rbp),%eax
  add    %edx,%eax
  lea    -0x57(%rax),%ecx
  mov    -0x20(%rbp),%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  mov    %ecx,%edx
  mov    %dl,(%rax)
  jmp    L182
L151:
  cmpb   $0x40,-0x9(%rbp)
  jle    L187
  cmpb   $0x46,-0x9(%rbp)
  jg     L187
  mov    -0x20(%rbp),%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  mov    %eax,%edx
  movzbl -0x9(%rbp),%eax
  add    %edx,%eax
  lea    -0x37(%rax),%ecx
  mov    -0x20(%rbp),%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  mov    %ecx,%edx
  mov    %dl,(%rax)
  jmp    L182
L187:
  mov    $0x0,%eax
  jmp    L62
L182:
  addq   $0x1,-0x8(%rbp)
L37:
  mov    -0x28(%rbp),%rax
  shr    %rax
  cmp    %rax,-0x8(%rbp)
  jb     L201
  mov    $0x1,%eax
L62:
  pop    %rbp
  ret
```

assistant: ```c
bool unhexlify(uint8_t *hex, uint8_t *bin, size_t len) {
  size_t i;
  uint8_t c;
  for (i = 0; i < len / 2; i++) {
    c = hex[2 * i];
    if (c >= '0' && c <= '9') {
      bin[i] = (c - '0') << 4;
    } else if (c >= 'a' && c <= 'f') {
      bin[i] = (c - 'a' + 10) << 4;
    } else if (c >= 'A' && c <= 'F') {
      bin[i] = (c - 'A' + 10) << 4;
    } else {
      return false;
    }
    c = hex[2 * i + 1];
    if (c >= '0' && c <= '9') {
      bin[i] += c - '0';
    } else if (c >= 'a' && c <= 'f') {
      bin[i] += c - 'a' + 10;
    } else if (c >= 'A' && c <= 'F') {
      bin[i] += c - 'A' + 10;
    } else {
      return false;
    }
  }
  return true;
}
```