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

int yy_stream_get(void)

{
  int iVar1;
  
  if (bash_input.location.file == (FILE *)0x0) {
    iVar1 = -1;
  }
  else {
    iVar1 = getc_with_restart(bash_input.location.file);
  }
  return iVar1;
}



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

undefined4 FUN_00033b80(void)

{
  undefined4 uVar1;
  
  if (DAT_00152c84 == 0) {
    uVar1 = 0xffffffff;
  }
  else {
    uVar1 = getc_with_restart(DAT_00152c84);
  }
  return uVar1;
}


PUSH EBX
CALL 0x00031ed0
ADD EBX,0x11647a
SUB ESP,0x8
LEA EAX,[EBX + 0x8c7c]
MOV EAX,dword ptr [EAX + 0x8]
TEST EAX,EAX
JZ 0x00033bb0
SUB ESP,0xc
PUSH EAX
CALL 0x0007cbf0
ADD ESP,0x10
ADD ESP,0x8
POP EBX
RET
MOV EAX,0xffffffff
JMP 0x00033ba8
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_00033b80(void)\n\n{\n  undefined4 uVar1;\n  \n  if (DAT_00152c84 == 0) {\n    uVar1 = 0xffffffff;\n  }\n  else {\n    uVar1 = getc_with_restart(DAT_00152c84);\n  }\n  return uVar1;\n}\n\n" comment (function_definition "undefined4 FUN_00033b80(void)\n\n{\n  undefined4 uVar1;\n  \n  if (DAT_00152c84 == 0) {\n    uVar1 = 0xffffffff;\n  }\n  else {\n    uVar1 = getc_with_restart(DAT_00152c84);\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_00033b80(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (DAT_00152c84 == 0) {\n    uVar1 = 0xffffffff;\n  }\n  else {\n    uVar1 = getc_with_restart(DAT_00152c84);\n  }\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (DAT_00152c84 == 0) {\n    uVar1 = 0xffffffff;\n  }\n  else {\n    uVar1 = getc_with_restart(DAT_00152c84);\n  }" if (parenthesized_expression "(DAT_00152c84 == 0)" ( (binary_expression "DAT_00152c84 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar1 = 0xffffffff;\n  }" { (expression_statement "uVar1 = 0xffffffff;" (assignment_expression "uVar1 = 0xffffffff" identifier = number_literal) ;) }) (else_clause "else {\n    uVar1 = getc_with_restart(DAT_00152c84);\n  }" else (compound_statement "{\n    uVar1 = getc_with_restart(DAT_00152c84);\n  }" { (expression_statement "uVar1 = getc_with_restart(DAT_00152c84);" (assignment_expression "uVar1 = getc_with_restart(DAT_00152c84)" identifier = (call_expression "getc_with_restart(DAT_00152c84)" identifier (argument_list "(DAT_00152c84)" ( identifier )))) ;) }))) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nint yy_stream_get(void)\n\n{\n  int iVar1;\n  \n  if (bash_input.location.file == (FILE *)0x0) {\n    iVar1 = -1;\n  }\n  else {\n    iVar1 = getc_with_restart(bash_input.location.file);\n  }\n  return iVar1;\n}\n\n" comment comment (function_definition "int yy_stream_get(void)\n\n{\n  int iVar1;\n  \n  if (bash_input.location.file == (FILE *)0x0) {\n    iVar1 = -1;\n  }\n  else {\n    iVar1 = getc_with_restart(bash_input.location.file);\n  }\n  return iVar1;\n}" primitive_type (function_declarator "yy_stream_get(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  \n  if (bash_input.location.file == (FILE *)0x0) {\n    iVar1 = -1;\n  }\n  else {\n    iVar1 = getc_with_restart(bash_input.location.file);\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (bash_input.location.file == (FILE *)0x0) {\n    iVar1 = -1;\n  }\n  else {\n    iVar1 = getc_with_restart(bash_input.location.file);\n  }" if (parenthesized_expression "(bash_input.location.file == (FILE *)0x0)" ( (binary_expression "bash_input.location.file == (FILE *)0x0" (field_expression "bash_input.location.file" (field_expression "bash_input.location" identifier . field_identifier) . field_identifier) == (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar1 = -1;\n  }" { (expression_statement "iVar1 = -1;" (assignment_expression "iVar1 = -1" identifier = number_literal) ;) }) (else_clause "else {\n    iVar1 = getc_with_restart(bash_input.location.file);\n  }" else (compound_statement "{\n    iVar1 = getc_with_restart(bash_input.location.file);\n  }" { (expression_statement "iVar1 = getc_with_restart(bash_input.location.file);" (assignment_expression "iVar1 = getc_with_restart(bash_input.location.file)" identifier = (call_expression "getc_with_restart(bash_input.location.file)" identifier (argument_list "(bash_input.location.file)" ( (field_expression "bash_input.location.file" (field_expression "bash_input.location" identifier . field_identifier) . field_identifier) )))) ;) }))) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "undefined4 FUN_00033b80(void)\n\n{\n  undefined4 uVar1;\n  \n  if (DAT_00152c84 == 0) {\n    uVar1 = 0xffffffff;\n  }\n  else {\n    uVar1 = getc_with_restart(DAT_00152c84);\n  }\n  return uVar1;\n}\n\n" (function_definition "undefined4 FUN_00033b80(void)\n\n{\n  undefined4 uVar1;\n  \n  if (DAT_00152c84 == 0) {\n    uVar1 = 0xffffffff;\n  }\n  else {\n    uVar1 = getc_with_restart(DAT_00152c84);\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_00033b80(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (DAT_00152c84 == 0) {\n    uVar1 = 0xffffffff;\n  }\n  else {\n    uVar1 = getc_with_restart(DAT_00152c84);\n  }\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (DAT_00152c84 == 0) {\n    uVar1 = 0xffffffff;\n  }\n  else {\n    uVar1 = getc_with_restart(DAT_00152c84);\n  }" if (parenthesized_expression "(DAT_00152c84 == 0)" ( (binary_expression "DAT_00152c84 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar1 = 0xffffffff;\n  }" { (expression_statement "uVar1 = 0xffffffff;" (assignment_expression "uVar1 = 0xffffffff" identifier = number_literal) ;) }) (else_clause "else {\n    uVar1 = getc_with_restart(DAT_00152c84);\n  }" else (compound_statement "{\n    uVar1 = getc_with_restart(DAT_00152c84);\n  }" { (expression_statement "uVar1 = getc_with_restart(DAT_00152c84);" (assignment_expression "uVar1 = getc_with_restart(DAT_00152c84)" identifier = (call_expression "getc_with_restart(DAT_00152c84)" identifier (argument_list "(DAT_00152c84)" ( identifier )))) ;) }))) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) }))) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_00033b80(void)\n\n{\n  undefined4 uVar1;\n  \n  if (DAT_00152c84 == 0) {\n    uVar1 = 0xffffffff;\n  }\n  else {\n    uVar1 = getc_with_restart(DAT_00152c84);\n  }\n  return uVar1;\n}" (type_identifier "undefined4") (function_declarator "FUN_00033b80(void)" (identifier "FUN_00033b80") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (DAT_00152c84 == 0) {\n    uVar1 = 0xffffffff;\n  }\n  else {\n    uVar1 = getc_with_restart(DAT_00152c84);\n  }\n  return uVar1;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (if_statement "if (DAT_00152c84 == 0) {\n    uVar1 = 0xffffffff;\n  }\n  else {\n    uVar1 = getc_with_restart(DAT_00152c84);\n  }" (if "if") (parenthesized_expression "(DAT_00152c84 == 0)" (( "(") (binary_expression "DAT_00152c84 == 0" (identifier "DAT_00152c84") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar1 = 0xffffffff;\n  }" ({ "{") (expression_statement "uVar1 = 0xffffffff;" (assignment_expression "uVar1 = 0xffffffff" (identifier "uVar1") (= "=") (number_literal "0xffffffff")) (; ";")) (} "}")) (else_clause "else {\n    uVar1 = getc_with_restart(DAT_00152c84);\n  }" (else "else") (compound_statement "{\n    uVar1 = getc_with_restart(DAT_00152c84);\n  }" ({ "{") (expression_statement "uVar1 = getc_with_restart(DAT_00152c84);" (assignment_expression "uVar1 = getc_with_restart(DAT_00152c84)" (identifier "uVar1") (= "=") (call_expression "getc_with_restart(DAT_00152c84)" (identifier "getc_with_restart") (argument_list "(DAT_00152c84)" (( "(") (identifier "DAT_00152c84") () ")")))) (; ";")) (} "}")))) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

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

int function_1(void)

{
  int iVar1;
  
  if (bash_input.location.file == (type_1 *)0x0) {
    iVar1 = -1;
  }
  else {
    iVar1 = var_1(bash_input.location.file);
  }
  return iVar1;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier)))))))) (return_statement (identifier)))))

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

undefined4 MASKED(void)

{
  undefined4 uVar1;
  
  if (DAT_00152c84 == 0) {
    uVar1 = 0xffffffff;
  }
  else {
    uVar1 = getc_with_restart(DAT_00152c84);
  }
  return uVar1;
}

