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

char * __regparm3 stab_pop_type(stab_write_handle *info)

{
  bfd *__ptr;
  bfd_target *pbVar1;
  
  __ptr = info->abfd;
  if (__ptr != (bfd *)0x0) {
    pbVar1 = __ptr->xvec;
    info->abfd = (bfd *)__ptr->filename;
    free(__ptr);
    return (char *)pbVar1;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("s != NULL","../../binutils/wrstabs.c",0x1b8,"stab_pop_type");
}



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

undefined4 __regparm3 FUN_00028700(undefined4 *param_1)

{
  undefined4 *__ptr;
  undefined4 uVar1;
  
  __ptr = (undefined4 *)*param_1;
  if (__ptr != (undefined4 *)0x0) {
    uVar1 = __ptr[1];
    *param_1 = *__ptr;
    free(__ptr);
    return uVar1;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("s != NULL","../../binutils/wrstabs.c",0x1b8,"stab_pop_type");
}


PUSH ESI
PUSH EBX
CALL 0x000165d0
ADD EBX,0x168f9
SUB ESP,0x4
MOV EDX,dword ptr [EAX]
TEST EDX,EDX
JZ 0x0002872e
MOV ECX,dword ptr [EDX]
SUB ESP,0xc
MOV ESI,dword ptr [EDX + 0x4]
MOV dword ptr [EAX],ECX
PUSH EDX
CALL 0x00013948
ADD ESP,0x14
MOV EAX,ESI
POP EBX
POP ESI
RET
LEA EAX,[EBX + 0xffff5278]
PUSH EAX
LEA EAX,[EBX + 0xffff4da8]
PUSH 0x1b8
PUSH EAX
LEA EAX,[EBX + 0xffff4dfc]
PUSH EAX
CALL 0x00013920
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 __regparm3 FUN_00028700(undefined4 *param_1)\n\n{\n  undefined4 *__ptr;\n  undefined4 uVar1;\n  \n  __ptr = (undefined4 *)*param_1;\n  if (__ptr != (undefined4 *)0x0) {\n    uVar1 = __ptr[1];\n    *param_1 = *__ptr;\n    free(__ptr);\n    return uVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("s != NULL","../../binutils/wrstabs.c",0x1b8,"stab_pop_type");\n}\n\n" comment (function_definition "undefined4 __regparm3 FUN_00028700(undefined4 *param_1)\n\n{\n  undefined4 *__ptr;\n  undefined4 uVar1;\n  \n  __ptr = (undefined4 *)*param_1;\n  if (__ptr != (undefined4 *)0x0) {\n    uVar1 = __ptr[1];\n    *param_1 = *__ptr;\n    free(__ptr);\n    return uVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("s != NULL","../../binutils/wrstabs.c",0x1b8,"stab_pop_type");\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00028700(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined4 *__ptr;\n  undefined4 uVar1;\n  \n  __ptr = (undefined4 *)*param_1;\n  if (__ptr != (undefined4 *)0x0) {\n    uVar1 = __ptr[1];\n    *param_1 = *__ptr;\n    free(__ptr);\n    return uVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("s != NULL","../../binutils/wrstabs.c",0x1b8,"stab_pop_type");\n}" { (declaration "undefined4 *__ptr;" type_identifier (pointer_declarator "*__ptr" * identifier) ;) (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "__ptr = (undefined4 *)*param_1;" (assignment_expression "__ptr = (undefined4 *)*param_1" identifier = (cast_expression "(undefined4 *)*param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (__ptr != (undefined4 *)0x0) {\n    uVar1 = __ptr[1];\n    *param_1 = *__ptr;\n    free(__ptr);\n    return uVar1;\n  }" if (parenthesized_expression "(__ptr != (undefined4 *)0x0)" ( (binary_expression "__ptr != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar1 = __ptr[1];\n    *param_1 = *__ptr;\n    free(__ptr);\n    return uVar1;\n  }" { (expression_statement "uVar1 = __ptr[1];" (assignment_expression "uVar1 = __ptr[1]" identifier = (subscript_expression "__ptr[1]" identifier [ number_literal ])) ;) (expression_statement "*param_1 = *__ptr;" (assignment_expression "*param_1 = *__ptr" (pointer_expression "*param_1" * identifier) = (pointer_expression "*__ptr" * identifier)) ;) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (return_statement "return uVar1;" return identifier ;) })) comment (expression_statement "__assert_fail("s != NULL","../../binutils/wrstabs.c",0x1b8,"stab_pop_type");" (call_expression "__assert_fail("s != NULL","../../binutils/wrstabs.c",0x1b8,"stab_pop_type")" identifier (argument_list "("s != NULL","../../binutils/wrstabs.c",0x1b8,"stab_pop_type")" ( (string_literal ""s != NULL"" " string_content ") , (string_literal ""../../binutils/wrstabs.c"" " string_content ") , number_literal , (string_literal ""stab_pop_type"" " string_content ") ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nchar * __regparm3 stab_pop_type(stab_write_handle *info)\n\n{\n  bfd *__ptr;\n  bfd_target *pbVar1;\n  \n  __ptr = info->abfd;\n  if (__ptr != (bfd *)0x0) {\n    pbVar1 = __ptr->xvec;\n    info->abfd = (bfd *)__ptr->filename;\n    free(__ptr);\n    return (char *)pbVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("s != NULL","../../binutils/wrstabs.c",0x1b8,"stab_pop_type");\n}\n\n" comment (function_definition "char * __regparm3 stab_pop_type(stab_write_handle *info)\n\n{\n  bfd *__ptr;\n  bfd_target *pbVar1;\n  \n  __ptr = info->abfd;\n  if (__ptr != (bfd *)0x0) {\n    pbVar1 = __ptr->xvec;\n    info->abfd = (bfd *)__ptr->filename;\n    free(__ptr);\n    return (char *)pbVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("s != NULL","../../binutils/wrstabs.c",0x1b8,"stab_pop_type");\n}" primitive_type (pointer_declarator "* __regparm3 stab_pop_type(stab_write_handle *info)" * (ERROR "__regparm3" identifier) (function_declarator "stab_pop_type(stab_write_handle *info)" identifier (parameter_list "(stab_write_handle *info)" ( (parameter_declaration "stab_write_handle *info" type_identifier (pointer_declarator "*info" * identifier)) )))) (compound_statement "{\n  bfd *__ptr;\n  bfd_target *pbVar1;\n  \n  __ptr = info->abfd;\n  if (__ptr != (bfd *)0x0) {\n    pbVar1 = __ptr->xvec;\n    info->abfd = (bfd *)__ptr->filename;\n    free(__ptr);\n    return (char *)pbVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("s != NULL","../../binutils/wrstabs.c",0x1b8,"stab_pop_type");\n}" { (declaration "bfd *__ptr;" type_identifier (pointer_declarator "*__ptr" * identifier) ;) (declaration "bfd_target *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (expression_statement "__ptr = info->abfd;" (assignment_expression "__ptr = info->abfd" identifier = (field_expression "info->abfd" identifier -> field_identifier)) ;) (if_statement "if (__ptr != (bfd *)0x0) {\n    pbVar1 = __ptr->xvec;\n    info->abfd = (bfd *)__ptr->filename;\n    free(__ptr);\n    return (char *)pbVar1;\n  }" if (parenthesized_expression "(__ptr != (bfd *)0x0)" ( (binary_expression "__ptr != (bfd *)0x0" identifier != (cast_expression "(bfd *)0x0" ( (type_descriptor "bfd *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pbVar1 = __ptr->xvec;\n    info->abfd = (bfd *)__ptr->filename;\n    free(__ptr);\n    return (char *)pbVar1;\n  }" { (expression_statement "pbVar1 = __ptr->xvec;" (assignment_expression "pbVar1 = __ptr->xvec" identifier = (field_expression "__ptr->xvec" identifier -> field_identifier)) ;) (expression_statement "info->abfd = (bfd *)__ptr->filename;" (assignment_expression "info->abfd = (bfd *)__ptr->filename" (field_expression "info->abfd" identifier -> field_identifier) = (cast_expression "(bfd *)__ptr->filename" ( (type_descriptor "bfd *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "__ptr->filename" identifier -> field_identifier))) ;) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (return_statement "return (char *)pbVar1;" return (cast_expression "(char *)pbVar1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) ;) })) comment (expression_statement "__assert_fail("s != NULL","../../binutils/wrstabs.c",0x1b8,"stab_pop_type");" (call_expression "__assert_fail("s != NULL","../../binutils/wrstabs.c",0x1b8,"stab_pop_type")" identifier (argument_list "("s != NULL","../../binutils/wrstabs.c",0x1b8,"stab_pop_type")" ( (string_literal ""s != NULL"" " string_content ") , (string_literal ""../../binutils/wrstabs.c"" " string_content ") , number_literal , (string_literal ""stab_pop_type"" " string_content ") ))) ;) })))
(translation_unit "undefined4 __regparm3 FUN_00028700(undefined4 *param_1)\n\n{\n  undefined4 *__ptr;\n  undefined4 uVar1;\n  \n  __ptr = (undefined4 *)*param_1;\n  if (__ptr != (undefined4 *)0x0) {\n    uVar1 = __ptr[1];\n    *param_1 = *__ptr;\n    free(__ptr);\n    return uVar1;\n  }\n                    \n  __assert_fail("s != NULL","../../binutils/wrstabs.c",0x1b8,"stab_pop_type");\n}\n\n" (function_definition "undefined4 __regparm3 FUN_00028700(undefined4 *param_1)\n\n{\n  undefined4 *__ptr;\n  undefined4 uVar1;\n  \n  __ptr = (undefined4 *)*param_1;\n  if (__ptr != (undefined4 *)0x0) {\n    uVar1 = __ptr[1];\n    *param_1 = *__ptr;\n    free(__ptr);\n    return uVar1;\n  }\n                    \n  __assert_fail("s != NULL","../../binutils/wrstabs.c",0x1b8,"stab_pop_type");\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00028700(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined4 *__ptr;\n  undefined4 uVar1;\n  \n  __ptr = (undefined4 *)*param_1;\n  if (__ptr != (undefined4 *)0x0) {\n    uVar1 = __ptr[1];\n    *param_1 = *__ptr;\n    free(__ptr);\n    return uVar1;\n  }\n                    \n  __assert_fail("s != NULL","../../binutils/wrstabs.c",0x1b8,"stab_pop_type");\n}" { (declaration "undefined4 *__ptr;" type_identifier (pointer_declarator "*__ptr" * identifier) ;) (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "__ptr = (undefined4 *)*param_1;" (assignment_expression "__ptr = (undefined4 *)*param_1" identifier = (cast_expression "(undefined4 *)*param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (__ptr != (undefined4 *)0x0) {\n    uVar1 = __ptr[1];\n    *param_1 = *__ptr;\n    free(__ptr);\n    return uVar1;\n  }" if (parenthesized_expression "(__ptr != (undefined4 *)0x0)" ( (binary_expression "__ptr != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar1 = __ptr[1];\n    *param_1 = *__ptr;\n    free(__ptr);\n    return uVar1;\n  }" { (expression_statement "uVar1 = __ptr[1];" (assignment_expression "uVar1 = __ptr[1]" identifier = (subscript_expression "__ptr[1]" identifier [ number_literal ])) ;) (expression_statement "*param_1 = *__ptr;" (assignment_expression "*param_1 = *__ptr" (pointer_expression "*param_1" * identifier) = (pointer_expression "*__ptr" * identifier)) ;) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (return_statement "return uVar1;" return identifier ;) })) (expression_statement "__assert_fail("s != NULL","../../binutils/wrstabs.c",0x1b8,"stab_pop_type");" (call_expression "__assert_fail("s != NULL","../../binutils/wrstabs.c",0x1b8,"stab_pop_type")" identifier (argument_list "("s != NULL","../../binutils/wrstabs.c",0x1b8,"stab_pop_type")" ( (string_literal ""s != NULL"" " string_content ") , (string_literal ""../../binutils/wrstabs.c"" " string_content ") , number_literal , (string_literal ""stab_pop_type"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "undefined4 __regparm3 FUN_00028700(undefined4 *param_1)\n\n{\n  undefined4 *__ptr;\n  undefined4 uVar1;\n  \n  __ptr = (undefined4 *)*param_1;\n  if (__ptr != (undefined4 *)0x0) {\n    uVar1 = __ptr[1];\n    *param_1 = *__ptr;\n    free(__ptr);\n    return uVar1;\n  }\n                    \n  __assert_fail("s != NULL","../../binutils/wrstabs.c",0x1b8,"stab_pop_type");\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00028700(undefined4 *param_1)" (identifier "FUN_00028700") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined4 *__ptr;\n  undefined4 uVar1;\n  \n  __ptr = (undefined4 *)*param_1;\n  if (__ptr != (undefined4 *)0x0) {\n    uVar1 = __ptr[1];\n    *param_1 = *__ptr;\n    free(__ptr);\n    return uVar1;\n  }\n                    \n  __assert_fail("s != NULL","../../binutils/wrstabs.c",0x1b8,"stab_pop_type");\n}" ({ "{") (declaration "undefined4 *__ptr;" (type_identifier "undefined4") (pointer_declarator "*__ptr" (* "*") (identifier "__ptr")) (; ";")) (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (expression_statement "__ptr = (undefined4 *)*param_1;" (assignment_expression "__ptr = (undefined4 *)*param_1" (identifier "__ptr") (= "=") (cast_expression "(undefined4 *)*param_1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (if_statement "if (__ptr != (undefined4 *)0x0) {\n    uVar1 = __ptr[1];\n    *param_1 = *__ptr;\n    free(__ptr);\n    return uVar1;\n  }" (if "if") (parenthesized_expression "(__ptr != (undefined4 *)0x0)" (( "(") (binary_expression "__ptr != (undefined4 *)0x0" (identifier "__ptr") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    uVar1 = __ptr[1];\n    *param_1 = *__ptr;\n    free(__ptr);\n    return uVar1;\n  }" ({ "{") (expression_statement "uVar1 = __ptr[1];" (assignment_expression "uVar1 = __ptr[1]" (identifier "uVar1") (= "=") (subscript_expression "__ptr[1]" (identifier "__ptr") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "*param_1 = *__ptr;" (assignment_expression "*param_1 = *__ptr" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "*__ptr" (* "*") (identifier "__ptr"))) (; ";")) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" (identifier "free") (argument_list "(__ptr)" (( "(") (identifier "__ptr") () ")"))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}"))) (expression_statement "__assert_fail("s != NULL","../../binutils/wrstabs.c",0x1b8,"stab_pop_type");" (call_expression "__assert_fail("s != NULL","../../binutils/wrstabs.c",0x1b8,"stab_pop_type")" (identifier "__assert_fail") (argument_list "("s != NULL","../../binutils/wrstabs.c",0x1b8,"stab_pop_type")" (( "(") (string_literal ""s != NULL"" (" """) (string_content "s != NULL") (" """)) (, ",") (string_literal ""../../binutils/wrstabs.c"" (" """) (string_content "../../binutils/wrstabs.c") (" """)) (, ",") (number_literal "0x1b8") (, ",") (string_literal ""stab_pop_type"" (" """) (string_content "stab_pop_type") (" """)) () ")"))) (; ";")) (} "}")))

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

char * __regparm3 function_1(type_1 *info)

{
  type_2 *var_1;
  type_3 *pbVar1;
  
  var_1 = info->abfd;
  if (var_1 != (type_2 *)0x0) {
    pbVar1 = var_1->xvec;
    info->abfd = (type_2 *)var_1->filename;
    var_2(var_1);
    return (char *)pbVar1;
  }
                    /* WARNING: Subroutine does not return */
  var_3("s != NULL","../../binutils/wrstabs.c",0x1b8,"stab_pop_type");
}


(translation_unit (function_definition type: (type_identifier) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (string_literal (string_content)) (number_literal) (string_literal (string_content))))))))

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

undefined4 __regparm3 MASKED(undefined4 *param_1)

{
  undefined4 *__ptr;
  undefined4 uVar1;
  
  __ptr = (undefined4 *)*param_1;
  if (__ptr != (undefined4 *)0x0) {
    uVar1 = __ptr[1];
    *param_1 = *__ptr;
    free(__ptr);
    return uVar1;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("s != NULL","../../binutils/wrstabs.c",0x1b8,"stab_pop_type");
}

