// File: /workspace/github_c_makefile_star2_O1/glitchub[P]evdump/./input.generated.h
// Function: ed_BTN
const char * ed_BTN(int n)
{
  switch(n)
  {
    case 256: return "BTN_0";
    case 257: return "BTN_1";
    case 258: return "BTN_2";
    case 259: return "BTN_3";
    case 260: return "BTN_4";
    case 261: return "BTN_5";
    case 262: return "BTN_6";
    case 263: return "BTN_7";
    case 264: return "BTN_8";
    case 265: return "BTN_9";
    case 272: return "BTN_LEFT";
    case 273: return "BTN_RIGHT";
    case 274: return "BTN_MIDDLE";
    case 275: return "BTN_SIDE";
    case 276: return "BTN_EXTRA";
    case 277: return "BTN_FORWARD";
    case 278: return "BTN_BACK";
    case 279: return "BTN_TASK";
    case 288: return "BTN_JOYSTICK";
    case 289: return "BTN_THUMB";
    case 290: return "BTN_THUMB2";
    case 291: return "BTN_TOP";
    case 292: return "BTN_TOP2";
    case 293: return "BTN_PINKIE";
    case 294: return "BTN_BASE";
    case 295: return "BTN_BASE2";
    case 296: return "BTN_BASE3";
    case 297: return "BTN_BASE4";
    case 298: return "BTN_BASE5";
    case 299: return "BTN_BASE6";
    case 303: return "BTN_DEAD";
    case 304: return "BTN_GAMEPAD";
    case 305: return "BTN_EAST";
    case 306: return "BTN_C";
    case 307: return "BTN_NORTH";
    case 308: return "BTN_WEST";
    case 309: return "BTN_Z";
    case 310: return "BTN_TL";
    case 311: return "BTN_TR";
    case 312: return "BTN_TL2";
    case 313: return "BTN_TR2";
    case 314: return "BTN_SELECT";
    case 315: return "BTN_START";
    case 316: return "BTN_MODE";
    case 317: return "BTN_THUMBL";
    case 318: return "BTN_THUMBR";
    case 320: return "BTN_DIGI";
    case 321: return "BTN_TOOL_RUBBER";
    case 322: return "BTN_TOOL_BRUSH";
    case 323: return "BTN_TOOL_PENCIL";
    case 324: return "BTN_TOOL_AIRBRUSH";
    case 325: return "BTN_TOOL_FINGER";
    case 326: return "BTN_TOOL_MOUSE";
    case 327: return "BTN_TOOL_LENS";
    case 328: return "BTN_TOOL_QUINTTAP";
    case 329: return "BTN_STYLUS3";
    case 330: return "BTN_TOUCH";
    case 331: return "BTN_STYLUS";
    case 332: return "BTN_STYLUS2";
    case 333: return "BTN_TOOL_DOUBLETAP";
    case 334: return "BTN_TOOL_TRIPLETAP";
    case 335: return "BTN_TOOL_QUADTAP";
    case 336: return "BTN_GEAR_DOWN";
    case 337: return "BTN_GEAR_UP";
    case 544: return "BTN_DPAD_UP";
    case 545: return "BTN_DPAD_DOWN";
    case 546: return "BTN_DPAD_LEFT";
    case 547: return "BTN_DPAD_RIGHT";
    case 704: return "BTN_TRIGGER_HAPPY";
    case 705: return "BTN_TRIGGER_HAPPY2";
    case 706: return "BTN_TRIGGER_HAPPY3";
    case 707: return "BTN_TRIGGER_HAPPY4";
    case 708: return "BTN_TRIGGER_HAPPY5";
    case 709: return "BTN_TRIGGER_HAPPY6";
    case 710: return "BTN_TRIGGER_HAPPY7";
    case 711: return "BTN_TRIGGER_HAPPY8";
    case 712: return "BTN_TRIGGER_HAPPY9";
    case 713: return "BTN_TRIGGER_HAPPY10";
    case 714: return "BTN_TRIGGER_HAPPY11";
    case 715: return "BTN_TRIGGER_HAPPY12";
    case 716: return "BTN_TRIGGER_HAPPY13";
    case 717: return "BTN_TRIGGER_HAPPY14";
    case 718: return "BTN_TRIGGER_HAPPY15";
    case 719: return "BTN_TRIGGER_HAPPY16";
    case 720: return "BTN_TRIGGER_HAPPY17";
    case 721: return "BTN_TRIGGER_HAPPY18";
    case 722: return "BTN_TRIGGER_HAPPY19";
    case 723: return "BTN_TRIGGER_HAPPY20";
    case 724: return "BTN_TRIGGER_HAPPY21";
    case 725: return "BTN_TRIGGER_HAPPY22";
    case 726: return "BTN_TRIGGER_HAPPY23";
    case 727: return "BTN_TRIGGER_HAPPY24";
    case 728: return "BTN_TRIGGER_HAPPY25";
    case 729: return "BTN_TRIGGER_HAPPY26";
    case 730: return "BTN_TRIGGER_HAPPY27";
    case 731: return "BTN_TRIGGER_HAPPY28";
    case 732: return "BTN_TRIGGER_HAPPY29";
    case 733: return "BTN_TRIGGER_HAPPY30";
    case 734: return "BTN_TRIGGER_HAPPY31";
    case 735: return "BTN_TRIGGER_HAPPY32";
    case 736: return "BTN_TRIGGER_HAPPY33";
    case 737: return "BTN_TRIGGER_HAPPY34";
    case 738: return "BTN_TRIGGER_HAPPY35";
    case 739: return "BTN_TRIGGER_HAPPY36";
    case 740: return "BTN_TRIGGER_HAPPY37";
    case 741: return "BTN_TRIGGER_HAPPY38";
    case 742: return "BTN_TRIGGER_HAPPY39";
    case 743: return "BTN_TRIGGER_HAPPY40";
  }
  return NULL;
}

// Assembly:
leal -0x100(%rdi), %eax
cmpl $0x51, %eax
ja 0x52d5
leaq 0xd50(%rip), %rcx       # 0x6014
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x27ab(%rip), %rax      # 0x7a7f
retq
leal -0x2c0(%rdi), %eax
cmpl $0x27, %eax
ja 0x52f8
leaq 0xe85(%rip), %rcx       # 0x616c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x2a59(%rip), %rax      # 0x7d50
retq
addl $0xfffffde0, %edi       # imm = 0xFFFFFDE0
cmpl $0x3, %edi
ja 0x531b
leaq 0xe52(%rip), %rax       # 0x615c
movslq (%rax,%rdi,4), %rcx
addq %rax, %rcx
jmpq *%rcx
leaq 0x29ff(%rip), %rax      # 0x7d19
retq
xorl %eax, %eax
retq
leaq 0x29e8(%rip), %rax      # 0x7d0d
retq
leaq 0x295c(%rip), %rax      # 0x7c89
retq
leaq 0x284e(%rip), %rax      # 0x7b83
retq
leaq 0x2874(%rip), %rax      # 0x7bb1
retq
leaq 0x29a9(%rip), %rax      # 0x7cee
retq
leaq 0x27df(%rip), %rax      # 0x7b2c
retq
leaq 0x2952(%rip), %rax      # 0x7ca7
retq
leaq 0x2871(%rip), %rax      # 0x7bce
retq
leaq 0x288e(%rip), %rax      # 0x7bf3
retq
leaq 0x27f8(%rip), %rax      # 0x7b65
retq
leaq 0x27a2(%rip), %rax      # 0x7b17
retq
leaq 0x2784(%rip), %rax      # 0x7b01
retq
leaq 0x27cc(%rip), %rax      # 0x7b51
retq
leaq 0x290e(%rip), %rax      # 0x7c9b
retq
leaq 0x272f(%rip), %rax      # 0x7ac4
retq
leaq 0x2718(%rip), %rax      # 0x7ab5
retq
leaq 0x2716(%rip), %rax      # 0x7abb
retq
leaq 0x2787(%rip), %rax      # 0x7b34
retq
leaq 0x285d(%rip), %rax      # 0x7c12
retq
leaq 0x2711(%rip), %rax      # 0x7ace
retq
leaq 0x27c7(%rip), %rax      # 0x7b8c
retq
leaq 0x272b(%rip), %rax      # 0x7af8
retq
leaq 0x26b0(%rip), %rax      # 0x7a85
retq
leaq 0x279c(%rip), %rax      # 0x7b79
retq
leaq 0x26be(%rip), %rax      # 0x7aa3
retq
leaq 0x27e9(%rip), %rax      # 0x7bd6
retq
leaq 0x2753(%rip), %rax      # 0x7b48
retq
leaq 0x26b2(%rip), %rax      # 0x7aaf
retq
leaq 0x2686(%rip), %rax      # 0x7a8b
retq
leaq 0x2690(%rip), %rax      # 0x7a9d
retq
leaq 0x267c(%rip), %rax      # 0x7a91
retq
leaq 0x26c5(%rip), %rax      # 0x7ae2
retq
leaq 0x2773(%rip), %rax      # 0x7b98
retq
leaq 0x272e(%rip), %rax      # 0x7b5b
retq
leaq 0x2662(%rip), %rax      # 0x7a97
retq
leaq 0x27ac(%rip), %rax      # 0x7be9
retq
leaq 0x2805(%rip), %rax      # 0x7c4a
retq
leaq 0x265c(%rip), %rax      # 0x7aa9
retq
leaq 0x2817(%rip), %rax      # 0x7c6c
retq
leaq 0x2744(%rip), %rax      # 0x7ba1
retq
leaq 0x26a5(%rip), %rax      # 0x7b0a
retq
leaq 0x26d0(%rip), %rax      # 0x7b3d
retq
leaq 0x2664(%rip), %rax      # 0x7ad9
retq
leaq 0x272a(%rip), %rax      # 0x7ba7
retq
leaq 0x2837(%rip), %rax      # 0x7cbc
retq
leaq 0x265f(%rip), %rax      # 0x7aec
retq
leaq 0x2732(%rip), %rax      # 0x7bc7
retq
leaq 0x2684(%rip), %rax      # 0x7b21
retq
leaq 0x2739(%rip), %rax      # 0x7bde
retq
leaq 0x26c2(%rip), %rax      # 0x7b6f
retq
leaq 0x2747(%rip), %rax      # 0x7bfc
retq
leaq 0x275e(%rip), %rax      # 0x7c1b
retq
leaq 0x2803(%rip), %rax      # 0x7cc8
retq
leaq 0x27ae(%rip), %rax      # 0x7c7b
retq
leaq 0x26e5(%rip), %rax      # 0x7bba
retq
leaq 0x274e(%rip), %rax      # 0x7c2b
retq
leaq 0x26db(%rip), %rax      # 0x7bc0
retq
leaq 0x274d(%rip), %rax      # 0x7c3a
retq
leaq 0x2712(%rip), %rax      # 0x7c07
retq
leaq 0x27b4(%rip), %rax      # 0x7cb1
retq
leaq 0x27d6(%rip), %rax      # 0x7cdb
retq
leaq 0x274f(%rip), %rax      # 0x7c5c
retq
leaq 0x27ea(%rip), %rax      # 0x7cff
retq
leaq 0x2b0d(%rip), %rax      # 0x802a
retq
leaq 0x2add(%rip), %rax      # 0x8002
retq
leaq 0x2ae9(%rip), %rax      # 0x8016
retq
leaq 0x2a2d(%rip), %rax      # 0x7f62
retq
leaq 0x2ab1(%rip), %rax      # 0x7fee
retq
leaq 0x2941(%rip), %rax      # 0x7e86
retq
leaq 0x2911(%rip), %rax      # 0x7e5e
retq
leaq 0x2a85(%rip), %rax      # 0x7fda
retq
leaq 0x27d6(%rip), %rax      # 0x7d33
retq
leaq 0x27dc(%rip), %rax      # 0x7d41
retq
leaq 0x28b5(%rip), %rax      # 0x7e22
retq
leaq 0x27b0(%rip), %rax      # 0x7d25
retq
leaq 0x281e(%rip), %rax      # 0x7d9b
retq
leaq 0x28b1(%rip), %rax      # 0x7e36
retq
leaq 0x286d(%rip), %rax      # 0x7dfa
retq
leaq 0x29a5(%rip), %rax      # 0x7f3a
retq
leaq 0x2989(%rip), %rax      # 0x7f26
retq
leaq 0x27d0(%rip), %rax      # 0x7d75
retq
leaq 0x28c5(%rip), %rax      # 0x7e72
retq
leaq 0x27d3(%rip), %rax      # 0x7d88
retq
leaq 0x2817(%rip), %rax      # 0x7dd4
retq
leaq 0x279d(%rip), %rax      # 0x7d62
retq
leaq 0x29e5(%rip), %rax      # 0x7fb2
retq
leaq 0x28c5(%rip), %rax      # 0x7e9a
retq
leaq 0x28f9(%rip), %rax      # 0x7ed6
retq
leaq 0x27c9(%rip), %rax      # 0x7dae
retq
leaq 0x28fd(%rip), %rax      # 0x7eea
retq
leaq 0x2855(%rip), %rax      # 0x7e4a
retq
leaq 0x27c4(%rip), %rax      # 0x7dc1
retq
leaq 0x28a9(%rip), %rax      # 0x7eae
retq
leaq 0x2801(%rip), %rax      # 0x7e0e
retq
leaq 0x27d2(%rip), %rax      # 0x7de7
retq
leaq 0x2981(%rip), %rax      # 0x7f9e
retq
leaq 0x29a1(%rip), %rax      # 0x7fc6
retq
leaq 0x28d1(%rip), %rax      # 0x7efe
retq
leaq 0x2a1d(%rip), %rax      # 0x8052
retq
leaq 0x2885(%rip), %rax      # 0x7ec2
retq
leaq 0x28cd(%rip), %rax      # 0x7f12
retq
leaq 0x2929(%rip), %rax      # 0x7f76
retq
leaq 0x2935(%rip), %rax      # 0x7f8a
retq
leaq 0x29e1(%rip), %rax      # 0x803e
retq
leaq 0x28e9(%rip), %rax      # 0x7f4e
retq