
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void wait(Condvar_impl_nothreads * this, Lock_impl * li) */

__pid_t __thiscall gold::Condvar_impl_nothreads::wait(Condvar_impl_nothreads *this,void *__stat_loc)

{
  if (*(char *)((int)__stat_loc + 4) != '\0') {
    return (__pid_t)__stat_loc;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/gold-threads.cc",0xb2,"wait");
}



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

void FUN_0008e950(undefined4 param_1,int param_2)

{
  if (*(char *)(param_2 + 4) != '\0') {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0008b620("../../gold/gold-threads.cc",0xb2,&DAT_002534e0,param_2);
}


PUSH EBX
CALL 0x00035680
ADD EBX,0x2b06aa
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x14]
CMP byte ptr [EAX + 0x4],0x0
JZ 0x0008e96e
ADD ESP,0x8
POP EBX
RET
PUSH EAX
LEA EAX,[EBX + 0xfff144e0]
PUSH EAX
LEA EAX,[EBX + 0xfff144c3]
PUSH 0xb2
PUSH EAX
CALL 0x0008b620
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0008e950(undefined4 param_1,int param_2)\n\n{\n  if (*(char *)(param_2 + 4) != '\0') {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0008b620("../../gold/gold-threads.cc",0xb2,&DAT_002534e0,param_2);\n}\n\n" comment (function_definition "void FUN_0008e950(undefined4 param_1,int param_2)\n\n{\n  if (*(char *)(param_2 + 4) != '\0') {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0008b620("../../gold/gold-threads.cc",0xb2,&DAT_002534e0,param_2);\n}" primitive_type (function_declarator "FUN_0008e950(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 identifier) ))) (compound_statement "{\n  if (*(char *)(param_2 + 4) != '\0') {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0008b620("../../gold/gold-threads.cc",0xb2,&DAT_002534e0,param_2);\n}" { (if_statement "if (*(char *)(param_2 + 4) != '\0') {\n    return;\n  }" if (parenthesized_expression "(*(char *)(param_2 + 4) != '\0')" ( (binary_expression "*(char *)(param_2 + 4) != '\0'" (pointer_expression "*(char *)(param_2 + 4)" * (cast_expression "(char *)(param_2 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "FUN_0008b620("../../gold/gold-threads.cc",0xb2,&DAT_002534e0,param_2);" (call_expression "FUN_0008b620("../../gold/gold-threads.cc",0xb2,&DAT_002534e0,param_2)" identifier (argument_list "("../../gold/gold-threads.cc",0xb2,&DAT_002534e0,param_2)" ( (string_literal ""../../gold/gold-threads.cc"" " string_content ") , number_literal , (pointer_expression "&DAT_002534e0" & identifier) , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: void wait(Condvar_impl_nothreads * this, Lock_impl * li) */\n\n__pid_t __thiscall gold::Condvar_impl_nothreads::wait(Condvar_impl_nothreads *this,void *__stat_loc)\n\n{\n  if (*(char *)((int)__stat_loc + 4) != '\0') {\n    return (__pid_t)__stat_loc;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/gold-threads.cc",0xb2,"wait");\n}\n\n" comment comment (function_definition "__pid_t __thiscall gold::Condvar_impl_nothreads::wait(Condvar_impl_nothreads *this,void *__stat_loc)\n\n{\n  if (*(char *)((int)__stat_loc + 4) != '\0') {\n    return (__pid_t)__stat_loc;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/gold-threads.cc",0xb2,"wait");\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Condvar_impl_nothreads::" identifier : : identifier : :) (function_declarator "wait(Condvar_impl_nothreads *this,void *__stat_loc)" identifier (parameter_list "(Condvar_impl_nothreads *this,void *__stat_loc)" ( (parameter_declaration "Condvar_impl_nothreads *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "void *__stat_loc" primitive_type (pointer_declarator "*__stat_loc" * identifier)) ))) (compound_statement "{\n  if (*(char *)((int)__stat_loc + 4) != '\0') {\n    return (__pid_t)__stat_loc;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/gold-threads.cc",0xb2,"wait");\n}" { (if_statement "if (*(char *)((int)__stat_loc + 4) != '\0') {\n    return (__pid_t)__stat_loc;\n  }" if (parenthesized_expression "(*(char *)((int)__stat_loc + 4) != '\0')" ( (binary_expression "*(char *)((int)__stat_loc + 4) != '\0'" (pointer_expression "*(char *)((int)__stat_loc + 4)" * (cast_expression "(char *)((int)__stat_loc + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__stat_loc + 4)" ( (binary_expression "(int)__stat_loc + 4" (cast_expression "(int)__stat_loc" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    return (__pid_t)__stat_loc;\n  }" { (return_statement "return (__pid_t)__stat_loc;" return (cast_expression "(__pid_t)__stat_loc" ( (type_descriptor "__pid_t" type_identifier) ) identifier) ;) })) comment (expression_statement "do_gold_unreachable("../../gold/gold-threads.cc",0xb2,"wait");" (call_expression "do_gold_unreachable("../../gold/gold-threads.cc",0xb2,"wait")" identifier (argument_list "("../../gold/gold-threads.cc",0xb2,"wait")" ( (string_literal ""../../gold/gold-threads.cc"" " string_content ") , number_literal , (string_literal ""wait"" " string_content ") ))) ;) })))
(translation_unit "void FUN_0008e950(undefined4 param_1,int param_2)\n\n{\n  if (*(char *)(param_2 + 4) != '\0') {\n    return;\n  }\n                    \n  FUN_0008b620("../../gold/gold-threads.cc",0xb2,&DAT_002534e0,param_2);\n}\n\n" (function_definition "void FUN_0008e950(undefined4 param_1,int param_2)\n\n{\n  if (*(char *)(param_2 + 4) != '\0') {\n    return;\n  }\n                    \n  FUN_0008b620("../../gold/gold-threads.cc",0xb2,&DAT_002534e0,param_2);\n}" primitive_type (function_declarator "FUN_0008e950(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 identifier) ))) (compound_statement "{\n  if (*(char *)(param_2 + 4) != '\0') {\n    return;\n  }\n                    \n  FUN_0008b620("../../gold/gold-threads.cc",0xb2,&DAT_002534e0,param_2);\n}" { (if_statement "if (*(char *)(param_2 + 4) != '\0') {\n    return;\n  }" if (parenthesized_expression "(*(char *)(param_2 + 4) != '\0')" ( (binary_expression "*(char *)(param_2 + 4) != '\0'" (pointer_expression "*(char *)(param_2 + 4)" * (cast_expression "(char *)(param_2 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "FUN_0008b620("../../gold/gold-threads.cc",0xb2,&DAT_002534e0,param_2);" (call_expression "FUN_0008b620("../../gold/gold-threads.cc",0xb2,&DAT_002534e0,param_2)" identifier (argument_list "("../../gold/gold-threads.cc",0xb2,&DAT_002534e0,param_2)" ( (string_literal ""../../gold/gold-threads.cc"" " string_content ") , number_literal , (pointer_expression "&DAT_002534e0" & identifier) , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (pointer_expression & IDENT) , IDENT ))) ;) })))
(function_definition "void FUN_0008e950(undefined4 param_1,int param_2)\n\n{\n  if (*(char *)(param_2 + 4) != '\0') {\n    return;\n  }\n                    \n  FUN_0008b620("../../gold/gold-threads.cc",0xb2,&DAT_002534e0,param_2);\n}" (primitive_type "void") (function_declarator "FUN_0008e950(undefined4 param_1,int param_2)" (identifier "FUN_0008e950") (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") (identifier "param_2")) () ")"))) (compound_statement "{\n  if (*(char *)(param_2 + 4) != '\0') {\n    return;\n  }\n                    \n  FUN_0008b620("../../gold/gold-threads.cc",0xb2,&DAT_002534e0,param_2);\n}" ({ "{") (if_statement "if (*(char *)(param_2 + 4) != '\0') {\n    return;\n  }" (if "if") (parenthesized_expression "(*(char *)(param_2 + 4) != '\0')" (( "(") (binary_expression "*(char *)(param_2 + 4) != '\0'" (pointer_expression "*(char *)(param_2 + 4)" (* "*") (cast_expression "(char *)(param_2 + 4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0008b620("../../gold/gold-threads.cc",0xb2,&DAT_002534e0,param_2);" (call_expression "FUN_0008b620("../../gold/gold-threads.cc",0xb2,&DAT_002534e0,param_2)" (identifier "FUN_0008b620") (argument_list "("../../gold/gold-threads.cc",0xb2,&DAT_002534e0,param_2)" (( "(") (string_literal ""../../gold/gold-threads.cc"" (" """) (string_content "../../gold/gold-threads.cc") (" """)) (, ",") (number_literal "0xb2") (, ",") (pointer_expression "&DAT_002534e0" (& "&") (identifier "DAT_002534e0")) (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void wait(Condvar_impl_nothreads * this, Lock_impl * li) */

type_1 __thiscall gold::type_2::function_1(type_2 *this,void *__stat_loc)

{
  if (*(char *)((int)__stat_loc + 4) != '\0') {
    return (type_1)__stat_loc;
  }
                    /* WARNING: Subroutine does not return */
  var_1("../../gold/gold-threads.cc",0xb2,"wait");
}


(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: (identifier)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (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))))) right: (char_literal (escape_sequence)))) consequence: (compound_statement (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (pointer_expression argument: (identifier)) (identifier)))))))

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

void MASKED(undefined4 param_1,int param_2)

{
  if (*(char *)(param_2 + 4) != '\0') {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0008b620("../../gold/gold-threads.cc",0xb2,&DAT_002534e0,param_2);
}

