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

```asm
<SuperFastHash>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %rdi,-0x18(%rbp)
  mov    %esi,-0x1c(%rbp)
  mov    -0x1c(%rbp),%eax
  mov    %eax,-0xc(%rbp)
  cmpl   $0x0,-0x1c(%rbp)
  jle    L109
  cmpq   $0x0,-0x18(%rbp)
  jne    L84
L109:
  mov    $0x0,%eax
  jmp    L96
L84:
  mov    -0x1c(%rbp),%eax
  and    $0x3,%eax
  mov    %eax,-0x8(%rbp)
  sarl   $0x2,-0x1c(%rbp)
  jmp    L97
L21:
  mov    -0x18(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%rax
  shl    $0x8,%eax
  mov    %eax,%edx
  mov    -0x18(%rbp),%rax
  mov    (%rax),%rax
  add    %edx,%eax
  add    %eax,-0xc(%rbp)
  mov    -0x18(%rbp),%rax
  add    $0xa,%rax
  mov    (%rax),%rax
  shl    $0x8,%eax
  mov    %eax,%edx
  mov    -0x18(%rbp),%rax
  add    $0x2,%rax
  mov    (%rax),%rax
  add    %edx,%eax
  shl    $0xb,%eax
  xor    -0xc(%rbp),%eax
  mov    %eax,-0x4(%rbp)
  mov    -0xc(%rbp),%eax
  shl    $0x10,%eax
  xor    -0x4(%rbp),%eax
  mov    %eax,-0xc(%rbp)
  addq   $0x8,-0x18(%rbp)
  mov    -0xc(%rbp),%eax
  sar    $0xb,%eax
  add    %eax,-0xc(%rbp)
  subl   $0x1,-0x1c(%rbp)
L97:
  cmpl   $0x0,-0x1c(%rbp)
  jg     L21
  cmpl   $0x3,-0x8(%rbp)
  je     L101
  cmpl   $0x3,-0x8(%rbp)
  jg     L61
  cmpl   $0x1,-0x8(%rbp)
  je     L13
  cmpl   $0x2,-0x8(%rbp)
  je     L7
  jmp    L61
L101:
  mov    -0x18(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%rax
  shl    $0x8,%eax
  mov    %eax,%edx
  mov    -0x18(%rbp),%rax
  mov    (%rax),%rax
  add    %edx,%eax
  add    %eax,-0xc(%rbp)
  mov    -0xc(%rbp),%eax
  shl    $0x10,%eax
  xor    %eax,-0xc(%rbp)
  mov    -0x18(%rbp),%rax
  add    $0x4,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  shl    $0x12,%eax
  xor    %eax,-0xc(%rbp)
  mov    -0xc(%rbp),%eax
  sar    $0xb,%eax
  add    %eax,-0xc(%rbp)
  jmp    L61
L7:
  mov    -0x18(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%rax
  shl    $0x8,%eax
  mov    %eax,%edx
  mov    -0x18(%rbp),%rax
  mov    (%rax),%rax
  add    %edx,%eax
  add    %eax,-0xc(%rbp)
  mov    -0xc(%rbp),%eax
  shl    $0xb,%eax
  xor    %eax,-0xc(%rbp)
  mov    -0xc(%rbp),%eax
  sar    $0x11,%eax
  add    %eax,-0xc(%rbp)
  jmp    L61
L13:
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  add    %eax,-0xc(%rbp)
  mov    -0xc(%rbp),%eax
  shl    $0xa,%eax
  xor    %eax,-0xc(%rbp)
  mov    -0xc(%rbp),%eax
  sar    %eax
  add    %eax,-0xc(%rbp)
L61:
  mov    -0xc(%rbp),%eax
  shl    $0x3,%eax
  xor    %eax,-0xc(%rbp)
  mov    -0xc(%rbp),%eax
  sar    $0x5,%eax
  add    %eax,-0xc(%rbp)
  mov    -0xc(%rbp),%eax
  shl    $0x4,%eax
  xor    %eax,-0xc(%rbp)
  mov    -0xc(%rbp),%eax
  sar    $0x11,%eax
  add    %eax,-0xc(%rbp)
  mov    -0xc(%rbp),%eax
  shl    $0x19,%eax
  xor    %eax,-0xc(%rbp)
  mov    -0xc(%rbp),%eax
  sar    $0x6,%eax
  add    %eax,-0xc(%rbp)
  mov    -0xc(%rbp),%eax
L96:
  pop    %rbp
  ret
```

assistant: ```c
uint32_t SuperFastHash(const char *data, int len) {
  uint32_t hash = len, tmp;
  int rem;
  if (len <= 0 || data == NULL)
    return 0;
  rem = len & 3;
  len >>= 2;
  for (; len > 0; len--) {
    hash += ((((uint32_t)(((const uint8_t *)(data))[1])) << 8) + (uint32_t)(((const uint8_t *)(data))[0]));
    tmp = (((((uint32_t)(((const uint8_t *)(data + 2))[1])) << 8) + (uint32_t)(((const uint8_t *)(data + 2))[0])) << 11) ^ hash;
    hash = (hash << 16) ^ tmp;
    data += 2 * sizeof(uint16_t);
    hash += hash >> 11;
  }
  switch (rem) {
  case 3:
    hash += ((((uint32_t)(((const uint8_t *)(data))[1])) << 8) + (uint32_t)(((const uint8_t *)(data))[0]));
    hash ^= hash << 16;
    hash ^= data[sizeof(uint16_t)] << 18;
    hash += hash >> 11;
    break;
  case 2:
    hash += ((((uint32_t)(((const uint8_t *)(data))[1])) << 8) + (uint32_t)(((const uint8_t *)(data))[0]));
    hash ^= hash << 11;
    hash += hash >> 17;
    break;
  case 1:
    hash += *data;
    hash ^= hash << 10;
    hash += hash >> 1;
  }
  hash ^= hash << 3;
  hash += hash >> 5;
  hash ^= hash << 4;
  hash += hash >> 17;
  hash ^= hash << 25;
  hash += hash >> 6;
  return hash;
}
```