
/* WARNING: Struct "Output_section_data": ignoring overlapping field "output_section_" */
/* WARNING: Struct "Output_section": ignoring overlapping field "name_" */
/* WARNING: Struct "Output_section_headers": ignoring overlapping field "layout_" */
/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Struct "Output_reduced_debug_abbrev_section": ignoring overlapping field "data_" */
/* WARNING: Struct "Output_reduced_debug_info_section": ignoring overlapping field "data_" */
/* DWARF original prototype: Task_token * is_runnable(Read_relocs * this) */

Task_token * __thiscall gold::Read_relocs::is_runnable(Read_relocs *this)

{
  Input_file *pIVar1;
  int iVar2;
  
  pIVar1 = (this->object_->super_Object).input_file_;
  if (pIVar1 == (Input_file *)0x0) {
    return (Task_token *)0x0;
  }
  iVar2 = (*(code *)PTR_is_locked_00432dac)(&pIVar1->file_);
  if ((iVar2 != 0) &&
     (pIVar1 = (this->object_->super_Object).input_file_, pIVar1 != (Input_file *)0x0)) {
    return &(pIVar1->file_).token_;
  }
  return (Task_token *)0x0;
}



int FUN_001f3974(int param_1)

{
  int iVar1;
  
  iVar1 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c);
  if (iVar1 == 0) {
    return 0;
  }
  iVar1 = (*(code *)PTR_is_locked_00432dac)(iVar1 + 0x20);
  if ((iVar1 != 0) && (iVar1 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar1 != 0)) {
    return iVar1 + 0x50;
  }
  return 0;
}


lui gp,0x24
addiu gp,gp,0x685c
addu gp,gp,t9
lw v0,0x2c(a0)
lw v0,0x1c(v0)
beq v0,zero,0x001f39e0
_lw t9,-0x7424(gp)
addiu sp,sp,-0x20
sw s0,0x18(sp)
or s0,a0,zero
sw gp,0x10(sp)
sw ra,0x1c(sp)
jalr t9
_addiu a0,v0,0x20
beq v0,zero,0x001f39d0
_lw ra,0x1c(sp)
lw v0,0x2c(s0)
lw v0,0x1c(v0)
beq v0,zero,0x001f39d0
_addiu v0,v0,0x50
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
or v0,zero,zero
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
jr ra
_or v0,zero,zero
(translation_unit "int FUN_001f3974(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  iVar1 = (*(code *)PTR_is_locked_00432dac)(iVar1 + 0x20);\n  if ((iVar1 != 0) && (iVar1 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar1 != 0)) {\n    return iVar1 + 0x50;\n  }\n  return 0;\n}\n\n" (function_definition "int FUN_001f3974(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  iVar1 = (*(code *)PTR_is_locked_00432dac)(iVar1 + 0x20);\n  if ((iVar1 != 0) && (iVar1 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar1 != 0)) {\n    return iVar1 + 0x50;\n  }\n  return 0;\n}" primitive_type (function_declarator "FUN_001f3974(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  iVar1 = (*(code *)PTR_is_locked_00432dac)(iVar1 + 0x20);\n  if ((iVar1 != 0) && (iVar1 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar1 != 0)) {\n    return iVar1 + 0x50;\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c);" (assignment_expression "iVar1 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c)" identifier = (pointer_expression "*(int *)(*(int *)(param_1 + 0x2c) + 0x1c)" * (cast_expression "(int *)(*(int *)(param_1 + 0x2c) + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x2c) + 0x1c)" ( (binary_expression "*(int *)(param_1 + 0x2c) + 0x1c" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (iVar1 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar1 = (*(code *)PTR_is_locked_00432dac)(iVar1 + 0x20);" (assignment_expression "iVar1 = (*(code *)PTR_is_locked_00432dac)(iVar1 + 0x20)" identifier = (call_expression "(*(code *)PTR_is_locked_00432dac)(iVar1 + 0x20)" (parenthesized_expression "(*(code *)PTR_is_locked_00432dac)" ( (pointer_expression "*(code *)PTR_is_locked_00432dac" * (cast_expression "(code *)PTR_is_locked_00432dac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1 + 0x20)" ( (binary_expression "iVar1 + 0x20" identifier + number_literal) )))) ;) (if_statement "if ((iVar1 != 0) && (iVar1 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar1 != 0)) {\n    return iVar1 + 0x50;\n  }" if (parenthesized_expression "((iVar1 != 0) && (iVar1 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar1 != 0))" ( (binary_expression "(iVar1 != 0) && (iVar1 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar1 != 0)" (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar1 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar1 != 0)" ( (comma_expression "iVar1 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar1 != 0" (assignment_expression "iVar1 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c)" identifier = (pointer_expression "*(int *)(*(int *)(param_1 + 0x2c) + 0x1c)" * (cast_expression "(int *)(*(int *)(param_1 + 0x2c) + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x2c) + 0x1c)" ( (binary_expression "*(int *)(param_1 + 0x2c) + 0x1c" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) + number_literal) ))))) , (binary_expression "iVar1 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    return iVar1 + 0x50;\n  }" { (return_statement "return iVar1 + 0x50;" return (binary_expression "iVar1 + 0x50" identifier + number_literal) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Struct "Output_section_data": ignoring overlapping field "output_section_" */\n/* WARNING: Struct "Output_section": ignoring overlapping field "name_" */\n/* WARNING: Struct "Output_section_headers": ignoring overlapping field "layout_" */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* WARNING: Struct "Output_reduced_debug_abbrev_section": ignoring overlapping field "data_" */\n/* WARNING: Struct "Output_reduced_debug_info_section": ignoring overlapping field "data_" */\n/* DWARF original prototype: Task_token * is_runnable(Read_relocs * this) */\n\nTask_token * __thiscall gold::Read_relocs::is_runnable(Read_relocs *this)\n\n{\n  Input_file *pIVar1;\n  int iVar2;\n  \n  pIVar1 = (this->object_->super_Object).input_file_;\n  if (pIVar1 == (Input_file *)0x0) {\n    return (Task_token *)0x0;\n  }\n  iVar2 = (*(code *)PTR_is_locked_00432dac)(&pIVar1->file_);\n  if ((iVar2 != 0) &&\n     (pIVar1 = (this->object_->super_Object).input_file_, pIVar1 != (Input_file *)0x0)) {\n    return &(pIVar1->file_).token_;\n  }\n  return (Task_token *)0x0;\n}\n\n" comment comment comment comment comment comment comment (ERROR "Task_token * __thiscall gold::Read_relocs::is_runnable(Read_relocs *this)" (binary_expression "Task_token * __thiscall gold::Read_relocs::is_runnable(Read_relocs *this" (binary_expression "Task_token * __thiscall" identifier * identifier) (ERROR "gold::Read_relocs::is_runnable(Read_relocs" identifier : : identifier : : identifier ( identifier) * identifier) )) (compound_statement "{\n  Input_file *pIVar1;\n  int iVar2;\n  \n  pIVar1 = (this->object_->super_Object).input_file_;\n  if (pIVar1 == (Input_file *)0x0) {\n    return (Task_token *)0x0;\n  }\n  iVar2 = (*(code *)PTR_is_locked_00432dac)(&pIVar1->file_);\n  if ((iVar2 != 0) &&\n     (pIVar1 = (this->object_->super_Object).input_file_, pIVar1 != (Input_file *)0x0)) {\n    return &(pIVar1->file_).token_;\n  }\n  return (Task_token *)0x0;\n}" { (declaration "Input_file *pIVar1;" type_identifier (pointer_declarator "*pIVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "pIVar1 = (this->object_->super_Object).input_file_;" (assignment_expression "pIVar1 = (this->object_->super_Object).input_file_" identifier = (field_expression "(this->object_->super_Object).input_file_" (parenthesized_expression "(this->object_->super_Object)" ( (field_expression "this->object_->super_Object" (field_expression "this->object_" identifier -> field_identifier) -> field_identifier) )) . field_identifier)) ;) (if_statement "if (pIVar1 == (Input_file *)0x0) {\n    return (Task_token *)0x0;\n  }" if (parenthesized_expression "(pIVar1 == (Input_file *)0x0)" ( (binary_expression "pIVar1 == (Input_file *)0x0" identifier == (cast_expression "(Input_file *)0x0" ( (type_descriptor "Input_file *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return (Task_token *)0x0;\n  }" { (return_statement "return (Task_token *)0x0;" return (cast_expression "(Task_token *)0x0" ( (type_descriptor "Task_token *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "iVar2 = (*(code *)PTR_is_locked_00432dac)(&pIVar1->file_);" (assignment_expression "iVar2 = (*(code *)PTR_is_locked_00432dac)(&pIVar1->file_)" identifier = (call_expression "(*(code *)PTR_is_locked_00432dac)(&pIVar1->file_)" (parenthesized_expression "(*(code *)PTR_is_locked_00432dac)" ( (pointer_expression "*(code *)PTR_is_locked_00432dac" * (cast_expression "(code *)PTR_is_locked_00432dac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&pIVar1->file_)" ( (pointer_expression "&pIVar1->file_" & (field_expression "pIVar1->file_" identifier -> field_identifier)) )))) ;) (if_statement "if ((iVar2 != 0) &&\n     (pIVar1 = (this->object_->super_Object).input_file_, pIVar1 != (Input_file *)0x0)) {\n    return &(pIVar1->file_).token_;\n  }" if (parenthesized_expression "((iVar2 != 0) &&\n     (pIVar1 = (this->object_->super_Object).input_file_, pIVar1 != (Input_file *)0x0))" ( (binary_expression "(iVar2 != 0) &&\n     (pIVar1 = (this->object_->super_Object).input_file_, pIVar1 != (Input_file *)0x0)" (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) && (parenthesized_expression "(pIVar1 = (this->object_->super_Object).input_file_, pIVar1 != (Input_file *)0x0)" ( (comma_expression "pIVar1 = (this->object_->super_Object).input_file_, pIVar1 != (Input_file *)0x0" (assignment_expression "pIVar1 = (this->object_->super_Object).input_file_" identifier = (field_expression "(this->object_->super_Object).input_file_" (parenthesized_expression "(this->object_->super_Object)" ( (field_expression "this->object_->super_Object" (field_expression "this->object_" identifier -> field_identifier) -> field_identifier) )) . field_identifier)) , (binary_expression "pIVar1 != (Input_file *)0x0" identifier != (cast_expression "(Input_file *)0x0" ( (type_descriptor "Input_file *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n    return &(pIVar1->file_).token_;\n  }" { (return_statement "return &(pIVar1->file_).token_;" return (pointer_expression "&(pIVar1->file_).token_" & (field_expression "(pIVar1->file_).token_" (parenthesized_expression "(pIVar1->file_)" ( (field_expression "pIVar1->file_" identifier -> field_identifier) )) . field_identifier)) ;) })) (return_statement "return (Task_token *)0x0;" return (cast_expression "(Task_token *)0x0" ( (type_descriptor "Task_token *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) }))
(translation_unit "int FUN_001f3974(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  iVar1 = (*(code *)PTR_is_locked_00432dac)(iVar1 + 0x20);\n  if ((iVar1 != 0) && (iVar1 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar1 != 0)) {\n    return iVar1 + 0x50;\n  }\n  return 0;\n}\n\n" (function_definition "int FUN_001f3974(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  iVar1 = (*(code *)PTR_is_locked_00432dac)(iVar1 + 0x20);\n  if ((iVar1 != 0) && (iVar1 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar1 != 0)) {\n    return iVar1 + 0x50;\n  }\n  return 0;\n}" primitive_type (function_declarator "FUN_001f3974(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  iVar1 = (*(code *)PTR_is_locked_00432dac)(iVar1 + 0x20);\n  if ((iVar1 != 0) && (iVar1 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar1 != 0)) {\n    return iVar1 + 0x50;\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c);" (assignment_expression "iVar1 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c)" identifier = (pointer_expression "*(int *)(*(int *)(param_1 + 0x2c) + 0x1c)" * (cast_expression "(int *)(*(int *)(param_1 + 0x2c) + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x2c) + 0x1c)" ( (binary_expression "*(int *)(param_1 + 0x2c) + 0x1c" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (iVar1 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar1 = (*(code *)PTR_is_locked_00432dac)(iVar1 + 0x20);" (assignment_expression "iVar1 = (*(code *)PTR_is_locked_00432dac)(iVar1 + 0x20)" identifier = (call_expression "(*(code *)PTR_is_locked_00432dac)(iVar1 + 0x20)" (parenthesized_expression "(*(code *)PTR_is_locked_00432dac)" ( (pointer_expression "*(code *)PTR_is_locked_00432dac" * (cast_expression "(code *)PTR_is_locked_00432dac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1 + 0x20)" ( (binary_expression "iVar1 + 0x20" identifier + number_literal) )))) ;) (if_statement "if ((iVar1 != 0) && (iVar1 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar1 != 0)) {\n    return iVar1 + 0x50;\n  }" if (parenthesized_expression "((iVar1 != 0) && (iVar1 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar1 != 0))" ( (binary_expression "(iVar1 != 0) && (iVar1 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar1 != 0)" (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar1 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar1 != 0)" ( (comma_expression "iVar1 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar1 != 0" (assignment_expression "iVar1 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c)" identifier = (pointer_expression "*(int *)(*(int *)(param_1 + 0x2c) + 0x1c)" * (cast_expression "(int *)(*(int *)(param_1 + 0x2c) + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x2c) + 0x1c)" ( (binary_expression "*(int *)(param_1 + 0x2c) + 0x1c" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) + number_literal) ))))) , (binary_expression "iVar1 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    return iVar1 + 0x50;\n  }" { (return_statement "return iVar1 + 0x50;" return (binary_expression "iVar1 + 0x50" identifier + number_literal) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (return_statement return (binary_expression IDENT + LIT) ;) })) (return_statement return LIT ;) })))
(function_definition "int FUN_001f3974(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  iVar1 = (*(code *)PTR_is_locked_00432dac)(iVar1 + 0x20);\n  if ((iVar1 != 0) && (iVar1 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar1 != 0)) {\n    return iVar1 + 0x50;\n  }\n  return 0;\n}" (primitive_type "int") (function_declarator "FUN_001f3974(int param_1)" (identifier "FUN_001f3974") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  iVar1 = (*(code *)PTR_is_locked_00432dac)(iVar1 + 0x20);\n  if ((iVar1 != 0) && (iVar1 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar1 != 0)) {\n    return iVar1 + 0x50;\n  }\n  return 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c);" (assignment_expression "iVar1 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(*(int *)(param_1 + 0x2c) + 0x1c)" (* "*") (cast_expression "(int *)(*(int *)(param_1 + 0x2c) + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x2c) + 0x1c)" (( "(") (binary_expression "*(int *)(param_1 + 0x2c) + 0x1c" (pointer_expression "*(int *)(param_1 + 0x2c)" (* "*") (cast_expression "(int *)(param_1 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (if_statement "if (iVar1 == 0) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "iVar1 = (*(code *)PTR_is_locked_00432dac)(iVar1 + 0x20);" (assignment_expression "iVar1 = (*(code *)PTR_is_locked_00432dac)(iVar1 + 0x20)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_is_locked_00432dac)(iVar1 + 0x20)" (parenthesized_expression "(*(code *)PTR_is_locked_00432dac)" (( "(") (pointer_expression "*(code *)PTR_is_locked_00432dac" (* "*") (cast_expression "(code *)PTR_is_locked_00432dac" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_is_locked_00432dac"))) () ")")) (argument_list "(iVar1 + 0x20)" (( "(") (binary_expression "iVar1 + 0x20" (identifier "iVar1") (+ "+") (number_literal "0x20")) () ")")))) (; ";")) (if_statement "if ((iVar1 != 0) && (iVar1 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar1 != 0)) {\n    return iVar1 + 0x50;\n  }" (if "if") (parenthesized_expression "((iVar1 != 0) && (iVar1 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar1 != 0))" (( "(") (binary_expression "(iVar1 != 0) && (iVar1 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar1 != 0)" (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar1 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar1 != 0)" (( "(") (comma_expression "iVar1 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar1 != 0" (assignment_expression "iVar1 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(*(int *)(param_1 + 0x2c) + 0x1c)" (* "*") (cast_expression "(int *)(*(int *)(param_1 + 0x2c) + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x2c) + 0x1c)" (( "(") (binary_expression "*(int *)(param_1 + 0x2c) + 0x1c" (pointer_expression "*(int *)(param_1 + 0x2c)" (* "*") (cast_expression "(int *)(param_1 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) (+ "+") (number_literal "0x1c")) () ")"))))) (, ",") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    return iVar1 + 0x50;\n  }" ({ "{") (return_statement "return iVar1 + 0x50;" (return "return") (binary_expression "iVar1 + 0x50" (identifier "iVar1") (+ "+") (number_literal "0x50")) (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* WARNING: Struct "Output_section_data": ignoring overlapping field "output_section_" */
/* WARNING: Struct "Output_section": ignoring overlapping field "name_" */
/* WARNING: Struct "Output_section_headers": ignoring overlapping field "layout_" */
/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Struct "Output_reduced_debug_abbrev_section": ignoring overlapping field "data_" */
/* WARNING: Struct "Output_reduced_debug_info_section": ignoring overlapping field "data_" */
/* DWARF original prototype: Task_token * is_runnable(Read_relocs * this) */

type_2 * __thiscall gold::Read_relocs::is_runnable(Read_relocs *this)

{
  type_1 *var_1;
  int var_2;
  
  var_1 = (this->object_->super_Object).input_file_;
  if (var_1 == (type_1 *)0x0) {
    return (type_2 *)0x0;
  }
  var_2 = (*(type_3 *)PTR_is_locked_00432dac)(&var_1->file_);
  if ((var_2 != 0) &&
     (var_1 = (this->object_->super_Object).input_file_, var_1 != (type_1 *)0x0)) {
    return &(var_1->file_).token_;
  }
  return (type_2 *)0x0;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) 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: (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: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (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: (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: (number_literal)))))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (return_statement (binary_expression left: (identifier) right: (number_literal))))) (return_statement (number_literal)))))

int MASKED(int param_1)

{
  int iVar1;
  
  iVar1 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c);
  if (iVar1 == 0) {
    return 0;
  }
  iVar1 = (*(code *)PTR_is_locked_00432dac)(iVar1 + 0x20);
  if ((iVar1 != 0) && (iVar1 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar1 != 0)) {
    return iVar1 + 0x50;
  }
  return 0;
}

