// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/core/hashtable.c
// Function: gt_uint32_data_hash
uint32_t gt_uint32_data_hash(const void *data, size_t length)
{
  uint32_t a,b,c;
  a = b = c = 0xdeadbeef + ((uint32_t)length);
  const uint8_t *k = data;
  /*--------------- all but the last block: affect some 32 bits of (a,b,c) */
  while (length > 12)
  {
    a += k[0];
    a += ((uint32_t)k[1])<<8;
    a += ((uint32_t)k[2])<<16;
    a += ((uint32_t)k[3])<<24;
    b += k[4];
    b += ((uint32_t)k[5])<<8;
    b += ((uint32_t)k[6])<<16;
    b += ((uint32_t)k[7])<<24;
    c += k[8];
    c += ((uint32_t)k[9])<<8;
    c += ((uint32_t)k[10])<<16;
    c += ((uint32_t)k[11])<<24;
    gt_ht_u32_mix(a,b,c);
    length -= 12;
    k += 12;
  }
  /*-------------------------------- last block: affect all 32 bits of (c) */
  switch (length)                   /* all the case statements fall through */
  {
  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];
    break;
  case 0 : return c;
  }
  return gt_ht_finalize3_u32(a,b,c);
}

// Assembly:
leal -0x21524111(%rsi), %eax
cmpq $0xd, %rsi
jb 0x7871b
movl %eax, %ecx
movl %eax, %edx
movzbl (%rdi), %r8d
addl %edx, %r8d
movzbl 0x1(%rdi), %r9d
shll $0x8, %r9d
addl %r8d, %r9d
movzbl 0x2(%rdi), %r8d
shll $0x10, %r8d
movzbl 0x3(%rdi), %edx
shll $0x18, %edx
addl %r8d, %edx
addl %r9d, %edx
movzbl 0x4(%rdi), %r8d
addl %ecx, %r8d
movzbl 0x5(%rdi), %r9d
shll $0x8, %r9d
addl %r8d, %r9d
movzbl 0x6(%rdi), %r8d
shll $0x10, %r8d
movzbl 0x7(%rdi), %ecx
shll $0x18, %ecx
addl %r8d, %ecx
addl %r9d, %ecx
movzbl 0x8(%rdi), %r8d
addl %eax, %r8d
movzbl 0x9(%rdi), %eax
shll $0x8, %eax
addl %r8d, %eax
movzbl 0xa(%rdi), %r8d
shll $0x10, %r8d
movzbl 0xb(%rdi), %r9d
shll $0x18, %r9d
addl %r8d, %r9d
addl %eax, %r9d
movl %r9d, %eax
roll $0x4, %eax
subl %r9d, %edx
xorl %edx, %eax
addl %ecx, %r9d
subl %eax, %ecx
movl %eax, %r8d
roll $0x6, %r8d
xorl %ecx, %r8d
addl %r9d, %eax
movl %r8d, %r10d
roll $0x8, %r10d
subl %r8d, %r9d
xorl %r9d, %r10d
addl %eax, %r8d
subl %r10d, %eax
movl %r10d, %edx
roll $0x10, %edx
xorl %eax, %edx
addl %r8d, %r10d
movl %edx, %ecx
roll $0x13, %ecx
subl %edx, %r8d
xorl %r8d, %ecx
addl %r10d, %edx
subl %ecx, %r10d
movl %ecx, %eax
roll $0x4, %eax
xorl %r10d, %eax
addl %edx, %ecx
addq $-0xc, %rsi
addq $0xc, %rdi
cmpq $0xc, %rsi
ja 0x78634
jmp 0x7871f
movl %eax, %edx
movl %eax, %ecx
leaq 0x78cde(%rip), %r8      # 0xf1404
movslq (%r8,%rsi,4), %rsi
addq %r8, %rsi
jmpq *%rsi
movzbl 0xb(%rdi), %esi
shll $0x18, %esi
addl %esi, %eax
movzbl 0xa(%rdi), %esi
shll $0x10, %esi
addl %esi, %eax
movzbl 0x9(%rdi), %esi
shll $0x8, %esi
addl %esi, %eax
movzbl 0x8(%rdi), %esi
addl %esi, %eax
movzbl 0x7(%rdi), %esi
shll $0x18, %esi
addl %esi, %ecx
movzbl 0x6(%rdi), %esi
shll $0x10, %esi
addl %esi, %ecx
movzbl 0x5(%rdi), %esi
shll $0x8, %esi
addl %esi, %ecx
movzbl 0x4(%rdi), %esi
addl %esi, %ecx
movzbl 0x3(%rdi), %esi
shll $0x18, %esi
addl %esi, %edx
movzbl 0x2(%rdi), %esi
shll $0x10, %esi
addl %esi, %edx
movzbl 0x1(%rdi), %esi
shll $0x8, %esi
addl %esi, %edx
movzbl (%rdi), %esi
addl %edx, %esi
xorl %ecx, %eax
movl %ecx, %edx
roll $0xe, %edx
subl %edx, %eax
xorl %eax, %esi
movl %eax, %edx
roll $0xb, %edx
subl %edx, %esi
movl %esi, %edx
roll $0x19, %edx
xorl %esi, %ecx
subl %edx, %ecx
xorl %ecx, %eax
movl %ecx, %edx
roll $0x10, %edx
subl %edx, %eax
xorl %eax, %esi
movl %eax, %edx
roll $0x4, %edx
subl %edx, %esi
xorl %esi, %ecx
roll $0xe, %esi
subl %esi, %ecx
xorl %ecx, %eax
roll $0x18, %ecx
subl %ecx, %eax
retq