#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ hash(int);
void test() {
  int p1, p2;
  int i, j;
  {
    hash(1);
    hash(0);
  };
  {
    hash(2);
    hash(0);
    hash(0);
  };
  for (p2 = 1; p2 <= 22; p2++) {
    if ((p2 + 1) % 2 == 0) {
      j = (p2 - 1) / 2;
      {
        hash(3);
        hash(0);
        hash((p2 - 1) / 2);
      };
    }
    if (p2 % 2 == 0) {
      {
        hash(2);
        hash(0);
        hash(p2 / 2);
      };
    }
  }
  {
    hash(3);
    hash(0);
    hash(11);
  };
  for (p1 = 2; p1 <= 6; p1++) {
    if ((p1 + 1) % 3 == 0) {
      i = (p1 - 2) / 3;
      {
        hash(4);
        hash((p1 - 2) / 3);
      };
    }
    if ((p1 + 2) % 3 == 0) {
      i = (p1 - 1) / 3;
      {
        hash(2);
        hash((p1 - 1) / 3);
        hash(0);
      };
    }
    if (p1 % 3 == 0) {
      {
        hash(1);
        hash(p1 / 3);
      };
    }
    for (p2 = 1;
         p2 <= (((-2 * p1 + 68) < 0) ? -((-(-2 * p1 + 68) + (3) - 1) / (3))
                                     : (-2 * p1 + 68) / (3));
         p2++) {
      if ((p1 + 2) % 3 == 0) {
        i = (p1 - 1) / 3;
        if ((p2 + 1) % 2 == 0) {
          j = (p2 - 1) / 2;
          {
            hash(3);
            hash((p1 - 1) / 3);
            hash((p2 - 1) / 2);
          };
        }
        if (p2 % 2 == 0) {
          {
            hash(2);
            hash((p1 - 1) / 3);
            hash(p2 / 2);
          };
        }
      }
    }
    p2 = (((-2 * p1 + 71) < 0) ? -((-(-2 * p1 + 71) + (3) - 1) / (3))
                               : (-2 * p1 + 71) / (3));
    if ((p1 + 2) % 3 == 0) {
      i = (p1 - 1) / 3;
      if ((p2 + 1) % 2 == 0) {
        j = (p2 - 1) / 2;
        {
          hash(3);
          hash((p1 - 1) / 3);
          hash((p2 - 1) / 2);
        };
      }
    }
  }
  {
    hash(2);
    hash(2);
    hash(0);
  };
  for (p2 = 1; p2 <= 18; p2++) {
    if ((p2 + 1) % 2 == 0) {
      j = (p2 - 1) / 2;
      {
        hash(3);
        hash(2);
        hash((p2 - 1) / 2);
      };
    }
    if (p2 % 2 == 0) {
      {
        hash(2);
        hash(2);
        hash(p2 / 2);
      };
    }
  }
  {
    hash(3);
    hash(2);
    hash(9);
  };
  {
    hash(4);
    hash(2);
  };
  {
    hash(5);
    hash(0);
  };
  {
    hash(6);
    hash(0);
    hash(0);
  };
  for (p2 = 1; p2 <= 9; p2++) {
    {
      hash(6);
      hash(0);
      hash(p2);
    };
  }
  for (p1 = 2; p1 <= 42; p1++) {
    if ((p1 + 1) % 3 == 0) {
      i = (p1 - 2) / 3;
      {
        hash(7);
        hash((p1 - 2) / 3);
      };
    }
    if ((p1 + 2) % 3 == 0) {
      i = (p1 - 1) / 3;
      {
        hash(6);
        hash((p1 - 1) / 3);
        hash(0);
      };
    }
    if (p1 % 3 == 0) {
      {
        hash(5);
        hash(p1 / 3);
      };
    }
    for (p2 = 1; p2 <= 9; p2++) {
      if ((p1 + 2) % 3 == 0) {
        i = (p1 - 1) / 3;
        {
          hash(6);
          hash((p1 - 1) / 3);
          hash(p2);
        };
      }
    }
  }
  {
    hash(6);
    hash(14);
    hash(0);
  };
  for (p2 = 1; p2 <= 9; p2++) {
    {
      hash(6);
      hash(14);
      hash(p2);
    };
  }
  {
    hash(7);
    hash(14);
  };
}


x86 assembly (clang, -O0):
<test>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    $0x1,%edi
call   1030 <hash@plt>
xor    %edi,%edi
call   1030 <hash@plt>
mov    $0x2,%edi
call   1030 <hash@plt>
xor    %edi,%edi
call   1030 <hash@plt>
xor    %edi,%edi
call   1030 <hash@plt>
movl   $0x1,-0x8(%rbp)
cmpl   $0x16,-0x8(%rbp)
jg     11ea <test+0xda>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    11a0 <test+0x90>
mov    -0x8(%rbp),%eax
sub    $0x1,%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
mov    %eax,-0x10(%rbp)
mov    $0x3,%edi
call   1030 <hash@plt>
xor    %edi,%edi
call   1030 <hash@plt>
mov    -0x8(%rbp),%eax
sub    $0x1,%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
mov    %eax,%edi
call   1030 <hash@plt>
mov    -0x8(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    11d7 <test+0xc7>
mov    $0x2,%edi
call   1030 <hash@plt>
xor    %edi,%edi
call   1030 <hash@plt>
mov    -0x8(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
mov    %eax,%edi
call   1030 <hash@plt>
jmp    11dc <test+0xcc>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1148 <test+0x38>
mov    $0x3,%edi
call   1030 <hash@plt>
xor    %edi,%edi
call   1030 <hash@plt>
mov    $0xb,%edi
call   1030 <hash@plt>
movl   $0x2,-0x4(%rbp)
cmpl   $0x6,-0x4(%rbp)
jg     151d <test+0x40d>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    $0x3,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    125d <test+0x14d>
mov    -0x4(%rbp),%eax
sub    $0x2,%eax
mov    $0x3,%ecx
cltd
idiv   %ecx
mov    %eax,-0xc(%rbp)
mov    $0x4,%edi
call   1030 <hash@plt>
mov    -0x4(%rbp),%eax
sub    $0x2,%eax
mov    $0x3,%ecx
cltd
idiv   %ecx
mov    %eax,%edi
call   1030 <hash@plt>
mov    -0x4(%rbp),%eax
add    $0x2,%eax
mov    $0x3,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    12ab <test+0x19b>
mov    -0x4(%rbp),%eax
sub    $0x1,%eax
mov    $0x3,%ecx
cltd
idiv   %ecx
mov    %eax,-0xc(%rbp)
mov    $0x2,%edi
call   1030 <hash@plt>
mov    -0x4(%rbp),%eax
sub    $0x1,%eax
mov    $0x3,%ecx
cltd
idiv   %ecx
mov    %eax,%edi
call   1030 <hash@plt>
xor    %edi,%edi
call   1030 <hash@plt>
mov    -0x4(%rbp),%eax
mov    $0x3,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    12db <test+0x1cb>
mov    $0x1,%edi
call   1030 <hash@plt>
mov    -0x4(%rbp),%eax
mov    $0x3,%ecx
cltd
idiv   %ecx
mov    %eax,%edi
call   1030 <hash@plt>
movl   $0x1,-0x8(%rbp)
mov    -0x8(%rbp),%eax
mov    %eax,-0x14(%rbp)
imul   $0xfffffffe,-0x4(%rbp),%eax
add    $0x44,%eax
cmp    $0x0,%eax
jge    1325 <test+0x215>
imul   $0xfffffffe,-0x4(%rbp),%ecx
add    $0x44,%ecx
xor    %eax,%eax
sub    %ecx,%eax
add    $0x3,%eax
sub    $0x1,%eax
mov    $0x3,%ecx
cltd
idiv   %ecx
mov    %eax,%ecx
xor    %eax,%eax
sub    %ecx,%eax
mov    %eax,-0x18(%rbp)
jmp    133a <test+0x22a>
imul   $0xfffffffe,-0x4(%rbp),%eax
add    $0x44,%eax
mov    $0x3,%ecx
cltd
idiv   %ecx
mov    %eax,-0x18(%rbp)
mov    -0x14(%rbp),%eax
mov    -0x18(%rbp),%ecx
cmp    %ecx,%eax
jg     1429 <test+0x319>
mov    -0x4(%rbp),%eax
add    $0x2,%eax
mov    $0x3,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    1416 <test+0x306>
mov    -0x4(%rbp),%eax
sub    $0x1,%eax
mov    $0x3,%ecx
cltd
idiv   %ecx
mov    %eax,-0xc(%rbp)
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    13cc <test+0x2bc>
mov    -0x8(%rbp),%eax
sub    $0x1,%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
mov    %eax,-0x10(%rbp)
mov    $0x3,%edi
call   1030 <hash@plt>
mov    -0x4(%rbp),%eax
sub    $0x1,%eax
mov    $0x3,%ecx
cltd
idiv   %ecx
mov    %eax,%edi
call   1030 <hash@plt>
mov    -0x8(%rbp),%eax
sub    $0x1,%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
mov    %eax,%edi
call   1030 <hash@plt>
mov    -0x8(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    1411 <test+0x301>
mov    $0x2,%edi
call   1030 <hash@plt>
mov    -0x4(%rbp),%eax
sub    $0x1,%eax
mov    $0x3,%ecx
cltd
idiv   %ecx
mov    %eax,%edi
call   1030 <hash@plt>
mov    -0x8(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
mov    %eax,%edi
call   1030 <hash@plt>
jmp    1416 <test+0x306>
jmp    141b <test+0x30b>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    12e2 <test+0x1d2>
imul   $0xfffffffe,-0x4(%rbp),%eax
add    $0x47,%eax
cmp    $0x0,%eax
jge    1466 <test+0x356>
imul   $0xfffffffe,-0x4(%rbp),%ecx
add    $0x47,%ecx
xor    %eax,%eax
sub    %ecx,%eax
add    $0x3,%eax
sub    $0x1,%eax
mov    $0x3,%ecx
cltd
idiv   %ecx
mov    %eax,%ecx
xor    %eax,%eax
sub    %ecx,%eax
mov    %eax,-0x1c(%rbp)
jmp    147b <test+0x36b>
imul   $0xfffffffe,-0x4(%rbp),%eax
add    $0x47,%eax
mov    $0x3,%ecx
cltd
idiv   %ecx
mov    %eax,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
mov    %eax,-0x8(%rbp)
mov    -0x4(%rbp),%eax
add    $0x2,%eax
mov    $0x3,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    150a <test+0x3fa>
mov    -0x4(%rbp),%eax
sub    $0x1,%eax
mov    $0x3,%ecx
cltd
idiv   %ecx
mov    %eax,-0xc(%rbp)
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    1505 <test+0x3f5>
mov    -0x8(%rbp),%eax
sub    $0x1,%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
mov    %eax,-0x10(%rbp)
mov    $0x3,%edi
call   1030 <hash@plt>
mov    -0x4(%rbp),%eax
sub    $0x1,%eax
mov    $0x3,%ecx
cltd
idiv   %ecx
mov    %eax,%edi
call   1030 <hash@plt>
mov    -0x8(%rbp),%eax
sub    $0x1,%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
mov    %eax,%edi
call   1030 <hash@plt>
jmp    150a <test+0x3fa>
jmp    150f <test+0x3ff>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    120c <test+0xfc>
mov    $0x2,%edi
call   1030 <hash@plt>
mov    $0x2,%edi
call   1030 <hash@plt>
xor    %edi,%edi
call   1030 <hash@plt>
movl   $0x1,-0x8(%rbp)
cmpl   $0x12,-0x8(%rbp)
jg     15e7 <test+0x4d7>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    159a <test+0x48a>
mov    -0x8(%rbp),%eax
sub    $0x1,%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
mov    %eax,-0x10(%rbp)
mov    $0x3,%edi
call   1030 <hash@plt>
mov    $0x2,%edi
call   1030 <hash@plt>
mov    -0x8(%rbp),%eax
sub    $0x1,%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
mov    %eax,%edi
call   1030 <hash@plt>
mov    -0x8(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    15d4 <test+0x4c4>
mov    $0x2,%edi
call   1030 <hash@plt>
mov    $0x2,%edi
call   1030 <hash@plt>
mov    -0x8(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
mov    %eax,%edi
call   1030 <hash@plt>
jmp    15d9 <test+0x4c9>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    153f <test+0x42f>
mov    $0x3,%edi
call   1030 <hash@plt>
mov    $0x2,%edi
call   1030 <hash@plt>
mov    $0x9,%edi
call   1030 <hash@plt>
mov    $0x4,%edi
call   1030 <hash@plt>
mov    $0x2,%edi
call   1030 <hash@plt>
mov    $0x5,%edi
call   1030 <hash@plt>
xor    %edi,%edi
call   1030 <hash@plt>
mov    $0x6,%edi
call   1030 <hash@plt>
xor    %edi,%edi
call   1030 <hash@plt>
xor    %edi,%edi
call   1030 <hash@plt>
movl   $0x1,-0x8(%rbp)
cmpl   $0x9,-0x8(%rbp)
jg     167a <test+0x56a>
mov    $0x6,%edi
call   1030 <hash@plt>
xor    %edi,%edi
call   1030 <hash@plt>
mov    -0x8(%rbp),%edi
call   1030 <hash@plt>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1649 <test+0x539>
movl   $0x2,-0x4(%rbp)
cmpl   $0x2a,-0x4(%rbp)
jg     17d6 <test+0x6c6>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    $0x3,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    16d2 <test+0x5c2>
mov    -0x4(%rbp),%eax
sub    $0x2,%eax
mov    $0x3,%ecx
cltd
idiv   %ecx
mov    %eax,-0xc(%rbp)
mov    $0x7,%edi
call   1030 <hash@plt>
mov    -0x4(%rbp),%eax
sub    $0x2,%eax
mov    $0x3,%ecx
cltd
idiv   %ecx
mov    %eax,%edi
call   1030 <hash@plt>
mov    -0x4(%rbp),%eax
add    $0x2,%eax
mov    $0x3,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    1720 <test+0x610>
mov    -0x4(%rbp),%eax
sub    $0x1,%eax
mov    $0x3,%ecx
cltd
idiv   %ecx
mov    %eax,-0xc(%rbp)
mov    $0x6,%edi
call   1030 <hash@plt>
mov    -0x4(%rbp),%eax
sub    $0x1,%eax
mov    $0x3,%ecx
cltd
idiv   %ecx
mov    %eax,%edi
call   1030 <hash@plt>
xor    %edi,%edi
call   1030 <hash@plt>
mov    -0x4(%rbp),%eax
mov    $0x3,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    1750 <test+0x640>
mov    $0x5,%edi
call   1030 <hash@plt>
mov    -0x4(%rbp),%eax
mov    $0x3,%ecx
cltd
idiv   %ecx
mov    %eax,%edi
call   1030 <hash@plt>
movl   $0x1,-0x8(%rbp)
cmpl   $0x9,-0x8(%rbp)
jg     17c3 <test+0x6b3>
mov    -0x4(%rbp),%eax
add    $0x2,%eax
mov    $0x3,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    17b0 <test+0x6a0>
mov    -0x4(%rbp),%eax
sub    $0x1,%eax
mov    $0x3,%ecx
cltd
idiv   %ecx
mov    %eax,-0xc(%rbp)
mov    $0x6,%edi
call   1030 <hash@plt>
mov    -0x4(%rbp),%eax
sub    $0x1,%eax
mov    $0x3,%ecx
cltd
idiv   %ecx
mov    %eax,%edi
call   1030 <hash@plt>
mov    -0x8(%rbp),%edi
call   1030 <hash@plt>
jmp    17b5 <test+0x6a5>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1757 <test+0x647>
jmp    17c8 <test+0x6b8>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    1681 <test+0x571>
mov    $0x6,%edi
call   1030 <hash@plt>
mov    $0xe,%edi
call   1030 <hash@plt>
xor    %edi,%edi
call   1030 <hash@plt>
movl   $0x1,-0x8(%rbp)
cmpl   $0x9,-0x8(%rbp)
jg     182c <test+0x71c>
mov    $0x6,%edi
call   1030 <hash@plt>
mov    $0xe,%edi
call   1030 <hash@plt>
mov    -0x8(%rbp),%edi
call   1030 <hash@plt>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    17f8 <test+0x6e8>
mov    $0x7,%edi
call   1030 <hash@plt>
mov    $0xe,%edi
call   1030 <hash@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<test>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    $0x1,%edi
call   1030 <hash@plt>
xor    %ebp,%ebp
xor    %edi,%edi
call   1030 <hash@plt>
mov    $0x2,%edi
call   1030 <hash@plt>
xor    %edi,%edi
call   1030 <hash@plt>
xor    %edi,%edi
call   1030 <hash@plt>
jmp    1157 <test+0x47>
nopl   0x0(%rax,%rax,1)
mov    %ebx,%ebp
cmp    $0x16,%ebx
je     11a4 <test+0x94>
lea    0x1(%rbp),%ebx
test   $0x1,%bpl
jne    1183 <test+0x73>
mov    $0x3,%edi
call   1030 <hash@plt>
xor    %edi,%edi
call   1030 <hash@plt>
mov    %ebp,%eax
shr    $0x7,%al
add    %bpl,%al
sar    %al
movsbl %al,%edi
call   1030 <hash@plt>
test   $0x1,%bl
jne    1150 <test+0x40>
mov    $0x2,%edi
call   1030 <hash@plt>
xor    %edi,%edi
call   1030 <hash@plt>
mov    %ebx,%edi
shr    %edi
call   1030 <hash@plt>
jmp    1150 <test+0x40>
mov    $0x3,%edi
call   1030 <hash@plt>
xor    %edi,%edi
call   1030 <hash@plt>
mov    $0xb,%edi
call   1030 <hash@plt>
mov    $0x2,%r12d
jmp    11da <test+0xca>
nopw   0x0(%rax,%rax,1)
cmp    $0x7,%r12d
je     132f <test+0x21f>
mov    %r12d,%r14d
lea    0x1(%r14),%r12d
imul   $0xffffffab,%r12d,%eax
cmp    $0x56,%al
jae    1212 <test+0x102>
mov    $0x4,%edi
call   1030 <hash@plt>
lea    -0x2(%r14),%eax
movsbl %al,%eax
imul   $0x56,%eax,%eax
movzwl %ax,%eax
mov    %eax,%ecx
shr    $0xf,%ecx
shr    $0x8,%eax
add    %cl,%al
movsbl %al,%edi
call   1030 <hash@plt>
lea    0x2(%r14),%eax
movzbl %al,%ebp
imul   $0xab,%ebp,%eax
shr    $0x9,%eax
lea    (%rax,%rax,2),%eax
sub    %al,%bpl
jne    125a <test+0x14a>
mov    $0x2,%edi
call   1030 <hash@plt>
lea    -0x1(%r14),%eax
movsbl %al,%eax
imul   $0x56,%eax,%eax
movzwl %ax,%eax
mov    %eax,%ecx
shr    $0xf,%ecx
shr    $0x8,%eax
add    %cl,%al
movsbl %al,%edi
call   1030 <hash@plt>
xor    %edi,%edi
call   1030 <hash@plt>
movzbl %r14b,%eax
imul   $0xffffffab,%eax,%ecx
cmp    $0x55,%cl
ja     1281 <test+0x171>
imul   $0xab,%eax,%ebx
shr    $0x9,%ebx
mov    $0x1,%edi
call   1030 <hash@plt>
movzbl %bl,%edi
call   1030 <hash@plt>
lea    (%r14,%r14,1),%r13d
mov    $0x44,%ebx
sub    %r13d,%ebx
mov    $0xaaaaaaab,%eax
imul   %rax,%rbx
shr    $0x21,%rbx
add    $0xffffffff,%r14d
imul   %rax,%r14
shr    $0x21,%r14
test   %ebx,%ebx
jle    12e0 <test+0x1d0>
xor    %r15d,%r15d
jmp    12b5 <test+0x1a5>
nop
cmp    %ebx,%r15d
jge    12e0 <test+0x1d0>
add    $0x1,%r15d
test   %bpl,%bpl
jne    12b0 <test+0x1a0>
mov    %r15d,%edi
and    $0x1,%edi
or     $0x2,%edi
call   1030 <hash@plt>
mov    %r14d,%edi
call   1030 <hash@plt>
mov    %r15d,%edi
shr    %edi
call   1030 <hash@plt>
jmp    12b0 <test+0x1a0>
test   %bpl,%bpl
jne    11d0 <test+0xc0>
neg    %r13d
add    $0x47,%r13d
mov    $0xaaaaaaab,%eax
imul   %rax,%r13
shr    $0x21,%r13
mov    %r13d,%eax
and    $0x1,%eax
je     11d0 <test+0xc0>
add    $0xffffffff,%r13d
mov    $0x3,%edi
call   1030 <hash@plt>
mov    %r14d,%edi
call   1030 <hash@plt>
shr    %r13d
mov    %r13d,%edi
call   1030 <hash@plt>
jmp    11d0 <test+0xc0>
mov    $0x2,%edi
call   1030 <hash@plt>
mov    $0x2,%edi
call   1030 <hash@plt>
xor    %ebp,%ebp
xor    %edi,%edi
call   1030 <hash@plt>
jmp    1357 <test+0x247>
xchg   %ax,%ax
mov    %ebx,%ebp
cmp    $0x12,%ebx
je     13aa <test+0x29a>
lea    0x1(%rbp),%ebx
test   $0x1,%bpl
jne    1386 <test+0x276>
mov    $0x3,%edi
call   1030 <hash@plt>
mov    $0x2,%edi
call   1030 <hash@plt>
mov    %ebp,%eax
shr    $0x7,%al
add    %bpl,%al
sar    %al
movsbl %al,%edi
call   1030 <hash@plt>
test   $0x1,%bl
jne    1350 <test+0x240>
mov    $0x2,%edi
call   1030 <hash@plt>
mov    $0x2,%edi
call   1030 <hash@plt>
mov    %ebx,%edi
shr    %edi
call   1030 <hash@plt>
jmp    1350 <test+0x240>
mov    $0x3,%edi
call   1030 <hash@plt>
mov    $0x2,%r13d
mov    $0x2,%edi
call   1030 <hash@plt>
mov    $0x9,%edi
call   1030 <hash@plt>
mov    $0x4,%edi
call   1030 <hash@plt>
mov    $0x2,%edi
call   1030 <hash@plt>
mov    $0x5,%edi
call   1030 <hash@plt>
xor    %r14d,%r14d
xor    %edi,%edi
call   1030 <hash@plt>
mov    $0x6,%edi
call   1030 <hash@plt>
xor    %edi,%edi
call   1030 <hash@plt>
xor    %edi,%edi
call   1030 <hash@plt>
mov    $0x6,%edi
call   1030 <hash@plt>
xor    %edi,%edi
call   1030 <hash@plt>
mov    $0x1,%edi
call   1030 <hash@plt>
mov    $0x6,%edi
call   1030 <hash@plt>
xor    %edi,%edi
call   1030 <hash@plt>
mov    $0x2,%edi
call   1030 <hash@plt>
mov    $0x6,%edi
call   1030 <hash@plt>
xor    %edi,%edi
call   1030 <hash@plt>
mov    $0x3,%edi
call   1030 <hash@plt>
mov    $0x6,%edi
call   1030 <hash@plt>
xor    %edi,%edi
call   1030 <hash@plt>
mov    $0x4,%edi
call   1030 <hash@plt>
mov    $0x6,%edi
call   1030 <hash@plt>
xor    %edi,%edi
call   1030 <hash@plt>
mov    $0x5,%edi
call   1030 <hash@plt>
mov    $0x6,%edi
call   1030 <hash@plt>
xor    %edi,%edi
call   1030 <hash@plt>
mov    $0x6,%edi
call   1030 <hash@plt>
mov    $0x6,%edi
call   1030 <hash@plt>
xor    %edi,%edi
call   1030 <hash@plt>
mov    $0x7,%edi
call   1030 <hash@plt>
mov    $0x6,%edi
call   1030 <hash@plt>
xor    %edi,%edi
call   1030 <hash@plt>
mov    $0x8,%edi
call   1030 <hash@plt>
mov    $0x6,%edi
call   1030 <hash@plt>
xor    %edi,%edi
call   1030 <hash@plt>
mov    $0x9,%edi
call   1030 <hash@plt>
mov    $0x3,%r15b
mov    $0xaaaaaaab,%r12d
jmp    1522 <test+0x412>
nopl   0x0(%rax)
add    $0x1,%r15b
add    $0x1,%r13d
cmp    $0x29,%r14d
je     16f0 <test+0x5e0>
movzbl %r15b,%eax
imul   $0xab,%eax,%eax
shr    $0x9,%eax
lea    (%rax,%rax,2),%eax
add    $0xfd,%al
cmp    %r14b,%al
jne    1570 <test+0x460>
mov    $0x7,%edi
call   1030 <hash@plt>
movsbl %r14b,%eax
imul   $0x56,%eax,%eax
movzwl %ax,%eax
mov    %eax,%ecx
shr    $0xf,%ecx
shr    $0x8,%eax
add    %cl,%al
movsbl %al,%edi
call   1030 <hash@plt>
mov    %r13d,%ebp
jmp    1574 <test+0x464>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
lea    0x2(%r14),%ebp
lea    0x2(%rbp),%eax
movzbl %al,%ebx
imul   $0xab,%ebx,%eax
shr    $0x9,%eax
lea    (%rax,%rax,2),%eax
sub    %al,%bl
jne    15b9 <test+0x4a9>
mov    $0x6,%edi
call   1030 <hash@plt>
lea    -0x1(%rbp),%eax
movsbl %al,%eax
imul   $0x56,%eax,%eax
movzwl %ax,%eax
mov    %eax,%ecx
shr    $0xf,%ecx
shr    $0x8,%eax
add    %cl,%al
movsbl %al,%edi
call   1030 <hash@plt>
xor    %edi,%edi
call   1030 <hash@plt>
movzbl %bpl,%eax
imul   $0xffffffab,%eax,%ecx
cmp    $0x55,%cl
ja     15e1 <test+0x4d1>
imul   $0xab,%eax,%ebp
shr    $0x9,%ebp
mov    $0x5,%edi
call   1030 <hash@plt>
movzbl %bpl,%edi
call   1030 <hash@plt>
add    $0x1,%r14d
test   %bl,%bl
jne    1510 <test+0x400>
mov    %r14,%rbx
imul   %r12,%rbx
shr    $0x21,%rbx
mov    $0x6,%edi
call   1030 <hash@plt>
mov    %ebx,%edi
call   1030 <hash@plt>
mov    $0x1,%edi
call   1030 <hash@plt>
mov    $0x6,%edi
call   1030 <hash@plt>
mov    %ebx,%edi
call   1030 <hash@plt>
mov    $0x2,%edi
call   1030 <hash@plt>
mov    $0x6,%edi
call   1030 <hash@plt>
mov    %ebx,%edi
call   1030 <hash@plt>
mov    $0x3,%edi
call   1030 <hash@plt>
mov    $0x6,%edi
call   1030 <hash@plt>
mov    %ebx,%edi
call   1030 <hash@plt>
mov    $0x4,%edi
call   1030 <hash@plt>
mov    $0x6,%edi
call   1030 <hash@plt>
mov    %ebx,%edi
call   1030 <hash@plt>
mov    $0x5,%edi
call   1030 <hash@plt>
mov    $0x6,%edi
call   1030 <hash@plt>
mov    %ebx,%edi
call   1030 <hash@plt>
mov    $0x6,%edi
call   1030 <hash@plt>
mov    $0x6,%edi
call   1030 <hash@plt>
mov    %ebx,%edi
call   1030 <hash@plt>
mov    $0x7,%edi
call   1030 <hash@plt>
mov    $0x6,%edi
call   1030 <hash@plt>
mov    %ebx,%edi
call   1030 <hash@plt>
mov    $0x8,%edi
call   1030 <hash@plt>
mov    $0x6,%edi
call   1030 <hash@plt>
mov    %ebx,%edi
call   1030 <hash@plt>
mov    $0x9,%edi
call   1030 <hash@plt>
jmp    1510 <test+0x400>
mov    $0x6,%edi
call   1030 <hash@plt>
mov    $0xe,%edi
call   1030 <hash@plt>
xor    %edi,%edi
call   1030 <hash@plt>
mov    $0x6,%edi
call   1030 <hash@plt>
mov    $0xe,%edi
call   1030 <hash@plt>
mov    $0x1,%edi
call   1030 <hash@plt>
mov    $0x6,%edi
call   1030 <hash@plt>
mov    $0xe,%edi
call   1030 <hash@plt>
mov    $0x2,%edi
call   1030 <hash@plt>
mov    $0x6,%edi
call   1030 <hash@plt>
mov    $0xe,%edi
call   1030 <hash@plt>
mov    $0x3,%edi
call   1030 <hash@plt>
mov    $0x6,%edi
call   1030 <hash@plt>
mov    $0xe,%edi
call   1030 <hash@plt>
mov    $0x4,%edi
call   1030 <hash@plt>
mov    $0x6,%edi
call   1030 <hash@plt>
mov    $0xe,%edi
call   1030 <hash@plt>
mov    $0x5,%edi
call   1030 <hash@plt>
mov    $0x6,%edi
call   1030 <hash@plt>
mov    $0xe,%edi
call   1030 <hash@plt>
mov    $0x6,%edi
call   1030 <hash@plt>
mov    $0x6,%edi
call   1030 <hash@plt>
mov    $0xe,%edi
call   1030 <hash@plt>
mov    $0x7,%edi
call   1030 <hash@plt>
mov    $0x6,%edi
call   1030 <hash@plt>
mov    $0xe,%edi
call   1030 <hash@plt>
mov    $0x8,%edi
call   1030 <hash@plt>
mov    $0x6,%edi
call   1030 <hash@plt>
mov    $0xe,%edi
call   1030 <hash@plt>
mov    $0x9,%edi
call   1030 <hash@plt>
mov    $0x7,%edi
call   1030 <hash@plt>
mov    $0xe,%edi
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <hash@plt>

LLVM IR (-O0):
define void @test() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = call i32 @hash(i32 1)
%6 = call i32 @hash(i32 0)
%7 = call i32 @hash(i32 2)
%8 = call i32 @hash(i32 0)
%9 = call i32 @hash(i32 0)
store i32 1, i32* %2
br label %10
10: ; preds = %39, %0
%11 = load i32, i32* %2
%12 = icmp sle i32 %11, 22
br i1 %12, label %13, label %42
13: ; preds = %10
%14 = load i32, i32* %2
%15 = add nsw i32 %14, 1
%16 = srem i32 %15, 2
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %28
18: ; preds = %13
%19 = load i32, i32* %2
%20 = sub nsw i32 %19, 1
%21 = sdiv i32 %20, 2
store i32 %21, i32* %4
%22 = call i32 @hash(i32 3)
%23 = call i32 @hash(i32 0)
%24 = load i32, i32* %2
%25 = sub nsw i32 %24, 1
%26 = sdiv i32 %25, 2
%27 = call i32 @hash(i32 %26)
br label %28
28: ; preds = %18, %13
%29 = load i32, i32* %2
%30 = srem i32 %29, 2
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %38
32: ; preds = %28
%33 = call i32 @hash(i32 2)
%34 = call i32 @hash(i32 0)
%35 = load i32, i32* %2
%36 = sdiv i32 %35, 2
%37 = call i32 @hash(i32 %36)
br label %38
38: ; preds = %32, %28
br label %39
39: ; preds = %38
%40 = load i32, i32* %2
%41 = add nsw i32 %40, 1
store i32 %41, i32* %2
br label %10
42: ; preds = %10
%43 = call i32 @hash(i32 3)
%44 = call i32 @hash(i32 0)
%45 = call i32 @hash(i32 11)
store i32 2, i32* %1
br label %46
46: ; preds = %203, %42
%47 = load i32, i32* %1
%48 = icmp sle i32 %47, 6
br i1 %48, label %49, label %206
49: ; preds = %46
%50 = load i32, i32* %1
%51 = add nsw i32 %50, 1
%52 = srem i32 %51, 3
%53 = icmp eq i32 %52, 0
br i1 %53, label %54, label %63
54: ; preds = %49
%55 = load i32, i32* %1
%56 = sub nsw i32 %55, 2
%57 = sdiv i32 %56, 3
store i32 %57, i32* %3
%58 = call i32 @hash(i32 4)
%59 = load i32, i32* %1
%60 = sub nsw i32 %59, 2
%61 = sdiv i32 %60, 3
%62 = call i32 @hash(i32 %61)
br label %63
63: ; preds = %54, %49
%64 = load i32, i32* %1
%65 = add nsw i32 %64, 2
%66 = srem i32 %65, 3
%67 = icmp eq i32 %66, 0
br i1 %67, label %68, label %78
68: ; preds = %63
%69 = load i32, i32* %1
%70 = sub nsw i32 %69, 1
%71 = sdiv i32 %70, 3
store i32 %71, i32* %3
%72 = call i32 @hash(i32 2)
%73 = load i32, i32* %1
%74 = sub nsw i32 %73, 1
%75 = sdiv i32 %74, 3
%76 = call i32 @hash(i32 %75)
%77 = call i32 @hash(i32 0)
br label %78
78: ; preds = %68, %63
%79 = load i32, i32* %1
%80 = srem i32 %79, 3
%81 = icmp eq i32 %80, 0
br i1 %81, label %82, label %87
82: ; preds = %78
%83 = call i32 @hash(i32 1)
%84 = load i32, i32* %1
%85 = sdiv i32 %84, 3
%86 = call i32 @hash(i32 %85)
br label %87
87: ; preds = %82, %78
store i32 1, i32* %2
br label %88
88: ; preds = %152, %87
%89 = load i32, i32* %2
%90 = load i32, i32* %1
%91 = mul nsw i32 -2, %90
%92 = add nsw i32 %91, 68
%93 = icmp slt i32 %92, 0
br i1 %93, label %94, label %103
94: ; preds = %88
%95 = load i32, i32* %1
%96 = mul nsw i32 -2, %95
%97 = add nsw i32 %96, 68
%98 = sub nsw i32 0, %97
%99 = add nsw i32 %98, 3
%100 = sub nsw i32 %99, 1
%101 = sdiv i32 %100, 3
%102 = sub nsw i32 0, %101
br label %108
103: ; preds = %88
%104 = load i32, i32* %1
%105 = mul nsw i32 -2, %104
%106 = add nsw i32 %105, 68
%107 = sdiv i32 %106, 3
br label %108
108: ; preds = %103, %94
%109 = phi i32 [ %102, %94 ], [ %107, %103 ]
%110 = icmp sle i32 %89, %109
br i1 %110, label %111, label %155
111: ; preds = %108
%112 = load i32, i32* %1
%113 = add nsw i32 %112, 2
%114 = srem i32 %113, 3
%115 = icmp eq i32 %114, 0
br i1 %115, label %116, label %151
116: ; preds = %111
%117 = load i32, i32* %1
%118 = sub nsw i32 %117, 1
%119 = sdiv i32 %118, 3
store i32 %119, i32* %3
%120 = load i32, i32* %2
%121 = add nsw i32 %120, 1
%122 = srem i32 %121, 2
%123 = icmp eq i32 %122, 0
br i1 %123, label %124, label %137
124: ; preds = %116
%125 = load i32, i32* %2
%126 = sub nsw i32 %125, 1
%127 = sdiv i32 %126, 2
store i32 %127, i32* %4
%128 = call i32 @hash(i32 3)
%129 = load i32, i32* %1
%130 = sub nsw i32 %129, 1
%131 = sdiv i32 %130, 3
%132 = call i32 @hash(i32 %131)
%133 = load i32, i32* %2
%134 = sub nsw i32 %133, 1
%135 = sdiv i32 %134, 2
%136 = call i32 @hash(i32 %135)
br label %137
137: ; preds = %124, %116
%138 = load i32, i32* %2
%139 = srem i32 %138, 2
%140 = icmp eq i32 %139, 0
br i1 %140, label %141, label %150
141: ; preds = %137
%142 = call i32 @hash(i32 2)
%143 = load i32, i32* %1
%144 = sub nsw i32 %143, 1
%145 = sdiv i32 %144, 3
%146 = call i32 @hash(i32 %145)
%147 = load i32, i32* %2
%148 = sdiv i32 %147, 2
%149 = call i32 @hash(i32 %148)
br label %150
150: ; preds = %141, %137
br label %151
151: ; preds = %150, %111
br label %152
152: ; preds = %151
%153 = load i32, i32* %2
%154 = add nsw i32 %153, 1
store i32 %154, i32* %2
br label %88
155: ; preds = %108
%156 = load i32, i32* %1
%157 = mul nsw i32 -2, %156
%158 = add nsw i32 %157, 71
%159 = icmp slt i32 %158, 0
br i1 %159, label %160, label %169
160: ; preds = %155
%161 = load i32, i32* %1
%162 = mul nsw i32 -2, %161
%163 = add nsw i32 %162, 71
%164 = sub nsw i32 0, %163
%165 = add nsw i32 %164, 3
%166 = sub nsw i32 %165, 1
%167 = sdiv i32 %166, 3
%168 = sub nsw i32 0, %167
br label %174
169: ; preds = %155
%170 = load i32, i32* %1
%171 = mul nsw i32 -2, %170
%172 = add nsw i32 %171, 71
%173 = sdiv i32 %172, 3
br label %174
174: ; preds = %169, %160
%175 = phi i32 [ %168, %160 ], [ %173, %169 ]
store i32 %175, i32* %2
%176 = load i32, i32* %1
%177 = add nsw i32 %176, 2
%178 = srem i32 %177, 3
%179 = icmp eq i32 %178, 0
br i1 %179, label %180, label %202
180: ; preds = %174
%181 = load i32, i32* %1
%182 = sub nsw i32 %181, 1
%183 = sdiv i32 %182, 3
store i32 %183, i32* %3
%184 = load i32, i32* %2
%185 = add nsw i32 %184, 1
%186 = srem i32 %185, 2
%187 = icmp eq i32 %186, 0
br i1 %187, label %188, label %201
188: ; preds = %180
%189 = load i32, i32* %2
%190 = sub nsw i32 %189, 1
%191 = sdiv i32 %190, 2
store i32 %191, i32* %4
%192 = call i32 @hash(i32 3)
%193 = load i32, i32* %1
%194 = sub nsw i32 %193, 1
%195 = sdiv i32 %194, 3
%196 = call i32 @hash(i32 %195)
%197 = load i32, i32* %2
%198 = sub nsw i32 %197, 1
%199 = sdiv i32 %198, 2
%200 = call i32 @hash(i32 %199)
br label %201
201: ; preds = %188, %180
br label %202
202: ; preds = %201, %174
br label %203
203: ; preds = %202
%204 = load i32, i32* %1
%205 = add nsw i32 %204, 1
store i32 %205, i32* %1
br label %46
206: ; preds = %46
%207 = call i32 @hash(i32 2)
%208 = call i32 @hash(i32 2)
%209 = call i32 @hash(i32 0)
store i32 1, i32* %2
br label %210
210: ; preds = %239, %206
%211 = load i32, i32* %2
%212 = icmp sle i32 %211, 18
br i1 %212, label %213, label %242
213: ; preds = %210
%214 = load i32, i32* %2
%215 = add nsw i32 %214, 1
%216 = srem i32 %215, 2
%217 = icmp eq i32 %216, 0
br i1 %217, label %218, label %228
218: ; preds = %213
%219 = load i32, i32* %2
%220 = sub nsw i32 %219, 1
%221 = sdiv i32 %220, 2
store i32 %221, i32* %4
%222 = call i32 @hash(i32 3)
%223 = call i32 @hash(i32 2)
%224 = load i32, i32* %2
%225 = sub nsw i32 %224, 1
%226 = sdiv i32 %225, 2
%227 = call i32 @hash(i32 %226)
br label %228
228: ; preds = %218, %213
%229 = load i32, i32* %2
%230 = srem i32 %229, 2
%231 = icmp eq i32 %230, 0
br i1 %231, label %232, label %238
232: ; preds = %228
%233 = call i32 @hash(i32 2)
%234 = call i32 @hash(i32 2)
%235 = load i32, i32* %2
%236 = sdiv i32 %235, 2
%237 = call i32 @hash(i32 %236)
br label %238
238: ; preds = %232, %228
br label %239
239: ; preds = %238
%240 = load i32, i32* %2
%241 = add nsw i32 %240, 1
store i32 %241, i32* %2
br label %210
242: ; preds = %210
%243 = call i32 @hash(i32 3)
%244 = call i32 @hash(i32 2)
%245 = call i32 @hash(i32 9)
%246 = call i32 @hash(i32 4)
%247 = call i32 @hash(i32 2)
%248 = call i32 @hash(i32 5)
%249 = call i32 @hash(i32 0)
%250 = call i32 @hash(i32 6)
%251 = call i32 @hash(i32 0)
%252 = call i32 @hash(i32 0)
store i32 1, i32* %2
br label %253
253: ; preds = %261, %242
%254 = load i32, i32* %2
%255 = icmp sle i32 %254, 9
br i1 %255, label %256, label %264
256: ; preds = %253
%257 = call i32 @hash(i32 6)
%258 = call i32 @hash(i32 0)
%259 = load i32, i32* %2
%260 = call i32 @hash(i32 %259)
br label %261
261: ; preds = %256
%262 = load i32, i32* %2
%263 = add nsw i32 %262, 1
store i32 %263, i32* %2
br label %253
264: ; preds = %253
store i32 2, i32* %1
br label %265
265: ; preds = %331, %264
%266 = load i32, i32* %1
%267 = icmp sle i32 %266, 42
br i1 %267, label %268, label %334
268: ; preds = %265
%269 = load i32, i32* %1
%270 = add nsw i32 %269, 1
%271 = srem i32 %270, 3
%272 = icmp eq i32 %271, 0
br i1 %272, label %273, label %282
273: ; preds = %268
%274 = load i32, i32* %1
%275 = sub nsw i32 %274, 2
%276 = sdiv i32 %275, 3
store i32 %276, i32* %3
%277 = call i32 @hash(i32 7)
%278 = load i32, i32* %1
%279 = sub nsw i32 %278, 2
%280 = sdiv i32 %279, 3
%281 = call i32 @hash(i32 %280)
br label %282
282: ; preds = %273, %268
%283 = load i32, i32* %1
%284 = add nsw i32 %283, 2
%285 = srem i32 %284, 3
%286 = icmp eq i32 %285, 0
br i1 %286, label %287, label %297
287: ; preds = %282
%288 = load i32, i32* %1
%289 = sub nsw i32 %288, 1
%290 = sdiv i32 %289, 3
store i32 %290, i32* %3
%291 = call i32 @hash(i32 6)
%292 = load i32, i32* %1
%293 = sub nsw i32 %292, 1
%294 = sdiv i32 %293, 3
%295 = call i32 @hash(i32 %294)
%296 = call i32 @hash(i32 0)
br label %297
297: ; preds = %287, %282
%298 = load i32, i32* %1
%299 = srem i32 %298, 3
%300 = icmp eq i32 %299, 0
br i1 %300, label %301, label %306
301: ; preds = %297
%302 = call i32 @hash(i32 5)
%303 = load i32, i32* %1
%304 = sdiv i32 %303, 3
%305 = call i32 @hash(i32 %304)
br label %306
306: ; preds = %301, %297
store i32 1, i32* %2
br label %307
307: ; preds = %327, %306
%308 = load i32, i32* %2
%309 = icmp sle i32 %308, 9
br i1 %309, label %310, label %330
310: ; preds = %307
%311 = load i32, i32* %1
%312 = add nsw i32 %311, 2
%313 = srem i32 %312, 3
%314 = icmp eq i32 %313, 0
br i1 %314, label %315, label %326
315: ; preds = %310
%316 = load i32, i32* %1
%317 = sub nsw i32 %316, 1
%318 = sdiv i32 %317, 3
store i32 %318, i32* %3
%319 = call i32 @hash(i32 6)
%320 = load i32, i32* %1
%321 = sub nsw i32 %320, 1
%322 = sdiv i32 %321, 3
%323 = call i32 @hash(i32 %322)
%324 = load i32, i32* %2
%325 = call i32 @hash(i32 %324)
br label %326
326: ; preds = %315, %310
br label %327
327: ; preds = %326
%328 = load i32, i32* %2
%329 = add nsw i32 %328, 1
store i32 %329, i32* %2
br label %307
330: ; preds = %307
br label %331
331: ; preds = %330
%332 = load i32, i32* %1
%333 = add nsw i32 %332, 1
store i32 %333, i32* %1
br label %265
334: ; preds = %265
%335 = call i32 @hash(i32 6)
%336 = call i32 @hash(i32 14)
%337 = call i32 @hash(i32 0)
store i32 1, i32* %2
br label %338
338: ; preds = %346, %334
%339 = load i32, i32* %2
%340 = icmp sle i32 %339, 9
br i1 %340, label %341, label %349
341: ; preds = %338
%342 = call i32 @hash(i32 6)
%343 = call i32 @hash(i32 14)
%344 = load i32, i32* %2
%345 = call i32 @hash(i32 %344)
br label %346
346: ; preds = %341
%347 = load i32, i32* %2
%348 = add nsw i32 %347, 1
store i32 %348, i32* %2
br label %338
349: ; preds = %338
%350 = call i32 @hash(i32 7)
%351 = call i32 @hash(i32 14)
ret void
}

LLVM IR (-O2):
define void @test() {
%1 = tail call i32 @hash(i32 1)
%2 = tail call i32 @hash(i32 0)
%3 = tail call i32 @hash(i32 2)
%4 = tail call i32 @hash(i32 0)
%5 = tail call i32 @hash(i32 0)
br label %6
6: ; preds = %0, %27
%7 = phi i32 [ 1, %0 ], [ %8, %27 ]
%8 = add nuw nsw i32 %7, 1
%9 = and i32 %8, 1
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %19
11: ; preds = %6
%12 = tail call i32 @hash(i32 3)
%13 = tail call i32 @hash(i32 0)
%14 = trunc i32 %7 to i8
%15 = add i8 %14, -1
%16 = sdiv i8 %15, 2
%17 = sext i8 %16 to i32
%18 = tail call i32 @hash(i32 %17)
br label %19
19: ; preds = %11, %6
%20 = and i32 %7, 1
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %27
22: ; preds = %19
%23 = tail call i32 @hash(i32 2)
%24 = tail call i32 @hash(i32 0)
%25 = lshr i32 %7, 1
%26 = tail call i32 @hash(i32 %25)
br label %27
27: ; preds = %19, %22
%28 = icmp eq i32 %8, 23
br i1 %28, label %29, label %6
29: ; preds = %27
%30 = tail call i32 @hash(i32 3)
%31 = tail call i32 @hash(i32 0)
%32 = tail call i32 @hash(i32 11)
br label %33
33: ; preds = %29, %100
%34 = phi i32 [ 2, %29 ], [ %35, %100 ]
%35 = add nuw nsw i32 %34, 1
%36 = trunc i32 %35 to i8
%37 = urem i8 %36, 3
%38 = icmp eq i8 %37, 0
br i1 %38, label %41, label %39
39: ; preds = %33
%40 = trunc i32 %34 to i8
br label %48
41: ; preds = %33
%42 = tail call i32 @hash(i32 4)
%43 = trunc i32 %34 to i8
%44 = add i8 %43, -2
%45 = sdiv i8 %44, 3
%46 = sext i8 %45 to i32
%47 = tail call i32 @hash(i32 %46)
br label %48
48: ; preds = %39, %41
%49 = phi i8 [ %40, %39 ], [ %43, %41 ]
%50 = add i8 %49, 2
%51 = urem i8 %50, 3
%52 = icmp eq i8 %51, 0
br i1 %52, label %53, label %60
53: ; preds = %48
%54 = tail call i32 @hash(i32 2)
%55 = add i8 %49, -1
%56 = sdiv i8 %55, 3
%57 = sext i8 %56 to i32
%58 = tail call i32 @hash(i32 %57)
%59 = tail call i32 @hash(i32 0)
br label %60
60: ; preds = %53, %48
%61 = urem i8 %49, 3
%62 = udiv i8 %49, 3
%63 = icmp eq i8 %61, 0
br i1 %63, label %64, label %68
64: ; preds = %60
%65 = tail call i32 @hash(i32 1)
%66 = zext i8 %62 to i32
%67 = tail call i32 @hash(i32 %66)
br label %68
68: ; preds = %64, %60
%69 = mul nsw i32 %34, -2
%70 = add nsw i32 %69, 68
%71 = udiv i32 %70, 3
%72 = add nsw i32 %34, -1
%73 = udiv i32 %72, 3
%74 = icmp slt i32 %71, 1
br i1 %74, label %87, label %75
75: ; preds = %68, %84
%76 = phi i32 [ %85, %84 ], [ 1, %68 ]
br i1 %52, label %77, label %84
77: ; preds = %75
%78 = and i32 %76, 1
%79 = or i32 %78, 2
%80 = tail call i32 @hash(i32 %79)
%81 = tail call i32 @hash(i32 %73)
%82 = lshr i32 %76, 1
%83 = tail call i32 @hash(i32 %82)
br label %84
84: ; preds = %77, %75
%85 = add nuw nsw i32 %76, 1
%86 = icmp slt i32 %76, %71
br i1 %86, label %75, label %87
87: ; preds = %84, %68
%88 = add nsw i32 %69, 71
%89 = udiv i32 %88, 3
%90 = xor i1 %52, true
%91 = and i32 %89, 1
%92 = icmp eq i32 %91, 0
%93 = select i1 %90, i1 true, i1 %92
br i1 %93, label %100, label %94
94: ; preds = %87
%95 = add nsw i32 %89, -1
%96 = tail call i32 @hash(i32 3)
%97 = tail call i32 @hash(i32 %73)
%98 = lshr i32 %95, 1
%99 = tail call i32 @hash(i32 %98)
br label %100
100: ; preds = %87, %94
%101 = icmp eq i32 %35, 7
br i1 %101, label %102, label %33
102: ; preds = %100
%103 = tail call i32 @hash(i32 2)
%104 = tail call i32 @hash(i32 2)
%105 = tail call i32 @hash(i32 0)
br label %106
106: ; preds = %102, %127
%107 = phi i32 [ 1, %102 ], [ %108, %127 ]
%108 = add nuw nsw i32 %107, 1
%109 = and i32 %108, 1
%110 = icmp eq i32 %109, 0
br i1 %110, label %111, label %119
111: ; preds = %106
%112 = tail call i32 @hash(i32 3)
%113 = tail call i32 @hash(i32 2)
%114 = trunc i32 %107 to i8
%115 = add i8 %114, -1
%116 = sdiv i8 %115, 2
%117 = sext i8 %116 to i32
%118 = tail call i32 @hash(i32 %117)
br label %119
119: ; preds = %111, %106
%120 = and i32 %107, 1
%121 = icmp eq i32 %120, 0
br i1 %121, label %122, label %127
122: ; preds = %119
%123 = tail call i32 @hash(i32 2)
%124 = tail call i32 @hash(i32 2)
%125 = lshr i32 %107, 1
%126 = tail call i32 @hash(i32 %125)
br label %127
127: ; preds = %119, %122
%128 = icmp eq i32 %108, 19
br i1 %128, label %129, label %106
129: ; preds = %127
%130 = tail call i32 @hash(i32 3)
%131 = tail call i32 @hash(i32 2)
%132 = tail call i32 @hash(i32 9)
%133 = tail call i32 @hash(i32 4)
%134 = tail call i32 @hash(i32 2)
%135 = tail call i32 @hash(i32 5)
%136 = tail call i32 @hash(i32 0)
%137 = tail call i32 @hash(i32 6)
%138 = tail call i32 @hash(i32 0)
%139 = tail call i32 @hash(i32 0)
%140 = tail call i32 @hash(i32 6)
%141 = tail call i32 @hash(i32 0)
%142 = tail call i32 @hash(i32 1)
%143 = tail call i32 @hash(i32 6)
%144 = tail call i32 @hash(i32 0)
%145 = tail call i32 @hash(i32 2)
%146 = tail call i32 @hash(i32 6)
%147 = tail call i32 @hash(i32 0)
%148 = tail call i32 @hash(i32 3)
%149 = tail call i32 @hash(i32 6)
%150 = tail call i32 @hash(i32 0)
%151 = tail call i32 @hash(i32 4)
%152 = tail call i32 @hash(i32 6)
%153 = tail call i32 @hash(i32 0)
%154 = tail call i32 @hash(i32 5)
%155 = tail call i32 @hash(i32 6)
%156 = tail call i32 @hash(i32 0)
%157 = tail call i32 @hash(i32 6)
%158 = tail call i32 @hash(i32 6)
%159 = tail call i32 @hash(i32 0)
%160 = tail call i32 @hash(i32 7)
%161 = tail call i32 @hash(i32 6)
%162 = tail call i32 @hash(i32 0)
%163 = tail call i32 @hash(i32 8)
%164 = tail call i32 @hash(i32 6)
%165 = tail call i32 @hash(i32 0)
%166 = tail call i32 @hash(i32 9)
br label %167
167: ; preds = %129, %233
%168 = phi i32 [ %169, %233 ], [ 2, %129 ]
%169 = add nuw nsw i32 %168, 1
%170 = trunc i32 %169 to i8
%171 = urem i8 %170, 3
%172 = icmp eq i8 %171, 0
br i1 %172, label %175, label %173
173: ; preds = %167
%174 = trunc i32 %168 to i8
br label %182
175: ; preds = %167
%176 = tail call i32 @hash(i32 7)
%177 = trunc i32 %168 to i8
%178 = add i8 %177, -2
%179 = sdiv i8 %178, 3
%180 = sext i8 %179 to i32
%181 = tail call i32 @hash(i32 %180)
br label %182
182: ; preds = %173, %175
%183 = phi i8 [ %174, %173 ], [ %177, %175 ]
%184 = add i8 %183, 2
%185 = urem i8 %184, 3
%186 = icmp eq i8 %185, 0
br i1 %186, label %187, label %194
187: ; preds = %182
%188 = tail call i32 @hash(i32 6)
%189 = add i8 %183, -1
%190 = sdiv i8 %189, 3
%191 = sext i8 %190 to i32
%192 = tail call i32 @hash(i32 %191)
%193 = tail call i32 @hash(i32 0)
br label %194
194: ; preds = %187, %182
%195 = urem i8 %183, 3
%196 = udiv i8 %183, 3
%197 = icmp eq i8 %195, 0
br i1 %197, label %198, label %202
198: ; preds = %194
%199 = tail call i32 @hash(i32 5)
%200 = zext i8 %196 to i32
%201 = tail call i32 @hash(i32 %200)
br label %202
202: ; preds = %198, %194
%203 = add nsw i32 %168, -1
%204 = udiv i32 %203, 3
br i1 %186, label %205, label %233
205: ; preds = %202
%206 = tail call i32 @hash(i32 6)
%207 = tail call i32 @hash(i32 %204)
%208 = tail call i32 @hash(i32 1)
%209 = tail call i32 @hash(i32 6)
%210 = tail call i32 @hash(i32 %204)
%211 = tail call i32 @hash(i32 2)
%212 = tail call i32 @hash(i32 6)
%213 = tail call i32 @hash(i32 %204)
%214 = tail call i32 @hash(i32 3)
%215 = tail call i32 @hash(i32 6)
%216 = tail call i32 @hash(i32 %204)
%217 = tail call i32 @hash(i32 4)
%218 = tail call i32 @hash(i32 6)
%219 = tail call i32 @hash(i32 %204)
%220 = tail call i32 @hash(i32 5)
%221 = tail call i32 @hash(i32 6)
%222 = tail call i32 @hash(i32 %204)
%223 = tail call i32 @hash(i32 6)
%224 = tail call i32 @hash(i32 6)
%225 = tail call i32 @hash(i32 %204)
%226 = tail call i32 @hash(i32 7)
%227 = tail call i32 @hash(i32 6)
%228 = tail call i32 @hash(i32 %204)
%229 = tail call i32 @hash(i32 8)
%230 = tail call i32 @hash(i32 6)
%231 = tail call i32 @hash(i32 %204)
%232 = tail call i32 @hash(i32 9)
br label %233
233: ; preds = %202, %205
%234 = icmp eq i32 %169, 43
br i1 %234, label %235, label %167
235: ; preds = %233
%236 = tail call i32 @hash(i32 6)
%237 = tail call i32 @hash(i32 14)
%238 = tail call i32 @hash(i32 0)
%239 = tail call i32 @hash(i32 6)
%240 = tail call i32 @hash(i32 14)
%241 = tail call i32 @hash(i32 1)
%242 = tail call i32 @hash(i32 6)
%243 = tail call i32 @hash(i32 14)
%244 = tail call i32 @hash(i32 2)
%245 = tail call i32 @hash(i32 6)
%246 = tail call i32 @hash(i32 14)
%247 = tail call i32 @hash(i32 3)
%248 = tail call i32 @hash(i32 6)
%249 = tail call i32 @hash(i32 14)
%250 = tail call i32 @hash(i32 4)
%251 = tail call i32 @hash(i32 6)
%252 = tail call i32 @hash(i32 14)
%253 = tail call i32 @hash(i32 5)
%254 = tail call i32 @hash(i32 6)
%255 = tail call i32 @hash(i32 14)
%256 = tail call i32 @hash(i32 6)
%257 = tail call i32 @hash(i32 6)
%258 = tail call i32 @hash(i32 14)
%259 = tail call i32 @hash(i32 7)
%260 = tail call i32 @hash(i32 6)
%261 = tail call i32 @hash(i32 14)
%262 = tail call i32 @hash(i32 8)
%263 = tail call i32 @hash(i32 6)
%264 = tail call i32 @hash(i32 14)
%265 = tail call i32 @hash(i32 9)
%266 = tail call i32 @hash(i32 7)
%267 = tail call i32 @hash(i32 14)
ret void
}