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

void __regparm3 usage(FILE *stream,int status)

{
  int iVar1;
  undefined4 *puVar2;
  size_t sVar3;
  char *__format;
  
  fprintf((FILE *)stream,"Usage: %s [options] [mangled names]\n",program_name);
  fprintf((FILE *)stream,
          "Options are:\n  [-_|--strip-underscore]     Ignore first leading underscore%s\n","");
  fprintf((FILE *)stream,"  [-n|--no-strip-underscore]  Do not ignore a leading underscore%s\n",
          " (default)");
  fwrite("  [-p|--no-params]            Do not display function arguments\n  [-i|--no-verbose]           Do not show implementation details (if any)\n  [-t|--types]                Also attempt to demangle type encodings\n  [-s|--format "
         ,1,0xdf,(FILE *)stream);
  puVar2 = (undefined4 *)PTR_libiberty_demanglers_00016fe0;
  fprintf((FILE *)stream,"{%s",*(undefined4 *)PTR_libiberty_demanglers_00016fe0);
  iVar1 = *(int *)((int)puVar2 + 0x10);
  while (iVar1 != 0) {
    fprintf((FILE *)stream,",%s",puVar2[3]);
    iVar1 = puVar2[7];
    puVar2 = puVar2 + 3;
  }
  fputc(0x7d,(FILE *)stream);
  fwrite(&DAT_0001438c,1,2,(FILE *)stream);
  sVar3 = fwrite("  [@<file>]                   Read extra options from <file>\n  [-h|--help]                 Display this information\n  [-v|--version]              Show the version information\nDemangled names are displayed to stdout.\nIf a name cannot be demangled it is just echoed to stdout.\nIf no names are provided on the command line, stdin is read.\n"
                 ,1,0x150,(FILE *)stream);
  if (status == 0) {
    __format = (char *)dcgettext(0,"Report bugs to %s.\n",5,sVar3);
    fprintf((FILE *)stream,__format,"<http://www.sourceware.org/bugzilla/>");
  }
                    /* WARNING: Subroutine does not return */
  exit(status);
}



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

void __regparm3 FUN_00011980(FILE *param_1,int param_2)

{
  int iVar1;
  undefined4 *puVar2;
  size_t sVar3;
  char *__format;
  
  fprintf(param_1,"Usage: %s [options] [mangled names]\n",DAT_0001f150);
  fprintf(param_1,"Options are:\n  [-_|--strip-underscore]     Ignore first leading underscore%s\n",
          "");
  fprintf(param_1,"  [-n|--no-strip-underscore]  Do not ignore a leading underscore%s\n",
          " (default)");
  fwrite("  [-p|--no-params]            Do not display function arguments\n  [-i|--no-verbose]           Do not show implementation details (if any)\n  [-t|--types]                Also attempt to demangle type encodings\n  [-s|--format "
         ,1,0xdf,param_1);
  puVar2 = (undefined4 *)PTR_libiberty_demanglers_00016fe0;
  fprintf(param_1,"{%s",*(undefined4 *)PTR_libiberty_demanglers_00016fe0);
  iVar1 = *(int *)((int)puVar2 + 0x10);
  while (iVar1 != 0) {
    fprintf(param_1,",%s",puVar2[3]);
    iVar1 = puVar2[7];
    puVar2 = puVar2 + 3;
  }
  fputc(0x7d,param_1);
  fwrite(&DAT_0001438c,1,2,param_1);
  sVar3 = fwrite("  [@<file>]                   Read extra options from <file>\n  [-h|--help]                 Display this information\n  [-v|--version]              Show the version information\nDemangled names are displayed to stdout.\nIf a name cannot be demangled it is just echoed to stdout.\nIf no names are provided on the command line, stdin is read.\n"
                 ,1,0x150,param_1);
  if (param_2 == 0) {
    __format = (char *)dcgettext(0,"Report bugs to %s.\n",5,sVar3);
    fprintf(param_1,__format,"<http://www.sourceware.org/bugzilla/>");
  }
                    /* WARNING: Subroutine does not return */
  exit(param_2);
}


PUSH EBP
PUSH EDI
MOV EDI,EDX
PUSH ESI
MOV ESI,EAX
PUSH EBX
CALL 0x00011840
ADD EBX,0x5673
SUB ESP,0x20
LEA EAX,[EBX + 0x8150]
PUSH dword ptr [EAX]
LEA EAX,[EBX + 0xffffd008]
PUSH EAX
PUSH ESI
CALL 0x00011290
ADD ESP,0xc
LEA EAX,[EBX + 0xffffd551]
PUSH EAX
LEA EAX,[EBX + 0xffffd030]
PUSH EAX
PUSH ESI
CALL 0x00011290
ADD ESP,0xc
LEA EAX,[EBX + 0xffffd379]
PUSH EAX
LEA EAX,[EBX + 0xffffd080]
PUSH EAX
PUSH ESI
CALL 0x00011290
LEA EAX,[EBX + 0xffffd0c4]
PUSH ESI
PUSH 0xdf
PUSH 0x1
PUSH EAX
CALL 0x00011180
MOV EBP,dword ptr [EBX + 0xffffffe0]
ADD ESP,0x1c
LEA EAX,[EBX + 0xffffd384]
PUSH dword ptr [EBP]
PUSH EAX
PUSH ESI
CALL 0x00011290
MOV ECX,dword ptr [EBP + 0x10]
ADD ESP,0x10
TEST ECX,ECX
JZ 0x00011a3d
LEA EAX,[EBX + 0xffffd388]
ADD EBP,0xc
MOV dword ptr [ESP + 0xc],EAX
LEA ESI,[ESI]
SUB ESP,0x4
PUSH dword ptr [EBP]
ADD EBP,0xc
PUSH dword ptr [ESP + 0x14]
PUSH ESI
CALL 0x00011290
MOV EDX,dword ptr [EBP + 0x4]
ADD ESP,0x10
TEST EDX,EDX
JNZ 0x00011a20
SUB ESP,0x8
PUSH ESI
PUSH 0x7d
CALL 0x00011350
LEA EAX,[EBX + 0xffffd38c]
PUSH ESI
PUSH 0x2
PUSH 0x1
PUSH EAX
CALL 0x00011180
ADD ESP,0x20
LEA EAX,[EBX + 0xffffd1a4]
PUSH ESI
PUSH 0x150
PUSH 0x1
PUSH EAX
CALL 0x00011180
ADD ESP,0x10
TEST EDI,EDI
JZ 0x00011a80
SUB ESP,0xc
PUSH EDI
CALL 0x00011230
PUSH EAX
LEA EAX,[EBX + 0xffffd38f]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x00011110
ADD ESP,0xc
LEA EDX,[EBX + 0xffffd2f8]
PUSH EDX
PUSH EAX
PUSH ESI
CALL 0x00011290
ADD ESP,0x10
JMP 0x00011a77
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_00011980(FILE *param_1,int param_2)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  size_t sVar3;\n  char *__format;\n  \n  fprintf(param_1,"Usage: %s [options] [mangled names]\n",DAT_0001f150);\n  fprintf(param_1,"Options are:\n  [-_|--strip-underscore]     Ignore first leading underscore%s\n",\n          "");\n  fprintf(param_1,"  [-n|--no-strip-underscore]  Do not ignore a leading underscore%s\n",\n          " (default)");\n  fwrite("  [-p|--no-params]            Do not display function arguments\n  [-i|--no-verbose]           Do not show implementation details (if any)\n  [-t|--types]                Also attempt to demangle type encodings\n  [-s|--format "\n         ,1,0xdf,param_1);\n  puVar2 = (undefined4 *)PTR_libiberty_demanglers_00016fe0;\n  fprintf(param_1,"{%s",*(undefined4 *)PTR_libiberty_demanglers_00016fe0);\n  iVar1 = *(int *)((int)puVar2 + 0x10);\n  while (iVar1 != 0) {\n    fprintf(param_1,",%s",puVar2[3]);\n    iVar1 = puVar2[7];\n    puVar2 = puVar2 + 3;\n  }\n  fputc(0x7d,param_1);\n  fwrite(&DAT_0001438c,1,2,param_1);\n  sVar3 = fwrite("  [@<file>]                   Read extra options from <file>\n  [-h|--help]                 Display this information\n  [-v|--version]              Show the version information\nDemangled names are displayed to stdout.\nIf a name cannot be demangled it is just echoed to stdout.\nIf no names are provided on the command line, stdin is read.\n"\n                 ,1,0x150,param_1);\n  if (param_2 == 0) {\n    __format = (char *)dcgettext(0,"Report bugs to %s.\n",5,sVar3);\n    fprintf(param_1,__format,"<http://www.sourceware.org/bugzilla/>");\n  }\n                    /* WARNING: Subroutine does not return */\n  exit(param_2);\n}\n\n" comment (function_definition "void __regparm3 FUN_00011980(FILE *param_1,int param_2)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  size_t sVar3;\n  char *__format;\n  \n  fprintf(param_1,"Usage: %s [options] [mangled names]\n",DAT_0001f150);\n  fprintf(param_1,"Options are:\n  [-_|--strip-underscore]     Ignore first leading underscore%s\n",\n          "");\n  fprintf(param_1,"  [-n|--no-strip-underscore]  Do not ignore a leading underscore%s\n",\n          " (default)");\n  fwrite("  [-p|--no-params]            Do not display function arguments\n  [-i|--no-verbose]           Do not show implementation details (if any)\n  [-t|--types]                Also attempt to demangle type encodings\n  [-s|--format "\n         ,1,0xdf,param_1);\n  puVar2 = (undefined4 *)PTR_libiberty_demanglers_00016fe0;\n  fprintf(param_1,"{%s",*(undefined4 *)PTR_libiberty_demanglers_00016fe0);\n  iVar1 = *(int *)((int)puVar2 + 0x10);\n  while (iVar1 != 0) {\n    fprintf(param_1,",%s",puVar2[3]);\n    iVar1 = puVar2[7];\n    puVar2 = puVar2 + 3;\n  }\n  fputc(0x7d,param_1);\n  fwrite(&DAT_0001438c,1,2,param_1);\n  sVar3 = fwrite("  [@<file>]                   Read extra options from <file>\n  [-h|--help]                 Display this information\n  [-v|--version]              Show the version information\nDemangled names are displayed to stdout.\nIf a name cannot be demangled it is just echoed to stdout.\nIf no names are provided on the command line, stdin is read.\n"\n                 ,1,0x150,param_1);\n  if (param_2 == 0) {\n    __format = (char *)dcgettext(0,"Report bugs to %s.\n",5,sVar3);\n    fprintf(param_1,__format,"<http://www.sourceware.org/bugzilla/>");\n  }\n                    /* WARNING: Subroutine does not return */\n  exit(param_2);\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00011980(FILE *param_1,int param_2)" identifier (parameter_list "(FILE *param_1,int param_2)" ( (parameter_declaration "FILE *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  size_t sVar3;\n  char *__format;\n  \n  fprintf(param_1,"Usage: %s [options] [mangled names]\n",DAT_0001f150);\n  fprintf(param_1,"Options are:\n  [-_|--strip-underscore]     Ignore first leading underscore%s\n",\n          "");\n  fprintf(param_1,"  [-n|--no-strip-underscore]  Do not ignore a leading underscore%s\n",\n          " (default)");\n  fwrite("  [-p|--no-params]            Do not display function arguments\n  [-i|--no-verbose]           Do not show implementation details (if any)\n  [-t|--types]                Also attempt to demangle type encodings\n  [-s|--format "\n         ,1,0xdf,param_1);\n  puVar2 = (undefined4 *)PTR_libiberty_demanglers_00016fe0;\n  fprintf(param_1,"{%s",*(undefined4 *)PTR_libiberty_demanglers_00016fe0);\n  iVar1 = *(int *)((int)puVar2 + 0x10);\n  while (iVar1 != 0) {\n    fprintf(param_1,",%s",puVar2[3]);\n    iVar1 = puVar2[7];\n    puVar2 = puVar2 + 3;\n  }\n  fputc(0x7d,param_1);\n  fwrite(&DAT_0001438c,1,2,param_1);\n  sVar3 = fwrite("  [@<file>]                   Read extra options from <file>\n  [-h|--help]                 Display this information\n  [-v|--version]              Show the version information\nDemangled names are displayed to stdout.\nIf a name cannot be demangled it is just echoed to stdout.\nIf no names are provided on the command line, stdin is read.\n"\n                 ,1,0x150,param_1);\n  if (param_2 == 0) {\n    __format = (char *)dcgettext(0,"Report bugs to %s.\n",5,sVar3);\n    fprintf(param_1,__format,"<http://www.sourceware.org/bugzilla/>");\n  }\n                    /* WARNING: Subroutine does not return */\n  exit(param_2);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (expression_statement "fprintf(param_1,"Usage: %s [options] [mangled names]\n",DAT_0001f150);" (call_expression "fprintf(param_1,"Usage: %s [options] [mangled names]\n",DAT_0001f150)" identifier (argument_list "(param_1,"Usage: %s [options] [mangled names]\n",DAT_0001f150)" ( identifier , (string_literal ""Usage: %s [options] [mangled names]\n"" " string_content escape_sequence ") , identifier ))) ;) (expression_statement "fprintf(param_1,"Options are:\n  [-_|--strip-underscore]     Ignore first leading underscore%s\n",\n          "");" (call_expression "fprintf(param_1,"Options are:\n  [-_|--strip-underscore]     Ignore first leading underscore%s\n",\n          "")" identifier (argument_list "(param_1,"Options are:\n  [-_|--strip-underscore]     Ignore first leading underscore%s\n",\n          "")" ( identifier , (string_literal ""Options are:\n  [-_|--strip-underscore]     Ignore first leading underscore%s\n"" " string_content escape_sequence string_content escape_sequence ") , (string_literal """" " ") ))) ;) (expression_statement "fprintf(param_1,"  [-n|--no-strip-underscore]  Do not ignore a leading underscore%s\n",\n          " (default)");" (call_expression "fprintf(param_1,"  [-n|--no-strip-underscore]  Do not ignore a leading underscore%s\n",\n          " (default)")" identifier (argument_list "(param_1,"  [-n|--no-strip-underscore]  Do not ignore a leading underscore%s\n",\n          " (default)")" ( identifier , (string_literal ""  [-n|--no-strip-underscore]  Do not ignore a leading underscore%s\n"" " string_content escape_sequence ") , (string_literal "" (default)"" " string_content ") ))) ;) (expression_statement "fwrite("  [-p|--no-params]            Do not display function arguments\n  [-i|--no-verbose]           Do not show implementation details (if any)\n  [-t|--types]                Also attempt to demangle type encodings\n  [-s|--format "\n         ,1,0xdf,param_1);" (call_expression "fwrite("  [-p|--no-params]            Do not display function arguments\n  [-i|--no-verbose]           Do not show implementation details (if any)\n  [-t|--types]                Also attempt to demangle type encodings\n  [-s|--format "\n         ,1,0xdf,param_1)" identifier (argument_list "("  [-p|--no-params]            Do not display function arguments\n  [-i|--no-verbose]           Do not show implementation details (if any)\n  [-t|--types]                Also attempt to demangle type encodings\n  [-s|--format "\n         ,1,0xdf,param_1)" ( (string_literal ""  [-p|--no-params]            Do not display function arguments\n  [-i|--no-verbose]           Do not show implementation details (if any)\n  [-t|--types]                Also attempt to demangle type encodings\n  [-s|--format "" " string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content ") , number_literal , number_literal , identifier ))) ;) (expression_statement "puVar2 = (undefined4 *)PTR_libiberty_demanglers_00016fe0;" (assignment_expression "puVar2 = (undefined4 *)PTR_libiberty_demanglers_00016fe0" identifier = (cast_expression "(undefined4 *)PTR_libiberty_demanglers_00016fe0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "fprintf(param_1,"{%s",*(undefined4 *)PTR_libiberty_demanglers_00016fe0);" (call_expression "fprintf(param_1,"{%s",*(undefined4 *)PTR_libiberty_demanglers_00016fe0)" identifier (argument_list "(param_1,"{%s",*(undefined4 *)PTR_libiberty_demanglers_00016fe0)" ( identifier , (string_literal ""{%s"" " string_content ") , (pointer_expression "*(undefined4 *)PTR_libiberty_demanglers_00016fe0" * (cast_expression "(undefined4 *)PTR_libiberty_demanglers_00016fe0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "iVar1 = *(int *)((int)puVar2 + 0x10);" (assignment_expression "iVar1 = *(int *)((int)puVar2 + 0x10)" identifier = (pointer_expression "*(int *)((int)puVar2 + 0x10)" * (cast_expression "(int *)((int)puVar2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar2 + 0x10)" ( (binary_expression "(int)puVar2 + 0x10" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (while_statement "while (iVar1 != 0) {\n    fprintf(param_1,",%s",puVar2[3]);\n    iVar1 = puVar2[7];\n    puVar2 = puVar2 + 3;\n  }" while (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    fprintf(param_1,",%s",puVar2[3]);\n    iVar1 = puVar2[7];\n    puVar2 = puVar2 + 3;\n  }" { (expression_statement "fprintf(param_1,",%s",puVar2[3]);" (call_expression "fprintf(param_1,",%s",puVar2[3])" identifier (argument_list "(param_1,",%s",puVar2[3])" ( identifier , (string_literal "",%s"" " string_content ") , (subscript_expression "puVar2[3]" identifier [ number_literal ]) ))) ;) (expression_statement "iVar1 = puVar2[7];" (assignment_expression "iVar1 = puVar2[7]" identifier = (subscript_expression "puVar2[7]" identifier [ number_literal ])) ;) (expression_statement "puVar2 = puVar2 + 3;" (assignment_expression "puVar2 = puVar2 + 3" identifier = (binary_expression "puVar2 + 3" identifier + number_literal)) ;) })) (expression_statement "fputc(0x7d,param_1);" (call_expression "fputc(0x7d,param_1)" identifier (argument_list "(0x7d,param_1)" ( number_literal , identifier ))) ;) (expression_statement "fwrite(&DAT_0001438c,1,2,param_1);" (call_expression "fwrite(&DAT_0001438c,1,2,param_1)" identifier (argument_list "(&DAT_0001438c,1,2,param_1)" ( (pointer_expression "&DAT_0001438c" & identifier) , number_literal , number_literal , identifier ))) ;) (expression_statement "sVar3 = fwrite("  [@<file>]                   Read extra options from <file>\n  [-h|--help]                 Display this information\n  [-v|--version]              Show the version information\nDemangled names are displayed to stdout.\nIf a name cannot be demangled it is just echoed to stdout.\nIf no names are provided on the command line, stdin is read.\n"\n                 ,1,0x150,param_1);" (assignment_expression "sVar3 = fwrite("  [@<file>]                   Read extra options from <file>\n  [-h|--help]                 Display this information\n  [-v|--version]              Show the version information\nDemangled names are displayed to stdout.\nIf a name cannot be demangled it is just echoed to stdout.\nIf no names are provided on the command line, stdin is read.\n"\n                 ,1,0x150,param_1)" identifier = (call_expression "fwrite("  [@<file>]                   Read extra options from <file>\n  [-h|--help]                 Display this information\n  [-v|--version]              Show the version information\nDemangled names are displayed to stdout.\nIf a name cannot be demangled it is just echoed to stdout.\nIf no names are provided on the command line, stdin is read.\n"\n                 ,1,0x150,param_1)" identifier (argument_list "("  [@<file>]                   Read extra options from <file>\n  [-h|--help]                 Display this information\n  [-v|--version]              Show the version information\nDemangled names are displayed to stdout.\nIf a name cannot be demangled it is just echoed to stdout.\nIf no names are provided on the command line, stdin is read.\n"\n                 ,1,0x150,param_1)" ( (string_literal ""  [@<file>]                   Read extra options from <file>\n  [-h|--help]                 Display this information\n  [-v|--version]              Show the version information\nDemangled names are displayed to stdout.\nIf a name cannot be demangled it is just echoed to stdout.\nIf no names are provided on the command line, stdin is read.\n"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence ") , number_literal , number_literal , identifier )))) ;) (if_statement "if (param_2 == 0) {\n    __format = (char *)dcgettext(0,"Report bugs to %s.\n",5,sVar3);\n    fprintf(param_1,__format,"<http://www.sourceware.org/bugzilla/>");\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    __format = (char *)dcgettext(0,"Report bugs to %s.\n",5,sVar3);\n    fprintf(param_1,__format,"<http://www.sourceware.org/bugzilla/>");\n  }" { (expression_statement "__format = (char *)dcgettext(0,"Report bugs to %s.\n",5,sVar3);" (assignment_expression "__format = (char *)dcgettext(0,"Report bugs to %s.\n",5,sVar3)" identifier = (cast_expression "(char *)dcgettext(0,"Report bugs to %s.\n",5,sVar3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"Report bugs to %s.\n",5,sVar3)" identifier (argument_list "(0,"Report bugs to %s.\n",5,sVar3)" ( number_literal , (string_literal ""Report bugs to %s.\n"" " string_content escape_sequence ") , number_literal , identifier ))))) ;) (expression_statement "fprintf(param_1,__format,"<http://www.sourceware.org/bugzilla/>");" (call_expression "fprintf(param_1,__format,"<http://www.sourceware.org/bugzilla/>")" identifier (argument_list "(param_1,__format,"<http://www.sourceware.org/bugzilla/>")" ( identifier , identifier , (string_literal ""<http://www.sourceware.org/bugzilla/>"" " string_content ") ))) ;) })) comment (expression_statement "exit(param_2);" (call_expression "exit(param_2)" identifier (argument_list "(param_2)" ( identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 usage(FILE *stream,int status)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  size_t sVar3;\n  char *__format;\n  \n  fprintf((FILE *)stream,"Usage: %s [options] [mangled names]\n",program_name);\n  fprintf((FILE *)stream,\n          "Options are:\n  [-_|--strip-underscore]     Ignore first leading underscore%s\n","");\n  fprintf((FILE *)stream,"  [-n|--no-strip-underscore]  Do not ignore a leading underscore%s\n",\n          " (default)");\n  fwrite("  [-p|--no-params]            Do not display function arguments\n  [-i|--no-verbose]           Do not show implementation details (if any)\n  [-t|--types]                Also attempt to demangle type encodings\n  [-s|--format "\n         ,1,0xdf,(FILE *)stream);\n  puVar2 = (undefined4 *)PTR_libiberty_demanglers_00016fe0;\n  fprintf((FILE *)stream,"{%s",*(undefined4 *)PTR_libiberty_demanglers_00016fe0);\n  iVar1 = *(int *)((int)puVar2 + 0x10);\n  while (iVar1 != 0) {\n    fprintf((FILE *)stream,",%s",puVar2[3]);\n    iVar1 = puVar2[7];\n    puVar2 = puVar2 + 3;\n  }\n  fputc(0x7d,(FILE *)stream);\n  fwrite(&DAT_0001438c,1,2,(FILE *)stream);\n  sVar3 = fwrite("  [@<file>]                   Read extra options from <file>\n  [-h|--help]                 Display this information\n  [-v|--version]              Show the version information\nDemangled names are displayed to stdout.\nIf a name cannot be demangled it is just echoed to stdout.\nIf no names are provided on the command line, stdin is read.\n"\n                 ,1,0x150,(FILE *)stream);\n  if (status == 0) {\n    __format = (char *)dcgettext(0,"Report bugs to %s.\n",5,sVar3);\n    fprintf((FILE *)stream,__format,"<http://www.sourceware.org/bugzilla/>");\n  }\n                    /* WARNING: Subroutine does not return */\n  exit(status);\n}\n\n" comment (function_definition "void __regparm3 usage(FILE *stream,int status)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  size_t sVar3;\n  char *__format;\n  \n  fprintf((FILE *)stream,"Usage: %s [options] [mangled names]\n",program_name);\n  fprintf((FILE *)stream,\n          "Options are:\n  [-_|--strip-underscore]     Ignore first leading underscore%s\n","");\n  fprintf((FILE *)stream,"  [-n|--no-strip-underscore]  Do not ignore a leading underscore%s\n",\n          " (default)");\n  fwrite("  [-p|--no-params]            Do not display function arguments\n  [-i|--no-verbose]           Do not show implementation details (if any)\n  [-t|--types]                Also attempt to demangle type encodings\n  [-s|--format "\n         ,1,0xdf,(FILE *)stream);\n  puVar2 = (undefined4 *)PTR_libiberty_demanglers_00016fe0;\n  fprintf((FILE *)stream,"{%s",*(undefined4 *)PTR_libiberty_demanglers_00016fe0);\n  iVar1 = *(int *)((int)puVar2 + 0x10);\n  while (iVar1 != 0) {\n    fprintf((FILE *)stream,",%s",puVar2[3]);\n    iVar1 = puVar2[7];\n    puVar2 = puVar2 + 3;\n  }\n  fputc(0x7d,(FILE *)stream);\n  fwrite(&DAT_0001438c,1,2,(FILE *)stream);\n  sVar3 = fwrite("  [@<file>]                   Read extra options from <file>\n  [-h|--help]                 Display this information\n  [-v|--version]              Show the version information\nDemangled names are displayed to stdout.\nIf a name cannot be demangled it is just echoed to stdout.\nIf no names are provided on the command line, stdin is read.\n"\n                 ,1,0x150,(FILE *)stream);\n  if (status == 0) {\n    __format = (char *)dcgettext(0,"Report bugs to %s.\n",5,sVar3);\n    fprintf((FILE *)stream,__format,"<http://www.sourceware.org/bugzilla/>");\n  }\n                    /* WARNING: Subroutine does not return */\n  exit(status);\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "usage(FILE *stream,int status)" identifier (parameter_list "(FILE *stream,int status)" ( (parameter_declaration "FILE *stream" type_identifier (pointer_declarator "*stream" * identifier)) , (parameter_declaration "int status" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  size_t sVar3;\n  char *__format;\n  \n  fprintf((FILE *)stream,"Usage: %s [options] [mangled names]\n",program_name);\n  fprintf((FILE *)stream,\n          "Options are:\n  [-_|--strip-underscore]     Ignore first leading underscore%s\n","");\n  fprintf((FILE *)stream,"  [-n|--no-strip-underscore]  Do not ignore a leading underscore%s\n",\n          " (default)");\n  fwrite("  [-p|--no-params]            Do not display function arguments\n  [-i|--no-verbose]           Do not show implementation details (if any)\n  [-t|--types]                Also attempt to demangle type encodings\n  [-s|--format "\n         ,1,0xdf,(FILE *)stream);\n  puVar2 = (undefined4 *)PTR_libiberty_demanglers_00016fe0;\n  fprintf((FILE *)stream,"{%s",*(undefined4 *)PTR_libiberty_demanglers_00016fe0);\n  iVar1 = *(int *)((int)puVar2 + 0x10);\n  while (iVar1 != 0) {\n    fprintf((FILE *)stream,",%s",puVar2[3]);\n    iVar1 = puVar2[7];\n    puVar2 = puVar2 + 3;\n  }\n  fputc(0x7d,(FILE *)stream);\n  fwrite(&DAT_0001438c,1,2,(FILE *)stream);\n  sVar3 = fwrite("  [@<file>]                   Read extra options from <file>\n  [-h|--help]                 Display this information\n  [-v|--version]              Show the version information\nDemangled names are displayed to stdout.\nIf a name cannot be demangled it is just echoed to stdout.\nIf no names are provided on the command line, stdin is read.\n"\n                 ,1,0x150,(FILE *)stream);\n  if (status == 0) {\n    __format = (char *)dcgettext(0,"Report bugs to %s.\n",5,sVar3);\n    fprintf((FILE *)stream,__format,"<http://www.sourceware.org/bugzilla/>");\n  }\n                    /* WARNING: Subroutine does not return */\n  exit(status);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (expression_statement "fprintf((FILE *)stream,"Usage: %s [options] [mangled names]\n",program_name);" (call_expression "fprintf((FILE *)stream,"Usage: %s [options] [mangled names]\n",program_name)" identifier (argument_list "((FILE *)stream,"Usage: %s [options] [mangled names]\n",program_name)" ( (cast_expression "(FILE *)stream" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""Usage: %s [options] [mangled names]\n"" " string_content escape_sequence ") , identifier ))) ;) (expression_statement "fprintf((FILE *)stream,\n          "Options are:\n  [-_|--strip-underscore]     Ignore first leading underscore%s\n","");" (call_expression "fprintf((FILE *)stream,\n          "Options are:\n  [-_|--strip-underscore]     Ignore first leading underscore%s\n","")" identifier (argument_list "((FILE *)stream,\n          "Options are:\n  [-_|--strip-underscore]     Ignore first leading underscore%s\n","")" ( (cast_expression "(FILE *)stream" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""Options are:\n  [-_|--strip-underscore]     Ignore first leading underscore%s\n"" " string_content escape_sequence string_content escape_sequence ") , (string_literal """" " ") ))) ;) (expression_statement "fprintf((FILE *)stream,"  [-n|--no-strip-underscore]  Do not ignore a leading underscore%s\n",\n          " (default)");" (call_expression "fprintf((FILE *)stream,"  [-n|--no-strip-underscore]  Do not ignore a leading underscore%s\n",\n          " (default)")" identifier (argument_list "((FILE *)stream,"  [-n|--no-strip-underscore]  Do not ignore a leading underscore%s\n",\n          " (default)")" ( (cast_expression "(FILE *)stream" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""  [-n|--no-strip-underscore]  Do not ignore a leading underscore%s\n"" " string_content escape_sequence ") , (string_literal "" (default)"" " string_content ") ))) ;) (expression_statement "fwrite("  [-p|--no-params]            Do not display function arguments\n  [-i|--no-verbose]           Do not show implementation details (if any)\n  [-t|--types]                Also attempt to demangle type encodings\n  [-s|--format "\n         ,1,0xdf,(FILE *)stream);" (call_expression "fwrite("  [-p|--no-params]            Do not display function arguments\n  [-i|--no-verbose]           Do not show implementation details (if any)\n  [-t|--types]                Also attempt to demangle type encodings\n  [-s|--format "\n         ,1,0xdf,(FILE *)stream)" identifier (argument_list "("  [-p|--no-params]            Do not display function arguments\n  [-i|--no-verbose]           Do not show implementation details (if any)\n  [-t|--types]                Also attempt to demangle type encodings\n  [-s|--format "\n         ,1,0xdf,(FILE *)stream)" ( (string_literal ""  [-p|--no-params]            Do not display function arguments\n  [-i|--no-verbose]           Do not show implementation details (if any)\n  [-t|--types]                Also attempt to demangle type encodings\n  [-s|--format "" " string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content ") , number_literal , number_literal , (cast_expression "(FILE *)stream" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (expression_statement "puVar2 = (undefined4 *)PTR_libiberty_demanglers_00016fe0;" (assignment_expression "puVar2 = (undefined4 *)PTR_libiberty_demanglers_00016fe0" identifier = (cast_expression "(undefined4 *)PTR_libiberty_demanglers_00016fe0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "fprintf((FILE *)stream,"{%s",*(undefined4 *)PTR_libiberty_demanglers_00016fe0);" (call_expression "fprintf((FILE *)stream,"{%s",*(undefined4 *)PTR_libiberty_demanglers_00016fe0)" identifier (argument_list "((FILE *)stream,"{%s",*(undefined4 *)PTR_libiberty_demanglers_00016fe0)" ( (cast_expression "(FILE *)stream" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""{%s"" " string_content ") , (pointer_expression "*(undefined4 *)PTR_libiberty_demanglers_00016fe0" * (cast_expression "(undefined4 *)PTR_libiberty_demanglers_00016fe0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "iVar1 = *(int *)((int)puVar2 + 0x10);" (assignment_expression "iVar1 = *(int *)((int)puVar2 + 0x10)" identifier = (pointer_expression "*(int *)((int)puVar2 + 0x10)" * (cast_expression "(int *)((int)puVar2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar2 + 0x10)" ( (binary_expression "(int)puVar2 + 0x10" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (while_statement "while (iVar1 != 0) {\n    fprintf((FILE *)stream,",%s",puVar2[3]);\n    iVar1 = puVar2[7];\n    puVar2 = puVar2 + 3;\n  }" while (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    fprintf((FILE *)stream,",%s",puVar2[3]);\n    iVar1 = puVar2[7];\n    puVar2 = puVar2 + 3;\n  }" { (expression_statement "fprintf((FILE *)stream,",%s",puVar2[3]);" (call_expression "fprintf((FILE *)stream,",%s",puVar2[3])" identifier (argument_list "((FILE *)stream,",%s",puVar2[3])" ( (cast_expression "(FILE *)stream" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal "",%s"" " string_content ") , (subscript_expression "puVar2[3]" identifier [ number_literal ]) ))) ;) (expression_statement "iVar1 = puVar2[7];" (assignment_expression "iVar1 = puVar2[7]" identifier = (subscript_expression "puVar2[7]" identifier [ number_literal ])) ;) (expression_statement "puVar2 = puVar2 + 3;" (assignment_expression "puVar2 = puVar2 + 3" identifier = (binary_expression "puVar2 + 3" identifier + number_literal)) ;) })) (expression_statement "fputc(0x7d,(FILE *)stream);" (call_expression "fputc(0x7d,(FILE *)stream)" identifier (argument_list "(0x7d,(FILE *)stream)" ( number_literal , (cast_expression "(FILE *)stream" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (expression_statement "fwrite(&DAT_0001438c,1,2,(FILE *)stream);" (call_expression "fwrite(&DAT_0001438c,1,2,(FILE *)stream)" identifier (argument_list "(&DAT_0001438c,1,2,(FILE *)stream)" ( (pointer_expression "&DAT_0001438c" & identifier) , number_literal , number_literal , (cast_expression "(FILE *)stream" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (expression_statement "sVar3 = fwrite("  [@<file>]                   Read extra options from <file>\n  [-h|--help]                 Display this information\n  [-v|--version]              Show the version information\nDemangled names are displayed to stdout.\nIf a name cannot be demangled it is just echoed to stdout.\nIf no names are provided on the command line, stdin is read.\n"\n                 ,1,0x150,(FILE *)stream);" (assignment_expression "sVar3 = fwrite("  [@<file>]                   Read extra options from <file>\n  [-h|--help]                 Display this information\n  [-v|--version]              Show the version information\nDemangled names are displayed to stdout.\nIf a name cannot be demangled it is just echoed to stdout.\nIf no names are provided on the command line, stdin is read.\n"\n                 ,1,0x150,(FILE *)stream)" identifier = (call_expression "fwrite("  [@<file>]                   Read extra options from <file>\n  [-h|--help]                 Display this information\n  [-v|--version]              Show the version information\nDemangled names are displayed to stdout.\nIf a name cannot be demangled it is just echoed to stdout.\nIf no names are provided on the command line, stdin is read.\n"\n                 ,1,0x150,(FILE *)stream)" identifier (argument_list "("  [@<file>]                   Read extra options from <file>\n  [-h|--help]                 Display this information\n  [-v|--version]              Show the version information\nDemangled names are displayed to stdout.\nIf a name cannot be demangled it is just echoed to stdout.\nIf no names are provided on the command line, stdin is read.\n"\n                 ,1,0x150,(FILE *)stream)" ( (string_literal ""  [@<file>]                   Read extra options from <file>\n  [-h|--help]                 Display this information\n  [-v|--version]              Show the version information\nDemangled names are displayed to stdout.\nIf a name cannot be demangled it is just echoed to stdout.\nIf no names are provided on the command line, stdin is read.\n"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence ") , number_literal , number_literal , (cast_expression "(FILE *)stream" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (if_statement "if (status == 0) {\n    __format = (char *)dcgettext(0,"Report bugs to %s.\n",5,sVar3);\n    fprintf((FILE *)stream,__format,"<http://www.sourceware.org/bugzilla/>");\n  }" if (parenthesized_expression "(status == 0)" ( (binary_expression "status == 0" identifier == number_literal) )) (compound_statement "{\n    __format = (char *)dcgettext(0,"Report bugs to %s.\n",5,sVar3);\n    fprintf((FILE *)stream,__format,"<http://www.sourceware.org/bugzilla/>");\n  }" { (expression_statement "__format = (char *)dcgettext(0,"Report bugs to %s.\n",5,sVar3);" (assignment_expression "__format = (char *)dcgettext(0,"Report bugs to %s.\n",5,sVar3)" identifier = (cast_expression "(char *)dcgettext(0,"Report bugs to %s.\n",5,sVar3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"Report bugs to %s.\n",5,sVar3)" identifier (argument_list "(0,"Report bugs to %s.\n",5,sVar3)" ( number_literal , (string_literal ""Report bugs to %s.\n"" " string_content escape_sequence ") , number_literal , identifier ))))) ;) (expression_statement "fprintf((FILE *)stream,__format,"<http://www.sourceware.org/bugzilla/>");" (call_expression "fprintf((FILE *)stream,__format,"<http://www.sourceware.org/bugzilla/>")" identifier (argument_list "((FILE *)stream,__format,"<http://www.sourceware.org/bugzilla/>")" ( (cast_expression "(FILE *)stream" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier , (string_literal ""<http://www.sourceware.org/bugzilla/>"" " string_content ") ))) ;) })) comment (expression_statement "exit(status);" (call_expression "exit(status)" identifier (argument_list "(status)" ( identifier ))) ;) })))
(translation_unit "void __regparm3 FUN_00011980(FILE *param_1,int param_2)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  size_t sVar3;\n  char *__format;\n  \n  fprintf(param_1,"Usage: %s [options] [mangled names]\n",DAT_0001f150);\n  fprintf(param_1,"Options are:\n  [-_|--strip-underscore]     Ignore first leading underscore%s\n",\n          "");\n  fprintf(param_1,"  [-n|--no-strip-underscore]  Do not ignore a leading underscore%s\n",\n          " (default)");\n  fwrite("  [-p|--no-params]            Do not display function arguments\n  [-i|--no-verbose]           Do not show implementation details (if any)\n  [-t|--types]                Also attempt to demangle type encodings\n  [-s|--format "\n         ,1,0xdf,param_1);\n  puVar2 = (undefined4 *)PTR_libiberty_demanglers_00016fe0;\n  fprintf(param_1,"{%s",*(undefined4 *)PTR_libiberty_demanglers_00016fe0);\n  iVar1 = *(int *)((int)puVar2 + 0x10);\n  while (iVar1 != 0) {\n    fprintf(param_1,",%s",puVar2[3]);\n    iVar1 = puVar2[7];\n    puVar2 = puVar2 + 3;\n  }\n  fputc(0x7d,param_1);\n  fwrite(&DAT_0001438c,1,2,param_1);\n  sVar3 = fwrite("  [@<file>]                   Read extra options from <file>\n  [-h|--help]                 Display this information\n  [-v|--version]              Show the version information\nDemangled names are displayed to stdout.\nIf a name cannot be demangled it is just echoed to stdout.\nIf no names are provided on the command line, stdin is read.\n"\n                 ,1,0x150,param_1);\n  if (param_2 == 0) {\n    __format = (char *)dcgettext(0,"Report bugs to %s.\n",5,sVar3);\n    fprintf(param_1,__format,"<http:\n  }\n                    \n  exit(param_2);\n}\n\n" (function_definition "void __regparm3 FUN_00011980(FILE *param_1,int param_2)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  size_t sVar3;\n  char *__format;\n  \n  fprintf(param_1,"Usage: %s [options] [mangled names]\n",DAT_0001f150);\n  fprintf(param_1,"Options are:\n  [-_|--strip-underscore]     Ignore first leading underscore%s\n",\n          "");\n  fprintf(param_1,"  [-n|--no-strip-underscore]  Do not ignore a leading underscore%s\n",\n          " (default)");\n  fwrite("  [-p|--no-params]            Do not display function arguments\n  [-i|--no-verbose]           Do not show implementation details (if any)\n  [-t|--types]                Also attempt to demangle type encodings\n  [-s|--format "\n         ,1,0xdf,param_1);\n  puVar2 = (undefined4 *)PTR_libiberty_demanglers_00016fe0;\n  fprintf(param_1,"{%s",*(undefined4 *)PTR_libiberty_demanglers_00016fe0);\n  iVar1 = *(int *)((int)puVar2 + 0x10);\n  while (iVar1 != 0) {\n    fprintf(param_1,",%s",puVar2[3]);\n    iVar1 = puVar2[7];\n    puVar2 = puVar2 + 3;\n  }\n  fputc(0x7d,param_1);\n  fwrite(&DAT_0001438c,1,2,param_1);\n  sVar3 = fwrite("  [@<file>]                   Read extra options from <file>\n  [-h|--help]                 Display this information\n  [-v|--version]              Show the version information\nDemangled names are displayed to stdout.\nIf a name cannot be demangled it is just echoed to stdout.\nIf no names are provided on the command line, stdin is read.\n"\n                 ,1,0x150,param_1);\n  if (param_2 == 0) {\n    __format = (char *)dcgettext(0,"Report bugs to %s.\n",5,sVar3);\n    fprintf(param_1,__format,"<http:\n  }\n                    \n  exit(param_2);\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00011980(FILE *param_1,int param_2)" identifier (parameter_list "(FILE *param_1,int param_2)" ( (parameter_declaration "FILE *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  size_t sVar3;\n  char *__format;\n  \n  fprintf(param_1,"Usage: %s [options] [mangled names]\n",DAT_0001f150);\n  fprintf(param_1,"Options are:\n  [-_|--strip-underscore]     Ignore first leading underscore%s\n",\n          "");\n  fprintf(param_1,"  [-n|--no-strip-underscore]  Do not ignore a leading underscore%s\n",\n          " (default)");\n  fwrite("  [-p|--no-params]            Do not display function arguments\n  [-i|--no-verbose]           Do not show implementation details (if any)\n  [-t|--types]                Also attempt to demangle type encodings\n  [-s|--format "\n         ,1,0xdf,param_1);\n  puVar2 = (undefined4 *)PTR_libiberty_demanglers_00016fe0;\n  fprintf(param_1,"{%s",*(undefined4 *)PTR_libiberty_demanglers_00016fe0);\n  iVar1 = *(int *)((int)puVar2 + 0x10);\n  while (iVar1 != 0) {\n    fprintf(param_1,",%s",puVar2[3]);\n    iVar1 = puVar2[7];\n    puVar2 = puVar2 + 3;\n  }\n  fputc(0x7d,param_1);\n  fwrite(&DAT_0001438c,1,2,param_1);\n  sVar3 = fwrite("  [@<file>]                   Read extra options from <file>\n  [-h|--help]                 Display this information\n  [-v|--version]              Show the version information\nDemangled names are displayed to stdout.\nIf a name cannot be demangled it is just echoed to stdout.\nIf no names are provided on the command line, stdin is read.\n"\n                 ,1,0x150,param_1);\n  if (param_2 == 0) {\n    __format = (char *)dcgettext(0,"Report bugs to %s.\n",5,sVar3);\n    fprintf(param_1,__format,"<http:\n  }\n                    \n  exit(param_2);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (expression_statement "fprintf(param_1,"Usage: %s [options] [mangled names]\n",DAT_0001f150);" (call_expression "fprintf(param_1,"Usage: %s [options] [mangled names]\n",DAT_0001f150)" identifier (argument_list "(param_1,"Usage: %s [options] [mangled names]\n",DAT_0001f150)" ( identifier , (string_literal ""Usage: %s [options] [mangled names]\n"" " string_content escape_sequence ") , identifier ))) ;) (expression_statement "fprintf(param_1,"Options are:\n  [-_|--strip-underscore]     Ignore first leading underscore%s\n",\n          "");" (call_expression "fprintf(param_1,"Options are:\n  [-_|--strip-underscore]     Ignore first leading underscore%s\n",\n          "")" identifier (argument_list "(param_1,"Options are:\n  [-_|--strip-underscore]     Ignore first leading underscore%s\n",\n          "")" ( identifier , (string_literal ""Options are:\n  [-_|--strip-underscore]     Ignore first leading underscore%s\n"" " string_content escape_sequence string_content escape_sequence ") , (string_literal """" " ") ))) ;) (expression_statement "fprintf(param_1,"  [-n|--no-strip-underscore]  Do not ignore a leading underscore%s\n",\n          " (default)");" (call_expression "fprintf(param_1,"  [-n|--no-strip-underscore]  Do not ignore a leading underscore%s\n",\n          " (default)")" identifier (argument_list "(param_1,"  [-n|--no-strip-underscore]  Do not ignore a leading underscore%s\n",\n          " (default)")" ( identifier , (string_literal ""  [-n|--no-strip-underscore]  Do not ignore a leading underscore%s\n"" " string_content escape_sequence ") , (string_literal "" (default)"" " string_content ") ))) ;) (expression_statement "fwrite("  [-p|--no-params]            Do not display function arguments\n  [-i|--no-verbose]           Do not show implementation details (if any)\n  [-t|--types]                Also attempt to demangle type encodings\n  [-s|--format "\n         ,1,0xdf,param_1);" (call_expression "fwrite("  [-p|--no-params]            Do not display function arguments\n  [-i|--no-verbose]           Do not show implementation details (if any)\n  [-t|--types]                Also attempt to demangle type encodings\n  [-s|--format "\n         ,1,0xdf,param_1)" identifier (argument_list "("  [-p|--no-params]            Do not display function arguments\n  [-i|--no-verbose]           Do not show implementation details (if any)\n  [-t|--types]                Also attempt to demangle type encodings\n  [-s|--format "\n         ,1,0xdf,param_1)" ( (string_literal ""  [-p|--no-params]            Do not display function arguments\n  [-i|--no-verbose]           Do not show implementation details (if any)\n  [-t|--types]                Also attempt to demangle type encodings\n  [-s|--format "" " string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content ") , number_literal , number_literal , identifier ))) ;) (expression_statement "puVar2 = (undefined4 *)PTR_libiberty_demanglers_00016fe0;" (assignment_expression "puVar2 = (undefined4 *)PTR_libiberty_demanglers_00016fe0" identifier = (cast_expression "(undefined4 *)PTR_libiberty_demanglers_00016fe0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "fprintf(param_1,"{%s",*(undefined4 *)PTR_libiberty_demanglers_00016fe0);" (call_expression "fprintf(param_1,"{%s",*(undefined4 *)PTR_libiberty_demanglers_00016fe0)" identifier (argument_list "(param_1,"{%s",*(undefined4 *)PTR_libiberty_demanglers_00016fe0)" ( identifier , (string_literal ""{%s"" " string_content ") , (pointer_expression "*(undefined4 *)PTR_libiberty_demanglers_00016fe0" * (cast_expression "(undefined4 *)PTR_libiberty_demanglers_00016fe0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "iVar1 = *(int *)((int)puVar2 + 0x10);" (assignment_expression "iVar1 = *(int *)((int)puVar2 + 0x10)" identifier = (pointer_expression "*(int *)((int)puVar2 + 0x10)" * (cast_expression "(int *)((int)puVar2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar2 + 0x10)" ( (binary_expression "(int)puVar2 + 0x10" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (while_statement "while (iVar1 != 0) {\n    fprintf(param_1,",%s",puVar2[3]);\n    iVar1 = puVar2[7];\n    puVar2 = puVar2 + 3;\n  }" while (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    fprintf(param_1,",%s",puVar2[3]);\n    iVar1 = puVar2[7];\n    puVar2 = puVar2 + 3;\n  }" { (expression_statement "fprintf(param_1,",%s",puVar2[3]);" (call_expression "fprintf(param_1,",%s",puVar2[3])" identifier (argument_list "(param_1,",%s",puVar2[3])" ( identifier , (string_literal "",%s"" " string_content ") , (subscript_expression "puVar2[3]" identifier [ number_literal ]) ))) ;) (expression_statement "iVar1 = puVar2[7];" (assignment_expression "iVar1 = puVar2[7]" identifier = (subscript_expression "puVar2[7]" identifier [ number_literal ])) ;) (expression_statement "puVar2 = puVar2 + 3;" (assignment_expression "puVar2 = puVar2 + 3" identifier = (binary_expression "puVar2 + 3" identifier + number_literal)) ;) })) (expression_statement "fputc(0x7d,param_1);" (call_expression "fputc(0x7d,param_1)" identifier (argument_list "(0x7d,param_1)" ( number_literal , identifier ))) ;) (expression_statement "fwrite(&DAT_0001438c,1,2,param_1);" (call_expression "fwrite(&DAT_0001438c,1,2,param_1)" identifier (argument_list "(&DAT_0001438c,1,2,param_1)" ( (pointer_expression "&DAT_0001438c" & identifier) , number_literal , number_literal , identifier ))) ;) (expression_statement "sVar3 = fwrite("  [@<file>]                   Read extra options from <file>\n  [-h|--help]                 Display this information\n  [-v|--version]              Show the version information\nDemangled names are displayed to stdout.\nIf a name cannot be demangled it is just echoed to stdout.\nIf no names are provided on the command line, stdin is read.\n"\n                 ,1,0x150,param_1);" (assignment_expression "sVar3 = fwrite("  [@<file>]                   Read extra options from <file>\n  [-h|--help]                 Display this information\n  [-v|--version]              Show the version information\nDemangled names are displayed to stdout.\nIf a name cannot be demangled it is just echoed to stdout.\nIf no names are provided on the command line, stdin is read.\n"\n                 ,1,0x150,param_1)" identifier = (call_expression "fwrite("  [@<file>]                   Read extra options from <file>\n  [-h|--help]                 Display this information\n  [-v|--version]              Show the version information\nDemangled names are displayed to stdout.\nIf a name cannot be demangled it is just echoed to stdout.\nIf no names are provided on the command line, stdin is read.\n"\n                 ,1,0x150,param_1)" identifier (argument_list "("  [@<file>]                   Read extra options from <file>\n  [-h|--help]                 Display this information\n  [-v|--version]              Show the version information\nDemangled names are displayed to stdout.\nIf a name cannot be demangled it is just echoed to stdout.\nIf no names are provided on the command line, stdin is read.\n"\n                 ,1,0x150,param_1)" ( (string_literal ""  [@<file>]                   Read extra options from <file>\n  [-h|--help]                 Display this information\n  [-v|--version]              Show the version information\nDemangled names are displayed to stdout.\nIf a name cannot be demangled it is just echoed to stdout.\nIf no names are provided on the command line, stdin is read.\n"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence ") , number_literal , number_literal , identifier )))) ;) (if_statement "if (param_2 == 0) {\n    __format = (char *)dcgettext(0,"Report bugs to %s.\n",5,sVar3);\n    fprintf(param_1,__format,"<http:\n  }\n                    \n  exit(param_2);\n}" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    __format = (char *)dcgettext(0,"Report bugs to %s.\n",5,sVar3);\n    fprintf(param_1,__format,"<http:\n  }\n                    \n  exit(param_2);\n}" { (expression_statement "__format = (char *)dcgettext(0,"Report bugs to %s.\n",5,sVar3);" (assignment_expression "__format = (char *)dcgettext(0,"Report bugs to %s.\n",5,sVar3)" identifier = (cast_expression "(char *)dcgettext(0,"Report bugs to %s.\n",5,sVar3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"Report bugs to %s.\n",5,sVar3)" identifier (argument_list "(0,"Report bugs to %s.\n",5,sVar3)" ( number_literal , (string_literal ""Report bugs to %s.\n"" " string_content escape_sequence ") , number_literal , identifier ))))) ;) (expression_statement "fprintf(param_1,__format,"<http:\n  }\n                    \n  exit(param_2);" (call_expression "fprintf(param_1,__format,"<http:\n  }\n                    \n  exit(param_2)" identifier (argument_list "(param_1,__format,"<http:\n  }\n                    \n  exit(param_2)" ( identifier , identifier , (ERROR ""<http:\n  }" " string_content }) (call_expression "exit(param_2)" identifier (argument_list "(param_2)" ( identifier ))) ))) ;) })) })))
(translation_unit (function_definition TYPE (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 IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content escape_sequence ") , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content escape_sequence string_content escape_sequence ") , (string_literal " ") ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content escape_sequence ") , (string_literal " string_content ") ))) ;) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content ") , LIT , LIT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (call_expression IDENT (argument_list ( LIT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , LIT , LIT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence ") , LIT , LIT , IDENT )))) ;) (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 escape_sequence ") , LIT , IDENT ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (ERROR " string_content }) (call_expression IDENT (argument_list ( IDENT ))) ))) ;) })) })))
(function_definition "void __regparm3 FUN_00011980(FILE *param_1,int param_2)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  size_t sVar3;\n  char *__format;\n  \n  fprintf(param_1,"Usage: %s [options] [mangled names]\n",DAT_0001f150);\n  fprintf(param_1,"Options are:\n  [-_|--strip-underscore]     Ignore first leading underscore%s\n",\n          "");\n  fprintf(param_1,"  [-n|--no-strip-underscore]  Do not ignore a leading underscore%s\n",\n          " (default)");\n  fwrite("  [-p|--no-params]            Do not display function arguments\n  [-i|--no-verbose]           Do not show implementation details (if any)\n  [-t|--types]                Also attempt to demangle type encodings\n  [-s|--format "\n         ,1,0xdf,param_1);\n  puVar2 = (undefined4 *)PTR_libiberty_demanglers_00016fe0;\n  fprintf(param_1,"{%s",*(undefined4 *)PTR_libiberty_demanglers_00016fe0);\n  iVar1 = *(int *)((int)puVar2 + 0x10);\n  while (iVar1 != 0) {\n    fprintf(param_1,",%s",puVar2[3]);\n    iVar1 = puVar2[7];\n    puVar2 = puVar2 + 3;\n  }\n  fputc(0x7d,param_1);\n  fwrite(&DAT_0001438c,1,2,param_1);\n  sVar3 = fwrite("  [@<file>]                   Read extra options from <file>\n  [-h|--help]                 Display this information\n  [-v|--version]              Show the version information\nDemangled names are displayed to stdout.\nIf a name cannot be demangled it is just echoed to stdout.\nIf no names are provided on the command line, stdin is read.\n"\n                 ,1,0x150,param_1);\n  if (param_2 == 0) {\n    __format = (char *)dcgettext(0,"Report bugs to %s.\n",5,sVar3);\n    fprintf(param_1,__format,"<http:\n  }\n                    \n  exit(param_2);\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00011980(FILE *param_1,int param_2)" (identifier "FUN_00011980") (parameter_list "(FILE *param_1,int param_2)" (( "(") (parameter_declaration "FILE *param_1" (type_identifier "FILE") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  size_t sVar3;\n  char *__format;\n  \n  fprintf(param_1,"Usage: %s [options] [mangled names]\n",DAT_0001f150);\n  fprintf(param_1,"Options are:\n  [-_|--strip-underscore]     Ignore first leading underscore%s\n",\n          "");\n  fprintf(param_1,"  [-n|--no-strip-underscore]  Do not ignore a leading underscore%s\n",\n          " (default)");\n  fwrite("  [-p|--no-params]            Do not display function arguments\n  [-i|--no-verbose]           Do not show implementation details (if any)\n  [-t|--types]                Also attempt to demangle type encodings\n  [-s|--format "\n         ,1,0xdf,param_1);\n  puVar2 = (undefined4 *)PTR_libiberty_demanglers_00016fe0;\n  fprintf(param_1,"{%s",*(undefined4 *)PTR_libiberty_demanglers_00016fe0);\n  iVar1 = *(int *)((int)puVar2 + 0x10);\n  while (iVar1 != 0) {\n    fprintf(param_1,",%s",puVar2[3]);\n    iVar1 = puVar2[7];\n    puVar2 = puVar2 + 3;\n  }\n  fputc(0x7d,param_1);\n  fwrite(&DAT_0001438c,1,2,param_1);\n  sVar3 = fwrite("  [@<file>]                   Read extra options from <file>\n  [-h|--help]                 Display this information\n  [-v|--version]              Show the version information\nDemangled names are displayed to stdout.\nIf a name cannot be demangled it is just echoed to stdout.\nIf no names are provided on the command line, stdin is read.\n"\n                 ,1,0x150,param_1);\n  if (param_2 == 0) {\n    __format = (char *)dcgettext(0,"Report bugs to %s.\n",5,sVar3);\n    fprintf(param_1,__format,"<http:\n  }\n                    \n  exit(param_2);\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "size_t sVar3;" (primitive_type "size_t") (identifier "sVar3") (; ";")) (declaration "char *__format;" (primitive_type "char") (pointer_declarator "*__format" (* "*") (identifier "__format")) (; ";")) (expression_statement "fprintf(param_1,"Usage: %s [options] [mangled names]\n",DAT_0001f150);" (call_expression "fprintf(param_1,"Usage: %s [options] [mangled names]\n",DAT_0001f150)" (identifier "fprintf") (argument_list "(param_1,"Usage: %s [options] [mangled names]\n",DAT_0001f150)" (( "(") (identifier "param_1") (, ",") (string_literal ""Usage: %s [options] [mangled names]\n"" (" """) (string_content "Usage: %s [options] [mangled names]") (escape_sequence "\n") (" """)) (, ",") (identifier "DAT_0001f150") () ")"))) (; ";")) (expression_statement "fprintf(param_1,"Options are:\n  [-_|--strip-underscore]     Ignore first leading underscore%s\n",\n          "");" (call_expression "fprintf(param_1,"Options are:\n  [-_|--strip-underscore]     Ignore first leading underscore%s\n",\n          "")" (identifier "fprintf") (argument_list "(param_1,"Options are:\n  [-_|--strip-underscore]     Ignore first leading underscore%s\n",\n          "")" (( "(") (identifier "param_1") (, ",") (string_literal ""Options are:\n  [-_|--strip-underscore]     Ignore first leading underscore%s\n"" (" """) (string_content "Options are:") (escape_sequence "\n") (string_content "  [-_|--strip-underscore]     Ignore first leading underscore%s") (escape_sequence "\n") (" """)) (, ",") (string_literal """" (" """) (" """)) () ")"))) (; ";")) (expression_statement "fprintf(param_1,"  [-n|--no-strip-underscore]  Do not ignore a leading underscore%s\n",\n          " (default)");" (call_expression "fprintf(param_1,"  [-n|--no-strip-underscore]  Do not ignore a leading underscore%s\n",\n          " (default)")" (identifier "fprintf") (argument_list "(param_1,"  [-n|--no-strip-underscore]  Do not ignore a leading underscore%s\n",\n          " (default)")" (( "(") (identifier "param_1") (, ",") (string_literal ""  [-n|--no-strip-underscore]  Do not ignore a leading underscore%s\n"" (" """) (string_content "  [-n|--no-strip-underscore]  Do not ignore a leading underscore%s") (escape_sequence "\n") (" """)) (, ",") (string_literal "" (default)"" (" """) (string_content " (default)") (" """)) () ")"))) (; ";")) (expression_statement "fwrite("  [-p|--no-params]            Do not display function arguments\n  [-i|--no-verbose]           Do not show implementation details (if any)\n  [-t|--types]                Also attempt to demangle type encodings\n  [-s|--format "\n         ,1,0xdf,param_1);" (call_expression "fwrite("  [-p|--no-params]            Do not display function arguments\n  [-i|--no-verbose]           Do not show implementation details (if any)\n  [-t|--types]                Also attempt to demangle type encodings\n  [-s|--format "\n         ,1,0xdf,param_1)" (identifier "fwrite") (argument_list "("  [-p|--no-params]            Do not display function arguments\n  [-i|--no-verbose]           Do not show implementation details (if any)\n  [-t|--types]                Also attempt to demangle type encodings\n  [-s|--format "\n         ,1,0xdf,param_1)" (( "(") (string_literal ""  [-p|--no-params]            Do not display function arguments\n  [-i|--no-verbose]           Do not show implementation details (if any)\n  [-t|--types]                Also attempt to demangle type encodings\n  [-s|--format "" (" """) (string_content "  [-p|--no-params]            Do not display function arguments") (escape_sequence "\n") (string_content "  [-i|--no-verbose]           Do not show implementation details (if any)") (escape_sequence "\n") (string_content "  [-t|--types]                Also attempt to demangle type encodings") (escape_sequence "\n") (string_content "  [-s|--format ") (" """)) (, ",") (number_literal "1") (, ",") (number_literal "0xdf") (, ",") (identifier "param_1") () ")"))) (; ";")) (expression_statement "puVar2 = (undefined4 *)PTR_libiberty_demanglers_00016fe0;" (assignment_expression "puVar2 = (undefined4 *)PTR_libiberty_demanglers_00016fe0" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)PTR_libiberty_demanglers_00016fe0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_libiberty_demanglers_00016fe0"))) (; ";")) (expression_statement "fprintf(param_1,"{%s",*(undefined4 *)PTR_libiberty_demanglers_00016fe0);" (call_expression "fprintf(param_1,"{%s",*(undefined4 *)PTR_libiberty_demanglers_00016fe0)" (identifier "fprintf") (argument_list "(param_1,"{%s",*(undefined4 *)PTR_libiberty_demanglers_00016fe0)" (( "(") (identifier "param_1") (, ",") (string_literal ""{%s"" (" """) (string_content "{%s") (" """)) (, ",") (pointer_expression "*(undefined4 *)PTR_libiberty_demanglers_00016fe0" (* "*") (cast_expression "(undefined4 *)PTR_libiberty_demanglers_00016fe0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_libiberty_demanglers_00016fe0"))) () ")"))) (; ";")) (expression_statement "iVar1 = *(int *)((int)puVar2 + 0x10);" (assignment_expression "iVar1 = *(int *)((int)puVar2 + 0x10)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)((int)puVar2 + 0x10)" (* "*") (cast_expression "(int *)((int)puVar2 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar2 + 0x10)" (( "(") (binary_expression "(int)puVar2 + 0x10" (cast_expression "(int)puVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar2")) (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (while_statement "while (iVar1 != 0) {\n    fprintf(param_1,",%s",puVar2[3]);\n    iVar1 = puVar2[7];\n    puVar2 = puVar2 + 3;\n  }" (while "while") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    fprintf(param_1,",%s",puVar2[3]);\n    iVar1 = puVar2[7];\n    puVar2 = puVar2 + 3;\n  }" ({ "{") (expression_statement "fprintf(param_1,",%s",puVar2[3]);" (call_expression "fprintf(param_1,",%s",puVar2[3])" (identifier "fprintf") (argument_list "(param_1,",%s",puVar2[3])" (( "(") (identifier "param_1") (, ",") (string_literal "",%s"" (" """) (string_content ",%s") (" """)) (, ",") (subscript_expression "puVar2[3]" (identifier "puVar2") ([ "[") (number_literal "3") (] "]")) () ")"))) (; ";")) (expression_statement "iVar1 = puVar2[7];" (assignment_expression "iVar1 = puVar2[7]" (identifier "iVar1") (= "=") (subscript_expression "puVar2[7]" (identifier "puVar2") ([ "[") (number_literal "7") (] "]"))) (; ";")) (expression_statement "puVar2 = puVar2 + 3;" (assignment_expression "puVar2 = puVar2 + 3" (identifier "puVar2") (= "=") (binary_expression "puVar2 + 3" (identifier "puVar2") (+ "+") (number_literal "3"))) (; ";")) (} "}"))) (expression_statement "fputc(0x7d,param_1);" (call_expression "fputc(0x7d,param_1)" (identifier "fputc") (argument_list "(0x7d,param_1)" (( "(") (number_literal "0x7d") (, ",") (identifier "param_1") () ")"))) (; ";")) (expression_statement "fwrite(&DAT_0001438c,1,2,param_1);" (call_expression "fwrite(&DAT_0001438c,1,2,param_1)" (identifier "fwrite") (argument_list "(&DAT_0001438c,1,2,param_1)" (( "(") (pointer_expression "&DAT_0001438c" (& "&") (identifier "DAT_0001438c")) (, ",") (number_literal "1") (, ",") (number_literal "2") (, ",") (identifier "param_1") () ")"))) (; ";")) (expression_statement "sVar3 = fwrite("  [@<file>]                   Read extra options from <file>\n  [-h|--help]                 Display this information\n  [-v|--version]              Show the version information\nDemangled names are displayed to stdout.\nIf a name cannot be demangled it is just echoed to stdout.\nIf no names are provided on the command line, stdin is read.\n"\n                 ,1,0x150,param_1);" (assignment_expression "sVar3 = fwrite("  [@<file>]                   Read extra options from <file>\n  [-h|--help]                 Display this information\n  [-v|--version]              Show the version information\nDemangled names are displayed to stdout.\nIf a name cannot be demangled it is just echoed to stdout.\nIf no names are provided on the command line, stdin is read.\n"\n                 ,1,0x150,param_1)" (identifier "sVar3") (= "=") (call_expression "fwrite("  [@<file>]                   Read extra options from <file>\n  [-h|--help]                 Display this information\n  [-v|--version]              Show the version information\nDemangled names are displayed to stdout.\nIf a name cannot be demangled it is just echoed to stdout.\nIf no names are provided on the command line, stdin is read.\n"\n                 ,1,0x150,param_1)" (identifier "fwrite") (argument_list "("  [@<file>]                   Read extra options from <file>\n  [-h|--help]                 Display this information\n  [-v|--version]              Show the version information\nDemangled names are displayed to stdout.\nIf a name cannot be demangled it is just echoed to stdout.\nIf no names are provided on the command line, stdin is read.\n"\n                 ,1,0x150,param_1)" (( "(") (string_literal ""  [@<file>]                   Read extra options from <file>\n  [-h|--help]                 Display this information\n  [-v|--version]              Show the version information\nDemangled names are displayed to stdout.\nIf a name cannot be demangled it is just echoed to stdout.\nIf no names are provided on the command line, stdin is read.\n"" (" """) (string_content "  [@<file>]                   Read extra options from <file>") (escape_sequence "\n") (string_content "  [-h|--help]                 Display this information") (escape_sequence "\n") (string_content "  [-v|--version]              Show the version information") (escape_sequence "\n") (string_content "Demangled names are displayed to stdout.") (escape_sequence "\n") (string_content "If a name cannot be demangled it is just echoed to stdout.") (escape_sequence "\n") (string_content "If no names are provided on the command line, stdin is read.") (escape_sequence "\n") (" """)) (, ",") (number_literal "1") (, ",") (number_literal "0x150") (, ",") (identifier "param_1") () ")")))) (; ";")) (if_statement "if (param_2 == 0) {\n    __format = (char *)dcgettext(0,"Report bugs to %s.\n",5,sVar3);\n    fprintf(param_1,__format,"<http:\n  }\n                    \n  exit(param_2);\n}" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    __format = (char *)dcgettext(0,"Report bugs to %s.\n",5,sVar3);\n    fprintf(param_1,__format,"<http:\n  }\n                    \n  exit(param_2);\n}" ({ "{") (expression_statement "__format = (char *)dcgettext(0,"Report bugs to %s.\n",5,sVar3);" (assignment_expression "__format = (char *)dcgettext(0,"Report bugs to %s.\n",5,sVar3)" (identifier "__format") (= "=") (cast_expression "(char *)dcgettext(0,"Report bugs to %s.\n",5,sVar3)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext(0,"Report bugs to %s.\n",5,sVar3)" (identifier "dcgettext") (argument_list "(0,"Report bugs to %s.\n",5,sVar3)" (( "(") (number_literal "0") (, ",") (string_literal ""Report bugs to %s.\n"" (" """) (string_content "Report bugs to %s.") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") (, ",") (identifier "sVar3") () ")"))))) (; ";")) (expression_statement "fprintf(param_1,__format,"<http:\n  }\n                    \n  exit(param_2);" (call_expression "fprintf(param_1,__format,"<http:\n  }\n                    \n  exit(param_2)" (identifier "fprintf") (argument_list "(param_1,__format,"<http:\n  }\n                    \n  exit(param_2)" (( "(") (identifier "param_1") (, ",") (identifier "__format") (, ",") (ERROR ""<http:\n  }" (" """) (string_content "<http:") (} "}")) (call_expression "exit(param_2)" (identifier "exit") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")"))) () ""))) (; ";")) (} "}"))) (} "")))

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

void __regparm3 function_1(type_1 *stream,int var_6)

{
  int var_3;
  type_2 *var_4;
  size_t sVar3;
  char *__format;
  
  var_1((type_1 *)stream,"Usage: %s [options] [mangled names]\n",program_name);
  var_1((type_1 *)stream,
          "Options are:\n  [-_|--strip-underscore]     Ignore first leading underscore%s\n","");
  var_1((type_1 *)stream,"  [-n|--no-strip-underscore]  Do not ignore a leading underscore%s\n",
          " (default)");
  var_2("  [-p|--no-params]            Do not display function arguments\n  [-i|--no-verbose]           Do not show implementation details (if any)\n  [-t|--types]                Also attempt to demangle type encodings\n  [-s|--format "
         ,1,0xdf,(type_1 *)stream);
  var_4 = (type_2 *)PTR_libiberty_demanglers_00016fe0;
  var_1((type_1 *)stream,"{%s",*(type_2 *)PTR_libiberty_demanglers_00016fe0);
  var_3 = *(int *)((int)var_4 + 0x10);
  while (var_3 != 0) {
    var_1((type_1 *)stream,",%s",var_4[3]);
    var_3 = var_4[7];
    var_4 = var_4 + 3;
  }
  var_5(0x7d,(type_1 *)stream);
  var_2(&DAT_0001438c,1,2,(type_1 *)stream);
  sVar3 = var_2("  [@<file>]                   Read extra options from <file>\n  [-h|--help]                 Display this information\n  [-v|--version]              Show the version information\nDemangled names are displayed to stdout.\nIf a name cannot be demangled it is just echoed to stdout.\nIf no names are provided on the command line, stdin is read.\n"
                 ,1,0x150,(type_1 *)stream);
  if (var_6 == 0) {
    __format = (char *)var_7(0,"Report bugs to %s.\n",5,sVar3);
    var_1((type_1 *)stream,__format,"<http://www.sourceware.org/bugzilla/>");
  }
                    /* WARNING: Subroutine does not return */
  var_8(var_6);
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content) (escape_sequence)) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content) (escape_sequence) (string_content) (escape_sequence)) (string_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content) (escape_sequence)) (string_literal (string_content))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content) (escape_sequence) (string_content) (escape_sequence) (string_content) (escape_sequence) (string_content)) (number_literal) (number_literal) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))))) (while_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)) (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (number_literal) (number_literal) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content) (escape_sequence) (string_content) (escape_sequence) (string_content) (escape_sequence) (string_content) (escape_sequence) (string_content) (escape_sequence) (string_content) (escape_sequence)) (number_literal) (number_literal) (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) (escape_sequence)) (number_literal) (identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (ERROR (string_content)) (call_expression function: (identifier) arguments: (argument_list (identifier))) (MISSING ")")))))) (MISSING "}"))))

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

void __regparm3 MASKED(FILE *param_1,int param_2)

{
  int iVar1;
  undefined4 *puVar2;
  size_t sVar3;
  char *__format;
  
  fprintf(param_1,"Usage: %s [options] [mangled names]\n",DAT_0001f150);
  fprintf(param_1,"Options are:\n  [-_|--strip-underscore]     Ignore first leading underscore%s\n",
          "");
  fprintf(param_1,"  [-n|--no-strip-underscore]  Do not ignore a leading underscore%s\n",
          " (default)");
  fwrite("  [-p|--no-params]            Do not display function arguments\n  [-i|--no-verbose]           Do not show implementation details (if any)\n  [-t|--types]                Also attempt to demangle type encodings\n  [-s|--format "
         ,1,0xdf,param_1);
  puVar2 = (undefined4 *)PTR_libiberty_demanglers_00016fe0;
  fprintf(param_1,"{%s",*(undefined4 *)PTR_libiberty_demanglers_00016fe0);
  iVar1 = *(int *)((int)puVar2 + 0x10);
  while (iVar1 != 0) {
    fprintf(param_1,",%s",puVar2[3]);
    iVar1 = puVar2[7];
    puVar2 = puVar2 + 3;
  }
  fputc(0x7d,param_1);
  fwrite(&DAT_0001438c,1,2,param_1);
  sVar3 = fwrite("  [@<file>]                   Read extra options from <file>\n  [-h|--help]                 Display this information\n  [-v|--version]              Show the version information\nDemangled names are displayed to stdout.\nIf a name cannot be demangled it is just echoed to stdout.\nIf no names are provided on the command line, stdin is read.\n"
                 ,1,0x150,param_1);
  if (param_2 == 0) {
    __format = (char *)dcgettext(0,"Report bugs to %s.\n",5,sVar3);
    fprintf(param_1,__format,"<http://www.sourceware.org/bugzilla/>");
  }
                    /* WARNING: Subroutine does not return */
  exit(param_2);
}

