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

```asm
<parse_values_array_hex>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  mov    %rdi,-0x18(%rbp)
  mov    %esi,-0x1c(%rbp)
  mov    %rdx,-0x28(%rbp)
  mov    %rcx,-0x30(%rbp)
  movl   $0xffffffff,-0xc(%rbp)
  mov    -0x30(%rbp),%rax
  movl   $0x0,(%rax)
  movl   $0x0,-0x8(%rbp)
  jmp    L166
L154:
  mov    -0x8(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,-0x4(%rbp)
  cmpl   $0x2,-0x4(%rbp)
  jle    L0
  cmpl   $0x4,-0x4(%rbp)
  jg     L216
  mov    -0x8(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  cmp    $0x78,%al
  jne    L216
L0:
  mov    -0x30(%rbp),%rax
  mov    (%rax),%eax
  mov    %eax,%eax
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rax,%rdx
  mov    -0x8(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <parse_uint8_hex@plt>
  test   %rax,%rax
  js     L138
  mov    -0x30(%rbp),%rax
  mov    (%rax),%eax
  lea    0x1(%rax),%edx
  mov    -0x30(%rbp),%rax
  mov    %edx,(%rax)
  jmp    L177
L216:
  cmpl   $0x4,-0x4(%rbp)
  jle    L158
  cmpl   $0x8,-0x4(%rbp)
  jg     L189
  mov    -0x8(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  cmp    $0x78,%al
  jne    L189
L158:
  mov    -0x30(%rbp),%rax
  mov    (%rax),%eax
  mov    %eax,%eax
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rax,%rdx
  mov    -0x8(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <parse_uint16_hex@plt>
  test   %rax,%rax
  jne    L50
  mov    -0x30(%rbp),%rax
  mov    (%rax),%eax
  lea    0x2(%rax),%edx
  mov    -0x30(%rbp),%rax
  mov    %edx,(%rax)
  jmp    L177
L189:
  cmpl   $0x8,-0x4(%rbp)
  jle    L68
  cmpl   $0x10,-0x4(%rbp)
  jg     L15
  mov    -0x8(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  cmp    $0x78,%al
  jne    L15
L68:
  mov    -0x30(%rbp),%rax
  mov    (%rax),%eax
  mov    %eax,%eax
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rax,%rdx
  mov    -0x8(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <parse_uint32_hex@plt>
  test   %rax,%rax
  jne    L156
  mov    -0x30(%rbp),%rax
  mov    (%rax),%eax
  lea    0x4(%rax),%edx
  mov    -0x30(%rbp),%rax
  mov    %edx,(%rax)
  jmp    L177
L15:
  mov    -0x30(%rbp),%rax
  mov    (%rax),%eax
  mov    %eax,%eax
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rax,%rdx
  mov    -0x8(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <parse_uint64_hex@plt>
  test   %rax,%rax
  jne    L13
  mov    -0x30(%rbp),%rax
  mov    (%rax),%eax
  lea    0x8(%rax),%edx
  mov    -0x30(%rbp),%rax
  mov    %edx,(%rax)
L177:
  addl   $0x1,-0x8(%rbp)
L166:
  mov    -0x8(%rbp),%eax
  cmp    -0x1c(%rbp),%eax
  jl     L154
  movl   $0x0,-0xc(%rbp)
  jmp    L105
L138:
  nop
  jmp    L105
L50:
  nop
  jmp    L105
L156:
  nop
  jmp    L105
L13:
  nop
L105:
  mov    -0xc(%rbp),%eax
  leave
  ret
```

assistant: ```c
int parse_values_array_hex(char **strings, int len, uint8_t *data, unsigned int *len_data) {
  int rc = -1;
  int i, len_string;
  for (*len_data = 0, i = 0; i < len; ++i) {
    len_string = strlen(strings[i]);
    if (len_string <= 2 || (len_string <= 4 && strings[i][1] == 'x')) {
      if (parse_uint8_hex(strings[i], data + *len_data) < 0) {
        goto cleanup;
      }
      *len_data += 1;
    } else if (len_string <= 4 || (len_string <= 8 && strings[i][1] == 'x')) {
      if (parse_uint16_hex(strings[i], (uint16_t *)(data + *len_data))) {
        goto cleanup;
      }
      *len_data += 2;
    } else if (len_string <= 8 || (len_string <= 16 && strings[i][1] == 'x')) {
      if (parse_uint32_hex(strings[i], (uint32_t *)(data + *len_data))) {
        goto cleanup;
      }
      *len_data += 4;
    } else {
      if (parse_uint64_hex(strings[i], (uint64_t *)(data + *len_data))) {
        goto cleanup;
      }
      *len_data += 8;
    }
  }
  rc = 0;
cleanup:
  return rc;
}
```