#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*/ sprintf(char *, char *, ...);
void mnemonic(char *M, char c1, char c2, char c3) {
  switch (c1) {
  case '0': {
    sprintf(M, "MOV  %c,%c", c2, c3);
    break;
  }
  case '1': {
    sprintf(M, "MOVI %c,%c", c2, c3);
    break;
  }
  case '2': {
    sprintf(M, "AND  %c,%c", c2, c3);
    break;
  }
  case '3': {
    sprintf(M, "ANDI %c,%c", c2, c3);
    break;
  }
  case '4': {
    sprintf(M, "ADD  %c,%c", c2, c3);
    break;
  }
  case '5': {
    sprintf(M, "ADDI %c,%c", c2, c3);
    break;
  }
  case '6': {
    sprintf(M, "SUB  %c,%c", c2, c3);
    break;
  }
  case '7': {
    sprintf(M, "SUBI %c,%c", c2, c3);
    break;
  }
  case '8': {
    sprintf(M, "CMP  %c,%c", c2, c3);
    break;
  }
  case '9': {
    sprintf(M, "CMPI %c,%c", c2, c3);
    break;
  }
  case 'A': {
    sprintf(M, "OR   %c,%c", c2, c3);
    break;
  }
  case 'B': {
    sprintf(M, "CALL %c%c", c2, c3);
    break;
  }
  case 'C': {
    sprintf(M, "GOTO %c%c", c2, c3);
    break;
  }
  case 'D': {
    sprintf(M, "BRC  %c%c", c2, c3);
    break;
  }
  case 'E': {
    sprintf(M, "BRZ  %c%c", c2, c3);
    break;
  }
  case 'F': {
    switch (c2) {
    case '0': {
      switch (c3) {
      case '0': {
        sprintf(M, "HALT");
        break;
      }
      case '1': {
        sprintf(M, "NOP");
        break;
      }
      case '2': {
        sprintf(M, "DISOUT");
        break;
      }
      case '3': {
        sprintf(M, "HXDZ");
        break;
      }
      case '4': {
        sprintf(M, "DZHX");
        break;
      }
      case '5': {
        sprintf(M, "RND");
        break;
      }
      case '6': {
        sprintf(M, "TIME");
        break;
      }
      case '7': {
        sprintf(M, "RET");
        break;
      }
      case '8': {
        sprintf(M, "CLEAR");
        break;
      }
      case '9': {
        sprintf(M, "STC");
        break;
      }
      case 'A': {
        sprintf(M, "RSC");
        break;
      }
      case 'B': {
        sprintf(M, "MULT");
        break;
      }
      case 'C': {
        sprintf(M, "DIV");
        break;
      }
      case 'D': {
        sprintf(M, "EXRL");
        break;
      }
      case 'E': {
        sprintf(M, "EXRM");
        break;
      }
      case 'F': {
        sprintf(M, "EXRA");
        break;
      }
      default: {
        sprintf(M, "!!! ERROR !!!");
      }
      }
      break;
    }
    case '1':
    case '2':
    case '3':
    case '4':
    case '5':
    case '6': {
      sprintf(M, "DISP %c,%c", c2, c3);
      break;
    }
    case '7': {
      sprintf(M, "MAS  %c", c3);
      break;
    }
    case '8': {
      sprintf(M, "INV  %c", c3);
      break;
    }
    case '9': {
      sprintf(M, "SHR  %c", c3);
      break;
    }
    case 'A': {
      sprintf(M, "SHL  %c", c3);
      break;
    }
    case 'B': {
      sprintf(M, "ADC  %c", c3);
      break;
    }
    case 'C': {
      sprintf(M, "SUBC %c", c3);
      break;
    }
    case 'D': {
      sprintf(M, "DIN  %c", c3);
      break;
    }
    case 'E': {
      sprintf(M, "DOT  %c", c3);
      break;
    }
    case 'F': {
      sprintf(M, "KIN  %c", c3);
      break;
    }
    default: {
      sprintf(M, "!!! ERROR !!!");
    }
    }
    break;
  }
  default: {
    sprintf(M, "!!! ERROR !!!");
  }
  }
}


x86 assembly (clang, -O0):
<mnemonic>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %cl,%al
mov    %dl,%cl
mov    %sil,%dl
mov    %rdi,-0x8(%rbp)
mov    %dl,-0x9(%rbp)
mov    %cl,-0xa(%rbp)
mov    %al,-0xb(%rbp)
movsbl -0x9(%rbp),%eax
add    $0xffffffd0,%eax
mov    %eax,%ecx
mov    %rcx,-0x18(%rbp)
sub    $0x16,%eax
ja     162b <mnemonic+0x51b>
mov    -0x18(%rbp),%rax
lea    0xeb3(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    -0x8(%rbp),%rdi
movsbl -0xa(%rbp),%edx
movsbl -0xb(%rbp),%ecx
lea    0xfab(%rip),%rsi
mov    $0x0,%al
call   1030 <sprintf@plt>
jmp    163d <mnemonic+0x52d>
mov    -0x8(%rbp),%rdi
movsbl -0xa(%rbp),%edx
movsbl -0xb(%rbp),%ecx
lea    0xf97(%rip),%rsi
mov    $0x0,%al
call   1030 <sprintf@plt>
jmp    163d <mnemonic+0x52d>
mov    -0x8(%rbp),%rdi
movsbl -0xa(%rbp),%edx
movsbl -0xb(%rbp),%ecx
lea    0xf83(%rip),%rsi
mov    $0x0,%al
call   1030 <sprintf@plt>
jmp    163d <mnemonic+0x52d>
mov    -0x8(%rbp),%rdi
movsbl -0xa(%rbp),%edx
movsbl -0xb(%rbp),%ecx
lea    0xf6f(%rip),%rsi
mov    $0x0,%al
call   1030 <sprintf@plt>
jmp    163d <mnemonic+0x52d>
mov    -0x8(%rbp),%rdi
movsbl -0xa(%rbp),%edx
movsbl -0xb(%rbp),%ecx
lea    0xf5b(%rip),%rsi
mov    $0x0,%al
call   1030 <sprintf@plt>
jmp    163d <mnemonic+0x52d>
mov    -0x8(%rbp),%rdi
movsbl -0xa(%rbp),%edx
movsbl -0xb(%rbp),%ecx
lea    0xf47(%rip),%rsi
mov    $0x0,%al
call   1030 <sprintf@plt>
jmp    163d <mnemonic+0x52d>
mov    -0x8(%rbp),%rdi
movsbl -0xa(%rbp),%edx
movsbl -0xb(%rbp),%ecx
lea    0xf33(%rip),%rsi
mov    $0x0,%al
call   1030 <sprintf@plt>
jmp    163d <mnemonic+0x52d>
mov    -0x8(%rbp),%rdi
movsbl -0xa(%rbp),%edx
movsbl -0xb(%rbp),%ecx
lea    0xf1f(%rip),%rsi
mov    $0x0,%al
call   1030 <sprintf@plt>
jmp    163d <mnemonic+0x52d>
mov    -0x8(%rbp),%rdi
movsbl -0xa(%rbp),%edx
movsbl -0xb(%rbp),%ecx
lea    0xf0b(%rip),%rsi
mov    $0x0,%al
call   1030 <sprintf@plt>
jmp    163d <mnemonic+0x52d>
mov    -0x8(%rbp),%rdi
movsbl -0xa(%rbp),%edx
movsbl -0xb(%rbp),%ecx
lea    0xef7(%rip),%rsi
mov    $0x0,%al
call   1030 <sprintf@plt>
jmp    163d <mnemonic+0x52d>
mov    -0x8(%rbp),%rdi
movsbl -0xa(%rbp),%edx
movsbl -0xb(%rbp),%ecx
lea    0xee3(%rip),%rsi
mov    $0x0,%al
call   1030 <sprintf@plt>
jmp    163d <mnemonic+0x52d>
mov    -0x8(%rbp),%rdi
movsbl -0xa(%rbp),%edx
movsbl -0xb(%rbp),%ecx
lea    0xecf(%rip),%rsi
mov    $0x0,%al
call   1030 <sprintf@plt>
jmp    163d <mnemonic+0x52d>
mov    -0x8(%rbp),%rdi
movsbl -0xa(%rbp),%edx
movsbl -0xb(%rbp),%ecx
lea    0xeba(%rip),%rsi
mov    $0x0,%al
call   1030 <sprintf@plt>
jmp    163d <mnemonic+0x52d>
mov    -0x8(%rbp),%rdi
movsbl -0xa(%rbp),%edx
movsbl -0xb(%rbp),%ecx
lea    0xea5(%rip),%rsi
mov    $0x0,%al
call   1030 <sprintf@plt>
jmp    163d <mnemonic+0x52d>
mov    -0x8(%rbp),%rdi
movsbl -0xa(%rbp),%edx
movsbl -0xb(%rbp),%ecx
lea    0xe90(%rip),%rsi
mov    $0x0,%al
call   1030 <sprintf@plt>
jmp    163d <mnemonic+0x52d>
movsbl -0xa(%rbp),%eax
add    $0xffffffd0,%eax
mov    %eax,%ecx
mov    %rcx,-0x20(%rbp)
sub    $0x16,%eax
ja     1614 <mnemonic+0x504>
mov    -0x20(%rbp),%rax
lea    0xd14(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
movsbl -0xb(%rbp),%eax
add    $0xffffffd0,%eax
mov    %eax,%ecx
mov    %rcx,-0x28(%rbp)
sub    $0x16,%eax
ja     14eb <mnemonic+0x3db>
mov    -0x28(%rbp),%rax
lea    0xd46(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    -0x8(%rbp),%rdi
lea    0xe2f(%rip),%rsi
mov    $0x0,%al
call   1030 <sprintf@plt>
jmp    14fd <mnemonic+0x3ed>
mov    -0x8(%rbp),%rdi
lea    0xe1d(%rip),%rsi
mov    $0x0,%al
call   1030 <sprintf@plt>
jmp    14fd <mnemonic+0x3ed>
mov    -0x8(%rbp),%rdi
lea    0xe0a(%rip),%rsi
mov    $0x0,%al
call   1030 <sprintf@plt>
jmp    14fd <mnemonic+0x3ed>
mov    -0x8(%rbp),%rdi
lea    0xdfa(%rip),%rsi
mov    $0x0,%al
call   1030 <sprintf@plt>
jmp    14fd <mnemonic+0x3ed>
mov    -0x8(%rbp),%rdi
lea    0xde8(%rip),%rsi
mov    $0x0,%al
call   1030 <sprintf@plt>
jmp    14fd <mnemonic+0x3ed>
mov    -0x8(%rbp),%rdi
lea    0xdd6(%rip),%rsi
mov    $0x0,%al
call   1030 <sprintf@plt>
jmp    14fd <mnemonic+0x3ed>
mov    -0x8(%rbp),%rdi
lea    0xdc3(%rip),%rsi
mov    $0x0,%al
call   1030 <sprintf@plt>
jmp    14fd <mnemonic+0x3ed>
mov    -0x8(%rbp),%rdi
lea    0xdb1(%rip),%rsi
mov    $0x0,%al
call   1030 <sprintf@plt>
jmp    14fd <mnemonic+0x3ed>
mov    -0x8(%rbp),%rdi
lea    0xd9e(%rip),%rsi
mov    $0x0,%al
call   1030 <sprintf@plt>
jmp    14fd <mnemonic+0x3ed>
mov    -0x8(%rbp),%rdi
lea    0xd8d(%rip),%rsi
mov    $0x0,%al
call   1030 <sprintf@plt>
jmp    14fd <mnemonic+0x3ed>
mov    -0x8(%rbp),%rdi
lea    0xd7a(%rip),%rsi
mov    $0x0,%al
call   1030 <sprintf@plt>
jmp    14fd <mnemonic+0x3ed>
mov    -0x8(%rbp),%rdi
lea    0xd67(%rip),%rsi
mov    $0x0,%al
call   1030 <sprintf@plt>
jmp    14fd <mnemonic+0x3ed>
mov    -0x8(%rbp),%rdi
lea    0xd55(%rip),%rsi
mov    $0x0,%al
call   1030 <sprintf@plt>
jmp    14fd <mnemonic+0x3ed>
mov    -0x8(%rbp),%rdi
lea    0xd42(%rip),%rsi
mov    $0x0,%al
call   1030 <sprintf@plt>
jmp    14fd <mnemonic+0x3ed>
mov    -0x8(%rbp),%rdi
lea    0xd30(%rip),%rsi
mov    $0x0,%al
call   1030 <sprintf@plt>
jmp    14fd <mnemonic+0x3ed>
mov    -0x8(%rbp),%rdi
lea    0xd1e(%rip),%rsi
mov    $0x0,%al
call   1030 <sprintf@plt>
jmp    14fd <mnemonic+0x3ed>
mov    -0x8(%rbp),%rdi
lea    0xd0c(%rip),%rsi
mov    $0x0,%al
call   1030 <sprintf@plt>
jmp    1626 <mnemonic+0x516>
mov    -0x8(%rbp),%rdi
movsbl -0xa(%rbp),%edx
movsbl -0xb(%rbp),%ecx
lea    0xcfb(%rip),%rsi
mov    $0x0,%al
call   1030 <sprintf@plt>
jmp    1626 <mnemonic+0x516>
mov    -0x8(%rbp),%rdi
movsbl -0xb(%rbp),%edx
lea    0xceb(%rip),%rsi
mov    $0x0,%al
call   1030 <sprintf@plt>
jmp    1626 <mnemonic+0x516>
mov    -0x8(%rbp),%rdi
movsbl -0xb(%rbp),%edx
lea    0xcd8(%rip),%rsi
mov    $0x0,%al
call   1030 <sprintf@plt>
jmp    1626 <mnemonic+0x516>
mov    -0x8(%rbp),%rdi
movsbl -0xb(%rbp),%edx
lea    0xcc5(%rip),%rsi
mov    $0x0,%al
call   1030 <sprintf@plt>
jmp    1626 <mnemonic+0x516>
mov    -0x8(%rbp),%rdi
movsbl -0xb(%rbp),%edx
lea    0xcb2(%rip),%rsi
mov    $0x0,%al
call   1030 <sprintf@plt>
jmp    1626 <mnemonic+0x516>
mov    -0x8(%rbp),%rdi
movsbl -0xb(%rbp),%edx
lea    0xc9f(%rip),%rsi
mov    $0x0,%al
call   1030 <sprintf@plt>
jmp    1626 <mnemonic+0x516>
mov    -0x8(%rbp),%rdi
movsbl -0xb(%rbp),%edx
lea    0xc8c(%rip),%rsi
mov    $0x0,%al
call   1030 <sprintf@plt>
jmp    1626 <mnemonic+0x516>
mov    -0x8(%rbp),%rdi
movsbl -0xb(%rbp),%edx
lea    0xc79(%rip),%rsi
mov    $0x0,%al
call   1030 <sprintf@plt>
jmp    1626 <mnemonic+0x516>
mov    -0x8(%rbp),%rdi
movsbl -0xb(%rbp),%edx
lea    0xc66(%rip),%rsi
mov    $0x0,%al
call   1030 <sprintf@plt>
jmp    1626 <mnemonic+0x516>
mov    -0x8(%rbp),%rdi
movsbl -0xb(%rbp),%edx
lea    0xc53(%rip),%rsi
mov    $0x0,%al
call   1030 <sprintf@plt>
jmp    1626 <mnemonic+0x516>
mov    -0x8(%rbp),%rdi
lea    0xbe3(%rip),%rsi
mov    $0x0,%al
call   1030 <sprintf@plt>
jmp    163d <mnemonic+0x52d>
mov    -0x8(%rbp),%rdi
lea    0xbcc(%rip),%rsi
mov    $0x0,%al
call   1030 <sprintf@plt>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<mnemonic>:
add    $0xffffffd0,%esi
cmp    $0x16,%esi
ja     12bb <mnemonic+0x1ab>
lea    0xedd(%rip),%rax
movslq (%rax,%rsi,4),%rsi
add    %rax,%rsi
jmp    *%rsi
movsbl %dl,%edx
movsbl %cl,%ecx
lea    0xfdb(%rip),%rsi
xor    %eax,%eax
jmp    1030 <sprintf@plt>
movsbl %dl,%edx
movsbl %cl,%ecx
lea    0xfd2(%rip),%rsi
xor    %eax,%eax
jmp    1030 <sprintf@plt>
movsbl %dl,%edx
movsbl %cl,%ecx
lea    0xfc9(%rip),%rsi
xor    %eax,%eax
jmp    1030 <sprintf@plt>
movsbl %dl,%edx
movsbl %cl,%ecx
lea    0xfc0(%rip),%rsi
xor    %eax,%eax
jmp    1030 <sprintf@plt>
movsbl %dl,%edx
movsbl %cl,%ecx
lea    0xfb7(%rip),%rsi
xor    %eax,%eax
jmp    1030 <sprintf@plt>
movsbl %dl,%edx
movsbl %cl,%ecx
lea    0xfae(%rip),%rsi
xor    %eax,%eax
jmp    1030 <sprintf@plt>
movsbl %dl,%edx
movsbl %cl,%ecx
lea    0xfa5(%rip),%rsi
xor    %eax,%eax
jmp    1030 <sprintf@plt>
movsbl %dl,%edx
movsbl %cl,%ecx
lea    0xf9c(%rip),%rsi
xor    %eax,%eax
jmp    1030 <sprintf@plt>
movsbl %dl,%edx
movsbl %cl,%ecx
lea    0xf93(%rip),%rsi
xor    %eax,%eax
jmp    1030 <sprintf@plt>
movsbl %dl,%edx
movsbl %cl,%ecx
lea    0xf8a(%rip),%rsi
xor    %eax,%eax
jmp    1030 <sprintf@plt>
movsbl %dl,%edx
movsbl %cl,%ecx
lea    0xf81(%rip),%rsi
xor    %eax,%eax
jmp    1030 <sprintf@plt>
movsbl %dl,%edx
movsbl %cl,%ecx
lea    0xf78(%rip),%rsi
xor    %eax,%eax
jmp    1030 <sprintf@plt>
movsbl %dl,%edx
movsbl %cl,%ecx
lea    0xf6e(%rip),%rsi
xor    %eax,%eax
jmp    1030 <sprintf@plt>
movsbl %dl,%edx
movsbl %cl,%ecx
lea    0xf64(%rip),%rsi
xor    %eax,%eax
jmp    1030 <sprintf@plt>
movsbl %dl,%edx
movsbl %cl,%ecx
lea    0xf5a(%rip),%rsi
xor    %eax,%eax
jmp    1030 <sprintf@plt>
movsbl %dl,%edx
lea    -0x30(%rdx),%eax
cmp    $0x16,%eax
ja     12bb <mnemonic+0x1ab>
lea    0xdf2(%rip),%rsi
movslq (%rsi,%rax,4),%rax
add    %rsi,%rax
jmp    *%rax
movsbl %cl,%ecx
lea    0xf7b(%rip),%rsi
xor    %eax,%eax
jmp    1030 <sprintf@plt>
movsbl %cl,%edx
lea    0xfa5(%rip),%rsi
xor    %eax,%eax
jmp    1030 <sprintf@plt>
movsbl %cl,%eax
add    $0xffffffd0,%eax
cmp    $0x16,%eax
ja     12bb <mnemonic+0x1ab>
lea    0xe11(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
movb   $0x0,0x4(%rdi)
movl   $0x544c4148,(%rdi)
ret
movabs $0x21212120524f52,%rax
mov    %rax,0x6(%rdi)
movabs $0x4f52524520212121,%rax
52 52 4f
mov    %rax,(%rdi)
ret
movsbl %cl,%edx
lea    0xf22(%rip),%rsi
xor    %eax,%eax
jmp    1030 <sprintf@plt>
movsbl %cl,%edx
lea    0xf19(%rip),%rsi
xor    %eax,%eax
jmp    1030 <sprintf@plt>
movsbl %cl,%edx
lea    0xf10(%rip),%rsi
xor    %eax,%eax
jmp    1030 <sprintf@plt>
movsbl %cl,%edx
lea    0xf07(%rip),%rsi
xor    %eax,%eax
jmp    1030 <sprintf@plt>
movsbl %cl,%edx
lea    0xefe(%rip),%rsi
xor    %eax,%eax
jmp    1030 <sprintf@plt>
movsbl %cl,%edx
lea    0xef5(%rip),%rsi
xor    %eax,%eax
jmp    1030 <sprintf@plt>
movsbl %cl,%edx
lea    0xef4(%rip),%rsi
xor    %eax,%eax
jmp    1030 <sprintf@plt>
movsbl %cl,%edx
lea    0xeeb(%rip),%rsi
xor    %eax,%eax
jmp    1030 <sprintf@plt>
movl   $0x504f4e,(%rdi)
ret
movl   $0x54554f,0x3(%rdi)
movl   $0x4f534944,(%rdi)
ret
movb   $0x0,0x4(%rdi)
movl   $0x5a445848,(%rdi)
ret
movb   $0x0,0x4(%rdi)
movl   $0x58485a44,(%rdi)
ret
movl   $0x444e52,(%rdi)
ret
movb   $0x0,0x4(%rdi)
movl   $0x454d4954,(%rdi)
ret
movl   $0x544552,(%rdi)
ret
movw   $0x52,0x4(%rdi)
movl   $0x41454c43,(%rdi)
ret
movl   $0x435453,(%rdi)
ret
movl   $0x435352,(%rdi)
ret
movb   $0x0,0x4(%rdi)
movl   $0x544c554d,(%rdi)
ret
movl   $0x564944,(%rdi)
ret
movb   $0x0,0x4(%rdi)
movl   $0x4c525845,(%rdi)
ret
movb   $0x0,0x4(%rdi)
movl   $0x4d525845,(%rdi)
ret
movb   $0x0,0x4(%rdi)
movl   $0x41525845,(%rdi)
ret

LLVM IR (-O0):
@.str = [11 x i8] c"MOV %c,%c\00"
@.str.1 = [11 x i8] c"MOVI %c,%c\00"
@.str.2 = [11 x i8] c"AND %c,%c\00"
@.str.3 = [11 x i8] c"ANDI %c,%c\00"
@.str.4 = [11 x i8] c"ADD %c,%c\00"
@.str.5 = [11 x i8] c"ADDI %c,%c\00"
@.str.6 = [11 x i8] c"SUB %c,%c\00"
@.str.7 = [11 x i8] c"SUBI %c,%c\00"
@.str.8 = [11 x i8] c"CMP %c,%c\00"
@.str.9 = [11 x i8] c"CMPI %c,%c\00"
@.str.10 = [11 x i8] c"OR %c,%c\00"
@.str.11 = [10 x i8] c"CALL %c%c\00"
@.str.12 = [10 x i8] c"GOTO %c%c\00"
@.str.13 = [10 x i8] c"BRC %c%c\00"
@.str.14 = [10 x i8] c"BRZ %c%c\00"
@.str.15 = [5 x i8] c"HALT\00"
@.str.16 = [4 x i8] c"NOP\00"
@.str.17 = [7 x i8] c"DISOUT\00"
@.str.18 = [5 x i8] c"HXDZ\00"
@.str.19 = [5 x i8] c"DZHX\00"
@.str.20 = [4 x i8] c"RND\00"
@.str.21 = [5 x i8] c"TIME\00"
@.str.22 = [4 x i8] c"RET\00"
@.str.23 = [6 x i8] c"CLEAR\00"
@.str.24 = [4 x i8] c"STC\00"
@.str.25 = [4 x i8] c"RSC\00"
@.str.26 = [5 x i8] c"MULT\00"
@.str.27 = [4 x i8] c"DIV\00"
@.str.28 = [5 x i8] c"EXRL\00"
@.str.29 = [5 x i8] c"EXRM\00"
@.str.30 = [5 x i8] c"EXRA\00"
@.str.31 = [14 x i8] c"!!! ERROR !!!\00"
@.str.32 = [11 x i8] c"DISP %c,%c\00"
@.str.33 = [8 x i8] c"MAS %c\00"
@.str.34 = [8 x i8] c"INV %c\00"
@.str.35 = [8 x i8] c"SHR %c\00"
@.str.36 = [8 x i8] c"SHL %c\00"
@.str.37 = [8 x i8] c"ADC %c\00"
@.str.38 = [8 x i8] c"SUBC %c\00"
@.str.39 = [8 x i8] c"DIN %c\00"
@.str.40 = [8 x i8] c"DOT %c\00"
@.str.41 = [8 x i8] c"KIN %c\00"
define void @mnemonic(i8* %0, i8 signext %1, i8 signext %2, i8 signext %3) {
%5 = alloca i8*
%6 = alloca i8
%7 = alloca i8
%8 = alloca i8
store i8* %0, i8** %5
store i8 %1, i8* %6
store i8 %2, i8* %7
store i8 %3, i8* %8
%9 = load i8, i8* %6
%10 = sext i8 %9 to i32
switch i32 %10, label %230 [
i32 48, label %11
i32 49, label %18
i32 50, label %25
i32 51, label %32
i32 52, label %39
i32 53, label %46
i32 54, label %53
i32 55, label %60
i32 56, label %67
i32 57, label %74
i32 65, label %81
i32 66, label %88
i32 67, label %95
i32 68, label %102
i32 69, label %109
i32 70, label %116
]
11: ; preds = %4
%12 = load i8*, i8** %5
%13 = load i8, i8* %7
%14 = sext i8 %13 to i32
%15 = load i8, i8* %8
%16 = sext i8 %15 to i32
%17 = call i32 (i8*, i8*, ...) @sprintf(i8* %12, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 %14, i32 %16)
br label %233
18: ; preds = %4
%19 = load i8*, i8** %5
%20 = load i8, i8* %7
%21 = sext i8 %20 to i32
%22 = load i8, i8* %8
%23 = sext i8 %22 to i32
%24 = call i32 (i8*, i8*, ...) @sprintf(i8* %19, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0), i32 %21, i32 %23)
br label %233
25: ; preds = %4
%26 = load i8*, i8** %5
%27 = load i8, i8* %7
%28 = sext i8 %27 to i32
%29 = load i8, i8* %8
%30 = sext i8 %29 to i32
%31 = call i32 (i8*, i8*, ...) @sprintf(i8* %26, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i32 %28, i32 %30)
br label %233
32: ; preds = %4
%33 = load i8*, i8** %5
%34 = load i8, i8* %7
%35 = sext i8 %34 to i32
%36 = load i8, i8* %8
%37 = sext i8 %36 to i32
%38 = call i32 (i8*, i8*, ...) @sprintf(i8* %33, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), i32 %35, i32 %37)
br label %233
39: ; preds = %4
%40 = load i8*, i8** %5
%41 = load i8, i8* %7
%42 = sext i8 %41 to i32
%43 = load i8, i8* %8
%44 = sext i8 %43 to i32
%45 = call i32 (i8*, i8*, ...) @sprintf(i8* %40, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i32 %42, i32 %44)
br label %233
46: ; preds = %4
%47 = load i8*, i8** %5
%48 = load i8, i8* %7
%49 = sext i8 %48 to i32
%50 = load i8, i8* %8
%51 = sext i8 %50 to i32
%52 = call i32 (i8*, i8*, ...) @sprintf(i8* %47, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0), i32 %49, i32 %51)
br label %233
53: ; preds = %4
%54 = load i8*, i8** %5
%55 = load i8, i8* %7
%56 = sext i8 %55 to i32
%57 = load i8, i8* %8
%58 = sext i8 %57 to i32
%59 = call i32 (i8*, i8*, ...) @sprintf(i8* %54, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.6, i64 0, i64 0), i32 %56, i32 %58)
br label %233
60: ; preds = %4
%61 = load i8*, i8** %5
%62 = load i8, i8* %7
%63 = sext i8 %62 to i32
%64 = load i8, i8* %8
%65 = sext i8 %64 to i32
%66 = call i32 (i8*, i8*, ...) @sprintf(i8* %61, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0), i32 %63, i32 %65)
br label %233
67: ; preds = %4
%68 = load i8*, i8** %5
%69 = load i8, i8* %7
%70 = sext i8 %69 to i32
%71 = load i8, i8* %8
%72 = sext i8 %71 to i32
%73 = call i32 (i8*, i8*, ...) @sprintf(i8* %68, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0), i32 %70, i32 %72)
br label %233
74: ; preds = %4
%75 = load i8*, i8** %5
%76 = load i8, i8* %7
%77 = sext i8 %76 to i32
%78 = load i8, i8* %8
%79 = sext i8 %78 to i32
%80 = call i32 (i8*, i8*, ...) @sprintf(i8* %75, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.9, i64 0, i64 0), i32 %77, i32 %79)
br label %233
81: ; preds = %4
%82 = load i8*, i8** %5
%83 = load i8, i8* %7
%84 = sext i8 %83 to i32
%85 = load i8, i8* %8
%86 = sext i8 %85 to i32
%87 = call i32 (i8*, i8*, ...) @sprintf(i8* %82, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.10, i64 0, i64 0), i32 %84, i32 %86)
br label %233
88: ; preds = %4
%89 = load i8*, i8** %5
%90 = load i8, i8* %7
%91 = sext i8 %90 to i32
%92 = load i8, i8* %8
%93 = sext i8 %92 to i32
%94 = call i32 (i8*, i8*, ...) @sprintf(i8* %89, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0), i32 %91, i32 %93)
br label %233
95: ; preds = %4
%96 = load i8*, i8** %5
%97 = load i8, i8* %7
%98 = sext i8 %97 to i32
%99 = load i8, i8* %8
%100 = sext i8 %99 to i32
%101 = call i32 (i8*, i8*, ...) @sprintf(i8* %96, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.12, i64 0, i64 0), i32 %98, i32 %100)
br label %233
102: ; preds = %4
%103 = load i8*, i8** %5
%104 = load i8, i8* %7
%105 = sext i8 %104 to i32
%106 = load i8, i8* %8
%107 = sext i8 %106 to i32
%108 = call i32 (i8*, i8*, ...) @sprintf(i8* %103, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.13, i64 0, i64 0), i32 %105, i32 %107)
br label %233
109: ; preds = %4
%110 = load i8*, i8** %5
%111 = load i8, i8* %7
%112 = sext i8 %111 to i32
%113 = load i8, i8* %8
%114 = sext i8 %113 to i32
%115 = call i32 (i8*, i8*, ...) @sprintf(i8* %110, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.14, i64 0, i64 0), i32 %112, i32 %114)
br label %233
116: ; preds = %4
%117 = load i8, i8* %7
%118 = sext i8 %117 to i32
switch i32 %118, label %226 [
i32 48, label %119
i32 49, label %174
i32 50, label %174
i32 51, label %174
i32 52, label %174
i32 53, label %174
i32 54, label %174
i32 55, label %181
i32 56, label %186
i32 57, label %191
i32 65, label %196
i32 66, label %201
i32 67, label %206
i32 68, label %211
i32 69, label %216
i32 70, label %221
]
119: ; preds = %116
%120 = load i8, i8* %8
%121 = sext i8 %120 to i32
switch i32 %121, label %170 [
i32 48, label %122
i32 49, label %125
i32 50, label %128
i32 51, label %131
i32 52, label %134
i32 53, label %137
i32 54, label %140
i32 55, label %143
i32 56, label %146
i32 57, label %149
i32 65, label %152
i32 66, label %155
i32 67, label %158
i32 68, label %161
i32 69, label %164
i32 70, label %167
]
122: ; preds = %119
%123 = load i8*, i8** %5
%124 = call i32 (i8*, i8*, ...) @sprintf(i8* %123, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.15, i64 0, i64 0))
br label %173
125: ; preds = %119
%126 = load i8*, i8** %5
%127 = call i32 (i8*, i8*, ...) @sprintf(i8* %126, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.16, i64 0, i64 0))
br label %173
128: ; preds = %119
%129 = load i8*, i8** %5
%130 = call i32 (i8*, i8*, ...) @sprintf(i8* %129, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.17, i64 0, i64 0))
br label %173
131: ; preds = %119
%132 = load i8*, i8** %5
%133 = call i32 (i8*, i8*, ...) @sprintf(i8* %132, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.18, i64 0, i64 0))
br label %173
134: ; preds = %119
%135 = load i8*, i8** %5
%136 = call i32 (i8*, i8*, ...) @sprintf(i8* %135, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.19, i64 0, i64 0))
br label %173
137: ; preds = %119
%138 = load i8*, i8** %5
%139 = call i32 (i8*, i8*, ...) @sprintf(i8* %138, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.20, i64 0, i64 0))
br label %173
140: ; preds = %119
%141 = load i8*, i8** %5
%142 = call i32 (i8*, i8*, ...) @sprintf(i8* %141, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.21, i64 0, i64 0))
br label %173
143: ; preds = %119
%144 = load i8*, i8** %5
%145 = call i32 (i8*, i8*, ...) @sprintf(i8* %144, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.22, i64 0, i64 0))
br label %173
146: ; preds = %119
%147 = load i8*, i8** %5
%148 = call i32 (i8*, i8*, ...) @sprintf(i8* %147, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.23, i64 0, i64 0))
br label %173
149: ; preds = %119
%150 = load i8*, i8** %5
%151 = call i32 (i8*, i8*, ...) @sprintf(i8* %150, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.24, i64 0, i64 0))
br label %173
152: ; preds = %119
%153 = load i8*, i8** %5
%154 = call i32 (i8*, i8*, ...) @sprintf(i8* %153, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.25, i64 0, i64 0))
br label %173
155: ; preds = %119
%156 = load i8*, i8** %5
%157 = call i32 (i8*, i8*, ...) @sprintf(i8* %156, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.26, i64 0, i64 0))
br label %173
158: ; preds = %119
%159 = load i8*, i8** %5
%160 = call i32 (i8*, i8*, ...) @sprintf(i8* %159, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.27, i64 0, i64 0))
br label %173
161: ; preds = %119
%162 = load i8*, i8** %5
%163 = call i32 (i8*, i8*, ...) @sprintf(i8* %162, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.28, i64 0, i64 0))
br label %173
164: ; preds = %119
%165 = load i8*, i8** %5
%166 = call i32 (i8*, i8*, ...) @sprintf(i8* %165, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.29, i64 0, i64 0))
br label %173
167: ; preds = %119
%168 = load i8*, i8** %5
%169 = call i32 (i8*, i8*, ...) @sprintf(i8* %168, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.30, i64 0, i64 0))
br label %173
170: ; preds = %119
%171 = load i8*, i8** %5
%172 = call i32 (i8*, i8*, ...) @sprintf(i8* %171, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.31, i64 0, i64 0))
br label %173
173: ; preds = %170, %167, %164, %161, %158, %155, %152, %149, %146, %143, %140, %137, %134, %131, %128, %125, %122
br label %229
174: ; preds = %116, %116, %116, %116, %116, %116
%175 = load i8*, i8** %5
%176 = load i8, i8* %7
%177 = sext i8 %176 to i32
%178 = load i8, i8* %8
%179 = sext i8 %178 to i32
%180 = call i32 (i8*, i8*, ...) @sprintf(i8* %175, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.32, i64 0, i64 0), i32 %177, i32 %179)
br label %229
181: ; preds = %116
%182 = load i8*, i8** %5
%183 = load i8, i8* %8
%184 = sext i8 %183 to i32
%185 = call i32 (i8*, i8*, ...) @sprintf(i8* %182, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.33, i64 0, i64 0), i32 %184)
br label %229
186: ; preds = %116
%187 = load i8*, i8** %5
%188 = load i8, i8* %8
%189 = sext i8 %188 to i32
%190 = call i32 (i8*, i8*, ...) @sprintf(i8* %187, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.34, i64 0, i64 0), i32 %189)
br label %229
191: ; preds = %116
%192 = load i8*, i8** %5
%193 = load i8, i8* %8
%194 = sext i8 %193 to i32
%195 = call i32 (i8*, i8*, ...) @sprintf(i8* %192, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.35, i64 0, i64 0), i32 %194)
br label %229
196: ; preds = %116
%197 = load i8*, i8** %5
%198 = load i8, i8* %8
%199 = sext i8 %198 to i32
%200 = call i32 (i8*, i8*, ...) @sprintf(i8* %197, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.36, i64 0, i64 0), i32 %199)
br label %229
201: ; preds = %116
%202 = load i8*, i8** %5
%203 = load i8, i8* %8
%204 = sext i8 %203 to i32
%205 = call i32 (i8*, i8*, ...) @sprintf(i8* %202, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.37, i64 0, i64 0), i32 %204)
br label %229
206: ; preds = %116
%207 = load i8*, i8** %5
%208 = load i8, i8* %8
%209 = sext i8 %208 to i32
%210 = call i32 (i8*, i8*, ...) @sprintf(i8* %207, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.38, i64 0, i64 0), i32 %209)
br label %229
211: ; preds = %116
%212 = load i8*, i8** %5
%213 = load i8, i8* %8
%214 = sext i8 %213 to i32
%215 = call i32 (i8*, i8*, ...) @sprintf(i8* %212, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.39, i64 0, i64 0), i32 %214)
br label %229
216: ; preds = %116
%217 = load i8*, i8** %5
%218 = load i8, i8* %8
%219 = sext i8 %218 to i32
%220 = call i32 (i8*, i8*, ...) @sprintf(i8* %217, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.40, i64 0, i64 0), i32 %219)
br label %229
221: ; preds = %116
%222 = load i8*, i8** %5
%223 = load i8, i8* %8
%224 = sext i8 %223 to i32
%225 = call i32 (i8*, i8*, ...) @sprintf(i8* %222, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.41, i64 0, i64 0), i32 %224)
br label %229
226: ; preds = %116
%227 = load i8*, i8** %5
%228 = call i32 (i8*, i8*, ...) @sprintf(i8* %227, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.31, i64 0, i64 0))
br label %229
229: ; preds = %226, %221, %216, %211, %206, %201, %196, %191, %186, %181, %174, %173
br label %233
230: ; preds = %4
%231 = load i8*, i8** %5
%232 = call i32 (i8*, i8*, ...) @sprintf(i8* %231, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.31, i64 0, i64 0))
br label %233
233: ; preds = %230, %229, %109, %102, %95, %88, %81, %74, %67, %60, %53, %46, %39, %32, %25, %18, %11
ret void
}

LLVM IR (-O2):
@.str = [11 x i8] c"MOV %c,%c\00"
@.str.1 = [11 x i8] c"MOVI %c,%c\00"
@.str.2 = [11 x i8] c"AND %c,%c\00"
@.str.3 = [11 x i8] c"ANDI %c,%c\00"
@.str.4 = [11 x i8] c"ADD %c,%c\00"
@.str.5 = [11 x i8] c"ADDI %c,%c\00"
@.str.6 = [11 x i8] c"SUB %c,%c\00"
@.str.7 = [11 x i8] c"SUBI %c,%c\00"
@.str.8 = [11 x i8] c"CMP %c,%c\00"
@.str.9 = [11 x i8] c"CMPI %c,%c\00"
@.str.10 = [11 x i8] c"OR %c,%c\00"
@.str.11 = [10 x i8] c"CALL %c%c\00"
@.str.12 = [10 x i8] c"GOTO %c%c\00"
@.str.13 = [10 x i8] c"BRC %c%c\00"
@.str.14 = [10 x i8] c"BRZ %c%c\00"
@.str.15 = [5 x i8] c"HALT\00"
@.str.17 = [7 x i8] c"DISOUT\00"
@.str.18 = [5 x i8] c"HXDZ\00"
@.str.19 = [5 x i8] c"DZHX\00"
@.str.21 = [5 x i8] c"TIME\00"
@.str.23 = [6 x i8] c"CLEAR\00"
@.str.26 = [5 x i8] c"MULT\00"
@.str.28 = [5 x i8] c"EXRL\00"
@.str.29 = [5 x i8] c"EXRM\00"
@.str.30 = [5 x i8] c"EXRA\00"
@.str.31 = [14 x i8] c"!!! ERROR !!!\00"
@.str.32 = [11 x i8] c"DISP %c,%c\00"
@.str.33 = [8 x i8] c"MAS %c\00"
@.str.34 = [8 x i8] c"INV %c\00"
@.str.35 = [8 x i8] c"SHR %c\00"
@.str.36 = [8 x i8] c"SHL %c\00"
@.str.37 = [8 x i8] c"ADC %c\00"
@.str.38 = [8 x i8] c"SUBC %c\00"
@.str.39 = [8 x i8] c"DIN %c\00"
@.str.40 = [8 x i8] c"DOT %c\00"
@.str.41 = [8 x i8] c"KIN %c\00"
define void @mnemonic(i8* writeonly %0, i8 signext %1, i8 signext %2, i8 signext %3) {
%5 = sext i8 %1 to i32
switch i32 %5, label %124 [
i32 48, label %6
i32 49, label %10
i32 50, label %14
i32 51, label %18
i32 52, label %22
i32 53, label %26
i32 54, label %30
i32 55, label %34
i32 56, label %38
i32 57, label %42
i32 65, label %46
i32 66, label %50
i32 67, label %54
i32 68, label %58
i32 69, label %62
i32 70, label %66
]
6: ; preds = %4
%7 = sext i8 %2 to i32
%8 = sext i8 %3 to i32
%9 = tail call i32 (i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %0, i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 %7, i32 %8)
br label %125
10: ; preds = %4
%11 = sext i8 %2 to i32
%12 = sext i8 %3 to i32
%13 = tail call i32 (i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %0, i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0), i32 %11, i32 %12)
br label %125
14: ; preds = %4
%15 = sext i8 %2 to i32
%16 = sext i8 %3 to i32
%17 = tail call i32 (i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %0, i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i32 %15, i32 %16)
br label %125
18: ; preds = %4
%19 = sext i8 %2 to i32
%20 = sext i8 %3 to i32
%21 = tail call i32 (i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %0, i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), i32 %19, i32 %20)
br label %125
22: ; preds = %4
%23 = sext i8 %2 to i32
%24 = sext i8 %3 to i32
%25 = tail call i32 (i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %0, i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i32 %23, i32 %24)
br label %125
26: ; preds = %4
%27 = sext i8 %2 to i32
%28 = sext i8 %3 to i32
%29 = tail call i32 (i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %0, i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0), i32 %27, i32 %28)
br label %125
30: ; preds = %4
%31 = sext i8 %2 to i32
%32 = sext i8 %3 to i32
%33 = tail call i32 (i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %0, i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.6, i64 0, i64 0), i32 %31, i32 %32)
br label %125
34: ; preds = %4
%35 = sext i8 %2 to i32
%36 = sext i8 %3 to i32
%37 = tail call i32 (i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %0, i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0), i32 %35, i32 %36)
br label %125
38: ; preds = %4
%39 = sext i8 %2 to i32
%40 = sext i8 %3 to i32
%41 = tail call i32 (i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %0, i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0), i32 %39, i32 %40)
br label %125
42: ; preds = %4
%43 = sext i8 %2 to i32
%44 = sext i8 %3 to i32
%45 = tail call i32 (i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %0, i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.9, i64 0, i64 0), i32 %43, i32 %44)
br label %125
46: ; preds = %4
%47 = sext i8 %2 to i32
%48 = sext i8 %3 to i32
%49 = tail call i32 (i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %0, i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.10, i64 0, i64 0), i32 %47, i32 %48)
br label %125
50: ; preds = %4
%51 = sext i8 %2 to i32
%52 = sext i8 %3 to i32
%53 = tail call i32 (i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %0, i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0), i32 %51, i32 %52)
br label %125
54: ; preds = %4
%55 = sext i8 %2 to i32
%56 = sext i8 %3 to i32
%57 = tail call i32 (i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %0, i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.12, i64 0, i64 0), i32 %55, i32 %56)
br label %125
58: ; preds = %4
%59 = sext i8 %2 to i32
%60 = sext i8 %3 to i32
%61 = tail call i32 (i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %0, i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.13, i64 0, i64 0), i32 %59, i32 %60)
br label %125
62: ; preds = %4
%63 = sext i8 %2 to i32
%64 = sext i8 %3 to i32
%65 = tail call i32 (i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %0, i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.14, i64 0, i64 0), i32 %63, i32 %64)
br label %125
66: ; preds = %4
%67 = sext i8 %2 to i32
switch i32 %67, label %123 [
i32 48, label %68
i32 49, label %93
i32 50, label %93
i32 51, label %93
i32 52, label %93
i32 53, label %93
i32 54, label %93
i32 55, label %96
i32 56, label %99
i32 57, label %102
i32 65, label %105
i32 66, label %108
i32 67, label %111
i32 68, label %114
i32 69, label %117
i32 70, label %120
]
68: ; preds = %66
%69 = sext i8 %3 to i32
switch i32 %69, label %92 [
i32 48, label %70
i32 49, label %71
i32 50, label %73
i32 51, label %74
i32 52, label %75
i32 53, label %76
i32 54, label %78
i32 55, label %79
i32 56, label %81
i32 57, label %82
i32 65, label %84
i32 66, label %86
i32 67, label %87
i32 68, label %89
i32 69, label %90
i32 70, label %91
]
70: ; preds = %68
tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 1 dereferenceable(5) %0, i8* align 1 dereferenceable(5) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.15, i64 0, i64 0), i64 5, i1 false)
br label %125
71: ; preds = %68
%72 = bitcast i8* %0 to i32*
store i32 5263182, i32* %72
br label %125
73: ; preds = %68
tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 1 dereferenceable(7) %0, i8* align 1 dereferenceable(7) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.17, i64 0, i64 0), i64 7, i1 false)
br label %125
74: ; preds = %68
tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 1 dereferenceable(5) %0, i8* align 1 dereferenceable(5) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.18, i64 0, i64 0), i64 5, i1 false)
br label %125
75: ; preds = %68
tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 1 dereferenceable(5) %0, i8* align 1 dereferenceable(5) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.19, i64 0, i64 0), i64 5, i1 false)
br label %125
76: ; preds = %68
%77 = bitcast i8* %0 to i32*
store i32 4476498, i32* %77
br label %125
78: ; preds = %68
tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 1 dereferenceable(5) %0, i8* align 1 dereferenceable(5) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.21, i64 0, i64 0), i64 5, i1 false)
br label %125
79: ; preds = %68
%80 = bitcast i8* %0 to i32*
store i32 5522770, i32* %80
br label %125
81: ; preds = %68
tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 1 dereferenceable(6) %0, i8* align 1 dereferenceable(6) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.23, i64 0, i64 0), i64 6, i1 false)
br label %125
82: ; preds = %68
%83 = bitcast i8* %0 to i32*
store i32 4412499, i32* %83
br label %125
84: ; preds = %68
%85 = bitcast i8* %0 to i32*
store i32 4412242, i32* %85
br label %125
86: ; preds = %68
tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 1 dereferenceable(5) %0, i8* align 1 dereferenceable(5) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.26, i64 0, i64 0), i64 5, i1 false)
br label %125
87: ; preds = %68
%88 = bitcast i8* %0 to i32*
store i32 5654852, i32* %88
br label %125
89: ; preds = %68
tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 1 dereferenceable(5) %0, i8* align 1 dereferenceable(5) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.28, i64 0, i64 0), i64 5, i1 false)
br label %125
90: ; preds = %68
tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 1 dereferenceable(5) %0, i8* align 1 dereferenceable(5) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.29, i64 0, i64 0), i64 5, i1 false)
br label %125
91: ; preds = %68
tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 1 dereferenceable(5) %0, i8* align 1 dereferenceable(5) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.30, i64 0, i64 0), i64 5, i1 false)
br label %125
92: ; preds = %68
tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 1 dereferenceable(14) %0, i8* align 1 dereferenceable(14) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.31, i64 0, i64 0), i64 14, i1 false)
br label %125
93: ; preds = %66, %66, %66, %66, %66, %66
%94 = sext i8 %3 to i32
%95 = tail call i32 (i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %0, i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.32, i64 0, i64 0), i32 %67, i32 %94)
br label %125
96: ; preds = %66
%97 = sext i8 %3 to i32
%98 = tail call i32 (i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %0, i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.33, i64 0, i64 0), i32 %97)
br label %125
99: ; preds = %66
%100 = sext i8 %3 to i32
%101 = tail call i32 (i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %0, i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.34, i64 0, i64 0), i32 %100)
br label %125
102: ; preds = %66
%103 = sext i8 %3 to i32
%104 = tail call i32 (i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %0, i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.35, i64 0, i64 0), i32 %103)
br label %125
105: ; preds = %66
%106 = sext i8 %3 to i32
%107 = tail call i32 (i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %0, i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.36, i64 0, i64 0), i32 %106)
br label %125
108: ; preds = %66
%109 = sext i8 %3 to i32
%110 = tail call i32 (i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %0, i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.37, i64 0, i64 0), i32 %109)
br label %125
111: ; preds = %66
%112 = sext i8 %3 to i32
%113 = tail call i32 (i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %0, i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.38, i64 0, i64 0), i32 %112)
br label %125
114: ; preds = %66
%115 = sext i8 %3 to i32
%116 = tail call i32 (i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %0, i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.39, i64 0, i64 0), i32 %115)
br label %125
117: ; preds = %66
%118 = sext i8 %3 to i32
%119 = tail call i32 (i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %0, i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.40, i64 0, i64 0), i32 %118)
br label %125
120: ; preds = %66
%121 = sext i8 %3 to i32
%122 = tail call i32 (i8*, i8*, ...) @sprintf(i8* dereferenceable(1) %0, i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.41, i64 0, i64 0), i32 %121)
br label %125
123: ; preds = %66
tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 1 dereferenceable(14) %0, i8* align 1 dereferenceable(14) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.31, i64 0, i64 0), i64 14, i1 false)
br label %125
124: ; preds = %4
tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 1 dereferenceable(14) %0, i8* align 1 dereferenceable(14) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.31, i64 0, i64 0), i64 14, i1 false)
br label %125
125: ; preds = %93, %96, %99, %102, %105, %108, %111, %114, %117, %120, %123, %92, %91, %90, %89, %87, %86, %84, %82, %81, %79, %78, %76, %75, %74, %73, %71, %70, %124, %62, %58, %54, %50, %46, %42, %38, %34, %30, %26, %22, %18, %14, %10, %6
ret void
}