user: Translate the below assembly code into C programming language:

```asm
<stb_hash_fast>:
  endbr64
  mov    %rdi,%rax
  test   %esi,%esi
  jle    L62
  test   %rdi,%rdi
  je     L62
  mov    %esi,%edx
  test   $0x1,%al
  jne    L134
  cmp    $0x3,%esi
  jle    L0
  lea    -0x4(%rsi),%esi
  mov    %esi,%r8d
  shr    $0x2,%r8d
  lea    0x1(%r8),%ecx
  lea    (%rdi,%rcx,4),%rdi
  nopl   (%rax)
L20:
  movzbl 0x1(%rax),%ecx
  movzbl (%rax),%r9d
  add    $0x4,%rax
  movzbl -0x2(%rax),%r10d
  shl    $0x8,%ecx
  add    %r9d,%ecx
  add    %edx,%ecx
  movzbl -0x1(%rax),%edx
  mov    %ecx,%r9d
  shl    $0x8,%edx
  shl    $0x10,%r9d
  add    %r10d,%edx
  shl    $0xb,%edx
  xor    %ecx,%edx
  mov    %r9d,%ecx
  xor    %edx,%ecx
  mov    %ecx,%edx
  shr    $0xb,%edx
  add    %ecx,%edx
  cmp    %rdi,%rax
  jne    L20
L144:
  neg    %r8d
  lea    (%rsi,%r8,4),%esi
L11:
  cmp    $0x2,%esi
  je     L103
  cmp    $0x3,%esi
  je     L36
  cmp    $0x1,%esi
  je     L27
L78:
  lea    0x0(,%rdx,8),%eax
  xor    %eax,%edx
  mov    %edx,%eax
  shr    $0x5,%eax
  add    %edx,%eax
  mov    %eax,%edx
  shl    $0x4,%edx
  xor    %eax,%edx
  mov    %edx,%eax
  shr    $0x11,%eax
  add    %edx,%eax
  mov    %eax,%edx
  shl    $0x19,%edx
  xor    %eax,%edx
  mov    %edx,%eax
  shr    $0x6,%eax
  add    %edx,%eax
  ret
  nop
L134:
  cmp    $0x3,%esi
  jle    L0
  lea    -0x4(%rsi),%esi
  mov    %esi,%r8d
  shr    $0x2,%r8d
  lea    0x1(%r8),%ecx
  lea    (%rdi,%rcx,4),%rdi
  nopl   0x0(%rax,%rax,1)
L92:
  movzbl 0x1(%rax),%ecx
  movzbl (%rax),%r9d
  add    $0x4,%rax
  movzbl -0x2(%rax),%r10d
  shl    $0x8,%ecx
  add    %r9d,%ecx
  add    %edx,%ecx
  movzbl -0x1(%rax),%edx
  mov    %ecx,%r9d
  shl    $0x8,%edx
  shl    $0x10,%r9d
  add    %r10d,%edx
  shl    $0xb,%edx
  xor    %ecx,%edx
  mov    %r9d,%ecx
  xor    %edx,%ecx
  mov    %ecx,%edx
  shr    $0xb,%edx
  add    %ecx,%edx
  cmp    %rdi,%rax
  jne    L92
  jmp    L144
  nopl   (%rax)
L62:
  xor    %eax,%eax
  ret
  nopl   0x0(%rax,%rax,1)
L103:
  movzbl 0x1(%rdi),%eax
  movzbl (%rdi),%ecx
  shl    $0x8,%eax
  add    %ecx,%eax
  add    %edx,%eax
  mov    %eax,%edx
  shl    $0xb,%edx
  xor    %edx,%eax
  mov    %eax,%edx
  shr    $0x11,%edx
  add    %eax,%edx
  jmp    L78
  nopl   0x0(%rax)
L36:
  movzbl 0x1(%rdi),%eax
  movzbl (%rdi),%ecx
  shl    $0x8,%eax
  add    %ecx,%eax
  add    %edx,%eax
  movzbl 0x2(%rdi),%edx
  mov    %eax,%ecx
  shl    $0x12,%edx
  shl    $0x10,%ecx
  xor    %edx,%eax
  xor    %ecx,%eax
  mov    %eax,%edx
  shr    $0xb,%edx
  add    %eax,%edx
  jmp    L78
  nopw   0x0(%rax,%rax,1)
L27:
  movzbl (%rdi),%eax
  add    %eax,%edx
  mov    %edx,%eax
  shl    $0xa,%eax
  xor    %edx,%eax
  mov    %eax,%edx
  shr    %edx
  add    %eax,%edx
  jmp    L78
  nop
L0:
  mov    %rax,%rdi
  jmp    L11
```

assistant: ```c
unsigned int stb_hash_fast(void *p, int len) {
  unsigned char *q = (unsigned char *)p;
  unsigned int hash = len;
  if (len <= 0 || q == NULL)
    return 0;
  if (((int)q & 1) == 0) {
    for (; len > 3; len -= 4) {
      unsigned int val;
      hash += ((q)[0] + ((q)[1] << 8));
      val = (((q + 2)[0] + ((q + 2)[1] << 8)) << 11);
      hash = (hash << 16) ^ hash ^ val;
      q += 4;
      hash += hash >> 11;
    }
  } else {
    for (; len > 3; len -= 4) {
      unsigned int val;
      hash += ((q)[0] + ((q)[1] << 8));
      val = (((q + 2)[0] + ((q + 2)[1] << 8)) << 11);
      hash = (hash << 16) ^ hash ^ val;
      q += 4;
      hash += hash >> 11;
    }
  }
  switch (len) {
  case 3:
    hash += ((q)[0] + ((q)[1] << 8));
    hash ^= hash << 16;
    hash ^= q[2] << 18;
    hash += hash >> 11;
    break;
  case 2:
    hash += ((q)[0] + ((q)[1] << 8));
    hash ^= hash << 11;
    hash += hash >> 17;
    break;
  case 1:
    hash += q[0];
    hash ^= hash << 10;
    hash += hash >> 1;
    break;
  case 0:
    break;
  }
  hash ^= hash << 3;
  hash += hash >> 5;
  hash ^= hash << 4;
  hash += hash >> 17;
  hash ^= hash << 25;
  hash += hash >> 6;
  return hash;
}
```