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

```asm
<hashString>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %rdi,-0x28(%rbp)
  movq   $0x32,-0x10(%rbp)
  movq   $0x0,-0x8(%rbp)
  movq   $0x0,-0x18(%rbp)
  jmp    L30
L21:
  mov    -0x10(%rbp),%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  sub    %rdx,%rax
  mov    %rax,%rsi
  mov    -0x18(%rbp),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  lea    -0x41(%rax),%edx
  mov    -0x18(%rbp),%rax
  mov    %eax,%ecx
  mov    -0x18(%rbp),%rax
  imul   %ecx,%eax
  mov    %eax,%ecx
  shl    %cl,%edx
  mov    %edx,%eax
  cltq
  xor    %rax,%rsi
  mov    %rsi,%rdx
  movabs $0x2c3ce1ec00,%rax
  lea    (%rdx,%rax,1),%rcx
  movabs $0xd79435e50d79436,%rdx
  mov    %rcx,%rax
  imul   %rdx
  mov    %rcx,%rsi
  sar    $0x3f,%rsi
  mov    %rdx,%rax
  sub    %rsi,%rax
  mov    %rax,-0x10(%rbp)
  mov    -0x10(%rbp),%rdx
  mov    %rdx,%rax
  shl    $0x3,%rax
  add    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  sub    %rax,%rcx
  mov    %rcx,%rdx
  mov    %rdx,-0x10(%rbp)
  mov    -0x8(%rbp),%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  sub    %rdx,%rax
  mov    %rax,%rcx
  movabs $0x438558d400,%rax
  add    %rax,%rcx
  mov    -0x18(%rbp),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  sub    $0x41,%eax
  cltq
  imul   -0x18(%rbp),%rax
  add    %rax,%rcx
  movabs $0x469ee58469ee5847,%rdx
  mov    %rcx,%rax
  imul   %rdx
  mov    %rdx,%rax
  sar    $0x3,%rax
  mov    %rcx,%rdx
  sar    $0x3f,%rdx
  sub    %rdx,%rax
  mov    %rax,-0x8(%rbp)
  mov    -0x8(%rbp),%rdx
  mov    %rdx,%rax
  shl    $0x3,%rax
  sub    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  sub    %rax,%rcx
  mov    %rcx,%rdx
  mov    %rdx,-0x8(%rbp)
  addq   $0x1,-0x18(%rbp)
L30:
  mov    -0x18(%rbp),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  test   %al,%al
  jne    L21
  mov    -0x8(%rbp),%rax
  lea    0x0(,%rax,8),%rdx
  lea    D13(%rip),%rax
  mov    (%rdx,%rax,1),%rax
  cmp    %rax,-0x8(%rbp)
  je     L3
  mov    -0x8(%rbp),%rax
  lea    0x0(,%rax,8),%rdx
  lea    D13(%rip),%rax
  mov    (%rdx,%rax,1),%rax
  movabs $0x2e90edd000,%rdx
  lea    (%rax,%rdx,1),%rcx
  movabs $0x6666666666666667,%rdx
  mov    %rcx,%rax
  imul   %rdx
  mov    %rdx,%rax
  sar    $0x3,%rax
  mov    %rcx,%rsi
  sar    $0x3f,%rsi
  sub    %rsi,%rax
  mov    %rax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  sub    %rax,%rcx
  mov    %rcx,%rdx
  mov    %edx,%eax
  jmp    L1
L3:
  movabs $0x2e90edd000,%rdx
  mov    -0x10(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  movabs $0x6666666666666667,%rdx
  mov    %rcx,%rax
  imul   %rdx
  mov    %rdx,%rax
  sar    $0x3,%rax
  mov    %rcx,%rsi
  sar    $0x3f,%rsi
  sub    %rsi,%rax
  mov    %rax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  sub    %rax,%rcx
  mov    %rcx,%rdx
  mov    %edx,%eax
L1:
  pop    %rbp
  ret
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D13
type_guessed: string

tool: 

assistant: ```c
int hashString(char *str) {
  static const long long precalculated_table[31] = {0, 4, 2, 16, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 19, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30};
  long long i, ret = 50, sub = 0;
  for (i = 0; str[i] != 0; i++) {
    ret = (190000000000LL + ((ret * 23) ^ ((str[i] - 'A') << i * i))) % 19;
    sub = (290000000000LL + sub * 23 + (str[i] - 'A') * i) % 29;
  }
  return (int)((200000000000LL + (sub != precalculated_table[sub] ? precalculated_table[sub] : ret)) % 20LL);
}
```