user: 请将这段汇编代码片段转换成等效的C代码:

```asm
<jhash>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %rdi,%r12
  mov    %esi,%r13d
  lea    -0x21524111(%rsi,%rdx,1),%ebx
  cmp    $0xc,%esi
  jle    L5
  mov    %ebx,%r14d
  mov    %ebx,%ebp
L23:
  mov    %r12,%rdi
  call   <__get_unaligned_cpu32@plt>
  add    %eax,%ebx
  lea    0x10(%r12),%rdi
  call   <__get_unaligned_cpu32@plt>
  add    %eax,%ebp
  lea    0x20(%r12),%rdi
  call   <__get_unaligned_cpu32@plt>
  add    %eax,%r14d
  sub    %r14d,%ebx
  mov    $0x4,%esi
  mov    %r14d,%edi
  call   <rol32@plt>
  xor    %eax,%ebx
  add    %ebp,%r14d
  sub    %ebx,%ebp
  mov    $0x6,%esi
  mov    %ebx,%edi
  call   <rol32@plt>
  xor    %eax,%ebp
  add    %r14d,%ebx
  sub    %ebp,%r14d
  mov    $0x8,%esi
  mov    %ebp,%edi
  call   <rol32@plt>
  xor    %eax,%r14d
  add    %ebx,%ebp
  sub    %r14d,%ebx
  mov    $0x10,%esi
  mov    %r14d,%edi
  call   <rol32@plt>
  xor    %eax,%ebx
  add    %ebp,%r14d
  sub    %ebx,%ebp
  mov    $0x13,%esi
  mov    %ebx,%edi
  call   <rol32@plt>
  xor    %eax,%ebp
  add    %r14d,%ebx
  sub    %ebp,%r14d
  mov    $0x4,%esi
  mov    %ebp,%edi
  call   <rol32@plt>
  xor    %eax,%r14d
  add    %ebx,%ebp
  sub    $0xc,%r13d
  add    $0x30,%r12
  cmp    $0xc,%r13d
  jg     L23
L28:
  cmp    $0xc,%r13d
  ja     L12
  mov    %r13d,%r13d
  lea    D1(%rip),%rdx
  movslq (%rdx,%r13,4),%rax
  add    %rdx,%rax
  notrack jmp *%rax
L5:
  mov    %ebx,%r14d
  mov    %ebx,%ebp
  jmp    L28
  mov    0x2c(%r12),%eax
  shl    $0x18,%eax
  add    %eax,%r14d
  mov    0x28(%r12),%eax
  shl    $0x10,%eax
  add    %eax,%r14d
  mov    0x24(%r12),%eax
  shl    $0x8,%eax
  add    %eax,%r14d
  add    0x20(%r12),%r14d
  mov    0x1c(%r12),%eax
  shl    $0x18,%eax
  add    %eax,%ebp
  mov    0x18(%r12),%eax
  shl    $0x10,%eax
  add    %eax,%ebp
  mov    0x14(%r12),%eax
  shl    $0x8,%eax
  add    %eax,%ebp
  add    0x10(%r12),%ebp
  mov    0xc(%r12),%eax
  shl    $0x18,%eax
  add    %eax,%ebx
  mov    0x8(%r12),%eax
  shl    $0x10,%eax
  add    %eax,%ebx
  mov    0x4(%r12),%eax
  shl    $0x8,%eax
  add    %eax,%ebx
  add    (%r12),%ebx
  xor    %ebp,%r14d
  mov    $0xe,%esi
  mov    %ebp,%edi
  call   <rol32@plt>
  sub    %eax,%r14d
  xor    %r14d,%ebx
  mov    $0xb,%esi
  mov    %r14d,%edi
  call   <rol32@plt>
  sub    %eax,%ebx
  xor    %ebx,%ebp
  mov    $0x19,%esi
  mov    %ebx,%edi
  call   <rol32@plt>
  sub    %eax,%ebp
  xor    %ebp,%r14d
  mov    $0x10,%esi
  mov    %ebp,%edi
  call   <rol32@plt>
  sub    %eax,%r14d
  xor    %r14d,%ebx
  mov    $0x4,%esi
  mov    %r14d,%edi
  call   <rol32@plt>
  mov    %ebx,%edi
  sub    %eax,%edi
  xor    %edi,%ebp
  mov    $0xe,%esi
  call   <rol32@plt>
  mov    %ebp,%edi
  sub    %eax,%edi
  xor    %edi,%r14d
  mov    $0x18,%esi
  call   <rol32@plt>
  sub    %eax,%r14d
L12:
  mov    %r14d,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
```

assistant: ```c
uint32_t jhash(const void *key, uint32_t length, uint32_t initval) {
  uint32_t a, b, c;
  const uint8_t *k = key;
  a = b = c = 0xdeadbeef + length + initval;
  while (length > 12) {
    a += __get_unaligned_cpu32(k);
    b += __get_unaligned_cpu32(k + 4);
    c += __get_unaligned_cpu32(k + 8);
    {
      a -= c;
      a ^= rol32(c, 4);
      c += b;
      b -= a;
      b ^= rol32(a, 6);
      a += c;
      c -= b;
      c ^= rol32(b, 8);
      b += a;
      a -= c;
      a ^= rol32(c, 16);
      c += b;
      b -= a;
      b ^= rol32(a, 19);
      a += c;
      c -= b;
      c ^= rol32(b, 4);
      b += a;
    };
    length -= 12;
    k += 12;
  }
  switch (length) {
  case 12:
    c += (uint32_t)k[11] << 24;
  case 11:
    c += (uint32_t)k[10] << 16;
  case 10:
    c += (uint32_t)k[9] << 8;
  case 9:
    c += k[8];
  case 8:
    b += (uint32_t)k[7] << 24;
  case 7:
    b += (uint32_t)k[6] << 16;
  case 6:
    b += (uint32_t)k[5] << 8;
  case 5:
    b += k[4];
  case 4:
    a += (uint32_t)k[3] << 24;
  case 3:
    a += (uint32_t)k[2] << 16;
  case 2:
    a += (uint32_t)k[1] << 8;
  case 1:
    a += k[0];
    {
      c ^= b;
      c -= rol32(b, 14);
      a ^= c;
      a -= rol32(c, 11);
      b ^= a;
      b -= rol32(a, 25);
      c ^= b;
      c -= rol32(b, 16);
      a ^= c;
      a -= rol32(c, 4);
      b ^= a;
      b -= rol32(a, 14);
      c ^= b;
      c -= rol32(b, 24);
    };
  case 0:
    break;
  }
  return c;
}
```