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

```asm
<BOB1>:
  endbr64
  cmp    $0xb,%esi
  jbe    L20
  mov    $0x2,%ecx
  mov    $0x9e3779b9,%r9d
  mov    $0x9e3779b9,%r8d
L0:
  movzbl 0x5(%rdi),%edx
  shl    $0x8,%edx
  movzbl 0x6(%rdi),%eax
  shl    $0x10,%eax
  add    %eax,%edx
  movzbl 0x4(%rdi),%eax
  add    %eax,%edx
  movzbl 0x7(%rdi),%eax
  shl    $0x18,%eax
  add    %eax,%edx
  add    %r9d,%edx
  movzbl 0x9(%rdi),%eax
  shl    $0x8,%eax
  movzbl 0xa(%rdi),%r9d
  shl    $0x10,%r9d
  add    %r9d,%eax
  movzbl 0x8(%rdi),%r9d
  add    %r9d,%eax
  movzbl 0xb(%rdi),%r9d
  shl    $0x18,%r9d
  add    %r9d,%eax
  add    %ecx,%eax
  movzbl 0x1(%rdi),%ecx
  shl    $0x8,%ecx
  movzbl 0x2(%rdi),%r9d
  shl    $0x10,%r9d
  add    %r9d,%ecx
  movzbl (%rdi),%r9d
  add    %r9d,%ecx
  movzbl 0x3(%rdi),%r9d
  shl    $0x18,%r9d
  add    %r9d,%ecx
  sub    %edx,%ecx
  sub    %eax,%ecx
  add    %r8d,%ecx
  mov    %eax,%r8d
  shr    $0xd,%r8d
  xor    %r8d,%ecx
  sub    %eax,%edx
  sub    %ecx,%edx
  mov    %edx,%r8d
  mov    %ecx,%edx
  shl    $0x8,%edx
  xor    %r8d,%edx
  sub    %ecx,%eax
  sub    %edx,%eax
  mov    %eax,%r8d
  mov    %edx,%eax
  shr    $0xd,%eax
  xor    %r8d,%eax
  sub    %edx,%ecx
  sub    %eax,%ecx
  mov    %ecx,%r8d
  mov    %eax,%ecx
  shr    $0xc,%ecx
  xor    %r8d,%ecx
  sub    %eax,%edx
  sub    %ecx,%edx
  mov    %edx,%r8d
  mov    %ecx,%edx
  shl    $0x10,%edx
  xor    %r8d,%edx
  sub    %ecx,%eax
  sub    %edx,%eax
  mov    %eax,%r8d
  mov    %edx,%eax
  shr    $0x5,%eax
  xor    %r8d,%eax
  sub    %edx,%ecx
  sub    %eax,%ecx
  mov    %eax,%r8d
  shr    $0x3,%r8d
  xor    %ecx,%r8d
  sub    %eax,%edx
  sub    %r8d,%edx
  mov    %r8d,%r9d
  shl    $0xa,%r9d
  xor    %edx,%r9d
  sub    %r8d,%eax
  sub    %r9d,%eax
  mov    %r9d,%ecx
  shr    $0xf,%ecx
  xor    %eax,%ecx
  add    $0xc,%rdi
  sub    $0xc,%esi
  cmp    $0xb,%esi
  ja     L0
L25:
  add    %esi,%ecx
  cmp    $0xb,%esi
  ja     L2
  mov    %esi,%esi
  lea    D8(%rip),%rdx
  movslq (%rdx,%rsi,4),%rax
  add    %rdx,%rax
  notrack jmp *%rax
L20:
  mov    $0x2,%ecx
  mov    $0x9e3779b9,%r9d
  mov    $0x9e3779b9,%r8d
  jmp    L25
  movzbl 0xa(%rdi),%eax
  shl    $0x18,%eax
  add    %eax,%ecx
  movzbl 0x9(%rdi),%eax
  shl    $0x10,%eax
  add    %eax,%ecx
  movzbl 0x8(%rdi),%eax
  shl    $0x8,%eax
  add    %eax,%ecx
  movzbl 0x7(%rdi),%eax
  shl    $0x18,%eax
  add    %eax,%r9d
  movzbl 0x6(%rdi),%eax
  shl    $0x10,%eax
  add    %eax,%r9d
  movzbl 0x5(%rdi),%eax
  shl    $0x8,%eax
  add    %eax,%r9d
  movzbl 0x4(%rdi),%eax
  add    %eax,%r9d
  movzbl 0x3(%rdi),%eax
  shl    $0x18,%eax
  add    %eax,%r8d
  movzbl 0x2(%rdi),%eax
  shl    $0x10,%eax
  add    %eax,%r8d
  movzbl 0x1(%rdi),%eax
  shl    $0x8,%eax
  add    %eax,%r8d
  movzbl (%rdi),%eax
  add    %eax,%r8d
L2:
  lea    (%r9,%rcx,1),%eax
  sub    %eax,%r8d
  mov    %ecx,%edx
  shr    $0xd,%edx
  xor    %r8d,%edx
  sub    %ecx,%r9d
  sub    %edx,%r9d
  mov    %edx,%eax
  shl    $0x8,%eax
  xor    %r9d,%eax
  sub    %edx,%ecx
  mov    %ecx,%esi
  sub    %eax,%esi
  mov    %eax,%ecx
  shr    $0xd,%ecx
  xor    %esi,%ecx
  sub    %eax,%edx
  sub    %ecx,%edx
  mov    %ecx,%esi
  shr    $0xc,%esi
  xor    %edx,%esi
  sub    %ecx,%eax
  sub    %esi,%eax
  mov    %eax,%edx
  mov    %esi,%eax
  shl    $0x10,%eax
  xor    %edx,%eax
  sub    %esi,%ecx
  sub    %eax,%ecx
  mov    %eax,%edx
  shr    $0x5,%edx
  xor    %ecx,%edx
  sub    %eax,%esi
  sub    %edx,%esi
  mov    %edx,%ecx
  shr    $0x3,%ecx
  xor    %ecx,%esi
  sub    %edx,%eax
  sub    %esi,%eax
  mov    %esi,%ecx
  shl    $0xa,%ecx
  xor    %ecx,%eax
  sub    %esi,%edx
  sub    %eax,%edx
  shr    $0xf,%eax
  xor    %edx,%eax
  ret
```

assistant: ```c
unsigned int BOB1(const unsigned char *str, unsigned int len) {
  unsigned int a, b, c;
  unsigned int initval = 2;
  a = b = 0x9e3779b9;
  c = initval;
  while (len >= 12) {
    a += (str[0] + ((unsigned int)str[1] << 8) + ((unsigned int)str[2] << 16) + ((unsigned int)str[3] << 24));
    b += (str[4] + ((unsigned int)str[5] << 8) + ((unsigned int)str[6] << 16) + ((unsigned int)str[7] << 24));
    c += (str[8] + ((unsigned int)str[9] << 8) + ((unsigned int)str[10] << 16) + ((unsigned int)str[11] << 24));
    {
      a -= b;
      a -= c;
      a ^= (c >> 13);
      b -= c;
      b -= a;
      b ^= (a << 8);
      c -= a;
      c -= b;
      c ^= (b >> 13);
      a -= b;
      a -= c;
      a ^= (c >> 12);
      b -= c;
      b -= a;
      b ^= (a << 16);
      c -= a;
      c -= b;
      c ^= (b >> 5);
      a -= b;
      a -= c;
      a ^= (c >> 3);
      b -= c;
      b -= a;
      b ^= (a << 10);
      c -= a;
      c -= b;
      c ^= (b >> 15);
    };
    str += 12;
    len -= 12;
  }
  c += len;
  switch (len) {
  case 11:
    c += ((unsigned int)str[10] << 24);
  case 10:
    c += ((unsigned int)str[9] << 16);
  case 9:
    c += ((unsigned int)str[8] << 8);
  case 8:
    b += ((unsigned int)str[7] << 24);
  case 7:
    b += ((unsigned int)str[6] << 16);
  case 6:
    b += ((unsigned int)str[5] << 8);
  case 5:
    b += str[4];
  case 4:
    a += ((unsigned int)str[3] << 24);
  case 3:
    a += ((unsigned int)str[2] << 16);
  case 2:
    a += ((unsigned int)str[1] << 8);
  case 1:
    a += str[0];
  }
  {
    a -= b;
    a -= c;
    a ^= (c >> 13);
    b -= c;
    b -= a;
    b ^= (a << 8);
    c -= a;
    c -= b;
    c ^= (b >> 13);
    a -= b;
    a -= c;
    a ^= (c >> 12);
    b -= c;
    b -= a;
    b ^= (a << 16);
    c -= a;
    c -= b;
    c ^= (b >> 5);
    a -= b;
    a -= c;
    a ^= (c >> 3);
    b -= c;
    b -= a;
    b ^= (a << 10);
    c -= a;
    c -= b;
    c ^= (b >> 15);
  };
  return c;
}
```