
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: bool operator()(Sort_commons<32> * this, Symbol * pa, Symbol * pb) */

bool __thiscall gold::Sort_commons<32>::operator()(Sort_commons<32> *this,Symbol *pa,Symbol *pb)

{
  uint uVar1;
  uint uVar2;
  Sort_commons_order SVar3;
  Sized_symbol<32> *pSVar4;
  Sized_symbol<32> *pSVar5;
  int iVar6;
  Symbol_table *in_stack_ffffffe4;
  Symbol *in_stack_ffffffe8;
  
  if (pa == (Symbol *)0x0) {
    return false;
  }
  if (pb != (Symbol *)0x0) {
    pSVar4 = Symbol_table::get_sized_symbol<32>(in_stack_ffffffe4,in_stack_ffffffe8);
    pSVar5 = Symbol_table::get_sized_symbol<32>(in_stack_ffffffe4,in_stack_ffffffe8);
    uVar1 = pSVar4->value_;
    uVar2 = pSVar5->value_;
    SVar3 = this->sort_order_;
    if (SVar3 == SORT_COMMONS_BY_ALIGNMENT_DESCENDING) {
      if (uVar1 < uVar2) {
        return false;
      }
      if (uVar2 < uVar1) {
        return true;
      }
    }
    else if (SVar3 == SORT_COMMONS_BY_ALIGNMENT_ASCENDING) {
      if (uVar1 < uVar2) {
        return true;
      }
      if (uVar2 < uVar1) {
        return false;
      }
    }
    else if (SVar3 != SORT_COMMONS_BY_SIZE_DESCENDING) {
                    /* WARNING: Subroutine does not return */
      do_gold_unreachable("../../gold/common.cc",0x7c,"operator()");
    }
    if (pSVar4->symsize_ < pSVar5->symsize_) {
      return false;
    }
    if (pSVar4->symsize_ <= pSVar5->symsize_) {
      if (SVar3 == SORT_COMMONS_BY_SIZE_DESCENDING) {
        if (uVar1 < uVar2) {
          return false;
        }
        if (uVar1 >= uVar2 && uVar1 != uVar2) {
          return true;
        }
      }
      iVar6 = strcmp((pSVar4->super_Symbol).name_,(pSVar5->super_Symbol).name_);
      return SUB41((uint)iVar6 >> 0x1f,0);
    }
  }
  return true;
}



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

uint FUN_00166900(int param_1,int param_2,int param_3)

{
  uint uVar1;
  int iVar2;
  undefined4 *puVar3;
  undefined4 *puVar4;
  uint uVar5;
  
  if (param_2 == 0) {
    return 0;
  }
  if (param_3 != 0) {
    puVar3 = (undefined4 *)FUN_001667c0();
    puVar4 = (undefined4 *)FUN_001667c0();
    uVar5 = puVar3[0xc];
    uVar1 = puVar4[0xc];
    iVar2 = *(int *)(param_1 + 4);
    if (iVar2 == 1) {
      if (uVar5 < uVar1) {
        return 0;
      }
      if (uVar1 < uVar5) {
        return 1;
      }
    }
    else if (iVar2 == 2) {
      if (uVar5 < uVar1) {
        return 1;
      }
      if (uVar1 < uVar5) {
        return 0;
      }
    }
    else if (iVar2 != 0) {
                    /* WARNING: Subroutine does not return */
      FUN_0008b620("../../gold/common.cc",0x7c,"operator()",puVar4);
    }
    if ((uint)puVar3[0xd] < (uint)puVar4[0xd]) {
      return 0;
    }
    if ((uint)puVar3[0xd] <= (uint)puVar4[0xd]) {
      if (iVar2 == 0) {
        if (uVar5 < uVar1) {
          return 0;
        }
        if (uVar5 >= uVar1 && uVar5 != uVar1) {
          return 1;
        }
      }
      uVar5 = strcmp((char *)*puVar3,(char *)*puVar4);
      return uVar5 >> 0x1f;
    }
  }
  return 1;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035680
ADD EBX,0x1d86f7
SUB ESP,0xc
MOV EAX,dword ptr [ESP + 0x24]
MOV ESI,dword ptr [ESP + 0x28]
TEST EAX,EAX
JZ 0x0016699e
TEST ESI,ESI
JZ 0x00166986
CALL 0x001667c0
MOV EDI,EAX
MOV EAX,ESI
CALL 0x001667c0
MOV EDX,dword ptr [ESP + 0x20]
MOV ESI,dword ptr [EDI + 0x30]
MOV ECX,dword ptr [EAX + 0x30]
MOV EDX,dword ptr [EDX + 0x4]
CMP EDX,0x1
JZ 0x00166980
CMP EDX,0x2
JZ 0x00166998
TEST EDX,EDX
JNZ 0x001669a8
MOV EBP,dword ptr [EAX + 0x34]
CMP dword ptr [EDI + 0x34],EBP
JC 0x0016699e
JA 0x00166986
TEST EDX,EDX
JNZ 0x00166963
CMP ESI,ECX
JC 0x0016699e
JA 0x00166986
SUB ESP,0x8
PUSH dword ptr [EAX]
PUSH dword ptr [EDI]
CALL 0x00028b10
ADD ESP,0x10
ADD ESP,0xc
SHR EAX,0x1f
POP EBX
POP ESI
POP EDI
POP EBP
RET
CMP ESI,ECX
JC 0x0016699e
JBE 0x0016694f
ADD ESP,0xc
MOV EAX,0x1
POP EBX
POP ESI
POP EDI
POP EBP
RET
CMP ESI,ECX
JC 0x00166986
JBE 0x0016694f
ADD ESP,0xc
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
POP EBP
RET
PUSH EAX
LEA EAX,[EBX + 0xfff27a9c]
PUSH EAX
LEA EAX,[EBX + 0xfff27899]
PUSH 0x7c
PUSH EAX
CALL 0x0008b620
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nuint FUN_00166900(int param_1,int param_2,int param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  uint uVar5;\n  \n  if (param_2 == 0) {\n    return 0;\n  }\n  if (param_3 != 0) {\n    puVar3 = (undefined4 *)FUN_001667c0();\n    puVar4 = (undefined4 *)FUN_001667c0();\n    uVar5 = puVar3[0xc];\n    uVar1 = puVar4[0xc];\n    iVar2 = *(int *)(param_1 + 4);\n    if (iVar2 == 1) {\n      if (uVar5 < uVar1) {\n        return 0;\n      }\n      if (uVar1 < uVar5) {\n        return 1;\n      }\n    }\n    else if (iVar2 == 2) {\n      if (uVar5 < uVar1) {\n        return 1;\n      }\n      if (uVar1 < uVar5) {\n        return 0;\n      }\n    }\n    else if (iVar2 != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0008b620("../../gold/common.cc",0x7c,"operator()",puVar4);\n    }\n    if ((uint)puVar3[0xd] < (uint)puVar4[0xd]) {\n      return 0;\n    }\n    if ((uint)puVar3[0xd] <= (uint)puVar4[0xd]) {\n      if (iVar2 == 0) {\n        if (uVar5 < uVar1) {\n          return 0;\n        }\n        if (uVar5 >= uVar1 && uVar5 != uVar1) {\n          return 1;\n        }\n      }\n      uVar5 = strcmp((char *)*puVar3,(char *)*puVar4);\n      return uVar5 >> 0x1f;\n    }\n  }\n  return 1;\n}\n\n" comment (function_definition "uint FUN_00166900(int param_1,int param_2,int param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  uint uVar5;\n  \n  if (param_2 == 0) {\n    return 0;\n  }\n  if (param_3 != 0) {\n    puVar3 = (undefined4 *)FUN_001667c0();\n    puVar4 = (undefined4 *)FUN_001667c0();\n    uVar5 = puVar3[0xc];\n    uVar1 = puVar4[0xc];\n    iVar2 = *(int *)(param_1 + 4);\n    if (iVar2 == 1) {\n      if (uVar5 < uVar1) {\n        return 0;\n      }\n      if (uVar1 < uVar5) {\n        return 1;\n      }\n    }\n    else if (iVar2 == 2) {\n      if (uVar5 < uVar1) {\n        return 1;\n      }\n      if (uVar1 < uVar5) {\n        return 0;\n      }\n    }\n    else if (iVar2 != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0008b620("../../gold/common.cc",0x7c,"operator()",puVar4);\n    }\n    if ((uint)puVar3[0xd] < (uint)puVar4[0xd]) {\n      return 0;\n    }\n    if ((uint)puVar3[0xd] <= (uint)puVar4[0xd]) {\n      if (iVar2 == 0) {\n        if (uVar5 < uVar1) {\n          return 0;\n        }\n        if (uVar5 >= uVar1 && uVar5 != uVar1) {\n          return 1;\n        }\n      }\n      uVar5 = strcmp((char *)*puVar3,(char *)*puVar4);\n      return uVar5 >> 0x1f;\n    }\n  }\n  return 1;\n}" type_identifier (function_declarator "FUN_00166900(int param_1,int param_2,int param_3)" identifier (parameter_list "(int param_1,int param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  uint uVar5;\n  \n  if (param_2 == 0) {\n    return 0;\n  }\n  if (param_3 != 0) {\n    puVar3 = (undefined4 *)FUN_001667c0();\n    puVar4 = (undefined4 *)FUN_001667c0();\n    uVar5 = puVar3[0xc];\n    uVar1 = puVar4[0xc];\n    iVar2 = *(int *)(param_1 + 4);\n    if (iVar2 == 1) {\n      if (uVar5 < uVar1) {\n        return 0;\n      }\n      if (uVar1 < uVar5) {\n        return 1;\n      }\n    }\n    else if (iVar2 == 2) {\n      if (uVar5 < uVar1) {\n        return 1;\n      }\n      if (uVar1 < uVar5) {\n        return 0;\n      }\n    }\n    else if (iVar2 != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0008b620("../../gold/common.cc",0x7c,"operator()",puVar4);\n    }\n    if ((uint)puVar3[0xd] < (uint)puVar4[0xd]) {\n      return 0;\n    }\n    if ((uint)puVar3[0xd] <= (uint)puVar4[0xd]) {\n      if (iVar2 == 0) {\n        if (uVar5 < uVar1) {\n          return 0;\n        }\n        if (uVar5 >= uVar1 && uVar5 != uVar1) {\n          return 1;\n        }\n      }\n      uVar5 = strcmp((char *)*puVar3,(char *)*puVar4);\n      return uVar5 >> 0x1f;\n    }\n  }\n  return 1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (if_statement "if (param_2 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (param_3 != 0) {\n    puVar3 = (undefined4 *)FUN_001667c0();\n    puVar4 = (undefined4 *)FUN_001667c0();\n    uVar5 = puVar3[0xc];\n    uVar1 = puVar4[0xc];\n    iVar2 = *(int *)(param_1 + 4);\n    if (iVar2 == 1) {\n      if (uVar5 < uVar1) {\n        return 0;\n      }\n      if (uVar1 < uVar5) {\n        return 1;\n      }\n    }\n    else if (iVar2 == 2) {\n      if (uVar5 < uVar1) {\n        return 1;\n      }\n      if (uVar1 < uVar5) {\n        return 0;\n      }\n    }\n    else if (iVar2 != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0008b620("../../gold/common.cc",0x7c,"operator()",puVar4);\n    }\n    if ((uint)puVar3[0xd] < (uint)puVar4[0xd]) {\n      return 0;\n    }\n    if ((uint)puVar3[0xd] <= (uint)puVar4[0xd]) {\n      if (iVar2 == 0) {\n        if (uVar5 < uVar1) {\n          return 0;\n        }\n        if (uVar5 >= uVar1 && uVar5 != uVar1) {\n          return 1;\n        }\n      }\n      uVar5 = strcmp((char *)*puVar3,(char *)*puVar4);\n      return uVar5 >> 0x1f;\n    }\n  }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar3 = (undefined4 *)FUN_001667c0();\n    puVar4 = (undefined4 *)FUN_001667c0();\n    uVar5 = puVar3[0xc];\n    uVar1 = puVar4[0xc];\n    iVar2 = *(int *)(param_1 + 4);\n    if (iVar2 == 1) {\n      if (uVar5 < uVar1) {\n        return 0;\n      }\n      if (uVar1 < uVar5) {\n        return 1;\n      }\n    }\n    else if (iVar2 == 2) {\n      if (uVar5 < uVar1) {\n        return 1;\n      }\n      if (uVar1 < uVar5) {\n        return 0;\n      }\n    }\n    else if (iVar2 != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0008b620("../../gold/common.cc",0x7c,"operator()",puVar4);\n    }\n    if ((uint)puVar3[0xd] < (uint)puVar4[0xd]) {\n      return 0;\n    }\n    if ((uint)puVar3[0xd] <= (uint)puVar4[0xd]) {\n      if (iVar2 == 0) {\n        if (uVar5 < uVar1) {\n          return 0;\n        }\n        if (uVar5 >= uVar1 && uVar5 != uVar1) {\n          return 1;\n        }\n      }\n      uVar5 = strcmp((char *)*puVar3,(char *)*puVar4);\n      return uVar5 >> 0x1f;\n    }\n  }" { (expression_statement "puVar3 = (undefined4 *)FUN_001667c0();" (assignment_expression "puVar3 = (undefined4 *)FUN_001667c0()" identifier = (cast_expression "(undefined4 *)FUN_001667c0()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001667c0()" identifier (argument_list "()" ( ))))) ;) (expression_statement "puVar4 = (undefined4 *)FUN_001667c0();" (assignment_expression "puVar4 = (undefined4 *)FUN_001667c0()" identifier = (cast_expression "(undefined4 *)FUN_001667c0()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001667c0()" identifier (argument_list "()" ( ))))) ;) (expression_statement "uVar5 = puVar3[0xc];" (assignment_expression "uVar5 = puVar3[0xc]" identifier = (subscript_expression "puVar3[0xc]" identifier [ number_literal ])) ;) (expression_statement "uVar1 = puVar4[0xc];" (assignment_expression "uVar1 = puVar4[0xc]" identifier = (subscript_expression "puVar4[0xc]" identifier [ number_literal ])) ;) (expression_statement "iVar2 = *(int *)(param_1 + 4);" (assignment_expression "iVar2 = *(int *)(param_1 + 4)" identifier = (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 == 1) {\n      if (uVar5 < uVar1) {\n        return 0;\n      }\n      if (uVar1 < uVar5) {\n        return 1;\n      }\n    }\n    else if (iVar2 == 2) {\n      if (uVar5 < uVar1) {\n        return 1;\n      }\n      if (uVar1 < uVar5) {\n        return 0;\n      }\n    }\n    else if (iVar2 != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0008b620("../../gold/common.cc",0x7c,"operator()",puVar4);\n    }" if (parenthesized_expression "(iVar2 == 1)" ( (binary_expression "iVar2 == 1" identifier == number_literal) )) (compound_statement "{\n      if (uVar5 < uVar1) {\n        return 0;\n      }\n      if (uVar1 < uVar5) {\n        return 1;\n      }\n    }" { (if_statement "if (uVar5 < uVar1) {\n        return 0;\n      }" if (parenthesized_expression "(uVar5 < uVar1)" ( (binary_expression "uVar5 < uVar1" identifier < identifier) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (uVar1 < uVar5) {\n        return 1;\n      }" if (parenthesized_expression "(uVar1 < uVar5)" ( (binary_expression "uVar1 < uVar5" identifier < identifier) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) }) (else_clause "else if (iVar2 == 2) {\n      if (uVar5 < uVar1) {\n        return 1;\n      }\n      if (uVar1 < uVar5) {\n        return 0;\n      }\n    }\n    else if (iVar2 != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0008b620("../../gold/common.cc",0x7c,"operator()",puVar4);\n    }" else (if_statement "if (iVar2 == 2) {\n      if (uVar5 < uVar1) {\n        return 1;\n      }\n      if (uVar1 < uVar5) {\n        return 0;\n      }\n    }\n    else if (iVar2 != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0008b620("../../gold/common.cc",0x7c,"operator()",puVar4);\n    }" if (parenthesized_expression "(iVar2 == 2)" ( (binary_expression "iVar2 == 2" identifier == number_literal) )) (compound_statement "{\n      if (uVar5 < uVar1) {\n        return 1;\n      }\n      if (uVar1 < uVar5) {\n        return 0;\n      }\n    }" { (if_statement "if (uVar5 < uVar1) {\n        return 1;\n      }" if (parenthesized_expression "(uVar5 < uVar1)" ( (binary_expression "uVar5 < uVar1" identifier < identifier) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (if_statement "if (uVar1 < uVar5) {\n        return 0;\n      }" if (parenthesized_expression "(uVar1 < uVar5)" ( (binary_expression "uVar1 < uVar5" identifier < identifier) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) }) (else_clause "else if (iVar2 != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0008b620("../../gold/common.cc",0x7c,"operator()",puVar4);\n    }" else (if_statement "if (iVar2 != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0008b620("../../gold/common.cc",0x7c,"operator()",puVar4);\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_0008b620("../../gold/common.cc",0x7c,"operator()",puVar4);\n    }" { comment (expression_statement "FUN_0008b620("../../gold/common.cc",0x7c,"operator()",puVar4);" (call_expression "FUN_0008b620("../../gold/common.cc",0x7c,"operator()",puVar4)" identifier (argument_list "("../../gold/common.cc",0x7c,"operator()",puVar4)" ( (string_literal ""../../gold/common.cc"" " string_content ") , number_literal , (string_literal ""operator()"" " string_content ") , identifier ))) ;) })))))) (if_statement "if ((uint)puVar3[0xd] < (uint)puVar4[0xd]) {\n      return 0;\n    }" if (parenthesized_expression "((uint)puVar3[0xd] < (uint)puVar4[0xd])" ( (binary_expression "(uint)puVar3[0xd] < (uint)puVar4[0xd]" (cast_expression "(uint)puVar3[0xd]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "puVar3[0xd]" identifier [ number_literal ])) < (cast_expression "(uint)puVar4[0xd]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "puVar4[0xd]" identifier [ number_literal ]))) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if ((uint)puVar3[0xd] <= (uint)puVar4[0xd]) {\n      if (iVar2 == 0) {\n        if (uVar5 < uVar1) {\n          return 0;\n        }\n        if (uVar5 >= uVar1 && uVar5 != uVar1) {\n          return 1;\n        }\n      }\n      uVar5 = strcmp((char *)*puVar3,(char *)*puVar4);\n      return uVar5 >> 0x1f;\n    }" if (parenthesized_expression "((uint)puVar3[0xd] <= (uint)puVar4[0xd])" ( (binary_expression "(uint)puVar3[0xd] <= (uint)puVar4[0xd]" (cast_expression "(uint)puVar3[0xd]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "puVar3[0xd]" identifier [ number_literal ])) <= (cast_expression "(uint)puVar4[0xd]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "puVar4[0xd]" identifier [ number_literal ]))) )) (compound_statement "{\n      if (iVar2 == 0) {\n        if (uVar5 < uVar1) {\n          return 0;\n        }\n        if (uVar5 >= uVar1 && uVar5 != uVar1) {\n          return 1;\n        }\n      }\n      uVar5 = strcmp((char *)*puVar3,(char *)*puVar4);\n      return uVar5 >> 0x1f;\n    }" { (if_statement "if (iVar2 == 0) {\n        if (uVar5 < uVar1) {\n          return 0;\n        }\n        if (uVar5 >= uVar1 && uVar5 != uVar1) {\n          return 1;\n        }\n      }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        if (uVar5 < uVar1) {\n          return 0;\n        }\n        if (uVar5 >= uVar1 && uVar5 != uVar1) {\n          return 1;\n        }\n      }" { (if_statement "if (uVar5 < uVar1) {\n          return 0;\n        }" if (parenthesized_expression "(uVar5 < uVar1)" ( (binary_expression "uVar5 < uVar1" identifier < identifier) )) (compound_statement "{\n          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (uVar5 >= uVar1 && uVar5 != uVar1) {\n          return 1;\n        }" if (parenthesized_expression "(uVar5 >= uVar1 && uVar5 != uVar1)" ( (binary_expression "uVar5 >= uVar1 && uVar5 != uVar1" (binary_expression "uVar5 >= uVar1" identifier >= identifier) && (binary_expression "uVar5 != uVar1" identifier != identifier)) )) (compound_statement "{\n          return 1;\n        }" { (return_statement "return 1;" return number_literal ;) })) })) (expression_statement "uVar5 = strcmp((char *)*puVar3,(char *)*puVar4);" (assignment_expression "uVar5 = strcmp((char *)*puVar3,(char *)*puVar4)" identifier = (call_expression "strcmp((char *)*puVar3,(char *)*puVar4)" identifier (argument_list "((char *)*puVar3,(char *)*puVar4)" ( (cast_expression "(char *)*puVar3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier)) , (cast_expression "(char *)*puVar4" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier)) )))) ;) (return_statement "return uVar5 >> 0x1f;" return (binary_expression "uVar5 >> 0x1f" identifier >> number_literal) ;) })) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: bool operator()(Sort_commons<32> * this, Symbol * pa, Symbol * pb) */\n\nbool __thiscall gold::Sort_commons<32>::operator()(Sort_commons<32> *this,Symbol *pa,Symbol *pb)\n\n{\n  uint uVar1;\n  uint uVar2;\n  Sort_commons_order SVar3;\n  Sized_symbol<32> *pSVar4;\n  Sized_symbol<32> *pSVar5;\n  int iVar6;\n  Symbol_table *in_stack_ffffffe4;\n  Symbol *in_stack_ffffffe8;\n  \n  if (pa == (Symbol *)0x0) {\n    return false;\n  }\n  if (pb != (Symbol *)0x0) {\n    pSVar4 = Symbol_table::get_sized_symbol<32>(in_stack_ffffffe4,in_stack_ffffffe8);\n    pSVar5 = Symbol_table::get_sized_symbol<32>(in_stack_ffffffe4,in_stack_ffffffe8);\n    uVar1 = pSVar4->value_;\n    uVar2 = pSVar5->value_;\n    SVar3 = this->sort_order_;\n    if (SVar3 == SORT_COMMONS_BY_ALIGNMENT_DESCENDING) {\n      if (uVar1 < uVar2) {\n        return false;\n      }\n      if (uVar2 < uVar1) {\n        return true;\n      }\n    }\n    else if (SVar3 == SORT_COMMONS_BY_ALIGNMENT_ASCENDING) {\n      if (uVar1 < uVar2) {\n        return true;\n      }\n      if (uVar2 < uVar1) {\n        return false;\n      }\n    }\n    else if (SVar3 != SORT_COMMONS_BY_SIZE_DESCENDING) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/common.cc",0x7c,"operator()");\n    }\n    if (pSVar4->symsize_ < pSVar5->symsize_) {\n      return false;\n    }\n    if (pSVar4->symsize_ <= pSVar5->symsize_) {\n      if (SVar3 == SORT_COMMONS_BY_SIZE_DESCENDING) {\n        if (uVar1 < uVar2) {\n          return false;\n        }\n        if (uVar1 >= uVar2 && uVar1 != uVar2) {\n          return true;\n        }\n      }\n      iVar6 = strcmp((pSVar4->super_Symbol).name_,(pSVar5->super_Symbol).name_);\n      return SUB41((uint)iVar6 >> 0x1f,0);\n    }\n  }\n  return true;\n}\n\n" comment comment (function_definition "bool __thiscall gold::Sort_commons<32>::operator()(Sort_commons<32> *this,Symbol *pa,Symbol *pb)\n\n{\n  uint uVar1;\n  uint uVar2;\n  Sort_commons_order SVar3;\n  Sized_symbol<32> *pSVar4;\n  Sized_symbol<32> *pSVar5;\n  int iVar6;\n  Symbol_table *in_stack_ffffffe4;\n  Symbol *in_stack_ffffffe8;\n  \n  if (pa == (Symbol *)0x0) {\n    return false;\n  }\n  if (pb != (Symbol *)0x0) {\n    pSVar4 = Symbol_table::get_sized_symbol<32>(in_stack_ffffffe4,in_stack_ffffffe8);\n    pSVar5 = Symbol_table::get_sized_symbol<32>(in_stack_ffffffe4,in_stack_ffffffe8);\n    uVar1 = pSVar4->value_;\n    uVar2 = pSVar5->value_;\n    SVar3 = this->sort_order_;\n    if (SVar3 == SORT_COMMONS_BY_ALIGNMENT_DESCENDING) {\n      if (uVar1 < uVar2) {\n        return false;\n      }\n      if (uVar2 < uVar1) {\n        return true;\n      }\n    }\n    else if (SVar3 == SORT_COMMONS_BY_ALIGNMENT_ASCENDING) {\n      if (uVar1 < uVar2) {\n        return true;\n      }\n      if (uVar2 < uVar1) {\n        return false;\n      }\n    }\n    else if (SVar3 != SORT_COMMONS_BY_SIZE_DESCENDING) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/common.cc",0x7c,"operator()");\n    }\n    if (pSVar4->symsize_ < pSVar5->symsize_) {\n      return false;\n    }\n    if (pSVar4->symsize_ <= pSVar5->symsize_) {\n      if (SVar3 == SORT_COMMONS_BY_SIZE_DESCENDING) {\n        if (uVar1 < uVar2) {\n          return false;\n        }\n        if (uVar1 >= uVar2 && uVar1 != uVar2) {\n          return true;\n        }\n      }\n      iVar6 = strcmp((pSVar4->super_Symbol).name_,(pSVar5->super_Symbol).name_);\n      return SUB41((uint)iVar6 >> 0x1f,0);\n    }\n  }\n  return true;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Sort_commons<32>::" identifier : : identifier < number_literal > : :) (function_declarator "operator()(Sort_commons<32> *this,Symbol *pa,Symbol *pb)" (function_declarator "operator()" identifier (parameter_list "()" ( ))) (parameter_list "(Sort_commons<32> *this,Symbol *pa,Symbol *pb)" ( (parameter_declaration "Sort_commons<32> *this" type_identifier (ERROR "<32>" < number_literal >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "Symbol *pa" type_identifier (pointer_declarator "*pa" * identifier)) , (parameter_declaration "Symbol *pb" type_identifier (pointer_declarator "*pb" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  Sort_commons_order SVar3;\n  Sized_symbol<32> *pSVar4;\n  Sized_symbol<32> *pSVar5;\n  int iVar6;\n  Symbol_table *in_stack_ffffffe4;\n  Symbol *in_stack_ffffffe8;\n  \n  if (pa == (Symbol *)0x0) {\n    return false;\n  }\n  if (pb != (Symbol *)0x0) {\n    pSVar4 = Symbol_table::get_sized_symbol<32>(in_stack_ffffffe4,in_stack_ffffffe8);\n    pSVar5 = Symbol_table::get_sized_symbol<32>(in_stack_ffffffe4,in_stack_ffffffe8);\n    uVar1 = pSVar4->value_;\n    uVar2 = pSVar5->value_;\n    SVar3 = this->sort_order_;\n    if (SVar3 == SORT_COMMONS_BY_ALIGNMENT_DESCENDING) {\n      if (uVar1 < uVar2) {\n        return false;\n      }\n      if (uVar2 < uVar1) {\n        return true;\n      }\n    }\n    else if (SVar3 == SORT_COMMONS_BY_ALIGNMENT_ASCENDING) {\n      if (uVar1 < uVar2) {\n        return true;\n      }\n      if (uVar2 < uVar1) {\n        return false;\n      }\n    }\n    else if (SVar3 != SORT_COMMONS_BY_SIZE_DESCENDING) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/common.cc",0x7c,"operator()");\n    }\n    if (pSVar4->symsize_ < pSVar5->symsize_) {\n      return false;\n    }\n    if (pSVar4->symsize_ <= pSVar5->symsize_) {\n      if (SVar3 == SORT_COMMONS_BY_SIZE_DESCENDING) {\n        if (uVar1 < uVar2) {\n          return false;\n        }\n        if (uVar1 >= uVar2 && uVar1 != uVar2) {\n          return true;\n        }\n      }\n      iVar6 = strcmp((pSVar4->super_Symbol).name_,(pSVar5->super_Symbol).name_);\n      return SUB41((uint)iVar6 >> 0x1f,0);\n    }\n  }\n  return true;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "Sort_commons_order SVar3;" type_identifier identifier ;) (expression_statement "Sized_symbol<32> *pSVar4;" (binary_expression "Sized_symbol<32> *pSVar4" (binary_expression "Sized_symbol<32" identifier < number_literal) > (pointer_expression "*pSVar4" * identifier)) ;) (expression_statement "Sized_symbol<32> *pSVar5;" (binary_expression "Sized_symbol<32> *pSVar5" (binary_expression "Sized_symbol<32" identifier < number_literal) > (pointer_expression "*pSVar5" * identifier)) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "Symbol_table *in_stack_ffffffe4;" type_identifier (pointer_declarator "*in_stack_ffffffe4" * identifier) ;) (declaration "Symbol *in_stack_ffffffe8;" type_identifier (pointer_declarator "*in_stack_ffffffe8" * identifier) ;) (if_statement "if (pa == (Symbol *)0x0) {\n    return false;\n  }" if (parenthesized_expression "(pa == (Symbol *)0x0)" ( (binary_expression "pa == (Symbol *)0x0" identifier == (cast_expression "(Symbol *)0x0" ( (type_descriptor "Symbol *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return false;\n  }" { (return_statement "return false;" return false ;) })) (if_statement "if (pb != (Symbol *)0x0) {\n    pSVar4 = Symbol_table::get_sized_symbol<32>(in_stack_ffffffe4,in_stack_ffffffe8);\n    pSVar5 = Symbol_table::get_sized_symbol<32>(in_stack_ffffffe4,in_stack_ffffffe8);\n    uVar1 = pSVar4->value_;\n    uVar2 = pSVar5->value_;\n    SVar3 = this->sort_order_;\n    if (SVar3 == SORT_COMMONS_BY_ALIGNMENT_DESCENDING) {\n      if (uVar1 < uVar2) {\n        return false;\n      }\n      if (uVar2 < uVar1) {\n        return true;\n      }\n    }\n    else if (SVar3 == SORT_COMMONS_BY_ALIGNMENT_ASCENDING) {\n      if (uVar1 < uVar2) {\n        return true;\n      }\n      if (uVar2 < uVar1) {\n        return false;\n      }\n    }\n    else if (SVar3 != SORT_COMMONS_BY_SIZE_DESCENDING) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/common.cc",0x7c,"operator()");\n    }\n    if (pSVar4->symsize_ < pSVar5->symsize_) {\n      return false;\n    }\n    if (pSVar4->symsize_ <= pSVar5->symsize_) {\n      if (SVar3 == SORT_COMMONS_BY_SIZE_DESCENDING) {\n        if (uVar1 < uVar2) {\n          return false;\n        }\n        if (uVar1 >= uVar2 && uVar1 != uVar2) {\n          return true;\n        }\n      }\n      iVar6 = strcmp((pSVar4->super_Symbol).name_,(pSVar5->super_Symbol).name_);\n      return SUB41((uint)iVar6 >> 0x1f,0);\n    }\n  }" if (parenthesized_expression "(pb != (Symbol *)0x0)" ( (binary_expression "pb != (Symbol *)0x0" identifier != (cast_expression "(Symbol *)0x0" ( (type_descriptor "Symbol *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pSVar4 = Symbol_table::get_sized_symbol<32>(in_stack_ffffffe4,in_stack_ffffffe8);\n    pSVar5 = Symbol_table::get_sized_symbol<32>(in_stack_ffffffe4,in_stack_ffffffe8);\n    uVar1 = pSVar4->value_;\n    uVar2 = pSVar5->value_;\n    SVar3 = this->sort_order_;\n    if (SVar3 == SORT_COMMONS_BY_ALIGNMENT_DESCENDING) {\n      if (uVar1 < uVar2) {\n        return false;\n      }\n      if (uVar2 < uVar1) {\n        return true;\n      }\n    }\n    else if (SVar3 == SORT_COMMONS_BY_ALIGNMENT_ASCENDING) {\n      if (uVar1 < uVar2) {\n        return true;\n      }\n      if (uVar2 < uVar1) {\n        return false;\n      }\n    }\n    else if (SVar3 != SORT_COMMONS_BY_SIZE_DESCENDING) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/common.cc",0x7c,"operator()");\n    }\n    if (pSVar4->symsize_ < pSVar5->symsize_) {\n      return false;\n    }\n    if (pSVar4->symsize_ <= pSVar5->symsize_) {\n      if (SVar3 == SORT_COMMONS_BY_SIZE_DESCENDING) {\n        if (uVar1 < uVar2) {\n          return false;\n        }\n        if (uVar1 >= uVar2 && uVar1 != uVar2) {\n          return true;\n        }\n      }\n      iVar6 = strcmp((pSVar4->super_Symbol).name_,(pSVar5->super_Symbol).name_);\n      return SUB41((uint)iVar6 >> 0x1f,0);\n    }\n  }" { (expression_statement "pSVar4 = Symbol_table::get_sized_symbol<32>(in_stack_ffffffe4,in_stack_ffffffe8);" (binary_expression "pSVar4 = Symbol_table::get_sized_symbol<32>(in_stack_ffffffe4,in_stack_ffffffe8)" (binary_expression "pSVar4 = Symbol_table::get_sized_symbol<32" (assignment_expression "pSVar4 = Symbol_table" identifier = identifier) (ERROR "::get_sized_symbol" : : identifier) < number_literal) > (parenthesized_expression "(in_stack_ffffffe4,in_stack_ffffffe8)" ( (comma_expression "in_stack_ffffffe4,in_stack_ffffffe8" identifier , identifier) ))) ;) (expression_statement "pSVar5 = Symbol_table::get_sized_symbol<32>(in_stack_ffffffe4,in_stack_ffffffe8);" (binary_expression "pSVar5 = Symbol_table::get_sized_symbol<32>(in_stack_ffffffe4,in_stack_ffffffe8)" (binary_expression "pSVar5 = Symbol_table::get_sized_symbol<32" (assignment_expression "pSVar5 = Symbol_table" identifier = identifier) (ERROR "::get_sized_symbol" : : identifier) < number_literal) > (parenthesized_expression "(in_stack_ffffffe4,in_stack_ffffffe8)" ( (comma_expression "in_stack_ffffffe4,in_stack_ffffffe8" identifier , identifier) ))) ;) (expression_statement "uVar1 = pSVar4->value_;" (assignment_expression "uVar1 = pSVar4->value_" identifier = (field_expression "pSVar4->value_" identifier -> field_identifier)) ;) (expression_statement "uVar2 = pSVar5->value_;" (assignment_expression "uVar2 = pSVar5->value_" identifier = (field_expression "pSVar5->value_" identifier -> field_identifier)) ;) (expression_statement "SVar3 = this->sort_order_;" (assignment_expression "SVar3 = this->sort_order_" identifier = (field_expression "this->sort_order_" identifier -> field_identifier)) ;) (if_statement "if (SVar3 == SORT_COMMONS_BY_ALIGNMENT_DESCENDING) {\n      if (uVar1 < uVar2) {\n        return false;\n      }\n      if (uVar2 < uVar1) {\n        return true;\n      }\n    }\n    else if (SVar3 == SORT_COMMONS_BY_ALIGNMENT_ASCENDING) {\n      if (uVar1 < uVar2) {\n        return true;\n      }\n      if (uVar2 < uVar1) {\n        return false;\n      }\n    }\n    else if (SVar3 != SORT_COMMONS_BY_SIZE_DESCENDING) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/common.cc",0x7c,"operator()");\n    }" if (parenthesized_expression "(SVar3 == SORT_COMMONS_BY_ALIGNMENT_DESCENDING)" ( (binary_expression "SVar3 == SORT_COMMONS_BY_ALIGNMENT_DESCENDING" identifier == identifier) )) (compound_statement "{\n      if (uVar1 < uVar2) {\n        return false;\n      }\n      if (uVar2 < uVar1) {\n        return true;\n      }\n    }" { (if_statement "if (uVar1 < uVar2) {\n        return false;\n      }" if (parenthesized_expression "(uVar1 < uVar2)" ( (binary_expression "uVar1 < uVar2" identifier < identifier) )) (compound_statement "{\n        return false;\n      }" { (return_statement "return false;" return false ;) })) (if_statement "if (uVar2 < uVar1) {\n        return true;\n      }" if (parenthesized_expression "(uVar2 < uVar1)" ( (binary_expression "uVar2 < uVar1" identifier < identifier) )) (compound_statement "{\n        return true;\n      }" { (return_statement "return true;" return true ;) })) }) (else_clause "else if (SVar3 == SORT_COMMONS_BY_ALIGNMENT_ASCENDING) {\n      if (uVar1 < uVar2) {\n        return true;\n      }\n      if (uVar2 < uVar1) {\n        return false;\n      }\n    }\n    else if (SVar3 != SORT_COMMONS_BY_SIZE_DESCENDING) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/common.cc",0x7c,"operator()");\n    }" else (if_statement "if (SVar3 == SORT_COMMONS_BY_ALIGNMENT_ASCENDING) {\n      if (uVar1 < uVar2) {\n        return true;\n      }\n      if (uVar2 < uVar1) {\n        return false;\n      }\n    }\n    else if (SVar3 != SORT_COMMONS_BY_SIZE_DESCENDING) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/common.cc",0x7c,"operator()");\n    }" if (parenthesized_expression "(SVar3 == SORT_COMMONS_BY_ALIGNMENT_ASCENDING)" ( (binary_expression "SVar3 == SORT_COMMONS_BY_ALIGNMENT_ASCENDING" identifier == identifier) )) (compound_statement "{\n      if (uVar1 < uVar2) {\n        return true;\n      }\n      if (uVar2 < uVar1) {\n        return false;\n      }\n    }" { (if_statement "if (uVar1 < uVar2) {\n        return true;\n      }" if (parenthesized_expression "(uVar1 < uVar2)" ( (binary_expression "uVar1 < uVar2" identifier < identifier) )) (compound_statement "{\n        return true;\n      }" { (return_statement "return true;" return true ;) })) (if_statement "if (uVar2 < uVar1) {\n        return false;\n      }" if (parenthesized_expression "(uVar2 < uVar1)" ( (binary_expression "uVar2 < uVar1" identifier < identifier) )) (compound_statement "{\n        return false;\n      }" { (return_statement "return false;" return false ;) })) }) (else_clause "else if (SVar3 != SORT_COMMONS_BY_SIZE_DESCENDING) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/common.cc",0x7c,"operator()");\n    }" else (if_statement "if (SVar3 != SORT_COMMONS_BY_SIZE_DESCENDING) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/common.cc",0x7c,"operator()");\n    }" if (parenthesized_expression "(SVar3 != SORT_COMMONS_BY_SIZE_DESCENDING)" ( (binary_expression "SVar3 != SORT_COMMONS_BY_SIZE_DESCENDING" identifier != identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/common.cc",0x7c,"operator()");\n    }" { comment (expression_statement "do_gold_unreachable("../../gold/common.cc",0x7c,"operator()");" (call_expression "do_gold_unreachable("../../gold/common.cc",0x7c,"operator()")" identifier (argument_list "("../../gold/common.cc",0x7c,"operator()")" ( (string_literal ""../../gold/common.cc"" " string_content ") , number_literal , (string_literal ""operator()"" " string_content ") ))) ;) })))))) (if_statement "if (pSVar4->symsize_ < pSVar5->symsize_) {\n      return false;\n    }" if (parenthesized_expression "(pSVar4->symsize_ < pSVar5->symsize_)" ( (binary_expression "pSVar4->symsize_ < pSVar5->symsize_" (field_expression "pSVar4->symsize_" identifier -> field_identifier) < (field_expression "pSVar5->symsize_" identifier -> field_identifier)) )) (compound_statement "{\n      return false;\n    }" { (return_statement "return false;" return false ;) })) (if_statement "if (pSVar4->symsize_ <= pSVar5->symsize_) {\n      if (SVar3 == SORT_COMMONS_BY_SIZE_DESCENDING) {\n        if (uVar1 < uVar2) {\n          return false;\n        }\n        if (uVar1 >= uVar2 && uVar1 != uVar2) {\n          return true;\n        }\n      }\n      iVar6 = strcmp((pSVar4->super_Symbol).name_,(pSVar5->super_Symbol).name_);\n      return SUB41((uint)iVar6 >> 0x1f,0);\n    }" if (parenthesized_expression "(pSVar4->symsize_ <= pSVar5->symsize_)" ( (binary_expression "pSVar4->symsize_ <= pSVar5->symsize_" (field_expression "pSVar4->symsize_" identifier -> field_identifier) <= (field_expression "pSVar5->symsize_" identifier -> field_identifier)) )) (compound_statement "{\n      if (SVar3 == SORT_COMMONS_BY_SIZE_DESCENDING) {\n        if (uVar1 < uVar2) {\n          return false;\n        }\n        if (uVar1 >= uVar2 && uVar1 != uVar2) {\n          return true;\n        }\n      }\n      iVar6 = strcmp((pSVar4->super_Symbol).name_,(pSVar5->super_Symbol).name_);\n      return SUB41((uint)iVar6 >> 0x1f,0);\n    }" { (if_statement "if (SVar3 == SORT_COMMONS_BY_SIZE_DESCENDING) {\n        if (uVar1 < uVar2) {\n          return false;\n        }\n        if (uVar1 >= uVar2 && uVar1 != uVar2) {\n          return true;\n        }\n      }" if (parenthesized_expression "(SVar3 == SORT_COMMONS_BY_SIZE_DESCENDING)" ( (binary_expression "SVar3 == SORT_COMMONS_BY_SIZE_DESCENDING" identifier == identifier) )) (compound_statement "{\n        if (uVar1 < uVar2) {\n          return false;\n        }\n        if (uVar1 >= uVar2 && uVar1 != uVar2) {\n          return true;\n        }\n      }" { (if_statement "if (uVar1 < uVar2) {\n          return false;\n        }" if (parenthesized_expression "(uVar1 < uVar2)" ( (binary_expression "uVar1 < uVar2" identifier < identifier) )) (compound_statement "{\n          return false;\n        }" { (return_statement "return false;" return false ;) })) (if_statement "if (uVar1 >= uVar2 && uVar1 != uVar2) {\n          return true;\n        }" if (parenthesized_expression "(uVar1 >= uVar2 && uVar1 != uVar2)" ( (binary_expression "uVar1 >= uVar2 && uVar1 != uVar2" (binary_expression "uVar1 >= uVar2" identifier >= identifier) && (binary_expression "uVar1 != uVar2" identifier != identifier)) )) (compound_statement "{\n          return true;\n        }" { (return_statement "return true;" return true ;) })) })) (expression_statement "iVar6 = strcmp((pSVar4->super_Symbol).name_,(pSVar5->super_Symbol).name_);" (assignment_expression "iVar6 = strcmp((pSVar4->super_Symbol).name_,(pSVar5->super_Symbol).name_)" identifier = (call_expression "strcmp((pSVar4->super_Symbol).name_,(pSVar5->super_Symbol).name_)" identifier (argument_list "((pSVar4->super_Symbol).name_,(pSVar5->super_Symbol).name_)" ( (field_expression "(pSVar4->super_Symbol).name_" (parenthesized_expression "(pSVar4->super_Symbol)" ( (field_expression "pSVar4->super_Symbol" identifier -> field_identifier) )) . field_identifier) , (field_expression "(pSVar5->super_Symbol).name_" (parenthesized_expression "(pSVar5->super_Symbol)" ( (field_expression "pSVar5->super_Symbol" identifier -> field_identifier) )) . field_identifier) )))) ;) (return_statement "return SUB41((uint)iVar6 >> 0x1f,0);" return (call_expression "SUB41((uint)iVar6 >> 0x1f,0)" identifier (argument_list "((uint)iVar6 >> 0x1f,0)" ( (binary_expression "(uint)iVar6 >> 0x1f" (cast_expression "(uint)iVar6" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) , number_literal ))) ;) })) })) (return_statement "return true;" return true ;) })))
(translation_unit "uint FUN_00166900(int param_1,int param_2,int param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  uint uVar5;\n  \n  if (param_2 == 0) {\n    return 0;\n  }\n  if (param_3 != 0) {\n    puVar3 = (undefined4 *)FUN_001667c0();\n    puVar4 = (undefined4 *)FUN_001667c0();\n    uVar5 = puVar3[0xc];\n    uVar1 = puVar4[0xc];\n    iVar2 = *(int *)(param_1 + 4);\n    if (iVar2 == 1) {\n      if (uVar5 < uVar1) {\n        return 0;\n      }\n      if (uVar1 < uVar5) {\n        return 1;\n      }\n    }\n    else if (iVar2 == 2) {\n      if (uVar5 < uVar1) {\n        return 1;\n      }\n      if (uVar1 < uVar5) {\n        return 0;\n      }\n    }\n    else if (iVar2 != 0) {\n                    \n      FUN_0008b620("../../gold/common.cc",0x7c,"operator()",puVar4);\n    }\n    if ((uint)puVar3[0xd] < (uint)puVar4[0xd]) {\n      return 0;\n    }\n    if ((uint)puVar3[0xd] <= (uint)puVar4[0xd]) {\n      if (iVar2 == 0) {\n        if (uVar5 < uVar1) {\n          return 0;\n        }\n        if (uVar5 >= uVar1 && uVar5 != uVar1) {\n          return 1;\n        }\n      }\n      uVar5 = strcmp((char *)*puVar3,(char *)*puVar4);\n      return uVar5 >> 0x1f;\n    }\n  }\n  return 1;\n}\n\n" (function_definition "uint FUN_00166900(int param_1,int param_2,int param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  uint uVar5;\n  \n  if (param_2 == 0) {\n    return 0;\n  }\n  if (param_3 != 0) {\n    puVar3 = (undefined4 *)FUN_001667c0();\n    puVar4 = (undefined4 *)FUN_001667c0();\n    uVar5 = puVar3[0xc];\n    uVar1 = puVar4[0xc];\n    iVar2 = *(int *)(param_1 + 4);\n    if (iVar2 == 1) {\n      if (uVar5 < uVar1) {\n        return 0;\n      }\n      if (uVar1 < uVar5) {\n        return 1;\n      }\n    }\n    else if (iVar2 == 2) {\n      if (uVar5 < uVar1) {\n        return 1;\n      }\n      if (uVar1 < uVar5) {\n        return 0;\n      }\n    }\n    else if (iVar2 != 0) {\n                    \n      FUN_0008b620("../../gold/common.cc",0x7c,"operator()",puVar4);\n    }\n    if ((uint)puVar3[0xd] < (uint)puVar4[0xd]) {\n      return 0;\n    }\n    if ((uint)puVar3[0xd] <= (uint)puVar4[0xd]) {\n      if (iVar2 == 0) {\n        if (uVar5 < uVar1) {\n          return 0;\n        }\n        if (uVar5 >= uVar1 && uVar5 != uVar1) {\n          return 1;\n        }\n      }\n      uVar5 = strcmp((char *)*puVar3,(char *)*puVar4);\n      return uVar5 >> 0x1f;\n    }\n  }\n  return 1;\n}" type_identifier (function_declarator "FUN_00166900(int param_1,int param_2,int param_3)" identifier (parameter_list "(int param_1,int param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  uint uVar5;\n  \n  if (param_2 == 0) {\n    return 0;\n  }\n  if (param_3 != 0) {\n    puVar3 = (undefined4 *)FUN_001667c0();\n    puVar4 = (undefined4 *)FUN_001667c0();\n    uVar5 = puVar3[0xc];\n    uVar1 = puVar4[0xc];\n    iVar2 = *(int *)(param_1 + 4);\n    if (iVar2 == 1) {\n      if (uVar5 < uVar1) {\n        return 0;\n      }\n      if (uVar1 < uVar5) {\n        return 1;\n      }\n    }\n    else if (iVar2 == 2) {\n      if (uVar5 < uVar1) {\n        return 1;\n      }\n      if (uVar1 < uVar5) {\n        return 0;\n      }\n    }\n    else if (iVar2 != 0) {\n                    \n      FUN_0008b620("../../gold/common.cc",0x7c,"operator()",puVar4);\n    }\n    if ((uint)puVar3[0xd] < (uint)puVar4[0xd]) {\n      return 0;\n    }\n    if ((uint)puVar3[0xd] <= (uint)puVar4[0xd]) {\n      if (iVar2 == 0) {\n        if (uVar5 < uVar1) {\n          return 0;\n        }\n        if (uVar5 >= uVar1 && uVar5 != uVar1) {\n          return 1;\n        }\n      }\n      uVar5 = strcmp((char *)*puVar3,(char *)*puVar4);\n      return uVar5 >> 0x1f;\n    }\n  }\n  return 1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (if_statement "if (param_2 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (param_3 != 0) {\n    puVar3 = (undefined4 *)FUN_001667c0();\n    puVar4 = (undefined4 *)FUN_001667c0();\n    uVar5 = puVar3[0xc];\n    uVar1 = puVar4[0xc];\n    iVar2 = *(int *)(param_1 + 4);\n    if (iVar2 == 1) {\n      if (uVar5 < uVar1) {\n        return 0;\n      }\n      if (uVar1 < uVar5) {\n        return 1;\n      }\n    }\n    else if (iVar2 == 2) {\n      if (uVar5 < uVar1) {\n        return 1;\n      }\n      if (uVar1 < uVar5) {\n        return 0;\n      }\n    }\n    else if (iVar2 != 0) {\n                    \n      FUN_0008b620("../../gold/common.cc",0x7c,"operator()",puVar4);\n    }\n    if ((uint)puVar3[0xd] < (uint)puVar4[0xd]) {\n      return 0;\n    }\n    if ((uint)puVar3[0xd] <= (uint)puVar4[0xd]) {\n      if (iVar2 == 0) {\n        if (uVar5 < uVar1) {\n          return 0;\n        }\n        if (uVar5 >= uVar1 && uVar5 != uVar1) {\n          return 1;\n        }\n      }\n      uVar5 = strcmp((char *)*puVar3,(char *)*puVar4);\n      return uVar5 >> 0x1f;\n    }\n  }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar3 = (undefined4 *)FUN_001667c0();\n    puVar4 = (undefined4 *)FUN_001667c0();\n    uVar5 = puVar3[0xc];\n    uVar1 = puVar4[0xc];\n    iVar2 = *(int *)(param_1 + 4);\n    if (iVar2 == 1) {\n      if (uVar5 < uVar1) {\n        return 0;\n      }\n      if (uVar1 < uVar5) {\n        return 1;\n      }\n    }\n    else if (iVar2 == 2) {\n      if (uVar5 < uVar1) {\n        return 1;\n      }\n      if (uVar1 < uVar5) {\n        return 0;\n      }\n    }\n    else if (iVar2 != 0) {\n                    \n      FUN_0008b620("../../gold/common.cc",0x7c,"operator()",puVar4);\n    }\n    if ((uint)puVar3[0xd] < (uint)puVar4[0xd]) {\n      return 0;\n    }\n    if ((uint)puVar3[0xd] <= (uint)puVar4[0xd]) {\n      if (iVar2 == 0) {\n        if (uVar5 < uVar1) {\n          return 0;\n        }\n        if (uVar5 >= uVar1 && uVar5 != uVar1) {\n          return 1;\n        }\n      }\n      uVar5 = strcmp((char *)*puVar3,(char *)*puVar4);\n      return uVar5 >> 0x1f;\n    }\n  }" { (expression_statement "puVar3 = (undefined4 *)FUN_001667c0();" (assignment_expression "puVar3 = (undefined4 *)FUN_001667c0()" identifier = (cast_expression "(undefined4 *)FUN_001667c0()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001667c0()" identifier (argument_list "()" ( ))))) ;) (expression_statement "puVar4 = (undefined4 *)FUN_001667c0();" (assignment_expression "puVar4 = (undefined4 *)FUN_001667c0()" identifier = (cast_expression "(undefined4 *)FUN_001667c0()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001667c0()" identifier (argument_list "()" ( ))))) ;) (expression_statement "uVar5 = puVar3[0xc];" (assignment_expression "uVar5 = puVar3[0xc]" identifier = (subscript_expression "puVar3[0xc]" identifier [ number_literal ])) ;) (expression_statement "uVar1 = puVar4[0xc];" (assignment_expression "uVar1 = puVar4[0xc]" identifier = (subscript_expression "puVar4[0xc]" identifier [ number_literal ])) ;) (expression_statement "iVar2 = *(int *)(param_1 + 4);" (assignment_expression "iVar2 = *(int *)(param_1 + 4)" identifier = (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 == 1) {\n      if (uVar5 < uVar1) {\n        return 0;\n      }\n      if (uVar1 < uVar5) {\n        return 1;\n      }\n    }\n    else if (iVar2 == 2) {\n      if (uVar5 < uVar1) {\n        return 1;\n      }\n      if (uVar1 < uVar5) {\n        return 0;\n      }\n    }\n    else if (iVar2 != 0) {\n                    \n      FUN_0008b620("../../gold/common.cc",0x7c,"operator()",puVar4);\n    }" if (parenthesized_expression "(iVar2 == 1)" ( (binary_expression "iVar2 == 1" identifier == number_literal) )) (compound_statement "{\n      if (uVar5 < uVar1) {\n        return 0;\n      }\n      if (uVar1 < uVar5) {\n        return 1;\n      }\n    }" { (if_statement "if (uVar5 < uVar1) {\n        return 0;\n      }" if (parenthesized_expression "(uVar5 < uVar1)" ( (binary_expression "uVar5 < uVar1" identifier < identifier) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (uVar1 < uVar5) {\n        return 1;\n      }" if (parenthesized_expression "(uVar1 < uVar5)" ( (binary_expression "uVar1 < uVar5" identifier < identifier) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) }) (else_clause "else if (iVar2 == 2) {\n      if (uVar5 < uVar1) {\n        return 1;\n      }\n      if (uVar1 < uVar5) {\n        return 0;\n      }\n    }\n    else if (iVar2 != 0) {\n                    \n      FUN_0008b620("../../gold/common.cc",0x7c,"operator()",puVar4);\n    }" else (if_statement "if (iVar2 == 2) {\n      if (uVar5 < uVar1) {\n        return 1;\n      }\n      if (uVar1 < uVar5) {\n        return 0;\n      }\n    }\n    else if (iVar2 != 0) {\n                    \n      FUN_0008b620("../../gold/common.cc",0x7c,"operator()",puVar4);\n    }" if (parenthesized_expression "(iVar2 == 2)" ( (binary_expression "iVar2 == 2" identifier == number_literal) )) (compound_statement "{\n      if (uVar5 < uVar1) {\n        return 1;\n      }\n      if (uVar1 < uVar5) {\n        return 0;\n      }\n    }" { (if_statement "if (uVar5 < uVar1) {\n        return 1;\n      }" if (parenthesized_expression "(uVar5 < uVar1)" ( (binary_expression "uVar5 < uVar1" identifier < identifier) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (if_statement "if (uVar1 < uVar5) {\n        return 0;\n      }" if (parenthesized_expression "(uVar1 < uVar5)" ( (binary_expression "uVar1 < uVar5" identifier < identifier) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) }) (else_clause "else if (iVar2 != 0) {\n                    \n      FUN_0008b620("../../gold/common.cc",0x7c,"operator()",puVar4);\n    }" else (if_statement "if (iVar2 != 0) {\n                    \n      FUN_0008b620("../../gold/common.cc",0x7c,"operator()",puVar4);\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n                    \n      FUN_0008b620("../../gold/common.cc",0x7c,"operator()",puVar4);\n    }" { (expression_statement "FUN_0008b620("../../gold/common.cc",0x7c,"operator()",puVar4);" (call_expression "FUN_0008b620("../../gold/common.cc",0x7c,"operator()",puVar4)" identifier (argument_list "("../../gold/common.cc",0x7c,"operator()",puVar4)" ( (string_literal ""../../gold/common.cc"" " string_content ") , number_literal , (string_literal ""operator()"" " string_content ") , identifier ))) ;) })))))) (if_statement "if ((uint)puVar3[0xd] < (uint)puVar4[0xd]) {\n      return 0;\n    }" if (parenthesized_expression "((uint)puVar3[0xd] < (uint)puVar4[0xd])" ( (binary_expression "(uint)puVar3[0xd] < (uint)puVar4[0xd]" (cast_expression "(uint)puVar3[0xd]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "puVar3[0xd]" identifier [ number_literal ])) < (cast_expression "(uint)puVar4[0xd]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "puVar4[0xd]" identifier [ number_literal ]))) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if ((uint)puVar3[0xd] <= (uint)puVar4[0xd]) {\n      if (iVar2 == 0) {\n        if (uVar5 < uVar1) {\n          return 0;\n        }\n        if (uVar5 >= uVar1 && uVar5 != uVar1) {\n          return 1;\n        }\n      }\n      uVar5 = strcmp((char *)*puVar3,(char *)*puVar4);\n      return uVar5 >> 0x1f;\n    }" if (parenthesized_expression "((uint)puVar3[0xd] <= (uint)puVar4[0xd])" ( (binary_expression "(uint)puVar3[0xd] <= (uint)puVar4[0xd]" (cast_expression "(uint)puVar3[0xd]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "puVar3[0xd]" identifier [ number_literal ])) <= (cast_expression "(uint)puVar4[0xd]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "puVar4[0xd]" identifier [ number_literal ]))) )) (compound_statement "{\n      if (iVar2 == 0) {\n        if (uVar5 < uVar1) {\n          return 0;\n        }\n        if (uVar5 >= uVar1 && uVar5 != uVar1) {\n          return 1;\n        }\n      }\n      uVar5 = strcmp((char *)*puVar3,(char *)*puVar4);\n      return uVar5 >> 0x1f;\n    }" { (if_statement "if (iVar2 == 0) {\n        if (uVar5 < uVar1) {\n          return 0;\n        }\n        if (uVar5 >= uVar1 && uVar5 != uVar1) {\n          return 1;\n        }\n      }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        if (uVar5 < uVar1) {\n          return 0;\n        }\n        if (uVar5 >= uVar1 && uVar5 != uVar1) {\n          return 1;\n        }\n      }" { (if_statement "if (uVar5 < uVar1) {\n          return 0;\n        }" if (parenthesized_expression "(uVar5 < uVar1)" ( (binary_expression "uVar5 < uVar1" identifier < identifier) )) (compound_statement "{\n          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (uVar5 >= uVar1 && uVar5 != uVar1) {\n          return 1;\n        }" if (parenthesized_expression "(uVar5 >= uVar1 && uVar5 != uVar1)" ( (binary_expression "uVar5 >= uVar1 && uVar5 != uVar1" (binary_expression "uVar5 >= uVar1" identifier >= identifier) && (binary_expression "uVar5 != uVar1" identifier != identifier)) )) (compound_statement "{\n          return 1;\n        }" { (return_statement "return 1;" return number_literal ;) })) })) (expression_statement "uVar5 = strcmp((char *)*puVar3,(char *)*puVar4);" (assignment_expression "uVar5 = strcmp((char *)*puVar3,(char *)*puVar4)" identifier = (call_expression "strcmp((char *)*puVar3,(char *)*puVar4)" identifier (argument_list "((char *)*puVar3,(char *)*puVar4)" ( (cast_expression "(char *)*puVar3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier)) , (cast_expression "(char *)*puVar4" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier)) )))) ;) (return_statement "return uVar5 >> 0x1f;" return (binary_expression "uVar5 >> 0x1f" identifier >> number_literal) ;) })) })) (return_statement "return 1;" return number_literal ;) })))
(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 ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (return_statement return LIT ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (return_statement return LIT ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))))) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) < (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) <= (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT >= IDENT) && (binary_expression IDENT != IDENT)) )) (compound_statement { (return_statement return LIT ;) })) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) )))) ;) (return_statement return (binary_expression IDENT >> LIT) ;) })) })) (return_statement return LIT ;) })))
(function_definition "uint FUN_00166900(int param_1,int param_2,int param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  uint uVar5;\n  \n  if (param_2 == 0) {\n    return 0;\n  }\n  if (param_3 != 0) {\n    puVar3 = (undefined4 *)FUN_001667c0();\n    puVar4 = (undefined4 *)FUN_001667c0();\n    uVar5 = puVar3[0xc];\n    uVar1 = puVar4[0xc];\n    iVar2 = *(int *)(param_1 + 4);\n    if (iVar2 == 1) {\n      if (uVar5 < uVar1) {\n        return 0;\n      }\n      if (uVar1 < uVar5) {\n        return 1;\n      }\n    }\n    else if (iVar2 == 2) {\n      if (uVar5 < uVar1) {\n        return 1;\n      }\n      if (uVar1 < uVar5) {\n        return 0;\n      }\n    }\n    else if (iVar2 != 0) {\n                    \n      FUN_0008b620("../../gold/common.cc",0x7c,"operator()",puVar4);\n    }\n    if ((uint)puVar3[0xd] < (uint)puVar4[0xd]) {\n      return 0;\n    }\n    if ((uint)puVar3[0xd] <= (uint)puVar4[0xd]) {\n      if (iVar2 == 0) {\n        if (uVar5 < uVar1) {\n          return 0;\n        }\n        if (uVar5 >= uVar1 && uVar5 != uVar1) {\n          return 1;\n        }\n      }\n      uVar5 = strcmp((char *)*puVar3,(char *)*puVar4);\n      return uVar5 >> 0x1f;\n    }\n  }\n  return 1;\n}" (type_identifier "uint") (function_declarator "FUN_00166900(int param_1,int param_2,int param_3)" (identifier "FUN_00166900") (parameter_list "(int param_1,int param_2,int param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (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  uint uVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  uint uVar5;\n  \n  if (param_2 == 0) {\n    return 0;\n  }\n  if (param_3 != 0) {\n    puVar3 = (undefined4 *)FUN_001667c0();\n    puVar4 = (undefined4 *)FUN_001667c0();\n    uVar5 = puVar3[0xc];\n    uVar1 = puVar4[0xc];\n    iVar2 = *(int *)(param_1 + 4);\n    if (iVar2 == 1) {\n      if (uVar5 < uVar1) {\n        return 0;\n      }\n      if (uVar1 < uVar5) {\n        return 1;\n      }\n    }\n    else if (iVar2 == 2) {\n      if (uVar5 < uVar1) {\n        return 1;\n      }\n      if (uVar1 < uVar5) {\n        return 0;\n      }\n    }\n    else if (iVar2 != 0) {\n                    \n      FUN_0008b620("../../gold/common.cc",0x7c,"operator()",puVar4);\n    }\n    if ((uint)puVar3[0xd] < (uint)puVar4[0xd]) {\n      return 0;\n    }\n    if ((uint)puVar3[0xd] <= (uint)puVar4[0xd]) {\n      if (iVar2 == 0) {\n        if (uVar5 < uVar1) {\n          return 0;\n        }\n        if (uVar5 >= uVar1 && uVar5 != uVar1) {\n          return 1;\n        }\n      }\n      uVar5 = strcmp((char *)*puVar3,(char *)*puVar4);\n      return uVar5 >> 0x1f;\n    }\n  }\n  return 1;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (if_statement "if (param_2 == 0) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if (param_3 != 0) {\n    puVar3 = (undefined4 *)FUN_001667c0();\n    puVar4 = (undefined4 *)FUN_001667c0();\n    uVar5 = puVar3[0xc];\n    uVar1 = puVar4[0xc];\n    iVar2 = *(int *)(param_1 + 4);\n    if (iVar2 == 1) {\n      if (uVar5 < uVar1) {\n        return 0;\n      }\n      if (uVar1 < uVar5) {\n        return 1;\n      }\n    }\n    else if (iVar2 == 2) {\n      if (uVar5 < uVar1) {\n        return 1;\n      }\n      if (uVar1 < uVar5) {\n        return 0;\n      }\n    }\n    else if (iVar2 != 0) {\n                    \n      FUN_0008b620("../../gold/common.cc",0x7c,"operator()",puVar4);\n    }\n    if ((uint)puVar3[0xd] < (uint)puVar4[0xd]) {\n      return 0;\n    }\n    if ((uint)puVar3[0xd] <= (uint)puVar4[0xd]) {\n      if (iVar2 == 0) {\n        if (uVar5 < uVar1) {\n          return 0;\n        }\n        if (uVar5 >= uVar1 && uVar5 != uVar1) {\n          return 1;\n        }\n      }\n      uVar5 = strcmp((char *)*puVar3,(char *)*puVar4);\n      return uVar5 >> 0x1f;\n    }\n  }" (if "if") (parenthesized_expression "(param_3 != 0)" (( "(") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    puVar3 = (undefined4 *)FUN_001667c0();\n    puVar4 = (undefined4 *)FUN_001667c0();\n    uVar5 = puVar3[0xc];\n    uVar1 = puVar4[0xc];\n    iVar2 = *(int *)(param_1 + 4);\n    if (iVar2 == 1) {\n      if (uVar5 < uVar1) {\n        return 0;\n      }\n      if (uVar1 < uVar5) {\n        return 1;\n      }\n    }\n    else if (iVar2 == 2) {\n      if (uVar5 < uVar1) {\n        return 1;\n      }\n      if (uVar1 < uVar5) {\n        return 0;\n      }\n    }\n    else if (iVar2 != 0) {\n                    \n      FUN_0008b620("../../gold/common.cc",0x7c,"operator()",puVar4);\n    }\n    if ((uint)puVar3[0xd] < (uint)puVar4[0xd]) {\n      return 0;\n    }\n    if ((uint)puVar3[0xd] <= (uint)puVar4[0xd]) {\n      if (iVar2 == 0) {\n        if (uVar5 < uVar1) {\n          return 0;\n        }\n        if (uVar5 >= uVar1 && uVar5 != uVar1) {\n          return 1;\n        }\n      }\n      uVar5 = strcmp((char *)*puVar3,(char *)*puVar4);\n      return uVar5 >> 0x1f;\n    }\n  }" ({ "{") (expression_statement "puVar3 = (undefined4 *)FUN_001667c0();" (assignment_expression "puVar3 = (undefined4 *)FUN_001667c0()" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)FUN_001667c0()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_001667c0()" (identifier "FUN_001667c0") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "puVar4 = (undefined4 *)FUN_001667c0();" (assignment_expression "puVar4 = (undefined4 *)FUN_001667c0()" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)FUN_001667c0()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_001667c0()" (identifier "FUN_001667c0") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "uVar5 = puVar3[0xc];" (assignment_expression "uVar5 = puVar3[0xc]" (identifier "uVar5") (= "=") (subscript_expression "puVar3[0xc]" (identifier "puVar3") ([ "[") (number_literal "0xc") (] "]"))) (; ";")) (expression_statement "uVar1 = puVar4[0xc];" (assignment_expression "uVar1 = puVar4[0xc]" (identifier "uVar1") (= "=") (subscript_expression "puVar4[0xc]" (identifier "puVar4") ([ "[") (number_literal "0xc") (] "]"))) (; ";")) (expression_statement "iVar2 = *(int *)(param_1 + 4);" (assignment_expression "iVar2 = *(int *)(param_1 + 4)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if (iVar2 == 1) {\n      if (uVar5 < uVar1) {\n        return 0;\n      }\n      if (uVar1 < uVar5) {\n        return 1;\n      }\n    }\n    else if (iVar2 == 2) {\n      if (uVar5 < uVar1) {\n        return 1;\n      }\n      if (uVar1 < uVar5) {\n        return 0;\n      }\n    }\n    else if (iVar2 != 0) {\n                    \n      FUN_0008b620("../../gold/common.cc",0x7c,"operator()",puVar4);\n    }" (if "if") (parenthesized_expression "(iVar2 == 1)" (( "(") (binary_expression "iVar2 == 1" (identifier "iVar2") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n      if (uVar5 < uVar1) {\n        return 0;\n      }\n      if (uVar1 < uVar5) {\n        return 1;\n      }\n    }" ({ "{") (if_statement "if (uVar5 < uVar1) {\n        return 0;\n      }" (if "if") (parenthesized_expression "(uVar5 < uVar1)" (( "(") (binary_expression "uVar5 < uVar1" (identifier "uVar5") (< "<") (identifier "uVar1")) () ")")) (compound_statement "{\n        return 0;\n      }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if (uVar1 < uVar5) {\n        return 1;\n      }" (if "if") (parenthesized_expression "(uVar1 < uVar5)" (( "(") (binary_expression "uVar1 < uVar5" (identifier "uVar1") (< "<") (identifier "uVar5")) () ")")) (compound_statement "{\n        return 1;\n      }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (} "}")) (else_clause "else if (iVar2 == 2) {\n      if (uVar5 < uVar1) {\n        return 1;\n      }\n      if (uVar1 < uVar5) {\n        return 0;\n      }\n    }\n    else if (iVar2 != 0) {\n                    \n      FUN_0008b620("../../gold/common.cc",0x7c,"operator()",puVar4);\n    }" (else "else") (if_statement "if (iVar2 == 2) {\n      if (uVar5 < uVar1) {\n        return 1;\n      }\n      if (uVar1 < uVar5) {\n        return 0;\n      }\n    }\n    else if (iVar2 != 0) {\n                    \n      FUN_0008b620("../../gold/common.cc",0x7c,"operator()",puVar4);\n    }" (if "if") (parenthesized_expression "(iVar2 == 2)" (( "(") (binary_expression "iVar2 == 2" (identifier "iVar2") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n      if (uVar5 < uVar1) {\n        return 1;\n      }\n      if (uVar1 < uVar5) {\n        return 0;\n      }\n    }" ({ "{") (if_statement "if (uVar5 < uVar1) {\n        return 1;\n      }" (if "if") (parenthesized_expression "(uVar5 < uVar1)" (( "(") (binary_expression "uVar5 < uVar1" (identifier "uVar5") (< "<") (identifier "uVar1")) () ")")) (compound_statement "{\n        return 1;\n      }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (if_statement "if (uVar1 < uVar5) {\n        return 0;\n      }" (if "if") (parenthesized_expression "(uVar1 < uVar5)" (( "(") (binary_expression "uVar1 < uVar5" (identifier "uVar1") (< "<") (identifier "uVar5")) () ")")) (compound_statement "{\n        return 0;\n      }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (} "}")) (else_clause "else if (iVar2 != 0) {\n                    \n      FUN_0008b620("../../gold/common.cc",0x7c,"operator()",puVar4);\n    }" (else "else") (if_statement "if (iVar2 != 0) {\n                    \n      FUN_0008b620("../../gold/common.cc",0x7c,"operator()",puVar4);\n    }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    \n      FUN_0008b620("../../gold/common.cc",0x7c,"operator()",puVar4);\n    }" ({ "{") (expression_statement "FUN_0008b620("../../gold/common.cc",0x7c,"operator()",puVar4);" (call_expression "FUN_0008b620("../../gold/common.cc",0x7c,"operator()",puVar4)" (identifier "FUN_0008b620") (argument_list "("../../gold/common.cc",0x7c,"operator()",puVar4)" (( "(") (string_literal ""../../gold/common.cc"" (" """) (string_content "../../gold/common.cc") (" """)) (, ",") (number_literal "0x7c") (, ",") (string_literal ""operator()"" (" """) (string_content "operator()") (" """)) (, ",") (identifier "puVar4") () ")"))) (; ";")) (} "}"))))))) (if_statement "if ((uint)puVar3[0xd] < (uint)puVar4[0xd]) {\n      return 0;\n    }" (if "if") (parenthesized_expression "((uint)puVar3[0xd] < (uint)puVar4[0xd])" (( "(") (binary_expression "(uint)puVar3[0xd] < (uint)puVar4[0xd]" (cast_expression "(uint)puVar3[0xd]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "puVar3[0xd]" (identifier "puVar3") ([ "[") (number_literal "0xd") (] "]"))) (< "<") (cast_expression "(uint)puVar4[0xd]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "puVar4[0xd]" (identifier "puVar4") ([ "[") (number_literal "0xd") (] "]")))) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if ((uint)puVar3[0xd] <= (uint)puVar4[0xd]) {\n      if (iVar2 == 0) {\n        if (uVar5 < uVar1) {\n          return 0;\n        }\n        if (uVar5 >= uVar1 && uVar5 != uVar1) {\n          return 1;\n        }\n      }\n      uVar5 = strcmp((char *)*puVar3,(char *)*puVar4);\n      return uVar5 >> 0x1f;\n    }" (if "if") (parenthesized_expression "((uint)puVar3[0xd] <= (uint)puVar4[0xd])" (( "(") (binary_expression "(uint)puVar3[0xd] <= (uint)puVar4[0xd]" (cast_expression "(uint)puVar3[0xd]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "puVar3[0xd]" (identifier "puVar3") ([ "[") (number_literal "0xd") (] "]"))) (<= "<=") (cast_expression "(uint)puVar4[0xd]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "puVar4[0xd]" (identifier "puVar4") ([ "[") (number_literal "0xd") (] "]")))) () ")")) (compound_statement "{\n      if (iVar2 == 0) {\n        if (uVar5 < uVar1) {\n          return 0;\n        }\n        if (uVar5 >= uVar1 && uVar5 != uVar1) {\n          return 1;\n        }\n      }\n      uVar5 = strcmp((char *)*puVar3,(char *)*puVar4);\n      return uVar5 >> 0x1f;\n    }" ({ "{") (if_statement "if (iVar2 == 0) {\n        if (uVar5 < uVar1) {\n          return 0;\n        }\n        if (uVar5 >= uVar1 && uVar5 != uVar1) {\n          return 1;\n        }\n      }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        if (uVar5 < uVar1) {\n          return 0;\n        }\n        if (uVar5 >= uVar1 && uVar5 != uVar1) {\n          return 1;\n        }\n      }" ({ "{") (if_statement "if (uVar5 < uVar1) {\n          return 0;\n        }" (if "if") (parenthesized_expression "(uVar5 < uVar1)" (( "(") (binary_expression "uVar5 < uVar1" (identifier "uVar5") (< "<") (identifier "uVar1")) () ")")) (compound_statement "{\n          return 0;\n        }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if (uVar5 >= uVar1 && uVar5 != uVar1) {\n          return 1;\n        }" (if "if") (parenthesized_expression "(uVar5 >= uVar1 && uVar5 != uVar1)" (( "(") (binary_expression "uVar5 >= uVar1 && uVar5 != uVar1" (binary_expression "uVar5 >= uVar1" (identifier "uVar5") (>= ">=") (identifier "uVar1")) (&& "&&") (binary_expression "uVar5 != uVar1" (identifier "uVar5") (!= "!=") (identifier "uVar1"))) () ")")) (compound_statement "{\n          return 1;\n        }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (} "}"))) (expression_statement "uVar5 = strcmp((char *)*puVar3,(char *)*puVar4);" (assignment_expression "uVar5 = strcmp((char *)*puVar3,(char *)*puVar4)" (identifier "uVar5") (= "=") (call_expression "strcmp((char *)*puVar3,(char *)*puVar4)" (identifier "strcmp") (argument_list "((char *)*puVar3,(char *)*puVar4)" (( "(") (cast_expression "(char *)*puVar3" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar3" (* "*") (identifier "puVar3"))) (, ",") (cast_expression "(char *)*puVar4" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar4" (* "*") (identifier "puVar4"))) () ")")))) (; ";")) (return_statement "return uVar5 >> 0x1f;" (return "return") (binary_expression "uVar5 >> 0x1f" (identifier "uVar5") (>> ">>") (number_literal "0x1f")) (; ";")) (} "}"))) (} "}"))) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: bool operator()(Sort_commons<32> * this, Symbol * pa, Symbol * pb) */

bool __thiscall gold::type_1<32>::function_1()(type_1<32> *this,type_2 *var_2,type_2 *var_3)

{
  type_3 var_6;
  type_3 var_7;
  type_4 var_4;
  var_1<32> *pSVar4;
  var_1<32> *pSVar5;
  int iVar6;
  type_5 *in_stack_ffffffe4;
  type_2 *in_stack_ffffffe8;
  
  if (var_2 == (type_2 *)0x0) {
    return false;
  }
  if (var_3 != (type_2 *)0x0) {
    pSVar4 = type_5::get_sized_symbol<32>(in_stack_ffffffe4,in_stack_ffffffe8);
    pSVar5 = type_5::get_sized_symbol<32>(in_stack_ffffffe4,in_stack_ffffffe8);
    var_6 = pSVar4->value_;
    var_7 = pSVar5->value_;
    var_4 = this->sort_order_;
    if (var_4 == var_5) {
      if (var_6 < var_7) {
        return false;
      }
      if (var_7 < var_6) {
        return true;
      }
    }
    else if (var_4 == var_8) {
      if (var_6 < var_7) {
        return true;
      }
      if (var_7 < var_6) {
        return false;
      }
    }
    else if (var_4 != var_9) {
                    /* WARNING: Subroutine does not return */
      var_10("../../gold/common.cc",0x7c,"operator()");
    }
    if (pSVar4->symsize_ < pSVar5->symsize_) {
      return false;
    }
    if (pSVar4->symsize_ <= pSVar5->symsize_) {
      if (var_4 == var_9) {
        if (var_6 < var_7) {
          return false;
        }
        if (var_6 >= var_7 && var_6 != var_7) {
          return true;
        }
      }
      iVar6 = var_11((pSVar4->super_Symbol).name_,(pSVar5->super_Symbol).name_);
      return var_12((type_3)iVar6 >> 0x1f,0);
    }
  }
  return true;
}


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

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

uint MASKED(int param_1,int param_2,int param_3)

{
  uint uVar1;
  int iVar2;
  undefined4 *puVar3;
  undefined4 *puVar4;
  uint uVar5;
  
  if (param_2 == 0) {
    return 0;
  }
  if (param_3 != 0) {
    puVar3 = (undefined4 *)FUN_001667c0();
    puVar4 = (undefined4 *)FUN_001667c0();
    uVar5 = puVar3[0xc];
    uVar1 = puVar4[0xc];
    iVar2 = *(int *)(param_1 + 4);
    if (iVar2 == 1) {
      if (uVar5 < uVar1) {
        return 0;
      }
      if (uVar1 < uVar5) {
        return 1;
      }
    }
    else if (iVar2 == 2) {
      if (uVar5 < uVar1) {
        return 1;
      }
      if (uVar1 < uVar5) {
        return 0;
      }
    }
    else if (iVar2 != 0) {
                    /* WARNING: Subroutine does not return */
      FUN_0008b620("../../gold/common.cc",0x7c,"operator()",puVar4);
    }
    if ((uint)puVar3[0xd] < (uint)puVar4[0xd]) {
      return 0;
    }
    if ((uint)puVar3[0xd] <= (uint)puVar4[0xd]) {
      if (iVar2 == 0) {
        if (uVar5 < uVar1) {
          return 0;
        }
        if (uVar5 >= uVar1 && uVar5 != uVar1) {
          return 1;
        }
      }
      uVar5 = strcmp((char *)*puVar3,(char *)*puVar4);
      return uVar5 >> 0x1f;
    }
  }
  return 1;
}

