
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: bool operator()(Input_section_sort_section_order_index_compare * this,
   Input_section_sort_entry * s1, Input_section_sort_entry * s2) */

bool __thiscall
gold::Output_section::Input_section_sort_section_order_index_compare::operator()
          (Input_section_sort_section_order_index_compare *this,Input_section_sort_entry *s1,
          Input_section_sort_entry *s2)

{
  uint uVar1;
  uint uVar2;
  bool bVar3;
  
  if (s1->index_ != 0xffffffff) {
    uVar1 = (s1->input_section_).section_order_index_;
    if (s2->index_ != 0xffffffff) {
      uVar2 = (s2->input_section_).section_order_index_;
      bVar3 = uVar1 < uVar2;
      if (uVar1 == uVar2) {
        bVar3 = s1->index_ < s2->index_;
      }
      return bVar3;
    }
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/output.cc",0xcf5,"input_section");
}



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

bool FUN_000bbb40(undefined4 param_1,int param_2,int param_3)

{
  bool bVar1;
  
  if (*(uint *)(param_2 + 0x18) != 0xffffffff) {
    if (*(uint *)(param_3 + 0x18) != 0xffffffff) {
      bVar1 = *(uint *)(param_2 + 0x14) < *(uint *)(param_3 + 0x14);
      if (*(uint *)(param_2 + 0x14) == *(uint *)(param_3 + 0x14)) {
        bVar1 = *(uint *)(param_2 + 0x18) < *(uint *)(param_3 + 0x18);
      }
      return bVar1;
    }
  }
                    /* WARNING: Subroutine does not return */
  FUN_0005f0b0("../../gold/output.cc",0xcf5,"input_section",param_2);
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV EAX,dword ptr [ESP + 0x14]
CALL 0x00032730
ADD EBX,0x2464b4
MOV EDX,dword ptr [ESP + 0x18]
MOV ESI,dword ptr [EAX + 0x18]
CMP ESI,-0x1
JZ 0x000bbb7c
MOV EDI,dword ptr [EDX + 0x18]
MOV ECX,dword ptr [EAX + 0x14]
CMP EDI,-0x1
JZ 0x000bbb7c
MOV EDX,dword ptr [EDX + 0x14]
CMP ECX,EDX
SETC AL
JNZ 0x000bbb78
CMP EDI,ESI
SETA AL
POP EBX
POP ESI
POP EDI
RET
PUSH EAX
LEA EAX,[EBX + 0xfff29700]
PUSH EAX
LEA EAX,[EBX + 0xfff2864b]
PUSH 0xcf5
PUSH EAX
CALL 0x0005f0b0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nbool FUN_000bbb40(undefined4 param_1,int param_2,int param_3)\n\n{\n  bool bVar1;\n  \n  if (*(uint *)(param_2 + 0x18) != 0xffffffff) {\n    if (*(uint *)(param_3 + 0x18) != 0xffffffff) {\n      bVar1 = *(uint *)(param_2 + 0x14) < *(uint *)(param_3 + 0x14);\n      if (*(uint *)(param_2 + 0x14) == *(uint *)(param_3 + 0x14)) {\n        bVar1 = *(uint *)(param_2 + 0x18) < *(uint *)(param_3 + 0x18);\n      }\n      return bVar1;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0005f0b0("../../gold/output.cc",0xcf5,"input_section",param_2);\n}\n\n" comment (function_definition "bool FUN_000bbb40(undefined4 param_1,int param_2,int param_3)\n\n{\n  bool bVar1;\n  \n  if (*(uint *)(param_2 + 0x18) != 0xffffffff) {\n    if (*(uint *)(param_3 + 0x18) != 0xffffffff) {\n      bVar1 = *(uint *)(param_2 + 0x14) < *(uint *)(param_3 + 0x14);\n      if (*(uint *)(param_2 + 0x14) == *(uint *)(param_3 + 0x14)) {\n        bVar1 = *(uint *)(param_2 + 0x18) < *(uint *)(param_3 + 0x18);\n      }\n      return bVar1;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0005f0b0("../../gold/output.cc",0xcf5,"input_section",param_2);\n}" primitive_type (function_declarator "FUN_000bbb40(undefined4 param_1,int param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,int param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  bool bVar1;\n  \n  if (*(uint *)(param_2 + 0x18) != 0xffffffff) {\n    if (*(uint *)(param_3 + 0x18) != 0xffffffff) {\n      bVar1 = *(uint *)(param_2 + 0x14) < *(uint *)(param_3 + 0x14);\n      if (*(uint *)(param_2 + 0x14) == *(uint *)(param_3 + 0x14)) {\n        bVar1 = *(uint *)(param_2 + 0x18) < *(uint *)(param_3 + 0x18);\n      }\n      return bVar1;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0005f0b0("../../gold/output.cc",0xcf5,"input_section",param_2);\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (if_statement "if (*(uint *)(param_2 + 0x18) != 0xffffffff) {\n    if (*(uint *)(param_3 + 0x18) != 0xffffffff) {\n      bVar1 = *(uint *)(param_2 + 0x14) < *(uint *)(param_3 + 0x14);\n      if (*(uint *)(param_2 + 0x14) == *(uint *)(param_3 + 0x14)) {\n        bVar1 = *(uint *)(param_2 + 0x18) < *(uint *)(param_3 + 0x18);\n      }\n      return bVar1;\n    }\n  }" if (parenthesized_expression "(*(uint *)(param_2 + 0x18) != 0xffffffff)" ( (binary_expression "*(uint *)(param_2 + 0x18) != 0xffffffff" (pointer_expression "*(uint *)(param_2 + 0x18)" * (cast_expression "(uint *)(param_2 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    if (*(uint *)(param_3 + 0x18) != 0xffffffff) {\n      bVar1 = *(uint *)(param_2 + 0x14) < *(uint *)(param_3 + 0x14);\n      if (*(uint *)(param_2 + 0x14) == *(uint *)(param_3 + 0x14)) {\n        bVar1 = *(uint *)(param_2 + 0x18) < *(uint *)(param_3 + 0x18);\n      }\n      return bVar1;\n    }\n  }" { (if_statement "if (*(uint *)(param_3 + 0x18) != 0xffffffff) {\n      bVar1 = *(uint *)(param_2 + 0x14) < *(uint *)(param_3 + 0x14);\n      if (*(uint *)(param_2 + 0x14) == *(uint *)(param_3 + 0x14)) {\n        bVar1 = *(uint *)(param_2 + 0x18) < *(uint *)(param_3 + 0x18);\n      }\n      return bVar1;\n    }" if (parenthesized_expression "(*(uint *)(param_3 + 0x18) != 0xffffffff)" ( (binary_expression "*(uint *)(param_3 + 0x18) != 0xffffffff" (pointer_expression "*(uint *)(param_3 + 0x18)" * (cast_expression "(uint *)(param_3 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      bVar1 = *(uint *)(param_2 + 0x14) < *(uint *)(param_3 + 0x14);\n      if (*(uint *)(param_2 + 0x14) == *(uint *)(param_3 + 0x14)) {\n        bVar1 = *(uint *)(param_2 + 0x18) < *(uint *)(param_3 + 0x18);\n      }\n      return bVar1;\n    }" { (expression_statement "bVar1 = *(uint *)(param_2 + 0x14) < *(uint *)(param_3 + 0x14);" (assignment_expression "bVar1 = *(uint *)(param_2 + 0x14) < *(uint *)(param_3 + 0x14)" identifier = (binary_expression "*(uint *)(param_2 + 0x14) < *(uint *)(param_3 + 0x14)" (pointer_expression "*(uint *)(param_2 + 0x14)" * (cast_expression "(uint *)(param_2 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) < (pointer_expression "*(uint *)(param_3 + 0x14)" * (cast_expression "(uint *)(param_3 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x14)" ( (binary_expression "param_3 + 0x14" identifier + number_literal) )))))) ;) (if_statement "if (*(uint *)(param_2 + 0x14) == *(uint *)(param_3 + 0x14)) {\n        bVar1 = *(uint *)(param_2 + 0x18) < *(uint *)(param_3 + 0x18);\n      }" if (parenthesized_expression "(*(uint *)(param_2 + 0x14) == *(uint *)(param_3 + 0x14))" ( (binary_expression "*(uint *)(param_2 + 0x14) == *(uint *)(param_3 + 0x14)" (pointer_expression "*(uint *)(param_2 + 0x14)" * (cast_expression "(uint *)(param_2 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) == (pointer_expression "*(uint *)(param_3 + 0x14)" * (cast_expression "(uint *)(param_3 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x14)" ( (binary_expression "param_3 + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n        bVar1 = *(uint *)(param_2 + 0x18) < *(uint *)(param_3 + 0x18);\n      }" { (expression_statement "bVar1 = *(uint *)(param_2 + 0x18) < *(uint *)(param_3 + 0x18);" (assignment_expression "bVar1 = *(uint *)(param_2 + 0x18) < *(uint *)(param_3 + 0x18)" identifier = (binary_expression "*(uint *)(param_2 + 0x18) < *(uint *)(param_3 + 0x18)" (pointer_expression "*(uint *)(param_2 + 0x18)" * (cast_expression "(uint *)(param_2 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) < (pointer_expression "*(uint *)(param_3 + 0x18)" * (cast_expression "(uint *)(param_3 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) )))))) ;) })) (return_statement "return bVar1;" return identifier ;) })) })) comment (expression_statement "FUN_0005f0b0("../../gold/output.cc",0xcf5,"input_section",param_2);" (call_expression "FUN_0005f0b0("../../gold/output.cc",0xcf5,"input_section",param_2)" identifier (argument_list "("../../gold/output.cc",0xcf5,"input_section",param_2)" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""input_section"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: bool operator()(Input_section_sort_section_order_index_compare * this,\n   Input_section_sort_entry * s1, Input_section_sort_entry * s2) */\n\nbool __thiscall\ngold::Output_section::Input_section_sort_section_order_index_compare::operator()\n          (Input_section_sort_section_order_index_compare *this,Input_section_sort_entry *s1,\n          Input_section_sort_entry *s2)\n\n{\n  uint uVar1;\n  uint uVar2;\n  bool bVar3;\n  \n  if (s1->index_ != 0xffffffff) {\n    uVar1 = (s1->input_section_).section_order_index_;\n    if (s2->index_ != 0xffffffff) {\n      uVar2 = (s2->input_section_).section_order_index_;\n      bVar3 = uVar1 < uVar2;\n      if (uVar1 == uVar2) {\n        bVar3 = s1->index_ < s2->index_;\n      }\n      return bVar3;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/output.cc",0xcf5,"input_section");\n}\n\n" comment comment (function_definition "bool __thiscall\ngold::Output_section::Input_section_sort_section_order_index_compare::operator()\n          (Input_section_sort_section_order_index_compare *this,Input_section_sort_entry *s1,\n          Input_section_sort_entry *s2)\n\n{\n  uint uVar1;\n  uint uVar2;\n  bool bVar3;\n  \n  if (s1->index_ != 0xffffffff) {\n    uVar1 = (s1->input_section_).section_order_index_;\n    if (s2->index_ != 0xffffffff) {\n      uVar2 = (s2->input_section_).section_order_index_;\n      bVar3 = uVar1 < uVar2;\n      if (uVar1 == uVar2) {\n        bVar3 = s1->index_ < s2->index_;\n      }\n      return bVar3;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/output.cc",0xcf5,"input_section");\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Output_section::Input_section_sort_section_order_index_compare::" identifier : : identifier : : identifier : :) (function_declarator "operator()\n          (Input_section_sort_section_order_index_compare *this,Input_section_sort_entry *s1,\n          Input_section_sort_entry *s2)" (function_declarator "operator()" identifier (parameter_list "()" ( ))) (parameter_list "(Input_section_sort_section_order_index_compare *this,Input_section_sort_entry *s1,\n          Input_section_sort_entry *s2)" ( (parameter_declaration "Input_section_sort_section_order_index_compare *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Input_section_sort_entry *s1" type_identifier (pointer_declarator "*s1" * identifier)) , (parameter_declaration "Input_section_sort_entry *s2" type_identifier (pointer_declarator "*s2" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  bool bVar3;\n  \n  if (s1->index_ != 0xffffffff) {\n    uVar1 = (s1->input_section_).section_order_index_;\n    if (s2->index_ != 0xffffffff) {\n      uVar2 = (s2->input_section_).section_order_index_;\n      bVar3 = uVar1 < uVar2;\n      if (uVar1 == uVar2) {\n        bVar3 = s1->index_ < s2->index_;\n      }\n      return bVar3;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/output.cc",0xcf5,"input_section");\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (if_statement "if (s1->index_ != 0xffffffff) {\n    uVar1 = (s1->input_section_).section_order_index_;\n    if (s2->index_ != 0xffffffff) {\n      uVar2 = (s2->input_section_).section_order_index_;\n      bVar3 = uVar1 < uVar2;\n      if (uVar1 == uVar2) {\n        bVar3 = s1->index_ < s2->index_;\n      }\n      return bVar3;\n    }\n  }" if (parenthesized_expression "(s1->index_ != 0xffffffff)" ( (binary_expression "s1->index_ != 0xffffffff" (field_expression "s1->index_" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n    uVar1 = (s1->input_section_).section_order_index_;\n    if (s2->index_ != 0xffffffff) {\n      uVar2 = (s2->input_section_).section_order_index_;\n      bVar3 = uVar1 < uVar2;\n      if (uVar1 == uVar2) {\n        bVar3 = s1->index_ < s2->index_;\n      }\n      return bVar3;\n    }\n  }" { (expression_statement "uVar1 = (s1->input_section_).section_order_index_;" (assignment_expression "uVar1 = (s1->input_section_).section_order_index_" identifier = (field_expression "(s1->input_section_).section_order_index_" (parenthesized_expression "(s1->input_section_)" ( (field_expression "s1->input_section_" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if (s2->index_ != 0xffffffff) {\n      uVar2 = (s2->input_section_).section_order_index_;\n      bVar3 = uVar1 < uVar2;\n      if (uVar1 == uVar2) {\n        bVar3 = s1->index_ < s2->index_;\n      }\n      return bVar3;\n    }" if (parenthesized_expression "(s2->index_ != 0xffffffff)" ( (binary_expression "s2->index_ != 0xffffffff" (field_expression "s2->index_" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n      uVar2 = (s2->input_section_).section_order_index_;\n      bVar3 = uVar1 < uVar2;\n      if (uVar1 == uVar2) {\n        bVar3 = s1->index_ < s2->index_;\n      }\n      return bVar3;\n    }" { (expression_statement "uVar2 = (s2->input_section_).section_order_index_;" (assignment_expression "uVar2 = (s2->input_section_).section_order_index_" identifier = (field_expression "(s2->input_section_).section_order_index_" (parenthesized_expression "(s2->input_section_)" ( (field_expression "s2->input_section_" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "bVar3 = uVar1 < uVar2;" (assignment_expression "bVar3 = uVar1 < uVar2" identifier = (binary_expression "uVar1 < uVar2" identifier < identifier)) ;) (if_statement "if (uVar1 == uVar2) {\n        bVar3 = s1->index_ < s2->index_;\n      }" if (parenthesized_expression "(uVar1 == uVar2)" ( (binary_expression "uVar1 == uVar2" identifier == identifier) )) (compound_statement "{\n        bVar3 = s1->index_ < s2->index_;\n      }" { (expression_statement "bVar3 = s1->index_ < s2->index_;" (assignment_expression "bVar3 = s1->index_ < s2->index_" identifier = (binary_expression "s1->index_ < s2->index_" (field_expression "s1->index_" identifier -> field_identifier) < (field_expression "s2->index_" identifier -> field_identifier))) ;) })) (return_statement "return bVar3;" return identifier ;) })) })) comment (expression_statement "do_gold_unreachable("../../gold/output.cc",0xcf5,"input_section");" (call_expression "do_gold_unreachable("../../gold/output.cc",0xcf5,"input_section")" identifier (argument_list "("../../gold/output.cc",0xcf5,"input_section")" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""input_section"" " string_content ") ))) ;) })))
(translation_unit "bool FUN_000bbb40(undefined4 param_1,int param_2,int param_3)\n\n{\n  bool bVar1;\n  \n  if (*(uint *)(param_2 + 0x18) != 0xffffffff) {\n    if (*(uint *)(param_3 + 0x18) != 0xffffffff) {\n      bVar1 = *(uint *)(param_2 + 0x14) < *(uint *)(param_3 + 0x14);\n      if (*(uint *)(param_2 + 0x14) == *(uint *)(param_3 + 0x14)) {\n        bVar1 = *(uint *)(param_2 + 0x18) < *(uint *)(param_3 + 0x18);\n      }\n      return bVar1;\n    }\n  }\n                    \n  FUN_0005f0b0("../../gold/output.cc",0xcf5,"input_section",param_2);\n}\n\n" (function_definition "bool FUN_000bbb40(undefined4 param_1,int param_2,int param_3)\n\n{\n  bool bVar1;\n  \n  if (*(uint *)(param_2 + 0x18) != 0xffffffff) {\n    if (*(uint *)(param_3 + 0x18) != 0xffffffff) {\n      bVar1 = *(uint *)(param_2 + 0x14) < *(uint *)(param_3 + 0x14);\n      if (*(uint *)(param_2 + 0x14) == *(uint *)(param_3 + 0x14)) {\n        bVar1 = *(uint *)(param_2 + 0x18) < *(uint *)(param_3 + 0x18);\n      }\n      return bVar1;\n    }\n  }\n                    \n  FUN_0005f0b0("../../gold/output.cc",0xcf5,"input_section",param_2);\n}" primitive_type (function_declarator "FUN_000bbb40(undefined4 param_1,int param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,int param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  bool bVar1;\n  \n  if (*(uint *)(param_2 + 0x18) != 0xffffffff) {\n    if (*(uint *)(param_3 + 0x18) != 0xffffffff) {\n      bVar1 = *(uint *)(param_2 + 0x14) < *(uint *)(param_3 + 0x14);\n      if (*(uint *)(param_2 + 0x14) == *(uint *)(param_3 + 0x14)) {\n        bVar1 = *(uint *)(param_2 + 0x18) < *(uint *)(param_3 + 0x18);\n      }\n      return bVar1;\n    }\n  }\n                    \n  FUN_0005f0b0("../../gold/output.cc",0xcf5,"input_section",param_2);\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (if_statement "if (*(uint *)(param_2 + 0x18) != 0xffffffff) {\n    if (*(uint *)(param_3 + 0x18) != 0xffffffff) {\n      bVar1 = *(uint *)(param_2 + 0x14) < *(uint *)(param_3 + 0x14);\n      if (*(uint *)(param_2 + 0x14) == *(uint *)(param_3 + 0x14)) {\n        bVar1 = *(uint *)(param_2 + 0x18) < *(uint *)(param_3 + 0x18);\n      }\n      return bVar1;\n    }\n  }" if (parenthesized_expression "(*(uint *)(param_2 + 0x18) != 0xffffffff)" ( (binary_expression "*(uint *)(param_2 + 0x18) != 0xffffffff" (pointer_expression "*(uint *)(param_2 + 0x18)" * (cast_expression "(uint *)(param_2 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    if (*(uint *)(param_3 + 0x18) != 0xffffffff) {\n      bVar1 = *(uint *)(param_2 + 0x14) < *(uint *)(param_3 + 0x14);\n      if (*(uint *)(param_2 + 0x14) == *(uint *)(param_3 + 0x14)) {\n        bVar1 = *(uint *)(param_2 + 0x18) < *(uint *)(param_3 + 0x18);\n      }\n      return bVar1;\n    }\n  }" { (if_statement "if (*(uint *)(param_3 + 0x18) != 0xffffffff) {\n      bVar1 = *(uint *)(param_2 + 0x14) < *(uint *)(param_3 + 0x14);\n      if (*(uint *)(param_2 + 0x14) == *(uint *)(param_3 + 0x14)) {\n        bVar1 = *(uint *)(param_2 + 0x18) < *(uint *)(param_3 + 0x18);\n      }\n      return bVar1;\n    }" if (parenthesized_expression "(*(uint *)(param_3 + 0x18) != 0xffffffff)" ( (binary_expression "*(uint *)(param_3 + 0x18) != 0xffffffff" (pointer_expression "*(uint *)(param_3 + 0x18)" * (cast_expression "(uint *)(param_3 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      bVar1 = *(uint *)(param_2 + 0x14) < *(uint *)(param_3 + 0x14);\n      if (*(uint *)(param_2 + 0x14) == *(uint *)(param_3 + 0x14)) {\n        bVar1 = *(uint *)(param_2 + 0x18) < *(uint *)(param_3 + 0x18);\n      }\n      return bVar1;\n    }" { (expression_statement "bVar1 = *(uint *)(param_2 + 0x14) < *(uint *)(param_3 + 0x14);" (assignment_expression "bVar1 = *(uint *)(param_2 + 0x14) < *(uint *)(param_3 + 0x14)" identifier = (binary_expression "*(uint *)(param_2 + 0x14) < *(uint *)(param_3 + 0x14)" (pointer_expression "*(uint *)(param_2 + 0x14)" * (cast_expression "(uint *)(param_2 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) < (pointer_expression "*(uint *)(param_3 + 0x14)" * (cast_expression "(uint *)(param_3 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x14)" ( (binary_expression "param_3 + 0x14" identifier + number_literal) )))))) ;) (if_statement "if (*(uint *)(param_2 + 0x14) == *(uint *)(param_3 + 0x14)) {\n        bVar1 = *(uint *)(param_2 + 0x18) < *(uint *)(param_3 + 0x18);\n      }" if (parenthesized_expression "(*(uint *)(param_2 + 0x14) == *(uint *)(param_3 + 0x14))" ( (binary_expression "*(uint *)(param_2 + 0x14) == *(uint *)(param_3 + 0x14)" (pointer_expression "*(uint *)(param_2 + 0x14)" * (cast_expression "(uint *)(param_2 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) == (pointer_expression "*(uint *)(param_3 + 0x14)" * (cast_expression "(uint *)(param_3 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x14)" ( (binary_expression "param_3 + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n        bVar1 = *(uint *)(param_2 + 0x18) < *(uint *)(param_3 + 0x18);\n      }" { (expression_statement "bVar1 = *(uint *)(param_2 + 0x18) < *(uint *)(param_3 + 0x18);" (assignment_expression "bVar1 = *(uint *)(param_2 + 0x18) < *(uint *)(param_3 + 0x18)" identifier = (binary_expression "*(uint *)(param_2 + 0x18) < *(uint *)(param_3 + 0x18)" (pointer_expression "*(uint *)(param_2 + 0x18)" * (cast_expression "(uint *)(param_2 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) < (pointer_expression "*(uint *)(param_3 + 0x18)" * (cast_expression "(uint *)(param_3 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) )))))) ;) })) (return_statement "return bVar1;" return identifier ;) })) })) (expression_statement "FUN_0005f0b0("../../gold/output.cc",0xcf5,"input_section",param_2);" (call_expression "FUN_0005f0b0("../../gold/output.cc",0xcf5,"input_section",param_2)" identifier (argument_list "("../../gold/output.cc",0xcf5,"input_section",param_2)" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""input_section"" " string_content ") , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (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) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) })) (return_statement return IDENT ;) })) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "bool FUN_000bbb40(undefined4 param_1,int param_2,int param_3)\n\n{\n  bool bVar1;\n  \n  if (*(uint *)(param_2 + 0x18) != 0xffffffff) {\n    if (*(uint *)(param_3 + 0x18) != 0xffffffff) {\n      bVar1 = *(uint *)(param_2 + 0x14) < *(uint *)(param_3 + 0x14);\n      if (*(uint *)(param_2 + 0x14) == *(uint *)(param_3 + 0x14)) {\n        bVar1 = *(uint *)(param_2 + 0x18) < *(uint *)(param_3 + 0x18);\n      }\n      return bVar1;\n    }\n  }\n                    \n  FUN_0005f0b0("../../gold/output.cc",0xcf5,"input_section",param_2);\n}" (primitive_type "bool") (function_declarator "FUN_000bbb40(undefined4 param_1,int param_2,int param_3)" (identifier "FUN_000bbb40") (parameter_list "(undefined4 param_1,int param_2,int param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  bool bVar1;\n  \n  if (*(uint *)(param_2 + 0x18) != 0xffffffff) {\n    if (*(uint *)(param_3 + 0x18) != 0xffffffff) {\n      bVar1 = *(uint *)(param_2 + 0x14) < *(uint *)(param_3 + 0x14);\n      if (*(uint *)(param_2 + 0x14) == *(uint *)(param_3 + 0x14)) {\n        bVar1 = *(uint *)(param_2 + 0x18) < *(uint *)(param_3 + 0x18);\n      }\n      return bVar1;\n    }\n  }\n                    \n  FUN_0005f0b0("../../gold/output.cc",0xcf5,"input_section",param_2);\n}" ({ "{") (declaration "bool bVar1;" (primitive_type "bool") (identifier "bVar1") (; ";")) (if_statement "if (*(uint *)(param_2 + 0x18) != 0xffffffff) {\n    if (*(uint *)(param_3 + 0x18) != 0xffffffff) {\n      bVar1 = *(uint *)(param_2 + 0x14) < *(uint *)(param_3 + 0x14);\n      if (*(uint *)(param_2 + 0x14) == *(uint *)(param_3 + 0x14)) {\n        bVar1 = *(uint *)(param_2 + 0x18) < *(uint *)(param_3 + 0x18);\n      }\n      return bVar1;\n    }\n  }" (if "if") (parenthesized_expression "(*(uint *)(param_2 + 0x18) != 0xffffffff)" (( "(") (binary_expression "*(uint *)(param_2 + 0x18) != 0xffffffff" (pointer_expression "*(uint *)(param_2 + 0x18)" (* "*") (cast_expression "(uint *)(param_2 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x18)" (( "(") (binary_expression "param_2 + 0x18" (identifier "param_2") (+ "+") (number_literal "0x18")) () ")")))) (!= "!=") (number_literal "0xffffffff")) () ")")) (compound_statement "{\n    if (*(uint *)(param_3 + 0x18) != 0xffffffff) {\n      bVar1 = *(uint *)(param_2 + 0x14) < *(uint *)(param_3 + 0x14);\n      if (*(uint *)(param_2 + 0x14) == *(uint *)(param_3 + 0x14)) {\n        bVar1 = *(uint *)(param_2 + 0x18) < *(uint *)(param_3 + 0x18);\n      }\n      return bVar1;\n    }\n  }" ({ "{") (if_statement "if (*(uint *)(param_3 + 0x18) != 0xffffffff) {\n      bVar1 = *(uint *)(param_2 + 0x14) < *(uint *)(param_3 + 0x14);\n      if (*(uint *)(param_2 + 0x14) == *(uint *)(param_3 + 0x14)) {\n        bVar1 = *(uint *)(param_2 + 0x18) < *(uint *)(param_3 + 0x18);\n      }\n      return bVar1;\n    }" (if "if") (parenthesized_expression "(*(uint *)(param_3 + 0x18) != 0xffffffff)" (( "(") (binary_expression "*(uint *)(param_3 + 0x18) != 0xffffffff" (pointer_expression "*(uint *)(param_3 + 0x18)" (* "*") (cast_expression "(uint *)(param_3 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x18)" (( "(") (binary_expression "param_3 + 0x18" (identifier "param_3") (+ "+") (number_literal "0x18")) () ")")))) (!= "!=") (number_literal "0xffffffff")) () ")")) (compound_statement "{\n      bVar1 = *(uint *)(param_2 + 0x14) < *(uint *)(param_3 + 0x14);\n      if (*(uint *)(param_2 + 0x14) == *(uint *)(param_3 + 0x14)) {\n        bVar1 = *(uint *)(param_2 + 0x18) < *(uint *)(param_3 + 0x18);\n      }\n      return bVar1;\n    }" ({ "{") (expression_statement "bVar1 = *(uint *)(param_2 + 0x14) < *(uint *)(param_3 + 0x14);" (assignment_expression "bVar1 = *(uint *)(param_2 + 0x14) < *(uint *)(param_3 + 0x14)" (identifier "bVar1") (= "=") (binary_expression "*(uint *)(param_2 + 0x14) < *(uint *)(param_3 + 0x14)" (pointer_expression "*(uint *)(param_2 + 0x14)" (* "*") (cast_expression "(uint *)(param_2 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x14)" (( "(") (binary_expression "param_2 + 0x14" (identifier "param_2") (+ "+") (number_literal "0x14")) () ")")))) (< "<") (pointer_expression "*(uint *)(param_3 + 0x14)" (* "*") (cast_expression "(uint *)(param_3 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x14)" (( "(") (binary_expression "param_3 + 0x14" (identifier "param_3") (+ "+") (number_literal "0x14")) () ")")))))) (; ";")) (if_statement "if (*(uint *)(param_2 + 0x14) == *(uint *)(param_3 + 0x14)) {\n        bVar1 = *(uint *)(param_2 + 0x18) < *(uint *)(param_3 + 0x18);\n      }" (if "if") (parenthesized_expression "(*(uint *)(param_2 + 0x14) == *(uint *)(param_3 + 0x14))" (( "(") (binary_expression "*(uint *)(param_2 + 0x14) == *(uint *)(param_3 + 0x14)" (pointer_expression "*(uint *)(param_2 + 0x14)" (* "*") (cast_expression "(uint *)(param_2 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x14)" (( "(") (binary_expression "param_2 + 0x14" (identifier "param_2") (+ "+") (number_literal "0x14")) () ")")))) (== "==") (pointer_expression "*(uint *)(param_3 + 0x14)" (* "*") (cast_expression "(uint *)(param_3 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x14)" (( "(") (binary_expression "param_3 + 0x14" (identifier "param_3") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n        bVar1 = *(uint *)(param_2 + 0x18) < *(uint *)(param_3 + 0x18);\n      }" ({ "{") (expression_statement "bVar1 = *(uint *)(param_2 + 0x18) < *(uint *)(param_3 + 0x18);" (assignment_expression "bVar1 = *(uint *)(param_2 + 0x18) < *(uint *)(param_3 + 0x18)" (identifier "bVar1") (= "=") (binary_expression "*(uint *)(param_2 + 0x18) < *(uint *)(param_3 + 0x18)" (pointer_expression "*(uint *)(param_2 + 0x18)" (* "*") (cast_expression "(uint *)(param_2 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x18)" (( "(") (binary_expression "param_2 + 0x18" (identifier "param_2") (+ "+") (number_literal "0x18")) () ")")))) (< "<") (pointer_expression "*(uint *)(param_3 + 0x18)" (* "*") (cast_expression "(uint *)(param_3 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x18)" (( "(") (binary_expression "param_3 + 0x18" (identifier "param_3") (+ "+") (number_literal "0x18")) () ")")))))) (; ";")) (} "}"))) (return_statement "return bVar1;" (return "return") (identifier "bVar1") (; ";")) (} "}"))) (} "}"))) (expression_statement "FUN_0005f0b0("../../gold/output.cc",0xcf5,"input_section",param_2);" (call_expression "FUN_0005f0b0("../../gold/output.cc",0xcf5,"input_section",param_2)" (identifier "FUN_0005f0b0") (argument_list "("../../gold/output.cc",0xcf5,"input_section",param_2)" (( "(") (string_literal ""../../gold/output.cc"" (" """) (string_content "../../gold/output.cc") (" """)) (, ",") (number_literal "0xcf5") (, ",") (string_literal ""input_section"" (" """) (string_content "input_section") (" """)) (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: bool operator()(Input_section_sort_section_order_index_compare * this,
   Input_section_sort_entry * s1, Input_section_sort_entry * s2) */

bool __thiscall
gold::Output_section::type_1::function_1()
          (type_1 *this,type_2 *s1,
          type_2 *s2)

{
  type_3 var_1;
  type_3 var_2;
  bool bVar3;
  
  if (s1->index_ != 0xffffffff) {
    var_1 = (s1->input_section_).section_order_index_;
    if (s2->index_ != 0xffffffff) {
      var_2 = (s2->input_section_).section_order_index_;
      bVar3 = var_1 < var_2;
      if (var_1 == var_2) {
        bVar3 = s1->index_ < s2->index_;
      }
      return bVar3;
    }
  }
                    /* WARNING: Subroutine does not return */
  var_3("../../gold/output.cc",0xcf5,"input_section");
}


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

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

bool MASKED(undefined4 param_1,int param_2,int param_3)

{
  bool bVar1;
  
  if (*(uint *)(param_2 + 0x18) != 0xffffffff) {
    if (*(uint *)(param_3 + 0x18) != 0xffffffff) {
      bVar1 = *(uint *)(param_2 + 0x14) < *(uint *)(param_3 + 0x14);
      if (*(uint *)(param_2 + 0x14) == *(uint *)(param_3 + 0x14)) {
        bVar1 = *(uint *)(param_2 + 0x18) < *(uint *)(param_3 + 0x18);
      }
      return bVar1;
    }
  }
                    /* WARNING: Subroutine does not return */
  FUN_0005f0b0("../../gold/output.cc",0xcf5,"input_section",param_2);
}

