
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: uint get_entry_offset(Output_data_dynamic * this, DT tag) */

uint __thiscall gold::Output_data_dynamic::get_entry_offset(Output_data_dynamic *this,DT tag)

{
  DT DVar1;
  pointer pDVar2;
  uint uVar3;
  long lVar4;
  long lVar5;
  DT *pDVar6;
  int iVar7;
  
  if (parameters->target_ == (Target *)0x0) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/parameters.h",0x69,"target");
  }
  iVar7 = **(int **)(parameters->target_ + 8);
  if (iVar7 == 0x20) {
    iVar7 = 8;
  }
  else {
    if (iVar7 != 0x40) {
                    /* WARNING: Subroutine does not return */
      do_gold_unreachable("../../gold/output.cc",0x775,"get_entry_offset");
    }
    iVar7 = 0x10;
  }
  pDVar2 = (this->entries_).
           super__Vector_base<gold::Output_data_dynamic::Dynamic_entry,_std::allocator<gold::Output_data_dynamic::Dynamic_entry>_>
           ._M_impl._M_start;
  lVar5 = ((long)(this->entries_).
                 super__Vector_base<gold::Output_data_dynamic::Dynamic_entry,_std::allocator<gold::Output_data_dynamic::Dynamic_entry>_>
                 ._M_impl._M_finish - (long)pDVar2 >> 3) * -0x5555555555555555;
  uVar3 = 0xffffffff;
  if (lVar5 != 0) {
    if (tag == pDVar2->tag_) {
      uVar3 = 0;
    }
    else {
      lVar4 = 0;
      pDVar6 = &pDVar2[1].tag_;
      while (lVar4 = lVar4 + 1, lVar4 != lVar5) {
        DVar1 = *pDVar6;
        pDVar6 = pDVar6 + 6;
        if (tag == DVar1) {
          return (int)lVar4 * iVar7;
        }
      }
      uVar3 = 0xffffffff;
    }
  }
  return uVar3;
}



int FUN_001c08b0(long param_1,int param_2)

{
  long lVar1;
  int iVar2;
  long lVar3;
  long lVar4;
  int *piVar5;
  int iVar6;
  
  if (*(long *)(PTR_DAT_003be6b0 + 0x18) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_0016cdf0("../../gold/parameters.h",0x69,"target");
  }
  iVar6 = **(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8);
  if (iVar6 == 0x20) {
    iVar6 = 8;
  }
  else {
    if (iVar6 != 0x40) {
                    /* WARNING: Subroutine does not return */
      FUN_0016cdf0("../../gold/output.cc",0x775,"get_entry_offset");
    }
    iVar6 = 0x10;
  }
  lVar1 = *(long *)(param_1 + 0x38);
  lVar4 = (*(long *)(param_1 + 0x40) - lVar1 >> 3) * -0x5555555555555555;
  iVar2 = -1;
  if (lVar4 != 0) {
    if (param_2 == *(int *)(lVar1 + 0x10)) {
      iVar2 = 0;
    }
    else {
      lVar3 = 0;
      piVar5 = (int *)(lVar1 + 0x28);
      while (lVar3 = lVar3 + 1, lVar3 != lVar4) {
        iVar2 = *piVar5;
        piVar5 = piVar5 + 6;
        if (param_2 == iVar2) {
          return (int)lVar3 * iVar6;
        }
      }
      iVar2 = -1;
    }
  }
  return iVar2;
}


SUB RSP,0x8
MOV RAX,qword ptr [0x003be6b0]
MOV RAX,qword ptr [RAX + 0x18]
TEST RAX,RAX
JZ 0x001c095c
MOV RAX,qword ptr [RAX + 0x8]
MOV EAX,dword ptr [RAX]
CMP EAX,0x20
JZ 0x001c0950
CMP EAX,0x40
JNZ 0x001c0974
MOV R8D,0x10
MOV RDX,qword ptr [RDI + 0x38]
MOV RCX,qword ptr [RDI + 0x40]
MOV RAX,-0x5555555555555555
SUB RCX,RDX
SAR RCX,0x3
IMUL RCX,RAX
ADD EAX,0x55555554
TEST RCX,RCX
JZ 0x001c0937
CMP ESI,dword ptr [RDX + 0x10]
JZ 0x001c0958
ADD RDX,0x28
XOR EAX,EAX
JMP 0x001c0929
ADD RDX,0x18
CMP ESI,dword ptr [RDX + -0x18]
JZ 0x001c0940
ADD RAX,0x1
CMP RAX,RCX
JNZ 0x001c0920
MOV EAX,0xffffffff
ADD RSP,0x8
RET
IMUL EAX,R8D
ADD RSP,0x8
RET
MOV R8D,0x8
JMP 0x001c08e2
XOR EAX,EAX
JMP 0x001c0937
LEA RDX,[0x319fdb]
MOV ESI,0x69
LEA RDI,[0x30dc70]
CALL 0x0016cdf0
LEA RDX,[0x319d00]
MOV ESI,0x775
LEA RDI,[0x31856f]
CALL 0x0016cdf0
(translation_unit "int FUN_001c08b0(long param_1,int param_2)\n\n{\n  long lVar1;\n  int iVar2;\n  long lVar3;\n  long lVar4;\n  int *piVar5;\n  int iVar6;\n  \n  if (*(long *)(PTR_DAT_003be6b0 + 0x18) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n  }\n  iVar6 = **(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8);\n  if (iVar6 == 0x20) {\n    iVar6 = 8;\n  }\n  else {\n    if (iVar6 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0016cdf0("../../gold/output.cc",0x775,"get_entry_offset");\n    }\n    iVar6 = 0x10;\n  }\n  lVar1 = *(long *)(param_1 + 0x38);\n  lVar4 = (*(long *)(param_1 + 0x40) - lVar1 >> 3) * -0x5555555555555555;\n  iVar2 = -1;\n  if (lVar4 != 0) {\n    if (param_2 == *(int *)(lVar1 + 0x10)) {\n      iVar2 = 0;\n    }\n    else {\n      lVar3 = 0;\n      piVar5 = (int *)(lVar1 + 0x28);\n      while (lVar3 = lVar3 + 1, lVar3 != lVar4) {\n        iVar2 = *piVar5;\n        piVar5 = piVar5 + 6;\n        if (param_2 == iVar2) {\n          return (int)lVar3 * iVar6;\n        }\n      }\n      iVar2 = -1;\n    }\n  }\n  return iVar2;\n}\n\n" (function_definition "int FUN_001c08b0(long param_1,int param_2)\n\n{\n  long lVar1;\n  int iVar2;\n  long lVar3;\n  long lVar4;\n  int *piVar5;\n  int iVar6;\n  \n  if (*(long *)(PTR_DAT_003be6b0 + 0x18) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n  }\n  iVar6 = **(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8);\n  if (iVar6 == 0x20) {\n    iVar6 = 8;\n  }\n  else {\n    if (iVar6 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0016cdf0("../../gold/output.cc",0x775,"get_entry_offset");\n    }\n    iVar6 = 0x10;\n  }\n  lVar1 = *(long *)(param_1 + 0x38);\n  lVar4 = (*(long *)(param_1 + 0x40) - lVar1 >> 3) * -0x5555555555555555;\n  iVar2 = -1;\n  if (lVar4 != 0) {\n    if (param_2 == *(int *)(lVar1 + 0x10)) {\n      iVar2 = 0;\n    }\n    else {\n      lVar3 = 0;\n      piVar5 = (int *)(lVar1 + 0x28);\n      while (lVar3 = lVar3 + 1, lVar3 != lVar4) {\n        iVar2 = *piVar5;\n        piVar5 = piVar5 + 6;\n        if (param_2 == iVar2) {\n          return (int)lVar3 * iVar6;\n        }\n      }\n      iVar2 = -1;\n    }\n  }\n  return iVar2;\n}" primitive_type (function_declarator "FUN_001c08b0(long param_1,int param_2)" identifier (parameter_list "(long param_1,int param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  long lVar1;\n  int iVar2;\n  long lVar3;\n  long lVar4;\n  int *piVar5;\n  int iVar6;\n  \n  if (*(long *)(PTR_DAT_003be6b0 + 0x18) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n  }\n  iVar6 = **(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8);\n  if (iVar6 == 0x20) {\n    iVar6 = 8;\n  }\n  else {\n    if (iVar6 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0016cdf0("../../gold/output.cc",0x775,"get_entry_offset");\n    }\n    iVar6 = 0x10;\n  }\n  lVar1 = *(long *)(param_1 + 0x38);\n  lVar4 = (*(long *)(param_1 + 0x40) - lVar1 >> 3) * -0x5555555555555555;\n  iVar2 = -1;\n  if (lVar4 != 0) {\n    if (param_2 == *(int *)(lVar1 + 0x10)) {\n      iVar2 = 0;\n    }\n    else {\n      lVar3 = 0;\n      piVar5 = (int *)(lVar1 + 0x28);\n      while (lVar3 = lVar3 + 1, lVar3 != lVar4) {\n        iVar2 = *piVar5;\n        piVar5 = piVar5 + 6;\n        if (param_2 == iVar2) {\n          return (int)lVar3 * iVar6;\n        }\n      }\n      iVar2 = -1;\n    }\n  }\n  return iVar2;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (if_statement "if (*(long *)(PTR_DAT_003be6b0 + 0x18) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n  }" if (parenthesized_expression "(*(long *)(PTR_DAT_003be6b0 + 0x18) == 0)" ( (binary_expression "*(long *)(PTR_DAT_003be6b0 + 0x18) == 0" (pointer_expression "*(long *)(PTR_DAT_003be6b0 + 0x18)" * (cast_expression "(long *)(PTR_DAT_003be6b0 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_003be6b0 + 0x18)" ( (binary_expression "PTR_DAT_003be6b0 + 0x18" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n  }" { comment (expression_statement "FUN_0016cdf0("../../gold/parameters.h",0x69,"target");" (call_expression "FUN_0016cdf0("../../gold/parameters.h",0x69,"target")" identifier (argument_list "("../../gold/parameters.h",0x69,"target")" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""target"" " string_content ") ))) ;) })) (expression_statement "iVar6 = **(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8);" (assignment_expression "iVar6 = **(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8)" identifier = (pointer_expression "**(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8)" * (pointer_expression "*(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8)" * (cast_expression "(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8)" ( (binary_expression "*(long *)(PTR_DAT_003be6b0 + 0x18) + 8" (pointer_expression "*(long *)(PTR_DAT_003be6b0 + 0x18)" * (cast_expression "(long *)(PTR_DAT_003be6b0 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_003be6b0 + 0x18)" ( (binary_expression "PTR_DAT_003be6b0 + 0x18" identifier + number_literal) )))) + number_literal) )))))) ;) (if_statement "if (iVar6 == 0x20) {\n    iVar6 = 8;\n  }\n  else {\n    if (iVar6 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0016cdf0("../../gold/output.cc",0x775,"get_entry_offset");\n    }\n    iVar6 = 0x10;\n  }" if (parenthesized_expression "(iVar6 == 0x20)" ( (binary_expression "iVar6 == 0x20" identifier == number_literal) )) (compound_statement "{\n    iVar6 = 8;\n  }" { (expression_statement "iVar6 = 8;" (assignment_expression "iVar6 = 8" identifier = number_literal) ;) }) (else_clause "else {\n    if (iVar6 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0016cdf0("../../gold/output.cc",0x775,"get_entry_offset");\n    }\n    iVar6 = 0x10;\n  }" else (compound_statement "{\n    if (iVar6 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0016cdf0("../../gold/output.cc",0x775,"get_entry_offset");\n    }\n    iVar6 = 0x10;\n  }" { (if_statement "if (iVar6 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0016cdf0("../../gold/output.cc",0x775,"get_entry_offset");\n    }" if (parenthesized_expression "(iVar6 != 0x40)" ( (binary_expression "iVar6 != 0x40" identifier != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_0016cdf0("../../gold/output.cc",0x775,"get_entry_offset");\n    }" { comment (expression_statement "FUN_0016cdf0("../../gold/output.cc",0x775,"get_entry_offset");" (call_expression "FUN_0016cdf0("../../gold/output.cc",0x775,"get_entry_offset")" identifier (argument_list "("../../gold/output.cc",0x775,"get_entry_offset")" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""get_entry_offset"" " string_content ") ))) ;) })) (expression_statement "iVar6 = 0x10;" (assignment_expression "iVar6 = 0x10" identifier = number_literal) ;) }))) (expression_statement "lVar1 = *(long *)(param_1 + 0x38);" (assignment_expression "lVar1 = *(long *)(param_1 + 0x38)" identifier = (pointer_expression "*(long *)(param_1 + 0x38)" * (cast_expression "(long *)(param_1 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "lVar4 = (*(long *)(param_1 + 0x40) - lVar1 >> 3) * -0x5555555555555555;" (assignment_expression "lVar4 = (*(long *)(param_1 + 0x40) - lVar1 >> 3) * -0x5555555555555555" identifier = (binary_expression "(*(long *)(param_1 + 0x40) - lVar1 >> 3) * -0x5555555555555555" (parenthesized_expression "(*(long *)(param_1 + 0x40) - lVar1 >> 3)" ( (binary_expression "*(long *)(param_1 + 0x40) - lVar1 >> 3" (binary_expression "*(long *)(param_1 + 0x40) - lVar1" (pointer_expression "*(long *)(param_1 + 0x40)" * (cast_expression "(long *)(param_1 + 0x40)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))) - identifier) >> number_literal) )) * number_literal)) ;) (expression_statement "iVar2 = -1;" (assignment_expression "iVar2 = -1" identifier = number_literal) ;) (if_statement "if (lVar4 != 0) {\n    if (param_2 == *(int *)(lVar1 + 0x10)) {\n      iVar2 = 0;\n    }\n    else {\n      lVar3 = 0;\n      piVar5 = (int *)(lVar1 + 0x28);\n      while (lVar3 = lVar3 + 1, lVar3 != lVar4) {\n        iVar2 = *piVar5;\n        piVar5 = piVar5 + 6;\n        if (param_2 == iVar2) {\n          return (int)lVar3 * iVar6;\n        }\n      }\n      iVar2 = -1;\n    }\n  }" if (parenthesized_expression "(lVar4 != 0)" ( (binary_expression "lVar4 != 0" identifier != number_literal) )) (compound_statement "{\n    if (param_2 == *(int *)(lVar1 + 0x10)) {\n      iVar2 = 0;\n    }\n    else {\n      lVar3 = 0;\n      piVar5 = (int *)(lVar1 + 0x28);\n      while (lVar3 = lVar3 + 1, lVar3 != lVar4) {\n        iVar2 = *piVar5;\n        piVar5 = piVar5 + 6;\n        if (param_2 == iVar2) {\n          return (int)lVar3 * iVar6;\n        }\n      }\n      iVar2 = -1;\n    }\n  }" { (if_statement "if (param_2 == *(int *)(lVar1 + 0x10)) {\n      iVar2 = 0;\n    }\n    else {\n      lVar3 = 0;\n      piVar5 = (int *)(lVar1 + 0x28);\n      while (lVar3 = lVar3 + 1, lVar3 != lVar4) {\n        iVar2 = *piVar5;\n        piVar5 = piVar5 + 6;\n        if (param_2 == iVar2) {\n          return (int)lVar3 * iVar6;\n        }\n      }\n      iVar2 = -1;\n    }" if (parenthesized_expression "(param_2 == *(int *)(lVar1 + 0x10))" ( (binary_expression "param_2 == *(int *)(lVar1 + 0x10)" identifier == (pointer_expression "*(int *)(lVar1 + 0x10)" * (cast_expression "(int *)(lVar1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x10)" ( (binary_expression "lVar1 + 0x10" identifier + number_literal) ))))) )) (compound_statement "{\n      iVar2 = 0;\n    }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      lVar3 = 0;\n      piVar5 = (int *)(lVar1 + 0x28);\n      while (lVar3 = lVar3 + 1, lVar3 != lVar4) {\n        iVar2 = *piVar5;\n        piVar5 = piVar5 + 6;\n        if (param_2 == iVar2) {\n          return (int)lVar3 * iVar6;\n        }\n      }\n      iVar2 = -1;\n    }" else (compound_statement "{\n      lVar3 = 0;\n      piVar5 = (int *)(lVar1 + 0x28);\n      while (lVar3 = lVar3 + 1, lVar3 != lVar4) {\n        iVar2 = *piVar5;\n        piVar5 = piVar5 + 6;\n        if (param_2 == iVar2) {\n          return (int)lVar3 * iVar6;\n        }\n      }\n      iVar2 = -1;\n    }" { (expression_statement "lVar3 = 0;" (assignment_expression "lVar3 = 0" identifier = number_literal) ;) (expression_statement "piVar5 = (int *)(lVar1 + 0x28);" (assignment_expression "piVar5 = (int *)(lVar1 + 0x28)" identifier = (cast_expression "(int *)(lVar1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x28)" ( (binary_expression "lVar1 + 0x28" identifier + number_literal) )))) ;) (while_statement "while (lVar3 = lVar3 + 1, lVar3 != lVar4) {\n        iVar2 = *piVar5;\n        piVar5 = piVar5 + 6;\n        if (param_2 == iVar2) {\n          return (int)lVar3 * iVar6;\n        }\n      }" while (parenthesized_expression "(lVar3 = lVar3 + 1, lVar3 != lVar4)" ( (comma_expression "lVar3 = lVar3 + 1, lVar3 != lVar4" (assignment_expression "lVar3 = lVar3 + 1" identifier = (binary_expression "lVar3 + 1" identifier + number_literal)) , (binary_expression "lVar3 != lVar4" identifier != identifier)) )) (compound_statement "{\n        iVar2 = *piVar5;\n        piVar5 = piVar5 + 6;\n        if (param_2 == iVar2) {\n          return (int)lVar3 * iVar6;\n        }\n      }" { (expression_statement "iVar2 = *piVar5;" (assignment_expression "iVar2 = *piVar5" identifier = (pointer_expression "*piVar5" * identifier)) ;) (expression_statement "piVar5 = piVar5 + 6;" (assignment_expression "piVar5 = piVar5 + 6" identifier = (binary_expression "piVar5 + 6" identifier + number_literal)) ;) (if_statement "if (param_2 == iVar2) {\n          return (int)lVar3 * iVar6;\n        }" if (parenthesized_expression "(param_2 == iVar2)" ( (binary_expression "param_2 == iVar2" identifier == identifier) )) (compound_statement "{\n          return (int)lVar3 * iVar6;\n        }" { (return_statement "return (int)lVar3 * iVar6;" return (binary_expression "(int)lVar3 * iVar6" (cast_expression "(int)lVar3" ( (type_descriptor "int" primitive_type) ) identifier) * identifier) ;) })) })) (expression_statement "iVar2 = -1;" (assignment_expression "iVar2 = -1" identifier = number_literal) ;) }))) })) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: uint get_entry_offset(Output_data_dynamic * this, DT tag) */\n\nuint __thiscall gold::Output_data_dynamic::get_entry_offset(Output_data_dynamic *this,DT tag)\n\n{\n  DT DVar1;\n  pointer pDVar2;\n  uint uVar3;\n  long lVar4;\n  long lVar5;\n  DT *pDVar6;\n  int iVar7;\n  \n  if (parameters->target_ == (Target *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n  }\n  iVar7 = **(int **)(parameters->target_ + 8);\n  if (iVar7 == 0x20) {\n    iVar7 = 8;\n  }\n  else {\n    if (iVar7 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/output.cc",0x775,"get_entry_offset");\n    }\n    iVar7 = 0x10;\n  }\n  pDVar2 = (this->entries_).\n           super__Vector_base<gold::Output_data_dynamic::Dynamic_entry,_std::allocator<gold::Output_data_dynamic::Dynamic_entry>_>\n           ._M_impl._M_start;\n  lVar5 = ((long)(this->entries_).\n                 super__Vector_base<gold::Output_data_dynamic::Dynamic_entry,_std::allocator<gold::Output_data_dynamic::Dynamic_entry>_>\n                 ._M_impl._M_finish - (long)pDVar2 >> 3) * -0x5555555555555555;\n  uVar3 = 0xffffffff;\n  if (lVar5 != 0) {\n    if (tag == pDVar2->tag_) {\n      uVar3 = 0;\n    }\n    else {\n      lVar4 = 0;\n      pDVar6 = &pDVar2[1].tag_;\n      while (lVar4 = lVar4 + 1, lVar4 != lVar5) {\n        DVar1 = *pDVar6;\n        pDVar6 = pDVar6 + 6;\n        if (tag == DVar1) {\n          return (int)lVar4 * iVar7;\n        }\n      }\n      uVar3 = 0xffffffff;\n    }\n  }\n  return uVar3;\n}\n\n" comment comment (function_definition "uint __thiscall gold::Output_data_dynamic::get_entry_offset(Output_data_dynamic *this,DT tag)\n\n{\n  DT DVar1;\n  pointer pDVar2;\n  uint uVar3;\n  long lVar4;\n  long lVar5;\n  DT *pDVar6;\n  int iVar7;\n  \n  if (parameters->target_ == (Target *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n  }\n  iVar7 = **(int **)(parameters->target_ + 8);\n  if (iVar7 == 0x20) {\n    iVar7 = 8;\n  }\n  else {\n    if (iVar7 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/output.cc",0x775,"get_entry_offset");\n    }\n    iVar7 = 0x10;\n  }\n  pDVar2 = (this->entries_).\n           super__Vector_base<gold::Output_data_dynamic::Dynamic_entry,_std::allocator<gold::Output_data_dynamic::Dynamic_entry>_>\n           ._M_impl._M_start;\n  lVar5 = ((long)(this->entries_).\n                 super__Vector_base<gold::Output_data_dynamic::Dynamic_entry,_std::allocator<gold::Output_data_dynamic::Dynamic_entry>_>\n                 ._M_impl._M_finish - (long)pDVar2 >> 3) * -0x5555555555555555;\n  uVar3 = 0xffffffff;\n  if (lVar5 != 0) {\n    if (tag == pDVar2->tag_) {\n      uVar3 = 0;\n    }\n    else {\n      lVar4 = 0;\n      pDVar6 = &pDVar2[1].tag_;\n      while (lVar4 = lVar4 + 1, lVar4 != lVar5) {\n        DVar1 = *pDVar6;\n        pDVar6 = pDVar6 + 6;\n        if (tag == DVar1) {\n          return (int)lVar4 * iVar7;\n        }\n      }\n      uVar3 = 0xffffffff;\n    }\n  }\n  return uVar3;\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Output_data_dynamic::" identifier : : identifier : :) (function_declarator "get_entry_offset(Output_data_dynamic *this,DT tag)" identifier (parameter_list "(Output_data_dynamic *this,DT tag)" ( (parameter_declaration "Output_data_dynamic *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "DT tag" type_identifier identifier) ))) (compound_statement "{\n  DT DVar1;\n  pointer pDVar2;\n  uint uVar3;\n  long lVar4;\n  long lVar5;\n  DT *pDVar6;\n  int iVar7;\n  \n  if (parameters->target_ == (Target *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n  }\n  iVar7 = **(int **)(parameters->target_ + 8);\n  if (iVar7 == 0x20) {\n    iVar7 = 8;\n  }\n  else {\n    if (iVar7 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/output.cc",0x775,"get_entry_offset");\n    }\n    iVar7 = 0x10;\n  }\n  pDVar2 = (this->entries_).\n           super__Vector_base<gold::Output_data_dynamic::Dynamic_entry,_std::allocator<gold::Output_data_dynamic::Dynamic_entry>_>\n           ._M_impl._M_start;\n  lVar5 = ((long)(this->entries_).\n                 super__Vector_base<gold::Output_data_dynamic::Dynamic_entry,_std::allocator<gold::Output_data_dynamic::Dynamic_entry>_>\n                 ._M_impl._M_finish - (long)pDVar2 >> 3) * -0x5555555555555555;\n  uVar3 = 0xffffffff;\n  if (lVar5 != 0) {\n    if (tag == pDVar2->tag_) {\n      uVar3 = 0;\n    }\n    else {\n      lVar4 = 0;\n      pDVar6 = &pDVar2[1].tag_;\n      while (lVar4 = lVar4 + 1, lVar4 != lVar5) {\n        DVar1 = *pDVar6;\n        pDVar6 = pDVar6 + 6;\n        if (tag == DVar1) {\n          return (int)lVar4 * iVar7;\n        }\n      }\n      uVar3 = 0xffffffff;\n    }\n  }\n  return uVar3;\n}" { (declaration "DT DVar1;" type_identifier identifier ;) (declaration "pointer pDVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar5;" (sized_type_specifier "long" long) identifier ;) (declaration "DT *pDVar6;" type_identifier (pointer_declarator "*pDVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (if_statement "if (parameters->target_ == (Target *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n  }" if (parenthesized_expression "(parameters->target_ == (Target *)0x0)" ( (binary_expression "parameters->target_ == (Target *)0x0" (field_expression "parameters->target_" identifier -> field_identifier) == (cast_expression "(Target *)0x0" ( (type_descriptor "Target *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n  }" { comment (expression_statement "do_gold_unreachable("../../gold/parameters.h",0x69,"target");" (call_expression "do_gold_unreachable("../../gold/parameters.h",0x69,"target")" identifier (argument_list "("../../gold/parameters.h",0x69,"target")" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""target"" " string_content ") ))) ;) })) (expression_statement "iVar7 = **(int **)(parameters->target_ + 8);" (assignment_expression "iVar7 = **(int **)(parameters->target_ + 8)" identifier = (pointer_expression "**(int **)(parameters->target_ + 8)" * (pointer_expression "*(int **)(parameters->target_ + 8)" * (cast_expression "(int **)(parameters->target_ + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(parameters->target_ + 8)" ( (binary_expression "parameters->target_ + 8" (field_expression "parameters->target_" identifier -> field_identifier) + number_literal) )))))) ;) (if_statement "if (iVar7 == 0x20) {\n    iVar7 = 8;\n  }\n  else {\n    if (iVar7 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/output.cc",0x775,"get_entry_offset");\n    }\n    iVar7 = 0x10;\n  }" if (parenthesized_expression "(iVar7 == 0x20)" ( (binary_expression "iVar7 == 0x20" identifier == number_literal) )) (compound_statement "{\n    iVar7 = 8;\n  }" { (expression_statement "iVar7 = 8;" (assignment_expression "iVar7 = 8" identifier = number_literal) ;) }) (else_clause "else {\n    if (iVar7 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/output.cc",0x775,"get_entry_offset");\n    }\n    iVar7 = 0x10;\n  }" else (compound_statement "{\n    if (iVar7 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/output.cc",0x775,"get_entry_offset");\n    }\n    iVar7 = 0x10;\n  }" { (if_statement "if (iVar7 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/output.cc",0x775,"get_entry_offset");\n    }" if (parenthesized_expression "(iVar7 != 0x40)" ( (binary_expression "iVar7 != 0x40" identifier != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/output.cc",0x775,"get_entry_offset");\n    }" { comment (expression_statement "do_gold_unreachable("../../gold/output.cc",0x775,"get_entry_offset");" (call_expression "do_gold_unreachable("../../gold/output.cc",0x775,"get_entry_offset")" identifier (argument_list "("../../gold/output.cc",0x775,"get_entry_offset")" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""get_entry_offset"" " string_content ") ))) ;) })) (expression_statement "iVar7 = 0x10;" (assignment_expression "iVar7 = 0x10" identifier = number_literal) ;) }))) (ERROR "pDVar2 = (this->entries_).\n           super__Vector_base<gold::" (assignment_expression "pDVar2 = (this->entries_).\n           super__Vector_base<gold" identifier = (binary_expression "(this->entries_).\n           super__Vector_base<gold" (field_expression "(this->entries_).\n           super__Vector_base" (parenthesized_expression "(this->entries_)" ( (field_expression "this->entries_" identifier -> field_identifier) )) . field_identifier) < identifier)) : :) (labeled_statement "Output_data_dynamic::Dynamic_entry,_std::allocator<gold::Output_data_dynamic::Dynamic_entry>_>\n           ._M_impl._M_start;" statement_identifier (ERROR "::Dynamic_entry,_std::allocator<gold:" : : (comma_expression "Dynamic_entry,_std" identifier , identifier) : : (binary_expression "allocator<gold" identifier < identifier) :) : (labeled_statement "Output_data_dynamic::Dynamic_entry>_>\n           ._M_impl._M_start;" statement_identifier : (ERROR ":" :) (expression_statement "Dynamic_entry>_>\n           ._M_impl._M_start;" (field_expression "Dynamic_entry>_>\n           ._M_impl._M_start" (field_expression "Dynamic_entry>_>\n           ._M_impl" (binary_expression "Dynamic_entry>_" identifier > identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;))) (expression_statement "lVar5 = ((long)(this->entries_).\n                 super__Vector_base<gold::Output_data_dynamic::Dynamic_entry,_std::allocator<gold::Output_data_dynamic::Dynamic_entry>_>\n                 ._M_impl._M_finish - (long)pDVar2 >> 3) * -0x5555555555555555;" (assignment_expression "lVar5 = ((long)(this->entries_).\n                 super__Vector_base<gold::Output_data_dynamic::Dynamic_entry,_std::allocator<gold::Output_data_dynamic::Dynamic_entry>_>\n                 ._M_impl._M_finish - (long)pDVar2 >> 3) * -0x5555555555555555" identifier = (binary_expression "((long)(this->entries_).\n                 super__Vector_base<gold::Output_data_dynamic::Dynamic_entry,_std::allocator<gold::Output_data_dynamic::Dynamic_entry>_>\n                 ._M_impl._M_finish - (long)pDVar2 >> 3) * -0x5555555555555555" (parenthesized_expression "((long)(this->entries_).\n                 super__Vector_base<gold::Output_data_dynamic::Dynamic_entry,_std::allocator<gold::Output_data_dynamic::Dynamic_entry>_>\n                 ._M_impl._M_finish - (long)pDVar2 >> 3)" ( (ERROR "(long)(this->entries_).\n                 super__Vector_base<gold::Output_data_dynamic::Dynamic_entry,_std::allocator<gold::Output_data_dynamic::" (comma_expression "(long)(this->entries_).\n                 super__Vector_base<gold::Output_data_dynamic::Dynamic_entry,_std" (binary_expression "(long)(this->entries_).\n                 super__Vector_base<gold" (cast_expression "(long)(this->entries_).\n                 super__Vector_base" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "(this->entries_).\n                 super__Vector_base" (parenthesized_expression "(this->entries_)" ( (field_expression "this->entries_" identifier -> field_identifier) )) . field_identifier)) < identifier) (ERROR "::Output_data_dynamic::Dynamic_entry" : : identifier : : identifier) , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : : identifier : :) (binary_expression "Dynamic_entry>_>\n                 ._M_impl._M_finish - (long)pDVar2 >> 3" (binary_expression "Dynamic_entry>_>\n                 ._M_impl._M_finish - (long)pDVar2" (field_expression "Dynamic_entry>_>\n                 ._M_impl._M_finish" (field_expression "Dynamic_entry>_>\n                 ._M_impl" (binary_expression "Dynamic_entry>_" identifier > identifier) (ERROR ">" >) . field_identifier) . field_identifier) - (cast_expression "(long)pDVar2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) >> number_literal) )) * number_literal)) ;) (expression_statement "uVar3 = 0xffffffff;" (assignment_expression "uVar3 = 0xffffffff" identifier = number_literal) ;) (if_statement "if (lVar5 != 0) {\n    if (tag == pDVar2->tag_) {\n      uVar3 = 0;\n    }\n    else {\n      lVar4 = 0;\n      pDVar6 = &pDVar2[1].tag_;\n      while (lVar4 = lVar4 + 1, lVar4 != lVar5) {\n        DVar1 = *pDVar6;\n        pDVar6 = pDVar6 + 6;\n        if (tag == DVar1) {\n          return (int)lVar4 * iVar7;\n        }\n      }\n      uVar3 = 0xffffffff;\n    }\n  }" if (parenthesized_expression "(lVar5 != 0)" ( (binary_expression "lVar5 != 0" identifier != number_literal) )) (compound_statement "{\n    if (tag == pDVar2->tag_) {\n      uVar3 = 0;\n    }\n    else {\n      lVar4 = 0;\n      pDVar6 = &pDVar2[1].tag_;\n      while (lVar4 = lVar4 + 1, lVar4 != lVar5) {\n        DVar1 = *pDVar6;\n        pDVar6 = pDVar6 + 6;\n        if (tag == DVar1) {\n          return (int)lVar4 * iVar7;\n        }\n      }\n      uVar3 = 0xffffffff;\n    }\n  }" { (if_statement "if (tag == pDVar2->tag_) {\n      uVar3 = 0;\n    }\n    else {\n      lVar4 = 0;\n      pDVar6 = &pDVar2[1].tag_;\n      while (lVar4 = lVar4 + 1, lVar4 != lVar5) {\n        DVar1 = *pDVar6;\n        pDVar6 = pDVar6 + 6;\n        if (tag == DVar1) {\n          return (int)lVar4 * iVar7;\n        }\n      }\n      uVar3 = 0xffffffff;\n    }" if (parenthesized_expression "(tag == pDVar2->tag_)" ( (binary_expression "tag == pDVar2->tag_" identifier == (field_expression "pDVar2->tag_" identifier -> field_identifier)) )) (compound_statement "{\n      uVar3 = 0;\n    }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      lVar4 = 0;\n      pDVar6 = &pDVar2[1].tag_;\n      while (lVar4 = lVar4 + 1, lVar4 != lVar5) {\n        DVar1 = *pDVar6;\n        pDVar6 = pDVar6 + 6;\n        if (tag == DVar1) {\n          return (int)lVar4 * iVar7;\n        }\n      }\n      uVar3 = 0xffffffff;\n    }" else (compound_statement "{\n      lVar4 = 0;\n      pDVar6 = &pDVar2[1].tag_;\n      while (lVar4 = lVar4 + 1, lVar4 != lVar5) {\n        DVar1 = *pDVar6;\n        pDVar6 = pDVar6 + 6;\n        if (tag == DVar1) {\n          return (int)lVar4 * iVar7;\n        }\n      }\n      uVar3 = 0xffffffff;\n    }" { (expression_statement "lVar4 = 0;" (assignment_expression "lVar4 = 0" identifier = number_literal) ;) (expression_statement "pDVar6 = &pDVar2[1].tag_;" (assignment_expression "pDVar6 = &pDVar2[1].tag_" identifier = (pointer_expression "&pDVar2[1].tag_" & (field_expression "pDVar2[1].tag_" (subscript_expression "pDVar2[1]" identifier [ number_literal ]) . field_identifier))) ;) (while_statement "while (lVar4 = lVar4 + 1, lVar4 != lVar5) {\n        DVar1 = *pDVar6;\n        pDVar6 = pDVar6 + 6;\n        if (tag == DVar1) {\n          return (int)lVar4 * iVar7;\n        }\n      }" while (parenthesized_expression "(lVar4 = lVar4 + 1, lVar4 != lVar5)" ( (comma_expression "lVar4 = lVar4 + 1, lVar4 != lVar5" (assignment_expression "lVar4 = lVar4 + 1" identifier = (binary_expression "lVar4 + 1" identifier + number_literal)) , (binary_expression "lVar4 != lVar5" identifier != identifier)) )) (compound_statement "{\n        DVar1 = *pDVar6;\n        pDVar6 = pDVar6 + 6;\n        if (tag == DVar1) {\n          return (int)lVar4 * iVar7;\n        }\n      }" { (expression_statement "DVar1 = *pDVar6;" (assignment_expression "DVar1 = *pDVar6" identifier = (pointer_expression "*pDVar6" * identifier)) ;) (expression_statement "pDVar6 = pDVar6 + 6;" (assignment_expression "pDVar6 = pDVar6 + 6" identifier = (binary_expression "pDVar6 + 6" identifier + number_literal)) ;) (if_statement "if (tag == DVar1) {\n          return (int)lVar4 * iVar7;\n        }" if (parenthesized_expression "(tag == DVar1)" ( (binary_expression "tag == DVar1" identifier == identifier) )) (compound_statement "{\n          return (int)lVar4 * iVar7;\n        }" { (return_statement "return (int)lVar4 * iVar7;" return (binary_expression "(int)lVar4 * iVar7" (cast_expression "(int)lVar4" ( (type_descriptor "int" primitive_type) ) identifier) * identifier) ;) })) })) (expression_statement "uVar3 = 0xffffffff;" (assignment_expression "uVar3 = 0xffffffff" identifier = number_literal) ;) }))) })) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit "int FUN_001c08b0(long param_1,int param_2)\n\n{\n  long lVar1;\n  int iVar2;\n  long lVar3;\n  long lVar4;\n  int *piVar5;\n  int iVar6;\n  \n  if (*(long *)(PTR_DAT_003be6b0 + 0x18) == 0) {\n                    \n    FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n  }\n  iVar6 = **(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8);\n  if (iVar6 == 0x20) {\n    iVar6 = 8;\n  }\n  else {\n    if (iVar6 != 0x40) {\n                    \n      FUN_0016cdf0("../../gold/output.cc",0x775,"get_entry_offset");\n    }\n    iVar6 = 0x10;\n  }\n  lVar1 = *(long *)(param_1 + 0x38);\n  lVar4 = (*(long *)(param_1 + 0x40) - lVar1 >> 3) * -0x5555555555555555;\n  iVar2 = -1;\n  if (lVar4 != 0) {\n    if (param_2 == *(int *)(lVar1 + 0x10)) {\n      iVar2 = 0;\n    }\n    else {\n      lVar3 = 0;\n      piVar5 = (int *)(lVar1 + 0x28);\n      while (lVar3 = lVar3 + 1, lVar3 != lVar4) {\n        iVar2 = *piVar5;\n        piVar5 = piVar5 + 6;\n        if (param_2 == iVar2) {\n          return (int)lVar3 * iVar6;\n        }\n      }\n      iVar2 = -1;\n    }\n  }\n  return iVar2;\n}\n\n" (function_definition "int FUN_001c08b0(long param_1,int param_2)\n\n{\n  long lVar1;\n  int iVar2;\n  long lVar3;\n  long lVar4;\n  int *piVar5;\n  int iVar6;\n  \n  if (*(long *)(PTR_DAT_003be6b0 + 0x18) == 0) {\n                    \n    FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n  }\n  iVar6 = **(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8);\n  if (iVar6 == 0x20) {\n    iVar6 = 8;\n  }\n  else {\n    if (iVar6 != 0x40) {\n                    \n      FUN_0016cdf0("../../gold/output.cc",0x775,"get_entry_offset");\n    }\n    iVar6 = 0x10;\n  }\n  lVar1 = *(long *)(param_1 + 0x38);\n  lVar4 = (*(long *)(param_1 + 0x40) - lVar1 >> 3) * -0x5555555555555555;\n  iVar2 = -1;\n  if (lVar4 != 0) {\n    if (param_2 == *(int *)(lVar1 + 0x10)) {\n      iVar2 = 0;\n    }\n    else {\n      lVar3 = 0;\n      piVar5 = (int *)(lVar1 + 0x28);\n      while (lVar3 = lVar3 + 1, lVar3 != lVar4) {\n        iVar2 = *piVar5;\n        piVar5 = piVar5 + 6;\n        if (param_2 == iVar2) {\n          return (int)lVar3 * iVar6;\n        }\n      }\n      iVar2 = -1;\n    }\n  }\n  return iVar2;\n}" primitive_type (function_declarator "FUN_001c08b0(long param_1,int param_2)" identifier (parameter_list "(long param_1,int param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  long lVar1;\n  int iVar2;\n  long lVar3;\n  long lVar4;\n  int *piVar5;\n  int iVar6;\n  \n  if (*(long *)(PTR_DAT_003be6b0 + 0x18) == 0) {\n                    \n    FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n  }\n  iVar6 = **(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8);\n  if (iVar6 == 0x20) {\n    iVar6 = 8;\n  }\n  else {\n    if (iVar6 != 0x40) {\n                    \n      FUN_0016cdf0("../../gold/output.cc",0x775,"get_entry_offset");\n    }\n    iVar6 = 0x10;\n  }\n  lVar1 = *(long *)(param_1 + 0x38);\n  lVar4 = (*(long *)(param_1 + 0x40) - lVar1 >> 3) * -0x5555555555555555;\n  iVar2 = -1;\n  if (lVar4 != 0) {\n    if (param_2 == *(int *)(lVar1 + 0x10)) {\n      iVar2 = 0;\n    }\n    else {\n      lVar3 = 0;\n      piVar5 = (int *)(lVar1 + 0x28);\n      while (lVar3 = lVar3 + 1, lVar3 != lVar4) {\n        iVar2 = *piVar5;\n        piVar5 = piVar5 + 6;\n        if (param_2 == iVar2) {\n          return (int)lVar3 * iVar6;\n        }\n      }\n      iVar2 = -1;\n    }\n  }\n  return iVar2;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (if_statement "if (*(long *)(PTR_DAT_003be6b0 + 0x18) == 0) {\n                    \n    FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n  }" if (parenthesized_expression "(*(long *)(PTR_DAT_003be6b0 + 0x18) == 0)" ( (binary_expression "*(long *)(PTR_DAT_003be6b0 + 0x18) == 0" (pointer_expression "*(long *)(PTR_DAT_003be6b0 + 0x18)" * (cast_expression "(long *)(PTR_DAT_003be6b0 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_003be6b0 + 0x18)" ( (binary_expression "PTR_DAT_003be6b0 + 0x18" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    \n    FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n  }" { (expression_statement "FUN_0016cdf0("../../gold/parameters.h",0x69,"target");" (call_expression "FUN_0016cdf0("../../gold/parameters.h",0x69,"target")" identifier (argument_list "("../../gold/parameters.h",0x69,"target")" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""target"" " string_content ") ))) ;) })) (expression_statement "iVar6 = **(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8);" (assignment_expression "iVar6 = **(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8)" identifier = (pointer_expression "**(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8)" * (pointer_expression "*(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8)" * (cast_expression "(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8)" ( (binary_expression "*(long *)(PTR_DAT_003be6b0 + 0x18) + 8" (pointer_expression "*(long *)(PTR_DAT_003be6b0 + 0x18)" * (cast_expression "(long *)(PTR_DAT_003be6b0 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_003be6b0 + 0x18)" ( (binary_expression "PTR_DAT_003be6b0 + 0x18" identifier + number_literal) )))) + number_literal) )))))) ;) (if_statement "if (iVar6 == 0x20) {\n    iVar6 = 8;\n  }\n  else {\n    if (iVar6 != 0x40) {\n                    \n      FUN_0016cdf0("../../gold/output.cc",0x775,"get_entry_offset");\n    }\n    iVar6 = 0x10;\n  }" if (parenthesized_expression "(iVar6 == 0x20)" ( (binary_expression "iVar6 == 0x20" identifier == number_literal) )) (compound_statement "{\n    iVar6 = 8;\n  }" { (expression_statement "iVar6 = 8;" (assignment_expression "iVar6 = 8" identifier = number_literal) ;) }) (else_clause "else {\n    if (iVar6 != 0x40) {\n                    \n      FUN_0016cdf0("../../gold/output.cc",0x775,"get_entry_offset");\n    }\n    iVar6 = 0x10;\n  }" else (compound_statement "{\n    if (iVar6 != 0x40) {\n                    \n      FUN_0016cdf0("../../gold/output.cc",0x775,"get_entry_offset");\n    }\n    iVar6 = 0x10;\n  }" { (if_statement "if (iVar6 != 0x40) {\n                    \n      FUN_0016cdf0("../../gold/output.cc",0x775,"get_entry_offset");\n    }" if (parenthesized_expression "(iVar6 != 0x40)" ( (binary_expression "iVar6 != 0x40" identifier != number_literal) )) (compound_statement "{\n                    \n      FUN_0016cdf0("../../gold/output.cc",0x775,"get_entry_offset");\n    }" { (expression_statement "FUN_0016cdf0("../../gold/output.cc",0x775,"get_entry_offset");" (call_expression "FUN_0016cdf0("../../gold/output.cc",0x775,"get_entry_offset")" identifier (argument_list "("../../gold/output.cc",0x775,"get_entry_offset")" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""get_entry_offset"" " string_content ") ))) ;) })) (expression_statement "iVar6 = 0x10;" (assignment_expression "iVar6 = 0x10" identifier = number_literal) ;) }))) (expression_statement "lVar1 = *(long *)(param_1 + 0x38);" (assignment_expression "lVar1 = *(long *)(param_1 + 0x38)" identifier = (pointer_expression "*(long *)(param_1 + 0x38)" * (cast_expression "(long *)(param_1 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "lVar4 = (*(long *)(param_1 + 0x40) - lVar1 >> 3) * -0x5555555555555555;" (assignment_expression "lVar4 = (*(long *)(param_1 + 0x40) - lVar1 >> 3) * -0x5555555555555555" identifier = (binary_expression "(*(long *)(param_1 + 0x40) - lVar1 >> 3) * -0x5555555555555555" (parenthesized_expression "(*(long *)(param_1 + 0x40) - lVar1 >> 3)" ( (binary_expression "*(long *)(param_1 + 0x40) - lVar1 >> 3" (binary_expression "*(long *)(param_1 + 0x40) - lVar1" (pointer_expression "*(long *)(param_1 + 0x40)" * (cast_expression "(long *)(param_1 + 0x40)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))) - identifier) >> number_literal) )) * number_literal)) ;) (expression_statement "iVar2 = -1;" (assignment_expression "iVar2 = -1" identifier = number_literal) ;) (if_statement "if (lVar4 != 0) {\n    if (param_2 == *(int *)(lVar1 + 0x10)) {\n      iVar2 = 0;\n    }\n    else {\n      lVar3 = 0;\n      piVar5 = (int *)(lVar1 + 0x28);\n      while (lVar3 = lVar3 + 1, lVar3 != lVar4) {\n        iVar2 = *piVar5;\n        piVar5 = piVar5 + 6;\n        if (param_2 == iVar2) {\n          return (int)lVar3 * iVar6;\n        }\n      }\n      iVar2 = -1;\n    }\n  }" if (parenthesized_expression "(lVar4 != 0)" ( (binary_expression "lVar4 != 0" identifier != number_literal) )) (compound_statement "{\n    if (param_2 == *(int *)(lVar1 + 0x10)) {\n      iVar2 = 0;\n    }\n    else {\n      lVar3 = 0;\n      piVar5 = (int *)(lVar1 + 0x28);\n      while (lVar3 = lVar3 + 1, lVar3 != lVar4) {\n        iVar2 = *piVar5;\n        piVar5 = piVar5 + 6;\n        if (param_2 == iVar2) {\n          return (int)lVar3 * iVar6;\n        }\n      }\n      iVar2 = -1;\n    }\n  }" { (if_statement "if (param_2 == *(int *)(lVar1 + 0x10)) {\n      iVar2 = 0;\n    }\n    else {\n      lVar3 = 0;\n      piVar5 = (int *)(lVar1 + 0x28);\n      while (lVar3 = lVar3 + 1, lVar3 != lVar4) {\n        iVar2 = *piVar5;\n        piVar5 = piVar5 + 6;\n        if (param_2 == iVar2) {\n          return (int)lVar3 * iVar6;\n        }\n      }\n      iVar2 = -1;\n    }" if (parenthesized_expression "(param_2 == *(int *)(lVar1 + 0x10))" ( (binary_expression "param_2 == *(int *)(lVar1 + 0x10)" identifier == (pointer_expression "*(int *)(lVar1 + 0x10)" * (cast_expression "(int *)(lVar1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x10)" ( (binary_expression "lVar1 + 0x10" identifier + number_literal) ))))) )) (compound_statement "{\n      iVar2 = 0;\n    }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      lVar3 = 0;\n      piVar5 = (int *)(lVar1 + 0x28);\n      while (lVar3 = lVar3 + 1, lVar3 != lVar4) {\n        iVar2 = *piVar5;\n        piVar5 = piVar5 + 6;\n        if (param_2 == iVar2) {\n          return (int)lVar3 * iVar6;\n        }\n      }\n      iVar2 = -1;\n    }" else (compound_statement "{\n      lVar3 = 0;\n      piVar5 = (int *)(lVar1 + 0x28);\n      while (lVar3 = lVar3 + 1, lVar3 != lVar4) {\n        iVar2 = *piVar5;\n        piVar5 = piVar5 + 6;\n        if (param_2 == iVar2) {\n          return (int)lVar3 * iVar6;\n        }\n      }\n      iVar2 = -1;\n    }" { (expression_statement "lVar3 = 0;" (assignment_expression "lVar3 = 0" identifier = number_literal) ;) (expression_statement "piVar5 = (int *)(lVar1 + 0x28);" (assignment_expression "piVar5 = (int *)(lVar1 + 0x28)" identifier = (cast_expression "(int *)(lVar1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x28)" ( (binary_expression "lVar1 + 0x28" identifier + number_literal) )))) ;) (while_statement "while (lVar3 = lVar3 + 1, lVar3 != lVar4) {\n        iVar2 = *piVar5;\n        piVar5 = piVar5 + 6;\n        if (param_2 == iVar2) {\n          return (int)lVar3 * iVar6;\n        }\n      }" while (parenthesized_expression "(lVar3 = lVar3 + 1, lVar3 != lVar4)" ( (comma_expression "lVar3 = lVar3 + 1, lVar3 != lVar4" (assignment_expression "lVar3 = lVar3 + 1" identifier = (binary_expression "lVar3 + 1" identifier + number_literal)) , (binary_expression "lVar3 != lVar4" identifier != identifier)) )) (compound_statement "{\n        iVar2 = *piVar5;\n        piVar5 = piVar5 + 6;\n        if (param_2 == iVar2) {\n          return (int)lVar3 * iVar6;\n        }\n      }" { (expression_statement "iVar2 = *piVar5;" (assignment_expression "iVar2 = *piVar5" identifier = (pointer_expression "*piVar5" * identifier)) ;) (expression_statement "piVar5 = piVar5 + 6;" (assignment_expression "piVar5 = piVar5 + 6" identifier = (binary_expression "piVar5 + 6" identifier + number_literal)) ;) (if_statement "if (param_2 == iVar2) {\n          return (int)lVar3 * iVar6;\n        }" if (parenthesized_expression "(param_2 == iVar2)" ( (binary_expression "param_2 == iVar2" identifier == identifier) )) (compound_statement "{\n          return (int)lVar3 * iVar6;\n        }" { (return_statement "return (int)lVar3 * iVar6;" return (binary_expression "(int)lVar3 * iVar6" (cast_expression "(int)lVar3" ( (type_descriptor "int" primitive_type) ) identifier) * identifier) ;) })) })) (expression_statement "iVar2 = -1;" (assignment_expression "iVar2 = -1" identifier = number_literal) ;) }))) })) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (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 ") ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - IDENT) >> LIT) )) * LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT + LIT)) , (binary_expression IDENT != IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (return_statement return (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * IDENT) ;) })) })) (expression_statement (assignment_expression IDENT = LIT) ;) }))) })) (return_statement return IDENT ;) })))
(function_definition "int FUN_001c08b0(long param_1,int param_2)\n\n{\n  long lVar1;\n  int iVar2;\n  long lVar3;\n  long lVar4;\n  int *piVar5;\n  int iVar6;\n  \n  if (*(long *)(PTR_DAT_003be6b0 + 0x18) == 0) {\n                    \n    FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n  }\n  iVar6 = **(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8);\n  if (iVar6 == 0x20) {\n    iVar6 = 8;\n  }\n  else {\n    if (iVar6 != 0x40) {\n                    \n      FUN_0016cdf0("../../gold/output.cc",0x775,"get_entry_offset");\n    }\n    iVar6 = 0x10;\n  }\n  lVar1 = *(long *)(param_1 + 0x38);\n  lVar4 = (*(long *)(param_1 + 0x40) - lVar1 >> 3) * -0x5555555555555555;\n  iVar2 = -1;\n  if (lVar4 != 0) {\n    if (param_2 == *(int *)(lVar1 + 0x10)) {\n      iVar2 = 0;\n    }\n    else {\n      lVar3 = 0;\n      piVar5 = (int *)(lVar1 + 0x28);\n      while (lVar3 = lVar3 + 1, lVar3 != lVar4) {\n        iVar2 = *piVar5;\n        piVar5 = piVar5 + 6;\n        if (param_2 == iVar2) {\n          return (int)lVar3 * iVar6;\n        }\n      }\n      iVar2 = -1;\n    }\n  }\n  return iVar2;\n}" (primitive_type "int") (function_declarator "FUN_001c08b0(long param_1,int param_2)" (identifier "FUN_001c08b0") (parameter_list "(long param_1,int param_2)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  long lVar1;\n  int iVar2;\n  long lVar3;\n  long lVar4;\n  int *piVar5;\n  int iVar6;\n  \n  if (*(long *)(PTR_DAT_003be6b0 + 0x18) == 0) {\n                    \n    FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n  }\n  iVar6 = **(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8);\n  if (iVar6 == 0x20) {\n    iVar6 = 8;\n  }\n  else {\n    if (iVar6 != 0x40) {\n                    \n      FUN_0016cdf0("../../gold/output.cc",0x775,"get_entry_offset");\n    }\n    iVar6 = 0x10;\n  }\n  lVar1 = *(long *)(param_1 + 0x38);\n  lVar4 = (*(long *)(param_1 + 0x40) - lVar1 >> 3) * -0x5555555555555555;\n  iVar2 = -1;\n  if (lVar4 != 0) {\n    if (param_2 == *(int *)(lVar1 + 0x10)) {\n      iVar2 = 0;\n    }\n    else {\n      lVar3 = 0;\n      piVar5 = (int *)(lVar1 + 0x28);\n      while (lVar3 = lVar3 + 1, lVar3 != lVar4) {\n        iVar2 = *piVar5;\n        piVar5 = piVar5 + 6;\n        if (param_2 == iVar2) {\n          return (int)lVar3 * iVar6;\n        }\n      }\n      iVar2 = -1;\n    }\n  }\n  return iVar2;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "long lVar3;" (sized_type_specifier "long" (long "long")) (identifier "lVar3") (; ";")) (declaration "long lVar4;" (sized_type_specifier "long" (long "long")) (identifier "lVar4") (; ";")) (declaration "int *piVar5;" (primitive_type "int") (pointer_declarator "*piVar5" (* "*") (identifier "piVar5")) (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (if_statement "if (*(long *)(PTR_DAT_003be6b0 + 0x18) == 0) {\n                    \n    FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n  }" (if "if") (parenthesized_expression "(*(long *)(PTR_DAT_003be6b0 + 0x18) == 0)" (( "(") (binary_expression "*(long *)(PTR_DAT_003be6b0 + 0x18) == 0" (pointer_expression "*(long *)(PTR_DAT_003be6b0 + 0x18)" (* "*") (cast_expression "(long *)(PTR_DAT_003be6b0 + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_003be6b0 + 0x18)" (( "(") (binary_expression "PTR_DAT_003be6b0 + 0x18" (identifier "PTR_DAT_003be6b0") (+ "+") (number_literal "0x18")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n  }" ({ "{") (expression_statement "FUN_0016cdf0("../../gold/parameters.h",0x69,"target");" (call_expression "FUN_0016cdf0("../../gold/parameters.h",0x69,"target")" (identifier "FUN_0016cdf0") (argument_list "("../../gold/parameters.h",0x69,"target")" (( "(") (string_literal ""../../gold/parameters.h"" (" """) (string_content "../../gold/parameters.h") (" """)) (, ",") (number_literal "0x69") (, ",") (string_literal ""target"" (" """) (string_content "target") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "iVar6 = **(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8);" (assignment_expression "iVar6 = **(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8)" (identifier "iVar6") (= "=") (pointer_expression "**(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8)" (* "*") (pointer_expression "*(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8)" (* "*") (cast_expression "(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8)" (( "(") (binary_expression "*(long *)(PTR_DAT_003be6b0 + 0x18) + 8" (pointer_expression "*(long *)(PTR_DAT_003be6b0 + 0x18)" (* "*") (cast_expression "(long *)(PTR_DAT_003be6b0 + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_003be6b0 + 0x18)" (( "(") (binary_expression "PTR_DAT_003be6b0 + 0x18" (identifier "PTR_DAT_003be6b0") (+ "+") (number_literal "0x18")) () ")")))) (+ "+") (number_literal "8")) () ")")))))) (; ";")) (if_statement "if (iVar6 == 0x20) {\n    iVar6 = 8;\n  }\n  else {\n    if (iVar6 != 0x40) {\n                    \n      FUN_0016cdf0("../../gold/output.cc",0x775,"get_entry_offset");\n    }\n    iVar6 = 0x10;\n  }" (if "if") (parenthesized_expression "(iVar6 == 0x20)" (( "(") (binary_expression "iVar6 == 0x20" (identifier "iVar6") (== "==") (number_literal "0x20")) () ")")) (compound_statement "{\n    iVar6 = 8;\n  }" ({ "{") (expression_statement "iVar6 = 8;" (assignment_expression "iVar6 = 8" (identifier "iVar6") (= "=") (number_literal "8")) (; ";")) (} "}")) (else_clause "else {\n    if (iVar6 != 0x40) {\n                    \n      FUN_0016cdf0("../../gold/output.cc",0x775,"get_entry_offset");\n    }\n    iVar6 = 0x10;\n  }" (else "else") (compound_statement "{\n    if (iVar6 != 0x40) {\n                    \n      FUN_0016cdf0("../../gold/output.cc",0x775,"get_entry_offset");\n    }\n    iVar6 = 0x10;\n  }" ({ "{") (if_statement "if (iVar6 != 0x40) {\n                    \n      FUN_0016cdf0("../../gold/output.cc",0x775,"get_entry_offset");\n    }" (if "if") (parenthesized_expression "(iVar6 != 0x40)" (( "(") (binary_expression "iVar6 != 0x40" (identifier "iVar6") (!= "!=") (number_literal "0x40")) () ")")) (compound_statement "{\n                    \n      FUN_0016cdf0("../../gold/output.cc",0x775,"get_entry_offset");\n    }" ({ "{") (expression_statement "FUN_0016cdf0("../../gold/output.cc",0x775,"get_entry_offset");" (call_expression "FUN_0016cdf0("../../gold/output.cc",0x775,"get_entry_offset")" (identifier "FUN_0016cdf0") (argument_list "("../../gold/output.cc",0x775,"get_entry_offset")" (( "(") (string_literal ""../../gold/output.cc"" (" """) (string_content "../../gold/output.cc") (" """)) (, ",") (number_literal "0x775") (, ",") (string_literal ""get_entry_offset"" (" """) (string_content "get_entry_offset") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "iVar6 = 0x10;" (assignment_expression "iVar6 = 0x10" (identifier "iVar6") (= "=") (number_literal "0x10")) (; ";")) (} "}")))) (expression_statement "lVar1 = *(long *)(param_1 + 0x38);" (assignment_expression "lVar1 = *(long *)(param_1 + 0x38)" (identifier "lVar1") (= "=") (pointer_expression "*(long *)(param_1 + 0x38)" (* "*") (cast_expression "(long *)(param_1 + 0x38)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")"))))) (; ";")) (expression_statement "lVar4 = (*(long *)(param_1 + 0x40) - lVar1 >> 3) * -0x5555555555555555;" (assignment_expression "lVar4 = (*(long *)(param_1 + 0x40) - lVar1 >> 3) * -0x5555555555555555" (identifier "lVar4") (= "=") (binary_expression "(*(long *)(param_1 + 0x40) - lVar1 >> 3) * -0x5555555555555555" (parenthesized_expression "(*(long *)(param_1 + 0x40) - lVar1 >> 3)" (( "(") (binary_expression "*(long *)(param_1 + 0x40) - lVar1 >> 3" (binary_expression "*(long *)(param_1 + 0x40) - lVar1" (pointer_expression "*(long *)(param_1 + 0x40)" (* "*") (cast_expression "(long *)(param_1 + 0x40)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x40)" (( "(") (binary_expression "param_1 + 0x40" (identifier "param_1") (+ "+") (number_literal "0x40")) () ")")))) (- "-") (identifier "lVar1")) (>> ">>") (number_literal "3")) () ")")) (* "*") (number_literal "-0x5555555555555555"))) (; ";")) (expression_statement "iVar2 = -1;" (assignment_expression "iVar2 = -1" (identifier "iVar2") (= "=") (number_literal "-1")) (; ";")) (if_statement "if (lVar4 != 0) {\n    if (param_2 == *(int *)(lVar1 + 0x10)) {\n      iVar2 = 0;\n    }\n    else {\n      lVar3 = 0;\n      piVar5 = (int *)(lVar1 + 0x28);\n      while (lVar3 = lVar3 + 1, lVar3 != lVar4) {\n        iVar2 = *piVar5;\n        piVar5 = piVar5 + 6;\n        if (param_2 == iVar2) {\n          return (int)lVar3 * iVar6;\n        }\n      }\n      iVar2 = -1;\n    }\n  }" (if "if") (parenthesized_expression "(lVar4 != 0)" (( "(") (binary_expression "lVar4 != 0" (identifier "lVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (param_2 == *(int *)(lVar1 + 0x10)) {\n      iVar2 = 0;\n    }\n    else {\n      lVar3 = 0;\n      piVar5 = (int *)(lVar1 + 0x28);\n      while (lVar3 = lVar3 + 1, lVar3 != lVar4) {\n        iVar2 = *piVar5;\n        piVar5 = piVar5 + 6;\n        if (param_2 == iVar2) {\n          return (int)lVar3 * iVar6;\n        }\n      }\n      iVar2 = -1;\n    }\n  }" ({ "{") (if_statement "if (param_2 == *(int *)(lVar1 + 0x10)) {\n      iVar2 = 0;\n    }\n    else {\n      lVar3 = 0;\n      piVar5 = (int *)(lVar1 + 0x28);\n      while (lVar3 = lVar3 + 1, lVar3 != lVar4) {\n        iVar2 = *piVar5;\n        piVar5 = piVar5 + 6;\n        if (param_2 == iVar2) {\n          return (int)lVar3 * iVar6;\n        }\n      }\n      iVar2 = -1;\n    }" (if "if") (parenthesized_expression "(param_2 == *(int *)(lVar1 + 0x10))" (( "(") (binary_expression "param_2 == *(int *)(lVar1 + 0x10)" (identifier "param_2") (== "==") (pointer_expression "*(int *)(lVar1 + 0x10)" (* "*") (cast_expression "(int *)(lVar1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x10)" (( "(") (binary_expression "lVar1 + 0x10" (identifier "lVar1") (+ "+") (number_literal "0x10")) () ")"))))) () ")")) (compound_statement "{\n      iVar2 = 0;\n    }" ({ "{") (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n      lVar3 = 0;\n      piVar5 = (int *)(lVar1 + 0x28);\n      while (lVar3 = lVar3 + 1, lVar3 != lVar4) {\n        iVar2 = *piVar5;\n        piVar5 = piVar5 + 6;\n        if (param_2 == iVar2) {\n          return (int)lVar3 * iVar6;\n        }\n      }\n      iVar2 = -1;\n    }" (else "else") (compound_statement "{\n      lVar3 = 0;\n      piVar5 = (int *)(lVar1 + 0x28);\n      while (lVar3 = lVar3 + 1, lVar3 != lVar4) {\n        iVar2 = *piVar5;\n        piVar5 = piVar5 + 6;\n        if (param_2 == iVar2) {\n          return (int)lVar3 * iVar6;\n        }\n      }\n      iVar2 = -1;\n    }" ({ "{") (expression_statement "lVar3 = 0;" (assignment_expression "lVar3 = 0" (identifier "lVar3") (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar5 = (int *)(lVar1 + 0x28);" (assignment_expression "piVar5 = (int *)(lVar1 + 0x28)" (identifier "piVar5") (= "=") (cast_expression "(int *)(lVar1 + 0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x28)" (( "(") (binary_expression "lVar1 + 0x28" (identifier "lVar1") (+ "+") (number_literal "0x28")) () ")")))) (; ";")) (while_statement "while (lVar3 = lVar3 + 1, lVar3 != lVar4) {\n        iVar2 = *piVar5;\n        piVar5 = piVar5 + 6;\n        if (param_2 == iVar2) {\n          return (int)lVar3 * iVar6;\n        }\n      }" (while "while") (parenthesized_expression "(lVar3 = lVar3 + 1, lVar3 != lVar4)" (( "(") (comma_expression "lVar3 = lVar3 + 1, lVar3 != lVar4" (assignment_expression "lVar3 = lVar3 + 1" (identifier "lVar3") (= "=") (binary_expression "lVar3 + 1" (identifier "lVar3") (+ "+") (number_literal "1"))) (, ",") (binary_expression "lVar3 != lVar4" (identifier "lVar3") (!= "!=") (identifier "lVar4"))) () ")")) (compound_statement "{\n        iVar2 = *piVar5;\n        piVar5 = piVar5 + 6;\n        if (param_2 == iVar2) {\n          return (int)lVar3 * iVar6;\n        }\n      }" ({ "{") (expression_statement "iVar2 = *piVar5;" (assignment_expression "iVar2 = *piVar5" (identifier "iVar2") (= "=") (pointer_expression "*piVar5" (* "*") (identifier "piVar5"))) (; ";")) (expression_statement "piVar5 = piVar5 + 6;" (assignment_expression "piVar5 = piVar5 + 6" (identifier "piVar5") (= "=") (binary_expression "piVar5 + 6" (identifier "piVar5") (+ "+") (number_literal "6"))) (; ";")) (if_statement "if (param_2 == iVar2) {\n          return (int)lVar3 * iVar6;\n        }" (if "if") (parenthesized_expression "(param_2 == iVar2)" (( "(") (binary_expression "param_2 == iVar2" (identifier "param_2") (== "==") (identifier "iVar2")) () ")")) (compound_statement "{\n          return (int)lVar3 * iVar6;\n        }" ({ "{") (return_statement "return (int)lVar3 * iVar6;" (return "return") (binary_expression "(int)lVar3 * iVar6" (cast_expression "(int)lVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "lVar3")) (* "*") (identifier "iVar6")) (; ";")) (} "}"))) (} "}"))) (expression_statement "iVar2 = -1;" (assignment_expression "iVar2 = -1" (identifier "iVar2") (= "=") (number_literal "-1")) (; ";")) (} "}")))) (} "}"))) (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}")))

/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: uint get_entry_offset(Output_data_dynamic * this, DT tag) */

type_1 __thiscall gold::type_2::function_1(type_2 *this,type_3 var_6)

{
  type_3 var_9;
  type_4 pDVar2;
  type_1 uVar3;
  long var_7;
  long var_5;
  type_3 *var_8;
  int var_2;
  
  if (parameters->target_ == (type_5 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_1("../../gold/parameters.h",0x69,"target");
  }
  var_2 = **(int **)(parameters->target_ + 8);
  if (var_2 == 0x20) {
    var_2 = 8;
  }
  else {
    if (var_2 != 0x40) {
                    /* WARNING: Subroutine does not return */
      var_1("../../gold/output.cc",0x775,"get_entry_offset");
    }
    var_2 = 0x10;
  }
  pDVar2 = (this->entries_).
           super__Vector_base<gold::Output_data_dynamic::var_3,_std::allocator<gold::Output_data_dynamic::var_3>var_4>
           ._M_impl._M_start;
  var_5 = ((long)(this->entries_).
                 super__Vector_base<gold::type_2::var_3,_std::allocator<gold::type_2::var_3>var_4>
                 ._M_impl._M_finish - (long)pDVar2 >> 3) * -0x5555555555555555;
  uVar3 = 0xffffffff;
  if (var_5 != 0) {
    if (var_6 == pDVar2->tag_) {
      uVar3 = 0;
    }
    else {
      var_7 = 0;
      var_8 = &pDVar2[1].tag_;
      while (var_7 = var_7 + 1, var_7 != var_5) {
        var_9 = *var_8;
        var_8 = var_8 + 6;
        if (var_6 == var_9) {
          return (int)var_7 * var_2;
        }
      }
      uVar3 = 0xffffffff;
    }
  }
  return uVar3;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) 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))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (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))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)) right: (number_literal))) right: (number_literal)))) (expression_statement (assignment_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: (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))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (while_statement condition: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (binary_expression left: (identifier) right: (identifier)))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (return_statement (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))))) (return_statement (identifier)))))

int MASKED(long param_1,int param_2)

{
  long lVar1;
  int iVar2;
  long lVar3;
  long lVar4;
  int *piVar5;
  int iVar6;
  
  if (*(long *)(PTR_DAT_003be6b0 + 0x18) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_0016cdf0("../../gold/parameters.h",0x69,"target");
  }
  iVar6 = **(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8);
  if (iVar6 == 0x20) {
    iVar6 = 8;
  }
  else {
    if (iVar6 != 0x40) {
                    /* WARNING: Subroutine does not return */
      FUN_0016cdf0("../../gold/output.cc",0x775,"get_entry_offset");
    }
    iVar6 = 0x10;
  }
  lVar1 = *(long *)(param_1 + 0x38);
  lVar4 = (*(long *)(param_1 + 0x40) - lVar1 >> 3) * -0x5555555555555555;
  iVar2 = -1;
  if (lVar4 != 0) {
    if (param_2 == *(int *)(lVar1 + 0x10)) {
      iVar2 = 0;
    }
    else {
      lVar3 = 0;
      piVar5 = (int *)(lVar1 + 0x28);
      while (lVar3 = lVar3 + 1, lVar3 != lVar4) {
        iVar2 = *piVar5;
        piVar5 = piVar5 + 6;
        if (param_2 == iVar2) {
          return (int)lVar3 * iVar6;
        }
      }
      iVar2 = -1;
    }
  }
  return iVar2;
}

