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

int process_files(vector *the_program,char **argv)

{
  int iVar1;
  _Bool _Var2;
  int iVar3;
  char *pcVar4;
  undefined4 extraout_EDX;
  int in_GS_OFFSET;
  input input;
  
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  line_init(&line,(line *)0x0,0x32);
  line_init(&hold,(line *)0x0,0);
  line_init(&buffer,(line *)0x0,0);
  input.reset_at_next_file = true;
  if ((argv == (char **)0x0) || (*argv == (char *)0x0)) {
    if (in_place_extension != (char *)0x0) {
      pcVar4 = (char *)dcgettext(0,"no input files",5,extraout_EDX);
                    /* WARNING: Subroutine does not return */
      panic(pcVar4);
    }
    input.file_list = process_files::stdin_argv;
  }
  else {
    input.file_list = argv;
  }
  input.bad_count = 0;
  input.line_number = 0;
  input.fp = (FILE *)0x0;
  input.read_fn = read_always_fail;
  do {
    while( true ) {
      _Var2 = read_pattern_space(&input,the_program,0);
      if (!_Var2) {
        iVar3 = 0;
        goto LAB_000193e2;
      }
      if (debug == false) break;
      pcVar4 = input.in_file_name;
      if ((input.fp != (FILE *)0x0) &&
         (iVar3 = fileno((FILE *)input.fp), pcVar4 = input.in_file_name, iVar3 == 0)) {
        pcVar4 = "STDIN";
      }
      __printf_chk(1,"INPUT:   \'%s\' line %lu\n",pcVar4,input.line_number);
      debug_print_line(&line);
      iVar3 = execute_program(the_program,&input);
      if (iVar3 != -1) goto LAB_000193e2;
    }
    iVar3 = execute_program(the_program,&input);
  } while (iVar3 == -1);
LAB_000193e2:
  closedown(&input);
  if (input.bad_count != 0) {
    iVar3 = 2;
  }
  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail_local();
  }
  return iVar3;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Removing unreachable block (ram,0x00019386) */
/* WARNING: Removing unreachable block (ram,0x00019396) */
/* WARNING: Removing unreachable block (ram,0x000193fc) */

int FUN_00019280(undefined4 param_1,int *param_2)

{
  int iVar1;
  char cVar2;
  int iVar3;
  undefined4 uVar4;
  undefined4 extraout_EDX;
  int in_GS_OFFSET;
  undefined4 local_8c;
  
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  FUN_000177d0();
  FUN_000177d0();
  FUN_000177d0();
  if (((param_2 == (int *)0x0) || (*param_2 == 0)) && (DAT_00031410 != 0)) {
    uVar4 = dcgettext(0,"no input files",5,extraout_EDX);
                    /* WARNING: Subroutine does not return */
    FUN_0001a340(uVar4);
  }
  do {
    while( true ) {
      cVar2 = FUN_00017b40();
      if (cVar2 == '\0') {
        iVar3 = 0;
        goto LAB_000193e2;
      }
      if (DAT_00031414 == '\0') break;
      __printf_chk(1,"INPUT:   \'%s\' line %lu\n",local_8c,0);
      FUN_00016620();
      iVar3 = FUN_00017c70();
      if (iVar3 != -1) goto LAB_000193e2;
    }
    iVar3 = FUN_00017c70();
  } while (iVar3 == -1);
LAB_000193e2:
  FUN_00016c70();
  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {
    return iVar3;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00025de0();
}


PUSH EBP
MOV ECX,0x32
XOR EDX,EDX
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00012c30
ADD EBX,0x17d70
SUB ESP,0xac
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x9c],EAX
XOR EAX,EAX
MOV EDI,dword ptr [ESP + 0xc0]
MOV ESI,dword ptr [ESP + 0xc4]
LEA EAX,[EBX + 0x3dc]
CALL 0x000177d0
XOR ECX,ECX
XOR EDX,EDX
LEA EAX,[EBX + 0x3a4]
CALL 0x000177d0
XOR ECX,ECX
XOR EDX,EDX
LEA EAX,[EBX + 0x388]
CALL 0x000177d0
MOV byte ptr [ESP + 0x24],0x1
TEST ESI,ESI
JZ 0x00019300
MOV EBP,dword ptr [ESI]
TEST EBP,EBP
JZ 0x00019300
MOV dword ptr [ESP + 0x18],ESI
JMP 0x0001931a
LEA EAX,[EBX + 0x410]
MOV ECX,dword ptr [EAX]
TEST ECX,ECX
JNZ 0x00019421
LEA EAX,[EBX + 0x234]
MOV dword ptr [ESP + 0x18],EAX
LEA EAX,[EBX + 0xfffe5610]
LEA ESI,[ESP + 0x18]
MOV dword ptr [ESP + 0x1c],0x0
LEA EBP,[EBX + 0x414]
MOV dword ptr [ESP + 0x28],EAX
LEA EAX,[EBX + 0xffff5feb]
MOV dword ptr [ESP + 0x20],0x0
MOV dword ptr [ESP + 0x94],0x0
MOV dword ptr [ESP + 0xc],EAX
JMP 0x00019366
MOV EDX,ESI
MOV EAX,EDI
CALL 0x00017c70
CMP EAX,-0x1
JNZ 0x000193c9
XOR ECX,ECX
MOV EDX,EDI
MOV EAX,ESI
CALL 0x00017b40
TEST AL,AL
JZ 0x000193e0
CMP byte ptr [EBP],0x0
JZ 0x00019358
MOV EAX,dword ptr [ESP + 0x94]
TEST EAX,EAX
JZ 0x000193d0
SUB ESP,0xc
PUSH EAX
CALL 0x000124d0
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x000193d0
MOV EDX,dword ptr [ESP + 0x20]
LEA EAX,[EBX + 0xffff5fd6]
PUSH EDX
PUSH EAX
PUSH dword ptr [ESP + 0x14]
PUSH 0x1
CALL 0x00012500
LEA EAX,[EBX + 0x3dc]
CALL 0x00016620
ADD ESP,0x10
MOV EDX,ESI
MOV EAX,EDI
CALL 0x00017c70
CMP EAX,-0x1
JZ 0x00019366
MOV EDX,EAX
JMP 0x000193e2
MOV EDX,dword ptr [ESP + 0x20]
MOV EAX,dword ptr [ESP + 0x30]
JMP 0x000193a0
XOR EDX,EDX
MOV EAX,ESI
MOV dword ptr [ESP + 0xc],EDX
CALL 0x00016c70
MOV EAX,dword ptr [ESP + 0x1c]
MOV EDX,dword ptr [ESP + 0xc]
TEST EAX,EAX
MOV EAX,0x2
CMOVNZ EDX,EAX
MOV ECX,dword ptr [ESP + 0x9c]
XOR ECX,dword ptr GS:[0x14]
MOV EAX,EDX
JNZ 0x0001941c
ADD ESP,0xac
POP EBX
POP ESI
POP EDI
POP EBP
RET
CALL 0x00025de0
LEA EAX,[EBX + 0xffff5fdc]
PUSH EDX
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x00012140
MOV dword ptr [ESP],EAX
CALL 0x0001a340
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Removing unreachable block (ram,0x00019386) */\n/* WARNING: Removing unreachable block (ram,0x00019396) */\n/* WARNING: Removing unreachable block (ram,0x000193fc) */\n\nint FUN_00019280(undefined4 param_1,int *param_2)\n\n{\n  int iVar1;\n  char cVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 extraout_EDX;\n  int in_GS_OFFSET;\n  undefined4 local_8c;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  FUN_000177d0();\n  FUN_000177d0();\n  FUN_000177d0();\n  if (((param_2 == (int *)0x0) || (*param_2 == 0)) && (DAT_00031410 != 0)) {\n    uVar4 = dcgettext(0,"no input files",5,extraout_EDX);\n                    /* WARNING: Subroutine does not return */\n    FUN_0001a340(uVar4);\n  }\n  do {\n    while( true ) {\n      cVar2 = FUN_00017b40();\n      if (cVar2 == '\0') {\n        iVar3 = 0;\n        goto LAB_000193e2;\n      }\n      if (DAT_00031414 == '\0') break;\n      __printf_chk(1,"INPUT:   \'%s\' line %lu\n",local_8c,0);\n      FUN_00016620();\n      iVar3 = FUN_00017c70();\n      if (iVar3 != -1) goto LAB_000193e2;\n    }\n    iVar3 = FUN_00017c70();\n  } while (iVar3 == -1);\nLAB_000193e2:\n  FUN_00016c70();\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00025de0();\n}\n\n" comment comment comment comment (function_definition "int FUN_00019280(undefined4 param_1,int *param_2)\n\n{\n  int iVar1;\n  char cVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 extraout_EDX;\n  int in_GS_OFFSET;\n  undefined4 local_8c;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  FUN_000177d0();\n  FUN_000177d0();\n  FUN_000177d0();\n  if (((param_2 == (int *)0x0) || (*param_2 == 0)) && (DAT_00031410 != 0)) {\n    uVar4 = dcgettext(0,"no input files",5,extraout_EDX);\n                    /* WARNING: Subroutine does not return */\n    FUN_0001a340(uVar4);\n  }\n  do {\n    while( true ) {\n      cVar2 = FUN_00017b40();\n      if (cVar2 == '\0') {\n        iVar3 = 0;\n        goto LAB_000193e2;\n      }\n      if (DAT_00031414 == '\0') break;\n      __printf_chk(1,"INPUT:   \'%s\' line %lu\n",local_8c,0);\n      FUN_00016620();\n      iVar3 = FUN_00017c70();\n      if (iVar3 != -1) goto LAB_000193e2;\n    }\n    iVar3 = FUN_00017c70();\n  } while (iVar3 == -1);\nLAB_000193e2:\n  FUN_00016c70();\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00025de0();\n}" primitive_type (function_declarator "FUN_00019280(undefined4 param_1,int *param_2)" identifier (parameter_list "(undefined4 param_1,int *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  char cVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 extraout_EDX;\n  int in_GS_OFFSET;\n  undefined4 local_8c;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  FUN_000177d0();\n  FUN_000177d0();\n  FUN_000177d0();\n  if (((param_2 == (int *)0x0) || (*param_2 == 0)) && (DAT_00031410 != 0)) {\n    uVar4 = dcgettext(0,"no input files",5,extraout_EDX);\n                    /* WARNING: Subroutine does not return */\n    FUN_0001a340(uVar4);\n  }\n  do {\n    while( true ) {\n      cVar2 = FUN_00017b40();\n      if (cVar2 == '\0') {\n        iVar3 = 0;\n        goto LAB_000193e2;\n      }\n      if (DAT_00031414 == '\0') break;\n      __printf_chk(1,"INPUT:   \'%s\' line %lu\n",local_8c,0);\n      FUN_00016620();\n      iVar3 = FUN_00017c70();\n      if (iVar3 != -1) goto LAB_000193e2;\n    }\n    iVar3 = FUN_00017c70();\n  } while (iVar3 == -1);\nLAB_000193e2:\n  FUN_00016c70();\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00025de0();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 extraout_EDX;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined4 local_8c;" type_identifier identifier ;) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "FUN_000177d0();" (call_expression "FUN_000177d0()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_000177d0();" (call_expression "FUN_000177d0()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_000177d0();" (call_expression "FUN_000177d0()" identifier (argument_list "()" ( ))) ;) (if_statement "if (((param_2 == (int *)0x0) || (*param_2 == 0)) && (DAT_00031410 != 0)) {\n    uVar4 = dcgettext(0,"no input files",5,extraout_EDX);\n                    /* WARNING: Subroutine does not return */\n    FUN_0001a340(uVar4);\n  }" if (parenthesized_expression "(((param_2 == (int *)0x0) || (*param_2 == 0)) && (DAT_00031410 != 0))" ( (binary_expression "((param_2 == (int *)0x0) || (*param_2 == 0)) && (DAT_00031410 != 0)" (parenthesized_expression "((param_2 == (int *)0x0) || (*param_2 == 0))" ( (binary_expression "(param_2 == (int *)0x0) || (*param_2 == 0)" (parenthesized_expression "(param_2 == (int *)0x0)" ( (binary_expression "param_2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(*param_2 == 0)" ( (binary_expression "*param_2 == 0" (pointer_expression "*param_2" * identifier) == number_literal) ))) )) && (parenthesized_expression "(DAT_00031410 != 0)" ( (binary_expression "DAT_00031410 != 0" identifier != number_literal) ))) )) (compound_statement "{\n    uVar4 = dcgettext(0,"no input files",5,extraout_EDX);\n                    /* WARNING: Subroutine does not return */\n    FUN_0001a340(uVar4);\n  }" { (expression_statement "uVar4 = dcgettext(0,"no input files",5,extraout_EDX);" (assignment_expression "uVar4 = dcgettext(0,"no input files",5,extraout_EDX)" identifier = (call_expression "dcgettext(0,"no input files",5,extraout_EDX)" identifier (argument_list "(0,"no input files",5,extraout_EDX)" ( number_literal , (string_literal ""no input files"" " string_content ") , number_literal , identifier )))) ;) comment (expression_statement "FUN_0001a340(uVar4);" (call_expression "FUN_0001a340(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;) })) (do_statement "do {\n    while( true ) {\n      cVar2 = FUN_00017b40();\n      if (cVar2 == '\0') {\n        iVar3 = 0;\n        goto LAB_000193e2;\n      }\n      if (DAT_00031414 == '\0') break;\n      __printf_chk(1,"INPUT:   \'%s\' line %lu\n",local_8c,0);\n      FUN_00016620();\n      iVar3 = FUN_00017c70();\n      if (iVar3 != -1) goto LAB_000193e2;\n    }\n    iVar3 = FUN_00017c70();\n  } while (iVar3 == -1);" do (compound_statement "{\n    while( true ) {\n      cVar2 = FUN_00017b40();\n      if (cVar2 == '\0') {\n        iVar3 = 0;\n        goto LAB_000193e2;\n      }\n      if (DAT_00031414 == '\0') break;\n      __printf_chk(1,"INPUT:   \'%s\' line %lu\n",local_8c,0);\n      FUN_00016620();\n      iVar3 = FUN_00017c70();\n      if (iVar3 != -1) goto LAB_000193e2;\n    }\n    iVar3 = FUN_00017c70();\n  }" { (while_statement "while( true ) {\n      cVar2 = FUN_00017b40();\n      if (cVar2 == '\0') {\n        iVar3 = 0;\n        goto LAB_000193e2;\n      }\n      if (DAT_00031414 == '\0') break;\n      __printf_chk(1,"INPUT:   \'%s\' line %lu\n",local_8c,0);\n      FUN_00016620();\n      iVar3 = FUN_00017c70();\n      if (iVar3 != -1) goto LAB_000193e2;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      cVar2 = FUN_00017b40();\n      if (cVar2 == '\0') {\n        iVar3 = 0;\n        goto LAB_000193e2;\n      }\n      if (DAT_00031414 == '\0') break;\n      __printf_chk(1,"INPUT:   \'%s\' line %lu\n",local_8c,0);\n      FUN_00016620();\n      iVar3 = FUN_00017c70();\n      if (iVar3 != -1) goto LAB_000193e2;\n    }" { (expression_statement "cVar2 = FUN_00017b40();" (assignment_expression "cVar2 = FUN_00017b40()" identifier = (call_expression "FUN_00017b40()" identifier (argument_list "()" ( )))) ;) (if_statement "if (cVar2 == '\0') {\n        iVar3 = 0;\n        goto LAB_000193e2;\n      }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar3 = 0;\n        goto LAB_000193e2;\n      }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000193e2;" goto statement_identifier ;) })) (if_statement "if (DAT_00031414 == '\0') break;" if (parenthesized_expression "(DAT_00031414 == '\0')" ( (binary_expression "DAT_00031414 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (break_statement "break;" break ;)) (expression_statement "__printf_chk(1,"INPUT:   \'%s\' line %lu\n",local_8c,0);" (call_expression "__printf_chk(1,"INPUT:   \'%s\' line %lu\n",local_8c,0)" identifier (argument_list "(1,"INPUT:   \'%s\' line %lu\n",local_8c,0)" ( number_literal , (string_literal ""INPUT:   \'%s\' line %lu\n"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence ") , identifier , number_literal ))) ;) (expression_statement "FUN_00016620();" (call_expression "FUN_00016620()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar3 = FUN_00017c70();" (assignment_expression "iVar3 = FUN_00017c70()" identifier = (call_expression "FUN_00017c70()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar3 != -1) goto LAB_000193e2;" if (parenthesized_expression "(iVar3 != -1)" ( (binary_expression "iVar3 != -1" identifier != number_literal) )) (goto_statement "goto LAB_000193e2;" goto statement_identifier ;)) })) (expression_statement "iVar3 = FUN_00017c70();" (assignment_expression "iVar3 = FUN_00017c70()" identifier = (call_expression "FUN_00017c70()" identifier (argument_list "()" ( )))) ;) }) while (parenthesized_expression "(iVar3 == -1)" ( (binary_expression "iVar3 == -1" identifier == number_literal) )) ;) (labeled_statement "LAB_000193e2:\n  FUN_00016c70();" statement_identifier : (expression_statement "FUN_00016c70();" (call_expression "FUN_00016c70()" identifier (argument_list "()" ( ))) ;)) (if_statement "if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar3;\n  }" if (parenthesized_expression "(iVar1 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar1 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return iVar3;\n  }" { (return_statement "return iVar3;" return identifier ;) })) comment (expression_statement "FUN_00025de0();" (call_expression "FUN_00025de0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nint process_files(vector *the_program,char **argv)\n\n{\n  int iVar1;\n  _Bool _Var2;\n  int iVar3;\n  char *pcVar4;\n  undefined4 extraout_EDX;\n  int in_GS_OFFSET;\n  input input;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  line_init(&line,(line *)0x0,0x32);\n  line_init(&hold,(line *)0x0,0);\n  line_init(&buffer,(line *)0x0,0);\n  input.reset_at_next_file = true;\n  if ((argv == (char **)0x0) || (*argv == (char *)0x0)) {\n    if (in_place_extension != (char *)0x0) {\n      pcVar4 = (char *)dcgettext(0,"no input files",5,extraout_EDX);\n                    /* WARNING: Subroutine does not return */\n      panic(pcVar4);\n    }\n    input.file_list = process_files::stdin_argv;\n  }\n  else {\n    input.file_list = argv;\n  }\n  input.bad_count = 0;\n  input.line_number = 0;\n  input.fp = (FILE *)0x0;\n  input.read_fn = read_always_fail;\n  do {\n    while( true ) {\n      _Var2 = read_pattern_space(&input,the_program,0);\n      if (!_Var2) {\n        iVar3 = 0;\n        goto LAB_000193e2;\n      }\n      if (debug == false) break;\n      pcVar4 = input.in_file_name;\n      if ((input.fp != (FILE *)0x0) &&\n         (iVar3 = fileno((FILE *)input.fp), pcVar4 = input.in_file_name, iVar3 == 0)) {\n        pcVar4 = "STDIN";\n      }\n      __printf_chk(1,"INPUT:   \'%s\' line %lu\n",pcVar4,input.line_number);\n      debug_print_line(&line);\n      iVar3 = execute_program(the_program,&input);\n      if (iVar3 != -1) goto LAB_000193e2;\n    }\n    iVar3 = execute_program(the_program,&input);\n  } while (iVar3 == -1);\nLAB_000193e2:\n  closedown(&input);\n  if (input.bad_count != 0) {\n    iVar3 = 2;\n  }\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return iVar3;\n}\n\n" comment comment (function_definition "int process_files(vector *the_program,char **argv)\n\n{\n  int iVar1;\n  _Bool _Var2;\n  int iVar3;\n  char *pcVar4;\n  undefined4 extraout_EDX;\n  int in_GS_OFFSET;\n  input input;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  line_init(&line,(line *)0x0,0x32);\n  line_init(&hold,(line *)0x0,0);\n  line_init(&buffer,(line *)0x0,0);\n  input.reset_at_next_file = true;\n  if ((argv == (char **)0x0) || (*argv == (char *)0x0)) {\n    if (in_place_extension != (char *)0x0) {\n      pcVar4 = (char *)dcgettext(0,"no input files",5,extraout_EDX);\n                    /* WARNING: Subroutine does not return */\n      panic(pcVar4);\n    }\n    input.file_list = process_files::stdin_argv;\n  }\n  else {\n    input.file_list = argv;\n  }\n  input.bad_count = 0;\n  input.line_number = 0;\n  input.fp = (FILE *)0x0;\n  input.read_fn = read_always_fail;\n  do {\n    while( true ) {\n      _Var2 = read_pattern_space(&input,the_program,0);\n      if (!_Var2) {\n        iVar3 = 0;\n        goto LAB_000193e2;\n      }\n      if (debug == false) break;\n      pcVar4 = input.in_file_name;\n      if ((input.fp != (FILE *)0x0) &&\n         (iVar3 = fileno((FILE *)input.fp), pcVar4 = input.in_file_name, iVar3 == 0)) {\n        pcVar4 = "STDIN";\n      }\n      __printf_chk(1,"INPUT:   \'%s\' line %lu\n",pcVar4,input.line_number);\n      debug_print_line(&line);\n      iVar3 = execute_program(the_program,&input);\n      if (iVar3 != -1) goto LAB_000193e2;\n    }\n    iVar3 = execute_program(the_program,&input);\n  } while (iVar3 == -1);\nLAB_000193e2:\n  closedown(&input);\n  if (input.bad_count != 0) {\n    iVar3 = 2;\n  }\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return iVar3;\n}" primitive_type (function_declarator "process_files(vector *the_program,char **argv)" identifier (parameter_list "(vector *the_program,char **argv)" ( (parameter_declaration "vector *the_program" type_identifier (pointer_declarator "*the_program" * identifier)) , (parameter_declaration "char **argv" primitive_type (pointer_declarator "**argv" * (pointer_declarator "*argv" * identifier))) ))) (compound_statement "{\n  int iVar1;\n  _Bool _Var2;\n  int iVar3;\n  char *pcVar4;\n  undefined4 extraout_EDX;\n  int in_GS_OFFSET;\n  input input;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  line_init(&line,(line *)0x0,0x32);\n  line_init(&hold,(line *)0x0,0);\n  line_init(&buffer,(line *)0x0,0);\n  input.reset_at_next_file = true;\n  if ((argv == (char **)0x0) || (*argv == (char *)0x0)) {\n    if (in_place_extension != (char *)0x0) {\n      pcVar4 = (char *)dcgettext(0,"no input files",5,extraout_EDX);\n                    /* WARNING: Subroutine does not return */\n      panic(pcVar4);\n    }\n    input.file_list = process_files::stdin_argv;\n  }\n  else {\n    input.file_list = argv;\n  }\n  input.bad_count = 0;\n  input.line_number = 0;\n  input.fp = (FILE *)0x0;\n  input.read_fn = read_always_fail;\n  do {\n    while( true ) {\n      _Var2 = read_pattern_space(&input,the_program,0);\n      if (!_Var2) {\n        iVar3 = 0;\n        goto LAB_000193e2;\n      }\n      if (debug == false) break;\n      pcVar4 = input.in_file_name;\n      if ((input.fp != (FILE *)0x0) &&\n         (iVar3 = fileno((FILE *)input.fp), pcVar4 = input.in_file_name, iVar3 == 0)) {\n        pcVar4 = "STDIN";\n      }\n      __printf_chk(1,"INPUT:   \'%s\' line %lu\n",pcVar4,input.line_number);\n      debug_print_line(&line);\n      iVar3 = execute_program(the_program,&input);\n      if (iVar3 != -1) goto LAB_000193e2;\n    }\n    iVar3 = execute_program(the_program,&input);\n  } while (iVar3 == -1);\nLAB_000193e2:\n  closedown(&input);\n  if (input.bad_count != 0) {\n    iVar3 = 2;\n  }\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return iVar3;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "_Bool _Var2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "undefined4 extraout_EDX;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "input input;" type_identifier identifier ;) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "line_init(&line,(line *)0x0,0x32);" (call_expression "line_init(&line,(line *)0x0,0x32)" identifier (argument_list "(&line,(line *)0x0,0x32)" ( (pointer_expression "&line" & identifier) , (cast_expression "(line *)0x0" ( (type_descriptor "line *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , number_literal ))) ;) (expression_statement "line_init(&hold,(line *)0x0,0);" (call_expression "line_init(&hold,(line *)0x0,0)" identifier (argument_list "(&hold,(line *)0x0,0)" ( (pointer_expression "&hold" & identifier) , (cast_expression "(line *)0x0" ( (type_descriptor "line *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , number_literal ))) ;) (expression_statement "line_init(&buffer,(line *)0x0,0);" (call_expression "line_init(&buffer,(line *)0x0,0)" identifier (argument_list "(&buffer,(line *)0x0,0)" ( (pointer_expression "&buffer" & identifier) , (cast_expression "(line *)0x0" ( (type_descriptor "line *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , number_literal ))) ;) (expression_statement "input.reset_at_next_file = true;" (assignment_expression "input.reset_at_next_file = true" (field_expression "input.reset_at_next_file" identifier . field_identifier) = true) ;) (if_statement "if ((argv == (char **)0x0) || (*argv == (char *)0x0)) {\n    if (in_place_extension != (char *)0x0) {\n      pcVar4 = (char *)dcgettext(0,"no input files",5,extraout_EDX);\n                    /* WARNING: Subroutine does not return */\n      panic(pcVar4);\n    }\n    input.file_list = process_files::stdin_argv;\n  }\n  else {\n    input.file_list = argv;\n  }" if (parenthesized_expression "((argv == (char **)0x0) || (*argv == (char *)0x0))" ( (binary_expression "(argv == (char **)0x0) || (*argv == (char *)0x0)" (parenthesized_expression "(argv == (char **)0x0)" ( (binary_expression "argv == (char **)0x0" identifier == (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) || (parenthesized_expression "(*argv == (char *)0x0)" ( (binary_expression "*argv == (char *)0x0" (pointer_expression "*argv" * identifier) == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n    if (in_place_extension != (char *)0x0) {\n      pcVar4 = (char *)dcgettext(0,"no input files",5,extraout_EDX);\n                    /* WARNING: Subroutine does not return */\n      panic(pcVar4);\n    }\n    input.file_list = process_files::stdin_argv;\n  }" { (if_statement "if (in_place_extension != (char *)0x0) {\n      pcVar4 = (char *)dcgettext(0,"no input files",5,extraout_EDX);\n                    /* WARNING: Subroutine does not return */\n      panic(pcVar4);\n    }" if (parenthesized_expression "(in_place_extension != (char *)0x0)" ( (binary_expression "in_place_extension != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pcVar4 = (char *)dcgettext(0,"no input files",5,extraout_EDX);\n                    /* WARNING: Subroutine does not return */\n      panic(pcVar4);\n    }" { (expression_statement "pcVar4 = (char *)dcgettext(0,"no input files",5,extraout_EDX);" (assignment_expression "pcVar4 = (char *)dcgettext(0,"no input files",5,extraout_EDX)" identifier = (cast_expression "(char *)dcgettext(0,"no input files",5,extraout_EDX)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"no input files",5,extraout_EDX)" identifier (argument_list "(0,"no input files",5,extraout_EDX)" ( number_literal , (string_literal ""no input files"" " string_content ") , number_literal , identifier ))))) ;) comment (expression_statement "panic(pcVar4);" (call_expression "panic(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier ))) ;) })) (expression_statement "input.file_list = process_files::stdin_argv;" (assignment_expression "input.file_list = process_files" (field_expression "input.file_list" identifier . field_identifier) = identifier) (ERROR "::stdin_argv" : : identifier) ;) }) (else_clause "else {\n    input.file_list = argv;\n  }" else (compound_statement "{\n    input.file_list = argv;\n  }" { (expression_statement "input.file_list = argv;" (assignment_expression "input.file_list = argv" (field_expression "input.file_list" identifier . field_identifier) = identifier) ;) }))) (expression_statement "input.bad_count = 0;" (assignment_expression "input.bad_count = 0" (field_expression "input.bad_count" identifier . field_identifier) = number_literal) ;) (expression_statement "input.line_number = 0;" (assignment_expression "input.line_number = 0" (field_expression "input.line_number" identifier . field_identifier) = number_literal) ;) (expression_statement "input.fp = (FILE *)0x0;" (assignment_expression "input.fp = (FILE *)0x0" (field_expression "input.fp" identifier . field_identifier) = (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "input.read_fn = read_always_fail;" (assignment_expression "input.read_fn = read_always_fail" (field_expression "input.read_fn" identifier . field_identifier) = identifier) ;) (do_statement "do {\n    while( true ) {\n      _Var2 = read_pattern_space(&input,the_program,0);\n      if (!_Var2) {\n        iVar3 = 0;\n        goto LAB_000193e2;\n      }\n      if (debug == false) break;\n      pcVar4 = input.in_file_name;\n      if ((input.fp != (FILE *)0x0) &&\n         (iVar3 = fileno((FILE *)input.fp), pcVar4 = input.in_file_name, iVar3 == 0)) {\n        pcVar4 = "STDIN";\n      }\n      __printf_chk(1,"INPUT:   \'%s\' line %lu\n",pcVar4,input.line_number);\n      debug_print_line(&line);\n      iVar3 = execute_program(the_program,&input);\n      if (iVar3 != -1) goto LAB_000193e2;\n    }\n    iVar3 = execute_program(the_program,&input);\n  } while (iVar3 == -1);" do (compound_statement "{\n    while( true ) {\n      _Var2 = read_pattern_space(&input,the_program,0);\n      if (!_Var2) {\n        iVar3 = 0;\n        goto LAB_000193e2;\n      }\n      if (debug == false) break;\n      pcVar4 = input.in_file_name;\n      if ((input.fp != (FILE *)0x0) &&\n         (iVar3 = fileno((FILE *)input.fp), pcVar4 = input.in_file_name, iVar3 == 0)) {\n        pcVar4 = "STDIN";\n      }\n      __printf_chk(1,"INPUT:   \'%s\' line %lu\n",pcVar4,input.line_number);\n      debug_print_line(&line);\n      iVar3 = execute_program(the_program,&input);\n      if (iVar3 != -1) goto LAB_000193e2;\n    }\n    iVar3 = execute_program(the_program,&input);\n  }" { (while_statement "while( true ) {\n      _Var2 = read_pattern_space(&input,the_program,0);\n      if (!_Var2) {\n        iVar3 = 0;\n        goto LAB_000193e2;\n      }\n      if (debug == false) break;\n      pcVar4 = input.in_file_name;\n      if ((input.fp != (FILE *)0x0) &&\n         (iVar3 = fileno((FILE *)input.fp), pcVar4 = input.in_file_name, iVar3 == 0)) {\n        pcVar4 = "STDIN";\n      }\n      __printf_chk(1,"INPUT:   \'%s\' line %lu\n",pcVar4,input.line_number);\n      debug_print_line(&line);\n      iVar3 = execute_program(the_program,&input);\n      if (iVar3 != -1) goto LAB_000193e2;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      _Var2 = read_pattern_space(&input,the_program,0);\n      if (!_Var2) {\n        iVar3 = 0;\n        goto LAB_000193e2;\n      }\n      if (debug == false) break;\n      pcVar4 = input.in_file_name;\n      if ((input.fp != (FILE *)0x0) &&\n         (iVar3 = fileno((FILE *)input.fp), pcVar4 = input.in_file_name, iVar3 == 0)) {\n        pcVar4 = "STDIN";\n      }\n      __printf_chk(1,"INPUT:   \'%s\' line %lu\n",pcVar4,input.line_number);\n      debug_print_line(&line);\n      iVar3 = execute_program(the_program,&input);\n      if (iVar3 != -1) goto LAB_000193e2;\n    }" { (expression_statement "_Var2 = read_pattern_space(&input,the_program,0);" (assignment_expression "_Var2 = read_pattern_space(&input,the_program,0)" identifier = (call_expression "read_pattern_space(&input,the_program,0)" identifier (argument_list "(&input,the_program,0)" ( (pointer_expression "&input" & identifier) , identifier , number_literal )))) ;) (if_statement "if (!_Var2) {\n        iVar3 = 0;\n        goto LAB_000193e2;\n      }" if (parenthesized_expression "(!_Var2)" ( (unary_expression "!_Var2" ! identifier) )) (compound_statement "{\n        iVar3 = 0;\n        goto LAB_000193e2;\n      }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000193e2;" goto statement_identifier ;) })) (if_statement "if (debug == false) break;" if (parenthesized_expression "(debug == false)" ( (binary_expression "debug == false" identifier == false) )) (break_statement "break;" break ;)) (expression_statement "pcVar4 = input.in_file_name;" (assignment_expression "pcVar4 = input.in_file_name" identifier = (field_expression "input.in_file_name" identifier . field_identifier)) ;) (if_statement "if ((input.fp != (FILE *)0x0) &&\n         (iVar3 = fileno((FILE *)input.fp), pcVar4 = input.in_file_name, iVar3 == 0)) {\n        pcVar4 = "STDIN";\n      }" if (parenthesized_expression "((input.fp != (FILE *)0x0) &&\n         (iVar3 = fileno((FILE *)input.fp), pcVar4 = input.in_file_name, iVar3 == 0))" ( (binary_expression "(input.fp != (FILE *)0x0) &&\n         (iVar3 = fileno((FILE *)input.fp), pcVar4 = input.in_file_name, iVar3 == 0)" (parenthesized_expression "(input.fp != (FILE *)0x0)" ( (binary_expression "input.fp != (FILE *)0x0" (field_expression "input.fp" identifier . field_identifier) != (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar3 = fileno((FILE *)input.fp), pcVar4 = input.in_file_name, iVar3 == 0)" ( (comma_expression "iVar3 = fileno((FILE *)input.fp), pcVar4 = input.in_file_name, iVar3 == 0" (assignment_expression "iVar3 = fileno((FILE *)input.fp)" identifier = (call_expression "fileno((FILE *)input.fp)" identifier (argument_list "((FILE *)input.fp)" ( (cast_expression "(FILE *)input.fp" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "input.fp" identifier . field_identifier)) )))) , (comma_expression "pcVar4 = input.in_file_name, iVar3 == 0" (assignment_expression "pcVar4 = input.in_file_name" identifier = (field_expression "input.in_file_name" identifier . field_identifier)) , (binary_expression "iVar3 == 0" identifier == number_literal))) ))) )) (compound_statement "{\n        pcVar4 = "STDIN";\n      }" { (expression_statement "pcVar4 = "STDIN";" (assignment_expression "pcVar4 = "STDIN"" identifier = (string_literal ""STDIN"" " string_content ")) ;) })) (expression_statement "__printf_chk(1,"INPUT:   \'%s\' line %lu\n",pcVar4,input.line_number);" (call_expression "__printf_chk(1,"INPUT:   \'%s\' line %lu\n",pcVar4,input.line_number)" identifier (argument_list "(1,"INPUT:   \'%s\' line %lu\n",pcVar4,input.line_number)" ( number_literal , (string_literal ""INPUT:   \'%s\' line %lu\n"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence ") , identifier , (field_expression "input.line_number" identifier . field_identifier) ))) ;) (expression_statement "debug_print_line(&line);" (call_expression "debug_print_line(&line)" identifier (argument_list "(&line)" ( (pointer_expression "&line" & identifier) ))) ;) (expression_statement "iVar3 = execute_program(the_program,&input);" (assignment_expression "iVar3 = execute_program(the_program,&input)" identifier = (call_expression "execute_program(the_program,&input)" identifier (argument_list "(the_program,&input)" ( identifier , (pointer_expression "&input" & identifier) )))) ;) (if_statement "if (iVar3 != -1) goto LAB_000193e2;" if (parenthesized_expression "(iVar3 != -1)" ( (binary_expression "iVar3 != -1" identifier != number_literal) )) (goto_statement "goto LAB_000193e2;" goto statement_identifier ;)) })) (expression_statement "iVar3 = execute_program(the_program,&input);" (assignment_expression "iVar3 = execute_program(the_program,&input)" identifier = (call_expression "execute_program(the_program,&input)" identifier (argument_list "(the_program,&input)" ( identifier , (pointer_expression "&input" & identifier) )))) ;) }) while (parenthesized_expression "(iVar3 == -1)" ( (binary_expression "iVar3 == -1" identifier == number_literal) )) ;) (labeled_statement "LAB_000193e2:\n  closedown(&input);" statement_identifier : (expression_statement "closedown(&input);" (call_expression "closedown(&input)" identifier (argument_list "(&input)" ( (pointer_expression "&input" & identifier) ))) ;)) (if_statement "if (input.bad_count != 0) {\n    iVar3 = 2;\n  }" if (parenthesized_expression "(input.bad_count != 0)" ( (binary_expression "input.bad_count != 0" (field_expression "input.bad_count" identifier . field_identifier) != number_literal) )) (compound_statement "{\n    iVar3 = 2;\n  }" { (expression_statement "iVar3 = 2;" (assignment_expression "iVar3 = 2" identifier = number_literal) ;) })) (if_statement "if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" if (parenthesized_expression "(iVar1 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar1 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" { comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return iVar3;" return identifier ;) })))
(translation_unit "int FUN_00019280(undefined4 param_1,int *param_2)\n\n{\n  int iVar1;\n  char cVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 extraout_EDX;\n  int in_GS_OFFSET;\n  undefined4 local_8c;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  FUN_000177d0();\n  FUN_000177d0();\n  FUN_000177d0();\n  if (((param_2 == (int *)0x0) || (*param_2 == 0)) && (DAT_00031410 != 0)) {\n    uVar4 = dcgettext(0,"no input files",5,extraout_EDX);\n                    \n    FUN_0001a340(uVar4);\n  }\n  do {\n    while( true ) {\n      cVar2 = FUN_00017b40();\n      if (cVar2 == '\0') {\n        iVar3 = 0;\n        goto LAB_000193e2;\n      }\n      if (DAT_00031414 == '\0') break;\n      __printf_chk(1,"INPUT:   \'%s\' line %lu\n",local_8c,0);\n      FUN_00016620();\n      iVar3 = FUN_00017c70();\n      if (iVar3 != -1) goto LAB_000193e2;\n    }\n    iVar3 = FUN_00017c70();\n  } while (iVar3 == -1);\nLAB_000193e2:\n  FUN_00016c70();\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar3;\n  }\n                    \n  FUN_00025de0();\n}\n\n" (function_definition "int FUN_00019280(undefined4 param_1,int *param_2)\n\n{\n  int iVar1;\n  char cVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 extraout_EDX;\n  int in_GS_OFFSET;\n  undefined4 local_8c;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  FUN_000177d0();\n  FUN_000177d0();\n  FUN_000177d0();\n  if (((param_2 == (int *)0x0) || (*param_2 == 0)) && (DAT_00031410 != 0)) {\n    uVar4 = dcgettext(0,"no input files",5,extraout_EDX);\n                    \n    FUN_0001a340(uVar4);\n  }\n  do {\n    while( true ) {\n      cVar2 = FUN_00017b40();\n      if (cVar2 == '\0') {\n        iVar3 = 0;\n        goto LAB_000193e2;\n      }\n      if (DAT_00031414 == '\0') break;\n      __printf_chk(1,"INPUT:   \'%s\' line %lu\n",local_8c,0);\n      FUN_00016620();\n      iVar3 = FUN_00017c70();\n      if (iVar3 != -1) goto LAB_000193e2;\n    }\n    iVar3 = FUN_00017c70();\n  } while (iVar3 == -1);\nLAB_000193e2:\n  FUN_00016c70();\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar3;\n  }\n                    \n  FUN_00025de0();\n}" primitive_type (function_declarator "FUN_00019280(undefined4 param_1,int *param_2)" identifier (parameter_list "(undefined4 param_1,int *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  char cVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 extraout_EDX;\n  int in_GS_OFFSET;\n  undefined4 local_8c;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  FUN_000177d0();\n  FUN_000177d0();\n  FUN_000177d0();\n  if (((param_2 == (int *)0x0) || (*param_2 == 0)) && (DAT_00031410 != 0)) {\n    uVar4 = dcgettext(0,"no input files",5,extraout_EDX);\n                    \n    FUN_0001a340(uVar4);\n  }\n  do {\n    while( true ) {\n      cVar2 = FUN_00017b40();\n      if (cVar2 == '\0') {\n        iVar3 = 0;\n        goto LAB_000193e2;\n      }\n      if (DAT_00031414 == '\0') break;\n      __printf_chk(1,"INPUT:   \'%s\' line %lu\n",local_8c,0);\n      FUN_00016620();\n      iVar3 = FUN_00017c70();\n      if (iVar3 != -1) goto LAB_000193e2;\n    }\n    iVar3 = FUN_00017c70();\n  } while (iVar3 == -1);\nLAB_000193e2:\n  FUN_00016c70();\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar3;\n  }\n                    \n  FUN_00025de0();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 extraout_EDX;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined4 local_8c;" type_identifier identifier ;) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "FUN_000177d0();" (call_expression "FUN_000177d0()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_000177d0();" (call_expression "FUN_000177d0()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_000177d0();" (call_expression "FUN_000177d0()" identifier (argument_list "()" ( ))) ;) (if_statement "if (((param_2 == (int *)0x0) || (*param_2 == 0)) && (DAT_00031410 != 0)) {\n    uVar4 = dcgettext(0,"no input files",5,extraout_EDX);\n                    \n    FUN_0001a340(uVar4);\n  }" if (parenthesized_expression "(((param_2 == (int *)0x0) || (*param_2 == 0)) && (DAT_00031410 != 0))" ( (binary_expression "((param_2 == (int *)0x0) || (*param_2 == 0)) && (DAT_00031410 != 0)" (parenthesized_expression "((param_2 == (int *)0x0) || (*param_2 == 0))" ( (binary_expression "(param_2 == (int *)0x0) || (*param_2 == 0)" (parenthesized_expression "(param_2 == (int *)0x0)" ( (binary_expression "param_2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(*param_2 == 0)" ( (binary_expression "*param_2 == 0" (pointer_expression "*param_2" * identifier) == number_literal) ))) )) && (parenthesized_expression "(DAT_00031410 != 0)" ( (binary_expression "DAT_00031410 != 0" identifier != number_literal) ))) )) (compound_statement "{\n    uVar4 = dcgettext(0,"no input files",5,extraout_EDX);\n                    \n    FUN_0001a340(uVar4);\n  }" { (expression_statement "uVar4 = dcgettext(0,"no input files",5,extraout_EDX);" (assignment_expression "uVar4 = dcgettext(0,"no input files",5,extraout_EDX)" identifier = (call_expression "dcgettext(0,"no input files",5,extraout_EDX)" identifier (argument_list "(0,"no input files",5,extraout_EDX)" ( number_literal , (string_literal ""no input files"" " string_content ") , number_literal , identifier )))) ;) (expression_statement "FUN_0001a340(uVar4);" (call_expression "FUN_0001a340(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;) })) (do_statement "do {\n    while( true ) {\n      cVar2 = FUN_00017b40();\n      if (cVar2 == '\0') {\n        iVar3 = 0;\n        goto LAB_000193e2;\n      }\n      if (DAT_00031414 == '\0') break;\n      __printf_chk(1,"INPUT:   \'%s\' line %lu\n",local_8c,0);\n      FUN_00016620();\n      iVar3 = FUN_00017c70();\n      if (iVar3 != -1) goto LAB_000193e2;\n    }\n    iVar3 = FUN_00017c70();\n  } while (iVar3 == -1);" do (compound_statement "{\n    while( true ) {\n      cVar2 = FUN_00017b40();\n      if (cVar2 == '\0') {\n        iVar3 = 0;\n        goto LAB_000193e2;\n      }\n      if (DAT_00031414 == '\0') break;\n      __printf_chk(1,"INPUT:   \'%s\' line %lu\n",local_8c,0);\n      FUN_00016620();\n      iVar3 = FUN_00017c70();\n      if (iVar3 != -1) goto LAB_000193e2;\n    }\n    iVar3 = FUN_00017c70();\n  }" { (while_statement "while( true ) {\n      cVar2 = FUN_00017b40();\n      if (cVar2 == '\0') {\n        iVar3 = 0;\n        goto LAB_000193e2;\n      }\n      if (DAT_00031414 == '\0') break;\n      __printf_chk(1,"INPUT:   \'%s\' line %lu\n",local_8c,0);\n      FUN_00016620();\n      iVar3 = FUN_00017c70();\n      if (iVar3 != -1) goto LAB_000193e2;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      cVar2 = FUN_00017b40();\n      if (cVar2 == '\0') {\n        iVar3 = 0;\n        goto LAB_000193e2;\n      }\n      if (DAT_00031414 == '\0') break;\n      __printf_chk(1,"INPUT:   \'%s\' line %lu\n",local_8c,0);\n      FUN_00016620();\n      iVar3 = FUN_00017c70();\n      if (iVar3 != -1) goto LAB_000193e2;\n    }" { (expression_statement "cVar2 = FUN_00017b40();" (assignment_expression "cVar2 = FUN_00017b40()" identifier = (call_expression "FUN_00017b40()" identifier (argument_list "()" ( )))) ;) (if_statement "if (cVar2 == '\0') {\n        iVar3 = 0;\n        goto LAB_000193e2;\n      }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar3 = 0;\n        goto LAB_000193e2;\n      }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000193e2;" goto statement_identifier ;) })) (if_statement "if (DAT_00031414 == '\0') break;" if (parenthesized_expression "(DAT_00031414 == '\0')" ( (binary_expression "DAT_00031414 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (break_statement "break;" break ;)) (expression_statement "__printf_chk(1,"INPUT:   \'%s\' line %lu\n",local_8c,0);" (call_expression "__printf_chk(1,"INPUT:   \'%s\' line %lu\n",local_8c,0)" identifier (argument_list "(1,"INPUT:   \'%s\' line %lu\n",local_8c,0)" ( number_literal , (string_literal ""INPUT:   \'%s\' line %lu\n"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence ") , identifier , number_literal ))) ;) (expression_statement "FUN_00016620();" (call_expression "FUN_00016620()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar3 = FUN_00017c70();" (assignment_expression "iVar3 = FUN_00017c70()" identifier = (call_expression "FUN_00017c70()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar3 != -1) goto LAB_000193e2;" if (parenthesized_expression "(iVar3 != -1)" ( (binary_expression "iVar3 != -1" identifier != number_literal) )) (goto_statement "goto LAB_000193e2;" goto statement_identifier ;)) })) (expression_statement "iVar3 = FUN_00017c70();" (assignment_expression "iVar3 = FUN_00017c70()" identifier = (call_expression "FUN_00017c70()" identifier (argument_list "()" ( )))) ;) }) while (parenthesized_expression "(iVar3 == -1)" ( (binary_expression "iVar3 == -1" identifier == number_literal) )) ;) (labeled_statement "LAB_000193e2:\n  FUN_00016c70();" statement_identifier : (expression_statement "FUN_00016c70();" (call_expression "FUN_00016c70()" identifier (argument_list "()" ( ))) ;)) (if_statement "if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar3;\n  }" if (parenthesized_expression "(iVar1 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar1 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return iVar3;\n  }" { (return_statement "return iVar3;" return identifier ;) })) (expression_statement "FUN_00025de0();" (call_expression "FUN_00025de0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) || (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) ))) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT , IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (break_statement break ;)) (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence string_content escape_sequence string_content escape_sequence ") , IDENT , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) }) while (parenthesized_expression ( (binary_expression IDENT == LIT) )) ;) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( ))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "int FUN_00019280(undefined4 param_1,int *param_2)\n\n{\n  int iVar1;\n  char cVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 extraout_EDX;\n  int in_GS_OFFSET;\n  undefined4 local_8c;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  FUN_000177d0();\n  FUN_000177d0();\n  FUN_000177d0();\n  if (((param_2 == (int *)0x0) || (*param_2 == 0)) && (DAT_00031410 != 0)) {\n    uVar4 = dcgettext(0,"no input files",5,extraout_EDX);\n                    \n    FUN_0001a340(uVar4);\n  }\n  do {\n    while( true ) {\n      cVar2 = FUN_00017b40();\n      if (cVar2 == '\0') {\n        iVar3 = 0;\n        goto LAB_000193e2;\n      }\n      if (DAT_00031414 == '\0') break;\n      __printf_chk(1,"INPUT:   \'%s\' line %lu\n",local_8c,0);\n      FUN_00016620();\n      iVar3 = FUN_00017c70();\n      if (iVar3 != -1) goto LAB_000193e2;\n    }\n    iVar3 = FUN_00017c70();\n  } while (iVar3 == -1);\nLAB_000193e2:\n  FUN_00016c70();\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar3;\n  }\n                    \n  FUN_00025de0();\n}" (primitive_type "int") (function_declarator "FUN_00019280(undefined4 param_1,int *param_2)" (identifier "FUN_00019280") (parameter_list "(undefined4 param_1,int *param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  int iVar1;\n  char cVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 extraout_EDX;\n  int in_GS_OFFSET;\n  undefined4 local_8c;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  FUN_000177d0();\n  FUN_000177d0();\n  FUN_000177d0();\n  if (((param_2 == (int *)0x0) || (*param_2 == 0)) && (DAT_00031410 != 0)) {\n    uVar4 = dcgettext(0,"no input files",5,extraout_EDX);\n                    \n    FUN_0001a340(uVar4);\n  }\n  do {\n    while( true ) {\n      cVar2 = FUN_00017b40();\n      if (cVar2 == '\0') {\n        iVar3 = 0;\n        goto LAB_000193e2;\n      }\n      if (DAT_00031414 == '\0') break;\n      __printf_chk(1,"INPUT:   \'%s\' line %lu\n",local_8c,0);\n      FUN_00016620();\n      iVar3 = FUN_00017c70();\n      if (iVar3 != -1) goto LAB_000193e2;\n    }\n    iVar3 = FUN_00017c70();\n  } while (iVar3 == -1);\nLAB_000193e2:\n  FUN_00016c70();\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar3;\n  }\n                    \n  FUN_00025de0();\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "undefined4 extraout_EDX;" (type_identifier "undefined4") (identifier "extraout_EDX") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "undefined4 local_8c;" (type_identifier "undefined4") (identifier "local_8c") (; ";")) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "FUN_000177d0();" (call_expression "FUN_000177d0()" (identifier "FUN_000177d0") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "FUN_000177d0();" (call_expression "FUN_000177d0()" (identifier "FUN_000177d0") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "FUN_000177d0();" (call_expression "FUN_000177d0()" (identifier "FUN_000177d0") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (((param_2 == (int *)0x0) || (*param_2 == 0)) && (DAT_00031410 != 0)) {\n    uVar4 = dcgettext(0,"no input files",5,extraout_EDX);\n                    \n    FUN_0001a340(uVar4);\n  }" (if "if") (parenthesized_expression "(((param_2 == (int *)0x0) || (*param_2 == 0)) && (DAT_00031410 != 0))" (( "(") (binary_expression "((param_2 == (int *)0x0) || (*param_2 == 0)) && (DAT_00031410 != 0)" (parenthesized_expression "((param_2 == (int *)0x0) || (*param_2 == 0))" (( "(") (binary_expression "(param_2 == (int *)0x0) || (*param_2 == 0)" (parenthesized_expression "(param_2 == (int *)0x0)" (( "(") (binary_expression "param_2 == (int *)0x0" (identifier "param_2") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (|| "||") (parenthesized_expression "(*param_2 == 0)" (( "(") (binary_expression "*param_2 == 0" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (== "==") (number_literal "0")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(DAT_00031410 != 0)" (( "(") (binary_expression "DAT_00031410 != 0" (identifier "DAT_00031410") (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    uVar4 = dcgettext(0,"no input files",5,extraout_EDX);\n                    \n    FUN_0001a340(uVar4);\n  }" ({ "{") (expression_statement "uVar4 = dcgettext(0,"no input files",5,extraout_EDX);" (assignment_expression "uVar4 = dcgettext(0,"no input files",5,extraout_EDX)" (identifier "uVar4") (= "=") (call_expression "dcgettext(0,"no input files",5,extraout_EDX)" (identifier "dcgettext") (argument_list "(0,"no input files",5,extraout_EDX)" (( "(") (number_literal "0") (, ",") (string_literal ""no input files"" (" """) (string_content "no input files") (" """)) (, ",") (number_literal "5") (, ",") (identifier "extraout_EDX") () ")")))) (; ";")) (expression_statement "FUN_0001a340(uVar4);" (call_expression "FUN_0001a340(uVar4)" (identifier "FUN_0001a340") (argument_list "(uVar4)" (( "(") (identifier "uVar4") () ")"))) (; ";")) (} "}"))) (do_statement "do {\n    while( true ) {\n      cVar2 = FUN_00017b40();\n      if (cVar2 == '\0') {\n        iVar3 = 0;\n        goto LAB_000193e2;\n      }\n      if (DAT_00031414 == '\0') break;\n      __printf_chk(1,"INPUT:   \'%s\' line %lu\n",local_8c,0);\n      FUN_00016620();\n      iVar3 = FUN_00017c70();\n      if (iVar3 != -1) goto LAB_000193e2;\n    }\n    iVar3 = FUN_00017c70();\n  } while (iVar3 == -1);" (do "do") (compound_statement "{\n    while( true ) {\n      cVar2 = FUN_00017b40();\n      if (cVar2 == '\0') {\n        iVar3 = 0;\n        goto LAB_000193e2;\n      }\n      if (DAT_00031414 == '\0') break;\n      __printf_chk(1,"INPUT:   \'%s\' line %lu\n",local_8c,0);\n      FUN_00016620();\n      iVar3 = FUN_00017c70();\n      if (iVar3 != -1) goto LAB_000193e2;\n    }\n    iVar3 = FUN_00017c70();\n  }" ({ "{") (while_statement "while( true ) {\n      cVar2 = FUN_00017b40();\n      if (cVar2 == '\0') {\n        iVar3 = 0;\n        goto LAB_000193e2;\n      }\n      if (DAT_00031414 == '\0') break;\n      __printf_chk(1,"INPUT:   \'%s\' line %lu\n",local_8c,0);\n      FUN_00016620();\n      iVar3 = FUN_00017c70();\n      if (iVar3 != -1) goto LAB_000193e2;\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      cVar2 = FUN_00017b40();\n      if (cVar2 == '\0') {\n        iVar3 = 0;\n        goto LAB_000193e2;\n      }\n      if (DAT_00031414 == '\0') break;\n      __printf_chk(1,"INPUT:   \'%s\' line %lu\n",local_8c,0);\n      FUN_00016620();\n      iVar3 = FUN_00017c70();\n      if (iVar3 != -1) goto LAB_000193e2;\n    }" ({ "{") (expression_statement "cVar2 = FUN_00017b40();" (assignment_expression "cVar2 = FUN_00017b40()" (identifier "cVar2") (= "=") (call_expression "FUN_00017b40()" (identifier "FUN_00017b40") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (cVar2 == '\0') {\n        iVar3 = 0;\n        goto LAB_000193e2;\n      }" (if "if") (parenthesized_expression "(cVar2 == '\0')" (( "(") (binary_expression "cVar2 == '\0'" (identifier "cVar2") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        iVar3 = 0;\n        goto LAB_000193e2;\n      }" ({ "{") (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_000193e2;" (goto "goto") (statement_identifier "LAB_000193e2") (; ";")) (} "}"))) (if_statement "if (DAT_00031414 == '\0') break;" (if "if") (parenthesized_expression "(DAT_00031414 == '\0')" (( "(") (binary_expression "DAT_00031414 == '\0'" (identifier "DAT_00031414") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "__printf_chk(1,"INPUT:   \'%s\' line %lu\n",local_8c,0);" (call_expression "__printf_chk(1,"INPUT:   \'%s\' line %lu\n",local_8c,0)" (identifier "__printf_chk") (argument_list "(1,"INPUT:   \'%s\' line %lu\n",local_8c,0)" (( "(") (number_literal "1") (, ",") (string_literal ""INPUT:   \'%s\' line %lu\n"" (" """) (string_content "INPUT:   ") (escape_sequence "\'") (string_content "%s") (escape_sequence "\'") (string_content " line %lu") (escape_sequence "\n") (" """)) (, ",") (identifier "local_8c") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "FUN_00016620();" (call_expression "FUN_00016620()" (identifier "FUN_00016620") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar3 = FUN_00017c70();" (assignment_expression "iVar3 = FUN_00017c70()" (identifier "iVar3") (= "=") (call_expression "FUN_00017c70()" (identifier "FUN_00017c70") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar3 != -1) goto LAB_000193e2;" (if "if") (parenthesized_expression "(iVar3 != -1)" (( "(") (binary_expression "iVar3 != -1" (identifier "iVar3") (!= "!=") (number_literal "-1")) () ")")) (goto_statement "goto LAB_000193e2;" (goto "goto") (statement_identifier "LAB_000193e2") (; ";"))) (} "}"))) (expression_statement "iVar3 = FUN_00017c70();" (assignment_expression "iVar3 = FUN_00017c70()" (identifier "iVar3") (= "=") (call_expression "FUN_00017c70()" (identifier "FUN_00017c70") (argument_list "()" (( "(") () ")")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar3 == -1)" (( "(") (binary_expression "iVar3 == -1" (identifier "iVar3") (== "==") (number_literal "-1")) () ")")) (; ";")) (labeled_statement "LAB_000193e2:\n  FUN_00016c70();" (statement_identifier "LAB_000193e2") (: ":") (expression_statement "FUN_00016c70();" (call_expression "FUN_00016c70()" (identifier "FUN_00016c70") (argument_list "()" (( "(") () ")"))) (; ";"))) (if_statement "if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar3;\n  }" (if "if") (parenthesized_expression "(iVar1 == *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "iVar1 == *(int *)(in_GS_OFFSET + 0x14)" (identifier "iVar1") (== "==") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n    return iVar3;\n  }" ({ "{") (return_statement "return iVar3;" (return "return") (identifier "iVar3") (; ";")) (} "}"))) (expression_statement "FUN_00025de0();" (call_expression "FUN_00025de0()" (identifier "FUN_00025de0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

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

int function_1(type_1 *the_program,char **var_3)

{
  int var_15;
  type_2 _Var2;
  int var_10;
  char *pcVar4;
  type_3 extraout_EDX;
  int var_1;
  type_4 type_4;
  
  var_15 = *(int *)(var_1 + 0x14);
  var_2(&type_5,(type_5 *)0x0,0x32);
  var_2(&hold,(type_5 *)0x0,0);
  var_2(&buffer,(type_5 *)0x0,0);
  type_4.reset_at_next_file = true;
  if ((var_3 == (char **)0x0) || (*var_3 == (char *)0x0)) {
    if (var_4 != (char *)0x0) {
      pcVar4 = (char *)var_5(0,"no input files",5,extraout_EDX);
                    /* WARNING: Subroutine does not return */
      var_6(pcVar4);
    }
    type_4.file_list = function_1::stdin_argv;
  }
  else {
    type_4.file_list = var_3;
  }
  type_4.bad_count = 0;
  type_4.line_number = 0;
  type_4.fp = (type_6 *)0x0;
  type_4.read_fn = read_always_fail;
  do {
    while( true ) {
      _Var2 = var_7(&type_4,the_program,0);
      if (!_Var2) {
        var_10 = 0;
        goto LAB_000193e2;
      }
      if (var_8 == false) break;
      pcVar4 = type_4.in_file_name;
      if ((type_4.fp != (type_6 *)0x0) &&
         (var_10 = var_9((type_6 *)type_4.fp), pcVar4 = type_4.in_file_name, var_10 == 0)) {
        pcVar4 = "STDIN";
      }
      var_11(1,"INPUT:   \'%s\' line %lu\n",pcVar4,type_4.line_number);
      var_12(&type_5);
      var_10 = var_13(the_program,&type_4);
      if (var_10 != -1) goto LAB_000193e2;
    }
    var_10 = var_13(the_program,&type_4);
  } while (var_10 == -1);
LAB_000193e2:
  var_14(&type_4);
  if (type_4.bad_count != 0) {
    var_10 = 2;
  }
  if (var_15 != *(int *)(var_1 + 0x14)) {
                    /* WARNING: Subroutine does not return */
    var_16();
  }
  return var_10;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (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: (identifier) right: (number_literal))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content)) (number_literal) (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (do_statement body: (compound_statement (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (break_statement)) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content) (escape_sequence) (string_content) (escape_sequence) (string_content) (escape_sequence)) (identifier) (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_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: (identifier) right: (number_literal))))))) consequence: (compound_statement (return_statement (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Removing unreachable block (ram,0x00019386) */
/* WARNING: Removing unreachable block (ram,0x00019396) */
/* WARNING: Removing unreachable block (ram,0x000193fc) */

int MASKED(undefined4 param_1,int *param_2)

{
  int iVar1;
  char cVar2;
  int iVar3;
  undefined4 uVar4;
  undefined4 extraout_EDX;
  int in_GS_OFFSET;
  undefined4 local_8c;
  
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  FUN_000177d0();
  FUN_000177d0();
  FUN_000177d0();
  if (((param_2 == (int *)0x0) || (*param_2 == 0)) && (DAT_00031410 != 0)) {
    uVar4 = dcgettext(0,"no input files",5,extraout_EDX);
                    /* WARNING: Subroutine does not return */
    FUN_0001a340(uVar4);
  }
  do {
    while( true ) {
      cVar2 = FUN_00017b40();
      if (cVar2 == '\0') {
        iVar3 = 0;
        goto LAB_000193e2;
      }
      if (DAT_00031414 == '\0') break;
      __printf_chk(1,"INPUT:   \'%s\' line %lu\n",local_8c,0);
      FUN_00016620();
      iVar3 = FUN_00017c70();
      if (iVar3 != -1) goto LAB_000193e2;
    }
    iVar3 = FUN_00017c70();
  } while (iVar3 == -1);
LAB_000193e2:
  FUN_00016c70();
  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {
    return iVar3;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00025de0();
}

