// File: /workspace/github_c_makefile_star2_O2/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:
movq %rsi, %rax
leal -0x21524111(%rsi), %ecx
addq $0xb, %rdi
movl %ecx, %esi
movl %ecx, %edx
cmpq $0xd, %rax
jb 0x57529
movzbl -0xb(%rdi), %r8d
addl %r8d, %ecx
movzbl -0xa(%rdi), %r8d
shll $0x8, %r8d
addl %ecx, %r8d
movzbl -0x9(%rdi), %r9d
shll $0x10, %r9d
movzbl -0x8(%rdi), %ecx
shll $0x18, %ecx
addl %r9d, %ecx
addl %r8d, %ecx
movzbl -0x7(%rdi), %r8d
addl %r8d, %esi
movzbl -0x6(%rdi), %r8d
shll $0x8, %r8d
addl %esi, %r8d
movzbl -0x5(%rdi), %r9d
shll $0x10, %r9d
movzbl -0x4(%rdi), %esi
shll $0x18, %esi
addl %r9d, %esi
addl %r8d, %esi
movzbl -0x3(%rdi), %r8d
addl %r8d, %edx
movzbl -0x2(%rdi), %r8d
shll $0x8, %r8d
addl %edx, %r8d
movzbl -0x1(%rdi), %edx
shll $0x10, %edx
movzbl (%rdi), %r9d
shll $0x18, %r9d
addl %edx, %r9d
addl %r8d, %r9d
subl %r9d, %ecx
movl %r9d, %edx
roll $0x4, %edx
xorl %ecx, %edx
addl %esi, %r9d
subl %edx, %esi
movl %edx, %r8d
roll $0x6, %r8d
xorl %esi, %r8d
addl %r9d, %edx
subl %r8d, %r9d
movl %r8d, %r10d
roll $0x8, %r10d
xorl %r9d, %r10d
addl %edx, %r8d
subl %r10d, %edx
movl %r10d, %ecx
roll $0x10, %ecx
xorl %edx, %ecx
addl %r8d, %r10d
subl %ecx, %r8d
movl %ecx, %esi
roll $0x13, %esi
xorl %r8d, %esi
addl %r10d, %ecx
subl %esi, %r10d
movl %esi, %edx
roll $0x4, %edx
xorl %r10d, %edx
addl %ecx, %esi
addq $-0xc, %rax
addq $0xc, %rdi
jmp 0x5743f
leaq 0x82e34(%rip), %r8      # 0xda364
movslq (%r8,%rax,4), %rax
addq %r8, %rax
jmpq *%rax
movl %edx, %eax
retq
movzbl (%rdi), %eax
shll $0x18, %eax
addl %eax, %edx
movzbl -0x1(%rdi), %eax
shll $0x10, %eax
addl %eax, %edx
movzbl -0x2(%rdi), %eax
shll $0x8, %eax
addl %eax, %edx
movzbl -0x3(%rdi), %eax
addl %eax, %edx
movzbl -0x4(%rdi), %eax
shll $0x18, %eax
addl %eax, %esi
movzbl -0x5(%rdi), %eax
shll $0x10, %eax
addl %eax, %esi
movzbl -0x6(%rdi), %eax
shll $0x8, %eax
addl %eax, %esi
movzbl -0x7(%rdi), %eax
addl %eax, %esi
movzbl -0x8(%rdi), %eax
shll $0x18, %eax
addl %eax, %ecx
movzbl -0x9(%rdi), %eax
shll $0x10, %eax
addl %eax, %ecx
movzbl -0xa(%rdi), %eax
shll $0x8, %eax
addl %eax, %ecx
movzbl -0xb(%rdi), %edi
addl %ecx, %edi
jmp 0x575a0