#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*/ printf(char *, unsigned int, unsigned char, unsigned char,
                          ...);
void print_opcode(unsigned char *buffer, unsigned int pcounter) {
  unsigned char *p_code = &buffer[pcounter];
  unsigned int opcode = (p_code[0] << 8) | (p_code[1]);
  unsigned short int _X = (opcode & 0x0F00) >> 8;
  unsigned short int _Y = (opcode & 0x00F0) >> 4;
  unsigned short int _N = (opcode & 0x000F);
  unsigned short int _NN = (opcode & 0x00FF);
  unsigned short int _NNN = (opcode & 0x0FFF);
  switch (opcode & 0xF000) {
  case 0x0000:
    switch (opcode & 0x00FF) {
    case 0x00E0:
      printf("0x%04X - 0x%02X%02X - CLS\n", pcounter, p_code[0], p_code[1]);
      break;
    case 0x00EE:
      printf("0x%04X - 0x%02X%02X - RET\n", pcounter, p_code[0], p_code[1]);
      break;
    default:
      printf("0x%04X - 0x%02X%02X - Unknown\n", pcounter, p_code[0], p_code[1]);
    }
    break;
  case 0x1000:
    printf("0x%04X - 0x%02X%02X - JP 0x%04X\n", pcounter, p_code[0], p_code[1],
           _NNN);
    break;
  case 0x2000:
    printf("0x%04X - 0x%02X%02X - CALL 0x%04X\n", pcounter, p_code[0],
           p_code[1], _NNN);
    break;
  case 0x3000:
    printf("0x%04X - 0x%02X%02X - SE V%X, 0x%02X\n", pcounter, p_code[0],
           p_code[1], _X, _NN);
    break;
  case 0x4000:
    printf("0x%04X - 0x%02X%02X - SNE V%X, 0x%02X\n", pcounter, p_code[0],
           p_code[1], _X, _NN);
    break;
  case 0x5000:
    printf("0x%04X - 0x%02X%02X - SE V%X, V%X\n", pcounter, p_code[0],
           p_code[1], _X, _Y);
    break;
  case 0x6000:
    printf("0x%04X - 0x%02X%02X - LD V%X, 0x%02X\n", pcounter, p_code[0],
           p_code[1], _X, _NN);
    break;
  case 0x7000:
    printf("0x%04X - 0x%02X%02X - ADD V%X, 0x%02X\n", pcounter, p_code[0],
           p_code[1], _X, _NN);
    break;
  case 0x8000:
    printf("0x%04X - 0x%02X%02X - RET\n", pcounter, p_code[0], p_code[1]);
    switch (opcode & 0x000F) {
    case 0x0:
      printf("0x%04X - 0x%02X%02X - LD V%X, V%X\n", pcounter, p_code[0],
             p_code[1], _X, _Y);
      break;
    case 0x1:
      printf("0x%04X - 0x%02X%02X - OR V%X, V%X\n", pcounter, p_code[0],
             p_code[1], _X, _Y);
      break;
    case 0x2:
      printf("0x%04X - 0x%02X%02X - AND V%X, V%X\n", pcounter, p_code[0],
             p_code[1], _X, _Y);
      break;
    case 0x3:
      printf("0x%04X - 0x%02X%02X - XOR V%X, V%X\n", pcounter, p_code[0],
             p_code[1], _X, _Y);
      break;
    case 0x4:
      printf("0x%04X - 0x%02X%02X - ADD V%X, V%X\n", pcounter, p_code[0],
             p_code[1], _X, _Y);
      break;
    case 0x5:
      printf("0x%04X - 0x%02X%02X - SUB V%X, V%X\n", pcounter, p_code[0],
             p_code[1], _X, _Y);
      break;
    case 0x6:
      printf("0x%04X - 0x%02X%02X - SHR V%X, V%X\n", pcounter, p_code[0],
             p_code[1], _X, _Y);
      break;
    case 0x7:
      printf("0x%04X - 0x%02X%02X - SUBN V%X, V%X\n", pcounter, p_code[0],
             p_code[1], _X, _Y);
      break;
    case 0xE:
      printf("0x%04X - 0x%02X%02X - SHL V%X, V%X\n", pcounter, p_code[0],
             p_code[1], _X, _Y);
      break;
    default:
      printf("0x%04X - 0x%02X%02X - Unknown\n", pcounter, p_code[0], p_code[1]);
    }
    break;
  case 0x9000:
    switch (opcode & 0x000F) {
    case 0x0:
      printf("0x%04X - 0x%02X%02X - SNE V%X, V%X\n", pcounter, p_code[0],
             p_code[1], _X, _Y);
      break;
    default:
      printf("0x%04X - 0x%02X%02X - Unknown\n", pcounter, p_code[0], p_code[1]);
    }
    break;
  case 0xA000:
    printf("0x%04X - 0x%02X%02X - LD I, 0x%04X\n", pcounter, p_code[0],
           p_code[1], _NNN);
    break;
  case 0xB000:
    printf("0x%04X - 0x%02X%02X - JP V0, 0x%04X\n", pcounter, p_code[0],
           p_code[1], _NNN);
    break;
  case 0xC000:
    printf("0x%04X - 0x%02X%02X - RND V%X, 0x%02X\n", pcounter, p_code[0],
           p_code[1], _X, _NN);
    break;
  case 0xD000:
    printf("0x%04X - 0x%02X%02X - DRW V%X, V%X, 0x%02X\n", pcounter, p_code[0],
           p_code[1], _X, _Y, _N);
    break;
  case 0xE000:
    printf("0x%04X - 0x%02X%02X - RET\n", pcounter, p_code[0], p_code[1]);
    switch (opcode & 0x00FF) {
    case 0x9E:
      printf("0x%04X - 0x%02X%02X - SKP V%X\n", pcounter, p_code[0], p_code[1],
             _X);
      break;
    case 0xA1:
      printf("0x%04X - 0x%02X%02X - SKNP V%X\n", pcounter, p_code[0], p_code[1],
             _X);
      break;
    default:
      printf("0x%04X - 0x%02X%02X - Unknown\n", pcounter, p_code[0], p_code[1]);
    }
    break;
  case 0xF000:
    switch (opcode & 0x00FF) {
    case 0x07:
      printf("0x%04X - 0x%02X%02X - LD V%X, DT\n", pcounter, p_code[0],
             p_code[1], _X);
      break;
    case 0x0A:
      printf("0x%04X - 0x%02X%02X - LD V%X, K\n", pcounter, p_code[0],
             p_code[1], _X);
      break;
    case 0x15:
      printf("0x%04X - 0x%02X%02X - LD DT, V%X\n", pcounter, p_code[0],
             p_code[1], _X);
      break;
    case 0x18:
      printf("0x%04X - 0x%02X%02X - LD ST, V%X\n", pcounter, p_code[0],
             p_code[1], _X);
      break;
    case 0x1E:
      printf("0x%04X - 0x%02X%02X - ADD I, V%X\n", pcounter, p_code[0],
             p_code[1], _X);
      break;
    case 0x29:
      printf("0x%04X - 0x%02X%02X - LD F, V%X\n", pcounter, p_code[0],
             p_code[1], _X);
      break;
    case 0x33:
      printf("0x%04X - 0x%02X%02X - LD B, V%X\n", pcounter, p_code[0],
             p_code[1], _X);
      break;
    case 0x55:
      printf("0x%04X - 0x%02X%02X - LD [I], V%X\n", pcounter, p_code[0],
             p_code[1], _X);
      break;
    case 0x65:
      printf("0x%04X - 0x%02X%02X - LD V%X, [I]\n", pcounter, p_code[0],
             p_code[1], _X);
      break;
    default:
      printf("0x%04X - 0x%02X%02X - Unknown\n", pcounter, p_code[0], p_code[1]);
    }
    break;
  default:
    printf("0x%04X - 0x%02X%02X - Unknown\n", pcounter, p_code[0], p_code[1]);
  }
}


x86 assembly (clang, -O0):
<print_opcode>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    -0x8(%rbp),%rax
mov    -0xc(%rbp),%ecx
add    %rcx,%rax
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rax
movzwl (%rax),%eax
shl    $0x10,%eax
bswap  %eax
mov    %eax,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
shr    $0x8,%eax
and    $0xf,%eax
mov    %ax,-0x1e(%rbp)
movzbl -0x1c(%rbp),%eax
shr    $0x4,%eax
mov    %ax,-0x20(%rbp)
movzwl -0x1c(%rbp),%eax
and    $0xf,%eax
mov    %ax,-0x22(%rbp)
movzbl -0x1c(%rbp),%eax
mov    %ax,-0x24(%rbp)
movzwl -0x1c(%rbp),%eax
and    $0xfff,%eax
mov    %ax,-0x26(%rbp)
mov    -0x1c(%rbp),%eax
and    $0xf000,%eax
mov    %eax,-0x2c(%rbp)
je     12a7 <print_opcode+0x197>
jmp    118a <print_opcode+0x7a>
mov    -0x2c(%rbp),%eax
sub    $0x1000,%eax
je     1346 <print_opcode+0x236>
jmp    119d <print_opcode+0x8d>
mov    -0x2c(%rbp),%eax
sub    $0x2000,%eax
je     1374 <print_opcode+0x264>
jmp    11b0 <print_opcode+0xa0>
mov    -0x2c(%rbp),%eax
sub    $0x3000,%eax
je     13a2 <print_opcode+0x292>
jmp    11c3 <print_opcode+0xb3>
mov    -0x2c(%rbp),%eax
sub    $0x4000,%eax
je     13d5 <print_opcode+0x2c5>
jmp    11d6 <print_opcode+0xc6>
mov    -0x2c(%rbp),%eax
sub    $0x5000,%eax
je     1408 <print_opcode+0x2f8>
jmp    11e9 <print_opcode+0xd9>
mov    -0x2c(%rbp),%eax
sub    $0x6000,%eax
je     143b <print_opcode+0x32b>
jmp    11fc <print_opcode+0xec>
mov    -0x2c(%rbp),%eax
sub    $0x7000,%eax
je     146e <print_opcode+0x35e>
jmp    120f <print_opcode+0xff>
mov    -0x2c(%rbp),%eax
sub    $0x8000,%eax
je     14a1 <print_opcode+0x391>
jmp    1222 <print_opcode+0x112>
mov    -0x2c(%rbp),%eax
sub    $0x9000,%eax
je     16d6 <print_opcode+0x5c6>
jmp    1235 <print_opcode+0x125>
mov    -0x2c(%rbp),%eax
sub    $0xa000,%eax
je     1740 <print_opcode+0x630>
jmp    1248 <print_opcode+0x138>
mov    -0x2c(%rbp),%eax
sub    $0xb000,%eax
je     176e <print_opcode+0x65e>
jmp    125b <print_opcode+0x14b>
mov    -0x2c(%rbp),%eax
sub    $0xc000,%eax
je     179c <print_opcode+0x68c>
jmp    126e <print_opcode+0x15e>
mov    -0x2c(%rbp),%eax
sub    $0xd000,%eax
je     17cf <print_opcode+0x6bf>
jmp    1281 <print_opcode+0x171>
mov    -0x2c(%rbp),%eax
sub    $0xe000,%eax
je     1809 <print_opcode+0x6f9>
jmp    1294 <print_opcode+0x184>
mov    -0x2c(%rbp),%eax
sub    $0xf000,%eax
je     18d2 <print_opcode+0x7c2>
jmp    1b34 <print_opcode+0xa24>
movzbl -0x1c(%rbp),%eax
mov    %eax,-0x30(%rbp)
sub    $0xe0,%eax
je     12d1 <print_opcode+0x1c1>
jmp    12be <print_opcode+0x1ae>
mov    -0x30(%rbp),%eax
sub    $0xee,%eax
je     12f8 <print_opcode+0x1e8>
jmp    131f <print_opcode+0x20f>
mov    -0xc(%rbp),%esi
mov    -0x18(%rbp),%rax
mov    (%rax),%cl
mov    -0x18(%rbp),%rax
lea    0xd57(%rip),%rdi
movzbl %cl,%edx
movzbl 0x1(%rax),%ecx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1341 <print_opcode+0x231>
mov    -0xc(%rbp),%esi
mov    -0x18(%rbp),%rax
mov    (%rax),%cl
mov    -0x18(%rbp),%rax
lea    0xd4b(%rip),%rdi
movzbl %cl,%edx
movzbl 0x1(%rax),%ecx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1341 <print_opcode+0x231>
mov    -0xc(%rbp),%esi
mov    -0x18(%rbp),%rax
mov    (%rax),%cl
mov    -0x18(%rbp),%rax
lea    0xd3f(%rip),%rdi
movzbl %cl,%edx
movzbl 0x1(%rax),%ecx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1b56 <print_opcode+0xa46>
mov    -0xc(%rbp),%esi
mov    -0x18(%rbp),%rax
mov    (%rax),%cl
mov    -0x18(%rbp),%rax
mov    0x1(%rax),%al
movzwl -0x26(%rbp),%r8d
lea    0xd2f(%rip),%rdi
movzbl %cl,%edx
movzbl %al,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1b56 <print_opcode+0xa46>
mov    -0xc(%rbp),%esi
mov    -0x18(%rbp),%rax
mov    (%rax),%cl
mov    -0x18(%rbp),%rax
mov    0x1(%rax),%al
movzwl -0x26(%rbp),%r8d
lea    0xd22(%rip),%rdi
movzbl %cl,%edx
movzbl %al,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1b56 <print_opcode+0xa46>
mov    -0xc(%rbp),%esi
mov    -0x18(%rbp),%rax
mov    (%rax),%cl
mov    -0x18(%rbp),%rax
mov    0x1(%rax),%al
movzwl -0x1e(%rbp),%r8d
movzwl -0x24(%rbp),%r9d
lea    0xd12(%rip),%rdi
movzbl %cl,%edx
movzbl %al,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1b56 <print_opcode+0xa46>
mov    -0xc(%rbp),%esi
mov    -0x18(%rbp),%rax
mov    (%rax),%cl
mov    -0x18(%rbp),%rax
mov    0x1(%rax),%al
movzwl -0x1e(%rbp),%r8d
movzwl -0x24(%rbp),%r9d
lea    0xd05(%rip),%rdi
movzbl %cl,%edx
movzbl %al,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1b56 <print_opcode+0xa46>
mov    -0xc(%rbp),%esi
mov    -0x18(%rbp),%rax
mov    (%rax),%cl
mov    -0x18(%rbp),%rax
mov    0x1(%rax),%al
movzwl -0x1e(%rbp),%r8d
movzwl -0x20(%rbp),%r9d
lea    0xcf9(%rip),%rdi
movzbl %cl,%edx
movzbl %al,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1b56 <print_opcode+0xa46>
mov    -0xc(%rbp),%esi
mov    -0x18(%rbp),%rax
mov    (%rax),%cl
mov    -0x18(%rbp),%rax
mov    0x1(%rax),%al
movzwl -0x1e(%rbp),%r8d
movzwl -0x24(%rbp),%r9d
lea    0xce9(%rip),%rdi
movzbl %cl,%edx
movzbl %al,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1b56 <print_opcode+0xa46>
mov    -0xc(%rbp),%esi
mov    -0x18(%rbp),%rax
mov    (%rax),%cl
mov    -0x18(%rbp),%rax
mov    0x1(%rax),%al
movzwl -0x1e(%rbp),%r8d
movzwl -0x24(%rbp),%r9d
lea    0xcdc(%rip),%rdi
movzbl %cl,%edx
movzbl %al,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1b56 <print_opcode+0xa46>
mov    -0xc(%rbp),%esi
mov    -0x18(%rbp),%rax
movzbl (%rax),%edx
movzbl 0x1(%rax),%ecx
lea    0xba1(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
mov    -0x1c(%rbp),%eax
and    $0xf,%eax
mov    %rax,-0x38(%rbp)
sub    $0xe,%eax
ja     16af <print_opcode+0x59f>
mov    -0x38(%rbp),%rax
lea    0xb25(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    -0xc(%rbp),%esi
mov    -0x18(%rbp),%rax
mov    (%rax),%cl
mov    -0x18(%rbp),%rax
mov    0x1(%rax),%al
movzwl -0x1e(%rbp),%r8d
movzwl -0x20(%rbp),%r9d
lea    0xc8d(%rip),%rdi
movzbl %cl,%edx
movzbl %al,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    16d1 <print_opcode+0x5c1>
mov    -0xc(%rbp),%esi
mov    -0x18(%rbp),%rax
mov    (%rax),%cl
mov    -0x18(%rbp),%rax
mov    0x1(%rax),%al
movzwl -0x1e(%rbp),%r8d
movzwl -0x20(%rbp),%r9d
lea    0xc7d(%rip),%rdi
movzbl %cl,%edx
movzbl %al,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    16d1 <print_opcode+0x5c1>
mov    -0xc(%rbp),%esi
mov    -0x18(%rbp),%rax
mov    (%rax),%cl
mov    -0x18(%rbp),%rax
mov    0x1(%rax),%al
movzwl -0x1e(%rbp),%r8d
movzwl -0x20(%rbp),%r9d
lea    0xc6d(%rip),%rdi
movzbl %cl,%edx
movzbl %al,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    16d1 <print_opcode+0x5c1>
mov    -0xc(%rbp),%esi
mov    -0x18(%rbp),%rax
mov    (%rax),%cl
mov    -0x18(%rbp),%rax
mov    0x1(%rax),%al
movzwl -0x1e(%rbp),%r8d
movzwl -0x20(%rbp),%r9d
lea    0xc5e(%rip),%rdi
movzbl %cl,%edx
movzbl %al,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    16d1 <print_opcode+0x5c1>
mov    -0xc(%rbp),%esi
mov    -0x18(%rbp),%rax
mov    (%rax),%cl
mov    -0x18(%rbp),%rax
mov    0x1(%rax),%al
movzwl -0x1e(%rbp),%r8d
movzwl -0x20(%rbp),%r9d
lea    0xc4f(%rip),%rdi
movzbl %cl,%edx
movzbl %al,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    16d1 <print_opcode+0x5c1>
mov    -0xc(%rbp),%esi
mov    -0x18(%rbp),%rax
mov    (%rax),%cl
mov    -0x18(%rbp),%rax
mov    0x1(%rax),%al
movzwl -0x1e(%rbp),%r8d
movzwl -0x20(%rbp),%r9d
lea    0xc40(%rip),%rdi
movzbl %cl,%edx
movzbl %al,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    16d1 <print_opcode+0x5c1>
mov    -0xc(%rbp),%esi
mov    -0x18(%rbp),%rax
mov    (%rax),%cl
mov    -0x18(%rbp),%rax
mov    0x1(%rax),%al
movzwl -0x1e(%rbp),%r8d
movzwl -0x20(%rbp),%r9d
lea    0xc31(%rip),%rdi
movzbl %cl,%edx
movzbl %al,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    16d1 <print_opcode+0x5c1>
mov    -0xc(%rbp),%esi
mov    -0x18(%rbp),%rax
mov    (%rax),%cl
mov    -0x18(%rbp),%rax
mov    0x1(%rax),%al
movzwl -0x1e(%rbp),%r8d
movzwl -0x20(%rbp),%r9d
lea    0xc22(%rip),%rdi
movzbl %cl,%edx
movzbl %al,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    16d1 <print_opcode+0x5c1>
mov    -0xc(%rbp),%esi
mov    -0x18(%rbp),%rax
mov    (%rax),%cl
mov    -0x18(%rbp),%rax
mov    0x1(%rax),%al
movzwl -0x1e(%rbp),%r8d
movzwl -0x20(%rbp),%r9d
lea    0xc14(%rip),%rdi
movzbl %cl,%edx
movzbl %al,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    16d1 <print_opcode+0x5c1>
mov    -0xc(%rbp),%esi
mov    -0x18(%rbp),%rax
mov    (%rax),%cl
mov    -0x18(%rbp),%rax
lea    0x9af(%rip),%rdi
movzbl %cl,%edx
movzbl 0x1(%rax),%ecx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1b56 <print_opcode+0xa46>
mov    -0x1c(%rbp),%al
test   $0xf,%al
jne    1719 <print_opcode+0x609>
jmp    16e6 <print_opcode+0x5d6>
mov    -0xc(%rbp),%esi
mov    -0x18(%rbp),%rax
mov    (%rax),%cl
mov    -0x18(%rbp),%rax
mov    0x1(%rax),%al
movzwl -0x1e(%rbp),%r8d
movzwl -0x20(%rbp),%r9d
lea    0xbce(%rip),%rdi
movzbl %cl,%edx
movzbl %al,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    173b <print_opcode+0x62b>
mov    -0xc(%rbp),%esi
mov    -0x18(%rbp),%rax
mov    (%rax),%cl
mov    -0x18(%rbp),%rax
lea    0x945(%rip),%rdi
movzbl %cl,%edx
movzbl 0x1(%rax),%ecx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1b56 <print_opcode+0xa46>
mov    -0xc(%rbp),%esi
mov    -0x18(%rbp),%rax
mov    (%rax),%cl
mov    -0x18(%rbp),%rax
mov    0x1(%rax),%al
movzwl -0x26(%rbp),%r8d
lea    0xb9d(%rip),%rdi
movzbl %cl,%edx
movzbl %al,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1b56 <print_opcode+0xa46>
mov    -0xc(%rbp),%esi
mov    -0x18(%rbp),%rax
mov    (%rax),%cl
mov    -0x18(%rbp),%rax
mov    0x1(%rax),%al
movzwl -0x26(%rbp),%r8d
lea    0xb93(%rip),%rdi
movzbl %cl,%edx
movzbl %al,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1b56 <print_opcode+0xa46>
mov    -0xc(%rbp),%esi
mov    -0x18(%rbp),%rax
mov    (%rax),%cl
mov    -0x18(%rbp),%rax
mov    0x1(%rax),%al
movzwl -0x1e(%rbp),%r8d
movzwl -0x24(%rbp),%r9d
lea    0xb85(%rip),%rdi
movzbl %cl,%edx
movzbl %al,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1b56 <print_opcode+0xa46>
mov    -0xc(%rbp),%esi
mov    -0x18(%rbp),%rax
mov    (%rax),%dl
mov    -0x18(%rbp),%rax
mov    0x1(%rax),%cl
movzwl -0x1e(%rbp),%r8d
movzwl -0x20(%rbp),%r9d
movzwl -0x22(%rbp),%eax
lea    0xb75(%rip),%rdi
movzbl %dl,%edx
movzbl %cl,%ecx
mov    %eax,(%rsp)
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1b56 <print_opcode+0xa46>
mov    -0xc(%rbp),%esi
mov    -0x18(%rbp),%rax
movzbl (%rax),%edx
movzbl 0x1(%rax),%ecx
lea    0x839(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
movzbl -0x1c(%rbp),%eax
mov    %eax,-0x3c(%rbp)
sub    $0x9e,%eax
je     184f <print_opcode+0x73f>
jmp    183c <print_opcode+0x72c>
mov    -0x3c(%rbp),%eax
sub    $0xa1,%eax
je     187d <print_opcode+0x76d>
jmp    18ab <print_opcode+0x79b>
mov    -0xc(%rbp),%esi
mov    -0x18(%rbp),%rax
mov    (%rax),%cl
mov    -0x18(%rbp),%rax
mov    0x1(%rax),%al
movzwl -0x1e(%rbp),%r8d
lea    0xb2a(%rip),%rdi
movzbl %cl,%edx
movzbl %al,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    18cd <print_opcode+0x7bd>
mov    -0xc(%rbp),%esi
mov    -0x18(%rbp),%rax
mov    (%rax),%cl
mov    -0x18(%rbp),%rax
mov    0x1(%rax),%al
movzwl -0x1e(%rbp),%r8d
lea    0xb1b(%rip),%rdi
movzbl %cl,%edx
movzbl %al,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    18cd <print_opcode+0x7bd>
mov    -0xc(%rbp),%esi
mov    -0x18(%rbp),%rax
mov    (%rax),%cl
mov    -0x18(%rbp),%rax
lea    0x7b3(%rip),%rdi
movzbl %cl,%edx
movzbl 0x1(%rax),%ecx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1b56 <print_opcode+0xa46>
movzbl -0x1c(%rbp),%eax
mov    %eax,-0x40(%rbp)
sub    $0x7,%eax
je     196f <print_opcode+0x85f>
jmp    18e7 <print_opcode+0x7d7>
mov    -0x40(%rbp),%eax
sub    $0xa,%eax
je     199d <print_opcode+0x88d>
jmp    18f8 <print_opcode+0x7e8>
mov    -0x40(%rbp),%eax
sub    $0x15,%eax
je     19cb <print_opcode+0x8bb>
jmp    1909 <print_opcode+0x7f9>
mov    -0x40(%rbp),%eax
sub    $0x18,%eax
je     19f9 <print_opcode+0x8e9>
jmp    191a <print_opcode+0x80a>
mov    -0x40(%rbp),%eax
sub    $0x1e,%eax
je     1a27 <print_opcode+0x917>
jmp    192b <print_opcode+0x81b>
mov    -0x40(%rbp),%eax
sub    $0x29,%eax
je     1a55 <print_opcode+0x945>
jmp    193c <print_opcode+0x82c>
mov    -0x40(%rbp),%eax
sub    $0x33,%eax
je     1a83 <print_opcode+0x973>
jmp    194d <print_opcode+0x83d>
mov    -0x40(%rbp),%eax
sub    $0x55,%eax
je     1ab1 <print_opcode+0x9a1>
jmp    195e <print_opcode+0x84e>
mov    -0x40(%rbp),%eax
sub    $0x65,%eax
je     1adf <print_opcode+0x9cf>
jmp    1b0d <print_opcode+0x9fd>
mov    -0xc(%rbp),%esi
mov    -0x18(%rbp),%rax
mov    (%rax),%cl
mov    -0x18(%rbp),%rax
mov    0x1(%rax),%al
movzwl -0x1e(%rbp),%r8d
lea    0xa49(%rip),%rdi
movzbl %cl,%edx
movzbl %al,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1b2f <print_opcode+0xa1f>
mov    -0xc(%rbp),%esi
mov    -0x18(%rbp),%rax
mov    (%rax),%cl
mov    -0x18(%rbp),%rax
mov    0x1(%rax),%al
movzwl -0x1e(%rbp),%r8d
lea    0xa3d(%rip),%rdi
movzbl %cl,%edx
movzbl %al,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1b2f <print_opcode+0xa1f>
mov    -0xc(%rbp),%esi
mov    -0x18(%rbp),%rax
mov    (%rax),%cl
mov    -0x18(%rbp),%rax
mov    0x1(%rax),%al
movzwl -0x1e(%rbp),%r8d
lea    0xa30(%rip),%rdi
movzbl %cl,%edx
movzbl %al,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1b2f <print_opcode+0xa1f>
mov    -0xc(%rbp),%esi
mov    -0x18(%rbp),%rax
mov    (%rax),%cl
mov    -0x18(%rbp),%rax
mov    0x1(%rax),%al
movzwl -0x1e(%rbp),%r8d
lea    0xa24(%rip),%rdi
movzbl %cl,%edx
movzbl %al,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1b2f <print_opcode+0xa1f>
mov    -0xc(%rbp),%esi
mov    -0x18(%rbp),%rax
mov    (%rax),%cl
mov    -0x18(%rbp),%rax
mov    0x1(%rax),%al
movzwl -0x1e(%rbp),%r8d
lea    0xa18(%rip),%rdi
movzbl %cl,%edx
movzbl %al,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1b2f <print_opcode+0xa1f>
mov    -0xc(%rbp),%esi
mov    -0x18(%rbp),%rax
mov    (%rax),%cl
mov    -0x18(%rbp),%rax
mov    0x1(%rax),%al
movzwl -0x1e(%rbp),%r8d
lea    0xa0c(%rip),%rdi
movzbl %cl,%edx
movzbl %al,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1b2f <print_opcode+0xa1f>
mov    -0xc(%rbp),%esi
mov    -0x18(%rbp),%rax
mov    (%rax),%cl
mov    -0x18(%rbp),%rax
mov    0x1(%rax),%al
movzwl -0x1e(%rbp),%r8d
lea    0x9ff(%rip),%rdi
movzbl %cl,%edx
movzbl %al,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1b2f <print_opcode+0xa1f>
mov    -0xc(%rbp),%esi
mov    -0x18(%rbp),%rax
mov    (%rax),%cl
mov    -0x18(%rbp),%rax
mov    0x1(%rax),%al
movzwl -0x1e(%rbp),%r8d
lea    0x9f2(%rip),%rdi
movzbl %cl,%edx
movzbl %al,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1b2f <print_opcode+0xa1f>
mov    -0xc(%rbp),%esi
mov    -0x18(%rbp),%rax
mov    (%rax),%cl
mov    -0x18(%rbp),%rax
mov    0x1(%rax),%al
movzwl -0x1e(%rbp),%r8d
lea    0x9e7(%rip),%rdi
movzbl %cl,%edx
movzbl %al,%ecx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1b2f <print_opcode+0xa1f>
mov    -0xc(%rbp),%esi
mov    -0x18(%rbp),%rax
mov    (%rax),%cl
mov    -0x18(%rbp),%rax
lea    0x551(%rip),%rdi
movzbl %cl,%edx
movzbl 0x1(%rax),%ecx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1b56 <print_opcode+0xa46>
mov    -0xc(%rbp),%esi
mov    -0x18(%rbp),%rax
mov    (%rax),%cl
mov    -0x18(%rbp),%rax
lea    0x52a(%rip),%rdi
movzbl %cl,%edx
movzbl 0x1(%rax),%ecx
mov    $0x0,%al
call   1030 <printf@plt>
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_opcode>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %esi,%r14d
mov    %esi,%edx
lea    (%rdi,%rdx,1),%r12
movzbl (%rdi,%rdx,1),%eax
mov    %eax,%ecx
shl    $0x8,%ecx
movzbl 0x1(%rdi,%rdx,1),%ebx
or     %ebx,%ecx
mov    %eax,%r13d
and    $0xf,%r13d
mov    %ebx,%r15d
shr    $0x4,%r15d
mov    %ebx,%ebp
and    $0xf,%ebp
and    $0xfff,%ecx
mov    %rax,%rdx
shr    $0x4,%rdx
lea    0xea5(%rip),%rsi
movslq (%rsi,%rdx,4),%rdx
add    %rsi,%rdx
jmp    *%rdx
cmp    $0xee,%bl
je     13a8 <print_opcode+0x298>
cmp    $0xe0,%bl
jne    126a <print_opcode+0x15a>
movzbl %al,%edx
lea    0x1038(%rip),%rdi
mov    %r14d,%esi
mov    $0xe0,%ecx
jmp    13ba <print_opcode+0x2aa>
movzwl %cx,%r8d
movzbl %al,%edx
lea    0x1072(%rip),%rdi
jmp    129c <print_opcode+0x18c>
movzwl %cx,%r8d
movzbl %al,%edx
lea    0x1080(%rip),%rdi
jmp    129c <print_opcode+0x18c>
movzbl %al,%edx
lea    0x1094(%rip),%rdi
mov    %r14d,%esi
mov    %ebx,%ecx
mov    %r13d,%r8d
jmp    12c9 <print_opcode+0x1b9>
movzbl %r13b,%r8d
movzbl %al,%edx
lea    0x109f(%rip),%rdi
jmp    12c4 <print_opcode+0x1b4>
movzbl %r13b,%r8d
movzbl %al,%edx
lea    0x10b3(%rip),%rdi
jmp    139e <print_opcode+0x28e>
movzbl %r13b,%r8d
movzbl %al,%edx
lea    0x10c3(%rip),%rdi
jmp    12c4 <print_opcode+0x1b4>
movzbl %r13b,%r8d
movzbl %al,%edx
lea    0x10d6(%rip),%rdi
jmp    12c4 <print_opcode+0x1b4>
movzbl %al,%edx
lea    0xfb3(%rip),%rdi
mov    %r14d,%esi
mov    %ebx,%ecx
xor    %eax,%eax
call   1030 <printf@plt>
cmp    $0xe,%ebp
ja     1379 <print_opcode+0x269>
mov    %ebp,%eax
lea    0xf3e(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
movzbl (%r12),%edx
movzbl 0x1(%r12),%ecx
movzbl %r13b,%r8d
lea    0x10b1(%rip),%rdi
jmp    14d5 <print_opcode+0x3c5>
test   %ebp,%ebp
je     1390 <print_opcode+0x280>
movzbl %al,%edx
lea    0xf7a(%rip),%rdi
mov    %r14d,%esi
mov    %ebx,%ecx
jmp    13ba <print_opcode+0x2aa>
movzwl %cx,%r8d
movzbl %al,%edx
lea    0x11e9(%rip),%rdi
jmp    129c <print_opcode+0x18c>
movzwl %cx,%r8d
movzbl %al,%edx
lea    0x11fd(%rip),%rdi
mov    %r14d,%esi
mov    %ebx,%ecx
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <printf@plt>
movzbl %r13b,%r8d
movzbl %al,%edx
lea    0x11fa(%rip),%rdi
mov    %r14d,%esi
mov    %ebx,%ecx
mov    %ebx,%r9d
jmp    14db <print_opcode+0x3cb>
movzbl %r13b,%r8d
mov    %ebp,(%rsp)
movzbl %al,%edx
lea    0x1203(%rip),%rdi
mov    %r14d,%esi
mov    %ebx,%ecx
mov    %r15d,%r9d
xor    %eax,%eax
call   1030 <printf@plt>
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
movzbl %al,%edx
lea    0xec9(%rip),%rdi
mov    %r14d,%esi
mov    %ebx,%ecx
xor    %eax,%eax
call   1030 <printf@plt>
cmp    $0xa1,%bl
je     13cf <print_opcode+0x2bf>
cmp    $0x9e,%bl
jne    1379 <print_opcode+0x269>
movzbl (%r12),%edx
movzbl 0x1(%r12),%ecx
movzbl %r13b,%r8d
lea    0x11d7(%rip),%rdi
jmp    13e5 <print_opcode+0x2d5>
lea    -0x7(%rbx),%ecx
cmp    $0x4e,%cl
ja     13ed <print_opcode+0x2dd>
movzbl %cl,%ecx
lea    0xceb(%rip),%rdx
movslq (%rdx,%rcx,4),%rcx
add    %rdx,%rcx
jmp    *%rcx
movzbl %r13b,%r8d
movzbl %al,%edx
lea    0x11e4(%rip),%rdi
mov    %r14d,%esi
mov    $0x7,%ecx
jmp    12a1 <print_opcode+0x191>
movzbl (%r12),%edx
movzbl 0x1(%r12),%ecx
lea    0xe63(%rip),%rdi
mov    %r14d,%esi
jmp    13ba <print_opcode+0x2aa>
movzbl %r13b,%r8d
movzbl %al,%edx
lea    0x10b3(%rip),%rdi
mov    %r14d,%esi
mov    %ebx,%ecx
jmp    14d8 <print_opcode+0x3c8>
movzbl %al,%edx
lea    0xe21(%rip),%rdi
mov    %r14d,%esi
mov    $0xee,%ecx
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <printf@plt>
movzbl (%r12),%edx
movzbl 0x1(%r12),%ecx
movzbl %r13b,%r8d
lea    0x114b(%rip),%rdi
mov    %r14d,%esi
jmp    12a1 <print_opcode+0x191>
cmp    $0x65,%bl
jne    126a <print_opcode+0x15a>
movzbl %r13b,%r8d
movzbl %al,%edx
lea    0x125a(%rip),%rdi
mov    %r14d,%esi
mov    $0x65,%ecx
jmp    12a1 <print_opcode+0x191>
movzbl (%r12),%edx
movzbl 0x1(%r12),%ecx
movzbl %r13b,%r8d
lea    0xf0a(%rip),%rdi
jmp    14d5 <print_opcode+0x3c5>
movzbl (%r12),%edx
movzbl 0x1(%r12),%ecx
movzbl %r13b,%r8d
lea    0xf12(%rip),%rdi
jmp    14d5 <print_opcode+0x3c5>
movzbl (%r12),%edx
movzbl 0x1(%r12),%ecx
movzbl %r13b,%r8d
lea    0xf1b(%rip),%rdi
jmp    14d5 <print_opcode+0x3c5>
movzbl (%r12),%edx
movzbl 0x1(%r12),%ecx
movzbl %r13b,%r8d
lea    0xf27(%rip),%rdi
jmp    14d5 <print_opcode+0x3c5>
movzbl (%r12),%edx
movzbl 0x1(%r12),%ecx
movzbl %r13b,%r8d
lea    0xf33(%rip),%rdi
jmp    14d5 <print_opcode+0x3c5>
movzbl (%r12),%edx
movzbl 0x1(%r12),%ecx
movzbl %r13b,%r8d
lea    0xf3f(%rip),%rdi
jmp    14d5 <print_opcode+0x3c5>
movzbl (%r12),%edx
movzbl 0x1(%r12),%ecx
movzbl %r13b,%r8d
lea    0xf4b(%rip),%rdi
jmp    14d5 <print_opcode+0x3c5>
movzbl (%r12),%edx
movzbl 0x1(%r12),%ecx
movzbl %r13b,%r8d
lea    0xf58(%rip),%rdi
mov    %r14d,%esi
mov    %r15d,%r9d
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <printf@plt>
movzbl %r13b,%r8d
movzbl %al,%edx
lea    0x1074(%rip),%rdi
mov    %r14d,%esi
mov    $0xa,%ecx
jmp    12a1 <print_opcode+0x191>
movzbl %r13b,%r8d
movzbl %al,%edx
lea    0x107a(%rip),%rdi
mov    %r14d,%esi
mov    $0x15,%ecx
jmp    12a1 <print_opcode+0x191>
movzbl %r13b,%r8d
movzbl %al,%edx
lea    0x1081(%rip),%rdi
mov    %r14d,%esi
mov    $0x18,%ecx
jmp    12a1 <print_opcode+0x191>
movzbl %r13b,%r8d
movzbl %al,%edx
lea    0x1088(%rip),%rdi
mov    %r14d,%esi
mov    $0x1e,%ecx
jmp    12a1 <print_opcode+0x191>
movzbl %r13b,%r8d
movzbl %al,%edx
lea    0x108f(%rip),%rdi
mov    %r14d,%esi
mov    $0x29,%ecx
jmp    12a1 <print_opcode+0x191>
movzbl %r13b,%r8d
movzbl %al,%edx
lea    0x1095(%rip),%rdi
mov    %r14d,%esi
mov    $0x33,%ecx
jmp    12a1 <print_opcode+0x191>
movzbl %r13b,%r8d
movzbl %al,%edx
lea    0x109b(%rip),%rdi
mov    %r14d,%esi
mov    $0x55,%ecx
jmp    12a1 <print_opcode+0x191>

LLVM IR (-O0):
@.str = [27 x i8] c"0x%04X - 0x%02X%02X - CLS\0A\00"
@.str.1 = [27 x i8] c"0x%04X - 0x%02X%02X - RET\0A\00"
@.str.2 = [31 x i8] c"0x%04X - 0x%02X%02X - Unknown\0A\00"
@.str.3 = [33 x i8] c"0x%04X - 0x%02X%02X - JP 0x%04X\0A\00"
@.str.4 = [35 x i8] c"0x%04X - 0x%02X%02X - CALL 0x%04X\0A\00"
@.str.5 = [38 x i8] c"0x%04X - 0x%02X%02X - SE V%X, 0x%02X\0A\00"
@.str.6 = [39 x i8] c"0x%04X - 0x%02X%02X - SNE V%X, 0x%02X\0A\00"
@.str.7 = [35 x i8] c"0x%04X - 0x%02X%02X - SE V%X, V%X\0A\00"
@.str.8 = [38 x i8] c"0x%04X - 0x%02X%02X - LD V%X, 0x%02X\0A\00"
@.str.9 = [39 x i8] c"0x%04X - 0x%02X%02X - ADD V%X, 0x%02X\0A\00"
@.str.10 = [35 x i8] c"0x%04X - 0x%02X%02X - LD V%X, V%X\0A\00"
@.str.11 = [35 x i8] c"0x%04X - 0x%02X%02X - OR V%X, V%X\0A\00"
@.str.12 = [36 x i8] c"0x%04X - 0x%02X%02X - AND V%X, V%X\0A\00"
@.str.13 = [36 x i8] c"0x%04X - 0x%02X%02X - XOR V%X, V%X\0A\00"
@.str.14 = [36 x i8] c"0x%04X - 0x%02X%02X - ADD V%X, V%X\0A\00"
@.str.15 = [36 x i8] c"0x%04X - 0x%02X%02X - SUB V%X, V%X\0A\00"
@.str.16 = [36 x i8] c"0x%04X - 0x%02X%02X - SHR V%X, V%X\0A\00"
@.str.17 = [37 x i8] c"0x%04X - 0x%02X%02X - SUBN V%X, V%X\0A\00"
@.str.18 = [36 x i8] c"0x%04X - 0x%02X%02X - SHL V%X, V%X\0A\00"
@.str.19 = [36 x i8] c"0x%04X - 0x%02X%02X - SNE V%X, V%X\0A\00"
@.str.20 = [36 x i8] c"0x%04X - 0x%02X%02X - LD I, 0x%04X\0A\00"
@.str.21 = [37 x i8] c"0x%04X - 0x%02X%02X - JP V0, 0x%04X\0A\00"
@.str.22 = [39 x i8] c"0x%04X - 0x%02X%02X - RND V%X, 0x%02X\0A\00"
@.str.23 = [44 x i8] c"0x%04X - 0x%02X%02X - DRW V%X, V%X, 0x%02X\0A\00"
@.str.24 = [31 x i8] c"0x%04X - 0x%02X%02X - SKP V%X\0A\00"
@.str.25 = [32 x i8] c"0x%04X - 0x%02X%02X - SKNP V%X\0A\00"
@.str.26 = [34 x i8] c"0x%04X - 0x%02X%02X - LD V%X, DT\0A\00"
@.str.27 = [33 x i8] c"0x%04X - 0x%02X%02X - LD V%X, K\0A\00"
@.str.28 = [34 x i8] c"0x%04X - 0x%02X%02X - LD DT, V%X\0A\00"
@.str.29 = [34 x i8] c"0x%04X - 0x%02X%02X - LD ST, V%X\0A\00"
@.str.30 = [34 x i8] c"0x%04X - 0x%02X%02X - ADD I, V%X\0A\00"
@.str.31 = [33 x i8] c"0x%04X - 0x%02X%02X - LD F, V%X\0A\00"
@.str.32 = [33 x i8] c"0x%04X - 0x%02X%02X - LD B, V%X\0A\00"
@.str.33 = [35 x i8] c"0x%04X - 0x%02X%02X - LD [I], V%X\0A\00"
@.str.34 = [35 x i8] c"0x%04X - 0x%02X%02X - LD V%X, [I]\0A\00"
define void @print_opcode(i8* %0, i32 %1) {
%3 = alloca i8*
%4 = alloca i32
%5 = alloca i8*
%6 = alloca i32
%7 = alloca i16
%8 = alloca i16
%9 = alloca i16
%10 = alloca i16
%11 = alloca i16
store i8* %0, i8** %3
store i32 %1, i32* %4
%12 = load i8*, i8** %3
%13 = load i32, i32* %4
%14 = zext i32 %13 to i64
%15 = getelementptr inbounds i8, i8* %12, i64 %14
store i8* %15, i8** %5
%16 = load i8*, i8** %5
%17 = getelementptr inbounds i8, i8* %16, i64 0
%18 = load i8, i8* %17
%19 = zext i8 %18 to i32
%20 = shl i32 %19, 8
%21 = load i8*, i8** %5
%22 = getelementptr inbounds i8, i8* %21, i64 1
%23 = load i8, i8* %22
%24 = zext i8 %23 to i32
%25 = or i32 %20, %24
store i32 %25, i32* %6
%26 = load i32, i32* %6
%27 = and i32 %26, 3840
%28 = lshr i32 %27, 8
%29 = trunc i32 %28 to i16
store i16 %29, i16* %7
%30 = load i32, i32* %6
%31 = and i32 %30, 240
%32 = lshr i32 %31, 4
%33 = trunc i32 %32 to i16
store i16 %33, i16* %8
%34 = load i32, i32* %6
%35 = and i32 %34, 15
%36 = trunc i32 %35 to i16
store i16 %36, i16* %9
%37 = load i32, i32* %6
%38 = and i32 %37, 255
%39 = trunc i32 %38 to i16
store i16 %39, i16* %10
%40 = load i32, i32* %6
%41 = and i32 %40, 4095
%42 = trunc i32 %41 to i16
store i16 %42, i16* %11
%43 = load i32, i32* %6
%44 = and i32 %43, 61440
switch i32 %44, label %532 [
i32 0, label %45
i32 4096, label %76
i32 8192, label %87
i32 12288, label %98
i32 16384, label %111
i32 20480, label %124
i32 24576, label %137
i32 28672, label %150
i32 32768, label %163
i32 36864, label %301
i32 40960, label %327
i32 45056, label %338
i32 49152, label %349
i32 53248, label %362
i32 57344, label %377
i32 61440, label %420
]
45: ; preds = %2
%46 = load i32, i32* %6
%47 = and i32 %46, 255
switch i32 %47, label %66 [
i32 224, label %48
i32 238, label %57
]
48: ; preds = %45
%49 = load i32, i32* %4
%50 = load i8*, i8** %5
%51 = getelementptr inbounds i8, i8* %50, i64 0
%52 = load i8, i8* %51
%53 = load i8*, i8** %5
%54 = getelementptr inbounds i8, i8* %53, i64 1
%55 = load i8, i8* %54
%56 = call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0), i32 %49, i8 zeroext %52, i8 zeroext %55)
br label %75
57: ; preds = %45
%58 = load i32, i32* %4
%59 = load i8*, i8** %5
%60 = getelementptr inbounds i8, i8* %59, i64 0
%61 = load i8, i8* %60
%62 = load i8*, i8** %5
%63 = getelementptr inbounds i8, i8* %62, i64 1
%64 = load i8, i8* %63
%65 = call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.1, i64 0, i64 0), i32 %58, i8 zeroext %61, i8 zeroext %64)
br label %75
66: ; preds = %45
%67 = load i32, i32* %4
%68 = load i8*, i8** %5
%69 = getelementptr inbounds i8, i8* %68, i64 0
%70 = load i8, i8* %69
%71 = load i8*, i8** %5
%72 = getelementptr inbounds i8, i8* %71, i64 1
%73 = load i8, i8* %72
%74 = call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.2, i64 0, i64 0), i32 %67, i8 zeroext %70, i8 zeroext %73)
br label %75
75: ; preds = %66, %57, %48
br label %541
76: ; preds = %2
%77 = load i32, i32* %4
%78 = load i8*, i8** %5
%79 = getelementptr inbounds i8, i8* %78, i64 0
%80 = load i8, i8* %79
%81 = load i8*, i8** %5
%82 = getelementptr inbounds i8, i8* %81, i64 1
%83 = load i8, i8* %82
%84 = load i16, i16* %11
%85 = zext i16 %84 to i32
%86 = call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.3, i64 0, i64 0), i32 %77, i8 zeroext %80, i8 zeroext %83, i32 %85)
br label %541
87: ; preds = %2
%88 = load i32, i32* %4
%89 = load i8*, i8** %5
%90 = getelementptr inbounds i8, i8* %89, i64 0
%91 = load i8, i8* %90
%92 = load i8*, i8** %5
%93 = getelementptr inbounds i8, i8* %92, i64 1
%94 = load i8, i8* %93
%95 = load i16, i16* %11
%96 = zext i16 %95 to i32
%97 = call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.4, i64 0, i64 0), i32 %88, i8 zeroext %91, i8 zeroext %94, i32 %96)
br label %541
98: ; preds = %2
%99 = load i32, i32* %4
%100 = load i8*, i8** %5
%101 = getelementptr inbounds i8, i8* %100, i64 0
%102 = load i8, i8* %101
%103 = load i8*, i8** %5
%104 = getelementptr inbounds i8, i8* %103, i64 1
%105 = load i8, i8* %104
%106 = load i16, i16* %7
%107 = zext i16 %106 to i32
%108 = load i16, i16* %10
%109 = zext i16 %108 to i32
%110 = call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.5, i64 0, i64 0), i32 %99, i8 zeroext %102, i8 zeroext %105, i32 %107, i32 %109)
br label %541
111: ; preds = %2
%112 = load i32, i32* %4
%113 = load i8*, i8** %5
%114 = getelementptr inbounds i8, i8* %113, i64 0
%115 = load i8, i8* %114
%116 = load i8*, i8** %5
%117 = getelementptr inbounds i8, i8* %116, i64 1
%118 = load i8, i8* %117
%119 = load i16, i16* %7
%120 = zext i16 %119 to i32
%121 = load i16, i16* %10
%122 = zext i16 %121 to i32
%123 = call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.6, i64 0, i64 0), i32 %112, i8 zeroext %115, i8 zeroext %118, i32 %120, i32 %122)
br label %541
124: ; preds = %2
%125 = load i32, i32* %4
%126 = load i8*, i8** %5
%127 = getelementptr inbounds i8, i8* %126, i64 0
%128 = load i8, i8* %127
%129 = load i8*, i8** %5
%130 = getelementptr inbounds i8, i8* %129, i64 1
%131 = load i8, i8* %130
%132 = load i16, i16* %7
%133 = zext i16 %132 to i32
%134 = load i16, i16* %8
%135 = zext i16 %134 to i32
%136 = call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.7, i64 0, i64 0), i32 %125, i8 zeroext %128, i8 zeroext %131, i32 %133, i32 %135)
br label %541
137: ; preds = %2
%138 = load i32, i32* %4
%139 = load i8*, i8** %5
%140 = getelementptr inbounds i8, i8* %139, i64 0
%141 = load i8, i8* %140
%142 = load i8*, i8** %5
%143 = getelementptr inbounds i8, i8* %142, i64 1
%144 = load i8, i8* %143
%145 = load i16, i16* %7
%146 = zext i16 %145 to i32
%147 = load i16, i16* %10
%148 = zext i16 %147 to i32
%149 = call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.8, i64 0, i64 0), i32 %138, i8 zeroext %141, i8 zeroext %144, i32 %146, i32 %148)
br label %541
150: ; preds = %2
%151 = load i32, i32* %4
%152 = load i8*, i8** %5
%153 = getelementptr inbounds i8, i8* %152, i64 0
%154 = load i8, i8* %153
%155 = load i8*, i8** %5
%156 = getelementptr inbounds i8, i8* %155, i64 1
%157 = load i8, i8* %156
%158 = load i16, i16* %7
%159 = zext i16 %158 to i32
%160 = load i16, i16* %10
%161 = zext i16 %160 to i32
%162 = call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.9, i64 0, i64 0), i32 %151, i8 zeroext %154, i8 zeroext %157, i32 %159, i32 %161)
br label %541
163: ; preds = %2
%164 = load i32, i32* %4
%165 = load i8*, i8** %5
%166 = getelementptr inbounds i8, i8* %165, i64 0
%167 = load i8, i8* %166
%168 = load i8*, i8** %5
%169 = getelementptr inbounds i8, i8* %168, i64 1
%170 = load i8, i8* %169
%171 = call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.1, i64 0, i64 0), i32 %164, i8 zeroext %167, i8 zeroext %170)
%172 = load i32, i32* %6
%173 = and i32 %172, 15
switch i32 %173, label %291 [
i32 0, label %174
i32 1, label %187
i32 2, label %200
i32 3, label %213
i32 4, label %226
i32 5, label %239
i32 6, label %252
i32 7, label %265
i32 14, label %278
]
174: ; preds = %163
%175 = load i32, i32* %4
%176 = load i8*, i8** %5
%177 = getelementptr inbounds i8, i8* %176, i64 0
%178 = load i8, i8* %177
%179 = load i8*, i8** %5
%180 = getelementptr inbounds i8, i8* %179, i64 1
%181 = load i8, i8* %180
%182 = load i16, i16* %7
%183 = zext i16 %182 to i32
%184 = load i16, i16* %8
%185 = zext i16 %184 to i32
%186 = call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.10, i64 0, i64 0), i32 %175, i8 zeroext %178, i8 zeroext %181, i32 %183, i32 %185)
br label %300
187: ; preds = %163
%188 = load i32, i32* %4
%189 = load i8*, i8** %5
%190 = getelementptr inbounds i8, i8* %189, i64 0
%191 = load i8, i8* %190
%192 = load i8*, i8** %5
%193 = getelementptr inbounds i8, i8* %192, i64 1
%194 = load i8, i8* %193
%195 = load i16, i16* %7
%196 = zext i16 %195 to i32
%197 = load i16, i16* %8
%198 = zext i16 %197 to i32
%199 = call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.11, i64 0, i64 0), i32 %188, i8 zeroext %191, i8 zeroext %194, i32 %196, i32 %198)
br label %300
200: ; preds = %163
%201 = load i32, i32* %4
%202 = load i8*, i8** %5
%203 = getelementptr inbounds i8, i8* %202, i64 0
%204 = load i8, i8* %203
%205 = load i8*, i8** %5
%206 = getelementptr inbounds i8, i8* %205, i64 1
%207 = load i8, i8* %206
%208 = load i16, i16* %7
%209 = zext i16 %208 to i32
%210 = load i16, i16* %8
%211 = zext i16 %210 to i32
%212 = call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.12, i64 0, i64 0), i32 %201, i8 zeroext %204, i8 zeroext %207, i32 %209, i32 %211)
br label %300
213: ; preds = %163
%214 = load i32, i32* %4
%215 = load i8*, i8** %5
%216 = getelementptr inbounds i8, i8* %215, i64 0
%217 = load i8, i8* %216
%218 = load i8*, i8** %5
%219 = getelementptr inbounds i8, i8* %218, i64 1
%220 = load i8, i8* %219
%221 = load i16, i16* %7
%222 = zext i16 %221 to i32
%223 = load i16, i16* %8
%224 = zext i16 %223 to i32
%225 = call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.13, i64 0, i64 0), i32 %214, i8 zeroext %217, i8 zeroext %220, i32 %222, i32 %224)
br label %300
226: ; preds = %163
%227 = load i32, i32* %4
%228 = load i8*, i8** %5
%229 = getelementptr inbounds i8, i8* %228, i64 0
%230 = load i8, i8* %229
%231 = load i8*, i8** %5
%232 = getelementptr inbounds i8, i8* %231, i64 1
%233 = load i8, i8* %232
%234 = load i16, i16* %7
%235 = zext i16 %234 to i32
%236 = load i16, i16* %8
%237 = zext i16 %236 to i32
%238 = call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.14, i64 0, i64 0), i32 %227, i8 zeroext %230, i8 zeroext %233, i32 %235, i32 %237)
br label %300
239: ; preds = %163
%240 = load i32, i32* %4
%241 = load i8*, i8** %5
%242 = getelementptr inbounds i8, i8* %241, i64 0
%243 = load i8, i8* %242
%244 = load i8*, i8** %5
%245 = getelementptr inbounds i8, i8* %244, i64 1
%246 = load i8, i8* %245
%247 = load i16, i16* %7
%248 = zext i16 %247 to i32
%249 = load i16, i16* %8
%250 = zext i16 %249 to i32
%251 = call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.15, i64 0, i64 0), i32 %240, i8 zeroext %243, i8 zeroext %246, i32 %248, i32 %250)
br label %300
252: ; preds = %163
%253 = load i32, i32* %4
%254 = load i8*, i8** %5
%255 = getelementptr inbounds i8, i8* %254, i64 0
%256 = load i8, i8* %255
%257 = load i8*, i8** %5
%258 = getelementptr inbounds i8, i8* %257, i64 1
%259 = load i8, i8* %258
%260 = load i16, i16* %7
%261 = zext i16 %260 to i32
%262 = load i16, i16* %8
%263 = zext i16 %262 to i32
%264 = call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.16, i64 0, i64 0), i32 %253, i8 zeroext %256, i8 zeroext %259, i32 %261, i32 %263)
br label %300
265: ; preds = %163
%266 = load i32, i32* %4
%267 = load i8*, i8** %5
%268 = getelementptr inbounds i8, i8* %267, i64 0
%269 = load i8, i8* %268
%270 = load i8*, i8** %5
%271 = getelementptr inbounds i8, i8* %270, i64 1
%272 = load i8, i8* %271
%273 = load i16, i16* %7
%274 = zext i16 %273 to i32
%275 = load i16, i16* %8
%276 = zext i16 %275 to i32
%277 = call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.17, i64 0, i64 0), i32 %266, i8 zeroext %269, i8 zeroext %272, i32 %274, i32 %276)
br label %300
278: ; preds = %163
%279 = load i32, i32* %4
%280 = load i8*, i8** %5
%281 = getelementptr inbounds i8, i8* %280, i64 0
%282 = load i8, i8* %281
%283 = load i8*, i8** %5
%284 = getelementptr inbounds i8, i8* %283, i64 1
%285 = load i8, i8* %284
%286 = load i16, i16* %7
%287 = zext i16 %286 to i32
%288 = load i16, i16* %8
%289 = zext i16 %288 to i32
%290 = call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.18, i64 0, i64 0), i32 %279, i8 zeroext %282, i8 zeroext %285, i32 %287, i32 %289)
br label %300
291: ; preds = %163
%292 = load i32, i32* %4
%293 = load i8*, i8** %5
%294 = getelementptr inbounds i8, i8* %293, i64 0
%295 = load i8, i8* %294
%296 = load i8*, i8** %5
%297 = getelementptr inbounds i8, i8* %296, i64 1
%298 = load i8, i8* %297
%299 = call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.2, i64 0, i64 0), i32 %292, i8 zeroext %295, i8 zeroext %298)
br label %300
300: ; preds = %291, %278, %265, %252, %239, %226, %213, %200, %187, %174
br label %541
301: ; preds = %2
%302 = load i32, i32* %6
%303 = and i32 %302, 15
switch i32 %303, label %317 [
i32 0, label %304
]
304: ; preds = %301
%305 = load i32, i32* %4
%306 = load i8*, i8** %5
%307 = getelementptr inbounds i8, i8* %306, i64 0
%308 = load i8, i8* %307
%309 = load i8*, i8** %5
%310 = getelementptr inbounds i8, i8* %309, i64 1
%311 = load i8, i8* %310
%312 = load i16, i16* %7
%313 = zext i16 %312 to i32
%314 = load i16, i16* %8
%315 = zext i16 %314 to i32
%316 = call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.19, i64 0, i64 0), i32 %305, i8 zeroext %308, i8 zeroext %311, i32 %313, i32 %315)
br label %326
317: ; preds = %301
%318 = load i32, i32* %4
%319 = load i8*, i8** %5
%320 = getelementptr inbounds i8, i8* %319, i64 0
%321 = load i8, i8* %320
%322 = load i8*, i8** %5
%323 = getelementptr inbounds i8, i8* %322, i64 1
%324 = load i8, i8* %323
%325 = call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.2, i64 0, i64 0), i32 %318, i8 zeroext %321, i8 zeroext %324)
br label %326
326: ; preds = %317, %304
br label %541
327: ; preds = %2
%328 = load i32, i32* %4
%329 = load i8*, i8** %5
%330 = getelementptr inbounds i8, i8* %329, i64 0
%331 = load i8, i8* %330
%332 = load i8*, i8** %5
%333 = getelementptr inbounds i8, i8* %332, i64 1
%334 = load i8, i8* %333
%335 = load i16, i16* %11
%336 = zext i16 %335 to i32
%337 = call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.20, i64 0, i64 0), i32 %328, i8 zeroext %331, i8 zeroext %334, i32 %336)
br label %541
338: ; preds = %2
%339 = load i32, i32* %4
%340 = load i8*, i8** %5
%341 = getelementptr inbounds i8, i8* %340, i64 0
%342 = load i8, i8* %341
%343 = load i8*, i8** %5
%344 = getelementptr inbounds i8, i8* %343, i64 1
%345 = load i8, i8* %344
%346 = load i16, i16* %11
%347 = zext i16 %346 to i32
%348 = call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.21, i64 0, i64 0), i32 %339, i8 zeroext %342, i8 zeroext %345, i32 %347)
br label %541
349: ; preds = %2
%350 = load i32, i32* %4
%351 = load i8*, i8** %5
%352 = getelementptr inbounds i8, i8* %351, i64 0
%353 = load i8, i8* %352
%354 = load i8*, i8** %5
%355 = getelementptr inbounds i8, i8* %354, i64 1
%356 = load i8, i8* %355
%357 = load i16, i16* %7
%358 = zext i16 %357 to i32
%359 = load i16, i16* %10
%360 = zext i16 %359 to i32
%361 = call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.22, i64 0, i64 0), i32 %350, i8 zeroext %353, i8 zeroext %356, i32 %358, i32 %360)
br label %541
362: ; preds = %2
%363 = load i32, i32* %4
%364 = load i8*, i8** %5
%365 = getelementptr inbounds i8, i8* %364, i64 0
%366 = load i8, i8* %365
%367 = load i8*, i8** %5
%368 = getelementptr inbounds i8, i8* %367, i64 1
%369 = load i8, i8* %368
%370 = load i16, i16* %7
%371 = zext i16 %370 to i32
%372 = load i16, i16* %8
%373 = zext i16 %372 to i32
%374 = load i16, i16* %9
%375 = zext i16 %374 to i32
%376 = call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.23, i64 0, i64 0), i32 %363, i8 zeroext %366, i8 zeroext %369, i32 %371, i32 %373, i32 %375)
br label %541
377: ; preds = %2
%378 = load i32, i32* %4
%379 = load i8*, i8** %5
%380 = getelementptr inbounds i8, i8* %379, i64 0
%381 = load i8, i8* %380
%382 = load i8*, i8** %5
%383 = getelementptr inbounds i8, i8* %382, i64 1
%384 = load i8, i8* %383
%385 = call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.1, i64 0, i64 0), i32 %378, i8 zeroext %381, i8 zeroext %384)
%386 = load i32, i32* %6
%387 = and i32 %386, 255
switch i32 %387, label %410 [
i32 158, label %388
i32 161, label %399
]
388: ; preds = %377
%389 = load i32, i32* %4
%390 = load i8*, i8** %5
%391 = getelementptr inbounds i8, i8* %390, i64 0
%392 = load i8, i8* %391
%393 = load i8*, i8** %5
%394 = getelementptr inbounds i8, i8* %393, i64 1
%395 = load i8, i8* %394
%396 = load i16, i16* %7
%397 = zext i16 %396 to i32
%398 = call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.24, i64 0, i64 0), i32 %389, i8 zeroext %392, i8 zeroext %395, i32 %397)
br label %419
399: ; preds = %377
%400 = load i32, i32* %4
%401 = load i8*, i8** %5
%402 = getelementptr inbounds i8, i8* %401, i64 0
%403 = load i8, i8* %402
%404 = load i8*, i8** %5
%405 = getelementptr inbounds i8, i8* %404, i64 1
%406 = load i8, i8* %405
%407 = load i16, i16* %7
%408 = zext i16 %407 to i32
%409 = call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.25, i64 0, i64 0), i32 %400, i8 zeroext %403, i8 zeroext %406, i32 %408)
br label %419
410: ; preds = %377
%411 = load i32, i32* %4
%412 = load i8*, i8** %5
%413 = getelementptr inbounds i8, i8* %412, i64 0
%414 = load i8, i8* %413
%415 = load i8*, i8** %5
%416 = getelementptr inbounds i8, i8* %415, i64 1
%417 = load i8, i8* %416
%418 = call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.2, i64 0, i64 0), i32 %411, i8 zeroext %414, i8 zeroext %417)
br label %419
419: ; preds = %410, %399, %388
br label %541
420: ; preds = %2
%421 = load i32, i32* %6
%422 = and i32 %421, 255
switch i32 %422, label %522 [
i32 7, label %423
i32 10, label %434
i32 21, label %445
i32 24, label %456
i32 30, label %467
i32 41, label %478
i32 51, label %489
i32 85, label %500
i32 101, label %511
]
423: ; preds = %420
%424 = load i32, i32* %4
%425 = load i8*, i8** %5
%426 = getelementptr inbounds i8, i8* %425, i64 0
%427 = load i8, i8* %426
%428 = load i8*, i8** %5
%429 = getelementptr inbounds i8, i8* %428, i64 1
%430 = load i8, i8* %429
%431 = load i16, i16* %7
%432 = zext i16 %431 to i32
%433 = call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.26, i64 0, i64 0), i32 %424, i8 zeroext %427, i8 zeroext %430, i32 %432)
br label %531
434: ; preds = %420
%435 = load i32, i32* %4
%436 = load i8*, i8** %5
%437 = getelementptr inbounds i8, i8* %436, i64 0
%438 = load i8, i8* %437
%439 = load i8*, i8** %5
%440 = getelementptr inbounds i8, i8* %439, i64 1
%441 = load i8, i8* %440
%442 = load i16, i16* %7
%443 = zext i16 %442 to i32
%444 = call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.27, i64 0, i64 0), i32 %435, i8 zeroext %438, i8 zeroext %441, i32 %443)
br label %531
445: ; preds = %420
%446 = load i32, i32* %4
%447 = load i8*, i8** %5
%448 = getelementptr inbounds i8, i8* %447, i64 0
%449 = load i8, i8* %448
%450 = load i8*, i8** %5
%451 = getelementptr inbounds i8, i8* %450, i64 1
%452 = load i8, i8* %451
%453 = load i16, i16* %7
%454 = zext i16 %453 to i32
%455 = call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.28, i64 0, i64 0), i32 %446, i8 zeroext %449, i8 zeroext %452, i32 %454)
br label %531
456: ; preds = %420
%457 = load i32, i32* %4
%458 = load i8*, i8** %5
%459 = getelementptr inbounds i8, i8* %458, i64 0
%460 = load i8, i8* %459
%461 = load i8*, i8** %5
%462 = getelementptr inbounds i8, i8* %461, i64 1
%463 = load i8, i8* %462
%464 = load i16, i16* %7
%465 = zext i16 %464 to i32
%466 = call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.29, i64 0, i64 0), i32 %457, i8 zeroext %460, i8 zeroext %463, i32 %465)
br label %531
467: ; preds = %420
%468 = load i32, i32* %4
%469 = load i8*, i8** %5
%470 = getelementptr inbounds i8, i8* %469, i64 0
%471 = load i8, i8* %470
%472 = load i8*, i8** %5
%473 = getelementptr inbounds i8, i8* %472, i64 1
%474 = load i8, i8* %473
%475 = load i16, i16* %7
%476 = zext i16 %475 to i32
%477 = call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.30, i64 0, i64 0), i32 %468, i8 zeroext %471, i8 zeroext %474, i32 %476)
br label %531
478: ; preds = %420
%479 = load i32, i32* %4
%480 = load i8*, i8** %5
%481 = getelementptr inbounds i8, i8* %480, i64 0
%482 = load i8, i8* %481
%483 = load i8*, i8** %5
%484 = getelementptr inbounds i8, i8* %483, i64 1
%485 = load i8, i8* %484
%486 = load i16, i16* %7
%487 = zext i16 %486 to i32
%488 = call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.31, i64 0, i64 0), i32 %479, i8 zeroext %482, i8 zeroext %485, i32 %487)
br label %531
489: ; preds = %420
%490 = load i32, i32* %4
%491 = load i8*, i8** %5
%492 = getelementptr inbounds i8, i8* %491, i64 0
%493 = load i8, i8* %492
%494 = load i8*, i8** %5
%495 = getelementptr inbounds i8, i8* %494, i64 1
%496 = load i8, i8* %495
%497 = load i16, i16* %7
%498 = zext i16 %497 to i32
%499 = call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.32, i64 0, i64 0), i32 %490, i8 zeroext %493, i8 zeroext %496, i32 %498)
br label %531
500: ; preds = %420
%501 = load i32, i32* %4
%502 = load i8*, i8** %5
%503 = getelementptr inbounds i8, i8* %502, i64 0
%504 = load i8, i8* %503
%505 = load i8*, i8** %5
%506 = getelementptr inbounds i8, i8* %505, i64 1
%507 = load i8, i8* %506
%508 = load i16, i16* %7
%509 = zext i16 %508 to i32
%510 = call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.33, i64 0, i64 0), i32 %501, i8 zeroext %504, i8 zeroext %507, i32 %509)
br label %531
511: ; preds = %420
%512 = load i32, i32* %4
%513 = load i8*, i8** %5
%514 = getelementptr inbounds i8, i8* %513, i64 0
%515 = load i8, i8* %514
%516 = load i8*, i8** %5
%517 = getelementptr inbounds i8, i8* %516, i64 1
%518 = load i8, i8* %517
%519 = load i16, i16* %7
%520 = zext i16 %519 to i32
%521 = call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.34, i64 0, i64 0), i32 %512, i8 zeroext %515, i8 zeroext %518, i32 %520)
br label %531
522: ; preds = %420
%523 = load i32, i32* %4
%524 = load i8*, i8** %5
%525 = getelementptr inbounds i8, i8* %524, i64 0
%526 = load i8, i8* %525
%527 = load i8*, i8** %5
%528 = getelementptr inbounds i8, i8* %527, i64 1
%529 = load i8, i8* %528
%530 = call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.2, i64 0, i64 0), i32 %523, i8 zeroext %526, i8 zeroext %529)
br label %531
531: ; preds = %522, %511, %500, %489, %478, %467, %456, %445, %434, %423
br label %541
532: ; preds = %2
%533 = load i32, i32* %4
%534 = load i8*, i8** %5
%535 = getelementptr inbounds i8, i8* %534, i64 0
%536 = load i8, i8* %535
%537 = load i8*, i8** %5
%538 = getelementptr inbounds i8, i8* %537, i64 1
%539 = load i8, i8* %538
%540 = call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.2, i64 0, i64 0), i32 %533, i8 zeroext %536, i8 zeroext %539)
br label %541
541: ; preds = %532, %531, %419, %362, %349, %338, %327, %326, %300, %150, %137, %124, %111, %98, %87, %76, %75
ret void
}

LLVM IR (-O2):
@.str = [27 x i8] c"0x%04X - 0x%02X%02X - CLS\0A\00"
@.str.1 = [27 x i8] c"0x%04X - 0x%02X%02X - RET\0A\00"
@.str.2 = [31 x i8] c"0x%04X - 0x%02X%02X - Unknown\0A\00"
@.str.3 = [33 x i8] c"0x%04X - 0x%02X%02X - JP 0x%04X\0A\00"
@.str.4 = [35 x i8] c"0x%04X - 0x%02X%02X - CALL 0x%04X\0A\00"
@.str.5 = [38 x i8] c"0x%04X - 0x%02X%02X - SE V%X, 0x%02X\0A\00"
@.str.6 = [39 x i8] c"0x%04X - 0x%02X%02X - SNE V%X, 0x%02X\0A\00"
@.str.7 = [35 x i8] c"0x%04X - 0x%02X%02X - SE V%X, V%X\0A\00"
@.str.8 = [38 x i8] c"0x%04X - 0x%02X%02X - LD V%X, 0x%02X\0A\00"
@.str.9 = [39 x i8] c"0x%04X - 0x%02X%02X - ADD V%X, 0x%02X\0A\00"
@.str.10 = [35 x i8] c"0x%04X - 0x%02X%02X - LD V%X, V%X\0A\00"
@.str.11 = [35 x i8] c"0x%04X - 0x%02X%02X - OR V%X, V%X\0A\00"
@.str.12 = [36 x i8] c"0x%04X - 0x%02X%02X - AND V%X, V%X\0A\00"
@.str.13 = [36 x i8] c"0x%04X - 0x%02X%02X - XOR V%X, V%X\0A\00"
@.str.14 = [36 x i8] c"0x%04X - 0x%02X%02X - ADD V%X, V%X\0A\00"
@.str.15 = [36 x i8] c"0x%04X - 0x%02X%02X - SUB V%X, V%X\0A\00"
@.str.16 = [36 x i8] c"0x%04X - 0x%02X%02X - SHR V%X, V%X\0A\00"
@.str.17 = [37 x i8] c"0x%04X - 0x%02X%02X - SUBN V%X, V%X\0A\00"
@.str.18 = [36 x i8] c"0x%04X - 0x%02X%02X - SHL V%X, V%X\0A\00"
@.str.19 = [36 x i8] c"0x%04X - 0x%02X%02X - SNE V%X, V%X\0A\00"
@.str.20 = [36 x i8] c"0x%04X - 0x%02X%02X - LD I, 0x%04X\0A\00"
@.str.21 = [37 x i8] c"0x%04X - 0x%02X%02X - JP V0, 0x%04X\0A\00"
@.str.22 = [39 x i8] c"0x%04X - 0x%02X%02X - RND V%X, 0x%02X\0A\00"
@.str.23 = [44 x i8] c"0x%04X - 0x%02X%02X - DRW V%X, V%X, 0x%02X\0A\00"
@.str.24 = [31 x i8] c"0x%04X - 0x%02X%02X - SKP V%X\0A\00"
@.str.25 = [32 x i8] c"0x%04X - 0x%02X%02X - SKNP V%X\0A\00"
@.str.26 = [34 x i8] c"0x%04X - 0x%02X%02X - LD V%X, DT\0A\00"
@.str.27 = [33 x i8] c"0x%04X - 0x%02X%02X - LD V%X, K\0A\00"
@.str.28 = [34 x i8] c"0x%04X - 0x%02X%02X - LD DT, V%X\0A\00"
@.str.29 = [34 x i8] c"0x%04X - 0x%02X%02X - LD ST, V%X\0A\00"
@.str.30 = [34 x i8] c"0x%04X - 0x%02X%02X - ADD I, V%X\0A\00"
@.str.31 = [33 x i8] c"0x%04X - 0x%02X%02X - LD F, V%X\0A\00"
@.str.32 = [33 x i8] c"0x%04X - 0x%02X%02X - LD B, V%X\0A\00"
@.str.33 = [35 x i8] c"0x%04X - 0x%02X%02X - LD [I], V%X\0A\00"
@.str.34 = [35 x i8] c"0x%04X - 0x%02X%02X - LD V%X, [I]\0A\00"
define void @print_opcode(i8* nocapture %0, i32 %1) {
%3 = zext i32 %1 to i64
%4 = getelementptr inbounds i8, i8* %0, i64 %3
%5 = load i8, i8* %4
%6 = zext i8 %5 to i32
%7 = shl nuw nsw i32 %6, 8
%8 = getelementptr inbounds i8, i8* %4, i64 1
%9 = load i8, i8* %8
%10 = zext i8 %9 to i32
%11 = or i32 %7, %10
%12 = and i8 %5, 15
%13 = lshr i32 %10, 4
%14 = and i32 %10, 15
%15 = trunc i32 %11 to i16
%16 = and i16 %15, 4095
%17 = lshr i32 %6, 4
switch i32 %17, label %162 [
i32 0, label %18
i32 1, label %25
i32 2, label %28
i32 3, label %31
i32 4, label %34
i32 5, label %37
i32 6, label %40
i32 7, label %43
i32 8, label %46
i32 9, label %97
i32 10, label %104
i32 11, label %107
i32 12, label %110
i32 13, label %113
i32 14, label %116
i32 15, label %132
]
18: ; preds = %2
switch i8 %9, label %23 [
i8 -32, label %19
i8 -18, label %21
]
19: ; preds = %18
%20 = tail call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0), i32 %1, i8 zeroext %5, i8 zeroext -32)
br label %163
21: ; preds = %18
%22 = tail call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.1, i64 0, i64 0), i32 %1, i8 zeroext %5, i8 zeroext -18)
br label %163
23: ; preds = %18
%24 = tail call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.2, i64 0, i64 0), i32 %1, i8 zeroext %5, i8 zeroext %9)
br label %163
25: ; preds = %2
%26 = zext i16 %16 to i32
%27 = tail call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.3, i64 0, i64 0), i32 %1, i8 zeroext %5, i8 zeroext %9, i32 %26)
br label %163
28: ; preds = %2
%29 = zext i16 %16 to i32
%30 = tail call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.4, i64 0, i64 0), i32 %1, i8 zeroext %5, i8 zeroext %9, i32 %29)
br label %163
31: ; preds = %2
%32 = zext i8 %12 to i32
%33 = tail call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.5, i64 0, i64 0), i32 %1, i8 zeroext %5, i8 zeroext %9, i32 %32, i32 %10)
br label %163
34: ; preds = %2
%35 = zext i8 %12 to i32
%36 = tail call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.6, i64 0, i64 0), i32 %1, i8 zeroext %5, i8 zeroext %9, i32 %35, i32 %10)
br label %163
37: ; preds = %2
%38 = zext i8 %12 to i32
%39 = tail call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.7, i64 0, i64 0), i32 %1, i8 zeroext %5, i8 zeroext %9, i32 %38, i32 %13)
br label %163
40: ; preds = %2
%41 = zext i8 %12 to i32
%42 = tail call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.8, i64 0, i64 0), i32 %1, i8 zeroext %5, i8 zeroext %9, i32 %41, i32 %10)
br label %163
43: ; preds = %2
%44 = zext i8 %12 to i32
%45 = tail call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.9, i64 0, i64 0), i32 %1, i8 zeroext %5, i8 zeroext %9, i32 %44, i32 %10)
br label %163
46: ; preds = %2
%47 = tail call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.1, i64 0, i64 0), i32 %1, i8 zeroext %5, i8 zeroext %9)
switch i32 %14, label %93 [
i32 0, label %48
i32 1, label %53
i32 2, label %58
i32 3, label %63
i32 4, label %68
i32 5, label %73
i32 6, label %78
i32 7, label %83
i32 14, label %88
]
48: ; preds = %46
%49 = load i8, i8* %4
%50 = load i8, i8* %8
%51 = zext i8 %12 to i32
%52 = tail call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.10, i64 0, i64 0), i32 %1, i8 zeroext %49, i8 zeroext %50, i32 %51, i32 %13)
br label %163
53: ; preds = %46
%54 = load i8, i8* %4
%55 = load i8, i8* %8
%56 = zext i8 %12 to i32
%57 = tail call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.11, i64 0, i64 0), i32 %1, i8 zeroext %54, i8 zeroext %55, i32 %56, i32 %13)
br label %163
58: ; preds = %46
%59 = load i8, i8* %4
%60 = load i8, i8* %8
%61 = zext i8 %12 to i32
%62 = tail call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.12, i64 0, i64 0), i32 %1, i8 zeroext %59, i8 zeroext %60, i32 %61, i32 %13)
br label %163
63: ; preds = %46
%64 = load i8, i8* %4
%65 = load i8, i8* %8
%66 = zext i8 %12 to i32
%67 = tail call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.13, i64 0, i64 0), i32 %1, i8 zeroext %64, i8 zeroext %65, i32 %66, i32 %13)
br label %163
68: ; preds = %46
%69 = load i8, i8* %4
%70 = load i8, i8* %8
%71 = zext i8 %12 to i32
%72 = tail call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.14, i64 0, i64 0), i32 %1, i8 zeroext %69, i8 zeroext %70, i32 %71, i32 %13)
br label %163
73: ; preds = %46
%74 = load i8, i8* %4
%75 = load i8, i8* %8
%76 = zext i8 %12 to i32
%77 = tail call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.15, i64 0, i64 0), i32 %1, i8 zeroext %74, i8 zeroext %75, i32 %76, i32 %13)
br label %163
78: ; preds = %46
%79 = load i8, i8* %4
%80 = load i8, i8* %8
%81 = zext i8 %12 to i32
%82 = tail call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.16, i64 0, i64 0), i32 %1, i8 zeroext %79, i8 zeroext %80, i32 %81, i32 %13)
br label %163
83: ; preds = %46
%84 = load i8, i8* %4
%85 = load i8, i8* %8
%86 = zext i8 %12 to i32
%87 = tail call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.17, i64 0, i64 0), i32 %1, i8 zeroext %84, i8 zeroext %85, i32 %86, i32 %13)
br label %163
88: ; preds = %46
%89 = load i8, i8* %4
%90 = load i8, i8* %8
%91 = zext i8 %12 to i32
%92 = tail call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.18, i64 0, i64 0), i32 %1, i8 zeroext %89, i8 zeroext %90, i32 %91, i32 %13)
br label %163
93: ; preds = %46
%94 = load i8, i8* %4
%95 = load i8, i8* %8
%96 = tail call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.2, i64 0, i64 0), i32 %1, i8 zeroext %94, i8 zeroext %95)
br label %163
97: ; preds = %2
%98 = icmp eq i32 %14, 0
br i1 %98, label %99, label %102
99: ; preds = %97
%100 = zext i8 %12 to i32
%101 = tail call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.19, i64 0, i64 0), i32 %1, i8 zeroext %5, i8 zeroext %9, i32 %100, i32 %13)
br label %163
102: ; preds = %97
%103 = tail call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.2, i64 0, i64 0), i32 %1, i8 zeroext %5, i8 zeroext %9)
br label %163
104: ; preds = %2
%105 = zext i16 %16 to i32
%106 = tail call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.20, i64 0, i64 0), i32 %1, i8 zeroext %5, i8 zeroext %9, i32 %105)
br label %163
107: ; preds = %2
%108 = zext i16 %16 to i32
%109 = tail call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.21, i64 0, i64 0), i32 %1, i8 zeroext %5, i8 zeroext %9, i32 %108)
br label %163
110: ; preds = %2
%111 = zext i8 %12 to i32
%112 = tail call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.22, i64 0, i64 0), i32 %1, i8 zeroext %5, i8 zeroext %9, i32 %111, i32 %10)
br label %163
113: ; preds = %2
%114 = zext i8 %12 to i32
%115 = tail call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.23, i64 0, i64 0), i32 %1, i8 zeroext %5, i8 zeroext %9, i32 %114, i32 %13, i32 %14)
br label %163
116: ; preds = %2
%117 = tail call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.1, i64 0, i64 0), i32 %1, i8 zeroext %5, i8 zeroext %9)
switch i8 %9, label %128 [
i8 -98, label %118
i8 -95, label %123
]
118: ; preds = %116
%119 = load i8, i8* %4
%120 = load i8, i8* %8
%121 = zext i8 %12 to i32
%122 = tail call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.24, i64 0, i64 0), i32 %1, i8 zeroext %119, i8 zeroext %120, i32 %121)
br label %163
123: ; preds = %116
%124 = load i8, i8* %4
%125 = load i8, i8* %8
%126 = zext i8 %12 to i32
%127 = tail call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.25, i64 0, i64 0), i32 %1, i8 zeroext %124, i8 zeroext %125, i32 %126)
br label %163
128: ; preds = %116
%129 = load i8, i8* %4
%130 = load i8, i8* %8
%131 = tail call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.2, i64 0, i64 0), i32 %1, i8 zeroext %129, i8 zeroext %130)
br label %163
132: ; preds = %2
switch i8 %9, label %160 [
i8 7, label %133
i8 10, label %136
i8 21, label %139
i8 24, label %142
i8 30, label %145
i8 41, label %148
i8 51, label %151
i8 85, label %154
i8 101, label %157
]
133: ; preds = %132
%134 = zext i8 %12 to i32
%135 = tail call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.26, i64 0, i64 0), i32 %1, i8 zeroext %5, i8 zeroext 7, i32 %134)
br label %163
136: ; preds = %132
%137 = zext i8 %12 to i32
%138 = tail call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.27, i64 0, i64 0), i32 %1, i8 zeroext %5, i8 zeroext 10, i32 %137)
br label %163
139: ; preds = %132
%140 = zext i8 %12 to i32
%141 = tail call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.28, i64 0, i64 0), i32 %1, i8 zeroext %5, i8 zeroext 21, i32 %140)
br label %163
142: ; preds = %132
%143 = zext i8 %12 to i32
%144 = tail call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.29, i64 0, i64 0), i32 %1, i8 zeroext %5, i8 zeroext 24, i32 %143)
br label %163
145: ; preds = %132
%146 = zext i8 %12 to i32
%147 = tail call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.30, i64 0, i64 0), i32 %1, i8 zeroext %5, i8 zeroext 30, i32 %146)
br label %163
148: ; preds = %132
%149 = zext i8 %12 to i32
%150 = tail call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.31, i64 0, i64 0), i32 %1, i8 zeroext %5, i8 zeroext 41, i32 %149)
br label %163
151: ; preds = %132
%152 = zext i8 %12 to i32
%153 = tail call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.32, i64 0, i64 0), i32 %1, i8 zeroext %5, i8 zeroext 51, i32 %152)
br label %163
154: ; preds = %132
%155 = zext i8 %12 to i32
%156 = tail call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.33, i64 0, i64 0), i32 %1, i8 zeroext %5, i8 zeroext 85, i32 %155)
br label %163
157: ; preds = %132
%158 = zext i8 %12 to i32
%159 = tail call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.34, i64 0, i64 0), i32 %1, i8 zeroext %5, i8 zeroext 101, i32 %158)
br label %163
160: ; preds = %132
%161 = tail call i32 (i8*, i32, i8, i8, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.2, i64 0, i64 0), i32 %1, i8 zeroext %5, i8 zeroext %9)
br label %163
162: ; preds = %2
unreachable
163: ; preds = %133, %136, %139, %142, %145, %148, %151, %154, %157, %160, %118, %123, %128, %99, %102, %48, %53, %58, %63, %68, %73, %78, %83, %88, %93, %19, %21, %23, %113, %110, %107, %104, %43, %40, %37, %34, %31, %28, %25
ret void
}