
/* DWARF original prototype: void do_set_local_got_offset(Sized_relobj<32,_false> * this, uint
   symndx, uint got_type, uint got_offset, uint64_t addend) */

void __thiscall
gold::Sized_relobj<32,_false>::do_set_local_got_offset
          (Sized_relobj<32,_false> *this,uint symndx,uint got_type,uint got_offset,uint64_t addend)

{
  uint *puVar1;
  undefined8 uVar2;
  iterator iVar3;
  uint *puVar4;
  uint uVar5;
  pair<std::__detail::_Node_iterator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_false,_true>,_bool>
  pVar6;
  Local_got_entry_key key;
  uint local_38 [2];
  uint64_t local_30;
  uint *local_28;
  
  key.symndx_ = symndx;
  key.addend_ = addend;
  iVar3 = std::
          _Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>
          ::find((_Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>
                  *)&this->local_got_offsets_,&key);
  if (iVar3.
      super__Node_iterator_base<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_true>
      ._M_cur == (__node_type *)0x0) {
    local_28 = (uint *)operator_new(0x10);
    *local_28 = got_type;
    local_28[1] = got_offset;
    local_28[2] = 0;
    local_28[3] = 0;
    local_38[0] = key.symndx_;
    local_30 = key.addend_;
    pVar6 = std::
            _Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>
            ::_M_emplace<std::pair<gold::Local_got_entry_key,_gold::Got_offset_list*>_>
                      ((_Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>
                        *)&this->local_got_offsets_,local_38);
    if (pVar6.second == false) {
                    /* WARNING: Subroutine does not return */
      do_gold_unreachable("../../gold/object.h",0x852,"do_set_local_got_offset");
    }
  }
  else {
    puVar1 = *(uint **)((long)iVar3.
                              super__Node_iterator_base<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_true>
                              ._M_cur + 0x18);
    uVar5 = *puVar1;
    puVar4 = puVar1;
    if (uVar5 != 0xffffffff) {
      while( true ) {
        if (got_type == uVar5) {
          puVar4[1] = got_offset;
          return;
        }
        puVar4 = *(uint **)(puVar4 + 2);
        if (puVar4 == (uint *)0x0) break;
        uVar5 = *puVar4;
      }
      puVar4 = (uint *)operator_new(0x10);
      uVar2 = *(undefined8 *)(puVar1 + 2);
      *puVar4 = got_type;
      puVar4[1] = got_offset;
      *(undefined8 *)(puVar4 + 2) = uVar2;
      *(uint **)(puVar1 + 2) = puVar4;
      return;
    }
    *puVar1 = got_type;
    puVar1[1] = got_offset;
  }
  return;
}



void FUN_0016a6c0(long param_1,undefined4 param_2,int param_3,int param_4,undefined8 param_5)

{
  int iVar1;
  int *piVar2;
  undefined8 uVar3;
  long lVar4;
  int *piVar5;
  char extraout_DL;
  undefined4 local_48 [2];
  undefined8 local_40;
  undefined4 local_38 [2];
  undefined8 local_30;
  int *local_28;
  
  local_48[0] = param_2;
  local_40 = param_5;
  lVar4 = FUN_00169db0(param_1 + 0xa8,local_48);
  if (lVar4 == 0) {
    local_28 = (int *)FUN_002d9490(0x10);
    *local_28 = param_3;
    local_28[1] = param_4;
    local_28[2] = 0;
    local_28[3] = 0;
    local_38[0] = local_48[0];
    local_30 = local_40;
    FUN_0016a3f0(param_1 + 0xa8,local_38);
    if (extraout_DL == '\0') {
                    /* WARNING: Subroutine does not return */
      FUN_0017c650("../../gold/object.h",0x852,"do_set_local_got_offset");
    }
  }
  else {
    piVar2 = *(int **)(lVar4 + 0x18);
    iVar1 = *piVar2;
    piVar5 = piVar2;
    if (iVar1 != -1) {
      while( true ) {
        if (param_3 == iVar1) {
          piVar5[1] = param_4;
          return;
        }
        piVar5 = *(int **)(piVar5 + 2);
        if (piVar5 == (int *)0x0) break;
        iVar1 = *piVar5;
      }
      piVar5 = (int *)FUN_002d9490(0x10);
      uVar3 = *(undefined8 *)(piVar2 + 2);
      *piVar5 = param_3;
      piVar5[1] = param_4;
      *(undefined8 *)(piVar5 + 2) = uVar3;
      *(int **)(piVar2 + 2) = piVar5;
      return;
    }
    *piVar2 = param_3;
    piVar2[1] = param_4;
  }
  return;
}


PUSH R12
MOV R12D,ECX
PUSH RBP
MOV EBP,EDX
PUSH RBX
LEA RBX,[RDI + 0xa8]
MOV RDI,RBX
SUB RSP,0x30
MOV dword ptr [RSP],ESI
MOV RSI,RSP
MOV qword ptr [RSP + 0x8],R8
CALL 0x00169db0
TEST RAX,RAX
JZ 0x0016a750
MOV RBX,qword ptr [RAX + 0x18]
MOV ECX,dword ptr [RBX]
MOV RAX,RBX
CMP ECX,-0x1
JNZ 0x0016a712
MOV dword ptr [RBX],EBP
MOV dword ptr [RBX + 0x4],R12D
ADD RSP,0x30
POP RBX
POP RBP
POP R12
RET
MOV ECX,dword ptr [RAX]
CMP EBP,ECX
JZ 0x0016a7b0
MOV RAX,qword ptr [RAX + 0x8]
TEST RAX,RAX
JNZ 0x0016a710
MOV EDI,0x10
CALL 0x002d9490
MOV RDX,qword ptr [RBX + 0x8]
MOV dword ptr [RAX],EBP
MOV dword ptr [RAX + 0x4],R12D
MOV qword ptr [RAX + 0x8],RDX
MOV qword ptr [RBX + 0x8],RAX
ADD RSP,0x30
POP RBX
POP RBP
POP R12
RET
MOV EDI,0x10
CALL 0x002d9490
MOV EDX,dword ptr [RSP]
LEA RSI,[RSP + 0x10]
MOV RDI,RBX
MOV dword ptr [RAX],EBP
MOV dword ptr [RAX + 0x4],R12D
MOV qword ptr [RAX + 0x8],0x0
MOV dword ptr [RSP + 0x10],EDX
MOV RDX,qword ptr [RSP + 0x8]
MOV qword ptr [RSP + 0x20],RAX
MOV qword ptr [RSP + 0x18],RDX
CALL 0x0016a3f0
TEST DL,DL
JNZ 0x0016a700
LEA RDX,[0x36c210]
MOV ESI,0x852
LEA RDI,[0x36b016]
CALL 0x0017c650
MOV dword ptr [RAX + 0x4],R12D
ADD RSP,0x30
POP RBX
POP RBP
POP R12
RET
(translation_unit "void FUN_0016a6c0(long param_1,undefined4 param_2,int param_3,int param_4,undefined8 param_5)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined8 uVar3;\n  long lVar4;\n  int *piVar5;\n  char extraout_DL;\n  undefined4 local_48 [2];\n  undefined8 local_40;\n  undefined4 local_38 [2];\n  undefined8 local_30;\n  int *local_28;\n  \n  local_48[0] = param_2;\n  local_40 = param_5;\n  lVar4 = FUN_00169db0(param_1 + 0xa8,local_48);\n  if (lVar4 == 0) {\n    local_28 = (int *)FUN_002d9490(0x10);\n    *local_28 = param_3;\n    local_28[1] = param_4;\n    local_28[2] = 0;\n    local_28[3] = 0;\n    local_38[0] = local_48[0];\n    local_30 = local_40;\n    FUN_0016a3f0(param_1 + 0xa8,local_38);\n    if (extraout_DL == '\0') {\n                    /* WARNING: Subroutine does not return */\n      FUN_0017c650("../../gold/object.h",0x852,"do_set_local_got_offset");\n    }\n  }\n  else {\n    piVar2 = *(int **)(lVar4 + 0x18);\n    iVar1 = *piVar2;\n    piVar5 = piVar2;\n    if (iVar1 != -1) {\n      while( true ) {\n        if (param_3 == iVar1) {\n          piVar5[1] = param_4;\n          return;\n        }\n        piVar5 = *(int **)(piVar5 + 2);\n        if (piVar5 == (int *)0x0) break;\n        iVar1 = *piVar5;\n      }\n      piVar5 = (int *)FUN_002d9490(0x10);\n      uVar3 = *(undefined8 *)(piVar2 + 2);\n      *piVar5 = param_3;\n      piVar5[1] = param_4;\n      *(undefined8 *)(piVar5 + 2) = uVar3;\n      *(int **)(piVar2 + 2) = piVar5;\n      return;\n    }\n    *piVar2 = param_3;\n    piVar2[1] = param_4;\n  }\n  return;\n}\n\n" (function_definition "void FUN_0016a6c0(long param_1,undefined4 param_2,int param_3,int param_4,undefined8 param_5)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined8 uVar3;\n  long lVar4;\n  int *piVar5;\n  char extraout_DL;\n  undefined4 local_48 [2];\n  undefined8 local_40;\n  undefined4 local_38 [2];\n  undefined8 local_30;\n  int *local_28;\n  \n  local_48[0] = param_2;\n  local_40 = param_5;\n  lVar4 = FUN_00169db0(param_1 + 0xa8,local_48);\n  if (lVar4 == 0) {\n    local_28 = (int *)FUN_002d9490(0x10);\n    *local_28 = param_3;\n    local_28[1] = param_4;\n    local_28[2] = 0;\n    local_28[3] = 0;\n    local_38[0] = local_48[0];\n    local_30 = local_40;\n    FUN_0016a3f0(param_1 + 0xa8,local_38);\n    if (extraout_DL == '\0') {\n                    /* WARNING: Subroutine does not return */\n      FUN_0017c650("../../gold/object.h",0x852,"do_set_local_got_offset");\n    }\n  }\n  else {\n    piVar2 = *(int **)(lVar4 + 0x18);\n    iVar1 = *piVar2;\n    piVar5 = piVar2;\n    if (iVar1 != -1) {\n      while( true ) {\n        if (param_3 == iVar1) {\n          piVar5[1] = param_4;\n          return;\n        }\n        piVar5 = *(int **)(piVar5 + 2);\n        if (piVar5 == (int *)0x0) break;\n        iVar1 = *piVar5;\n      }\n      piVar5 = (int *)FUN_002d9490(0x10);\n      uVar3 = *(undefined8 *)(piVar2 + 2);\n      *piVar5 = param_3;\n      piVar5[1] = param_4;\n      *(undefined8 *)(piVar5 + 2) = uVar3;\n      *(int **)(piVar2 + 2) = piVar5;\n      return;\n    }\n    *piVar2 = param_3;\n    piVar2[1] = param_4;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0016a6c0(long param_1,undefined4 param_2,int param_3,int param_4,undefined8 param_5)" identifier (parameter_list "(long param_1,undefined4 param_2,int param_3,int param_4,undefined8 param_5)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "undefined8 param_5" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  undefined8 uVar3;\n  long lVar4;\n  int *piVar5;\n  char extraout_DL;\n  undefined4 local_48 [2];\n  undefined8 local_40;\n  undefined4 local_38 [2];\n  undefined8 local_30;\n  int *local_28;\n  \n  local_48[0] = param_2;\n  local_40 = param_5;\n  lVar4 = FUN_00169db0(param_1 + 0xa8,local_48);\n  if (lVar4 == 0) {\n    local_28 = (int *)FUN_002d9490(0x10);\n    *local_28 = param_3;\n    local_28[1] = param_4;\n    local_28[2] = 0;\n    local_28[3] = 0;\n    local_38[0] = local_48[0];\n    local_30 = local_40;\n    FUN_0016a3f0(param_1 + 0xa8,local_38);\n    if (extraout_DL == '\0') {\n                    /* WARNING: Subroutine does not return */\n      FUN_0017c650("../../gold/object.h",0x852,"do_set_local_got_offset");\n    }\n  }\n  else {\n    piVar2 = *(int **)(lVar4 + 0x18);\n    iVar1 = *piVar2;\n    piVar5 = piVar2;\n    if (iVar1 != -1) {\n      while( true ) {\n        if (param_3 == iVar1) {\n          piVar5[1] = param_4;\n          return;\n        }\n        piVar5 = *(int **)(piVar5 + 2);\n        if (piVar5 == (int *)0x0) break;\n        iVar1 = *piVar5;\n      }\n      piVar5 = (int *)FUN_002d9490(0x10);\n      uVar3 = *(undefined8 *)(piVar2 + 2);\n      *piVar5 = param_3;\n      piVar5[1] = param_4;\n      *(undefined8 *)(piVar5 + 2) = uVar3;\n      *(int **)(piVar2 + 2) = piVar5;\n      return;\n    }\n    *piVar2 = param_3;\n    piVar2[1] = param_4;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "char extraout_DL;" primitive_type identifier ;) (declaration "undefined4 local_48 [2];" type_identifier (array_declarator "local_48 [2]" identifier [ number_literal ]) ;) (declaration "undefined8 local_40;" type_identifier identifier ;) (declaration "undefined4 local_38 [2];" type_identifier (array_declarator "local_38 [2]" identifier [ number_literal ]) ;) (declaration "undefined8 local_30;" type_identifier identifier ;) (declaration "int *local_28;" primitive_type (pointer_declarator "*local_28" * identifier) ;) (expression_statement "local_48[0] = param_2;" (assignment_expression "local_48[0] = param_2" (subscript_expression "local_48[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "local_40 = param_5;" (assignment_expression "local_40 = param_5" identifier = identifier) ;) (expression_statement "lVar4 = FUN_00169db0(param_1 + 0xa8,local_48);" (assignment_expression "lVar4 = FUN_00169db0(param_1 + 0xa8,local_48)" identifier = (call_expression "FUN_00169db0(param_1 + 0xa8,local_48)" identifier (argument_list "(param_1 + 0xa8,local_48)" ( (binary_expression "param_1 + 0xa8" identifier + number_literal) , identifier )))) ;) (if_statement "if (lVar4 == 0) {\n    local_28 = (int *)FUN_002d9490(0x10);\n    *local_28 = param_3;\n    local_28[1] = param_4;\n    local_28[2] = 0;\n    local_28[3] = 0;\n    local_38[0] = local_48[0];\n    local_30 = local_40;\n    FUN_0016a3f0(param_1 + 0xa8,local_38);\n    if (extraout_DL == '\0') {\n                    /* WARNING: Subroutine does not return */\n      FUN_0017c650("../../gold/object.h",0x852,"do_set_local_got_offset");\n    }\n  }\n  else {\n    piVar2 = *(int **)(lVar4 + 0x18);\n    iVar1 = *piVar2;\n    piVar5 = piVar2;\n    if (iVar1 != -1) {\n      while( true ) {\n        if (param_3 == iVar1) {\n          piVar5[1] = param_4;\n          return;\n        }\n        piVar5 = *(int **)(piVar5 + 2);\n        if (piVar5 == (int *)0x0) break;\n        iVar1 = *piVar5;\n      }\n      piVar5 = (int *)FUN_002d9490(0x10);\n      uVar3 = *(undefined8 *)(piVar2 + 2);\n      *piVar5 = param_3;\n      piVar5[1] = param_4;\n      *(undefined8 *)(piVar5 + 2) = uVar3;\n      *(int **)(piVar2 + 2) = piVar5;\n      return;\n    }\n    *piVar2 = param_3;\n    piVar2[1] = param_4;\n  }" if (parenthesized_expression "(lVar4 == 0)" ( (binary_expression "lVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    local_28 = (int *)FUN_002d9490(0x10);\n    *local_28 = param_3;\n    local_28[1] = param_4;\n    local_28[2] = 0;\n    local_28[3] = 0;\n    local_38[0] = local_48[0];\n    local_30 = local_40;\n    FUN_0016a3f0(param_1 + 0xa8,local_38);\n    if (extraout_DL == '\0') {\n                    /* WARNING: Subroutine does not return */\n      FUN_0017c650("../../gold/object.h",0x852,"do_set_local_got_offset");\n    }\n  }" { (expression_statement "local_28 = (int *)FUN_002d9490(0x10);" (assignment_expression "local_28 = (int *)FUN_002d9490(0x10)" identifier = (cast_expression "(int *)FUN_002d9490(0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_002d9490(0x10)" identifier (argument_list "(0x10)" ( number_literal ))))) ;) (expression_statement "*local_28 = param_3;" (assignment_expression "*local_28 = param_3" (pointer_expression "*local_28" * identifier) = identifier) ;) (expression_statement "local_28[1] = param_4;" (assignment_expression "local_28[1] = param_4" (subscript_expression "local_28[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "local_28[2] = 0;" (assignment_expression "local_28[2] = 0" (subscript_expression "local_28[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_28[3] = 0;" (assignment_expression "local_28[3] = 0" (subscript_expression "local_28[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_38[0] = local_48[0];" (assignment_expression "local_38[0] = local_48[0]" (subscript_expression "local_38[0]" identifier [ number_literal ]) = (subscript_expression "local_48[0]" identifier [ number_literal ])) ;) (expression_statement "local_30 = local_40;" (assignment_expression "local_30 = local_40" identifier = identifier) ;) (expression_statement "FUN_0016a3f0(param_1 + 0xa8,local_38);" (call_expression "FUN_0016a3f0(param_1 + 0xa8,local_38)" identifier (argument_list "(param_1 + 0xa8,local_38)" ( (binary_expression "param_1 + 0xa8" identifier + number_literal) , identifier ))) ;) (if_statement "if (extraout_DL == '\0') {\n                    /* WARNING: Subroutine does not return */\n      FUN_0017c650("../../gold/object.h",0x852,"do_set_local_got_offset");\n    }" if (parenthesized_expression "(extraout_DL == '\0')" ( (binary_expression "extraout_DL == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_0017c650("../../gold/object.h",0x852,"do_set_local_got_offset");\n    }" { comment (expression_statement "FUN_0017c650("../../gold/object.h",0x852,"do_set_local_got_offset");" (call_expression "FUN_0017c650("../../gold/object.h",0x852,"do_set_local_got_offset")" identifier (argument_list "("../../gold/object.h",0x852,"do_set_local_got_offset")" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""do_set_local_got_offset"" " string_content ") ))) ;) })) }) (else_clause "else {\n    piVar2 = *(int **)(lVar4 + 0x18);\n    iVar1 = *piVar2;\n    piVar5 = piVar2;\n    if (iVar1 != -1) {\n      while( true ) {\n        if (param_3 == iVar1) {\n          piVar5[1] = param_4;\n          return;\n        }\n        piVar5 = *(int **)(piVar5 + 2);\n        if (piVar5 == (int *)0x0) break;\n        iVar1 = *piVar5;\n      }\n      piVar5 = (int *)FUN_002d9490(0x10);\n      uVar3 = *(undefined8 *)(piVar2 + 2);\n      *piVar5 = param_3;\n      piVar5[1] = param_4;\n      *(undefined8 *)(piVar5 + 2) = uVar3;\n      *(int **)(piVar2 + 2) = piVar5;\n      return;\n    }\n    *piVar2 = param_3;\n    piVar2[1] = param_4;\n  }" else (compound_statement "{\n    piVar2 = *(int **)(lVar4 + 0x18);\n    iVar1 = *piVar2;\n    piVar5 = piVar2;\n    if (iVar1 != -1) {\n      while( true ) {\n        if (param_3 == iVar1) {\n          piVar5[1] = param_4;\n          return;\n        }\n        piVar5 = *(int **)(piVar5 + 2);\n        if (piVar5 == (int *)0x0) break;\n        iVar1 = *piVar5;\n      }\n      piVar5 = (int *)FUN_002d9490(0x10);\n      uVar3 = *(undefined8 *)(piVar2 + 2);\n      *piVar5 = param_3;\n      piVar5[1] = param_4;\n      *(undefined8 *)(piVar5 + 2) = uVar3;\n      *(int **)(piVar2 + 2) = piVar5;\n      return;\n    }\n    *piVar2 = param_3;\n    piVar2[1] = param_4;\n  }" { (expression_statement "piVar2 = *(int **)(lVar4 + 0x18);" (assignment_expression "piVar2 = *(int **)(lVar4 + 0x18)" identifier = (pointer_expression "*(int **)(lVar4 + 0x18)" * (cast_expression "(int **)(lVar4 + 0x18)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar4 + 0x18)" ( (binary_expression "lVar4 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) (expression_statement "piVar5 = piVar2;" (assignment_expression "piVar5 = piVar2" identifier = identifier) ;) (if_statement "if (iVar1 != -1) {\n      while( true ) {\n        if (param_3 == iVar1) {\n          piVar5[1] = param_4;\n          return;\n        }\n        piVar5 = *(int **)(piVar5 + 2);\n        if (piVar5 == (int *)0x0) break;\n        iVar1 = *piVar5;\n      }\n      piVar5 = (int *)FUN_002d9490(0x10);\n      uVar3 = *(undefined8 *)(piVar2 + 2);\n      *piVar5 = param_3;\n      piVar5[1] = param_4;\n      *(undefined8 *)(piVar5 + 2) = uVar3;\n      *(int **)(piVar2 + 2) = piVar5;\n      return;\n    }" if (parenthesized_expression "(iVar1 != -1)" ( (binary_expression "iVar1 != -1" identifier != number_literal) )) (compound_statement "{\n      while( true ) {\n        if (param_3 == iVar1) {\n          piVar5[1] = param_4;\n          return;\n        }\n        piVar5 = *(int **)(piVar5 + 2);\n        if (piVar5 == (int *)0x0) break;\n        iVar1 = *piVar5;\n      }\n      piVar5 = (int *)FUN_002d9490(0x10);\n      uVar3 = *(undefined8 *)(piVar2 + 2);\n      *piVar5 = param_3;\n      piVar5[1] = param_4;\n      *(undefined8 *)(piVar5 + 2) = uVar3;\n      *(int **)(piVar2 + 2) = piVar5;\n      return;\n    }" { (while_statement "while( true ) {\n        if (param_3 == iVar1) {\n          piVar5[1] = param_4;\n          return;\n        }\n        piVar5 = *(int **)(piVar5 + 2);\n        if (piVar5 == (int *)0x0) break;\n        iVar1 = *piVar5;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        if (param_3 == iVar1) {\n          piVar5[1] = param_4;\n          return;\n        }\n        piVar5 = *(int **)(piVar5 + 2);\n        if (piVar5 == (int *)0x0) break;\n        iVar1 = *piVar5;\n      }" { (if_statement "if (param_3 == iVar1) {\n          piVar5[1] = param_4;\n          return;\n        }" if (parenthesized_expression "(param_3 == iVar1)" ( (binary_expression "param_3 == iVar1" identifier == identifier) )) (compound_statement "{\n          piVar5[1] = param_4;\n          return;\n        }" { (expression_statement "piVar5[1] = param_4;" (assignment_expression "piVar5[1] = param_4" (subscript_expression "piVar5[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "piVar5 = *(int **)(piVar5 + 2);" (assignment_expression "piVar5 = *(int **)(piVar5 + 2)" identifier = (pointer_expression "*(int **)(piVar5 + 2)" * (cast_expression "(int **)(piVar5 + 2)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar5 + 2)" ( (binary_expression "piVar5 + 2" identifier + number_literal) ))))) ;) (if_statement "if (piVar5 == (int *)0x0) break;" if (parenthesized_expression "(piVar5 == (int *)0x0)" ( (binary_expression "piVar5 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "iVar1 = *piVar5;" (assignment_expression "iVar1 = *piVar5" identifier = (pointer_expression "*piVar5" * identifier)) ;) })) (expression_statement "piVar5 = (int *)FUN_002d9490(0x10);" (assignment_expression "piVar5 = (int *)FUN_002d9490(0x10)" identifier = (cast_expression "(int *)FUN_002d9490(0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_002d9490(0x10)" identifier (argument_list "(0x10)" ( number_literal ))))) ;) (expression_statement "uVar3 = *(undefined8 *)(piVar2 + 2);" (assignment_expression "uVar3 = *(undefined8 *)(piVar2 + 2)" identifier = (pointer_expression "*(undefined8 *)(piVar2 + 2)" * (cast_expression "(undefined8 *)(piVar2 + 2)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 2)" ( (binary_expression "piVar2 + 2" identifier + number_literal) ))))) ;) (expression_statement "*piVar5 = param_3;" (assignment_expression "*piVar5 = param_3" (pointer_expression "*piVar5" * identifier) = identifier) ;) (expression_statement "piVar5[1] = param_4;" (assignment_expression "piVar5[1] = param_4" (subscript_expression "piVar5[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined8 *)(piVar5 + 2) = uVar3;" (assignment_expression "*(undefined8 *)(piVar5 + 2) = uVar3" (pointer_expression "*(undefined8 *)(piVar5 + 2)" * (cast_expression "(undefined8 *)(piVar5 + 2)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar5 + 2)" ( (binary_expression "piVar5 + 2" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int **)(piVar2 + 2) = piVar5;" (assignment_expression "*(int **)(piVar2 + 2) = piVar5" (pointer_expression "*(int **)(piVar2 + 2)" * (cast_expression "(int **)(piVar2 + 2)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar2 + 2)" ( (binary_expression "piVar2 + 2" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "*piVar2 = param_3;" (assignment_expression "*piVar2 = param_3" (pointer_expression "*piVar2" * identifier) = identifier) ;) (expression_statement "piVar2[1] = param_4;" (assignment_expression "piVar2[1] = param_4" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = identifier) ;) }))) (return_statement "return;" return ;) })))
(translation_unit "/* DWARF original prototype: void do_set_local_got_offset(Sized_relobj<32,_false> * this, uint\n   symndx, uint got_type, uint got_offset, uint64_t addend) */\n\nvoid __thiscall\ngold::Sized_relobj<32,_false>::do_set_local_got_offset\n          (Sized_relobj<32,_false> *this,uint symndx,uint got_type,uint got_offset,uint64_t addend)\n\n{\n  uint *puVar1;\n  undefined8 uVar2;\n  iterator iVar3;\n  uint *puVar4;\n  uint uVar5;\n  pair<std::__detail::_Node_iterator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_false,_true>,_bool>\n  pVar6;\n  Local_got_entry_key key;\n  uint local_38 [2];\n  uint64_t local_30;\n  uint *local_28;\n  \n  key.symndx_ = symndx;\n  key.addend_ = addend;\n  iVar3 = std::\n          _Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n          ::find((_Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n                  *)&this->local_got_offsets_,&key);\n  if (iVar3.\n      super__Node_iterator_base<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_true>\n      ._M_cur == (__node_type *)0x0) {\n    local_28 = (uint *)operator_new(0x10);\n    *local_28 = got_type;\n    local_28[1] = got_offset;\n    local_28[2] = 0;\n    local_28[3] = 0;\n    local_38[0] = key.symndx_;\n    local_30 = key.addend_;\n    pVar6 = std::\n            _Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n            ::_M_emplace<std::pair<gold::Local_got_entry_key,_gold::Got_offset_list*>_>\n                      ((_Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n                        *)&this->local_got_offsets_,local_38);\n    if (pVar6.second == false) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/object.h",0x852,"do_set_local_got_offset");\n    }\n  }\n  else {\n    puVar1 = *(uint **)((long)iVar3.\n                              super__Node_iterator_base<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_true>\n                              ._M_cur + 0x18);\n    uVar5 = *puVar1;\n    puVar4 = puVar1;\n    if (uVar5 != 0xffffffff) {\n      while( true ) {\n        if (got_type == uVar5) {\n          puVar4[1] = got_offset;\n          return;\n        }\n        puVar4 = *(uint **)(puVar4 + 2);\n        if (puVar4 == (uint *)0x0) break;\n        uVar5 = *puVar4;\n      }\n      puVar4 = (uint *)operator_new(0x10);\n      uVar2 = *(undefined8 *)(puVar1 + 2);\n      *puVar4 = got_type;\n      puVar4[1] = got_offset;\n      *(undefined8 *)(puVar4 + 2) = uVar2;\n      *(uint **)(puVar1 + 2) = puVar4;\n      return;\n    }\n    *puVar1 = got_type;\n    puVar1[1] = got_offset;\n  }\n  return;\n}\n\n" comment (declaration "void __thiscall\ngold::Sized_relobj<32,_false>::do_set_local_got_offset\n          (Sized_relobj<32,_false> *this,uint symndx,uint got_type,uint got_offset,uint64_t addend)\n\n{\n  uint *puVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<32" < number_literal) , (ERROR "_false>::do_set_local_got_offset\n          (Sized_relobj<32,_false> *this,uint symndx,uint got_type,uint got_offset,uint64_t addend)\n\n{\n  uint" identifier > : : (function_declarator "do_set_local_got_offset\n          (Sized_relobj<32,_false> *this,uint symndx,uint got_type,uint got_offset,uint64_t addend)" identifier (parameter_list "(Sized_relobj<32,_false> *this,uint symndx,uint got_type,uint got_offset,uint64_t addend)" ( (parameter_declaration "Sized_relobj" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "_false> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint symndx" type_identifier identifier) , (parameter_declaration "uint got_type" type_identifier identifier) , (parameter_declaration "uint got_offset" type_identifier identifier) , (parameter_declaration "uint64_t addend" primitive_type identifier) ))) { identifier) (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "iterator iVar3;" type_identifier identifier ;) (declaration "uint *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (ERROR "pair<std::" (binary_expression "pair<std" identifier < identifier) : :) (labeled_statement "__detail::_Node_iterator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_false,_true>,_bool>\n  pVar6;" statement_identifier (ERROR "::_Node_iterator<std::pair<const_gold::Local_got_entry_key,_gold:" : : (binary_expression "_Node_iterator<std" identifier < identifier) : : (binary_expression "pair<const_gold" identifier < identifier) : : (comma_expression "Local_got_entry_key,_gold" identifier , identifier) :) : (expression_statement "Got_offset_list*>,_false,_true>,_bool>\n  pVar6;" (comma_expression "Got_offset_list*>,_false,_true>,_bool>\n  pVar6" (binary_expression "Got_offset_list*>,_false" identifier * (ERROR ">," > ,) identifier) , (binary_expression "_true>,_bool>\n  pVar6" (binary_expression "_true>,_bool" identifier > (ERROR "," ,) identifier) > identifier)) ;)) (declaration "Local_got_entry_key key;" type_identifier identifier ;) (declaration "uint local_38 [2];" type_identifier (array_declarator "local_38 [2]" identifier [ number_literal ]) ;) (declaration "uint64_t local_30;" primitive_type identifier ;) (declaration "uint *local_28;" type_identifier (pointer_declarator "*local_28" * identifier) ;) (expression_statement "key.symndx_ = symndx;" (assignment_expression "key.symndx_ = symndx" (field_expression "key.symndx_" identifier . field_identifier) = identifier) ;) (expression_statement "key.addend_ = addend;" (assignment_expression "key.addend_ = addend" (field_expression "key.addend_" identifier . field_identifier) = identifier) ;) (ERROR "iVar3 = std::\n          _Hashtable<gold::" (assignment_expression "iVar3 = std" identifier = identifier) : : (binary_expression "_Hashtable<gold" identifier < identifier) : :) (declaration "Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n          ::find((_Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n                  *)" type_identifier (ERROR ",_std::pair<const_gold::" , identifier : : identifier < identifier : :) identifier , (ERROR "_gold::" identifier : :) identifier (ERROR "*>" * >) , (ERROR "_std::allocator<std::pair<const_gold::" identifier : : identifier < identifier : : identifier < identifier : :) identifier , (ERROR "_gold::Got_offset_list*>" identifier : : identifier * >) identifier (ERROR ">" >) , (ERROR "_std::__detail::" identifier : : identifier : :) identifier , (ERROR "_gold::Local_got_entry_key::" identifier : : identifier : :) identifier , (ERROR "_gold::Local_got_entry_key::" identifier : : identifier : :) identifier , (ERROR "_std::__detail::" identifier : : identifier : :) identifier , (ERROR "_std::__detail::" identifier : : identifier : :) identifier , (ERROR "_std::__detail::" identifier : : identifier : :) identifier , (ERROR "_std::__detail::" identifier : : identifier : :) identifier (ERROR "<true" < true) , identifier , (ERROR "_true>_>\n          ::" identifier > identifier > : :) (function_declarator "find((_Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n                  *)" identifier (ERROR "(" () (parameter_list "(_Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n                  *)" ( (parameter_declaration "_Hashtable<gold::Local_got_entry_key" type_identifier (ERROR "<gold::" < identifier : :) identifier) , (parameter_declaration "_std::pair<const_gold::Local_got_entry_key" type_identifier (ERROR "::pair<const_gold::" : : identifier < identifier : :) identifier) , (parameter_declaration "_gold::Got_offset_list" type_identifier (ERROR "::" : :) identifier) (ERROR "*>" * >) , (parameter_declaration "_std::allocator<std::pair<const_gold::Local_got_entry_key" type_identifier (ERROR "::allocator<std::pair<const_gold::" : : identifier < identifier : : identifier < identifier : :) identifier) , (parameter_declaration "_gold::Got_offset_list*>_" type_identifier (ERROR "::Got_offset_list*>" : : identifier * >) identifier) (ERROR ">" >) , (parameter_declaration "_std::__detail::_Select1st" type_identifier (ERROR "::__detail::" : : identifier : :) identifier) , (parameter_declaration "_gold::Local_got_entry_key::equal_to" type_identifier (ERROR "::Local_got_entry_key::" : : identifier : :) identifier) , (parameter_declaration "_gold::Local_got_entry_key::hash" type_identifier (ERROR "::Local_got_entry_key::" : : identifier : :) identifier) , (parameter_declaration "_std::__detail::_Mod_range_hashing" type_identifier (ERROR "::__detail::" : : identifier : :) identifier) , (parameter_declaration "_std::__detail::_Default_ranged_hash" type_identifier (ERROR "::__detail::" : : identifier : :) identifier) , (parameter_declaration "_std::__detail::_Prime_rehash_policy" type_identifier (ERROR "::__detail::" : : identifier : :) identifier) , (parameter_declaration "_std::__detail::_Hashtable_traits" type_identifier (ERROR "::__detail::" : : identifier : :) identifier) (ERROR "<true" < true) , (parameter_declaration "_false" type_identifier) , (parameter_declaration "_true>_>\n                  *" type_identifier (ERROR ">_>" > identifier >) (abstract_pointer_declarator "*" *)) ))) ;) (ERROR "&this->local_got_offsets_,&key)" (binary_expression "&this->local_got_offsets_,&key" (pointer_expression "&this->local_got_offsets_" & (field_expression "this->local_got_offsets_" identifier -> field_identifier)) (ERROR "," ,) & identifier) )) (expression_statement ";" ;) (if_statement "if (iVar3.\n      super__Node_iterator_base<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_true>\n      ._M_cur == (__node_type *)0x0) {\n    local_28 = (uint *)operator_new(0x10);\n    *local_28 = got_type;\n    local_28[1] = got_offset;\n    local_28[2] = 0;\n    local_28[3] = 0;\n    local_38[0] = key.symndx_;\n    local_30 = key.addend_;\n    pVar6 = std::\n            _Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n            ::_M_emplace<std::pair<gold::Local_got_entry_key,_gold::Got_offset_list*>_>\n                      ((_Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n                        *)&this->local_got_offsets_,local_38);\n    if (pVar6.second == false) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/object.h",0x852,"do_set_local_got_offset");\n    }\n  }\n  else {\n    puVar1 = *(uint **)((long)iVar3.\n                              super__Node_iterator_base<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_true>\n                              ._M_cur + 0x18);\n    uVar5 = *puVar1;\n    puVar4 = puVar1;\n    if (uVar5 != 0xffffffff) {\n      while( true ) {\n        if (got_type == uVar5) {\n          puVar4[1] = got_offset;\n          return;\n        }\n        puVar4 = *(uint **)(puVar4 + 2);\n        if (puVar4 == (uint *)0x0) break;\n        uVar5 = *puVar4;\n      }\n      puVar4 = (uint *)operator_new(0x10);\n      uVar2 = *(undefined8 *)(puVar1 + 2);\n      *puVar4 = got_type;\n      puVar4[1] = got_offset;\n      *(undefined8 *)(puVar4 + 2) = uVar2;\n      *(uint **)(puVar1 + 2) = puVar4;\n      return;\n    }\n    *puVar1 = got_type;\n    puVar1[1] = got_offset;\n  }" if (parenthesized_expression "(iVar3.\n      super__Node_iterator_base<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_true>\n      ._M_cur == (__node_type *)0x0)" ( (ERROR "iVar3.\n      super__Node_iterator_base<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_true>\n      ." (comma_expression "iVar3.\n      super__Node_iterator_base<std::pair<const_gold::Local_got_entry_key,_gold" (binary_expression "iVar3.\n      super__Node_iterator_base<std::pair<const_gold" (binary_expression "iVar3.\n      super__Node_iterator_base<std" (field_expression "iVar3.\n      super__Node_iterator_base" identifier . field_identifier) < identifier) (ERROR "::pair" : : identifier) < identifier) (ERROR "::Local_got_entry_key" : : identifier) , identifier) : : identifier * > , identifier > .) (binary_expression "_M_cur == (__node_type *)0x0" identifier == (cast_expression "(__node_type *)0x0" ( (type_descriptor "__node_type *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    local_28 = (uint *)operator_new(0x10);\n    *local_28 = got_type;\n    local_28[1] = got_offset;\n    local_28[2] = 0;\n    local_28[3] = 0;\n    local_38[0] = key.symndx_;\n    local_30 = key.addend_;\n    pVar6 = std::\n            _Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n            ::_M_emplace<std::pair<gold::Local_got_entry_key,_gold::Got_offset_list*>_>\n                      ((_Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n                        *)&this->local_got_offsets_,local_38);\n    if (pVar6.second == false) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/object.h",0x852,"do_set_local_got_offset");\n    }\n  }" { (expression_statement "local_28 = (uint *)operator_new(0x10);" (assignment_expression "local_28 = (uint *)operator_new(0x10)" identifier = (cast_expression "(uint *)operator_new(0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new(0x10)" identifier (argument_list "(0x10)" ( number_literal ))))) ;) (expression_statement "*local_28 = got_type;" (assignment_expression "*local_28 = got_type" (pointer_expression "*local_28" * identifier) = identifier) ;) (expression_statement "local_28[1] = got_offset;" (assignment_expression "local_28[1] = got_offset" (subscript_expression "local_28[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "local_28[2] = 0;" (assignment_expression "local_28[2] = 0" (subscript_expression "local_28[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_28[3] = 0;" (assignment_expression "local_28[3] = 0" (subscript_expression "local_28[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_38[0] = key.symndx_;" (assignment_expression "local_38[0] = key.symndx_" (subscript_expression "local_38[0]" identifier [ number_literal ]) = (field_expression "key.symndx_" identifier . field_identifier)) ;) (expression_statement "local_30 = key.addend_;" (assignment_expression "local_30 = key.addend_" identifier = (field_expression "key.addend_" identifier . field_identifier)) ;) (ERROR "pVar6 = std::\n            _Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::" (assignment_expression "pVar6 = std" identifier = identifier) : : (binary_expression "_Hashtable<gold" identifier < identifier) : : (comma_expression "Local_got_entry_key,_std" identifier , identifier) : : (binary_expression "pair<const_gold" identifier < identifier) : : (comma_expression "Local_got_entry_key,_gold" identifier , identifier) : : (comma_expression "Got_offset_list*>,_std" identifier (ERROR "*>" * >) , identifier) : : (binary_expression "allocator<std" identifier < identifier) : : (binary_expression "pair<const_gold" identifier < identifier) : : (comma_expression "Local_got_entry_key,_gold" identifier , identifier) : : (binary_expression "Got_offset_list*>_>,_std" (binary_expression "Got_offset_list*>_" identifier * (ERROR ">" >) identifier) > (ERROR "," ,) identifier) : :) (labeled_statement "__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n            ::_M_emplace<std::pair<gold::Local_got_entry_key,_gold::Got_offset_list*>_>\n                      ((_Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n                        *)&this->local_got_offsets_,local_38);" statement_identifier (ERROR "::_Select1st,_gold:" : : (comma_expression "_Select1st,_gold" identifier , identifier) :) : (labeled_statement "Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n            ::_M_emplace<std::pair<gold::Local_got_entry_key,_gold::Got_offset_list*>_>\n                      ((_Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n                        *)&this->local_got_offsets_,local_38);" statement_identifier (ERROR "::equal_to,_gold:" : : (comma_expression "equal_to,_gold" identifier , identifier) :) : (labeled_statement "Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n            ::_M_emplace<std::pair<gold::Local_got_entry_key,_gold::Got_offset_list*>_>\n                      ((_Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n                        *)&this->local_got_offsets_,local_38);" statement_identifier (ERROR "::hash,_std:" : : (comma_expression "hash,_std" identifier , identifier) :) : (labeled_statement "__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n            ::_M_emplace<std::pair<gold::Local_got_entry_key,_gold::Got_offset_list*>_>\n                      ((_Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n                        *)&this->local_got_offsets_,local_38);" statement_identifier (ERROR "::_Mod_range_hashing,_std:" : : (comma_expression "_Mod_range_hashing,_std" identifier , identifier) :) : (labeled_statement "__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n            ::_M_emplace<std::pair<gold::Local_got_entry_key,_gold::Got_offset_list*>_>\n                      ((_Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n                        *)&this->local_got_offsets_,local_38);" statement_identifier (ERROR "::_Default_ranged_hash,_std:" : : (comma_expression "_Default_ranged_hash,_std" identifier , identifier) :) : (labeled_statement "__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n            ::_M_emplace<std::pair<gold::Local_got_entry_key,_gold::Got_offset_list*>_>\n                      ((_Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n                        *)&this->local_got_offsets_,local_38);" statement_identifier (ERROR "::_Prime_rehash_policy,_std:" : : (comma_expression "_Prime_rehash_policy,_std" identifier , identifier) :) : (expression_statement "__detail::_Hashtable_traits<true,_false,_true>_>\n            ::_M_emplace<std::pair<gold::Local_got_entry_key,_gold::Got_offset_list*>_>\n                      ((_Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n                        *)&this->local_got_offsets_,local_38);" (binary_expression "__detail::_Hashtable_traits<true,_false,_true>_>\n            ::_M_emplace<std::pair<gold::Local_got_entry_key,_gold::Got_offset_list*>_>\n                      ((_Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n                        *)&this->local_got_offsets_,local_38)" (binary_expression "__detail::_Hashtable_traits<true,_false,_true>_>\n            ::_M_emplace<std::pair<gold::Local_got_entry_key,_gold::Got_offset_list*>_" identifier (ERROR "::_Hashtable_traits<true,_false,_true>_>\n            ::_M_emplace<std::pair<gold::Local_got_entry_key,_gold::Got_offset_list*" : : (comma_expression "_Hashtable_traits<true,_false,_true>_>\n            ::_M_emplace<std" (binary_expression "_Hashtable_traits<true" identifier < true) , (comma_expression "_false,_true>_>\n            ::_M_emplace<std" identifier , (binary_expression "_true>_>\n            ::_M_emplace<std" (binary_expression "_true>_>\n            ::_M_emplace" (binary_expression "_true>_" identifier > identifier) > (ERROR "::" : :) identifier) < identifier))) : : (binary_expression "pair<gold" identifier < identifier) : : (comma_expression "Local_got_entry_key,_gold" identifier , identifier) : : identifier *) > identifier) > (parenthesized_expression "((_Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n                        *)&this->local_got_offsets_,local_38)" ( (comma_expression "(_Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n                        *)&this->local_got_offsets_,local_38" (binary_expression "(_Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n                        *)&this->local_got_offsets_" (parenthesized_expression "(_Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::_Hashtable_traits<true,_false,_true>_>\n                        *)" ( (ERROR "_Hashtable<gold::Local_got_entry_key,_std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_std::allocator<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>_>,_std::__detail::_Select1st,_gold::Local_got_entry_key::equal_to,_gold::Local_got_entry_key::hash,_std::__detail::_Mod_range_hashing,_std::__detail::_Default_ranged_hash,_std::__detail::_Prime_rehash_policy,_std::__detail::" (binary_expression "_Hashtable<gold" identifier < identifier) : : (comma_expression "Local_got_entry_key,_std" identifier , identifier) : : (binary_expression "pair<const_gold" identifier < identifier) : : (comma_expression "Local_got_entry_key,_gold" identifier , identifier) : : (comma_expression "Got_offset_list*>,_std" identifier (ERROR "*>" * >) , identifier) : : (binary_expression "allocator<std" identifier < identifier) : : (binary_expression "pair<const_gold" identifier < identifier) : : (comma_expression "Local_got_entry_key,_gold" identifier , identifier) : : (binary_expression "Got_offset_list*>_>,_std" (binary_expression "Got_offset_list*>_" identifier * (ERROR ">" >) identifier) > (ERROR "," ,) identifier) : : identifier : : (comma_expression "_Select1st,_gold" identifier , identifier) : : identifier : : (comma_expression "equal_to,_gold" identifier , identifier) : : identifier : : (comma_expression "hash,_std" identifier , identifier) : : identifier : : (comma_expression "_Mod_range_hashing,_std" identifier , identifier) : : identifier : : (comma_expression "_Default_ranged_hash,_std" identifier , identifier) : : identifier : : (comma_expression "_Prime_rehash_policy,_std" identifier , identifier) : : identifier : :) (comma_expression "_Hashtable_traits<true,_false,_true>_>\n                        *" (binary_expression "_Hashtable_traits<true" identifier < true) , (comma_expression "_false,_true>_>\n                        *" identifier , (binary_expression "_true>_>\n                        *" (binary_expression "_true>_" identifier > identifier) > (pointer_expression "*" * identifier)))) )) & (field_expression "this->local_got_offsets_" identifier -> field_identifier)) , identifier) ))) ;))))))) (if_statement "if (pVar6.second == false) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/object.h",0x852,"do_set_local_got_offset");\n    }" if (parenthesized_expression "(pVar6.second == false)" ( (binary_expression "pVar6.second == false" (field_expression "pVar6.second" identifier . field_identifier) == false) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/object.h",0x852,"do_set_local_got_offset");\n    }" { comment (expression_statement "do_gold_unreachable("../../gold/object.h",0x852,"do_set_local_got_offset");" (call_expression "do_gold_unreachable("../../gold/object.h",0x852,"do_set_local_got_offset")" identifier (argument_list "("../../gold/object.h",0x852,"do_set_local_got_offset")" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""do_set_local_got_offset"" " string_content ") ))) ;) })) }) (else_clause "else {\n    puVar1 = *(uint **)((long)iVar3.\n                              super__Node_iterator_base<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_true>\n                              ._M_cur + 0x18);\n    uVar5 = *puVar1;\n    puVar4 = puVar1;\n    if (uVar5 != 0xffffffff) {\n      while( true ) {\n        if (got_type == uVar5) {\n          puVar4[1] = got_offset;\n          return;\n        }\n        puVar4 = *(uint **)(puVar4 + 2);\n        if (puVar4 == (uint *)0x0) break;\n        uVar5 = *puVar4;\n      }\n      puVar4 = (uint *)operator_new(0x10);\n      uVar2 = *(undefined8 *)(puVar1 + 2);\n      *puVar4 = got_type;\n      puVar4[1] = got_offset;\n      *(undefined8 *)(puVar4 + 2) = uVar2;\n      *(uint **)(puVar1 + 2) = puVar4;\n      return;\n    }\n    *puVar1 = got_type;\n    puVar1[1] = got_offset;\n  }" else (compound_statement "{\n    puVar1 = *(uint **)((long)iVar3.\n                              super__Node_iterator_base<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_true>\n                              ._M_cur + 0x18);\n    uVar5 = *puVar1;\n    puVar4 = puVar1;\n    if (uVar5 != 0xffffffff) {\n      while( true ) {\n        if (got_type == uVar5) {\n          puVar4[1] = got_offset;\n          return;\n        }\n        puVar4 = *(uint **)(puVar4 + 2);\n        if (puVar4 == (uint *)0x0) break;\n        uVar5 = *puVar4;\n      }\n      puVar4 = (uint *)operator_new(0x10);\n      uVar2 = *(undefined8 *)(puVar1 + 2);\n      *puVar4 = got_type;\n      puVar4[1] = got_offset;\n      *(undefined8 *)(puVar4 + 2) = uVar2;\n      *(uint **)(puVar1 + 2) = puVar4;\n      return;\n    }\n    *puVar1 = got_type;\n    puVar1[1] = got_offset;\n  }" { (expression_statement "puVar1 = *(uint **)((long)iVar3.\n                              super__Node_iterator_base<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_true>\n                              ._M_cur + 0x18);" (assignment_expression "puVar1 = *(uint **)((long)iVar3.\n                              super__Node_iterator_base<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_true>\n                              ._M_cur + 0x18)" identifier = (pointer_expression "*(uint **)((long)iVar3.\n                              super__Node_iterator_base<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_true>\n                              ._M_cur + 0x18)" * (cast_expression "(uint **)((long)iVar3.\n                              super__Node_iterator_base<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_true>\n                              ._M_cur + 0x18)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)iVar3.\n                              super__Node_iterator_base<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_true>\n                              ._M_cur + 0x18)" ( (ERROR "(long)iVar3.\n                              super__Node_iterator_base<std::pair<const_gold::Local_got_entry_key,_gold::Got_offset_list*>,_true>\n                              ." (comma_expression "(long)iVar3.\n                              super__Node_iterator_base<std::pair<const_gold::Local_got_entry_key,_gold" (binary_expression "(long)iVar3.\n                              super__Node_iterator_base<std::pair<const_gold" (binary_expression "(long)iVar3.\n                              super__Node_iterator_base<std" (cast_expression "(long)iVar3.\n                              super__Node_iterator_base" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "iVar3.\n                              super__Node_iterator_base" identifier . field_identifier)) < identifier) (ERROR "::pair" : : identifier) < identifier) (ERROR "::Local_got_entry_key" : : identifier) , identifier) : : identifier * > , identifier > .) (binary_expression "_M_cur + 0x18" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = *puVar1;" (assignment_expression "uVar5 = *puVar1" identifier = (pointer_expression "*puVar1" * identifier)) ;) (expression_statement "puVar4 = puVar1;" (assignment_expression "puVar4 = puVar1" identifier = identifier) ;) (if_statement "if (uVar5 != 0xffffffff) {\n      while( true ) {\n        if (got_type == uVar5) {\n          puVar4[1] = got_offset;\n          return;\n        }\n        puVar4 = *(uint **)(puVar4 + 2);\n        if (puVar4 == (uint *)0x0) break;\n        uVar5 = *puVar4;\n      }\n      puVar4 = (uint *)operator_new(0x10);\n      uVar2 = *(undefined8 *)(puVar1 + 2);\n      *puVar4 = got_type;\n      puVar4[1] = got_offset;\n      *(undefined8 *)(puVar4 + 2) = uVar2;\n      *(uint **)(puVar1 + 2) = puVar4;\n      return;\n    }" if (parenthesized_expression "(uVar5 != 0xffffffff)" ( (binary_expression "uVar5 != 0xffffffff" identifier != number_literal) )) (compound_statement "{\n      while( true ) {\n        if (got_type == uVar5) {\n          puVar4[1] = got_offset;\n          return;\n        }\n        puVar4 = *(uint **)(puVar4 + 2);\n        if (puVar4 == (uint *)0x0) break;\n        uVar5 = *puVar4;\n      }\n      puVar4 = (uint *)operator_new(0x10);\n      uVar2 = *(undefined8 *)(puVar1 + 2);\n      *puVar4 = got_type;\n      puVar4[1] = got_offset;\n      *(undefined8 *)(puVar4 + 2) = uVar2;\n      *(uint **)(puVar1 + 2) = puVar4;\n      return;\n    }" { (while_statement "while( true ) {\n        if (got_type == uVar5) {\n          puVar4[1] = got_offset;\n          return;\n        }\n        puVar4 = *(uint **)(puVar4 + 2);\n        if (puVar4 == (uint *)0x0) break;\n        uVar5 = *puVar4;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        if (got_type == uVar5) {\n          puVar4[1] = got_offset;\n          return;\n        }\n        puVar4 = *(uint **)(puVar4 + 2);\n        if (puVar4 == (uint *)0x0) break;\n        uVar5 = *puVar4;\n      }" { (if_statement "if (got_type == uVar5) {\n          puVar4[1] = got_offset;\n          return;\n        }" if (parenthesized_expression "(got_type == uVar5)" ( (binary_expression "got_type == uVar5" identifier == identifier) )) (compound_statement "{\n          puVar4[1] = got_offset;\n          return;\n        }" { (expression_statement "puVar4[1] = got_offset;" (assignment_expression "puVar4[1] = got_offset" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "puVar4 = *(uint **)(puVar4 + 2);" (assignment_expression "puVar4 = *(uint **)(puVar4 + 2)" identifier = (pointer_expression "*(uint **)(puVar4 + 2)" * (cast_expression "(uint **)(puVar4 + 2)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 2)" ( (binary_expression "puVar4 + 2" identifier + number_literal) ))))) ;) (if_statement "if (puVar4 == (uint *)0x0) break;" if (parenthesized_expression "(puVar4 == (uint *)0x0)" ( (binary_expression "puVar4 == (uint *)0x0" identifier == (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "uVar5 = *puVar4;" (assignment_expression "uVar5 = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) })) (expression_statement "puVar4 = (uint *)operator_new(0x10);" (assignment_expression "puVar4 = (uint *)operator_new(0x10)" identifier = (cast_expression "(uint *)operator_new(0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new(0x10)" identifier (argument_list "(0x10)" ( number_literal ))))) ;) (expression_statement "uVar2 = *(undefined8 *)(puVar1 + 2);" (assignment_expression "uVar2 = *(undefined8 *)(puVar1 + 2)" identifier = (pointer_expression "*(undefined8 *)(puVar1 + 2)" * (cast_expression "(undefined8 *)(puVar1 + 2)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 2)" ( (binary_expression "puVar1 + 2" identifier + number_literal) ))))) ;) (expression_statement "*puVar4 = got_type;" (assignment_expression "*puVar4 = got_type" (pointer_expression "*puVar4" * identifier) = identifier) ;) (expression_statement "puVar4[1] = got_offset;" (assignment_expression "puVar4[1] = got_offset" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined8 *)(puVar4 + 2) = uVar2;" (assignment_expression "*(undefined8 *)(puVar4 + 2) = uVar2" (pointer_expression "*(undefined8 *)(puVar4 + 2)" * (cast_expression "(undefined8 *)(puVar4 + 2)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + 2)" ( (binary_expression "puVar4 + 2" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint **)(puVar1 + 2) = puVar4;" (assignment_expression "*(uint **)(puVar1 + 2) = puVar4" (pointer_expression "*(uint **)(puVar1 + 2)" * (cast_expression "(uint **)(puVar1 + 2)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar1 + 2)" ( (binary_expression "puVar1 + 2" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "*puVar1 = got_type;" (assignment_expression "*puVar1 = got_type" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "puVar1[1] = got_offset;" (assignment_expression "puVar1[1] = got_offset" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) }))) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_0016a6c0(long param_1,undefined4 param_2,int param_3,int param_4,undefined8 param_5)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined8 uVar3;\n  long lVar4;\n  int *piVar5;\n  char extraout_DL;\n  undefined4 local_48 [2];\n  undefined8 local_40;\n  undefined4 local_38 [2];\n  undefined8 local_30;\n  int *local_28;\n  \n  local_48[0] = param_2;\n  local_40 = param_5;\n  lVar4 = FUN_00169db0(param_1 + 0xa8,local_48);\n  if (lVar4 == 0) {\n    local_28 = (int *)FUN_002d9490(0x10);\n    *local_28 = param_3;\n    local_28[1] = param_4;\n    local_28[2] = 0;\n    local_28[3] = 0;\n    local_38[0] = local_48[0];\n    local_30 = local_40;\n    FUN_0016a3f0(param_1 + 0xa8,local_38);\n    if (extraout_DL == '\0') {\n                    \n      FUN_0017c650("../../gold/object.h",0x852,"do_set_local_got_offset");\n    }\n  }\n  else {\n    piVar2 = *(int **)(lVar4 + 0x18);\n    iVar1 = *piVar2;\n    piVar5 = piVar2;\n    if (iVar1 != -1) {\n      while( true ) {\n        if (param_3 == iVar1) {\n          piVar5[1] = param_4;\n          return;\n        }\n        piVar5 = *(int **)(piVar5 + 2);\n        if (piVar5 == (int *)0x0) break;\n        iVar1 = *piVar5;\n      }\n      piVar5 = (int *)FUN_002d9490(0x10);\n      uVar3 = *(undefined8 *)(piVar2 + 2);\n      *piVar5 = param_3;\n      piVar5[1] = param_4;\n      *(undefined8 *)(piVar5 + 2) = uVar3;\n      *(int **)(piVar2 + 2) = piVar5;\n      return;\n    }\n    *piVar2 = param_3;\n    piVar2[1] = param_4;\n  }\n  return;\n}\n\n" (function_definition "void FUN_0016a6c0(long param_1,undefined4 param_2,int param_3,int param_4,undefined8 param_5)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined8 uVar3;\n  long lVar4;\n  int *piVar5;\n  char extraout_DL;\n  undefined4 local_48 [2];\n  undefined8 local_40;\n  undefined4 local_38 [2];\n  undefined8 local_30;\n  int *local_28;\n  \n  local_48[0] = param_2;\n  local_40 = param_5;\n  lVar4 = FUN_00169db0(param_1 + 0xa8,local_48);\n  if (lVar4 == 0) {\n    local_28 = (int *)FUN_002d9490(0x10);\n    *local_28 = param_3;\n    local_28[1] = param_4;\n    local_28[2] = 0;\n    local_28[3] = 0;\n    local_38[0] = local_48[0];\n    local_30 = local_40;\n    FUN_0016a3f0(param_1 + 0xa8,local_38);\n    if (extraout_DL == '\0') {\n                    \n      FUN_0017c650("../../gold/object.h",0x852,"do_set_local_got_offset");\n    }\n  }\n  else {\n    piVar2 = *(int **)(lVar4 + 0x18);\n    iVar1 = *piVar2;\n    piVar5 = piVar2;\n    if (iVar1 != -1) {\n      while( true ) {\n        if (param_3 == iVar1) {\n          piVar5[1] = param_4;\n          return;\n        }\n        piVar5 = *(int **)(piVar5 + 2);\n        if (piVar5 == (int *)0x0) break;\n        iVar1 = *piVar5;\n      }\n      piVar5 = (int *)FUN_002d9490(0x10);\n      uVar3 = *(undefined8 *)(piVar2 + 2);\n      *piVar5 = param_3;\n      piVar5[1] = param_4;\n      *(undefined8 *)(piVar5 + 2) = uVar3;\n      *(int **)(piVar2 + 2) = piVar5;\n      return;\n    }\n    *piVar2 = param_3;\n    piVar2[1] = param_4;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0016a6c0(long param_1,undefined4 param_2,int param_3,int param_4,undefined8 param_5)" identifier (parameter_list "(long param_1,undefined4 param_2,int param_3,int param_4,undefined8 param_5)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "undefined8 param_5" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  undefined8 uVar3;\n  long lVar4;\n  int *piVar5;\n  char extraout_DL;\n  undefined4 local_48 [2];\n  undefined8 local_40;\n  undefined4 local_38 [2];\n  undefined8 local_30;\n  int *local_28;\n  \n  local_48[0] = param_2;\n  local_40 = param_5;\n  lVar4 = FUN_00169db0(param_1 + 0xa8,local_48);\n  if (lVar4 == 0) {\n    local_28 = (int *)FUN_002d9490(0x10);\n    *local_28 = param_3;\n    local_28[1] = param_4;\n    local_28[2] = 0;\n    local_28[3] = 0;\n    local_38[0] = local_48[0];\n    local_30 = local_40;\n    FUN_0016a3f0(param_1 + 0xa8,local_38);\n    if (extraout_DL == '\0') {\n                    \n      FUN_0017c650("../../gold/object.h",0x852,"do_set_local_got_offset");\n    }\n  }\n  else {\n    piVar2 = *(int **)(lVar4 + 0x18);\n    iVar1 = *piVar2;\n    piVar5 = piVar2;\n    if (iVar1 != -1) {\n      while( true ) {\n        if (param_3 == iVar1) {\n          piVar5[1] = param_4;\n          return;\n        }\n        piVar5 = *(int **)(piVar5 + 2);\n        if (piVar5 == (int *)0x0) break;\n        iVar1 = *piVar5;\n      }\n      piVar5 = (int *)FUN_002d9490(0x10);\n      uVar3 = *(undefined8 *)(piVar2 + 2);\n      *piVar5 = param_3;\n      piVar5[1] = param_4;\n      *(undefined8 *)(piVar5 + 2) = uVar3;\n      *(int **)(piVar2 + 2) = piVar5;\n      return;\n    }\n    *piVar2 = param_3;\n    piVar2[1] = param_4;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "char extraout_DL;" primitive_type identifier ;) (declaration "undefined4 local_48 [2];" type_identifier (array_declarator "local_48 [2]" identifier [ number_literal ]) ;) (declaration "undefined8 local_40;" type_identifier identifier ;) (declaration "undefined4 local_38 [2];" type_identifier (array_declarator "local_38 [2]" identifier [ number_literal ]) ;) (declaration "undefined8 local_30;" type_identifier identifier ;) (declaration "int *local_28;" primitive_type (pointer_declarator "*local_28" * identifier) ;) (expression_statement "local_48[0] = param_2;" (assignment_expression "local_48[0] = param_2" (subscript_expression "local_48[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "local_40 = param_5;" (assignment_expression "local_40 = param_5" identifier = identifier) ;) (expression_statement "lVar4 = FUN_00169db0(param_1 + 0xa8,local_48);" (assignment_expression "lVar4 = FUN_00169db0(param_1 + 0xa8,local_48)" identifier = (call_expression "FUN_00169db0(param_1 + 0xa8,local_48)" identifier (argument_list "(param_1 + 0xa8,local_48)" ( (binary_expression "param_1 + 0xa8" identifier + number_literal) , identifier )))) ;) (if_statement "if (lVar4 == 0) {\n    local_28 = (int *)FUN_002d9490(0x10);\n    *local_28 = param_3;\n    local_28[1] = param_4;\n    local_28[2] = 0;\n    local_28[3] = 0;\n    local_38[0] = local_48[0];\n    local_30 = local_40;\n    FUN_0016a3f0(param_1 + 0xa8,local_38);\n    if (extraout_DL == '\0') {\n                    \n      FUN_0017c650("../../gold/object.h",0x852,"do_set_local_got_offset");\n    }\n  }\n  else {\n    piVar2 = *(int **)(lVar4 + 0x18);\n    iVar1 = *piVar2;\n    piVar5 = piVar2;\n    if (iVar1 != -1) {\n      while( true ) {\n        if (param_3 == iVar1) {\n          piVar5[1] = param_4;\n          return;\n        }\n        piVar5 = *(int **)(piVar5 + 2);\n        if (piVar5 == (int *)0x0) break;\n        iVar1 = *piVar5;\n      }\n      piVar5 = (int *)FUN_002d9490(0x10);\n      uVar3 = *(undefined8 *)(piVar2 + 2);\n      *piVar5 = param_3;\n      piVar5[1] = param_4;\n      *(undefined8 *)(piVar5 + 2) = uVar3;\n      *(int **)(piVar2 + 2) = piVar5;\n      return;\n    }\n    *piVar2 = param_3;\n    piVar2[1] = param_4;\n  }" if (parenthesized_expression "(lVar4 == 0)" ( (binary_expression "lVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    local_28 = (int *)FUN_002d9490(0x10);\n    *local_28 = param_3;\n    local_28[1] = param_4;\n    local_28[2] = 0;\n    local_28[3] = 0;\n    local_38[0] = local_48[0];\n    local_30 = local_40;\n    FUN_0016a3f0(param_1 + 0xa8,local_38);\n    if (extraout_DL == '\0') {\n                    \n      FUN_0017c650("../../gold/object.h",0x852,"do_set_local_got_offset");\n    }\n  }" { (expression_statement "local_28 = (int *)FUN_002d9490(0x10);" (assignment_expression "local_28 = (int *)FUN_002d9490(0x10)" identifier = (cast_expression "(int *)FUN_002d9490(0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_002d9490(0x10)" identifier (argument_list "(0x10)" ( number_literal ))))) ;) (expression_statement "*local_28 = param_3;" (assignment_expression "*local_28 = param_3" (pointer_expression "*local_28" * identifier) = identifier) ;) (expression_statement "local_28[1] = param_4;" (assignment_expression "local_28[1] = param_4" (subscript_expression "local_28[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "local_28[2] = 0;" (assignment_expression "local_28[2] = 0" (subscript_expression "local_28[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_28[3] = 0;" (assignment_expression "local_28[3] = 0" (subscript_expression "local_28[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_38[0] = local_48[0];" (assignment_expression "local_38[0] = local_48[0]" (subscript_expression "local_38[0]" identifier [ number_literal ]) = (subscript_expression "local_48[0]" identifier [ number_literal ])) ;) (expression_statement "local_30 = local_40;" (assignment_expression "local_30 = local_40" identifier = identifier) ;) (expression_statement "FUN_0016a3f0(param_1 + 0xa8,local_38);" (call_expression "FUN_0016a3f0(param_1 + 0xa8,local_38)" identifier (argument_list "(param_1 + 0xa8,local_38)" ( (binary_expression "param_1 + 0xa8" identifier + number_literal) , identifier ))) ;) (if_statement "if (extraout_DL == '\0') {\n                    \n      FUN_0017c650("../../gold/object.h",0x852,"do_set_local_got_offset");\n    }" if (parenthesized_expression "(extraout_DL == '\0')" ( (binary_expression "extraout_DL == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                    \n      FUN_0017c650("../../gold/object.h",0x852,"do_set_local_got_offset");\n    }" { (expression_statement "FUN_0017c650("../../gold/object.h",0x852,"do_set_local_got_offset");" (call_expression "FUN_0017c650("../../gold/object.h",0x852,"do_set_local_got_offset")" identifier (argument_list "("../../gold/object.h",0x852,"do_set_local_got_offset")" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""do_set_local_got_offset"" " string_content ") ))) ;) })) }) (else_clause "else {\n    piVar2 = *(int **)(lVar4 + 0x18);\n    iVar1 = *piVar2;\n    piVar5 = piVar2;\n    if (iVar1 != -1) {\n      while( true ) {\n        if (param_3 == iVar1) {\n          piVar5[1] = param_4;\n          return;\n        }\n        piVar5 = *(int **)(piVar5 + 2);\n        if (piVar5 == (int *)0x0) break;\n        iVar1 = *piVar5;\n      }\n      piVar5 = (int *)FUN_002d9490(0x10);\n      uVar3 = *(undefined8 *)(piVar2 + 2);\n      *piVar5 = param_3;\n      piVar5[1] = param_4;\n      *(undefined8 *)(piVar5 + 2) = uVar3;\n      *(int **)(piVar2 + 2) = piVar5;\n      return;\n    }\n    *piVar2 = param_3;\n    piVar2[1] = param_4;\n  }" else (compound_statement "{\n    piVar2 = *(int **)(lVar4 + 0x18);\n    iVar1 = *piVar2;\n    piVar5 = piVar2;\n    if (iVar1 != -1) {\n      while( true ) {\n        if (param_3 == iVar1) {\n          piVar5[1] = param_4;\n          return;\n        }\n        piVar5 = *(int **)(piVar5 + 2);\n        if (piVar5 == (int *)0x0) break;\n        iVar1 = *piVar5;\n      }\n      piVar5 = (int *)FUN_002d9490(0x10);\n      uVar3 = *(undefined8 *)(piVar2 + 2);\n      *piVar5 = param_3;\n      piVar5[1] = param_4;\n      *(undefined8 *)(piVar5 + 2) = uVar3;\n      *(int **)(piVar2 + 2) = piVar5;\n      return;\n    }\n    *piVar2 = param_3;\n    piVar2[1] = param_4;\n  }" { (expression_statement "piVar2 = *(int **)(lVar4 + 0x18);" (assignment_expression "piVar2 = *(int **)(lVar4 + 0x18)" identifier = (pointer_expression "*(int **)(lVar4 + 0x18)" * (cast_expression "(int **)(lVar4 + 0x18)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar4 + 0x18)" ( (binary_expression "lVar4 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) (expression_statement "piVar5 = piVar2;" (assignment_expression "piVar5 = piVar2" identifier = identifier) ;) (if_statement "if (iVar1 != -1) {\n      while( true ) {\n        if (param_3 == iVar1) {\n          piVar5[1] = param_4;\n          return;\n        }\n        piVar5 = *(int **)(piVar5 + 2);\n        if (piVar5 == (int *)0x0) break;\n        iVar1 = *piVar5;\n      }\n      piVar5 = (int *)FUN_002d9490(0x10);\n      uVar3 = *(undefined8 *)(piVar2 + 2);\n      *piVar5 = param_3;\n      piVar5[1] = param_4;\n      *(undefined8 *)(piVar5 + 2) = uVar3;\n      *(int **)(piVar2 + 2) = piVar5;\n      return;\n    }" if (parenthesized_expression "(iVar1 != -1)" ( (binary_expression "iVar1 != -1" identifier != number_literal) )) (compound_statement "{\n      while( true ) {\n        if (param_3 == iVar1) {\n          piVar5[1] = param_4;\n          return;\n        }\n        piVar5 = *(int **)(piVar5 + 2);\n        if (piVar5 == (int *)0x0) break;\n        iVar1 = *piVar5;\n      }\n      piVar5 = (int *)FUN_002d9490(0x10);\n      uVar3 = *(undefined8 *)(piVar2 + 2);\n      *piVar5 = param_3;\n      piVar5[1] = param_4;\n      *(undefined8 *)(piVar5 + 2) = uVar3;\n      *(int **)(piVar2 + 2) = piVar5;\n      return;\n    }" { (while_statement "while( true ) {\n        if (param_3 == iVar1) {\n          piVar5[1] = param_4;\n          return;\n        }\n        piVar5 = *(int **)(piVar5 + 2);\n        if (piVar5 == (int *)0x0) break;\n        iVar1 = *piVar5;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        if (param_3 == iVar1) {\n          piVar5[1] = param_4;\n          return;\n        }\n        piVar5 = *(int **)(piVar5 + 2);\n        if (piVar5 == (int *)0x0) break;\n        iVar1 = *piVar5;\n      }" { (if_statement "if (param_3 == iVar1) {\n          piVar5[1] = param_4;\n          return;\n        }" if (parenthesized_expression "(param_3 == iVar1)" ( (binary_expression "param_3 == iVar1" identifier == identifier) )) (compound_statement "{\n          piVar5[1] = param_4;\n          return;\n        }" { (expression_statement "piVar5[1] = param_4;" (assignment_expression "piVar5[1] = param_4" (subscript_expression "piVar5[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "piVar5 = *(int **)(piVar5 + 2);" (assignment_expression "piVar5 = *(int **)(piVar5 + 2)" identifier = (pointer_expression "*(int **)(piVar5 + 2)" * (cast_expression "(int **)(piVar5 + 2)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar5 + 2)" ( (binary_expression "piVar5 + 2" identifier + number_literal) ))))) ;) (if_statement "if (piVar5 == (int *)0x0) break;" if (parenthesized_expression "(piVar5 == (int *)0x0)" ( (binary_expression "piVar5 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "iVar1 = *piVar5;" (assignment_expression "iVar1 = *piVar5" identifier = (pointer_expression "*piVar5" * identifier)) ;) })) (expression_statement "piVar5 = (int *)FUN_002d9490(0x10);" (assignment_expression "piVar5 = (int *)FUN_002d9490(0x10)" identifier = (cast_expression "(int *)FUN_002d9490(0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_002d9490(0x10)" identifier (argument_list "(0x10)" ( number_literal ))))) ;) (expression_statement "uVar3 = *(undefined8 *)(piVar2 + 2);" (assignment_expression "uVar3 = *(undefined8 *)(piVar2 + 2)" identifier = (pointer_expression "*(undefined8 *)(piVar2 + 2)" * (cast_expression "(undefined8 *)(piVar2 + 2)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 2)" ( (binary_expression "piVar2 + 2" identifier + number_literal) ))))) ;) (expression_statement "*piVar5 = param_3;" (assignment_expression "*piVar5 = param_3" (pointer_expression "*piVar5" * identifier) = identifier) ;) (expression_statement "piVar5[1] = param_4;" (assignment_expression "piVar5[1] = param_4" (subscript_expression "piVar5[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined8 *)(piVar5 + 2) = uVar3;" (assignment_expression "*(undefined8 *)(piVar5 + 2) = uVar3" (pointer_expression "*(undefined8 *)(piVar5 + 2)" * (cast_expression "(undefined8 *)(piVar5 + 2)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar5 + 2)" ( (binary_expression "piVar5 + 2" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int **)(piVar2 + 2) = piVar5;" (assignment_expression "*(int **)(piVar2 + 2) = piVar5" (pointer_expression "*(int **)(piVar2 + 2)" * (cast_expression "(int **)(piVar2 + 2)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar2 + 2)" ( (binary_expression "piVar2 + 2" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "*piVar2 = param_3;" (assignment_expression "*piVar2 = param_3" (pointer_expression "*piVar2" * identifier) = identifier) ;) (expression_statement "piVar2[1] = param_4;" (assignment_expression "piVar2[1] = param_4" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = identifier) ;) }))) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT )))) ;) (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 ( LIT ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }))) (return_statement return ;) })))
(function_definition "void FUN_0016a6c0(long param_1,undefined4 param_2,int param_3,int param_4,undefined8 param_5)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined8 uVar3;\n  long lVar4;\n  int *piVar5;\n  char extraout_DL;\n  undefined4 local_48 [2];\n  undefined8 local_40;\n  undefined4 local_38 [2];\n  undefined8 local_30;\n  int *local_28;\n  \n  local_48[0] = param_2;\n  local_40 = param_5;\n  lVar4 = FUN_00169db0(param_1 + 0xa8,local_48);\n  if (lVar4 == 0) {\n    local_28 = (int *)FUN_002d9490(0x10);\n    *local_28 = param_3;\n    local_28[1] = param_4;\n    local_28[2] = 0;\n    local_28[3] = 0;\n    local_38[0] = local_48[0];\n    local_30 = local_40;\n    FUN_0016a3f0(param_1 + 0xa8,local_38);\n    if (extraout_DL == '\0') {\n                    \n      FUN_0017c650("../../gold/object.h",0x852,"do_set_local_got_offset");\n    }\n  }\n  else {\n    piVar2 = *(int **)(lVar4 + 0x18);\n    iVar1 = *piVar2;\n    piVar5 = piVar2;\n    if (iVar1 != -1) {\n      while( true ) {\n        if (param_3 == iVar1) {\n          piVar5[1] = param_4;\n          return;\n        }\n        piVar5 = *(int **)(piVar5 + 2);\n        if (piVar5 == (int *)0x0) break;\n        iVar1 = *piVar5;\n      }\n      piVar5 = (int *)FUN_002d9490(0x10);\n      uVar3 = *(undefined8 *)(piVar2 + 2);\n      *piVar5 = param_3;\n      piVar5[1] = param_4;\n      *(undefined8 *)(piVar5 + 2) = uVar3;\n      *(int **)(piVar2 + 2) = piVar5;\n      return;\n    }\n    *piVar2 = param_3;\n    piVar2[1] = param_4;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0016a6c0(long param_1,undefined4 param_2,int param_3,int param_4,undefined8 param_5)" (identifier "FUN_0016a6c0") (parameter_list "(long param_1,undefined4 param_2,int param_3,int param_4,undefined8 param_5)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) (, ",") (parameter_declaration "undefined8 param_5" (type_identifier "undefined8") (identifier "param_5")) () ")"))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  undefined8 uVar3;\n  long lVar4;\n  int *piVar5;\n  char extraout_DL;\n  undefined4 local_48 [2];\n  undefined8 local_40;\n  undefined4 local_38 [2];\n  undefined8 local_30;\n  int *local_28;\n  \n  local_48[0] = param_2;\n  local_40 = param_5;\n  lVar4 = FUN_00169db0(param_1 + 0xa8,local_48);\n  if (lVar4 == 0) {\n    local_28 = (int *)FUN_002d9490(0x10);\n    *local_28 = param_3;\n    local_28[1] = param_4;\n    local_28[2] = 0;\n    local_28[3] = 0;\n    local_38[0] = local_48[0];\n    local_30 = local_40;\n    FUN_0016a3f0(param_1 + 0xa8,local_38);\n    if (extraout_DL == '\0') {\n                    \n      FUN_0017c650("../../gold/object.h",0x852,"do_set_local_got_offset");\n    }\n  }\n  else {\n    piVar2 = *(int **)(lVar4 + 0x18);\n    iVar1 = *piVar2;\n    piVar5 = piVar2;\n    if (iVar1 != -1) {\n      while( true ) {\n        if (param_3 == iVar1) {\n          piVar5[1] = param_4;\n          return;\n        }\n        piVar5 = *(int **)(piVar5 + 2);\n        if (piVar5 == (int *)0x0) break;\n        iVar1 = *piVar5;\n      }\n      piVar5 = (int *)FUN_002d9490(0x10);\n      uVar3 = *(undefined8 *)(piVar2 + 2);\n      *piVar5 = param_3;\n      piVar5[1] = param_4;\n      *(undefined8 *)(piVar5 + 2) = uVar3;\n      *(int **)(piVar2 + 2) = piVar5;\n      return;\n    }\n    *piVar2 = param_3;\n    piVar2[1] = param_4;\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "undefined8 uVar3;" (type_identifier "undefined8") (identifier "uVar3") (; ";")) (declaration "long lVar4;" (sized_type_specifier "long" (long "long")) (identifier "lVar4") (; ";")) (declaration "int *piVar5;" (primitive_type "int") (pointer_declarator "*piVar5" (* "*") (identifier "piVar5")) (; ";")) (declaration "char extraout_DL;" (primitive_type "char") (identifier "extraout_DL") (; ";")) (declaration "undefined4 local_48 [2];" (type_identifier "undefined4") (array_declarator "local_48 [2]" (identifier "local_48") ([ "[") (number_literal "2") (] "]")) (; ";")) (declaration "undefined8 local_40;" (type_identifier "undefined8") (identifier "local_40") (; ";")) (declaration "undefined4 local_38 [2];" (type_identifier "undefined4") (array_declarator "local_38 [2]" (identifier "local_38") ([ "[") (number_literal "2") (] "]")) (; ";")) (declaration "undefined8 local_30;" (type_identifier "undefined8") (identifier "local_30") (; ";")) (declaration "int *local_28;" (primitive_type "int") (pointer_declarator "*local_28" (* "*") (identifier "local_28")) (; ";")) (expression_statement "local_48[0] = param_2;" (assignment_expression "local_48[0] = param_2" (subscript_expression "local_48[0]" (identifier "local_48") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "local_40 = param_5;" (assignment_expression "local_40 = param_5" (identifier "local_40") (= "=") (identifier "param_5")) (; ";")) (expression_statement "lVar4 = FUN_00169db0(param_1 + 0xa8,local_48);" (assignment_expression "lVar4 = FUN_00169db0(param_1 + 0xa8,local_48)" (identifier "lVar4") (= "=") (call_expression "FUN_00169db0(param_1 + 0xa8,local_48)" (identifier "FUN_00169db0") (argument_list "(param_1 + 0xa8,local_48)" (( "(") (binary_expression "param_1 + 0xa8" (identifier "param_1") (+ "+") (number_literal "0xa8")) (, ",") (identifier "local_48") () ")")))) (; ";")) (if_statement "if (lVar4 == 0) {\n    local_28 = (int *)FUN_002d9490(0x10);\n    *local_28 = param_3;\n    local_28[1] = param_4;\n    local_28[2] = 0;\n    local_28[3] = 0;\n    local_38[0] = local_48[0];\n    local_30 = local_40;\n    FUN_0016a3f0(param_1 + 0xa8,local_38);\n    if (extraout_DL == '\0') {\n                    \n      FUN_0017c650("../../gold/object.h",0x852,"do_set_local_got_offset");\n    }\n  }\n  else {\n    piVar2 = *(int **)(lVar4 + 0x18);\n    iVar1 = *piVar2;\n    piVar5 = piVar2;\n    if (iVar1 != -1) {\n      while( true ) {\n        if (param_3 == iVar1) {\n          piVar5[1] = param_4;\n          return;\n        }\n        piVar5 = *(int **)(piVar5 + 2);\n        if (piVar5 == (int *)0x0) break;\n        iVar1 = *piVar5;\n      }\n      piVar5 = (int *)FUN_002d9490(0x10);\n      uVar3 = *(undefined8 *)(piVar2 + 2);\n      *piVar5 = param_3;\n      piVar5[1] = param_4;\n      *(undefined8 *)(piVar5 + 2) = uVar3;\n      *(int **)(piVar2 + 2) = piVar5;\n      return;\n    }\n    *piVar2 = param_3;\n    piVar2[1] = param_4;\n  }" (if "if") (parenthesized_expression "(lVar4 == 0)" (( "(") (binary_expression "lVar4 == 0" (identifier "lVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    local_28 = (int *)FUN_002d9490(0x10);\n    *local_28 = param_3;\n    local_28[1] = param_4;\n    local_28[2] = 0;\n    local_28[3] = 0;\n    local_38[0] = local_48[0];\n    local_30 = local_40;\n    FUN_0016a3f0(param_1 + 0xa8,local_38);\n    if (extraout_DL == '\0') {\n                    \n      FUN_0017c650("../../gold/object.h",0x852,"do_set_local_got_offset");\n    }\n  }" ({ "{") (expression_statement "local_28 = (int *)FUN_002d9490(0x10);" (assignment_expression "local_28 = (int *)FUN_002d9490(0x10)" (identifier "local_28") (= "=") (cast_expression "(int *)FUN_002d9490(0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_002d9490(0x10)" (identifier "FUN_002d9490") (argument_list "(0x10)" (( "(") (number_literal "0x10") () ")"))))) (; ";")) (expression_statement "*local_28 = param_3;" (assignment_expression "*local_28 = param_3" (pointer_expression "*local_28" (* "*") (identifier "local_28")) (= "=") (identifier "param_3")) (; ";")) (expression_statement "local_28[1] = param_4;" (assignment_expression "local_28[1] = param_4" (subscript_expression "local_28[1]" (identifier "local_28") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_4")) (; ";")) (expression_statement "local_28[2] = 0;" (assignment_expression "local_28[2] = 0" (subscript_expression "local_28[2]" (identifier "local_28") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_28[3] = 0;" (assignment_expression "local_28[3] = 0" (subscript_expression "local_28[3]" (identifier "local_28") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_38[0] = local_48[0];" (assignment_expression "local_38[0] = local_48[0]" (subscript_expression "local_38[0]" (identifier "local_38") ([ "[") (number_literal "0") (] "]")) (= "=") (subscript_expression "local_48[0]" (identifier "local_48") ([ "[") (number_literal "0") (] "]"))) (; ";")) (expression_statement "local_30 = local_40;" (assignment_expression "local_30 = local_40" (identifier "local_30") (= "=") (identifier "local_40")) (; ";")) (expression_statement "FUN_0016a3f0(param_1 + 0xa8,local_38);" (call_expression "FUN_0016a3f0(param_1 + 0xa8,local_38)" (identifier "FUN_0016a3f0") (argument_list "(param_1 + 0xa8,local_38)" (( "(") (binary_expression "param_1 + 0xa8" (identifier "param_1") (+ "+") (number_literal "0xa8")) (, ",") (identifier "local_38") () ")"))) (; ";")) (if_statement "if (extraout_DL == '\0') {\n                    \n      FUN_0017c650("../../gold/object.h",0x852,"do_set_local_got_offset");\n    }" (if "if") (parenthesized_expression "(extraout_DL == '\0')" (( "(") (binary_expression "extraout_DL == '\0'" (identifier "extraout_DL") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n                    \n      FUN_0017c650("../../gold/object.h",0x852,"do_set_local_got_offset");\n    }" ({ "{") (expression_statement "FUN_0017c650("../../gold/object.h",0x852,"do_set_local_got_offset");" (call_expression "FUN_0017c650("../../gold/object.h",0x852,"do_set_local_got_offset")" (identifier "FUN_0017c650") (argument_list "("../../gold/object.h",0x852,"do_set_local_got_offset")" (( "(") (string_literal ""../../gold/object.h"" (" """) (string_content "../../gold/object.h") (" """)) (, ",") (number_literal "0x852") (, ",") (string_literal ""do_set_local_got_offset"" (" """) (string_content "do_set_local_got_offset") (" """)) () ")"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    piVar2 = *(int **)(lVar4 + 0x18);\n    iVar1 = *piVar2;\n    piVar5 = piVar2;\n    if (iVar1 != -1) {\n      while( true ) {\n        if (param_3 == iVar1) {\n          piVar5[1] = param_4;\n          return;\n        }\n        piVar5 = *(int **)(piVar5 + 2);\n        if (piVar5 == (int *)0x0) break;\n        iVar1 = *piVar5;\n      }\n      piVar5 = (int *)FUN_002d9490(0x10);\n      uVar3 = *(undefined8 *)(piVar2 + 2);\n      *piVar5 = param_3;\n      piVar5[1] = param_4;\n      *(undefined8 *)(piVar5 + 2) = uVar3;\n      *(int **)(piVar2 + 2) = piVar5;\n      return;\n    }\n    *piVar2 = param_3;\n    piVar2[1] = param_4;\n  }" (else "else") (compound_statement "{\n    piVar2 = *(int **)(lVar4 + 0x18);\n    iVar1 = *piVar2;\n    piVar5 = piVar2;\n    if (iVar1 != -1) {\n      while( true ) {\n        if (param_3 == iVar1) {\n          piVar5[1] = param_4;\n          return;\n        }\n        piVar5 = *(int **)(piVar5 + 2);\n        if (piVar5 == (int *)0x0) break;\n        iVar1 = *piVar5;\n      }\n      piVar5 = (int *)FUN_002d9490(0x10);\n      uVar3 = *(undefined8 *)(piVar2 + 2);\n      *piVar5 = param_3;\n      piVar5[1] = param_4;\n      *(undefined8 *)(piVar5 + 2) = uVar3;\n      *(int **)(piVar2 + 2) = piVar5;\n      return;\n    }\n    *piVar2 = param_3;\n    piVar2[1] = param_4;\n  }" ({ "{") (expression_statement "piVar2 = *(int **)(lVar4 + 0x18);" (assignment_expression "piVar2 = *(int **)(lVar4 + 0x18)" (identifier "piVar2") (= "=") (pointer_expression "*(int **)(lVar4 + 0x18)" (* "*") (cast_expression "(int **)(lVar4 + 0x18)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(lVar4 + 0x18)" (( "(") (binary_expression "lVar4 + 0x18" (identifier "lVar4") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" (identifier "iVar1") (= "=") (pointer_expression "*piVar2" (* "*") (identifier "piVar2"))) (; ";")) (expression_statement "piVar5 = piVar2;" (assignment_expression "piVar5 = piVar2" (identifier "piVar5") (= "=") (identifier "piVar2")) (; ";")) (if_statement "if (iVar1 != -1) {\n      while( true ) {\n        if (param_3 == iVar1) {\n          piVar5[1] = param_4;\n          return;\n        }\n        piVar5 = *(int **)(piVar5 + 2);\n        if (piVar5 == (int *)0x0) break;\n        iVar1 = *piVar5;\n      }\n      piVar5 = (int *)FUN_002d9490(0x10);\n      uVar3 = *(undefined8 *)(piVar2 + 2);\n      *piVar5 = param_3;\n      piVar5[1] = param_4;\n      *(undefined8 *)(piVar5 + 2) = uVar3;\n      *(int **)(piVar2 + 2) = piVar5;\n      return;\n    }" (if "if") (parenthesized_expression "(iVar1 != -1)" (( "(") (binary_expression "iVar1 != -1" (identifier "iVar1") (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n      while( true ) {\n        if (param_3 == iVar1) {\n          piVar5[1] = param_4;\n          return;\n        }\n        piVar5 = *(int **)(piVar5 + 2);\n        if (piVar5 == (int *)0x0) break;\n        iVar1 = *piVar5;\n      }\n      piVar5 = (int *)FUN_002d9490(0x10);\n      uVar3 = *(undefined8 *)(piVar2 + 2);\n      *piVar5 = param_3;\n      piVar5[1] = param_4;\n      *(undefined8 *)(piVar5 + 2) = uVar3;\n      *(int **)(piVar2 + 2) = piVar5;\n      return;\n    }" ({ "{") (while_statement "while( true ) {\n        if (param_3 == iVar1) {\n          piVar5[1] = param_4;\n          return;\n        }\n        piVar5 = *(int **)(piVar5 + 2);\n        if (piVar5 == (int *)0x0) break;\n        iVar1 = *piVar5;\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        if (param_3 == iVar1) {\n          piVar5[1] = param_4;\n          return;\n        }\n        piVar5 = *(int **)(piVar5 + 2);\n        if (piVar5 == (int *)0x0) break;\n        iVar1 = *piVar5;\n      }" ({ "{") (if_statement "if (param_3 == iVar1) {\n          piVar5[1] = param_4;\n          return;\n        }" (if "if") (parenthesized_expression "(param_3 == iVar1)" (( "(") (binary_expression "param_3 == iVar1" (identifier "param_3") (== "==") (identifier "iVar1")) () ")")) (compound_statement "{\n          piVar5[1] = param_4;\n          return;\n        }" ({ "{") (expression_statement "piVar5[1] = param_4;" (assignment_expression "piVar5[1] = param_4" (subscript_expression "piVar5[1]" (identifier "piVar5") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_4")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "piVar5 = *(int **)(piVar5 + 2);" (assignment_expression "piVar5 = *(int **)(piVar5 + 2)" (identifier "piVar5") (= "=") (pointer_expression "*(int **)(piVar5 + 2)" (* "*") (cast_expression "(int **)(piVar5 + 2)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(piVar5 + 2)" (( "(") (binary_expression "piVar5 + 2" (identifier "piVar5") (+ "+") (number_literal "2")) () ")"))))) (; ";")) (if_statement "if (piVar5 == (int *)0x0) break;" (if "if") (parenthesized_expression "(piVar5 == (int *)0x0)" (( "(") (binary_expression "piVar5 == (int *)0x0" (identifier "piVar5") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar1 = *piVar5;" (assignment_expression "iVar1 = *piVar5" (identifier "iVar1") (= "=") (pointer_expression "*piVar5" (* "*") (identifier "piVar5"))) (; ";")) (} "}"))) (expression_statement "piVar5 = (int *)FUN_002d9490(0x10);" (assignment_expression "piVar5 = (int *)FUN_002d9490(0x10)" (identifier "piVar5") (= "=") (cast_expression "(int *)FUN_002d9490(0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_002d9490(0x10)" (identifier "FUN_002d9490") (argument_list "(0x10)" (( "(") (number_literal "0x10") () ")"))))) (; ";")) (expression_statement "uVar3 = *(undefined8 *)(piVar2 + 2);" (assignment_expression "uVar3 = *(undefined8 *)(piVar2 + 2)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined8 *)(piVar2 + 2)" (* "*") (cast_expression "(undefined8 *)(piVar2 + 2)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar2 + 2)" (( "(") (binary_expression "piVar2 + 2" (identifier "piVar2") (+ "+") (number_literal "2")) () ")"))))) (; ";")) (expression_statement "*piVar5 = param_3;" (assignment_expression "*piVar5 = param_3" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (= "=") (identifier "param_3")) (; ";")) (expression_statement "piVar5[1] = param_4;" (assignment_expression "piVar5[1] = param_4" (subscript_expression "piVar5[1]" (identifier "piVar5") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_4")) (; ";")) (expression_statement "*(undefined8 *)(piVar5 + 2) = uVar3;" (assignment_expression "*(undefined8 *)(piVar5 + 2) = uVar3" (pointer_expression "*(undefined8 *)(piVar5 + 2)" (* "*") (cast_expression "(undefined8 *)(piVar5 + 2)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar5 + 2)" (( "(") (binary_expression "piVar5 + 2" (identifier "piVar5") (+ "+") (number_literal "2")) () ")")))) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "*(int **)(piVar2 + 2) = piVar5;" (assignment_expression "*(int **)(piVar2 + 2) = piVar5" (pointer_expression "*(int **)(piVar2 + 2)" (* "*") (cast_expression "(int **)(piVar2 + 2)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(piVar2 + 2)" (( "(") (binary_expression "piVar2 + 2" (identifier "piVar2") (+ "+") (number_literal "2")) () ")")))) (= "=") (identifier "piVar5")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "*piVar2 = param_3;" (assignment_expression "*piVar2 = param_3" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (= "=") (identifier "param_3")) (; ";")) (expression_statement "piVar2[1] = param_4;" (assignment_expression "piVar2[1] = param_4" (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_4")) (; ";")) (} "}")))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* DWARF original prototype: void do_set_local_got_offset(Sized_relobj<32,_false> * this, uint
   symndx, uint got_type, uint got_offset, uint64_t addend) */

void __thiscall
gold::Sized_relobj<32,var_2>::do_set_local_got_offset
          (Sized_relobj<32,var_2> *this,type_3 symndx,type_3 var_13,type_3 got_offset,uint64_t addend)

{
  type_3 *var_15;
  type_1 uVar2;
  type_2 iVar3;
  type_3 *var_14;
  type_3 var_12;
  pair<std::__detail::_Node_iterator<std::pair<const_gold::type_4,type_7::var_1*>,var_2,var_3>,var_4>
  var_5;
  type_4 key;
  type_3 local_38 [2];
  uint64_t local_30;
  type_3 *local_28;
  
  key.symndx_ = symndx;
  key.addend_ = addend;
  iVar3 = std::
          type_5<gold::type_4,type_6::pair<const_gold::type_4,type_7::var_1*>,type_6::allocator<std::pair<const_gold::type_4,type_7::var_1*>var_9>,type_6::var_8::_Select1st,type_7::type_4::equal_to,type_7::type_4::hash,type_6::var_8::_Mod_range_hashing,type_6::var_8::_Default_ranged_hash,type_6::var_8::_Prime_rehash_policy,type_6::var_8::var_10<true,var_2,var_3>var_9>
          ::function_1((type_5<gold::type_4,type_6::pair<const_gold::type_4,type_7::var_1*>,type_6::allocator<std::pair<const_gold::type_4,type_7::var_1*>var_9>,type_6::var_8::_Select1st,type_7::type_4::equal_to,type_7::type_4::hash,type_6::var_8::_Mod_range_hashing,type_6::var_8::_Default_ranged_hash,type_6::var_8::_Prime_rehash_policy,type_6::var_8::var_10<true,var_2,var_3>var_9>
                  *)&this->local_got_offsets_,&key);
  if (iVar3.
      super__Node_iterator_base<std::pair<const_gold::type_4,type_7::var_1*>,var_3>
      .var_6 == (type_8 *)0x0) {
    local_28 = (type_3 *)var_7(0x10);
    *local_28 = var_13;
    local_28[1] = got_offset;
    local_28[2] = 0;
    local_28[3] = 0;
    local_38[0] = key.symndx_;
    local_30 = key.addend_;
    var_5 = std::
            type_5<gold::type_4,type_6::pair<const_gold::type_4,type_7::var_1*>,type_6::allocator<std::pair<const_gold::type_4,type_7::var_1*>var_9>,type_6::__detail::_Select1st,type_7::Local_got_entry_key::equal_to,type_7::Local_got_entry_key::hash,type_6::__detail::_Mod_range_hashing,type_6::__detail::_Default_ranged_hash,type_6::__detail::_Prime_rehash_policy,type_6::var_8::var_10<true,var_2,var_3>var_9>
            ::_M_emplace<std::pair<gold::type_4,type_7::var_1*>var_9>
                      ((type_5<gold::type_4,type_6::pair<const_gold::type_4,type_7::var_1*>,type_6::allocator<std::pair<const_gold::type_4,type_7::var_1*>var_9>,type_6::var_8::_Select1st,type_7::type_4::equal_to,type_7::type_4::hash,type_6::var_8::_Mod_range_hashing,type_6::var_8::_Default_ranged_hash,type_6::var_8::_Prime_rehash_policy,type_6::var_8::var_10<true,var_2,var_3>var_9>
                        *)&this->local_got_offsets_,local_38);
    if (var_5.second == false) {
                    /* WARNING: Subroutine does not return */
      var_11("../../gold/object.h",0x852,"do_set_local_got_offset");
    }
  }
  else {
    var_15 = *(type_3 **)((long)iVar3.
                              super__Node_iterator_base<std::pair<const_gold::type_4,type_7::var_1*>,var_3>
                              .var_6 + 0x18);
    var_12 = *var_15;
    var_14 = var_15;
    if (var_12 != 0xffffffff) {
      while( true ) {
        if (var_13 == var_12) {
          var_14[1] = got_offset;
          return;
        }
        var_14 = *(type_3 **)(var_14 + 2);
        if (var_14 == (type_3 *)0x0) break;
        var_12 = *var_14;
      }
      var_14 = (type_3 *)var_7(0x10);
      uVar2 = *(type_1 *)(var_15 + 2);
      *var_14 = var_13;
      var_14[1] = got_offset;
      *(type_1 *)(var_14 + 2) = uVar2;
      *(type_3 **)(var_15 + 2) = var_14;
      return;
    }
    *var_15 = var_13;
    var_15[1] = got_offset;
  }
  return;
}


(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: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier))))) (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: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content)))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (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: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (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: (identifier) right: (number_literal))))) right: (identifier))) (return_statement))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier)))))) (return_statement))))

void MASKED(long param_1,undefined4 param_2,int param_3,int param_4,undefined8 param_5)

{
  int iVar1;
  int *piVar2;
  undefined8 uVar3;
  long lVar4;
  int *piVar5;
  char extraout_DL;
  undefined4 local_48 [2];
  undefined8 local_40;
  undefined4 local_38 [2];
  undefined8 local_30;
  int *local_28;
  
  local_48[0] = param_2;
  local_40 = param_5;
  lVar4 = FUN_00169db0(param_1 + 0xa8,local_48);
  if (lVar4 == 0) {
    local_28 = (int *)FUN_002d9490(0x10);
    *local_28 = param_3;
    local_28[1] = param_4;
    local_28[2] = 0;
    local_28[3] = 0;
    local_38[0] = local_48[0];
    local_30 = local_40;
    FUN_0016a3f0(param_1 + 0xa8,local_38);
    if (extraout_DL == '\0') {
                    /* WARNING: Subroutine does not return */
      FUN_0017c650("../../gold/object.h",0x852,"do_set_local_got_offset");
    }
  }
  else {
    piVar2 = *(int **)(lVar4 + 0x18);
    iVar1 = *piVar2;
    piVar5 = piVar2;
    if (iVar1 != -1) {
      while( true ) {
        if (param_3 == iVar1) {
          piVar5[1] = param_4;
          return;
        }
        piVar5 = *(int **)(piVar5 + 2);
        if (piVar5 == (int *)0x0) break;
        iVar1 = *piVar5;
      }
      piVar5 = (int *)FUN_002d9490(0x10);
      uVar3 = *(undefined8 *)(piVar2 + 2);
      *piVar5 = param_3;
      piVar5[1] = param_4;
      *(undefined8 *)(piVar5 + 2) = uVar3;
      *(int **)(piVar2 + 2) = piVar5;
      return;
    }
    *piVar2 = param_3;
    piVar2[1] = param_4;
  }
  return;
}

