// File: /workspace/github_c_makefile_star2_O2/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 0x275b(%rip), %rax      # 0x7a2f
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 0x2a09(%rip), %rax      # 0x7d00
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 0x29af(%rip), %rax      # 0x7cc9
retq
xorl %eax, %eax
retq
leaq 0x2998(%rip), %rax      # 0x7cbd
retq
leaq 0x290c(%rip), %rax      # 0x7c39
retq
leaq 0x27fe(%rip), %rax      # 0x7b33
retq
leaq 0x2824(%rip), %rax      # 0x7b61
retq
leaq 0x2959(%rip), %rax      # 0x7c9e
retq
leaq 0x278f(%rip), %rax      # 0x7adc
retq
leaq 0x2902(%rip), %rax      # 0x7c57
retq
leaq 0x2821(%rip), %rax      # 0x7b7e
retq
leaq 0x283e(%rip), %rax      # 0x7ba3
retq
leaq 0x27a8(%rip), %rax      # 0x7b15
retq
leaq 0x2752(%rip), %rax      # 0x7ac7
retq
leaq 0x2734(%rip), %rax      # 0x7ab1
retq
leaq 0x277c(%rip), %rax      # 0x7b01
retq
leaq 0x28be(%rip), %rax      # 0x7c4b
retq
leaq 0x26df(%rip), %rax      # 0x7a74
retq
leaq 0x26c8(%rip), %rax      # 0x7a65
retq
leaq 0x26c6(%rip), %rax      # 0x7a6b
retq
leaq 0x2737(%rip), %rax      # 0x7ae4
retq
leaq 0x280d(%rip), %rax      # 0x7bc2
retq
leaq 0x26c1(%rip), %rax      # 0x7a7e
retq
leaq 0x2777(%rip), %rax      # 0x7b3c
retq
leaq 0x26db(%rip), %rax      # 0x7aa8
retq
leaq 0x2660(%rip), %rax      # 0x7a35
retq
leaq 0x274c(%rip), %rax      # 0x7b29
retq
leaq 0x266e(%rip), %rax      # 0x7a53
retq
leaq 0x2799(%rip), %rax      # 0x7b86
retq
leaq 0x2703(%rip), %rax      # 0x7af8
retq
leaq 0x2662(%rip), %rax      # 0x7a5f
retq
leaq 0x2636(%rip), %rax      # 0x7a3b
retq
leaq 0x2640(%rip), %rax      # 0x7a4d
retq
leaq 0x262c(%rip), %rax      # 0x7a41
retq
leaq 0x2675(%rip), %rax      # 0x7a92
retq
leaq 0x2723(%rip), %rax      # 0x7b48
retq
leaq 0x26de(%rip), %rax      # 0x7b0b
retq
leaq 0x2612(%rip), %rax      # 0x7a47
retq
leaq 0x275c(%rip), %rax      # 0x7b99
retq
leaq 0x27b5(%rip), %rax      # 0x7bfa
retq
leaq 0x260c(%rip), %rax      # 0x7a59
retq
leaq 0x27c7(%rip), %rax      # 0x7c1c
retq
leaq 0x26f4(%rip), %rax      # 0x7b51
retq
leaq 0x2655(%rip), %rax      # 0x7aba
retq
leaq 0x2680(%rip), %rax      # 0x7aed
retq
leaq 0x2614(%rip), %rax      # 0x7a89
retq
leaq 0x26da(%rip), %rax      # 0x7b57
retq
leaq 0x27e7(%rip), %rax      # 0x7c6c
retq
leaq 0x260f(%rip), %rax      # 0x7a9c
retq
leaq 0x26e2(%rip), %rax      # 0x7b77
retq
leaq 0x2634(%rip), %rax      # 0x7ad1
retq
leaq 0x26e9(%rip), %rax      # 0x7b8e
retq
leaq 0x2672(%rip), %rax      # 0x7b1f
retq
leaq 0x26f7(%rip), %rax      # 0x7bac
retq
leaq 0x270e(%rip), %rax      # 0x7bcb
retq
leaq 0x27b3(%rip), %rax      # 0x7c78
retq
leaq 0x275e(%rip), %rax      # 0x7c2b
retq
leaq 0x2695(%rip), %rax      # 0x7b6a
retq
leaq 0x26fe(%rip), %rax      # 0x7bdb
retq
leaq 0x268b(%rip), %rax      # 0x7b70
retq
leaq 0x26fd(%rip), %rax      # 0x7bea
retq
leaq 0x26c2(%rip), %rax      # 0x7bb7
retq
leaq 0x2764(%rip), %rax      # 0x7c61
retq
leaq 0x2786(%rip), %rax      # 0x7c8b
retq
leaq 0x26ff(%rip), %rax      # 0x7c0c
retq
leaq 0x279a(%rip), %rax      # 0x7caf
retq
leaq 0x2abd(%rip), %rax      # 0x7fda
retq
leaq 0x2a8d(%rip), %rax      # 0x7fb2
retq
leaq 0x2a99(%rip), %rax      # 0x7fc6
retq
leaq 0x29dd(%rip), %rax      # 0x7f12
retq
leaq 0x2a61(%rip), %rax      # 0x7f9e
retq
leaq 0x28f1(%rip), %rax      # 0x7e36
retq
leaq 0x28c1(%rip), %rax      # 0x7e0e
retq
leaq 0x2a35(%rip), %rax      # 0x7f8a
retq
leaq 0x2786(%rip), %rax      # 0x7ce3
retq
leaq 0x278c(%rip), %rax      # 0x7cf1
retq
leaq 0x2865(%rip), %rax      # 0x7dd2
retq
leaq 0x2760(%rip), %rax      # 0x7cd5
retq
leaq 0x27ce(%rip), %rax      # 0x7d4b
retq
leaq 0x2861(%rip), %rax      # 0x7de6
retq
leaq 0x281d(%rip), %rax      # 0x7daa
retq
leaq 0x2955(%rip), %rax      # 0x7eea
retq
leaq 0x2939(%rip), %rax      # 0x7ed6
retq
leaq 0x2780(%rip), %rax      # 0x7d25
retq
leaq 0x2875(%rip), %rax      # 0x7e22
retq
leaq 0x2783(%rip), %rax      # 0x7d38
retq
leaq 0x27c7(%rip), %rax      # 0x7d84
retq
leaq 0x274d(%rip), %rax      # 0x7d12
retq
leaq 0x2995(%rip), %rax      # 0x7f62
retq
leaq 0x2875(%rip), %rax      # 0x7e4a
retq
leaq 0x28a9(%rip), %rax      # 0x7e86
retq
leaq 0x2779(%rip), %rax      # 0x7d5e
retq
leaq 0x28ad(%rip), %rax      # 0x7e9a
retq
leaq 0x2805(%rip), %rax      # 0x7dfa
retq
leaq 0x2774(%rip), %rax      # 0x7d71
retq
leaq 0x2859(%rip), %rax      # 0x7e5e
retq
leaq 0x27b1(%rip), %rax      # 0x7dbe
retq
leaq 0x2782(%rip), %rax      # 0x7d97
retq
leaq 0x2931(%rip), %rax      # 0x7f4e
retq
leaq 0x2951(%rip), %rax      # 0x7f76
retq
leaq 0x2881(%rip), %rax      # 0x7eae
retq
leaq 0x29cd(%rip), %rax      # 0x8002
retq
leaq 0x2835(%rip), %rax      # 0x7e72
retq
leaq 0x287d(%rip), %rax      # 0x7ec2
retq
leaq 0x28d9(%rip), %rax      # 0x7f26
retq
leaq 0x28e5(%rip), %rax      # 0x7f3a
retq
leaq 0x2991(%rip), %rax      # 0x7fee
retq
leaq 0x2899(%rip), %rax      # 0x7efe
retq