void register_test() {
  printf("register test\n");
  printf("Passed line %i\n", 195);
  {
    ((getreg(((0x9c000000) + 0)) == 0x00) ? 1 : fail("?", 197));
    ((getreg(((0x9c000000) + 1)) == 0x00) ? 1 : fail("?", 198));
    ((getreg(((0x9c000000) + 2)) == 0xc1) ? 1 : fail("?", 199));
    ((getreg(((0x9c000000) + 3)) == 0x03) ? 1 : fail("?", 200));
    ((getreg(((0x9c000000) + 4)) == 0x00) ? 1 : fail("?", 201));
    ((getreg(((0x9c000000) + 5)) == 0x60) ? 1 : fail("?", 202));
    ((getreg(((0x9c000000) + 6)) == 0x00) ? 1 : fail("?", 203));
    ((getreg(((0x9c000000) + 7)) == 0x00) ? 1 : fail("?", 204));
    setreg(((0x9c000000) + 3), (0x80));
    ((getreg(((0x9c000000) + 0)) == 0x00) ? 1 : fail("?", 207));
    ((getreg(((0x9c000000) + 1)) == 0x00) ? 1 : fail("?", 208));
    setreg(((0x9c000000) + 3), 0x00);
  }
  setreg(((0x9c000000) + 3), 0x00);
  setreg(((0x9c000000) + 3), 0x00);
  setreg(((0x9c000000) + 3), 0x00);
  setreg(((0x9c000000) + 3), 0x00);
  setreg(((0x9c000000) + 3), 0x00);
  printf("Passed line %i\n", 217);
  {
    unsigned long tmp;
    int i;
    tmp = getreg(((0x9c000000) + 5));
    setreg(((0x9c000000) + 5), ~tmp);
    ((getreg(((0x9c000000) + 5)) == tmp) ? 1 : fail("?", 223));
    for (i = 0; i < 9; i++) {
      setreg(((0x9c000000) + 5), 1 << i);
      ((getreg(((0x9c000000) + 5)) == tmp) ? 1 : fail("?", 227));
    }
    tmp = getreg(((0x9c000000) + 6));
    setreg(((0x9c000000) + 6), ~tmp);
    ((getreg(((0x9c000000) + 6)) == tmp) ? 1 : fail("?", 232));
    for (i = 0; i < 9; i++) {
      setreg(((0x9c000000) + 6), 1 << i);
      ((getreg(((0x9c000000) + 6)) == tmp) ? 1 : fail("?", 236));
    }
  }
  printf("Passed line %i\n", 240);
  {
    ((getreg(((0x9c000000) + 4)) == 0x00) ? 1 : fail("?", 242));
    setreg(((0x9c000000) + 4), 0x45);
    ((getreg(((0x9c000000) + 4)) == 0x00) ? 1 : fail("?", 244));
    setreg(((0x9c000000) + 4), 0xaa);
    ((getreg(((0x9c000000) + 4)) == 0x00) ? 1 : fail("?", 246));
  }
  ((!(getreg(((0x9c000000) + 5)) & 0x1f)) ? 1 : fail("?", 248));
  printf("Passed line %i\n", 249);
  {
    int i;
    setreg(((0x9c000000) + 3), (0x80));
    ((getreg(((0x9c000000) + 3)) == (0x80)) ? 1 : fail("?", 253));
    for (i = 0; i < 16; i++) {
      unsigned short tmp = 0xdead << i;
      setreg(((0x9c000000) + 1), tmp >> 8);
      setreg(((0x9c000000) + 0), tmp & 0xff);
      ((getreg(((0x9c000000) + 0)) == (tmp & 0xff)) ? 1 : fail("?", 258));
      ((getreg(((0x9c000000) + 1)) == (tmp >> 8)) ? 1 : fail("?", 259));
    }
    setreg(((0x9c000000) + 1), 0xa1);
    setreg(((0x9c000000) + 1), 0xa1);
    setreg(((0x9c000000) + 1), 0xa1);
    setreg(((0x9c000000) + 1), 0xa1);
    setreg(((0x9c000000) + 1), 0xa1);
    ((!(getreg(((0x9c000000) + 5)) & 0x1f)) ? 1 : fail("?", 267));
    for (i = 0; i < 16; i++) {
      unsigned short tmp = 0xdead << i;
      setreg(((0x9c000000) + 0), tmp >> 8);
      setreg(((0x9c000000) + 1), tmp & 0xff);
      ((getreg(((0x9c000000) + 0)) == (tmp >> 8)) ? 1 : fail("?", 272));
      ((getreg(((0x9c000000) + 1)) == (tmp & 0xff)) ? 1 : fail("?", 273));
    }
    setreg(((0x9c000000) + 1), 0xa2);
    setreg(((0x9c000000) + 1), 0xa2);
    setreg(((0x9c000000) + 1), 0xa2);
    setreg(((0x9c000000) + 1), 0xa2);
    setreg(((0x9c000000) + 1), 0xa2);
    setreg(((0x9c000000) + 3), 0x00);
    ((getreg(((0x9c000000) + 3)) == 0x00) ? 1 : fail("?", 282));
    ((!(getreg(((0x9c000000) + 5)) & 0x1f)) ? 1 : fail("?", 283));
  }
  printf("Passed line %i\n", 285);
  {
    int i;
    for (i = 0; i < 6; i++) {
      unsigned short tmp = (0xde << i) & 0x3f;
      setreg(((0x9c000000) + 3), tmp);
      ((getreg(((0x9c000000) + 3)) == tmp) ? 1 : fail("?", 291));
    }
    ((!(getreg(((0x9c000000) + 5)) & 0x1f)) ? 1 : fail("?", 293));
  }
  setreg(((0x9c000000) + 3), 0xa3);
  setreg(((0x9c000000) + 3), 0xa3);
  setreg(((0x9c000000) + 3), 0xa3);
  setreg(((0x9c000000) + 3), 0xa3);
  setreg(((0x9c000000) + 3), 0xa3);
  printf("Passed line %i\n", 301);
  {
    int i;
    setreg(((0x9c000000) + 7), 0);
    ((getreg(((0x9c000000) + 7)) == 0) ? 1 : fail("?", 306));
    setreg(((0x9c000000) + 7), 0xff);
    ((getreg(((0x9c000000) + 7)) == 0xff) ? 1 : fail("?", 308));
    for (i = 0; i < 16; i++) {
      unsigned char tmp = 0xdead << i;
      setreg(((0x9c000000) + 7), tmp);
      ((getreg(((0x9c000000) + 7)) == tmp) ? 1 : fail("?", 312));
    }
  }
  setreg(((0x9c000000) + 7), 0xa5);
  setreg(((0x9c000000) + 7), 0xa5);
  setreg(((0x9c000000) + 7), 0xa5);
  setreg(((0x9c000000) + 7), 0xa5);
  setreg(((0x9c000000) + 7), 0xa5);
  printf("Passed line %i\n", 321);
}


x86 assembly (clang, -O0):
<register_test>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
lea    0xeb1(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xeb2(%rip),%rdi
mov    $0xc3,%esi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x9c000000,%edi
mov    $0x0,%al
call   1060 <getreg@plt>
cmp    $0x0,%eax
jne    1183 <register_test+0x43>
jmp    1196 <register_test+0x56>
lea    0xe95(%rip),%rdi
mov    $0xc5,%esi
mov    $0x0,%al
call   1030 <fail@plt>
mov    $0x9c000001,%edi
mov    $0x0,%al
call   1060 <getreg@plt>
cmp    $0x0,%eax
jne    11b0 <register_test+0x70>
jmp    11c3 <register_test+0x83>
lea    0xe68(%rip),%rdi
mov    $0xc6,%esi
mov    $0x0,%al
call   1030 <fail@plt>
mov    $0x9c000002,%edi
mov    $0x0,%al
call   1060 <getreg@plt>
cmp    $0xc1,%eax
jne    11df <register_test+0x9f>
jmp    11f2 <register_test+0xb2>
lea    0xe39(%rip),%rdi
mov    $0xc7,%esi
mov    $0x0,%al
call   1030 <fail@plt>
mov    $0x9c000003,%edi
mov    $0x0,%al
call   1060 <getreg@plt>
cmp    $0x3,%eax
jne    120c <register_test+0xcc>
jmp    121f <register_test+0xdf>
lea    0xe0c(%rip),%rdi
mov    $0xc8,%esi
mov    $0x0,%al
call   1030 <fail@plt>
mov    $0x9c000004,%edi
mov    $0x0,%al
call   1060 <getreg@plt>
cmp    $0x0,%eax
jne    1239 <register_test+0xf9>
jmp    124c <register_test+0x10c>
lea    0xddf(%rip),%rdi
mov    $0xc9,%esi
mov    $0x0,%al
call   1030 <fail@plt>
mov    $0x9c000005,%edi
mov    $0x0,%al
call   1060 <getreg@plt>
cmp    $0x60,%eax
jne    1266 <register_test+0x126>
jmp    1279 <register_test+0x139>
lea    0xdb2(%rip),%rdi
mov    $0xca,%esi
mov    $0x0,%al
call   1030 <fail@plt>
mov    $0x9c000006,%edi
mov    $0x0,%al
call   1060 <getreg@plt>
cmp    $0x0,%eax
jne    1293 <register_test+0x153>
jmp    12a6 <register_test+0x166>
lea    0xd85(%rip),%rdi
mov    $0xcb,%esi
mov    $0x0,%al
call   1030 <fail@plt>
mov    $0x9c000007,%edi
mov    $0x0,%al
call   1060 <getreg@plt>
cmp    $0x0,%eax
jne    12c0 <register_test+0x180>
jmp    12d3 <register_test+0x193>
lea    0xd58(%rip),%rdi
mov    $0xcc,%esi
mov    $0x0,%al
call   1030 <fail@plt>
mov    $0x9c000003,%edi
mov    $0x80,%esi
mov    $0x0,%al
call   1040 <setreg@plt>
mov    $0x9c000000,%edi
mov    $0x0,%al
call   1060 <getreg@plt>
cmp    $0x0,%eax
jne    12fe <register_test+0x1be>
jmp    1311 <register_test+0x1d1>
lea    0xd1a(%rip),%rdi
mov    $0xcf,%esi
mov    $0x0,%al
call   1030 <fail@plt>
mov    $0x9c000001,%edi
mov    $0x0,%al
call   1060 <getreg@plt>
cmp    $0x0,%eax
jne    132b <register_test+0x1eb>
jmp    133e <register_test+0x1fe>
lea    0xced(%rip),%rdi
mov    $0xd0,%esi
mov    $0x0,%al
call   1030 <fail@plt>
mov    $0x9c000003,%edi
xor    %esi,%esi
mov    $0x0,%al
call   1040 <setreg@plt>
mov    $0x9c000003,%edi
xor    %esi,%esi
mov    $0x0,%al
call   1040 <setreg@plt>
mov    $0x9c000003,%edi
xor    %esi,%esi
mov    $0x0,%al
call   1040 <setreg@plt>
mov    $0x9c000003,%edi
xor    %esi,%esi
mov    $0x0,%al
call   1040 <setreg@plt>
mov    $0x9c000003,%edi
xor    %esi,%esi
mov    $0x0,%al
call   1040 <setreg@plt>
mov    $0x9c000003,%edi
xor    %esi,%esi
mov    $0x0,%al
call   1040 <setreg@plt>
lea    0xc76(%rip),%rdi
mov    $0xd9,%esi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x9c000005,%edi
mov    $0x0,%al
call   1060 <getreg@plt>
cltq
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rsi
xor    $0xffffffffffffffff,%rsi
mov    $0x9c000005,%edi
mov    $0x0,%al
call   1040 <setreg@plt>
mov    $0x9c000005,%edi
mov    $0x0,%al
call   1060 <getreg@plt>
cltq
cmp    -0x8(%rbp),%rax
jne    13e8 <register_test+0x2a8>
jmp    13fb <register_test+0x2bb>
lea    0xc30(%rip),%rdi
mov    $0xdf,%esi
mov    $0x0,%al
call   1030 <fail@plt>
movl   $0x0,-0xc(%rbp)
cmpl   $0x9,-0xc(%rbp)
jge    1460 <register_test+0x320>
mov    -0xc(%rbp),%ecx
mov    $0x1,%esi
shl    %cl,%esi
mov    $0x9c000005,%edi
mov    $0x0,%al
call   1040 <setreg@plt>
mov    $0x9c000005,%edi
mov    $0x0,%al
call   1060 <getreg@plt>
cltq
cmp    -0x8(%rbp),%rax
jne    143f <register_test+0x2ff>
jmp    1452 <register_test+0x312>
lea    0xbd9(%rip),%rdi
mov    $0xe3,%esi
mov    $0x0,%al
call   1030 <fail@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    1402 <register_test+0x2c2>
mov    $0x9c000006,%edi
mov    $0x0,%al
call   1060 <getreg@plt>
cltq
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rsi
xor    $0xffffffffffffffff,%rsi
mov    $0x9c000006,%edi
mov    $0x0,%al
call   1040 <setreg@plt>
mov    $0x9c000006,%edi
mov    $0x0,%al
call   1060 <getreg@plt>
cltq
cmp    -0x8(%rbp),%rax
jne    14a3 <register_test+0x363>
jmp    14b6 <register_test+0x376>
lea    0xb75(%rip),%rdi
mov    $0xe8,%esi
mov    $0x0,%al
call   1030 <fail@plt>
movl   $0x0,-0xc(%rbp)
cmpl   $0x9,-0xc(%rbp)
jge    151b <register_test+0x3db>
mov    -0xc(%rbp),%ecx
mov    $0x1,%esi
shl    %cl,%esi
mov    $0x9c000006,%edi
mov    $0x0,%al
call   1040 <setreg@plt>
mov    $0x9c000006,%edi
mov    $0x0,%al
call   1060 <getreg@plt>
cltq
cmp    -0x8(%rbp),%rax
jne    14fa <register_test+0x3ba>
jmp    150d <register_test+0x3cd>
lea    0xb1e(%rip),%rdi
mov    $0xec,%esi
mov    $0x0,%al
call   1030 <fail@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    14bd <register_test+0x37d>
lea    0xaed(%rip),%rdi
mov    $0xf0,%esi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x9c000004,%edi
mov    $0x0,%al
call   1060 <getreg@plt>
cmp    $0x0,%eax
jne    1548 <register_test+0x408>
jmp    155b <register_test+0x41b>
lea    0xad0(%rip),%rdi
mov    $0xf2,%esi
mov    $0x0,%al
call   1030 <fail@plt>
mov    $0x9c000004,%edi
mov    $0x45,%esi
mov    $0x0,%al
call   1040 <setreg@plt>
mov    $0x9c000004,%edi
mov    $0x0,%al
call   1060 <getreg@plt>
cmp    $0x0,%eax
jne    1586 <register_test+0x446>
jmp    1599 <register_test+0x459>
lea    0xa92(%rip),%rdi
mov    $0xf4,%esi
mov    $0x0,%al
call   1030 <fail@plt>
mov    $0x9c000004,%edi
mov    $0xaa,%esi
mov    $0x0,%al
call   1040 <setreg@plt>
mov    $0x9c000004,%edi
mov    $0x0,%al
call   1060 <getreg@plt>
cmp    $0x0,%eax
jne    15c4 <register_test+0x484>
jmp    15d7 <register_test+0x497>
lea    0xa54(%rip),%rdi
mov    $0xf6,%esi
mov    $0x0,%al
call   1030 <fail@plt>
mov    $0x9c000005,%edi
mov    $0x0,%al
call   1060 <getreg@plt>
and    $0x1f,%eax
cmp    $0x0,%eax
jne    15f4 <register_test+0x4b4>
jmp    1607 <register_test+0x4c7>
lea    0xa24(%rip),%rdi
mov    $0xf8,%esi
mov    $0x0,%al
call   1030 <fail@plt>
lea    0xa01(%rip),%rdi
mov    $0xf9,%esi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x9c000003,%edi
mov    $0x80,%esi
mov    $0x0,%al
call   1040 <setreg@plt>
mov    $0x9c000003,%edi
mov    $0x0,%al
call   1060 <getreg@plt>
cmp    $0x80,%eax
jne    1647 <register_test+0x507>
jmp    165a <register_test+0x51a>
lea    0x9d1(%rip),%rdi
mov    $0xfd,%esi
mov    $0x0,%al
call   1030 <fail@plt>
movl   $0x0,-0x10(%rbp)
cmpl   $0x10,-0x10(%rbp)
jge    1719 <register_test+0x5d9>
mov    -0x10(%rbp),%ecx
mov    $0xdead,%eax
shl    %cl,%eax
mov    %ax,-0x12(%rbp)
movzwl -0x12(%rbp),%esi
sar    $0x8,%esi
mov    $0x9c000001,%edi
mov    $0x0,%al
call   1040 <setreg@plt>
movzwl -0x12(%rbp),%esi
and    $0xff,%esi
mov    $0x9c000000,%edi
mov    $0x0,%al
call   1040 <setreg@plt>
mov    $0x9c000000,%edi
mov    $0x0,%al
call   1060 <getreg@plt>
movzwl -0x12(%rbp),%ecx
and    $0xff,%ecx
cmp    %ecx,%eax
jne    16c5 <register_test+0x585>
jmp    16d8 <register_test+0x598>
lea    0x953(%rip),%rdi
mov    $0x102,%esi
mov    $0x0,%al
call   1030 <fail@plt>
mov    $0x9c000001,%edi
mov    $0x0,%al
call   1060 <getreg@plt>
movzwl -0x12(%rbp),%ecx
sar    $0x8,%ecx
cmp    %ecx,%eax
jne    16f8 <register_test+0x5b8>
jmp    170b <register_test+0x5cb>
lea    0x920(%rip),%rdi
mov    $0x103,%esi
mov    $0x0,%al
call   1030 <fail@plt>
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    1661 <register_test+0x521>
mov    $0x9c000001,%edi
mov    $0xa1,%esi
mov    $0x0,%al
call   1040 <setreg@plt>
mov    $0x9c000001,%edi
mov    $0xa1,%esi
mov    $0x0,%al
call   1040 <setreg@plt>
mov    $0x9c000001,%edi
mov    $0xa1,%esi
mov    $0x0,%al
call   1040 <setreg@plt>
mov    $0x9c000001,%edi
mov    $0xa1,%esi
mov    $0x0,%al
call   1040 <setreg@plt>
mov    $0x9c000001,%edi
mov    $0xa1,%esi
mov    $0x0,%al
call   1040 <setreg@plt>
mov    $0x9c000005,%edi
mov    $0x0,%al
call   1060 <getreg@plt>
and    $0x1f,%eax
cmp    $0x0,%eax
jne    178b <register_test+0x64b>
jmp    179e <register_test+0x65e>
lea    0x88d(%rip),%rdi
mov    $0x10b,%esi
mov    $0x0,%al
call   1030 <fail@plt>
movl   $0x0,-0x10(%rbp)
cmpl   $0x10,-0x10(%rbp)
jge    185d <register_test+0x71d>
mov    -0x10(%rbp),%ecx
mov    $0xdead,%eax
shl    %cl,%eax
mov    %ax,-0x14(%rbp)
movzwl -0x14(%rbp),%esi
sar    $0x8,%esi
mov    $0x9c000000,%edi
mov    $0x0,%al
call   1040 <setreg@plt>
movzwl -0x14(%rbp),%esi
and    $0xff,%esi
mov    $0x9c000001,%edi
mov    $0x0,%al
call   1040 <setreg@plt>
mov    $0x9c000000,%edi
mov    $0x0,%al
call   1060 <getreg@plt>
movzwl -0x14(%rbp),%ecx
sar    $0x8,%ecx
cmp    %ecx,%eax
jne    1806 <register_test+0x6c6>
jmp    1819 <register_test+0x6d9>
lea    0x812(%rip),%rdi
mov    $0x110,%esi
mov    $0x0,%al
call   1030 <fail@plt>
mov    $0x9c000001,%edi
mov    $0x0,%al
call   1060 <getreg@plt>
movzwl -0x14(%rbp),%ecx
and    $0xff,%ecx
cmp    %ecx,%eax
jne    183c <register_test+0x6fc>
jmp    184f <register_test+0x70f>
lea    0x7dc(%rip),%rdi
mov    $0x111,%esi
mov    $0x0,%al
call   1030 <fail@plt>
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    17a5 <register_test+0x665>
mov    $0x9c000001,%edi
mov    $0xa2,%esi
mov    $0x0,%al
call   1040 <setreg@plt>
mov    $0x9c000001,%edi
mov    $0xa2,%esi
mov    $0x0,%al
call   1040 <setreg@plt>
mov    $0x9c000001,%edi
mov    $0xa2,%esi
mov    $0x0,%al
call   1040 <setreg@plt>
mov    $0x9c000001,%edi
mov    $0xa2,%esi
mov    $0x0,%al
call   1040 <setreg@plt>
mov    $0x9c000001,%edi
mov    $0xa2,%esi
mov    $0x0,%al
call   1040 <setreg@plt>
mov    $0x9c000003,%edi
xor    %esi,%esi
mov    $0x0,%al
call   1040 <setreg@plt>
mov    $0x9c000003,%edi
mov    $0x0,%al
call   1060 <getreg@plt>
cmp    $0x0,%eax
jne    18da <register_test+0x79a>
jmp    18ed <register_test+0x7ad>
lea    0x73e(%rip),%rdi
mov    $0x11a,%esi
mov    $0x0,%al
call   1030 <fail@plt>
mov    $0x9c000005,%edi
mov    $0x0,%al
call   1060 <getreg@plt>
and    $0x1f,%eax
cmp    $0x0,%eax
jne    190a <register_test+0x7ca>
jmp    191d <register_test+0x7dd>
lea    0x70e(%rip),%rdi
mov    $0x11b,%esi
mov    $0x0,%al
call   1030 <fail@plt>
lea    0x6eb(%rip),%rdi
mov    $0x11d,%esi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0x18(%rbp)
cmpl   $0x6,-0x18(%rbp)
jge    19a0 <register_test+0x860>
mov    -0x18(%rbp),%ecx
mov    $0xde,%eax
shl    %cl,%eax
and    $0x3f,%eax
mov    %ax,-0x1a(%rbp)
movzwl -0x1a(%rbp),%esi
mov    $0x9c000003,%edi
mov    $0x0,%al
call   1040 <setreg@plt>
mov    $0x9c000003,%edi
mov    $0x0,%al
call   1060 <getreg@plt>
movzwl -0x1a(%rbp),%ecx
cmp    %ecx,%eax
jne    197f <register_test+0x83f>
jmp    1992 <register_test+0x852>
lea    0x699(%rip),%rdi
mov    $0x123,%esi
mov    $0x0,%al
call   1030 <fail@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1937 <register_test+0x7f7>
mov    $0x9c000005,%edi
mov    $0x0,%al
call   1060 <getreg@plt>
and    $0x1f,%eax
cmp    $0x0,%eax
jne    19bd <register_test+0x87d>
jmp    19d0 <register_test+0x890>
lea    0x65b(%rip),%rdi
mov    $0x125,%esi
mov    $0x0,%al
call   1030 <fail@plt>
mov    $0x9c000003,%edi
mov    $0xa3,%esi
mov    $0x0,%al
call   1040 <setreg@plt>
mov    $0x9c000003,%edi
mov    $0xa3,%esi
mov    $0x0,%al
call   1040 <setreg@plt>
mov    $0x9c000003,%edi
mov    $0xa3,%esi
mov    $0x0,%al
call   1040 <setreg@plt>
mov    $0x9c000003,%edi
mov    $0xa3,%esi
mov    $0x0,%al
call   1040 <setreg@plt>
mov    $0x9c000003,%edi
mov    $0xa3,%esi
mov    $0x0,%al
call   1040 <setreg@plt>
lea    0x5e3(%rip),%rdi
mov    $0x12d,%esi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x9c000007,%edi
xor    %esi,%esi
mov    $0x0,%al
call   1040 <setreg@plt>
mov    $0x9c000007,%edi
mov    $0x0,%al
call   1060 <getreg@plt>
cmp    $0x0,%eax
jne    1a60 <register_test+0x920>
jmp    1a73 <register_test+0x933>
lea    0x5b8(%rip),%rdi
mov    $0x132,%esi
mov    $0x0,%al
call   1030 <fail@plt>
mov    $0x9c000007,%edi
mov    $0xff,%esi
mov    $0x0,%al
call   1040 <setreg@plt>
mov    $0x9c000007,%edi
mov    $0x0,%al
call   1060 <getreg@plt>
cmp    $0xff,%eax
jne    1aa0 <register_test+0x960>
jmp    1ab3 <register_test+0x973>
lea    0x578(%rip),%rdi
mov    $0x134,%esi
mov    $0x0,%al
call   1030 <fail@plt>
movl   $0x0,-0x20(%rbp)
cmpl   $0x10,-0x20(%rbp)
jge    1b1f <register_test+0x9df>
mov    -0x20(%rbp),%ecx
mov    $0xdead,%eax
shl    %cl,%eax
mov    %al,-0x21(%rbp)
movzbl -0x21(%rbp),%esi
mov    $0x9c000007,%edi
mov    $0x0,%al
call   1040 <setreg@plt>
mov    $0x9c000007,%edi
mov    $0x0,%al
call   1060 <getreg@plt>
movzbl -0x21(%rbp),%ecx
cmp    %ecx,%eax
jne    1afe <register_test+0x9be>
jmp    1b11 <register_test+0x9d1>
lea    0x51a(%rip),%rdi
mov    $0x138,%esi
mov    $0x0,%al
call   1030 <fail@plt>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    1aba <register_test+0x97a>
mov    $0x9c000007,%edi
mov    $0xa5,%esi
mov    $0x0,%al
call   1040 <setreg@plt>
mov    $0x9c000007,%edi
mov    $0xa5,%esi
mov    $0x0,%al
call   1040 <setreg@plt>
mov    $0x9c000007,%edi
mov    $0xa5,%esi
mov    $0x0,%al
call   1040 <setreg@plt>
mov    $0x9c000007,%edi
mov    $0xa5,%esi
mov    $0x0,%al
call   1040 <setreg@plt>
mov    $0x9c000007,%edi
mov    $0xa5,%esi
mov    $0x0,%al
call   1040 <setreg@plt>
lea    0x494(%rip),%rdi
mov    $0x141,%esi
mov    $0x0,%al
call   1050 <printf@plt>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<register_test>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
lea    0xeb3(%rip),%rdi
call   1030 <puts@plt>
lea    0xe95(%rip),%rdi
mov    $0xc3,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0x9c000000,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
test   %eax,%eax
je     119a <register_test+0x4a>
lea    0xe82(%rip),%rdi
mov    $0xc5,%esi
xor    %eax,%eax
call   1040 <fail@plt>
mov    $0x9c000001,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
test   %eax,%eax
je     11bd <register_test+0x6d>
lea    0xe5f(%rip),%rdi
mov    $0xc6,%esi
xor    %eax,%eax
call   1040 <fail@plt>
mov    $0x9c000002,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
cmp    $0xc1,%eax
je     11e3 <register_test+0x93>
lea    0xe39(%rip),%rdi
mov    $0xc7,%esi
xor    %eax,%eax
call   1040 <fail@plt>
mov    $0x9c000003,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
cmp    $0x3,%eax
je     1207 <register_test+0xb7>
lea    0xe15(%rip),%rdi
mov    $0xc8,%esi
xor    %eax,%eax
call   1040 <fail@plt>
mov    $0x9c000004,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
test   %eax,%eax
je     122a <register_test+0xda>
lea    0xdf2(%rip),%rdi
mov    $0xc9,%esi
xor    %eax,%eax
call   1040 <fail@plt>
mov    $0x9c000005,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
cmp    $0x60,%eax
je     124e <register_test+0xfe>
lea    0xdce(%rip),%rdi
mov    $0xca,%esi
xor    %eax,%eax
call   1040 <fail@plt>
mov    $0x9c000006,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
test   %eax,%eax
je     1271 <register_test+0x121>
lea    0xdab(%rip),%rdi
mov    $0xcb,%esi
xor    %eax,%eax
call   1040 <fail@plt>
mov    $0x9c000007,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
test   %eax,%eax
je     1294 <register_test+0x144>
lea    0xd88(%rip),%rdi
mov    $0xcc,%esi
xor    %eax,%eax
call   1040 <fail@plt>
mov    $0x9c000003,%edi
mov    $0x80,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000000,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
test   %eax,%eax
je     12c8 <register_test+0x178>
lea    0xd54(%rip),%rdi
mov    $0xcf,%esi
xor    %eax,%eax
call   1040 <fail@plt>
mov    $0x9c000001,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
test   %eax,%eax
je     12eb <register_test+0x19b>
lea    0xd31(%rip),%rdi
mov    $0xd0,%esi
xor    %eax,%eax
call   1040 <fail@plt>
mov    $0x9c000003,%edi
xor    %esi,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000003,%edi
xor    %esi,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000003,%edi
xor    %esi,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000003,%edi
xor    %esi,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000003,%edi
xor    %esi,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000003,%edi
xor    %esi,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
lea    0xcba(%rip),%rdi
mov    $0xd9,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0x9c000005,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
mov    %eax,%ebx
not    %eax
movslq %eax,%rsi
mov    $0x9c000005,%edi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000005,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
cmp    %ebx,%eax
je     1394 <register_test+0x244>
lea    0xc88(%rip),%rdi
mov    $0xdf,%esi
xor    %eax,%eax
call   1040 <fail@plt>
mov    $0x9c000005,%edi
mov    $0x1,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000005,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
cmp    %ebx,%eax
je     13c8 <register_test+0x278>
lea    0xc54(%rip),%rdi
mov    $0xe3,%esi
xor    %eax,%eax
call   1040 <fail@plt>
mov    $0x9c000005,%edi
mov    $0x2,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000005,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
cmp    %ebx,%eax
je     13fc <register_test+0x2ac>
lea    0xc20(%rip),%rdi
mov    $0xe3,%esi
xor    %eax,%eax
call   1040 <fail@plt>
mov    $0x9c000005,%edi
mov    $0x4,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000005,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
cmp    %ebx,%eax
je     1430 <register_test+0x2e0>
lea    0xbec(%rip),%rdi
mov    $0xe3,%esi
xor    %eax,%eax
call   1040 <fail@plt>
mov    $0x9c000005,%edi
mov    $0x8,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000005,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
cmp    %ebx,%eax
je     1464 <register_test+0x314>
lea    0xbb8(%rip),%rdi
mov    $0xe3,%esi
xor    %eax,%eax
call   1040 <fail@plt>
mov    $0x9c000005,%edi
mov    $0x10,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000005,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
cmp    %ebx,%eax
je     1498 <register_test+0x348>
lea    0xb84(%rip),%rdi
mov    $0xe3,%esi
xor    %eax,%eax
call   1040 <fail@plt>
mov    $0x9c000005,%edi
mov    $0x20,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000005,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
cmp    %ebx,%eax
je     14cc <register_test+0x37c>
lea    0xb50(%rip),%rdi
mov    $0xe3,%esi
xor    %eax,%eax
call   1040 <fail@plt>
mov    $0x9c000005,%edi
mov    $0x40,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000005,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
cmp    %ebx,%eax
je     1500 <register_test+0x3b0>
lea    0xb1c(%rip),%rdi
mov    $0xe3,%esi
xor    %eax,%eax
call   1040 <fail@plt>
mov    $0x9c000005,%edi
mov    $0x80,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000005,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
cmp    %ebx,%eax
je     1534 <register_test+0x3e4>
lea    0xae8(%rip),%rdi
mov    $0xe3,%esi
xor    %eax,%eax
call   1040 <fail@plt>
mov    $0x9c000005,%edi
mov    $0x100,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000005,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
cmp    %ebx,%eax
je     1568 <register_test+0x418>
lea    0xab4(%rip),%rdi
mov    $0xe3,%esi
xor    %eax,%eax
call   1040 <fail@plt>
mov    $0x9c000006,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
mov    %eax,%ebx
not    %eax
movslq %eax,%rsi
mov    $0x9c000006,%edi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000006,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
cmp    %ebx,%eax
je     15aa <register_test+0x45a>
lea    0xa72(%rip),%rdi
mov    $0xe8,%esi
xor    %eax,%eax
call   1040 <fail@plt>
mov    $0x9c000006,%edi
mov    $0x1,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000006,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
cmp    %ebx,%eax
je     15de <register_test+0x48e>
lea    0xa3e(%rip),%rdi
mov    $0xec,%esi
xor    %eax,%eax
call   1040 <fail@plt>
mov    $0x9c000006,%edi
mov    $0x2,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000006,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
cmp    %ebx,%eax
je     1612 <register_test+0x4c2>
lea    0xa0a(%rip),%rdi
mov    $0xec,%esi
xor    %eax,%eax
call   1040 <fail@plt>
mov    $0x9c000006,%edi
mov    $0x4,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000006,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
cmp    %ebx,%eax
je     1646 <register_test+0x4f6>
lea    0x9d6(%rip),%rdi
mov    $0xec,%esi
xor    %eax,%eax
call   1040 <fail@plt>
mov    $0x9c000006,%edi
mov    $0x8,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000006,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
cmp    %ebx,%eax
je     167a <register_test+0x52a>
lea    0x9a2(%rip),%rdi
mov    $0xec,%esi
xor    %eax,%eax
call   1040 <fail@plt>
mov    $0x9c000006,%edi
mov    $0x10,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000006,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
cmp    %ebx,%eax
je     16ae <register_test+0x55e>
lea    0x96e(%rip),%rdi
mov    $0xec,%esi
xor    %eax,%eax
call   1040 <fail@plt>
mov    $0x9c000006,%edi
mov    $0x20,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000006,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
cmp    %ebx,%eax
je     16e2 <register_test+0x592>
lea    0x93a(%rip),%rdi
mov    $0xec,%esi
xor    %eax,%eax
call   1040 <fail@plt>
mov    $0x9c000006,%edi
mov    $0x40,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000006,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
cmp    %ebx,%eax
je     1716 <register_test+0x5c6>
lea    0x906(%rip),%rdi
mov    $0xec,%esi
xor    %eax,%eax
call   1040 <fail@plt>
mov    $0x9c000006,%edi
mov    $0x80,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000006,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
cmp    %ebx,%eax
je     174a <register_test+0x5fa>
lea    0x8d2(%rip),%rdi
mov    $0xec,%esi
xor    %eax,%eax
call   1040 <fail@plt>
mov    $0x9c000006,%edi
mov    $0x100,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000006,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
cmp    %ebx,%eax
je     177e <register_test+0x62e>
lea    0x89e(%rip),%rdi
mov    $0xec,%esi
xor    %eax,%eax
call   1040 <fail@plt>
lea    0x87b(%rip),%rdi
mov    $0xf0,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0x9c000004,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
test   %eax,%eax
je     17b4 <register_test+0x664>
lea    0x868(%rip),%rdi
mov    $0xf2,%esi
xor    %eax,%eax
call   1040 <fail@plt>
mov    $0x9c000004,%edi
mov    $0x45,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000004,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
test   %eax,%eax
je     17e8 <register_test+0x698>
lea    0x834(%rip),%rdi
mov    $0xf4,%esi
xor    %eax,%eax
call   1040 <fail@plt>
mov    $0x9c000004,%edi
mov    $0xaa,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000004,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
test   %eax,%eax
je     181c <register_test+0x6cc>
lea    0x800(%rip),%rdi
mov    $0xf6,%esi
xor    %eax,%eax
call   1040 <fail@plt>
mov    $0x9c000005,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
test   $0x1f,%al
je     183f <register_test+0x6ef>
lea    0x7dd(%rip),%rdi
mov    $0xf8,%esi
xor    %eax,%eax
call   1040 <fail@plt>
lea    0x7ba(%rip),%rdi
mov    $0xf9,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0x9c000003,%edi
mov    $0x80,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000003,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
cmp    $0x80,%eax
je     1889 <register_test+0x739>
lea    0x793(%rip),%rdi
mov    $0xfd,%esi
xor    %eax,%eax
call   1040 <fail@plt>
lea    0x780(%rip),%r14
xor    %ebp,%ebp
jmp    18a8 <register_test+0x758>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
add    $0x1,%ebp
cmp    $0x10,%ebp
je     1915 <register_test+0x7c5>
mov    $0xdead,%ebx
mov    %ebp,%ecx
shl    %cl,%ebx
movzbl %bh,%esi
mov    $0x9c000001,%edi
mov    %esi,%r15d
xor    %eax,%eax
call   1050 <setreg@plt>
movzbl %bl,%ebx
mov    $0x9c000000,%edi
mov    %ebx,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000000,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
cmp    %ebx,%eax
je     18f3 <register_test+0x7a3>
mov    %r14,%rdi
mov    $0x102,%esi
xor    %eax,%eax
call   1040 <fail@plt>
mov    $0x9c000001,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
cmp    %r15d,%eax
je     18a0 <register_test+0x750>
mov    %r14,%rdi
mov    $0x103,%esi
xor    %eax,%eax
call   1040 <fail@plt>
jmp    18a0 <register_test+0x750>
mov    $0x9c000001,%edi
mov    $0xa1,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000001,%edi
mov    $0xa1,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000001,%edi
mov    $0xa1,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000001,%edi
mov    $0xa1,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000001,%edi
mov    $0xa1,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000005,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
test   $0x1f,%al
je     198d <register_test+0x83d>
lea    0x68f(%rip),%rdi
mov    $0x10b,%esi
xor    %eax,%eax
call   1040 <fail@plt>
lea    0x67c(%rip),%r14
xor    %ebp,%ebp
jmp    19a8 <register_test+0x858>
nopl   0x0(%rax,%rax,1)
add    $0x1,%ebp
cmp    $0x10,%ebp
je     1a18 <register_test+0x8c8>
mov    $0xdead,%ebx
mov    %ebp,%ecx
shl    %cl,%ebx
movzbl %bh,%esi
mov    $0x9c000000,%edi
mov    %esi,%r12d
xor    %eax,%eax
call   1050 <setreg@plt>
movzbl %bl,%r15d
mov    $0x9c000001,%edi
mov    %r15d,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000000,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
cmp    %r12d,%eax
je     19f6 <register_test+0x8a6>
mov    %r14,%rdi
mov    $0x110,%esi
xor    %eax,%eax
call   1040 <fail@plt>
mov    $0x9c000001,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
cmp    %r15d,%eax
je     19a0 <register_test+0x850>
mov    %r14,%rdi
mov    $0x111,%esi
xor    %eax,%eax
call   1040 <fail@plt>
jmp    19a0 <register_test+0x850>
mov    $0x9c000001,%edi
mov    $0xa2,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000001,%edi
mov    $0xa2,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000001,%edi
mov    $0xa2,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000001,%edi
mov    $0xa2,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000001,%edi
mov    $0xa2,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000003,%edi
xor    %esi,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000003,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
test   %eax,%eax
je     1a9e <register_test+0x94e>
lea    0x57e(%rip),%rdi
mov    $0x11a,%esi
xor    %eax,%eax
call   1040 <fail@plt>
mov    $0x9c000005,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
test   $0x1f,%al
je     1ac1 <register_test+0x971>
lea    0x55b(%rip),%rdi
mov    $0x11b,%esi
xor    %eax,%eax
call   1040 <fail@plt>
lea    0x538(%rip),%rdi
mov    $0x11d,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0x9c000003,%edi
mov    $0x1e,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000003,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
cmp    $0x1e,%eax
je     1b09 <register_test+0x9b9>
lea    0x513(%rip),%rdi
mov    $0x123,%esi
xor    %eax,%eax
call   1040 <fail@plt>
mov    $0x9c000003,%edi
mov    $0x3c,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000003,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
cmp    $0x3c,%eax
je     1b3e <register_test+0x9ee>
lea    0x4de(%rip),%rdi
mov    $0x123,%esi
xor    %eax,%eax
call   1040 <fail@plt>
mov    $0x9c000003,%edi
mov    $0x38,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000003,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
cmp    $0x38,%eax
je     1b73 <register_test+0xa23>
lea    0x4a9(%rip),%rdi
mov    $0x123,%esi
xor    %eax,%eax
call   1040 <fail@plt>
mov    $0x9c000003,%edi
mov    $0x30,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000003,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
cmp    $0x30,%eax
je     1ba8 <register_test+0xa58>
lea    0x474(%rip),%rdi
mov    $0x123,%esi
xor    %eax,%eax
call   1040 <fail@plt>
mov    $0x9c000003,%edi
mov    $0x20,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000003,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
cmp    $0x20,%eax
je     1bdd <register_test+0xa8d>
lea    0x43f(%rip),%rdi
mov    $0x123,%esi
xor    %eax,%eax
call   1040 <fail@plt>
mov    $0x9c000003,%edi
xor    %esi,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000003,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
test   %eax,%eax
je     1c0e <register_test+0xabe>
lea    0x40e(%rip),%rdi
mov    $0x123,%esi
xor    %eax,%eax
call   1040 <fail@plt>
mov    $0x9c000005,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
test   $0x1f,%al
je     1c31 <register_test+0xae1>
lea    0x3eb(%rip),%rdi
mov    $0x125,%esi
xor    %eax,%eax
call   1040 <fail@plt>
mov    $0x9c000003,%edi
mov    $0xa3,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000003,%edi
mov    $0xa3,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000003,%edi
mov    $0xa3,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000003,%edi
mov    $0xa3,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000003,%edi
mov    $0xa3,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
lea    0x373(%rip),%rdi
mov    $0x12d,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0x9c000007,%edi
xor    %esi,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000007,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
test   %eax,%eax
je     1cca <register_test+0xb7a>
lea    0x352(%rip),%rdi
mov    $0x132,%esi
xor    %eax,%eax
call   1040 <fail@plt>
mov    $0x9c000007,%edi
mov    $0xff,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000007,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
cmp    $0xff,%eax
je     1d01 <register_test+0xbb1>
lea    0x31b(%rip),%rdi
mov    $0x134,%esi
xor    %eax,%eax
call   1040 <fail@plt>
lea    0x308(%rip),%r14
xor    %ebp,%ebp
jmp    1d18 <register_test+0xbc8>
nopl   0x0(%rax)
add    $0x1,%ebp
cmp    $0x10,%ebp
je     1d53 <register_test+0xc03>
mov    $0xdead,%eax
mov    %ebp,%ecx
shl    %cl,%eax
movzbl %al,%ebx
mov    $0x9c000007,%edi
mov    %ebx,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000007,%edi
xor    %eax,%eax
call   1070 <getreg@plt>
cmp    %ebx,%eax
je     1d10 <register_test+0xbc0>
mov    %r14,%rdi
mov    $0x138,%esi
xor    %eax,%eax
call   1040 <fail@plt>
jmp    1d10 <register_test+0xbc0>
mov    $0x9c000007,%edi
mov    $0xa5,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000007,%edi
mov    $0xa5,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000007,%edi
mov    $0xa5,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000007,%edi
mov    $0xa5,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
mov    $0x9c000007,%edi
mov    $0xa5,%esi
xor    %eax,%eax
call   1050 <setreg@plt>
lea    0x251(%rip),%rdi
mov    $0x141,%esi
xor    %eax,%eax
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    1060 <printf@plt>

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

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