#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*/ get_modifier_keys(int *, int *);
int getachar();
int getkey(void) {
  int ch, shift, ctrl;
  ch = getachar();
  if (ch < 0)
    return ch;
  switch (ch) {
  case 0x08:
    return 0x101;
  case 0x09:
    get_modifier_keys(&shift, &ctrl);
    if (shift)
      return 0x11E;
    if (ctrl)
      return 0x115;
    return 0x10C;
  case 0x0D:
    return 0x10B;
  case 0x0A:
    return 0x10B;
  case 0x1B:
    ch = getachar();
    switch (ch) {
    case 0x1B:
      return 0x102;
    case 0x4F:
      ch = getachar();
      switch (ch) {
      case 0x46:
        return 0x10A;
      case 0x48:
        return 0x109;
      case 0x50:
        return 0x125;
      case 0x51:
        return 0x126;
      case 0x52:
        return 0x127;
      case 0x53:
        return 0x128;
      case 0x54:
        return 0x129;
      default:
        return 0xFFF;
      }
      break;
    case 0x5B:
      get_modifier_keys(&shift, &ctrl);
      ch = getachar();
      if (ch == 0x31) {
        ch = getachar();
        switch (ch) {
        case 0x35:
          return getachar() == 0x7E ? 0x129 : 0xFFF;
        case 0x37:
          return getachar() == 0x7E ? 0x12a : 0xFFF;
        case 0x3B:
          ch = getachar();
          if (ch == 0x7E)
            return 0x12b;
          if (ch == 0x32)
            shift = 1;
          if (ch == 0x35)
            ctrl = 1;
          if (ch == 0x36)
            shift = ctrl = 1;
          ch = getachar();
          break;
        case 0x39:
          return getachar() == 0x7E ? 0x12c : 0xFFF;
        case 0x7E:
          if (shift && ctrl)
            return 0x123;
          if (shift)
            return 0x11C;
          if (ctrl)
            return 0x113;
          return 0x109;
        default:
          return 0xFFF;
        }
      }
      switch (ch) {
      case 0x31:
        ch = getachar();
        if (ch != 0x7E)
          return 0xFFF;
        if (shift && ctrl)
          return 0x123;
        if (shift)
          return 0x11C;
        if (ctrl)
          return 0x113;
        return 0x109;
      case 0x32:
        ch = getachar();
        switch (ch) {
        case 0x30:
          ch = getachar();
          return 0x12d;
        case 0x31:
          ch = getachar();
          return 0x12e;
        case 0x7E:
          return 0x103;
        default:
          break;
        }
        return 0xFFF;
      case 0x33:
        return getachar() == 0x7E ? 0x104 : 0xFFF;
      case 0x34:
        if (getachar() != 0x7E)
          return 0xFFF;
        if (shift && ctrl)
          return 0x124;
        if (shift)
          return 0x11D;
        if (ctrl)
          return 0x114;
        return 0x10A;
      case 0x35:
        if (getachar() != 0x7E)
          return 0xFFF;
        if (shift)
          return 0x11A;
        return 0x10D;
      case 0x36:
        if (getachar() != 0x7E)
          return 0xFFF;
        if (shift)
          return 0x11B;
        return 0x10E;
      case 0x41:
        if (shift && ctrl)
          return 0x121;
        if (shift)
          return 0x118;
        if (ctrl)
          return 0x111;
        return 0x107;
      case 0x42:
        if (shift && ctrl)
          return 0x122;
        if (shift)
          return 0x119;
        if (ctrl)
          return 0x112;
        return 0x108;
      case 0x43:
        if (shift && ctrl)
          return 0x120;
        if (shift)
          return 0x117;
        if (ctrl)
          return 0x110;
        return 0x106;
      case 0x44:
        if (shift && ctrl)
          return 0x11F;
        if (shift)
          return 0x116;
        if (ctrl)
          return 0x10F;
        return 0x105;
      case 0x46:
        if (shift && ctrl)
          return 0x124;
        if (shift)
          return 0x11D;
        if (ctrl)
          return 0x114;
        return 0x10A;
      case 0x48:
        if (shift && ctrl)
          return 0x123;
        if (shift)
          return 0x11C;
        if (ctrl)
          return 0x113;
        return 0x109;
      case 0x5A:
        return 0x11E;
      case 0x5B:
        ch = getachar();
        switch (ch) {
        case 0x41:
          return 0x125;
        case 0x43:
          return 0x127;
        case 0x45:
          return 0x129;
        }
        return 0xFFF;
      default:
        return 0xFFF;
      }
      break;
    default:
      return 0xFFF;
    }
    break;
  case 0x00:
  case 0xE0:
    ch = getachar();
    switch (ch) {
    case 0x0F:
      return 0x11E;
    case 0x3B:
      return 0x125;
    case 0x3D:
      return 0x127;
    case 0x3F:
      return 0x129;
    case 0x47:
      return 0x109;
    case 0x48:
      return 0x107;
    case 0x49:
      return 0x10D;
    case 0x4B:
      return 0x105;
    case 0x4D:
      return 0x106;
    case 0x4F:
      return 0x10A;
    case 0x50:
      return 0x108;
    case 0x51:
      return 0x10E;
    case 0x52:
      return 0x103;
    case 0x53:
      return 0x104;
    case 0x73:
      return 0x10F;
    case 0x74:
      return 0x110;
    case 0x75:
      return 0x114;
    case 0x77:
      return 0x113;
    case 0x8D:
      return 0x111;
    case 0x91:
      return 0x112;
    case 0x94:
      return 0x115;
    case 0xB8:
      return 0x118;
    case 0xB7:
      return 0x11C;
    case 0xBF:
      return 0x11D;
    case 0xB9:
      return 0x11A;
    case 0xBB:
      return 0x116;
    case 0xBD:
      return 0x117;
    case 0xC0:
      return 0x119;
    case 0xC1:
      return 0x11B;
    case 0xDB:
      return 0x11F;
    case 0xDD:
      return 0x120;
    case 0xD8:
      return 0x121;
    case 0xE0:
      return 0x122;
    case 0xD7:
      return 0x123;
    case 0xDF:
      return 0x124;
    default:
      return 0xFFF;
    }
    break;
  case 0x7F:
    return 0x101;
  default:
    return ch;
  }
}


x86 assembly (clang, -O0):
<getkey>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    $0x0,%al
call   1030 <getachar@plt>
mov    %eax,-0x8(%rbp)
cmpl   $0x0,-0x8(%rbp)
jge    1147 <getkey+0x27>
mov    -0x8(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
mov    -0x8(%rbp),%eax
mov    %eax,-0x14(%rbp)
test   %eax,%eax
je     19b2 <getkey+0x892>
jmp    115a <getkey+0x3a>
mov    -0x14(%rbp),%eax
sub    $0x8,%eax
je     11d3 <getkey+0xb3>
jmp    116b <getkey+0x4b>
mov    -0x14(%rbp),%eax
sub    $0x9,%eax
je     11df <getkey+0xbf>
jmp    117c <getkey+0x5c>
mov    -0x14(%rbp),%eax
sub    $0xa,%eax
je     1230 <getkey+0x110>
jmp    118d <getkey+0x6d>
mov    -0x14(%rbp),%eax
sub    $0xd,%eax
je     1224 <getkey+0x104>
jmp    119e <getkey+0x7e>
mov    -0x14(%rbp),%eax
sub    $0x1b,%eax
je     123c <getkey+0x11c>
jmp    11af <getkey+0x8f>
mov    -0x14(%rbp),%eax
sub    $0x7f,%eax
je     1b97 <getkey+0xa77>
jmp    11c0 <getkey+0xa0>
mov    -0x14(%rbp),%eax
sub    $0xe0,%eax
je     19b2 <getkey+0x892>
jmp    1ba3 <getkey+0xa83>
movl   $0x101,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
lea    -0xc(%rbp),%rdi
lea    -0x10(%rbp),%rsi
call   1040 <get_modifier_keys@plt>
cmpl   $0x0,-0xc(%rbp)
je     1202 <getkey+0xe2>
movl   $0x11e,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
cmpl   $0x0,-0x10(%rbp)
je     1218 <getkey+0xf8>
movl   $0x115,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x10c,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x10b,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x10b,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
xor    %eax,%eax
call   1030 <getachar@plt>
mov    %eax,-0x8(%rbp)
mov    -0x8(%rbp),%eax
mov    %eax,-0x18(%rbp)
sub    $0x1b,%eax
je     127c <getkey+0x15c>
jmp    125a <getkey+0x13a>
mov    -0x18(%rbp),%eax
sub    $0x4f,%eax
je     1288 <getkey+0x168>
jmp    126b <getkey+0x14b>
mov    -0x18(%rbp),%eax
sub    $0x5b,%eax
je     131b <getkey+0x1fb>
jmp    19a6 <getkey+0x886>
movl   $0x102,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
xor    %eax,%eax
call   1030 <getachar@plt>
mov    %eax,-0x8(%rbp)
mov    -0x8(%rbp),%eax
add    $0xffffffba,%eax
mov    %eax,%ecx
mov    %rcx,-0x20(%rbp)
sub    $0xe,%eax
ja     130f <getkey+0x1ef>
mov    -0x20(%rbp),%rax
lea    0x1142(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
movl   $0x10a,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x109,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x125,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x126,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x127,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x128,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x129,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0xfff,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
lea    -0xc(%rbp),%rdi
lea    -0x10(%rbp),%rsi
call   1040 <get_modifier_keys@plt>
mov    $0x0,%al
call   1030 <getachar@plt>
mov    %eax,-0x8(%rbp)
cmpl   $0x31,-0x8(%rbp)
jne    14d3 <getkey+0x3b3>
xor    %eax,%eax
call   1030 <getachar@plt>
mov    %eax,-0x8(%rbp)
mov    -0x8(%rbp),%eax
mov    %eax,-0x24(%rbp)
sub    $0x35,%eax
je     139e <getkey+0x27e>
jmp    135a <getkey+0x23a>
mov    -0x24(%rbp),%eax
sub    $0x37,%eax
je     13bf <getkey+0x29f>
jmp    136b <getkey+0x24b>
mov    -0x24(%rbp),%eax
sub    $0x39,%eax
je     1449 <getkey+0x329>
jmp    137c <getkey+0x25c>
mov    -0x24(%rbp),%eax
sub    $0x3b,%eax
je     13e0 <getkey+0x2c0>
jmp    138d <getkey+0x26d>
mov    -0x24(%rbp),%eax
sub    $0x7e,%eax
je     146a <getkey+0x34a>
jmp    14c2 <getkey+0x3a2>
mov    $0x0,%al
call   1030 <getachar@plt>
mov    %eax,%edx
mov    $0xfff,%eax
mov    $0x129,%ecx
cmp    $0x7e,%edx
cmove  %ecx,%eax
mov    %eax,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
mov    $0x0,%al
call   1030 <getachar@plt>
mov    %eax,%edx
mov    $0xfff,%eax
mov    $0x12a,%ecx
cmp    $0x7e,%edx
cmove  %ecx,%eax
mov    %eax,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
mov    $0x0,%al
call   1030 <getachar@plt>
mov    %eax,-0x8(%rbp)
cmpl   $0x7e,-0x8(%rbp)
jne    1400 <getkey+0x2e0>
movl   $0x12b,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
cmpl   $0x32,-0x8(%rbp)
jne    1411 <getkey+0x2f1>
movl   $0x1,-0xc(%rbp)
cmpl   $0x35,-0x8(%rbp)
jne    1422 <getkey+0x302>
movl   $0x1,-0x10(%rbp)
cmpl   $0x36,-0x8(%rbp)
jne    143a <getkey+0x31a>
movl   $0x1,-0x10(%rbp)
movl   $0x1,-0xc(%rbp)
mov    $0x0,%al
call   1030 <getachar@plt>
mov    %eax,-0x8(%rbp)
jmp    14ce <getkey+0x3ae>
mov    $0x0,%al
call   1030 <getachar@plt>
mov    %eax,%edx
mov    $0xfff,%eax
mov    $0x12c,%ecx
cmp    $0x7e,%edx
cmove  %ecx,%eax
mov    %eax,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
cmpl   $0x0,-0xc(%rbp)
je     148a <getkey+0x36a>
cmpl   $0x0,-0x10(%rbp)
je     148a <getkey+0x36a>
movl   $0x123,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
cmpl   $0x0,-0xc(%rbp)
je     14a0 <getkey+0x380>
movl   $0x11c,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
cmpl   $0x0,-0x10(%rbp)
je     14b6 <getkey+0x396>
movl   $0x113,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x109,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0xfff,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
jmp    14d3 <getkey+0x3b3>
mov    -0x8(%rbp),%eax
add    $0xffffffcf,%eax
mov    %eax,%ecx
mov    %rcx,-0x30(%rbp)
sub    $0x2a,%eax
ja     199a <getkey+0x87a>
mov    -0x30(%rbp),%rax
lea    0xe55(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    $0x0,%al
call   1030 <getachar@plt>
mov    %eax,-0x8(%rbp)
cmpl   $0x7e,-0x8(%rbp)
je     151c <getkey+0x3fc>
movl   $0xfff,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
cmpl   $0x0,-0xc(%rbp)
je     153c <getkey+0x41c>
cmpl   $0x0,-0x10(%rbp)
je     153c <getkey+0x41c>
movl   $0x123,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
cmpl   $0x0,-0xc(%rbp)
je     1552 <getkey+0x432>
movl   $0x11c,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
cmpl   $0x0,-0x10(%rbp)
je     1568 <getkey+0x448>
movl   $0x113,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x109,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
xor    %eax,%eax
call   1030 <getachar@plt>
mov    %eax,-0x8(%rbp)
mov    -0x8(%rbp),%eax
mov    %eax,-0x34(%rbp)
sub    $0x30,%eax
je     15b4 <getkey+0x494>
jmp    1592 <getkey+0x472>
mov    -0x34(%rbp),%eax
sub    $0x31,%eax
je     15ca <getkey+0x4aa>
jmp    15a3 <getkey+0x483>
mov    -0x34(%rbp),%eax
sub    $0x7e,%eax
je     15e0 <getkey+0x4c0>
jmp    15ec <getkey+0x4cc>
mov    $0x0,%al
call   1030 <getachar@plt>
mov    %eax,-0x8(%rbp)
movl   $0x12d,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
mov    $0x0,%al
call   1030 <getachar@plt>
mov    %eax,-0x8(%rbp)
movl   $0x12e,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x103,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
jmp    15f1 <getkey+0x4d1>
movl   $0xfff,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
mov    $0x0,%al
call   1030 <getachar@plt>
mov    %eax,%edx
mov    $0xfff,%eax
mov    $0x104,%ecx
cmp    $0x7e,%edx
cmove  %ecx,%eax
mov    %eax,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
mov    $0x0,%al
call   1030 <getachar@plt>
cmp    $0x7e,%eax
je     163a <getkey+0x51a>
movl   $0xfff,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
cmpl   $0x0,-0xc(%rbp)
je     165a <getkey+0x53a>
cmpl   $0x0,-0x10(%rbp)
je     165a <getkey+0x53a>
movl   $0x124,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
cmpl   $0x0,-0xc(%rbp)
je     1670 <getkey+0x550>
movl   $0x11d,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
cmpl   $0x0,-0x10(%rbp)
je     1686 <getkey+0x566>
movl   $0x114,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x10a,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
mov    $0x0,%al
call   1030 <getachar@plt>
cmp    $0x7e,%eax
je     16ae <getkey+0x58e>
movl   $0xfff,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
cmpl   $0x0,-0xc(%rbp)
je     16c4 <getkey+0x5a4>
movl   $0x11a,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x10d,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
mov    $0x0,%al
call   1030 <getachar@plt>
cmp    $0x7e,%eax
je     16ec <getkey+0x5cc>
movl   $0xfff,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
cmpl   $0x0,-0xc(%rbp)
je     1702 <getkey+0x5e2>
movl   $0x11b,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x10e,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
cmpl   $0x0,-0xc(%rbp)
je     172e <getkey+0x60e>
cmpl   $0x0,-0x10(%rbp)
je     172e <getkey+0x60e>
movl   $0x121,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
cmpl   $0x0,-0xc(%rbp)
je     1744 <getkey+0x624>
movl   $0x118,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
cmpl   $0x0,-0x10(%rbp)
je     175a <getkey+0x63a>
movl   $0x111,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x107,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
cmpl   $0x0,-0xc(%rbp)
je     1786 <getkey+0x666>
cmpl   $0x0,-0x10(%rbp)
je     1786 <getkey+0x666>
movl   $0x122,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
cmpl   $0x0,-0xc(%rbp)
je     179c <getkey+0x67c>
movl   $0x119,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
cmpl   $0x0,-0x10(%rbp)
je     17b2 <getkey+0x692>
movl   $0x112,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x108,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
cmpl   $0x0,-0xc(%rbp)
je     17de <getkey+0x6be>
cmpl   $0x0,-0x10(%rbp)
je     17de <getkey+0x6be>
movl   $0x120,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
cmpl   $0x0,-0xc(%rbp)
je     17f4 <getkey+0x6d4>
movl   $0x117,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
cmpl   $0x0,-0x10(%rbp)
je     180a <getkey+0x6ea>
movl   $0x110,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x106,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
cmpl   $0x0,-0xc(%rbp)
je     1836 <getkey+0x716>
cmpl   $0x0,-0x10(%rbp)
je     1836 <getkey+0x716>
movl   $0x11f,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
cmpl   $0x0,-0xc(%rbp)
je     184c <getkey+0x72c>
movl   $0x116,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
cmpl   $0x0,-0x10(%rbp)
je     1862 <getkey+0x742>
movl   $0x10f,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x105,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
cmpl   $0x0,-0xc(%rbp)
je     188e <getkey+0x76e>
cmpl   $0x0,-0x10(%rbp)
je     188e <getkey+0x76e>
movl   $0x124,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
cmpl   $0x0,-0xc(%rbp)
je     18a4 <getkey+0x784>
movl   $0x11d,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
cmpl   $0x0,-0x10(%rbp)
je     18ba <getkey+0x79a>
movl   $0x114,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x10a,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
cmpl   $0x0,-0xc(%rbp)
je     18e6 <getkey+0x7c6>
cmpl   $0x0,-0x10(%rbp)
je     18e6 <getkey+0x7c6>
movl   $0x123,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
cmpl   $0x0,-0xc(%rbp)
je     18fc <getkey+0x7dc>
movl   $0x11c,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
cmpl   $0x0,-0x10(%rbp)
je     1912 <getkey+0x7f2>
movl   $0x113,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x109,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x11e,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
xor    %eax,%eax
call   1030 <getachar@plt>
mov    %eax,-0x8(%rbp)
mov    -0x8(%rbp),%eax
mov    %eax,-0x38(%rbp)
sub    $0x41,%eax
je     196a <getkey+0x84a>
jmp    1948 <getkey+0x828>
mov    -0x38(%rbp),%eax
sub    $0x43,%eax
je     1976 <getkey+0x856>
jmp    1959 <getkey+0x839>
mov    -0x38(%rbp),%eax
sub    $0x45,%eax
je     1982 <getkey+0x862>
jmp    198e <getkey+0x86e>
movl   $0x125,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x127,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x129,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0xfff,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0xfff,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0xfff,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
xor    %eax,%eax
call   1030 <getachar@plt>
mov    %eax,-0x8(%rbp)
mov    -0x8(%rbp),%eax
add    $0xfffffff1,%eax
mov    %eax,%ecx
mov    %rcx,-0x40(%rbp)
sub    $0xd1,%eax
ja     1b8b <getkey+0xa6b>
mov    -0x40(%rbp),%rax
lea    0x622(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
movl   $0x11e,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x125,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x127,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x129,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x109,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x107,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x10d,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x105,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x106,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x10a,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x108,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x10e,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x103,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x104,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x10f,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x110,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x114,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x113,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x111,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x112,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x115,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x118,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x11c,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x11d,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x11a,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x116,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x117,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x119,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x11b,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x11f,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x120,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x121,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x122,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x123,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x124,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0xfff,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
movl   $0x101,-0x4(%rbp)
jmp    1ba9 <getkey+0xa89>
mov    -0x8(%rbp),%eax
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<getkey>:
push   %rax
xor    %eax,%eax
call   1030 <getachar@plt>
mov    %eax,%ecx
test   %eax,%eax
js     1151 <getkey+0x31>
mov    $0x101,%eax
cmp    $0x1b,%ecx
ja     1155 <getkey+0x35>
mov    %ecx,%edx
lea    0xebf(%rip),%rsi
movslq (%rsi,%rdx,4),%rdx
add    %rsi,%rdx
jmp    *%rdx
mov    $0x10b,%eax
pop    %rcx
ret
mov    %ecx,%eax
pop    %rcx
ret
cmp    $0x7f,%ecx
je     11b0 <getkey+0x90>
mov    %ecx,%eax
cmp    $0xe0,%ecx
jne    11b0 <getkey+0x90>
xor    %eax,%eax
call   1030 <getachar@plt>
mov    %eax,%ecx
add    $0xfffffff1,%ecx
cmp    $0xd1,%ecx
ja     1461 <getkey+0x341>
mov    $0x11e,%eax
lea    0xee8(%rip),%rdx
movslq (%rdx,%rcx,4),%rcx
add    %rdx,%rcx
jmp    *%rcx
mov    $0x125,%eax
pop    %rcx
ret
mov    %rsp,%rdi
lea    0x4(%rsp),%rsi
call   1040 <get_modifier_keys@plt>
mov    $0x11e,%eax
cmpl   $0x0,(%rsp)
je     11f1 <getkey+0xd1>
pop    %rcx
ret
xor    %eax,%eax
call   1030 <getachar@plt>
cmp    $0x1b,%eax
je     1205 <getkey+0xe5>
cmp    $0x5b,%eax
je     120c <getkey+0xec>
cmp    $0x4f,%eax
jne    1461 <getkey+0x341>
xor    %eax,%eax
call   1030 <getachar@plt>
mov    %eax,%ecx
add    $0xffffffba,%ecx
mov    $0xfff,%eax
cmp    $0xf,%ecx
jae    11b0 <getkey+0x90>
movslq %ecx,%rax
lea    0x1294(%rip),%rcx
mov    (%rcx,%rax,4),%eax
pop    %rcx
ret
xor    %eax,%eax
cmpl   $0x0,0x4(%rsp)
setne  %al
lea    (%rax,%rax,8),%eax
add    $0x10c,%eax
pop    %rcx
ret
mov    $0x102,%eax
pop    %rcx
ret
mov    %rsp,%rdi
lea    0x4(%rsp),%rsi
call   1040 <get_modifier_keys@plt>
xor    %eax,%eax
call   1030 <getachar@plt>
mov    %eax,%ecx
cmp    $0x31,%eax
jne    13ce <getkey+0x2ae>
xor    %eax,%eax
call   1030 <getachar@plt>
mov    %eax,%ecx
mov    $0xfff,%eax
lea    -0x35(%rcx),%edx
cmp    $0x6,%edx
ja     1349 <getkey+0x229>
lea    0x116c(%rip),%rcx
movslq (%rcx,%rdx,4),%rdx
add    %rcx,%rdx
jmp    *%rdx
xor    %eax,%eax
call   1030 <getachar@plt>
cmp    $0x7e,%eax
mov    $0x129,%ecx
jmp    147e <getkey+0x35e>
mov    $0x127,%eax
pop    %rcx
ret
mov    $0x129,%eax
pop    %rcx
ret
mov    $0x109,%eax
pop    %rcx
ret
mov    $0x107,%eax
pop    %rcx
ret
mov    $0x10d,%eax
pop    %rcx
ret
mov    $0x105,%eax
pop    %rcx
ret
mov    $0x106,%eax
pop    %rcx
ret
mov    $0x10a,%eax
pop    %rcx
ret
mov    $0x108,%eax
pop    %rcx
ret
mov    $0x10e,%eax
pop    %rcx
ret
mov    $0x104,%eax
pop    %rcx
ret
mov    $0x10f,%eax
pop    %rcx
ret
mov    $0x110,%eax
pop    %rcx
ret
mov    $0x114,%eax
pop    %rcx
ret
mov    $0x113,%eax
pop    %rcx
ret
mov    $0x111,%eax
pop    %rcx
ret
mov    $0x112,%eax
pop    %rcx
ret
mov    $0x115,%eax
pop    %rcx
ret
mov    $0x11c,%eax
pop    %rcx
ret
mov    $0x118,%eax
pop    %rcx
ret
mov    $0x11a,%eax
pop    %rcx
ret
mov    $0x116,%eax
pop    %rcx
ret
mov    $0x117,%eax
pop    %rcx
ret
mov    $0x11d,%eax
pop    %rcx
ret
mov    $0x119,%eax
pop    %rcx
ret
mov    $0x11b,%eax
pop    %rcx
ret
mov    $0x123,%eax
pop    %rcx
ret
mov    $0x121,%eax
pop    %rcx
ret
mov    $0x11f,%eax
pop    %rcx
ret
mov    $0x120,%eax
pop    %rcx
ret
mov    $0x124,%eax
pop    %rcx
ret
mov    $0x122,%eax
pop    %rcx
ret
cmp    $0x7e,%ecx
jne    11b0 <getkey+0x90>
jmp    1406 <getkey+0x2e6>
xor    %eax,%eax
call   1030 <getachar@plt>
cmp    $0x7e,%eax
mov    $0x12a,%ecx
jmp    147e <getkey+0x35e>
xor    %eax,%eax
call   1030 <getachar@plt>
cmp    $0x7e,%eax
mov    $0x12c,%ecx
jmp    147e <getkey+0x35e>
xor    %eax,%eax
call   1030 <getachar@plt>
mov    %eax,%ecx
cmp    $0x35,%eax
jg     13a1 <getkey+0x281>
cmp    $0x32,%ecx
je     13be <getkey+0x29e>
cmp    $0x35,%ecx
jne    13c5 <getkey+0x2a5>
movl   $0x1,0x4(%rsp)
jmp    13c5 <getkey+0x2a5>
cmp    $0x36,%ecx
je     13b6 <getkey+0x296>
mov    $0x12b,%eax
cmp    $0x7e,%ecx
je     11b0 <getkey+0x90>
jmp    13c5 <getkey+0x2a5>
movl   $0x1,0x4(%rsp)
movl   $0x1,(%rsp)
xor    %eax,%eax
call   1030 <getachar@plt>
mov    %eax,%ecx
add    $0xffffffcf,%ecx
cmp    $0x2a,%ecx
ja     1461 <getkey+0x341>
mov    $0x11e,%eax
lea    0xfee(%rip),%rdx
movslq (%rdx,%rcx,4),%rcx
add    %rdx,%rcx
jmp    *%rcx
xor    %eax,%eax
call   1030 <getachar@plt>
mov    %eax,%ecx
mov    $0xfff,%eax
cmp    $0x7e,%ecx
jne    11b0 <getkey+0x90>
mov    (%rsp),%ecx
mov    0x4(%rsp),%edx
test   %ecx,%ecx
je     141e <getkey+0x2fe>
mov    $0x123,%eax
test   %edx,%edx
jne    11b0 <getkey+0x90>
test   %edx,%edx
mov    $0x113,%eax
mov    $0x109,%edx
cmovne %eax,%edx
test   %ecx,%ecx
mov    $0x11c,%eax
jmp    1616 <getkey+0x4f6>
xor    %eax,%eax
call   1030 <getachar@plt>
cmp    $0x7e,%eax
je     1468 <getkey+0x348>
cmp    $0x31,%eax
je     161b <getkey+0x4fb>
cmp    $0x30,%eax
jne    1461 <getkey+0x341>
xor    %eax,%eax
call   1030 <getachar@plt>
mov    $0x12d,%eax
pop    %rcx
ret
mov    $0xfff,%eax
pop    %rcx
ret
mov    $0x103,%eax
pop    %rcx
ret
xor    %eax,%eax
call   1030 <getachar@plt>
cmp    $0x7e,%eax
mov    $0x104,%ecx
mov    $0xfff,%eax
cmove  %ecx,%eax
pop    %rcx
ret
mov    (%rsp),%ecx
mov    0x4(%rsp),%edx
test   %ecx,%ecx
je     14a0 <getkey+0x380>
mov    $0x122,%eax
test   %edx,%edx
jne    11b0 <getkey+0x90>
test   %edx,%edx
mov    $0x112,%eax
mov    $0x108,%edx
cmovne %eax,%edx
test   %ecx,%ecx
mov    $0x119,%eax
jmp    1616 <getkey+0x4f6>
mov    (%rsp),%ecx
mov    0x4(%rsp),%edx
test   %ecx,%ecx
je     14d3 <getkey+0x3b3>
mov    $0x120,%eax
test   %edx,%edx
jne    11b0 <getkey+0x90>
test   %edx,%edx
mov    $0x110,%eax
mov    $0x106,%edx
cmovne %eax,%edx
test   %ecx,%ecx
mov    $0x117,%eax
jmp    1616 <getkey+0x4f6>
mov    (%rsp),%ecx
mov    0x4(%rsp),%edx
test   %ecx,%ecx
je     1506 <getkey+0x3e6>
mov    $0x11f,%eax
test   %edx,%edx
jne    11b0 <getkey+0x90>
test   %edx,%edx
mov    $0x10f,%eax
mov    $0x105,%edx
cmovne %eax,%edx
test   %ecx,%ecx
mov    $0x116,%eax
jmp    1616 <getkey+0x4f6>
xor    %eax,%eax
call   1030 <getachar@plt>
mov    %eax,%ecx
add    $0xffffffbf,%ecx
mov    $0xfff,%eax
cmp    $0x5,%ecx
jae    11b0 <getkey+0x90>
movslq %ecx,%rax
lea    0xf77(%rip),%rcx
jmp    11ec <getkey+0xcc>
xor    %eax,%eax
call   1030 <getachar@plt>
mov    %eax,%ecx
mov    $0xfff,%eax
cmp    $0x7e,%ecx
jne    11b0 <getkey+0x90>
mov    (%rsp),%ecx
mov    0x4(%rsp),%edx
test   %ecx,%ecx
je     1579 <getkey+0x459>
mov    $0x124,%eax
test   %edx,%edx
jne    11b0 <getkey+0x90>
test   %edx,%edx
mov    $0x114,%eax
mov    $0x10a,%edx
cmovne %eax,%edx
test   %ecx,%ecx
mov    $0x11d,%eax
jmp    1616 <getkey+0x4f6>
xor    %eax,%eax
call   1030 <getachar@plt>
mov    %eax,%ecx
mov    $0xfff,%eax
cmp    $0x7e,%ecx
jne    11b0 <getkey+0x90>
cmpl   $0x0,(%rsp)
mov    $0x10d,%ecx
mov    $0x11a,%eax
jmp    1483 <getkey+0x363>
xor    %eax,%eax
call   1030 <getachar@plt>
mov    %eax,%ecx
mov    $0xfff,%eax
cmp    $0x7e,%ecx
jne    11b0 <getkey+0x90>
cmpl   $0x0,(%rsp)
mov    $0x10e,%ecx
mov    $0x11b,%eax
jmp    1483 <getkey+0x363>
mov    (%rsp),%ecx
mov    0x4(%rsp),%edx
test   %ecx,%ecx
je     1600 <getkey+0x4e0>
mov    $0x121,%eax
test   %edx,%edx
jne    11b0 <getkey+0x90>
test   %edx,%edx
mov    $0x111,%eax
mov    $0x107,%edx
cmovne %eax,%edx
test   %ecx,%ecx
mov    $0x118,%eax
cmove  %edx,%eax
pop    %rcx
ret
xor    %eax,%eax
call   1030 <getachar@plt>
mov    $0x12e,%eax
pop    %rcx
ret

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

LLVM IR (-O2):
@switch.table.getkey = [15 x i32] [i32 266, i32 4095, i32 265, i32 4095, i32 4095, i32 4095, i32 4095, i32 4095, i32 4095, i32 4095, i32 293, i32 294, i32 295, i32 296, i32 297]
@switch.table.getkey.1 = [5 x i32] [i32 293, i32 4095, i32 295, i32 4095, i32 297]
define i32 @getkey() {
%1 = alloca i32
%2 = alloca i32
%3 = bitcast i32* %1 to i8*
%4 = bitcast i32* %2 to i8*
%5 = tail call i32 (...) @getachar()
%6 = icmp slt i32 %5, 0
br i1 %6, label %215, label %7
7: ; preds = %0
switch i32 %5, label %206 [
i32 8, label %215
i32 9, label %8
i32 13, label %16
i32 10, label %17
i32 27, label %18
i32 0, label %169
i32 224, label %169
i32 127, label %215
]
8: ; preds = %7
%9 = call i32 @get_modifier_keys(i32* %1, i32* %2)
%10 = load i32, i32* %1
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %215
12: ; preds = %8
%13 = load i32, i32* %2
%14 = icmp eq i32 %13, 0
%15 = select i1 %14, i32 268, i32 277
br label %215
16: ; preds = %7
br label %215
17: ; preds = %7
br label %215
18: ; preds = %7
%19 = tail call i32 (...) @getachar()
switch i32 %19, label %168 [
i32 27, label %215
i32 79, label %20
i32 91, label %24
]
20: ; preds = %18
%21 = tail call i32 (...) @getachar()
%22 = add i32 %21, -70
%23 = icmp ult i32 %22, 15
br i1 %23, label %207, label %215
24: ; preds = %18
%25 = call i32 @get_modifier_keys(i32* %1, i32* %2)
%26 = call i32 (...) @getachar()
%27 = icmp eq i32 %26, 49
br i1 %27, label %28, label %58
28: ; preds = %24
%29 = call i32 (...) @getachar()
switch i32 %29, label %215 [
i32 53, label %30
i32 55, label %34
i32 59, label %38
i32 57, label %45
i32 126, label %49
]
30: ; preds = %28
%31 = call i32 (...) @getachar()
%32 = icmp eq i32 %31, 126
%33 = select i1 %32, i32 297, i32 4095
br label %215
34: ; preds = %28
%35 = call i32 (...) @getachar()
%36 = icmp eq i32 %35, 126
%37 = select i1 %36, i32 298, i32 4095
br label %215
38: ; preds = %28
%39 = call i32 (...) @getachar()
switch i32 %39, label %43 [
i32 126, label %215
i32 50, label %40
i32 53, label %41
i32 54, label %42
]
40: ; preds = %38
store i32 1, i32* %1
br label %43
41: ; preds = %38
store i32 1, i32* %2
br label %43
42: ; preds = %38
store i32 1, i32* %2
store i32 1, i32* %1
br label %43
43: ; preds = %41, %40, %38, %42
%44 = call i32 (...) @getachar()
br label %58
45: ; preds = %28
%46 = call i32 (...) @getachar()
%47 = icmp eq i32 %46, 126
%48 = select i1 %47, i32 300, i32 4095
br label %215
49: ; preds = %28
%50 = load i32, i32* %1
%51 = icmp ne i32 %50, 0
%52 = load i32, i32* %2
%53 = icmp ne i32 %52, 0
%54 = select i1 %51, i1 %53, i1 false
br i1 %54, label %215, label %55
55: ; preds = %49
%56 = select i1 %53, i32 275, i32 265
%57 = select i1 %51, i32 284, i32 %56
br label %215
58: ; preds = %43, %24
%59 = phi i32 [ %44, %43 ], [ %26, %24 ]
switch i32 %59, label %167 [
i32 49, label %60
i32 50, label %72
i32 51, label %79
i32 52, label %83
i32 53, label %95
i32 54, label %102
i32 65, label %109
i32 66, label %118
i32 67, label %127
i32 68, label %136
i32 70, label %145
i32 72, label %154
i32 90, label %215
i32 91, label %163
]
60: ; preds = %58
%61 = call i32 (...) @getachar()
%62 = icmp eq i32 %61, 126
br i1 %62, label %63, label %215
63: ; preds = %60
%64 = load i32, i32* %1
%65 = icmp ne i32 %64, 0
%66 = load i32, i32* %2
%67 = icmp ne i32 %66, 0
%68 = select i1 %65, i1 %67, i1 false
br i1 %68, label %215, label %69
69: ; preds = %63
%70 = select i1 %67, i32 275, i32 265
%71 = select i1 %65, i32 284, i32 %70
br label %215
72: ; preds = %58
%73 = call i32 (...) @getachar()
switch i32 %73, label %78 [
i32 48, label %74
i32 49, label %76
i32 126, label %215
]
74: ; preds = %72
%75 = call i32 (...) @getachar()
br label %215
76: ; preds = %72
%77 = call i32 (...) @getachar()
br label %215
78: ; preds = %72
br label %215
79: ; preds = %58
%80 = call i32 (...) @getachar()
%81 = icmp eq i32 %80, 126
%82 = select i1 %81, i32 260, i32 4095
br label %215
83: ; preds = %58
%84 = call i32 (...) @getachar()
%85 = icmp eq i32 %84, 126
br i1 %85, label %86, label %215
86: ; preds = %83
%87 = load i32, i32* %1
%88 = icmp ne i32 %87, 0
%89 = load i32, i32* %2
%90 = icmp ne i32 %89, 0
%91 = select i1 %88, i1 %90, i1 false
br i1 %91, label %215, label %92
92: ; preds = %86
%93 = select i1 %90, i32 276, i32 266
%94 = select i1 %88, i32 285, i32 %93
br label %215
95: ; preds = %58
%96 = call i32 (...) @getachar()
%97 = icmp eq i32 %96, 126
br i1 %97, label %98, label %215
98: ; preds = %95
%99 = load i32, i32* %1
%100 = icmp eq i32 %99, 0
%101 = select i1 %100, i32 269, i32 282
br label %215
102: ; preds = %58
%103 = call i32 (...) @getachar()
%104 = icmp eq i32 %103, 126
br i1 %104, label %105, label %215
105: ; preds = %102
%106 = load i32, i32* %1
%107 = icmp eq i32 %106, 0
%108 = select i1 %107, i32 270, i32 283
br label %215
109: ; preds = %58
%110 = load i32, i32* %1
%111 = icmp ne i32 %110, 0
%112 = load i32, i32* %2
%113 = icmp ne i32 %112, 0
%114 = select i1 %111, i1 %113, i1 false
br i1 %114, label %215, label %115
115: ; preds = %109
%116 = select i1 %113, i32 273, i32 263
%117 = select i1 %111, i32 280, i32 %116
br label %215
118: ; preds = %58
%119 = load i32, i32* %1
%120 = icmp ne i32 %119, 0
%121 = load i32, i32* %2
%122 = icmp ne i32 %121, 0
%123 = select i1 %120, i1 %122, i1 false
br i1 %123, label %215, label %124
124: ; preds = %118
%125 = select i1 %122, i32 274, i32 264
%126 = select i1 %120, i32 281, i32 %125
br label %215
127: ; preds = %58
%128 = load i32, i32* %1
%129 = icmp ne i32 %128, 0
%130 = load i32, i32* %2
%131 = icmp ne i32 %130, 0
%132 = select i1 %129, i1 %131, i1 false
br i1 %132, label %215, label %133
133: ; preds = %127
%134 = select i1 %131, i32 272, i32 262
%135 = select i1 %129, i32 279, i32 %134
br label %215
136: ; preds = %58
%137 = load i32, i32* %1
%138 = icmp ne i32 %137, 0
%139 = load i32, i32* %2
%140 = icmp ne i32 %139, 0
%141 = select i1 %138, i1 %140, i1 false
br i1 %141, label %215, label %142
142: ; preds = %136
%143 = select i1 %140, i32 271, i32 261
%144 = select i1 %138, i32 278, i32 %143
br label %215
145: ; preds = %58
%146 = load i32, i32* %1
%147 = icmp ne i32 %146, 0
%148 = load i32, i32* %2
%149 = icmp ne i32 %148, 0
%150 = select i1 %147, i1 %149, i1 false
br i1 %150, label %215, label %151
151: ; preds = %145
%152 = select i1 %149, i32 276, i32 266
%153 = select i1 %147, i32 285, i32 %152
br label %215
154: ; preds = %58
%155 = load i32, i32* %1
%156 = icmp ne i32 %155, 0
%157 = load i32, i32* %2
%158 = icmp ne i32 %157, 0
%159 = select i1 %156, i1 %158, i1 false
br i1 %159, label %215, label %160
160: ; preds = %154
%161 = select i1 %158, i32 275, i32 265
%162 = select i1 %156, i32 284, i32 %161
br label %215
163: ; preds = %58
%164 = call i32 (...) @getachar()
%165 = add i32 %164, -65
%166 = icmp ult i32 %165, 5
br i1 %166, label %211, label %215
167: ; preds = %58
br label %215
168: ; preds = %18
br label %215
169: ; preds = %7, %7
%170 = tail call i32 (...) @getachar()
switch i32 %170, label %205 [
i32 15, label %215
i32 59, label %171
i32 61, label %172
i32 63, label %173
i32 71, label %174
i32 72, label %175
i32 73, label %176
i32 75, label %177
i32 77, label %178
i32 79, label %179
i32 80, label %180
i32 81, label %181
i32 82, label %182
i32 83, label %183
i32 115, label %184
i32 116, label %185
i32 117, label %186
i32 119, label %187
i32 141, label %188
i32 145, label %189
i32 148, label %190
i32 184, label %191
i32 183, label %192
i32 191, label %193
i32 185, label %194
i32 187, label %195
i32 189, label %196
i32 192, label %197
i32 193, label %198
i32 219, label %199
i32 221, label %200
i32 216, label %201
i32 224, label %202
i32 215, label %203
i32 223, label %204
]
171: ; preds = %169
br label %215
172: ; preds = %169
br label %215
173: ; preds = %169
br label %215
174: ; preds = %169
br label %215
175: ; preds = %169
br label %215
176: ; preds = %169
br label %215
177: ; preds = %169
br label %215
178: ; preds = %169
br label %215
179: ; preds = %169
br label %215
180: ; preds = %169
br label %215
181: ; preds = %169
br label %215
182: ; preds = %169
br label %215
183: ; preds = %169
br label %215
184: ; preds = %169
br label %215
185: ; preds = %169
br label %215
186: ; preds = %169
br label %215
187: ; preds = %169
br label %215
188: ; preds = %169
br label %215
189: ; preds = %169
br label %215
190: ; preds = %169
br label %215
191: ; preds = %169
br label %215
192: ; preds = %169
br label %215
193: ; preds = %169
br label %215
194: ; preds = %169
br label %215
195: ; preds = %169
br label %215
196: ; preds = %169
br label %215
197: ; preds = %169
br label %215
198: ; preds = %169
br label %215
199: ; preds = %169
br label %215
200: ; preds = %169
br label %215
201: ; preds = %169
br label %215
202: ; preds = %169
br label %215
203: ; preds = %169
br label %215
204: ; preds = %169
br label %215
205: ; preds = %169
br label %215
206: ; preds = %7
br label %215
207: ; preds = %20
%208 = sext i32 %22 to i64
%209 = getelementptr inbounds [15 x i32], [15 x i32]* @switch.table.getkey, i64 0, i64 %208
%210 = load i32, i32* %209
br label %215
211: ; preds = %163
%212 = sext i32 %165 to i64
%213 = getelementptr inbounds [5 x i32], [5 x i32]* @switch.table.getkey.1, i64 0, i64 %212
%214 = load i32, i32* %213
br label %215
215: ; preds = %163, %211, %20, %207, %160, %151, %142, %133, %124, %115, %92, %69, %55, %7, %169, %58, %154, %145, %136, %127, %118, %109, %105, %102, %98, %95, %86, %83, %72, %63, %60, %28, %49, %38, %18, %12, %8, %7, %0, %206, %205, %204, %203, %202, %201, %200, %199, %198, %197, %196, %195, %194, %193, %192, %191, %190, %189, %188, %187, %186, %185, %184, %183, %182, %181, %180, %179, %178, %177, %176, %175, %174, %173, %172, %171, %168, %167, %79, %78, %76, %74, %45, %34, %30, %17, %16
%216 = phi i32 [ %5, %206 ], [ 4095, %205 ], [ 292, %204 ], [ 291, %203 ], [ 290, %202 ], [ 289, %201 ], [ 288, %200 ], [ 287, %199 ], [ 283, %198 ], [ 281, %197 ], [ 279, %196 ], [ 278, %195 ], [ 282, %194 ], [ 285, %193 ], [ 284, %192 ], [ 280, %191 ], [ 277, %190 ], [ 274, %189 ], [ 273, %188 ], [ 275, %187 ], [ 276, %186 ], [ 272, %185 ], [ 271, %184 ], [ 260, %183 ], [ 259, %182 ], [ 270, %181 ], [ 264, %180 ], [ 266, %179 ], [ 262, %178 ], [ 261, %177 ], [ 269, %176 ], [ 263, %175 ], [ 265, %174 ], [ 297, %173 ], [ 295, %172 ], [ 293, %171 ], [ 4095, %168 ], [ %48, %45 ], [ 4095, %167 ], [ %82, %79 ], [ 4095, %78 ], [ 302, %76 ], [ 301, %74 ], [ %37, %34 ], [ %33, %30 ], [ 267, %17 ], [ 267, %16 ], [ %5, %0 ], [ 257, %7 ], [ 286, %8 ], [ %15, %12 ], [ 258, %18 ], [ 299, %38 ], [ 291, %49 ], [ 4095, %28 ], [ 4095, %60 ], [ 291, %63 ], [ 259, %72 ], [ 4095, %83 ], [ 292, %86 ], [ 4095, %95 ], [ %101, %98 ], [ 4095, %102 ], [ %108, %105 ], [ 289, %109 ], [ 290, %118 ], [ 288, %127 ], [ 287, %136 ], [ 292, %145 ], [ 291, %154 ], [ 286, %58 ], [ 286, %169 ], [ 257, %7 ], [ %57, %55 ], [ %71, %69 ], [ %94, %92 ], [ %117, %115 ], [ %126, %124 ], [ %135, %133 ], [ %144, %142 ], [ %153, %151 ], [ %162, %160 ], [ %210, %207 ], [ 4095, %20 ], [ %214, %211 ], [ 4095, %163 ]
ret i32 %216
}