
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

char * __regparm3 get_osabi_name(Filedata *filedata,uint osabi)

{
  ushort uVar1;
  undefined1 *puVar2;
  char *pcVar3;
  
  switch(osabi) {
  case 0:
    puVar2 = "UNIX - System V";
    break;
  case 1:
    puVar2 = "UNIX - HP-UX";
    break;
  case 2:
    puVar2 = "UNIX - NetBSD";
    break;
  case 3:
    puVar2 = "UNIX - GNU";
    break;
  default:
    if (0x3f < osabi) {
      uVar1 = *(ushort *)&filedata->file_name;
      if (uVar1 == 0x8c) {
        if (osabi == 0x40) {
          pcVar3 = (char *)dcgettext(0,"Bare-metal C6000",5);
          return pcVar3;
        }
        if (osabi == 0x41) {
          return "Linux C6000";
        }
      }
      else if (uVar1 < 0x8d) {
        if (uVar1 == 0x28) {
          if (osabi == 0x41) {
            return "ARM FDPIC";
          }
          if (osabi == 0x61) {
            return "ARM";
          }
        }
        else if (uVar1 == 0x69) goto LAB_00024366;
      }
      else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {
LAB_00024366:
        if (osabi == 0xff) {
          pcVar3 = (char *)dcgettext(0,"Standalone App",5);
          return pcVar3;
        }
      }
    }
    pcVar3 = (char *)dcgettext(0,"<unknown: %x>",5);
    puVar2 = buff_16965;
    snprintf(buff_16965,0x20,pcVar3,osabi);
    break;
  case 6:
    puVar2 = "UNIX - Solaris";
    break;
  case 7:
    puVar2 = "UNIX - AIX";
    break;
  case 8:
    puVar2 = "UNIX - IRIX";
    break;
  case 9:
    puVar2 = "UNIX - FreeBSD";
    break;
  case 10:
    puVar2 = "UNIX - TRU64";
    break;
  case 0xb:
    puVar2 = "Novell - Modesto";
    break;
  case 0xc:
    puVar2 = "UNIX - OpenBSD";
    break;
  case 0xd:
    puVar2 = "VMS - OpenVMS";
    break;
  case 0xe:
    puVar2 = "HP - Non-Stop Kernel";
    break;
  case 0xf:
    puVar2 = "AROS";
    break;
  case 0x10:
    puVar2 = "FenixOS";
    break;
  case 0x11:
    puVar2 = "Nuxi CloudABI";
    break;
  case 0x12:
    puVar2 = "Stratus Technologies OpenVOS";
  }
  return puVar2;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

char * __regparm3 FUN_000241c0(ushort *param_1,uint param_2)

{
  ushort uVar1;
  char *__format;
  char *pcVar2;
  
  switch(param_2) {
  case 0:
    pcVar2 = "UNIX - System V";
    break;
  case 1:
    pcVar2 = "UNIX - HP-UX";
    break;
  case 2:
    pcVar2 = "UNIX - NetBSD";
    break;
  case 3:
    pcVar2 = "UNIX - GNU";
    break;
  default:
    if (0x3f < param_2) {
      uVar1 = *param_1;
      if (uVar1 == 0x8c) {
        if (param_2 == 0x40) {
          pcVar2 = (char *)dcgettext(0,"Bare-metal C6000",5);
          return pcVar2;
        }
        if (param_2 == 0x41) {
          return "Linux C6000";
        }
      }
      else if (uVar1 < 0x8d) {
        if (uVar1 == 0x28) {
          if (param_2 == 0x41) {
            return "ARM FDPIC";
          }
          if (param_2 == 0x61) {
            return "ARM";
          }
        }
        else if (uVar1 == 0x69) goto LAB_00024366;
      }
      else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {
LAB_00024366:
        if (param_2 == 0xff) {
          pcVar2 = (char *)dcgettext(0,"Standalone App",5);
          return pcVar2;
        }
      }
    }
    __format = (char *)dcgettext(0,"<unknown: %x>",5);
    pcVar2 = &DAT_000b5c00;
    snprintf(&DAT_000b5c00,0x20,__format,param_2);
    break;
  case 6:
    pcVar2 = "UNIX - Solaris";
    break;
  case 7:
    pcVar2 = "UNIX - AIX";
    break;
  case 8:
    pcVar2 = "UNIX - IRIX";
    break;
  case 9:
    pcVar2 = "UNIX - FreeBSD";
    break;
  case 10:
    pcVar2 = "UNIX - TRU64";
    break;
  case 0xb:
    pcVar2 = "Novell - Modesto";
    break;
  case 0xc:
    pcVar2 = "UNIX - OpenBSD";
    break;
  case 0xd:
    pcVar2 = "VMS - OpenVMS";
    break;
  case 0xe:
    pcVar2 = "HP - Non-Stop Kernel";
    break;
  case 0xf:
    pcVar2 = "AROS";
    break;
  case 0x10:
    pcVar2 = "FenixOS";
    break;
  case 0x11:
    pcVar2 = "Nuxi CloudABI";
    break;
  case 0x12:
    pcVar2 = "Stratus Technologies OpenVOS";
  }
  return pcVar2;
}


PUSH ESI
PUSH EBX
CALL 0x00013f70
ADD EBX,0x8fe39
SUB ESP,0x4
CMP EDX,0x12
JA 0x000242f0
MOV ECX,dword ptr [EBX + EDX*0x4 + 0xfffd83ec]
ADD ECX,EBX
JMP ECX
ADD ESP,0x4
POP EBX
POP ESI
RET
MOV ESI,EDX
CMP EDX,0x3f
JBE 0x00024330
MOVZX EAX,word ptr [EAX]
CMP AX,0x8c
JZ 0x0002439e
JA 0x00024390
CMP AX,0x28
JNZ 0x00024360
LEA EAX,[EBX + 0xfffc32c9]
CMP EDX,0x41
JZ 0x000241ee
LEA EAX,[EBX + 0xfffc2212]
CMP EDX,0x61
JZ 0x000241ee
NOP
SUB ESP,0x4
LEA EAX,[EBX + 0xfffc2a46]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000130f0
PUSH ESI
LEA ESI,[EBX + 0x1c00]
PUSH EAX
PUSH 0x20
PUSH ESI
CALL 0x000132c0
ADD ESP,0x20
MOV EAX,ESI
JMP 0x000241ee
CMP AX,0x69
JNZ 0x00024330
CMP ESI,0xff
JNZ 0x00024330
SUB ESP,0x4
LEA EAX,[EBX + 0xfffc33d2]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000130f0
ADD ESP,0x10
JMP 0x000241ee
CMP AX,0xdd
JZ 0x00024366
CMP AX,0x1059
JNZ 0x00024330
JMP 0x00024366
CMP EDX,0x40
JZ 0x000243b7
LEA EAX,[EBX + 0xfffc33c6]
CMP EDX,0x41
JZ 0x000241ee
JMP 0x00024330
SUB ESP,0x4
LEA EAX,[EBX + 0xfffc33e1]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000130f0
ADD ESP,0x10
JMP 0x000241ee
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nchar * __regparm3 FUN_000241c0(ushort *param_1,uint param_2)\n\n{\n  ushort uVar1;\n  char *__format;\n  char *pcVar2;\n  \n  switch(param_2) {\n  case 0:\n    pcVar2 = "UNIX - System V";\n    break;\n  case 1:\n    pcVar2 = "UNIX - HP-UX";\n    break;\n  case 2:\n    pcVar2 = "UNIX - NetBSD";\n    break;\n  case 3:\n    pcVar2 = "UNIX - GNU";\n    break;\n  default:\n    if (0x3f < param_2) {\n      uVar1 = *param_1;\n      if (uVar1 == 0x8c) {\n        if (param_2 == 0x40) {\n          pcVar2 = (char *)dcgettext(0,"Bare-metal C6000",5);\n          return pcVar2;\n        }\n        if (param_2 == 0x41) {\n          return "Linux C6000";\n        }\n      }\n      else if (uVar1 < 0x8d) {\n        if (uVar1 == 0x28) {\n          if (param_2 == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (param_2 == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;\n      }\n      else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (param_2 == 0xff) {\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }\n      }\n    }\n    __format = (char *)dcgettext(0,"<unknown: %x>",5);\n    pcVar2 = &DAT_000b5c00;\n    snprintf(&DAT_000b5c00,0x20,__format,param_2);\n    break;\n  case 6:\n    pcVar2 = "UNIX - Solaris";\n    break;\n  case 7:\n    pcVar2 = "UNIX - AIX";\n    break;\n  case 8:\n    pcVar2 = "UNIX - IRIX";\n    break;\n  case 9:\n    pcVar2 = "UNIX - FreeBSD";\n    break;\n  case 10:\n    pcVar2 = "UNIX - TRU64";\n    break;\n  case 0xb:\n    pcVar2 = "Novell - Modesto";\n    break;\n  case 0xc:\n    pcVar2 = "UNIX - OpenBSD";\n    break;\n  case 0xd:\n    pcVar2 = "VMS - OpenVMS";\n    break;\n  case 0xe:\n    pcVar2 = "HP - Non-Stop Kernel";\n    break;\n  case 0xf:\n    pcVar2 = "AROS";\n    break;\n  case 0x10:\n    pcVar2 = "FenixOS";\n    break;\n  case 0x11:\n    pcVar2 = "Nuxi CloudABI";\n    break;\n  case 0x12:\n    pcVar2 = "Stratus Technologies OpenVOS";\n  }\n  return pcVar2;\n}\n\n" comment (function_definition "char * __regparm3 FUN_000241c0(ushort *param_1,uint param_2)\n\n{\n  ushort uVar1;\n  char *__format;\n  char *pcVar2;\n  \n  switch(param_2) {\n  case 0:\n    pcVar2 = "UNIX - System V";\n    break;\n  case 1:\n    pcVar2 = "UNIX - HP-UX";\n    break;\n  case 2:\n    pcVar2 = "UNIX - NetBSD";\n    break;\n  case 3:\n    pcVar2 = "UNIX - GNU";\n    break;\n  default:\n    if (0x3f < param_2) {\n      uVar1 = *param_1;\n      if (uVar1 == 0x8c) {\n        if (param_2 == 0x40) {\n          pcVar2 = (char *)dcgettext(0,"Bare-metal C6000",5);\n          return pcVar2;\n        }\n        if (param_2 == 0x41) {\n          return "Linux C6000";\n        }\n      }\n      else if (uVar1 < 0x8d) {\n        if (uVar1 == 0x28) {\n          if (param_2 == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (param_2 == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;\n      }\n      else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (param_2 == 0xff) {\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }\n      }\n    }\n    __format = (char *)dcgettext(0,"<unknown: %x>",5);\n    pcVar2 = &DAT_000b5c00;\n    snprintf(&DAT_000b5c00,0x20,__format,param_2);\n    break;\n  case 6:\n    pcVar2 = "UNIX - Solaris";\n    break;\n  case 7:\n    pcVar2 = "UNIX - AIX";\n    break;\n  case 8:\n    pcVar2 = "UNIX - IRIX";\n    break;\n  case 9:\n    pcVar2 = "UNIX - FreeBSD";\n    break;\n  case 10:\n    pcVar2 = "UNIX - TRU64";\n    break;\n  case 0xb:\n    pcVar2 = "Novell - Modesto";\n    break;\n  case 0xc:\n    pcVar2 = "UNIX - OpenBSD";\n    break;\n  case 0xd:\n    pcVar2 = "VMS - OpenVMS";\n    break;\n  case 0xe:\n    pcVar2 = "HP - Non-Stop Kernel";\n    break;\n  case 0xf:\n    pcVar2 = "AROS";\n    break;\n  case 0x10:\n    pcVar2 = "FenixOS";\n    break;\n  case 0x11:\n    pcVar2 = "Nuxi CloudABI";\n    break;\n  case 0x12:\n    pcVar2 = "Stratus Technologies OpenVOS";\n  }\n  return pcVar2;\n}" primitive_type (pointer_declarator "* __regparm3 FUN_000241c0(ushort *param_1,uint param_2)" * (ERROR "__regparm3" identifier) (function_declarator "FUN_000241c0(ushort *param_1,uint param_2)" identifier (parameter_list "(ushort *param_1,uint param_2)" ( (parameter_declaration "ushort *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) )))) (compound_statement "{\n  ushort uVar1;\n  char *__format;\n  char *pcVar2;\n  \n  switch(param_2) {\n  case 0:\n    pcVar2 = "UNIX - System V";\n    break;\n  case 1:\n    pcVar2 = "UNIX - HP-UX";\n    break;\n  case 2:\n    pcVar2 = "UNIX - NetBSD";\n    break;\n  case 3:\n    pcVar2 = "UNIX - GNU";\n    break;\n  default:\n    if (0x3f < param_2) {\n      uVar1 = *param_1;\n      if (uVar1 == 0x8c) {\n        if (param_2 == 0x40) {\n          pcVar2 = (char *)dcgettext(0,"Bare-metal C6000",5);\n          return pcVar2;\n        }\n        if (param_2 == 0x41) {\n          return "Linux C6000";\n        }\n      }\n      else if (uVar1 < 0x8d) {\n        if (uVar1 == 0x28) {\n          if (param_2 == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (param_2 == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;\n      }\n      else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (param_2 == 0xff) {\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }\n      }\n    }\n    __format = (char *)dcgettext(0,"<unknown: %x>",5);\n    pcVar2 = &DAT_000b5c00;\n    snprintf(&DAT_000b5c00,0x20,__format,param_2);\n    break;\n  case 6:\n    pcVar2 = "UNIX - Solaris";\n    break;\n  case 7:\n    pcVar2 = "UNIX - AIX";\n    break;\n  case 8:\n    pcVar2 = "UNIX - IRIX";\n    break;\n  case 9:\n    pcVar2 = "UNIX - FreeBSD";\n    break;\n  case 10:\n    pcVar2 = "UNIX - TRU64";\n    break;\n  case 0xb:\n    pcVar2 = "Novell - Modesto";\n    break;\n  case 0xc:\n    pcVar2 = "UNIX - OpenBSD";\n    break;\n  case 0xd:\n    pcVar2 = "VMS - OpenVMS";\n    break;\n  case 0xe:\n    pcVar2 = "HP - Non-Stop Kernel";\n    break;\n  case 0xf:\n    pcVar2 = "AROS";\n    break;\n  case 0x10:\n    pcVar2 = "FenixOS";\n    break;\n  case 0x11:\n    pcVar2 = "Nuxi CloudABI";\n    break;\n  case 0x12:\n    pcVar2 = "Stratus Technologies OpenVOS";\n  }\n  return pcVar2;\n}" { (declaration "ushort uVar1;" type_identifier identifier ;) (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (switch_statement "switch(param_2) {\n  case 0:\n    pcVar2 = "UNIX - System V";\n    break;\n  case 1:\n    pcVar2 = "UNIX - HP-UX";\n    break;\n  case 2:\n    pcVar2 = "UNIX - NetBSD";\n    break;\n  case 3:\n    pcVar2 = "UNIX - GNU";\n    break;\n  default:\n    if (0x3f < param_2) {\n      uVar1 = *param_1;\n      if (uVar1 == 0x8c) {\n        if (param_2 == 0x40) {\n          pcVar2 = (char *)dcgettext(0,"Bare-metal C6000",5);\n          return pcVar2;\n        }\n        if (param_2 == 0x41) {\n          return "Linux C6000";\n        }\n      }\n      else if (uVar1 < 0x8d) {\n        if (uVar1 == 0x28) {\n          if (param_2 == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (param_2 == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;\n      }\n      else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (param_2 == 0xff) {\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }\n      }\n    }\n    __format = (char *)dcgettext(0,"<unknown: %x>",5);\n    pcVar2 = &DAT_000b5c00;\n    snprintf(&DAT_000b5c00,0x20,__format,param_2);\n    break;\n  case 6:\n    pcVar2 = "UNIX - Solaris";\n    break;\n  case 7:\n    pcVar2 = "UNIX - AIX";\n    break;\n  case 8:\n    pcVar2 = "UNIX - IRIX";\n    break;\n  case 9:\n    pcVar2 = "UNIX - FreeBSD";\n    break;\n  case 10:\n    pcVar2 = "UNIX - TRU64";\n    break;\n  case 0xb:\n    pcVar2 = "Novell - Modesto";\n    break;\n  case 0xc:\n    pcVar2 = "UNIX - OpenBSD";\n    break;\n  case 0xd:\n    pcVar2 = "VMS - OpenVMS";\n    break;\n  case 0xe:\n    pcVar2 = "HP - Non-Stop Kernel";\n    break;\n  case 0xf:\n    pcVar2 = "AROS";\n    break;\n  case 0x10:\n    pcVar2 = "FenixOS";\n    break;\n  case 0x11:\n    pcVar2 = "Nuxi CloudABI";\n    break;\n  case 0x12:\n    pcVar2 = "Stratus Technologies OpenVOS";\n  }" switch (parenthesized_expression "(param_2)" ( identifier )) (compound_statement "{\n  case 0:\n    pcVar2 = "UNIX - System V";\n    break;\n  case 1:\n    pcVar2 = "UNIX - HP-UX";\n    break;\n  case 2:\n    pcVar2 = "UNIX - NetBSD";\n    break;\n  case 3:\n    pcVar2 = "UNIX - GNU";\n    break;\n  default:\n    if (0x3f < param_2) {\n      uVar1 = *param_1;\n      if (uVar1 == 0x8c) {\n        if (param_2 == 0x40) {\n          pcVar2 = (char *)dcgettext(0,"Bare-metal C6000",5);\n          return pcVar2;\n        }\n        if (param_2 == 0x41) {\n          return "Linux C6000";\n        }\n      }\n      else if (uVar1 < 0x8d) {\n        if (uVar1 == 0x28) {\n          if (param_2 == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (param_2 == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;\n      }\n      else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (param_2 == 0xff) {\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }\n      }\n    }\n    __format = (char *)dcgettext(0,"<unknown: %x>",5);\n    pcVar2 = &DAT_000b5c00;\n    snprintf(&DAT_000b5c00,0x20,__format,param_2);\n    break;\n  case 6:\n    pcVar2 = "UNIX - Solaris";\n    break;\n  case 7:\n    pcVar2 = "UNIX - AIX";\n    break;\n  case 8:\n    pcVar2 = "UNIX - IRIX";\n    break;\n  case 9:\n    pcVar2 = "UNIX - FreeBSD";\n    break;\n  case 10:\n    pcVar2 = "UNIX - TRU64";\n    break;\n  case 0xb:\n    pcVar2 = "Novell - Modesto";\n    break;\n  case 0xc:\n    pcVar2 = "UNIX - OpenBSD";\n    break;\n  case 0xd:\n    pcVar2 = "VMS - OpenVMS";\n    break;\n  case 0xe:\n    pcVar2 = "HP - Non-Stop Kernel";\n    break;\n  case 0xf:\n    pcVar2 = "AROS";\n    break;\n  case 0x10:\n    pcVar2 = "FenixOS";\n    break;\n  case 0x11:\n    pcVar2 = "Nuxi CloudABI";\n    break;\n  case 0x12:\n    pcVar2 = "Stratus Technologies OpenVOS";\n  }" { (case_statement "case 0:\n    pcVar2 = "UNIX - System V";\n    break;" case number_literal : (expression_statement "pcVar2 = "UNIX - System V";" (assignment_expression "pcVar2 = "UNIX - System V"" identifier = (string_literal ""UNIX - System V"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 1:\n    pcVar2 = "UNIX - HP-UX";\n    break;" case number_literal : (expression_statement "pcVar2 = "UNIX - HP-UX";" (assignment_expression "pcVar2 = "UNIX - HP-UX"" identifier = (string_literal ""UNIX - HP-UX"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 2:\n    pcVar2 = "UNIX - NetBSD";\n    break;" case number_literal : (expression_statement "pcVar2 = "UNIX - NetBSD";" (assignment_expression "pcVar2 = "UNIX - NetBSD"" identifier = (string_literal ""UNIX - NetBSD"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 3:\n    pcVar2 = "UNIX - GNU";\n    break;" case number_literal : (expression_statement "pcVar2 = "UNIX - GNU";" (assignment_expression "pcVar2 = "UNIX - GNU"" identifier = (string_literal ""UNIX - GNU"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "default:\n    if (0x3f < param_2) {\n      uVar1 = *param_1;\n      if (uVar1 == 0x8c) {\n        if (param_2 == 0x40) {\n          pcVar2 = (char *)dcgettext(0,"Bare-metal C6000",5);\n          return pcVar2;\n        }\n        if (param_2 == 0x41) {\n          return "Linux C6000";\n        }\n      }\n      else if (uVar1 < 0x8d) {\n        if (uVar1 == 0x28) {\n          if (param_2 == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (param_2 == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;\n      }\n      else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (param_2 == 0xff) {\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }\n      }\n    }\n    __format = (char *)dcgettext(0,"<unknown: %x>",5);\n    pcVar2 = &DAT_000b5c00;\n    snprintf(&DAT_000b5c00,0x20,__format,param_2);\n    break;" default : (if_statement "if (0x3f < param_2) {\n      uVar1 = *param_1;\n      if (uVar1 == 0x8c) {\n        if (param_2 == 0x40) {\n          pcVar2 = (char *)dcgettext(0,"Bare-metal C6000",5);\n          return pcVar2;\n        }\n        if (param_2 == 0x41) {\n          return "Linux C6000";\n        }\n      }\n      else if (uVar1 < 0x8d) {\n        if (uVar1 == 0x28) {\n          if (param_2 == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (param_2 == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;\n      }\n      else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (param_2 == 0xff) {\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }\n      }\n    }" if (parenthesized_expression "(0x3f < param_2)" ( (binary_expression "0x3f < param_2" number_literal < identifier) )) (compound_statement "{\n      uVar1 = *param_1;\n      if (uVar1 == 0x8c) {\n        if (param_2 == 0x40) {\n          pcVar2 = (char *)dcgettext(0,"Bare-metal C6000",5);\n          return pcVar2;\n        }\n        if (param_2 == 0x41) {\n          return "Linux C6000";\n        }\n      }\n      else if (uVar1 < 0x8d) {\n        if (uVar1 == 0x28) {\n          if (param_2 == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (param_2 == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;\n      }\n      else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (param_2 == 0xff) {\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }\n      }\n    }" { (expression_statement "uVar1 = *param_1;" (assignment_expression "uVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (uVar1 == 0x8c) {\n        if (param_2 == 0x40) {\n          pcVar2 = (char *)dcgettext(0,"Bare-metal C6000",5);\n          return pcVar2;\n        }\n        if (param_2 == 0x41) {\n          return "Linux C6000";\n        }\n      }\n      else if (uVar1 < 0x8d) {\n        if (uVar1 == 0x28) {\n          if (param_2 == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (param_2 == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;\n      }\n      else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (param_2 == 0xff) {\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }\n      }" if (parenthesized_expression "(uVar1 == 0x8c)" ( (binary_expression "uVar1 == 0x8c" identifier == number_literal) )) (compound_statement "{\n        if (param_2 == 0x40) {\n          pcVar2 = (char *)dcgettext(0,"Bare-metal C6000",5);\n          return pcVar2;\n        }\n        if (param_2 == 0x41) {\n          return "Linux C6000";\n        }\n      }" { (if_statement "if (param_2 == 0x40) {\n          pcVar2 = (char *)dcgettext(0,"Bare-metal C6000",5);\n          return pcVar2;\n        }" if (parenthesized_expression "(param_2 == 0x40)" ( (binary_expression "param_2 == 0x40" identifier == number_literal) )) (compound_statement "{\n          pcVar2 = (char *)dcgettext(0,"Bare-metal C6000",5);\n          return pcVar2;\n        }" { (expression_statement "pcVar2 = (char *)dcgettext(0,"Bare-metal C6000",5);" (assignment_expression "pcVar2 = (char *)dcgettext(0,"Bare-metal C6000",5)" identifier = (cast_expression "(char *)dcgettext(0,"Bare-metal C6000",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"Bare-metal C6000",5)" identifier (argument_list "(0,"Bare-metal C6000",5)" ( number_literal , (string_literal ""Bare-metal C6000"" " string_content ") , number_literal ))))) ;) (return_statement "return pcVar2;" return identifier ;) })) (if_statement "if (param_2 == 0x41) {\n          return "Linux C6000";\n        }" if (parenthesized_expression "(param_2 == 0x41)" ( (binary_expression "param_2 == 0x41" identifier == number_literal) )) (compound_statement "{\n          return "Linux C6000";\n        }" { (return_statement "return "Linux C6000";" return (string_literal ""Linux C6000"" " string_content ") ;) })) }) (else_clause "else if (uVar1 < 0x8d) {\n        if (uVar1 == 0x28) {\n          if (param_2 == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (param_2 == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;\n      }\n      else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (param_2 == 0xff) {\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }\n      }" else (if_statement "if (uVar1 < 0x8d) {\n        if (uVar1 == 0x28) {\n          if (param_2 == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (param_2 == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;\n      }\n      else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (param_2 == 0xff) {\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }\n      }" if (parenthesized_expression "(uVar1 < 0x8d)" ( (binary_expression "uVar1 < 0x8d" identifier < number_literal) )) (compound_statement "{\n        if (uVar1 == 0x28) {\n          if (param_2 == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (param_2 == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;\n      }" { (if_statement "if (uVar1 == 0x28) {\n          if (param_2 == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (param_2 == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;" if (parenthesized_expression "(uVar1 == 0x28)" ( (binary_expression "uVar1 == 0x28" identifier == number_literal) )) (compound_statement "{\n          if (param_2 == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (param_2 == 0x61) {\n            return "ARM";\n          }\n        }" { (if_statement "if (param_2 == 0x41) {\n            return "ARM FDPIC";\n          }" if (parenthesized_expression "(param_2 == 0x41)" ( (binary_expression "param_2 == 0x41" identifier == number_literal) )) (compound_statement "{\n            return "ARM FDPIC";\n          }" { (return_statement "return "ARM FDPIC";" return (string_literal ""ARM FDPIC"" " string_content ") ;) })) (if_statement "if (param_2 == 0x61) {\n            return "ARM";\n          }" if (parenthesized_expression "(param_2 == 0x61)" ( (binary_expression "param_2 == 0x61" identifier == number_literal) )) (compound_statement "{\n            return "ARM";\n          }" { (return_statement "return "ARM";" return (string_literal ""ARM"" " string_content ") ;) })) }) (else_clause "else if (uVar1 == 0x69) goto LAB_00024366;" else (if_statement "if (uVar1 == 0x69) goto LAB_00024366;" if (parenthesized_expression "(uVar1 == 0x69)" ( (binary_expression "uVar1 == 0x69" identifier == number_literal) )) (goto_statement "goto LAB_00024366;" goto statement_identifier ;)))) }) (else_clause "else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (param_2 == 0xff) {\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }\n      }" else (if_statement "if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (param_2 == 0xff) {\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }\n      }" if (parenthesized_expression "((uVar1 == 0xdd) || (uVar1 == 0x1059))" ( (binary_expression "(uVar1 == 0xdd) || (uVar1 == 0x1059)" (parenthesized_expression "(uVar1 == 0xdd)" ( (binary_expression "uVar1 == 0xdd" identifier == number_literal) )) || (parenthesized_expression "(uVar1 == 0x1059)" ( (binary_expression "uVar1 == 0x1059" identifier == number_literal) ))) )) (compound_statement "{\nLAB_00024366:\n        if (param_2 == 0xff) {\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }\n      }" { (labeled_statement "LAB_00024366:\n        if (param_2 == 0xff) {\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }" statement_identifier : (if_statement "if (param_2 == 0xff) {\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }" if (parenthesized_expression "(param_2 == 0xff)" ( (binary_expression "param_2 == 0xff" identifier == number_literal) )) (compound_statement "{\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }" { (expression_statement "pcVar2 = (char *)dcgettext(0,"Standalone App",5);" (assignment_expression "pcVar2 = (char *)dcgettext(0,"Standalone App",5)" identifier = (cast_expression "(char *)dcgettext(0,"Standalone App",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"Standalone App",5)" identifier (argument_list "(0,"Standalone App",5)" ( number_literal , (string_literal ""Standalone App"" " string_content ") , number_literal ))))) ;) (return_statement "return pcVar2;" return identifier ;) }))) })))))) })) (expression_statement "__format = (char *)dcgettext(0,"<unknown: %x>",5);" (assignment_expression "__format = (char *)dcgettext(0,"<unknown: %x>",5)" identifier = (cast_expression "(char *)dcgettext(0,"<unknown: %x>",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"<unknown: %x>",5)" identifier (argument_list "(0,"<unknown: %x>",5)" ( number_literal , (string_literal ""<unknown: %x>"" " string_content ") , number_literal ))))) ;) (expression_statement "pcVar2 = &DAT_000b5c00;" (assignment_expression "pcVar2 = &DAT_000b5c00" identifier = (pointer_expression "&DAT_000b5c00" & identifier)) ;) (expression_statement "snprintf(&DAT_000b5c00,0x20,__format,param_2);" (call_expression "snprintf(&DAT_000b5c00,0x20,__format,param_2)" identifier (argument_list "(&DAT_000b5c00,0x20,__format,param_2)" ( (pointer_expression "&DAT_000b5c00" & identifier) , number_literal , identifier , identifier ))) ;) (break_statement "break;" break ;)) (case_statement "case 6:\n    pcVar2 = "UNIX - Solaris";\n    break;" case number_literal : (expression_statement "pcVar2 = "UNIX - Solaris";" (assignment_expression "pcVar2 = "UNIX - Solaris"" identifier = (string_literal ""UNIX - Solaris"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 7:\n    pcVar2 = "UNIX - AIX";\n    break;" case number_literal : (expression_statement "pcVar2 = "UNIX - AIX";" (assignment_expression "pcVar2 = "UNIX - AIX"" identifier = (string_literal ""UNIX - AIX"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 8:\n    pcVar2 = "UNIX - IRIX";\n    break;" case number_literal : (expression_statement "pcVar2 = "UNIX - IRIX";" (assignment_expression "pcVar2 = "UNIX - IRIX"" identifier = (string_literal ""UNIX - IRIX"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 9:\n    pcVar2 = "UNIX - FreeBSD";\n    break;" case number_literal : (expression_statement "pcVar2 = "UNIX - FreeBSD";" (assignment_expression "pcVar2 = "UNIX - FreeBSD"" identifier = (string_literal ""UNIX - FreeBSD"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 10:\n    pcVar2 = "UNIX - TRU64";\n    break;" case number_literal : (expression_statement "pcVar2 = "UNIX - TRU64";" (assignment_expression "pcVar2 = "UNIX - TRU64"" identifier = (string_literal ""UNIX - TRU64"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 0xb:\n    pcVar2 = "Novell - Modesto";\n    break;" case number_literal : (expression_statement "pcVar2 = "Novell - Modesto";" (assignment_expression "pcVar2 = "Novell - Modesto"" identifier = (string_literal ""Novell - Modesto"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 0xc:\n    pcVar2 = "UNIX - OpenBSD";\n    break;" case number_literal : (expression_statement "pcVar2 = "UNIX - OpenBSD";" (assignment_expression "pcVar2 = "UNIX - OpenBSD"" identifier = (string_literal ""UNIX - OpenBSD"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 0xd:\n    pcVar2 = "VMS - OpenVMS";\n    break;" case number_literal : (expression_statement "pcVar2 = "VMS - OpenVMS";" (assignment_expression "pcVar2 = "VMS - OpenVMS"" identifier = (string_literal ""VMS - OpenVMS"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 0xe:\n    pcVar2 = "HP - Non-Stop Kernel";\n    break;" case number_literal : (expression_statement "pcVar2 = "HP - Non-Stop Kernel";" (assignment_expression "pcVar2 = "HP - Non-Stop Kernel"" identifier = (string_literal ""HP - Non-Stop Kernel"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 0xf:\n    pcVar2 = "AROS";\n    break;" case number_literal : (expression_statement "pcVar2 = "AROS";" (assignment_expression "pcVar2 = "AROS"" identifier = (string_literal ""AROS"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 0x10:\n    pcVar2 = "FenixOS";\n    break;" case number_literal : (expression_statement "pcVar2 = "FenixOS";" (assignment_expression "pcVar2 = "FenixOS"" identifier = (string_literal ""FenixOS"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 0x11:\n    pcVar2 = "Nuxi CloudABI";\n    break;" case number_literal : (expression_statement "pcVar2 = "Nuxi CloudABI";" (assignment_expression "pcVar2 = "Nuxi CloudABI"" identifier = (string_literal ""Nuxi CloudABI"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 0x12:\n    pcVar2 = "Stratus Technologies OpenVOS";" case number_literal : (expression_statement "pcVar2 = "Stratus Technologies OpenVOS";" (assignment_expression "pcVar2 = "Stratus Technologies OpenVOS"" identifier = (string_literal ""Stratus Technologies OpenVOS"" " string_content ")) ;)) })) (return_statement "return pcVar2;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nchar * __regparm3 get_osabi_name(Filedata *filedata,uint osabi)\n\n{\n  ushort uVar1;\n  undefined1 *puVar2;\n  char *pcVar3;\n  \n  switch(osabi) {\n  case 0:\n    puVar2 = "UNIX - System V";\n    break;\n  case 1:\n    puVar2 = "UNIX - HP-UX";\n    break;\n  case 2:\n    puVar2 = "UNIX - NetBSD";\n    break;\n  case 3:\n    puVar2 = "UNIX - GNU";\n    break;\n  default:\n    if (0x3f < osabi) {\n      uVar1 = *(ushort *)&filedata->file_name;\n      if (uVar1 == 0x8c) {\n        if (osabi == 0x40) {\n          pcVar3 = (char *)dcgettext(0,"Bare-metal C6000",5);\n          return pcVar3;\n        }\n        if (osabi == 0x41) {\n          return "Linux C6000";\n        }\n      }\n      else if (uVar1 < 0x8d) {\n        if (uVar1 == 0x28) {\n          if (osabi == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (osabi == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;\n      }\n      else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (osabi == 0xff) {\n          pcVar3 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar3;\n        }\n      }\n    }\n    pcVar3 = (char *)dcgettext(0,"<unknown: %x>",5);\n    puVar2 = buff_16965;\n    snprintf(buff_16965,0x20,pcVar3,osabi);\n    break;\n  case 6:\n    puVar2 = "UNIX - Solaris";\n    break;\n  case 7:\n    puVar2 = "UNIX - AIX";\n    break;\n  case 8:\n    puVar2 = "UNIX - IRIX";\n    break;\n  case 9:\n    puVar2 = "UNIX - FreeBSD";\n    break;\n  case 10:\n    puVar2 = "UNIX - TRU64";\n    break;\n  case 0xb:\n    puVar2 = "Novell - Modesto";\n    break;\n  case 0xc:\n    puVar2 = "UNIX - OpenBSD";\n    break;\n  case 0xd:\n    puVar2 = "VMS - OpenVMS";\n    break;\n  case 0xe:\n    puVar2 = "HP - Non-Stop Kernel";\n    break;\n  case 0xf:\n    puVar2 = "AROS";\n    break;\n  case 0x10:\n    puVar2 = "FenixOS";\n    break;\n  case 0x11:\n    puVar2 = "Nuxi CloudABI";\n    break;\n  case 0x12:\n    puVar2 = "Stratus Technologies OpenVOS";\n  }\n  return puVar2;\n}\n\n" comment (function_definition "char * __regparm3 get_osabi_name(Filedata *filedata,uint osabi)\n\n{\n  ushort uVar1;\n  undefined1 *puVar2;\n  char *pcVar3;\n  \n  switch(osabi) {\n  case 0:\n    puVar2 = "UNIX - System V";\n    break;\n  case 1:\n    puVar2 = "UNIX - HP-UX";\n    break;\n  case 2:\n    puVar2 = "UNIX - NetBSD";\n    break;\n  case 3:\n    puVar2 = "UNIX - GNU";\n    break;\n  default:\n    if (0x3f < osabi) {\n      uVar1 = *(ushort *)&filedata->file_name;\n      if (uVar1 == 0x8c) {\n        if (osabi == 0x40) {\n          pcVar3 = (char *)dcgettext(0,"Bare-metal C6000",5);\n          return pcVar3;\n        }\n        if (osabi == 0x41) {\n          return "Linux C6000";\n        }\n      }\n      else if (uVar1 < 0x8d) {\n        if (uVar1 == 0x28) {\n          if (osabi == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (osabi == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;\n      }\n      else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (osabi == 0xff) {\n          pcVar3 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar3;\n        }\n      }\n    }\n    pcVar3 = (char *)dcgettext(0,"<unknown: %x>",5);\n    puVar2 = buff_16965;\n    snprintf(buff_16965,0x20,pcVar3,osabi);\n    break;\n  case 6:\n    puVar2 = "UNIX - Solaris";\n    break;\n  case 7:\n    puVar2 = "UNIX - AIX";\n    break;\n  case 8:\n    puVar2 = "UNIX - IRIX";\n    break;\n  case 9:\n    puVar2 = "UNIX - FreeBSD";\n    break;\n  case 10:\n    puVar2 = "UNIX - TRU64";\n    break;\n  case 0xb:\n    puVar2 = "Novell - Modesto";\n    break;\n  case 0xc:\n    puVar2 = "UNIX - OpenBSD";\n    break;\n  case 0xd:\n    puVar2 = "VMS - OpenVMS";\n    break;\n  case 0xe:\n    puVar2 = "HP - Non-Stop Kernel";\n    break;\n  case 0xf:\n    puVar2 = "AROS";\n    break;\n  case 0x10:\n    puVar2 = "FenixOS";\n    break;\n  case 0x11:\n    puVar2 = "Nuxi CloudABI";\n    break;\n  case 0x12:\n    puVar2 = "Stratus Technologies OpenVOS";\n  }\n  return puVar2;\n}" primitive_type (pointer_declarator "* __regparm3 get_osabi_name(Filedata *filedata,uint osabi)" * (ERROR "__regparm3" identifier) (function_declarator "get_osabi_name(Filedata *filedata,uint osabi)" identifier (parameter_list "(Filedata *filedata,uint osabi)" ( (parameter_declaration "Filedata *filedata" type_identifier (pointer_declarator "*filedata" * identifier)) , (parameter_declaration "uint osabi" type_identifier identifier) )))) (compound_statement "{\n  ushort uVar1;\n  undefined1 *puVar2;\n  char *pcVar3;\n  \n  switch(osabi) {\n  case 0:\n    puVar2 = "UNIX - System V";\n    break;\n  case 1:\n    puVar2 = "UNIX - HP-UX";\n    break;\n  case 2:\n    puVar2 = "UNIX - NetBSD";\n    break;\n  case 3:\n    puVar2 = "UNIX - GNU";\n    break;\n  default:\n    if (0x3f < osabi) {\n      uVar1 = *(ushort *)&filedata->file_name;\n      if (uVar1 == 0x8c) {\n        if (osabi == 0x40) {\n          pcVar3 = (char *)dcgettext(0,"Bare-metal C6000",5);\n          return pcVar3;\n        }\n        if (osabi == 0x41) {\n          return "Linux C6000";\n        }\n      }\n      else if (uVar1 < 0x8d) {\n        if (uVar1 == 0x28) {\n          if (osabi == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (osabi == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;\n      }\n      else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (osabi == 0xff) {\n          pcVar3 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar3;\n        }\n      }\n    }\n    pcVar3 = (char *)dcgettext(0,"<unknown: %x>",5);\n    puVar2 = buff_16965;\n    snprintf(buff_16965,0x20,pcVar3,osabi);\n    break;\n  case 6:\n    puVar2 = "UNIX - Solaris";\n    break;\n  case 7:\n    puVar2 = "UNIX - AIX";\n    break;\n  case 8:\n    puVar2 = "UNIX - IRIX";\n    break;\n  case 9:\n    puVar2 = "UNIX - FreeBSD";\n    break;\n  case 10:\n    puVar2 = "UNIX - TRU64";\n    break;\n  case 0xb:\n    puVar2 = "Novell - Modesto";\n    break;\n  case 0xc:\n    puVar2 = "UNIX - OpenBSD";\n    break;\n  case 0xd:\n    puVar2 = "VMS - OpenVMS";\n    break;\n  case 0xe:\n    puVar2 = "HP - Non-Stop Kernel";\n    break;\n  case 0xf:\n    puVar2 = "AROS";\n    break;\n  case 0x10:\n    puVar2 = "FenixOS";\n    break;\n  case 0x11:\n    puVar2 = "Nuxi CloudABI";\n    break;\n  case 0x12:\n    puVar2 = "Stratus Technologies OpenVOS";\n  }\n  return puVar2;\n}" { (declaration "ushort uVar1;" type_identifier identifier ;) (declaration "undefined1 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (switch_statement "switch(osabi) {\n  case 0:\n    puVar2 = "UNIX - System V";\n    break;\n  case 1:\n    puVar2 = "UNIX - HP-UX";\n    break;\n  case 2:\n    puVar2 = "UNIX - NetBSD";\n    break;\n  case 3:\n    puVar2 = "UNIX - GNU";\n    break;\n  default:\n    if (0x3f < osabi) {\n      uVar1 = *(ushort *)&filedata->file_name;\n      if (uVar1 == 0x8c) {\n        if (osabi == 0x40) {\n          pcVar3 = (char *)dcgettext(0,"Bare-metal C6000",5);\n          return pcVar3;\n        }\n        if (osabi == 0x41) {\n          return "Linux C6000";\n        }\n      }\n      else if (uVar1 < 0x8d) {\n        if (uVar1 == 0x28) {\n          if (osabi == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (osabi == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;\n      }\n      else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (osabi == 0xff) {\n          pcVar3 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar3;\n        }\n      }\n    }\n    pcVar3 = (char *)dcgettext(0,"<unknown: %x>",5);\n    puVar2 = buff_16965;\n    snprintf(buff_16965,0x20,pcVar3,osabi);\n    break;\n  case 6:\n    puVar2 = "UNIX - Solaris";\n    break;\n  case 7:\n    puVar2 = "UNIX - AIX";\n    break;\n  case 8:\n    puVar2 = "UNIX - IRIX";\n    break;\n  case 9:\n    puVar2 = "UNIX - FreeBSD";\n    break;\n  case 10:\n    puVar2 = "UNIX - TRU64";\n    break;\n  case 0xb:\n    puVar2 = "Novell - Modesto";\n    break;\n  case 0xc:\n    puVar2 = "UNIX - OpenBSD";\n    break;\n  case 0xd:\n    puVar2 = "VMS - OpenVMS";\n    break;\n  case 0xe:\n    puVar2 = "HP - Non-Stop Kernel";\n    break;\n  case 0xf:\n    puVar2 = "AROS";\n    break;\n  case 0x10:\n    puVar2 = "FenixOS";\n    break;\n  case 0x11:\n    puVar2 = "Nuxi CloudABI";\n    break;\n  case 0x12:\n    puVar2 = "Stratus Technologies OpenVOS";\n  }" switch (parenthesized_expression "(osabi)" ( identifier )) (compound_statement "{\n  case 0:\n    puVar2 = "UNIX - System V";\n    break;\n  case 1:\n    puVar2 = "UNIX - HP-UX";\n    break;\n  case 2:\n    puVar2 = "UNIX - NetBSD";\n    break;\n  case 3:\n    puVar2 = "UNIX - GNU";\n    break;\n  default:\n    if (0x3f < osabi) {\n      uVar1 = *(ushort *)&filedata->file_name;\n      if (uVar1 == 0x8c) {\n        if (osabi == 0x40) {\n          pcVar3 = (char *)dcgettext(0,"Bare-metal C6000",5);\n          return pcVar3;\n        }\n        if (osabi == 0x41) {\n          return "Linux C6000";\n        }\n      }\n      else if (uVar1 < 0x8d) {\n        if (uVar1 == 0x28) {\n          if (osabi == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (osabi == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;\n      }\n      else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (osabi == 0xff) {\n          pcVar3 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar3;\n        }\n      }\n    }\n    pcVar3 = (char *)dcgettext(0,"<unknown: %x>",5);\n    puVar2 = buff_16965;\n    snprintf(buff_16965,0x20,pcVar3,osabi);\n    break;\n  case 6:\n    puVar2 = "UNIX - Solaris";\n    break;\n  case 7:\n    puVar2 = "UNIX - AIX";\n    break;\n  case 8:\n    puVar2 = "UNIX - IRIX";\n    break;\n  case 9:\n    puVar2 = "UNIX - FreeBSD";\n    break;\n  case 10:\n    puVar2 = "UNIX - TRU64";\n    break;\n  case 0xb:\n    puVar2 = "Novell - Modesto";\n    break;\n  case 0xc:\n    puVar2 = "UNIX - OpenBSD";\n    break;\n  case 0xd:\n    puVar2 = "VMS - OpenVMS";\n    break;\n  case 0xe:\n    puVar2 = "HP - Non-Stop Kernel";\n    break;\n  case 0xf:\n    puVar2 = "AROS";\n    break;\n  case 0x10:\n    puVar2 = "FenixOS";\n    break;\n  case 0x11:\n    puVar2 = "Nuxi CloudABI";\n    break;\n  case 0x12:\n    puVar2 = "Stratus Technologies OpenVOS";\n  }" { (case_statement "case 0:\n    puVar2 = "UNIX - System V";\n    break;" case number_literal : (expression_statement "puVar2 = "UNIX - System V";" (assignment_expression "puVar2 = "UNIX - System V"" identifier = (string_literal ""UNIX - System V"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 1:\n    puVar2 = "UNIX - HP-UX";\n    break;" case number_literal : (expression_statement "puVar2 = "UNIX - HP-UX";" (assignment_expression "puVar2 = "UNIX - HP-UX"" identifier = (string_literal ""UNIX - HP-UX"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 2:\n    puVar2 = "UNIX - NetBSD";\n    break;" case number_literal : (expression_statement "puVar2 = "UNIX - NetBSD";" (assignment_expression "puVar2 = "UNIX - NetBSD"" identifier = (string_literal ""UNIX - NetBSD"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 3:\n    puVar2 = "UNIX - GNU";\n    break;" case number_literal : (expression_statement "puVar2 = "UNIX - GNU";" (assignment_expression "puVar2 = "UNIX - GNU"" identifier = (string_literal ""UNIX - GNU"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "default:\n    if (0x3f < osabi) {\n      uVar1 = *(ushort *)&filedata->file_name;\n      if (uVar1 == 0x8c) {\n        if (osabi == 0x40) {\n          pcVar3 = (char *)dcgettext(0,"Bare-metal C6000",5);\n          return pcVar3;\n        }\n        if (osabi == 0x41) {\n          return "Linux C6000";\n        }\n      }\n      else if (uVar1 < 0x8d) {\n        if (uVar1 == 0x28) {\n          if (osabi == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (osabi == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;\n      }\n      else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (osabi == 0xff) {\n          pcVar3 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar3;\n        }\n      }\n    }\n    pcVar3 = (char *)dcgettext(0,"<unknown: %x>",5);\n    puVar2 = buff_16965;\n    snprintf(buff_16965,0x20,pcVar3,osabi);\n    break;" default : (if_statement "if (0x3f < osabi) {\n      uVar1 = *(ushort *)&filedata->file_name;\n      if (uVar1 == 0x8c) {\n        if (osabi == 0x40) {\n          pcVar3 = (char *)dcgettext(0,"Bare-metal C6000",5);\n          return pcVar3;\n        }\n        if (osabi == 0x41) {\n          return "Linux C6000";\n        }\n      }\n      else if (uVar1 < 0x8d) {\n        if (uVar1 == 0x28) {\n          if (osabi == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (osabi == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;\n      }\n      else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (osabi == 0xff) {\n          pcVar3 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar3;\n        }\n      }\n    }" if (parenthesized_expression "(0x3f < osabi)" ( (binary_expression "0x3f < osabi" number_literal < identifier) )) (compound_statement "{\n      uVar1 = *(ushort *)&filedata->file_name;\n      if (uVar1 == 0x8c) {\n        if (osabi == 0x40) {\n          pcVar3 = (char *)dcgettext(0,"Bare-metal C6000",5);\n          return pcVar3;\n        }\n        if (osabi == 0x41) {\n          return "Linux C6000";\n        }\n      }\n      else if (uVar1 < 0x8d) {\n        if (uVar1 == 0x28) {\n          if (osabi == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (osabi == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;\n      }\n      else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (osabi == 0xff) {\n          pcVar3 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar3;\n        }\n      }\n    }" { (expression_statement "uVar1 = *(ushort *)&filedata->file_name;" (assignment_expression "uVar1 = *(ushort *)&filedata->file_name" identifier = (pointer_expression "*(ushort *)&filedata->file_name" * (cast_expression "(ushort *)&filedata->file_name" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&filedata->file_name" & (field_expression "filedata->file_name" identifier -> field_identifier))))) ;) (if_statement "if (uVar1 == 0x8c) {\n        if (osabi == 0x40) {\n          pcVar3 = (char *)dcgettext(0,"Bare-metal C6000",5);\n          return pcVar3;\n        }\n        if (osabi == 0x41) {\n          return "Linux C6000";\n        }\n      }\n      else if (uVar1 < 0x8d) {\n        if (uVar1 == 0x28) {\n          if (osabi == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (osabi == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;\n      }\n      else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (osabi == 0xff) {\n          pcVar3 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar3;\n        }\n      }" if (parenthesized_expression "(uVar1 == 0x8c)" ( (binary_expression "uVar1 == 0x8c" identifier == number_literal) )) (compound_statement "{\n        if (osabi == 0x40) {\n          pcVar3 = (char *)dcgettext(0,"Bare-metal C6000",5);\n          return pcVar3;\n        }\n        if (osabi == 0x41) {\n          return "Linux C6000";\n        }\n      }" { (if_statement "if (osabi == 0x40) {\n          pcVar3 = (char *)dcgettext(0,"Bare-metal C6000",5);\n          return pcVar3;\n        }" if (parenthesized_expression "(osabi == 0x40)" ( (binary_expression "osabi == 0x40" identifier == number_literal) )) (compound_statement "{\n          pcVar3 = (char *)dcgettext(0,"Bare-metal C6000",5);\n          return pcVar3;\n        }" { (expression_statement "pcVar3 = (char *)dcgettext(0,"Bare-metal C6000",5);" (assignment_expression "pcVar3 = (char *)dcgettext(0,"Bare-metal C6000",5)" identifier = (cast_expression "(char *)dcgettext(0,"Bare-metal C6000",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"Bare-metal C6000",5)" identifier (argument_list "(0,"Bare-metal C6000",5)" ( number_literal , (string_literal ""Bare-metal C6000"" " string_content ") , number_literal ))))) ;) (return_statement "return pcVar3;" return identifier ;) })) (if_statement "if (osabi == 0x41) {\n          return "Linux C6000";\n        }" if (parenthesized_expression "(osabi == 0x41)" ( (binary_expression "osabi == 0x41" identifier == number_literal) )) (compound_statement "{\n          return "Linux C6000";\n        }" { (return_statement "return "Linux C6000";" return (string_literal ""Linux C6000"" " string_content ") ;) })) }) (else_clause "else if (uVar1 < 0x8d) {\n        if (uVar1 == 0x28) {\n          if (osabi == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (osabi == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;\n      }\n      else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (osabi == 0xff) {\n          pcVar3 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar3;\n        }\n      }" else (if_statement "if (uVar1 < 0x8d) {\n        if (uVar1 == 0x28) {\n          if (osabi == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (osabi == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;\n      }\n      else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (osabi == 0xff) {\n          pcVar3 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar3;\n        }\n      }" if (parenthesized_expression "(uVar1 < 0x8d)" ( (binary_expression "uVar1 < 0x8d" identifier < number_literal) )) (compound_statement "{\n        if (uVar1 == 0x28) {\n          if (osabi == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (osabi == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;\n      }" { (if_statement "if (uVar1 == 0x28) {\n          if (osabi == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (osabi == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;" if (parenthesized_expression "(uVar1 == 0x28)" ( (binary_expression "uVar1 == 0x28" identifier == number_literal) )) (compound_statement "{\n          if (osabi == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (osabi == 0x61) {\n            return "ARM";\n          }\n        }" { (if_statement "if (osabi == 0x41) {\n            return "ARM FDPIC";\n          }" if (parenthesized_expression "(osabi == 0x41)" ( (binary_expression "osabi == 0x41" identifier == number_literal) )) (compound_statement "{\n            return "ARM FDPIC";\n          }" { (return_statement "return "ARM FDPIC";" return (string_literal ""ARM FDPIC"" " string_content ") ;) })) (if_statement "if (osabi == 0x61) {\n            return "ARM";\n          }" if (parenthesized_expression "(osabi == 0x61)" ( (binary_expression "osabi == 0x61" identifier == number_literal) )) (compound_statement "{\n            return "ARM";\n          }" { (return_statement "return "ARM";" return (string_literal ""ARM"" " string_content ") ;) })) }) (else_clause "else if (uVar1 == 0x69) goto LAB_00024366;" else (if_statement "if (uVar1 == 0x69) goto LAB_00024366;" if (parenthesized_expression "(uVar1 == 0x69)" ( (binary_expression "uVar1 == 0x69" identifier == number_literal) )) (goto_statement "goto LAB_00024366;" goto statement_identifier ;)))) }) (else_clause "else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (osabi == 0xff) {\n          pcVar3 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar3;\n        }\n      }" else (if_statement "if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (osabi == 0xff) {\n          pcVar3 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar3;\n        }\n      }" if (parenthesized_expression "((uVar1 == 0xdd) || (uVar1 == 0x1059))" ( (binary_expression "(uVar1 == 0xdd) || (uVar1 == 0x1059)" (parenthesized_expression "(uVar1 == 0xdd)" ( (binary_expression "uVar1 == 0xdd" identifier == number_literal) )) || (parenthesized_expression "(uVar1 == 0x1059)" ( (binary_expression "uVar1 == 0x1059" identifier == number_literal) ))) )) (compound_statement "{\nLAB_00024366:\n        if (osabi == 0xff) {\n          pcVar3 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar3;\n        }\n      }" { (labeled_statement "LAB_00024366:\n        if (osabi == 0xff) {\n          pcVar3 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar3;\n        }" statement_identifier : (if_statement "if (osabi == 0xff) {\n          pcVar3 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar3;\n        }" if (parenthesized_expression "(osabi == 0xff)" ( (binary_expression "osabi == 0xff" identifier == number_literal) )) (compound_statement "{\n          pcVar3 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar3;\n        }" { (expression_statement "pcVar3 = (char *)dcgettext(0,"Standalone App",5);" (assignment_expression "pcVar3 = (char *)dcgettext(0,"Standalone App",5)" identifier = (cast_expression "(char *)dcgettext(0,"Standalone App",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"Standalone App",5)" identifier (argument_list "(0,"Standalone App",5)" ( number_literal , (string_literal ""Standalone App"" " string_content ") , number_literal ))))) ;) (return_statement "return pcVar3;" return identifier ;) }))) })))))) })) (expression_statement "pcVar3 = (char *)dcgettext(0,"<unknown: %x>",5);" (assignment_expression "pcVar3 = (char *)dcgettext(0,"<unknown: %x>",5)" identifier = (cast_expression "(char *)dcgettext(0,"<unknown: %x>",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"<unknown: %x>",5)" identifier (argument_list "(0,"<unknown: %x>",5)" ( number_literal , (string_literal ""<unknown: %x>"" " string_content ") , number_literal ))))) ;) (expression_statement "puVar2 = buff_16965;" (assignment_expression "puVar2 = buff_16965" identifier = identifier) ;) (expression_statement "snprintf(buff_16965,0x20,pcVar3,osabi);" (call_expression "snprintf(buff_16965,0x20,pcVar3,osabi)" identifier (argument_list "(buff_16965,0x20,pcVar3,osabi)" ( identifier , number_literal , identifier , identifier ))) ;) (break_statement "break;" break ;)) (case_statement "case 6:\n    puVar2 = "UNIX - Solaris";\n    break;" case number_literal : (expression_statement "puVar2 = "UNIX - Solaris";" (assignment_expression "puVar2 = "UNIX - Solaris"" identifier = (string_literal ""UNIX - Solaris"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 7:\n    puVar2 = "UNIX - AIX";\n    break;" case number_literal : (expression_statement "puVar2 = "UNIX - AIX";" (assignment_expression "puVar2 = "UNIX - AIX"" identifier = (string_literal ""UNIX - AIX"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 8:\n    puVar2 = "UNIX - IRIX";\n    break;" case number_literal : (expression_statement "puVar2 = "UNIX - IRIX";" (assignment_expression "puVar2 = "UNIX - IRIX"" identifier = (string_literal ""UNIX - IRIX"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 9:\n    puVar2 = "UNIX - FreeBSD";\n    break;" case number_literal : (expression_statement "puVar2 = "UNIX - FreeBSD";" (assignment_expression "puVar2 = "UNIX - FreeBSD"" identifier = (string_literal ""UNIX - FreeBSD"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 10:\n    puVar2 = "UNIX - TRU64";\n    break;" case number_literal : (expression_statement "puVar2 = "UNIX - TRU64";" (assignment_expression "puVar2 = "UNIX - TRU64"" identifier = (string_literal ""UNIX - TRU64"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 0xb:\n    puVar2 = "Novell - Modesto";\n    break;" case number_literal : (expression_statement "puVar2 = "Novell - Modesto";" (assignment_expression "puVar2 = "Novell - Modesto"" identifier = (string_literal ""Novell - Modesto"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 0xc:\n    puVar2 = "UNIX - OpenBSD";\n    break;" case number_literal : (expression_statement "puVar2 = "UNIX - OpenBSD";" (assignment_expression "puVar2 = "UNIX - OpenBSD"" identifier = (string_literal ""UNIX - OpenBSD"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 0xd:\n    puVar2 = "VMS - OpenVMS";\n    break;" case number_literal : (expression_statement "puVar2 = "VMS - OpenVMS";" (assignment_expression "puVar2 = "VMS - OpenVMS"" identifier = (string_literal ""VMS - OpenVMS"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 0xe:\n    puVar2 = "HP - Non-Stop Kernel";\n    break;" case number_literal : (expression_statement "puVar2 = "HP - Non-Stop Kernel";" (assignment_expression "puVar2 = "HP - Non-Stop Kernel"" identifier = (string_literal ""HP - Non-Stop Kernel"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 0xf:\n    puVar2 = "AROS";\n    break;" case number_literal : (expression_statement "puVar2 = "AROS";" (assignment_expression "puVar2 = "AROS"" identifier = (string_literal ""AROS"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 0x10:\n    puVar2 = "FenixOS";\n    break;" case number_literal : (expression_statement "puVar2 = "FenixOS";" (assignment_expression "puVar2 = "FenixOS"" identifier = (string_literal ""FenixOS"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 0x11:\n    puVar2 = "Nuxi CloudABI";\n    break;" case number_literal : (expression_statement "puVar2 = "Nuxi CloudABI";" (assignment_expression "puVar2 = "Nuxi CloudABI"" identifier = (string_literal ""Nuxi CloudABI"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 0x12:\n    puVar2 = "Stratus Technologies OpenVOS";" case number_literal : (expression_statement "puVar2 = "Stratus Technologies OpenVOS";" (assignment_expression "puVar2 = "Stratus Technologies OpenVOS"" identifier = (string_literal ""Stratus Technologies OpenVOS"" " string_content ")) ;)) })) (return_statement "return puVar2;" return identifier ;) })))
(translation_unit "char * __regparm3 FUN_000241c0(ushort *param_1,uint param_2)\n\n{\n  ushort uVar1;\n  char *__format;\n  char *pcVar2;\n  \n  switch(param_2) {\n  case 0:\n    pcVar2 = "UNIX - System V";\n    break;\n  case 1:\n    pcVar2 = "UNIX - HP-UX";\n    break;\n  case 2:\n    pcVar2 = "UNIX - NetBSD";\n    break;\n  case 3:\n    pcVar2 = "UNIX - GNU";\n    break;\n  default:\n    if (0x3f < param_2) {\n      uVar1 = *param_1;\n      if (uVar1 == 0x8c) {\n        if (param_2 == 0x40) {\n          pcVar2 = (char *)dcgettext(0,"Bare-metal C6000",5);\n          return pcVar2;\n        }\n        if (param_2 == 0x41) {\n          return "Linux C6000";\n        }\n      }\n      else if (uVar1 < 0x8d) {\n        if (uVar1 == 0x28) {\n          if (param_2 == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (param_2 == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;\n      }\n      else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (param_2 == 0xff) {\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }\n      }\n    }\n    __format = (char *)dcgettext(0,"<unknown: %x>",5);\n    pcVar2 = &DAT_000b5c00;\n    snprintf(&DAT_000b5c00,0x20,__format,param_2);\n    break;\n  case 6:\n    pcVar2 = "UNIX - Solaris";\n    break;\n  case 7:\n    pcVar2 = "UNIX - AIX";\n    break;\n  case 8:\n    pcVar2 = "UNIX - IRIX";\n    break;\n  case 9:\n    pcVar2 = "UNIX - FreeBSD";\n    break;\n  case 10:\n    pcVar2 = "UNIX - TRU64";\n    break;\n  case 0xb:\n    pcVar2 = "Novell - Modesto";\n    break;\n  case 0xc:\n    pcVar2 = "UNIX - OpenBSD";\n    break;\n  case 0xd:\n    pcVar2 = "VMS - OpenVMS";\n    break;\n  case 0xe:\n    pcVar2 = "HP - Non-Stop Kernel";\n    break;\n  case 0xf:\n    pcVar2 = "AROS";\n    break;\n  case 0x10:\n    pcVar2 = "FenixOS";\n    break;\n  case 0x11:\n    pcVar2 = "Nuxi CloudABI";\n    break;\n  case 0x12:\n    pcVar2 = "Stratus Technologies OpenVOS";\n  }\n  return pcVar2;\n}\n\n" (function_definition "char * __regparm3 FUN_000241c0(ushort *param_1,uint param_2)\n\n{\n  ushort uVar1;\n  char *__format;\n  char *pcVar2;\n  \n  switch(param_2) {\n  case 0:\n    pcVar2 = "UNIX - System V";\n    break;\n  case 1:\n    pcVar2 = "UNIX - HP-UX";\n    break;\n  case 2:\n    pcVar2 = "UNIX - NetBSD";\n    break;\n  case 3:\n    pcVar2 = "UNIX - GNU";\n    break;\n  default:\n    if (0x3f < param_2) {\n      uVar1 = *param_1;\n      if (uVar1 == 0x8c) {\n        if (param_2 == 0x40) {\n          pcVar2 = (char *)dcgettext(0,"Bare-metal C6000",5);\n          return pcVar2;\n        }\n        if (param_2 == 0x41) {\n          return "Linux C6000";\n        }\n      }\n      else if (uVar1 < 0x8d) {\n        if (uVar1 == 0x28) {\n          if (param_2 == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (param_2 == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;\n      }\n      else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (param_2 == 0xff) {\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }\n      }\n    }\n    __format = (char *)dcgettext(0,"<unknown: %x>",5);\n    pcVar2 = &DAT_000b5c00;\n    snprintf(&DAT_000b5c00,0x20,__format,param_2);\n    break;\n  case 6:\n    pcVar2 = "UNIX - Solaris";\n    break;\n  case 7:\n    pcVar2 = "UNIX - AIX";\n    break;\n  case 8:\n    pcVar2 = "UNIX - IRIX";\n    break;\n  case 9:\n    pcVar2 = "UNIX - FreeBSD";\n    break;\n  case 10:\n    pcVar2 = "UNIX - TRU64";\n    break;\n  case 0xb:\n    pcVar2 = "Novell - Modesto";\n    break;\n  case 0xc:\n    pcVar2 = "UNIX - OpenBSD";\n    break;\n  case 0xd:\n    pcVar2 = "VMS - OpenVMS";\n    break;\n  case 0xe:\n    pcVar2 = "HP - Non-Stop Kernel";\n    break;\n  case 0xf:\n    pcVar2 = "AROS";\n    break;\n  case 0x10:\n    pcVar2 = "FenixOS";\n    break;\n  case 0x11:\n    pcVar2 = "Nuxi CloudABI";\n    break;\n  case 0x12:\n    pcVar2 = "Stratus Technologies OpenVOS";\n  }\n  return pcVar2;\n}" primitive_type (pointer_declarator "* __regparm3 FUN_000241c0(ushort *param_1,uint param_2)" * (ERROR "__regparm3" identifier) (function_declarator "FUN_000241c0(ushort *param_1,uint param_2)" identifier (parameter_list "(ushort *param_1,uint param_2)" ( (parameter_declaration "ushort *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) )))) (compound_statement "{\n  ushort uVar1;\n  char *__format;\n  char *pcVar2;\n  \n  switch(param_2) {\n  case 0:\n    pcVar2 = "UNIX - System V";\n    break;\n  case 1:\n    pcVar2 = "UNIX - HP-UX";\n    break;\n  case 2:\n    pcVar2 = "UNIX - NetBSD";\n    break;\n  case 3:\n    pcVar2 = "UNIX - GNU";\n    break;\n  default:\n    if (0x3f < param_2) {\n      uVar1 = *param_1;\n      if (uVar1 == 0x8c) {\n        if (param_2 == 0x40) {\n          pcVar2 = (char *)dcgettext(0,"Bare-metal C6000",5);\n          return pcVar2;\n        }\n        if (param_2 == 0x41) {\n          return "Linux C6000";\n        }\n      }\n      else if (uVar1 < 0x8d) {\n        if (uVar1 == 0x28) {\n          if (param_2 == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (param_2 == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;\n      }\n      else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (param_2 == 0xff) {\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }\n      }\n    }\n    __format = (char *)dcgettext(0,"<unknown: %x>",5);\n    pcVar2 = &DAT_000b5c00;\n    snprintf(&DAT_000b5c00,0x20,__format,param_2);\n    break;\n  case 6:\n    pcVar2 = "UNIX - Solaris";\n    break;\n  case 7:\n    pcVar2 = "UNIX - AIX";\n    break;\n  case 8:\n    pcVar2 = "UNIX - IRIX";\n    break;\n  case 9:\n    pcVar2 = "UNIX - FreeBSD";\n    break;\n  case 10:\n    pcVar2 = "UNIX - TRU64";\n    break;\n  case 0xb:\n    pcVar2 = "Novell - Modesto";\n    break;\n  case 0xc:\n    pcVar2 = "UNIX - OpenBSD";\n    break;\n  case 0xd:\n    pcVar2 = "VMS - OpenVMS";\n    break;\n  case 0xe:\n    pcVar2 = "HP - Non-Stop Kernel";\n    break;\n  case 0xf:\n    pcVar2 = "AROS";\n    break;\n  case 0x10:\n    pcVar2 = "FenixOS";\n    break;\n  case 0x11:\n    pcVar2 = "Nuxi CloudABI";\n    break;\n  case 0x12:\n    pcVar2 = "Stratus Technologies OpenVOS";\n  }\n  return pcVar2;\n}" { (declaration "ushort uVar1;" type_identifier identifier ;) (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (switch_statement "switch(param_2) {\n  case 0:\n    pcVar2 = "UNIX - System V";\n    break;\n  case 1:\n    pcVar2 = "UNIX - HP-UX";\n    break;\n  case 2:\n    pcVar2 = "UNIX - NetBSD";\n    break;\n  case 3:\n    pcVar2 = "UNIX - GNU";\n    break;\n  default:\n    if (0x3f < param_2) {\n      uVar1 = *param_1;\n      if (uVar1 == 0x8c) {\n        if (param_2 == 0x40) {\n          pcVar2 = (char *)dcgettext(0,"Bare-metal C6000",5);\n          return pcVar2;\n        }\n        if (param_2 == 0x41) {\n          return "Linux C6000";\n        }\n      }\n      else if (uVar1 < 0x8d) {\n        if (uVar1 == 0x28) {\n          if (param_2 == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (param_2 == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;\n      }\n      else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (param_2 == 0xff) {\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }\n      }\n    }\n    __format = (char *)dcgettext(0,"<unknown: %x>",5);\n    pcVar2 = &DAT_000b5c00;\n    snprintf(&DAT_000b5c00,0x20,__format,param_2);\n    break;\n  case 6:\n    pcVar2 = "UNIX - Solaris";\n    break;\n  case 7:\n    pcVar2 = "UNIX - AIX";\n    break;\n  case 8:\n    pcVar2 = "UNIX - IRIX";\n    break;\n  case 9:\n    pcVar2 = "UNIX - FreeBSD";\n    break;\n  case 10:\n    pcVar2 = "UNIX - TRU64";\n    break;\n  case 0xb:\n    pcVar2 = "Novell - Modesto";\n    break;\n  case 0xc:\n    pcVar2 = "UNIX - OpenBSD";\n    break;\n  case 0xd:\n    pcVar2 = "VMS - OpenVMS";\n    break;\n  case 0xe:\n    pcVar2 = "HP - Non-Stop Kernel";\n    break;\n  case 0xf:\n    pcVar2 = "AROS";\n    break;\n  case 0x10:\n    pcVar2 = "FenixOS";\n    break;\n  case 0x11:\n    pcVar2 = "Nuxi CloudABI";\n    break;\n  case 0x12:\n    pcVar2 = "Stratus Technologies OpenVOS";\n  }" switch (parenthesized_expression "(param_2)" ( identifier )) (compound_statement "{\n  case 0:\n    pcVar2 = "UNIX - System V";\n    break;\n  case 1:\n    pcVar2 = "UNIX - HP-UX";\n    break;\n  case 2:\n    pcVar2 = "UNIX - NetBSD";\n    break;\n  case 3:\n    pcVar2 = "UNIX - GNU";\n    break;\n  default:\n    if (0x3f < param_2) {\n      uVar1 = *param_1;\n      if (uVar1 == 0x8c) {\n        if (param_2 == 0x40) {\n          pcVar2 = (char *)dcgettext(0,"Bare-metal C6000",5);\n          return pcVar2;\n        }\n        if (param_2 == 0x41) {\n          return "Linux C6000";\n        }\n      }\n      else if (uVar1 < 0x8d) {\n        if (uVar1 == 0x28) {\n          if (param_2 == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (param_2 == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;\n      }\n      else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (param_2 == 0xff) {\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }\n      }\n    }\n    __format = (char *)dcgettext(0,"<unknown: %x>",5);\n    pcVar2 = &DAT_000b5c00;\n    snprintf(&DAT_000b5c00,0x20,__format,param_2);\n    break;\n  case 6:\n    pcVar2 = "UNIX - Solaris";\n    break;\n  case 7:\n    pcVar2 = "UNIX - AIX";\n    break;\n  case 8:\n    pcVar2 = "UNIX - IRIX";\n    break;\n  case 9:\n    pcVar2 = "UNIX - FreeBSD";\n    break;\n  case 10:\n    pcVar2 = "UNIX - TRU64";\n    break;\n  case 0xb:\n    pcVar2 = "Novell - Modesto";\n    break;\n  case 0xc:\n    pcVar2 = "UNIX - OpenBSD";\n    break;\n  case 0xd:\n    pcVar2 = "VMS - OpenVMS";\n    break;\n  case 0xe:\n    pcVar2 = "HP - Non-Stop Kernel";\n    break;\n  case 0xf:\n    pcVar2 = "AROS";\n    break;\n  case 0x10:\n    pcVar2 = "FenixOS";\n    break;\n  case 0x11:\n    pcVar2 = "Nuxi CloudABI";\n    break;\n  case 0x12:\n    pcVar2 = "Stratus Technologies OpenVOS";\n  }" { (case_statement "case 0:\n    pcVar2 = "UNIX - System V";\n    break;" case number_literal : (expression_statement "pcVar2 = "UNIX - System V";" (assignment_expression "pcVar2 = "UNIX - System V"" identifier = (string_literal ""UNIX - System V"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 1:\n    pcVar2 = "UNIX - HP-UX";\n    break;" case number_literal : (expression_statement "pcVar2 = "UNIX - HP-UX";" (assignment_expression "pcVar2 = "UNIX - HP-UX"" identifier = (string_literal ""UNIX - HP-UX"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 2:\n    pcVar2 = "UNIX - NetBSD";\n    break;" case number_literal : (expression_statement "pcVar2 = "UNIX - NetBSD";" (assignment_expression "pcVar2 = "UNIX - NetBSD"" identifier = (string_literal ""UNIX - NetBSD"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 3:\n    pcVar2 = "UNIX - GNU";\n    break;" case number_literal : (expression_statement "pcVar2 = "UNIX - GNU";" (assignment_expression "pcVar2 = "UNIX - GNU"" identifier = (string_literal ""UNIX - GNU"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "default:\n    if (0x3f < param_2) {\n      uVar1 = *param_1;\n      if (uVar1 == 0x8c) {\n        if (param_2 == 0x40) {\n          pcVar2 = (char *)dcgettext(0,"Bare-metal C6000",5);\n          return pcVar2;\n        }\n        if (param_2 == 0x41) {\n          return "Linux C6000";\n        }\n      }\n      else if (uVar1 < 0x8d) {\n        if (uVar1 == 0x28) {\n          if (param_2 == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (param_2 == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;\n      }\n      else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (param_2 == 0xff) {\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }\n      }\n    }\n    __format = (char *)dcgettext(0,"<unknown: %x>",5);\n    pcVar2 = &DAT_000b5c00;\n    snprintf(&DAT_000b5c00,0x20,__format,param_2);\n    break;" default : (if_statement "if (0x3f < param_2) {\n      uVar1 = *param_1;\n      if (uVar1 == 0x8c) {\n        if (param_2 == 0x40) {\n          pcVar2 = (char *)dcgettext(0,"Bare-metal C6000",5);\n          return pcVar2;\n        }\n        if (param_2 == 0x41) {\n          return "Linux C6000";\n        }\n      }\n      else if (uVar1 < 0x8d) {\n        if (uVar1 == 0x28) {\n          if (param_2 == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (param_2 == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;\n      }\n      else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (param_2 == 0xff) {\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }\n      }\n    }" if (parenthesized_expression "(0x3f < param_2)" ( (binary_expression "0x3f < param_2" number_literal < identifier) )) (compound_statement "{\n      uVar1 = *param_1;\n      if (uVar1 == 0x8c) {\n        if (param_2 == 0x40) {\n          pcVar2 = (char *)dcgettext(0,"Bare-metal C6000",5);\n          return pcVar2;\n        }\n        if (param_2 == 0x41) {\n          return "Linux C6000";\n        }\n      }\n      else if (uVar1 < 0x8d) {\n        if (uVar1 == 0x28) {\n          if (param_2 == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (param_2 == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;\n      }\n      else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (param_2 == 0xff) {\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }\n      }\n    }" { (expression_statement "uVar1 = *param_1;" (assignment_expression "uVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (uVar1 == 0x8c) {\n        if (param_2 == 0x40) {\n          pcVar2 = (char *)dcgettext(0,"Bare-metal C6000",5);\n          return pcVar2;\n        }\n        if (param_2 == 0x41) {\n          return "Linux C6000";\n        }\n      }\n      else if (uVar1 < 0x8d) {\n        if (uVar1 == 0x28) {\n          if (param_2 == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (param_2 == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;\n      }\n      else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (param_2 == 0xff) {\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }\n      }" if (parenthesized_expression "(uVar1 == 0x8c)" ( (binary_expression "uVar1 == 0x8c" identifier == number_literal) )) (compound_statement "{\n        if (param_2 == 0x40) {\n          pcVar2 = (char *)dcgettext(0,"Bare-metal C6000",5);\n          return pcVar2;\n        }\n        if (param_2 == 0x41) {\n          return "Linux C6000";\n        }\n      }" { (if_statement "if (param_2 == 0x40) {\n          pcVar2 = (char *)dcgettext(0,"Bare-metal C6000",5);\n          return pcVar2;\n        }" if (parenthesized_expression "(param_2 == 0x40)" ( (binary_expression "param_2 == 0x40" identifier == number_literal) )) (compound_statement "{\n          pcVar2 = (char *)dcgettext(0,"Bare-metal C6000",5);\n          return pcVar2;\n        }" { (expression_statement "pcVar2 = (char *)dcgettext(0,"Bare-metal C6000",5);" (assignment_expression "pcVar2 = (char *)dcgettext(0,"Bare-metal C6000",5)" identifier = (cast_expression "(char *)dcgettext(0,"Bare-metal C6000",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"Bare-metal C6000",5)" identifier (argument_list "(0,"Bare-metal C6000",5)" ( number_literal , (string_literal ""Bare-metal C6000"" " string_content ") , number_literal ))))) ;) (return_statement "return pcVar2;" return identifier ;) })) (if_statement "if (param_2 == 0x41) {\n          return "Linux C6000";\n        }" if (parenthesized_expression "(param_2 == 0x41)" ( (binary_expression "param_2 == 0x41" identifier == number_literal) )) (compound_statement "{\n          return "Linux C6000";\n        }" { (return_statement "return "Linux C6000";" return (string_literal ""Linux C6000"" " string_content ") ;) })) }) (else_clause "else if (uVar1 < 0x8d) {\n        if (uVar1 == 0x28) {\n          if (param_2 == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (param_2 == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;\n      }\n      else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (param_2 == 0xff) {\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }\n      }" else (if_statement "if (uVar1 < 0x8d) {\n        if (uVar1 == 0x28) {\n          if (param_2 == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (param_2 == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;\n      }\n      else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (param_2 == 0xff) {\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }\n      }" if (parenthesized_expression "(uVar1 < 0x8d)" ( (binary_expression "uVar1 < 0x8d" identifier < number_literal) )) (compound_statement "{\n        if (uVar1 == 0x28) {\n          if (param_2 == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (param_2 == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;\n      }" { (if_statement "if (uVar1 == 0x28) {\n          if (param_2 == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (param_2 == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;" if (parenthesized_expression "(uVar1 == 0x28)" ( (binary_expression "uVar1 == 0x28" identifier == number_literal) )) (compound_statement "{\n          if (param_2 == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (param_2 == 0x61) {\n            return "ARM";\n          }\n        }" { (if_statement "if (param_2 == 0x41) {\n            return "ARM FDPIC";\n          }" if (parenthesized_expression "(param_2 == 0x41)" ( (binary_expression "param_2 == 0x41" identifier == number_literal) )) (compound_statement "{\n            return "ARM FDPIC";\n          }" { (return_statement "return "ARM FDPIC";" return (string_literal ""ARM FDPIC"" " string_content ") ;) })) (if_statement "if (param_2 == 0x61) {\n            return "ARM";\n          }" if (parenthesized_expression "(param_2 == 0x61)" ( (binary_expression "param_2 == 0x61" identifier == number_literal) )) (compound_statement "{\n            return "ARM";\n          }" { (return_statement "return "ARM";" return (string_literal ""ARM"" " string_content ") ;) })) }) (else_clause "else if (uVar1 == 0x69) goto LAB_00024366;" else (if_statement "if (uVar1 == 0x69) goto LAB_00024366;" if (parenthesized_expression "(uVar1 == 0x69)" ( (binary_expression "uVar1 == 0x69" identifier == number_literal) )) (goto_statement "goto LAB_00024366;" goto statement_identifier ;)))) }) (else_clause "else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (param_2 == 0xff) {\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }\n      }" else (if_statement "if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (param_2 == 0xff) {\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }\n      }" if (parenthesized_expression "((uVar1 == 0xdd) || (uVar1 == 0x1059))" ( (binary_expression "(uVar1 == 0xdd) || (uVar1 == 0x1059)" (parenthesized_expression "(uVar1 == 0xdd)" ( (binary_expression "uVar1 == 0xdd" identifier == number_literal) )) || (parenthesized_expression "(uVar1 == 0x1059)" ( (binary_expression "uVar1 == 0x1059" identifier == number_literal) ))) )) (compound_statement "{\nLAB_00024366:\n        if (param_2 == 0xff) {\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }\n      }" { (labeled_statement "LAB_00024366:\n        if (param_2 == 0xff) {\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }" statement_identifier : (if_statement "if (param_2 == 0xff) {\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }" if (parenthesized_expression "(param_2 == 0xff)" ( (binary_expression "param_2 == 0xff" identifier == number_literal) )) (compound_statement "{\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }" { (expression_statement "pcVar2 = (char *)dcgettext(0,"Standalone App",5);" (assignment_expression "pcVar2 = (char *)dcgettext(0,"Standalone App",5)" identifier = (cast_expression "(char *)dcgettext(0,"Standalone App",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"Standalone App",5)" identifier (argument_list "(0,"Standalone App",5)" ( number_literal , (string_literal ""Standalone App"" " string_content ") , number_literal ))))) ;) (return_statement "return pcVar2;" return identifier ;) }))) })))))) })) (expression_statement "__format = (char *)dcgettext(0,"<unknown: %x>",5);" (assignment_expression "__format = (char *)dcgettext(0,"<unknown: %x>",5)" identifier = (cast_expression "(char *)dcgettext(0,"<unknown: %x>",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"<unknown: %x>",5)" identifier (argument_list "(0,"<unknown: %x>",5)" ( number_literal , (string_literal ""<unknown: %x>"" " string_content ") , number_literal ))))) ;) (expression_statement "pcVar2 = &DAT_000b5c00;" (assignment_expression "pcVar2 = &DAT_000b5c00" identifier = (pointer_expression "&DAT_000b5c00" & identifier)) ;) (expression_statement "snprintf(&DAT_000b5c00,0x20,__format,param_2);" (call_expression "snprintf(&DAT_000b5c00,0x20,__format,param_2)" identifier (argument_list "(&DAT_000b5c00,0x20,__format,param_2)" ( (pointer_expression "&DAT_000b5c00" & identifier) , number_literal , identifier , identifier ))) ;) (break_statement "break;" break ;)) (case_statement "case 6:\n    pcVar2 = "UNIX - Solaris";\n    break;" case number_literal : (expression_statement "pcVar2 = "UNIX - Solaris";" (assignment_expression "pcVar2 = "UNIX - Solaris"" identifier = (string_literal ""UNIX - Solaris"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 7:\n    pcVar2 = "UNIX - AIX";\n    break;" case number_literal : (expression_statement "pcVar2 = "UNIX - AIX";" (assignment_expression "pcVar2 = "UNIX - AIX"" identifier = (string_literal ""UNIX - AIX"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 8:\n    pcVar2 = "UNIX - IRIX";\n    break;" case number_literal : (expression_statement "pcVar2 = "UNIX - IRIX";" (assignment_expression "pcVar2 = "UNIX - IRIX"" identifier = (string_literal ""UNIX - IRIX"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 9:\n    pcVar2 = "UNIX - FreeBSD";\n    break;" case number_literal : (expression_statement "pcVar2 = "UNIX - FreeBSD";" (assignment_expression "pcVar2 = "UNIX - FreeBSD"" identifier = (string_literal ""UNIX - FreeBSD"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 10:\n    pcVar2 = "UNIX - TRU64";\n    break;" case number_literal : (expression_statement "pcVar2 = "UNIX - TRU64";" (assignment_expression "pcVar2 = "UNIX - TRU64"" identifier = (string_literal ""UNIX - TRU64"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 0xb:\n    pcVar2 = "Novell - Modesto";\n    break;" case number_literal : (expression_statement "pcVar2 = "Novell - Modesto";" (assignment_expression "pcVar2 = "Novell - Modesto"" identifier = (string_literal ""Novell - Modesto"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 0xc:\n    pcVar2 = "UNIX - OpenBSD";\n    break;" case number_literal : (expression_statement "pcVar2 = "UNIX - OpenBSD";" (assignment_expression "pcVar2 = "UNIX - OpenBSD"" identifier = (string_literal ""UNIX - OpenBSD"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 0xd:\n    pcVar2 = "VMS - OpenVMS";\n    break;" case number_literal : (expression_statement "pcVar2 = "VMS - OpenVMS";" (assignment_expression "pcVar2 = "VMS - OpenVMS"" identifier = (string_literal ""VMS - OpenVMS"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 0xe:\n    pcVar2 = "HP - Non-Stop Kernel";\n    break;" case number_literal : (expression_statement "pcVar2 = "HP - Non-Stop Kernel";" (assignment_expression "pcVar2 = "HP - Non-Stop Kernel"" identifier = (string_literal ""HP - Non-Stop Kernel"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 0xf:\n    pcVar2 = "AROS";\n    break;" case number_literal : (expression_statement "pcVar2 = "AROS";" (assignment_expression "pcVar2 = "AROS"" identifier = (string_literal ""AROS"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 0x10:\n    pcVar2 = "FenixOS";\n    break;" case number_literal : (expression_statement "pcVar2 = "FenixOS";" (assignment_expression "pcVar2 = "FenixOS"" identifier = (string_literal ""FenixOS"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 0x11:\n    pcVar2 = "Nuxi CloudABI";\n    break;" case number_literal : (expression_statement "pcVar2 = "Nuxi CloudABI";" (assignment_expression "pcVar2 = "Nuxi CloudABI"" identifier = (string_literal ""Nuxi CloudABI"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 0x12:\n    pcVar2 = "Stratus Technologies OpenVOS";" case number_literal : (expression_statement "pcVar2 = "Stratus Technologies OpenVOS";" (assignment_expression "pcVar2 = "Stratus Technologies OpenVOS"" identifier = (string_literal ""Stratus Technologies OpenVOS"" " string_content ")) ;)) })) (return_statement "return pcVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (switch_statement switch (parenthesized_expression ( IDENT )) (compound_statement { (case_statement case LIT : (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (break_statement break ;)) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (break_statement break ;)) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (break_statement break ;)) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (break_statement break ;)) (case_statement default : (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT ))))) ;) (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return (string_literal " string_content ") ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return (string_literal " string_content ") ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return (string_literal " string_content ") ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)))) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT ))))) ;) (return_statement return IDENT ;) }))) })))))) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , LIT , IDENT , IDENT ))) ;) (break_statement break ;)) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (break_statement break ;)) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (break_statement break ;)) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (break_statement break ;)) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (break_statement break ;)) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (break_statement break ;)) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (break_statement break ;)) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (break_statement break ;)) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (break_statement break ;)) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (break_statement break ;)) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (break_statement break ;)) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (break_statement break ;)) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (break_statement break ;)) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;)) })) (return_statement return IDENT ;) })))
(function_definition "char * __regparm3 FUN_000241c0(ushort *param_1,uint param_2)\n\n{\n  ushort uVar1;\n  char *__format;\n  char *pcVar2;\n  \n  switch(param_2) {\n  case 0:\n    pcVar2 = "UNIX - System V";\n    break;\n  case 1:\n    pcVar2 = "UNIX - HP-UX";\n    break;\n  case 2:\n    pcVar2 = "UNIX - NetBSD";\n    break;\n  case 3:\n    pcVar2 = "UNIX - GNU";\n    break;\n  default:\n    if (0x3f < param_2) {\n      uVar1 = *param_1;\n      if (uVar1 == 0x8c) {\n        if (param_2 == 0x40) {\n          pcVar2 = (char *)dcgettext(0,"Bare-metal C6000",5);\n          return pcVar2;\n        }\n        if (param_2 == 0x41) {\n          return "Linux C6000";\n        }\n      }\n      else if (uVar1 < 0x8d) {\n        if (uVar1 == 0x28) {\n          if (param_2 == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (param_2 == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;\n      }\n      else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (param_2 == 0xff) {\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }\n      }\n    }\n    __format = (char *)dcgettext(0,"<unknown: %x>",5);\n    pcVar2 = &DAT_000b5c00;\n    snprintf(&DAT_000b5c00,0x20,__format,param_2);\n    break;\n  case 6:\n    pcVar2 = "UNIX - Solaris";\n    break;\n  case 7:\n    pcVar2 = "UNIX - AIX";\n    break;\n  case 8:\n    pcVar2 = "UNIX - IRIX";\n    break;\n  case 9:\n    pcVar2 = "UNIX - FreeBSD";\n    break;\n  case 10:\n    pcVar2 = "UNIX - TRU64";\n    break;\n  case 0xb:\n    pcVar2 = "Novell - Modesto";\n    break;\n  case 0xc:\n    pcVar2 = "UNIX - OpenBSD";\n    break;\n  case 0xd:\n    pcVar2 = "VMS - OpenVMS";\n    break;\n  case 0xe:\n    pcVar2 = "HP - Non-Stop Kernel";\n    break;\n  case 0xf:\n    pcVar2 = "AROS";\n    break;\n  case 0x10:\n    pcVar2 = "FenixOS";\n    break;\n  case 0x11:\n    pcVar2 = "Nuxi CloudABI";\n    break;\n  case 0x12:\n    pcVar2 = "Stratus Technologies OpenVOS";\n  }\n  return pcVar2;\n}" (primitive_type "char") (pointer_declarator "* __regparm3 FUN_000241c0(ushort *param_1,uint param_2)" (* "*") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_000241c0(ushort *param_1,uint param_2)" (identifier "FUN_000241c0") (parameter_list "(ushort *param_1,uint param_2)" (( "(") (parameter_declaration "ushort *param_1" (type_identifier "ushort") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")")))) (compound_statement "{\n  ushort uVar1;\n  char *__format;\n  char *pcVar2;\n  \n  switch(param_2) {\n  case 0:\n    pcVar2 = "UNIX - System V";\n    break;\n  case 1:\n    pcVar2 = "UNIX - HP-UX";\n    break;\n  case 2:\n    pcVar2 = "UNIX - NetBSD";\n    break;\n  case 3:\n    pcVar2 = "UNIX - GNU";\n    break;\n  default:\n    if (0x3f < param_2) {\n      uVar1 = *param_1;\n      if (uVar1 == 0x8c) {\n        if (param_2 == 0x40) {\n          pcVar2 = (char *)dcgettext(0,"Bare-metal C6000",5);\n          return pcVar2;\n        }\n        if (param_2 == 0x41) {\n          return "Linux C6000";\n        }\n      }\n      else if (uVar1 < 0x8d) {\n        if (uVar1 == 0x28) {\n          if (param_2 == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (param_2 == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;\n      }\n      else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (param_2 == 0xff) {\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }\n      }\n    }\n    __format = (char *)dcgettext(0,"<unknown: %x>",5);\n    pcVar2 = &DAT_000b5c00;\n    snprintf(&DAT_000b5c00,0x20,__format,param_2);\n    break;\n  case 6:\n    pcVar2 = "UNIX - Solaris";\n    break;\n  case 7:\n    pcVar2 = "UNIX - AIX";\n    break;\n  case 8:\n    pcVar2 = "UNIX - IRIX";\n    break;\n  case 9:\n    pcVar2 = "UNIX - FreeBSD";\n    break;\n  case 10:\n    pcVar2 = "UNIX - TRU64";\n    break;\n  case 0xb:\n    pcVar2 = "Novell - Modesto";\n    break;\n  case 0xc:\n    pcVar2 = "UNIX - OpenBSD";\n    break;\n  case 0xd:\n    pcVar2 = "VMS - OpenVMS";\n    break;\n  case 0xe:\n    pcVar2 = "HP - Non-Stop Kernel";\n    break;\n  case 0xf:\n    pcVar2 = "AROS";\n    break;\n  case 0x10:\n    pcVar2 = "FenixOS";\n    break;\n  case 0x11:\n    pcVar2 = "Nuxi CloudABI";\n    break;\n  case 0x12:\n    pcVar2 = "Stratus Technologies OpenVOS";\n  }\n  return pcVar2;\n}" ({ "{") (declaration "ushort uVar1;" (type_identifier "ushort") (identifier "uVar1") (; ";")) (declaration "char *__format;" (primitive_type "char") (pointer_declarator "*__format" (* "*") (identifier "__format")) (; ";")) (declaration "char *pcVar2;" (primitive_type "char") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (switch_statement "switch(param_2) {\n  case 0:\n    pcVar2 = "UNIX - System V";\n    break;\n  case 1:\n    pcVar2 = "UNIX - HP-UX";\n    break;\n  case 2:\n    pcVar2 = "UNIX - NetBSD";\n    break;\n  case 3:\n    pcVar2 = "UNIX - GNU";\n    break;\n  default:\n    if (0x3f < param_2) {\n      uVar1 = *param_1;\n      if (uVar1 == 0x8c) {\n        if (param_2 == 0x40) {\n          pcVar2 = (char *)dcgettext(0,"Bare-metal C6000",5);\n          return pcVar2;\n        }\n        if (param_2 == 0x41) {\n          return "Linux C6000";\n        }\n      }\n      else if (uVar1 < 0x8d) {\n        if (uVar1 == 0x28) {\n          if (param_2 == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (param_2 == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;\n      }\n      else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (param_2 == 0xff) {\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }\n      }\n    }\n    __format = (char *)dcgettext(0,"<unknown: %x>",5);\n    pcVar2 = &DAT_000b5c00;\n    snprintf(&DAT_000b5c00,0x20,__format,param_2);\n    break;\n  case 6:\n    pcVar2 = "UNIX - Solaris";\n    break;\n  case 7:\n    pcVar2 = "UNIX - AIX";\n    break;\n  case 8:\n    pcVar2 = "UNIX - IRIX";\n    break;\n  case 9:\n    pcVar2 = "UNIX - FreeBSD";\n    break;\n  case 10:\n    pcVar2 = "UNIX - TRU64";\n    break;\n  case 0xb:\n    pcVar2 = "Novell - Modesto";\n    break;\n  case 0xc:\n    pcVar2 = "UNIX - OpenBSD";\n    break;\n  case 0xd:\n    pcVar2 = "VMS - OpenVMS";\n    break;\n  case 0xe:\n    pcVar2 = "HP - Non-Stop Kernel";\n    break;\n  case 0xf:\n    pcVar2 = "AROS";\n    break;\n  case 0x10:\n    pcVar2 = "FenixOS";\n    break;\n  case 0x11:\n    pcVar2 = "Nuxi CloudABI";\n    break;\n  case 0x12:\n    pcVar2 = "Stratus Technologies OpenVOS";\n  }" (switch "switch") (parenthesized_expression "(param_2)" (( "(") (identifier "param_2") () ")")) (compound_statement "{\n  case 0:\n    pcVar2 = "UNIX - System V";\n    break;\n  case 1:\n    pcVar2 = "UNIX - HP-UX";\n    break;\n  case 2:\n    pcVar2 = "UNIX - NetBSD";\n    break;\n  case 3:\n    pcVar2 = "UNIX - GNU";\n    break;\n  default:\n    if (0x3f < param_2) {\n      uVar1 = *param_1;\n      if (uVar1 == 0x8c) {\n        if (param_2 == 0x40) {\n          pcVar2 = (char *)dcgettext(0,"Bare-metal C6000",5);\n          return pcVar2;\n        }\n        if (param_2 == 0x41) {\n          return "Linux C6000";\n        }\n      }\n      else if (uVar1 < 0x8d) {\n        if (uVar1 == 0x28) {\n          if (param_2 == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (param_2 == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;\n      }\n      else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (param_2 == 0xff) {\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }\n      }\n    }\n    __format = (char *)dcgettext(0,"<unknown: %x>",5);\n    pcVar2 = &DAT_000b5c00;\n    snprintf(&DAT_000b5c00,0x20,__format,param_2);\n    break;\n  case 6:\n    pcVar2 = "UNIX - Solaris";\n    break;\n  case 7:\n    pcVar2 = "UNIX - AIX";\n    break;\n  case 8:\n    pcVar2 = "UNIX - IRIX";\n    break;\n  case 9:\n    pcVar2 = "UNIX - FreeBSD";\n    break;\n  case 10:\n    pcVar2 = "UNIX - TRU64";\n    break;\n  case 0xb:\n    pcVar2 = "Novell - Modesto";\n    break;\n  case 0xc:\n    pcVar2 = "UNIX - OpenBSD";\n    break;\n  case 0xd:\n    pcVar2 = "VMS - OpenVMS";\n    break;\n  case 0xe:\n    pcVar2 = "HP - Non-Stop Kernel";\n    break;\n  case 0xf:\n    pcVar2 = "AROS";\n    break;\n  case 0x10:\n    pcVar2 = "FenixOS";\n    break;\n  case 0x11:\n    pcVar2 = "Nuxi CloudABI";\n    break;\n  case 0x12:\n    pcVar2 = "Stratus Technologies OpenVOS";\n  }" ({ "{") (case_statement "case 0:\n    pcVar2 = "UNIX - System V";\n    break;" (case "case") (number_literal "0") (: ":") (expression_statement "pcVar2 = "UNIX - System V";" (assignment_expression "pcVar2 = "UNIX - System V"" (identifier "pcVar2") (= "=") (string_literal ""UNIX - System V"" (" """) (string_content "UNIX - System V") (" """))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 1:\n    pcVar2 = "UNIX - HP-UX";\n    break;" (case "case") (number_literal "1") (: ":") (expression_statement "pcVar2 = "UNIX - HP-UX";" (assignment_expression "pcVar2 = "UNIX - HP-UX"" (identifier "pcVar2") (= "=") (string_literal ""UNIX - HP-UX"" (" """) (string_content "UNIX - HP-UX") (" """))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 2:\n    pcVar2 = "UNIX - NetBSD";\n    break;" (case "case") (number_literal "2") (: ":") (expression_statement "pcVar2 = "UNIX - NetBSD";" (assignment_expression "pcVar2 = "UNIX - NetBSD"" (identifier "pcVar2") (= "=") (string_literal ""UNIX - NetBSD"" (" """) (string_content "UNIX - NetBSD") (" """))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 3:\n    pcVar2 = "UNIX - GNU";\n    break;" (case "case") (number_literal "3") (: ":") (expression_statement "pcVar2 = "UNIX - GNU";" (assignment_expression "pcVar2 = "UNIX - GNU"" (identifier "pcVar2") (= "=") (string_literal ""UNIX - GNU"" (" """) (string_content "UNIX - GNU") (" """))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "default:\n    if (0x3f < param_2) {\n      uVar1 = *param_1;\n      if (uVar1 == 0x8c) {\n        if (param_2 == 0x40) {\n          pcVar2 = (char *)dcgettext(0,"Bare-metal C6000",5);\n          return pcVar2;\n        }\n        if (param_2 == 0x41) {\n          return "Linux C6000";\n        }\n      }\n      else if (uVar1 < 0x8d) {\n        if (uVar1 == 0x28) {\n          if (param_2 == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (param_2 == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;\n      }\n      else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (param_2 == 0xff) {\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }\n      }\n    }\n    __format = (char *)dcgettext(0,"<unknown: %x>",5);\n    pcVar2 = &DAT_000b5c00;\n    snprintf(&DAT_000b5c00,0x20,__format,param_2);\n    break;" (default "default") (: ":") (if_statement "if (0x3f < param_2) {\n      uVar1 = *param_1;\n      if (uVar1 == 0x8c) {\n        if (param_2 == 0x40) {\n          pcVar2 = (char *)dcgettext(0,"Bare-metal C6000",5);\n          return pcVar2;\n        }\n        if (param_2 == 0x41) {\n          return "Linux C6000";\n        }\n      }\n      else if (uVar1 < 0x8d) {\n        if (uVar1 == 0x28) {\n          if (param_2 == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (param_2 == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;\n      }\n      else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (param_2 == 0xff) {\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }\n      }\n    }" (if "if") (parenthesized_expression "(0x3f < param_2)" (( "(") (binary_expression "0x3f < param_2" (number_literal "0x3f") (< "<") (identifier "param_2")) () ")")) (compound_statement "{\n      uVar1 = *param_1;\n      if (uVar1 == 0x8c) {\n        if (param_2 == 0x40) {\n          pcVar2 = (char *)dcgettext(0,"Bare-metal C6000",5);\n          return pcVar2;\n        }\n        if (param_2 == 0x41) {\n          return "Linux C6000";\n        }\n      }\n      else if (uVar1 < 0x8d) {\n        if (uVar1 == 0x28) {\n          if (param_2 == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (param_2 == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;\n      }\n      else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (param_2 == 0xff) {\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }\n      }\n    }" ({ "{") (expression_statement "uVar1 = *param_1;" (assignment_expression "uVar1 = *param_1" (identifier "uVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (uVar1 == 0x8c) {\n        if (param_2 == 0x40) {\n          pcVar2 = (char *)dcgettext(0,"Bare-metal C6000",5);\n          return pcVar2;\n        }\n        if (param_2 == 0x41) {\n          return "Linux C6000";\n        }\n      }\n      else if (uVar1 < 0x8d) {\n        if (uVar1 == 0x28) {\n          if (param_2 == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (param_2 == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;\n      }\n      else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (param_2 == 0xff) {\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }\n      }" (if "if") (parenthesized_expression "(uVar1 == 0x8c)" (( "(") (binary_expression "uVar1 == 0x8c" (identifier "uVar1") (== "==") (number_literal "0x8c")) () ")")) (compound_statement "{\n        if (param_2 == 0x40) {\n          pcVar2 = (char *)dcgettext(0,"Bare-metal C6000",5);\n          return pcVar2;\n        }\n        if (param_2 == 0x41) {\n          return "Linux C6000";\n        }\n      }" ({ "{") (if_statement "if (param_2 == 0x40) {\n          pcVar2 = (char *)dcgettext(0,"Bare-metal C6000",5);\n          return pcVar2;\n        }" (if "if") (parenthesized_expression "(param_2 == 0x40)" (( "(") (binary_expression "param_2 == 0x40" (identifier "param_2") (== "==") (number_literal "0x40")) () ")")) (compound_statement "{\n          pcVar2 = (char *)dcgettext(0,"Bare-metal C6000",5);\n          return pcVar2;\n        }" ({ "{") (expression_statement "pcVar2 = (char *)dcgettext(0,"Bare-metal C6000",5);" (assignment_expression "pcVar2 = (char *)dcgettext(0,"Bare-metal C6000",5)" (identifier "pcVar2") (= "=") (cast_expression "(char *)dcgettext(0,"Bare-metal C6000",5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext(0,"Bare-metal C6000",5)" (identifier "dcgettext") (argument_list "(0,"Bare-metal C6000",5)" (( "(") (number_literal "0") (, ",") (string_literal ""Bare-metal C6000"" (" """) (string_content "Bare-metal C6000") (" """)) (, ",") (number_literal "5") () ")"))))) (; ";")) (return_statement "return pcVar2;" (return "return") (identifier "pcVar2") (; ";")) (} "}"))) (if_statement "if (param_2 == 0x41) {\n          return "Linux C6000";\n        }" (if "if") (parenthesized_expression "(param_2 == 0x41)" (( "(") (binary_expression "param_2 == 0x41" (identifier "param_2") (== "==") (number_literal "0x41")) () ")")) (compound_statement "{\n          return "Linux C6000";\n        }" ({ "{") (return_statement "return "Linux C6000";" (return "return") (string_literal ""Linux C6000"" (" """) (string_content "Linux C6000") (" """)) (; ";")) (} "}"))) (} "}")) (else_clause "else if (uVar1 < 0x8d) {\n        if (uVar1 == 0x28) {\n          if (param_2 == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (param_2 == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;\n      }\n      else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (param_2 == 0xff) {\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }\n      }" (else "else") (if_statement "if (uVar1 < 0x8d) {\n        if (uVar1 == 0x28) {\n          if (param_2 == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (param_2 == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;\n      }\n      else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (param_2 == 0xff) {\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }\n      }" (if "if") (parenthesized_expression "(uVar1 < 0x8d)" (( "(") (binary_expression "uVar1 < 0x8d" (identifier "uVar1") (< "<") (number_literal "0x8d")) () ")")) (compound_statement "{\n        if (uVar1 == 0x28) {\n          if (param_2 == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (param_2 == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;\n      }" ({ "{") (if_statement "if (uVar1 == 0x28) {\n          if (param_2 == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (param_2 == 0x61) {\n            return "ARM";\n          }\n        }\n        else if (uVar1 == 0x69) goto LAB_00024366;" (if "if") (parenthesized_expression "(uVar1 == 0x28)" (( "(") (binary_expression "uVar1 == 0x28" (identifier "uVar1") (== "==") (number_literal "0x28")) () ")")) (compound_statement "{\n          if (param_2 == 0x41) {\n            return "ARM FDPIC";\n          }\n          if (param_2 == 0x61) {\n            return "ARM";\n          }\n        }" ({ "{") (if_statement "if (param_2 == 0x41) {\n            return "ARM FDPIC";\n          }" (if "if") (parenthesized_expression "(param_2 == 0x41)" (( "(") (binary_expression "param_2 == 0x41" (identifier "param_2") (== "==") (number_literal "0x41")) () ")")) (compound_statement "{\n            return "ARM FDPIC";\n          }" ({ "{") (return_statement "return "ARM FDPIC";" (return "return") (string_literal ""ARM FDPIC"" (" """) (string_content "ARM FDPIC") (" """)) (; ";")) (} "}"))) (if_statement "if (param_2 == 0x61) {\n            return "ARM";\n          }" (if "if") (parenthesized_expression "(param_2 == 0x61)" (( "(") (binary_expression "param_2 == 0x61" (identifier "param_2") (== "==") (number_literal "0x61")) () ")")) (compound_statement "{\n            return "ARM";\n          }" ({ "{") (return_statement "return "ARM";" (return "return") (string_literal ""ARM"" (" """) (string_content "ARM") (" """)) (; ";")) (} "}"))) (} "}")) (else_clause "else if (uVar1 == 0x69) goto LAB_00024366;" (else "else") (if_statement "if (uVar1 == 0x69) goto LAB_00024366;" (if "if") (parenthesized_expression "(uVar1 == 0x69)" (( "(") (binary_expression "uVar1 == 0x69" (identifier "uVar1") (== "==") (number_literal "0x69")) () ")")) (goto_statement "goto LAB_00024366;" (goto "goto") (statement_identifier "LAB_00024366") (; ";"))))) (} "}")) (else_clause "else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (param_2 == 0xff) {\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }\n      }" (else "else") (if_statement "if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {\nLAB_00024366:\n        if (param_2 == 0xff) {\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }\n      }" (if "if") (parenthesized_expression "((uVar1 == 0xdd) || (uVar1 == 0x1059))" (( "(") (binary_expression "(uVar1 == 0xdd) || (uVar1 == 0x1059)" (parenthesized_expression "(uVar1 == 0xdd)" (( "(") (binary_expression "uVar1 == 0xdd" (identifier "uVar1") (== "==") (number_literal "0xdd")) () ")")) (|| "||") (parenthesized_expression "(uVar1 == 0x1059)" (( "(") (binary_expression "uVar1 == 0x1059" (identifier "uVar1") (== "==") (number_literal "0x1059")) () ")"))) () ")")) (compound_statement "{\nLAB_00024366:\n        if (param_2 == 0xff) {\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }\n      }" ({ "{") (labeled_statement "LAB_00024366:\n        if (param_2 == 0xff) {\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }" (statement_identifier "LAB_00024366") (: ":") (if_statement "if (param_2 == 0xff) {\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }" (if "if") (parenthesized_expression "(param_2 == 0xff)" (( "(") (binary_expression "param_2 == 0xff" (identifier "param_2") (== "==") (number_literal "0xff")) () ")")) (compound_statement "{\n          pcVar2 = (char *)dcgettext(0,"Standalone App",5);\n          return pcVar2;\n        }" ({ "{") (expression_statement "pcVar2 = (char *)dcgettext(0,"Standalone App",5);" (assignment_expression "pcVar2 = (char *)dcgettext(0,"Standalone App",5)" (identifier "pcVar2") (= "=") (cast_expression "(char *)dcgettext(0,"Standalone App",5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext(0,"Standalone App",5)" (identifier "dcgettext") (argument_list "(0,"Standalone App",5)" (( "(") (number_literal "0") (, ",") (string_literal ""Standalone App"" (" """) (string_content "Standalone App") (" """)) (, ",") (number_literal "5") () ")"))))) (; ";")) (return_statement "return pcVar2;" (return "return") (identifier "pcVar2") (; ";")) (} "}")))) (} "}"))))))) (} "}"))) (expression_statement "__format = (char *)dcgettext(0,"<unknown: %x>",5);" (assignment_expression "__format = (char *)dcgettext(0,"<unknown: %x>",5)" (identifier "__format") (= "=") (cast_expression "(char *)dcgettext(0,"<unknown: %x>",5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext(0,"<unknown: %x>",5)" (identifier "dcgettext") (argument_list "(0,"<unknown: %x>",5)" (( "(") (number_literal "0") (, ",") (string_literal ""<unknown: %x>"" (" """) (string_content "<unknown: %x>") (" """)) (, ",") (number_literal "5") () ")"))))) (; ";")) (expression_statement "pcVar2 = &DAT_000b5c00;" (assignment_expression "pcVar2 = &DAT_000b5c00" (identifier "pcVar2") (= "=") (pointer_expression "&DAT_000b5c00" (& "&") (identifier "DAT_000b5c00"))) (; ";")) (expression_statement "snprintf(&DAT_000b5c00,0x20,__format,param_2);" (call_expression "snprintf(&DAT_000b5c00,0x20,__format,param_2)" (identifier "snprintf") (argument_list "(&DAT_000b5c00,0x20,__format,param_2)" (( "(") (pointer_expression "&DAT_000b5c00" (& "&") (identifier "DAT_000b5c00")) (, ",") (number_literal "0x20") (, ",") (identifier "__format") (, ",") (identifier "param_2") () ")"))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 6:\n    pcVar2 = "UNIX - Solaris";\n    break;" (case "case") (number_literal "6") (: ":") (expression_statement "pcVar2 = "UNIX - Solaris";" (assignment_expression "pcVar2 = "UNIX - Solaris"" (identifier "pcVar2") (= "=") (string_literal ""UNIX - Solaris"" (" """) (string_content "UNIX - Solaris") (" """))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 7:\n    pcVar2 = "UNIX - AIX";\n    break;" (case "case") (number_literal "7") (: ":") (expression_statement "pcVar2 = "UNIX - AIX";" (assignment_expression "pcVar2 = "UNIX - AIX"" (identifier "pcVar2") (= "=") (string_literal ""UNIX - AIX"" (" """) (string_content "UNIX - AIX") (" """))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 8:\n    pcVar2 = "UNIX - IRIX";\n    break;" (case "case") (number_literal "8") (: ":") (expression_statement "pcVar2 = "UNIX - IRIX";" (assignment_expression "pcVar2 = "UNIX - IRIX"" (identifier "pcVar2") (= "=") (string_literal ""UNIX - IRIX"" (" """) (string_content "UNIX - IRIX") (" """))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 9:\n    pcVar2 = "UNIX - FreeBSD";\n    break;" (case "case") (number_literal "9") (: ":") (expression_statement "pcVar2 = "UNIX - FreeBSD";" (assignment_expression "pcVar2 = "UNIX - FreeBSD"" (identifier "pcVar2") (= "=") (string_literal ""UNIX - FreeBSD"" (" """) (string_content "UNIX - FreeBSD") (" """))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 10:\n    pcVar2 = "UNIX - TRU64";\n    break;" (case "case") (number_literal "10") (: ":") (expression_statement "pcVar2 = "UNIX - TRU64";" (assignment_expression "pcVar2 = "UNIX - TRU64"" (identifier "pcVar2") (= "=") (string_literal ""UNIX - TRU64"" (" """) (string_content "UNIX - TRU64") (" """))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 0xb:\n    pcVar2 = "Novell - Modesto";\n    break;" (case "case") (number_literal "0xb") (: ":") (expression_statement "pcVar2 = "Novell - Modesto";" (assignment_expression "pcVar2 = "Novell - Modesto"" (identifier "pcVar2") (= "=") (string_literal ""Novell - Modesto"" (" """) (string_content "Novell - Modesto") (" """))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 0xc:\n    pcVar2 = "UNIX - OpenBSD";\n    break;" (case "case") (number_literal "0xc") (: ":") (expression_statement "pcVar2 = "UNIX - OpenBSD";" (assignment_expression "pcVar2 = "UNIX - OpenBSD"" (identifier "pcVar2") (= "=") (string_literal ""UNIX - OpenBSD"" (" """) (string_content "UNIX - OpenBSD") (" """))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 0xd:\n    pcVar2 = "VMS - OpenVMS";\n    break;" (case "case") (number_literal "0xd") (: ":") (expression_statement "pcVar2 = "VMS - OpenVMS";" (assignment_expression "pcVar2 = "VMS - OpenVMS"" (identifier "pcVar2") (= "=") (string_literal ""VMS - OpenVMS"" (" """) (string_content "VMS - OpenVMS") (" """))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 0xe:\n    pcVar2 = "HP - Non-Stop Kernel";\n    break;" (case "case") (number_literal "0xe") (: ":") (expression_statement "pcVar2 = "HP - Non-Stop Kernel";" (assignment_expression "pcVar2 = "HP - Non-Stop Kernel"" (identifier "pcVar2") (= "=") (string_literal ""HP - Non-Stop Kernel"" (" """) (string_content "HP - Non-Stop Kernel") (" """))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 0xf:\n    pcVar2 = "AROS";\n    break;" (case "case") (number_literal "0xf") (: ":") (expression_statement "pcVar2 = "AROS";" (assignment_expression "pcVar2 = "AROS"" (identifier "pcVar2") (= "=") (string_literal ""AROS"" (" """) (string_content "AROS") (" """))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 0x10:\n    pcVar2 = "FenixOS";\n    break;" (case "case") (number_literal "0x10") (: ":") (expression_statement "pcVar2 = "FenixOS";" (assignment_expression "pcVar2 = "FenixOS"" (identifier "pcVar2") (= "=") (string_literal ""FenixOS"" (" """) (string_content "FenixOS") (" """))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 0x11:\n    pcVar2 = "Nuxi CloudABI";\n    break;" (case "case") (number_literal "0x11") (: ":") (expression_statement "pcVar2 = "Nuxi CloudABI";" (assignment_expression "pcVar2 = "Nuxi CloudABI"" (identifier "pcVar2") (= "=") (string_literal ""Nuxi CloudABI"" (" """) (string_content "Nuxi CloudABI") (" """))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 0x12:\n    pcVar2 = "Stratus Technologies OpenVOS";" (case "case") (number_literal "0x12") (: ":") (expression_statement "pcVar2 = "Stratus Technologies OpenVOS";" (assignment_expression "pcVar2 = "Stratus Technologies OpenVOS"" (identifier "pcVar2") (= "=") (string_literal ""Stratus Technologies OpenVOS"" (" """) (string_content "Stratus Technologies OpenVOS") (" """))) (; ";"))) (} "}"))) (return_statement "return pcVar2;" (return "return") (identifier "pcVar2") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

char * __regparm3 function_1(type_1 *filedata,type_2 var_1)

{
  type_3 var_2;
  type_4 *puVar2;
  char *pcVar3;
  
  switch(var_1) {
  case 0:
    puVar2 = "UNIX - System V";
    break;
  case 1:
    puVar2 = "UNIX - HP-UX";
    break;
  case 2:
    puVar2 = "UNIX - NetBSD";
    break;
  case 3:
    puVar2 = "UNIX - GNU";
    break;
  default:
    if (0x3f < var_1) {
      var_2 = *(type_3 *)&filedata->file_name;
      if (var_2 == 0x8c) {
        if (var_1 == 0x40) {
          pcVar3 = (char *)var_3(0,"Bare-metal C6000",5);
          return pcVar3;
        }
        if (var_1 == 0x41) {
          return "Linux C6000";
        }
      }
      else if (var_2 < 0x8d) {
        if (var_2 == 0x28) {
          if (var_1 == 0x41) {
            return "ARM FDPIC";
          }
          if (var_1 == 0x61) {
            return "ARM";
          }
        }
        else if (var_2 == 0x69) goto LAB_00024366;
      }
      else if ((var_2 == 0xdd) || (var_2 == 0x1059)) {
LAB_00024366:
        if (var_1 == 0xff) {
          pcVar3 = (char *)var_3(0,"Standalone App",5);
          return pcVar3;
        }
      }
    }
    pcVar3 = (char *)var_3(0,"<unknown: %x>",5);
    puVar2 = buff_16965;
    var_4(buff_16965,0x20,pcVar3,var_1);
    break;
  case 6:
    puVar2 = "UNIX - Solaris";
    break;
  case 7:
    puVar2 = "UNIX - AIX";
    break;
  case 8:
    puVar2 = "UNIX - IRIX";
    break;
  case 9:
    puVar2 = "UNIX - FreeBSD";
    break;
  case 10:
    puVar2 = "UNIX - TRU64";
    break;
  case 0xb:
    puVar2 = "Novell - Modesto";
    break;
  case 0xc:
    puVar2 = "UNIX - OpenBSD";
    break;
  case 0xd:
    puVar2 = "VMS - OpenVMS";
    break;
  case 0xe:
    puVar2 = "HP - Non-Stop Kernel";
    break;
  case 0xf:
    puVar2 = "AROS";
    break;
  case 0x10:
    puVar2 = "FenixOS";
    break;
  case 0x11:
    puVar2 = "Nuxi CloudABI";
    break;
  case 0x12:
    puVar2 = "Stratus Technologies OpenVOS";
  }
  return puVar2;
}


(translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (switch_statement condition: (parenthesized_expression (identifier)) body: (compound_statement (case_statement value: (number_literal) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (break_statement)) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (break_statement)) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (break_statement)) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (break_statement)) (case_statement (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content)) (number_literal)))))) (return_statement (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (string_literal (string_content)))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (string_literal (string_content))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (string_literal (string_content)))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier)))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content)) (number_literal)))))) (return_statement (identifier))))))))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content)) (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (number_literal) (identifier) (identifier)))) (break_statement)) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (break_statement)) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (break_statement)) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (break_statement)) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (break_statement)) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (break_statement)) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (break_statement)) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (break_statement)) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (break_statement)) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (break_statement)) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (break_statement)) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (break_statement)) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (break_statement)) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content))))))) (return_statement (identifier)))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

char * __regparm3 MASKED(ushort *param_1,uint param_2)

{
  ushort uVar1;
  char *__format;
  char *pcVar2;
  
  switch(param_2) {
  case 0:
    pcVar2 = "UNIX - System V";
    break;
  case 1:
    pcVar2 = "UNIX - HP-UX";
    break;
  case 2:
    pcVar2 = "UNIX - NetBSD";
    break;
  case 3:
    pcVar2 = "UNIX - GNU";
    break;
  default:
    if (0x3f < param_2) {
      uVar1 = *param_1;
      if (uVar1 == 0x8c) {
        if (param_2 == 0x40) {
          pcVar2 = (char *)dcgettext(0,"Bare-metal C6000",5);
          return pcVar2;
        }
        if (param_2 == 0x41) {
          return "Linux C6000";
        }
      }
      else if (uVar1 < 0x8d) {
        if (uVar1 == 0x28) {
          if (param_2 == 0x41) {
            return "ARM FDPIC";
          }
          if (param_2 == 0x61) {
            return "ARM";
          }
        }
        else if (uVar1 == 0x69) goto LAB_00024366;
      }
      else if ((uVar1 == 0xdd) || (uVar1 == 0x1059)) {
LAB_00024366:
        if (param_2 == 0xff) {
          pcVar2 = (char *)dcgettext(0,"Standalone App",5);
          return pcVar2;
        }
      }
    }
    __format = (char *)dcgettext(0,"<unknown: %x>",5);
    pcVar2 = &DAT_000b5c00;
    snprintf(&DAT_000b5c00,0x20,__format,param_2);
    break;
  case 6:
    pcVar2 = "UNIX - Solaris";
    break;
  case 7:
    pcVar2 = "UNIX - AIX";
    break;
  case 8:
    pcVar2 = "UNIX - IRIX";
    break;
  case 9:
    pcVar2 = "UNIX - FreeBSD";
    break;
  case 10:
    pcVar2 = "UNIX - TRU64";
    break;
  case 0xb:
    pcVar2 = "Novell - Modesto";
    break;
  case 0xc:
    pcVar2 = "UNIX - OpenBSD";
    break;
  case 0xd:
    pcVar2 = "VMS - OpenVMS";
    break;
  case 0xe:
    pcVar2 = "HP - Non-Stop Kernel";
    break;
  case 0xf:
    pcVar2 = "AROS";
    break;
  case 0x10:
    pcVar2 = "FenixOS";
    break;
  case 0x11:
    pcVar2 = "Nuxi CloudABI";
    break;
  case 0x12:
    pcVar2 = "Stratus Technologies OpenVOS";
  }
  return pcVar2;
}

