
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* DWARF original prototype: void enter_set(Dwp_index * this, uint slot, Unit_set * set) */

void __thiscall gold::Dwp_output_file::Dwp_index::enter_set(Dwp_index *this,uint slot,Unit_set *set)

{
  uint64_t *puVar1;
  iterator __position;
  pointer ppUVar2;
  uint32_t *puVar3;
  uint64_t uVar4;
  Unit_set **ppUVar5;
  uint uVar6;
  int iVar7;
  
  if (this->capacity_ <= slot) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/dwp.cc",0x6e2,"enter_set");
  }
  __position._M_current =
       (this->section_table_).
       super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>._M_impl.
       _M_finish;
  if (__position._M_current ==
      (this->section_table_).
      super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>._M_impl.
      _M_end_of_storage) {
    std::vector<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>::
    _M_realloc_insert<const_gold::Unit_set*_const&>(&this->section_table_,__position,&set);
    ppUVar5 = (this->section_table_).
              super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>.
              _M_impl._M_finish;
  }
  else {
    ppUVar5 = __position._M_current + 1;
    *__position._M_current = set;
    (this->section_table_).
    super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>._M_impl.
    _M_finish = ppUVar5;
  }
  ppUVar2 = (this->section_table_).
            super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>.
            _M_impl._M_start;
  iVar7 = 1;
  do {
    if (set->sections[iVar7].size != 0) {
      this->section_mask_ = this->section_mask_ | 1 << ((byte)iVar7 & 0x1f);
    }
    iVar7 = iVar7 + 1;
  } while (iVar7 != 9);
  puVar1 = this->hash_table_ + slot;
  if (*(int *)((int)puVar1 + 4) == 0 && (int)*puVar1 == 0) {
    uVar4 = set->signature;
    *(int *)((int)puVar1 + 4) = *(int *)((int)&set->signature + 4);
    puVar3 = this->index_table_;
    *(int *)puVar1 = (int)uVar4;
    puVar3[slot] = (int)ppUVar5 - (int)ppUVar2 >> 2;
    uVar6 = this->used_ + 1;
    this->used_ = uVar6;
    if (uVar6 * 3 <= this->capacity_ * 2) {
      return;
    }
    grow(this);
    return;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/dwp.cc",0x6ee,"enter_set");
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

void FUN_00037700(uint *param_1,uint param_2,int *param_3)

{
  int *piVar1;
  undefined4 *puVar2;
  uint uVar3;
  undefined4 *puVar4;
  int iVar5;
  int iVar6;
  
  if (*param_1 <= param_2) {
                    /* WARNING: Subroutine does not return */
    FUN_00069d00("../../gold/dwp.cc",0x6e2,"enter_set",&__DT_PLTGOT);
  }
  puVar2 = (undefined4 *)param_1[5];
  if (puVar2 == (undefined4 *)param_1[6]) {
    FUN_0004bd70(param_1 + 4,puVar2,&param_3);
    puVar4 = (undefined4 *)param_1[5];
  }
  else {
    puVar4 = puVar2 + 1;
    *puVar2 = param_3;
    param_1[5] = (uint)puVar4;
  }
  iVar6 = 1;
  iVar5 = (int)((int)puVar4 - param_1[4]) >> 2;
  do {
    if (param_3[iVar6 * 2 + 3] != 0) {
      param_1[7] = param_1[7] | 1 << ((byte)iVar6 & 0x1f);
    }
    iVar6 = iVar6 + 1;
  } while (iVar6 != 9);
  piVar1 = (int *)(param_1[2] + param_2 * 8);
  if (piVar1[1] == 0 && *piVar1 == 0) {
    iVar6 = *param_3;
    piVar1[1] = param_3[1];
    uVar3 = param_1[3];
    *piVar1 = iVar6;
    *(int *)(uVar3 + param_2 * 4) = iVar5;
    uVar3 = param_1[1];
    param_1[1] = uVar3 + 1;
    if ((uVar3 + 1) * 3 <= *param_1 * 2) {
      return;
    }
    FUN_00036040(param_1);
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/dwp.cc",0x6ee,"enter_set",iVar5);
}


CALL 0x000559e6
ADD EAX,0x3578fb
PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x1c
MOV EBX,dword ptr [ESP + 0x30]
MOV EDI,dword ptr [ESP + 0x34]
MOV dword ptr [ESP + 0xc],EAX
CMP dword ptr [EBX],EDI
JBE 0x000377e5
MOV EAX,dword ptr [EBX + 0x14]
CMP EAX,dword ptr [EBX + 0x18]
JZ 0x000377c8
MOV EDX,dword ptr [ESP + 0x38]
ADD EAX,0x4
MOV dword ptr [EAX + -0x4],EDX
MOV dword ptr [EBX + 0x14],EAX
SUB EAX,dword ptr [EBX + 0x10]
MOV EDX,dword ptr [ESP + 0x38]
MOV ECX,0x1
MOV ESI,0x1
SAR EAX,0x2
LEA ESI,[ESI]
MOV EBP,dword ptr [EDX + ECX*0x8 + 0xc]
TEST EBP,EBP
JZ 0x00037767
MOV EBP,ESI
SHL EBP,CL
OR dword ptr [EBX + 0x1c],EBP
ADD ECX,0x1
CMP ECX,0x9
JNZ 0x00037758
MOV ECX,dword ptr [EBX + 0x8]
MOV EBP,EAX
LEA ECX,[ECX + EDI*0x8]
MOV ESI,dword ptr [ECX + 0x4]
OR ESI,dword ptr [ECX]
JNZ 0x00037802
MOV EAX,dword ptr [EDX]
MOV EDX,dword ptr [EDX + 0x4]
MOV dword ptr [ECX + 0x4],EDX
MOV EDX,dword ptr [EBX + 0xc]
MOV dword ptr [ECX],EAX
MOV dword ptr [EDX + EDI*0x4],EBP
MOV EAX,dword ptr [EBX + 0x4]
ADD EAX,0x1
MOV dword ptr [EBX + 0x4],EAX
LEA EDX,[EAX + EAX*0x2]
MOV EAX,dword ptr [EBX]
ADD EAX,EAX
CMP EDX,EAX
JA 0x000377b0
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
PUSH EBX
CALL 0x00036040
ADD ESP,0x10
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x4
LEA EDX,[ESP + 0x3c]
PUSH EDX
PUSH EAX
LEA EAX,[EBX + 0x10]
PUSH EAX
CALL 0x0004bd70
MOV EAX,dword ptr [EBX + 0x14]
ADD ESP,0x10
JMP 0x0003773e
PUSH EAX
MOV EBX,dword ptr [ESP + 0x10]
LEA EAX,[EBX + 0xffef1b1c]
PUSH EAX
LEA EAX,[EBX + 0xffef1008]
PUSH 0x6e2
PUSH EAX
CALL 0x00069d00
PUSH EAX
MOV EBX,dword ptr [ESP + 0x10]
LEA EAX,[EBX + 0xffef1b1c]
PUSH EAX
LEA EAX,[EBX + 0xffef1008]
PUSH 0x6ee
PUSH EAX
CALL 0x00069d00
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nvoid FUN_00037700(uint *param_1,uint param_2,int *param_3)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  int iVar6;\n  \n  if (*param_1 <= param_2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/dwp.cc",0x6e2,"enter_set",&__DT_PLTGOT);\n  }\n  puVar2 = (undefined4 *)param_1[5];\n  if (puVar2 == (undefined4 *)param_1[6]) {\n    FUN_0004bd70(param_1 + 4,puVar2,&param_3);\n    puVar4 = (undefined4 *)param_1[5];\n  }\n  else {\n    puVar4 = puVar2 + 1;\n    *puVar2 = param_3;\n    param_1[5] = (uint)puVar4;\n  }\n  iVar6 = 1;\n  iVar5 = (int)((int)puVar4 - param_1[4]) >> 2;\n  do {\n    if (param_3[iVar6 * 2 + 3] != 0) {\n      param_1[7] = param_1[7] | 1 << ((byte)iVar6 & 0x1f);\n    }\n    iVar6 = iVar6 + 1;\n  } while (iVar6 != 9);\n  piVar1 = (int *)(param_1[2] + param_2 * 8);\n  if (piVar1[1] == 0 && *piVar1 == 0) {\n    iVar6 = *param_3;\n    piVar1[1] = param_3[1];\n    uVar3 = param_1[3];\n    *piVar1 = iVar6;\n    *(int *)(uVar3 + param_2 * 4) = iVar5;\n    uVar3 = param_1[1];\n    param_1[1] = uVar3 + 1;\n    if ((uVar3 + 1) * 3 <= *param_1 * 2) {\n      return;\n    }\n    FUN_00036040(param_1);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/dwp.cc",0x6ee,"enter_set",iVar5);\n}\n\n" comment (function_definition "void FUN_00037700(uint *param_1,uint param_2,int *param_3)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  int iVar6;\n  \n  if (*param_1 <= param_2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/dwp.cc",0x6e2,"enter_set",&__DT_PLTGOT);\n  }\n  puVar2 = (undefined4 *)param_1[5];\n  if (puVar2 == (undefined4 *)param_1[6]) {\n    FUN_0004bd70(param_1 + 4,puVar2,&param_3);\n    puVar4 = (undefined4 *)param_1[5];\n  }\n  else {\n    puVar4 = puVar2 + 1;\n    *puVar2 = param_3;\n    param_1[5] = (uint)puVar4;\n  }\n  iVar6 = 1;\n  iVar5 = (int)((int)puVar4 - param_1[4]) >> 2;\n  do {\n    if (param_3[iVar6 * 2 + 3] != 0) {\n      param_1[7] = param_1[7] | 1 << ((byte)iVar6 & 0x1f);\n    }\n    iVar6 = iVar6 + 1;\n  } while (iVar6 != 9);\n  piVar1 = (int *)(param_1[2] + param_2 * 8);\n  if (piVar1[1] == 0 && *piVar1 == 0) {\n    iVar6 = *param_3;\n    piVar1[1] = param_3[1];\n    uVar3 = param_1[3];\n    *piVar1 = iVar6;\n    *(int *)(uVar3 + param_2 * 4) = iVar5;\n    uVar3 = param_1[1];\n    param_1[1] = uVar3 + 1;\n    if ((uVar3 + 1) * 3 <= *param_1 * 2) {\n      return;\n    }\n    FUN_00036040(param_1);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/dwp.cc",0x6ee,"enter_set",iVar5);\n}" primitive_type (function_declarator "FUN_00037700(uint *param_1,uint param_2,int *param_3)" identifier (parameter_list "(uint *param_1,uint param_2,int *param_3)" ( (parameter_declaration "uint *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  undefined4 *puVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  int iVar6;\n  \n  if (*param_1 <= param_2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/dwp.cc",0x6e2,"enter_set",&__DT_PLTGOT);\n  }\n  puVar2 = (undefined4 *)param_1[5];\n  if (puVar2 == (undefined4 *)param_1[6]) {\n    FUN_0004bd70(param_1 + 4,puVar2,&param_3);\n    puVar4 = (undefined4 *)param_1[5];\n  }\n  else {\n    puVar4 = puVar2 + 1;\n    *puVar2 = param_3;\n    param_1[5] = (uint)puVar4;\n  }\n  iVar6 = 1;\n  iVar5 = (int)((int)puVar4 - param_1[4]) >> 2;\n  do {\n    if (param_3[iVar6 * 2 + 3] != 0) {\n      param_1[7] = param_1[7] | 1 << ((byte)iVar6 & 0x1f);\n    }\n    iVar6 = iVar6 + 1;\n  } while (iVar6 != 9);\n  piVar1 = (int *)(param_1[2] + param_2 * 8);\n  if (piVar1[1] == 0 && *piVar1 == 0) {\n    iVar6 = *param_3;\n    piVar1[1] = param_3[1];\n    uVar3 = param_1[3];\n    *piVar1 = iVar6;\n    *(int *)(uVar3 + param_2 * 4) = iVar5;\n    uVar3 = param_1[1];\n    param_1[1] = uVar3 + 1;\n    if ((uVar3 + 1) * 3 <= *param_1 * 2) {\n      return;\n    }\n    FUN_00036040(param_1);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/dwp.cc",0x6ee,"enter_set",iVar5);\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (if_statement "if (*param_1 <= param_2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/dwp.cc",0x6e2,"enter_set",&__DT_PLTGOT);\n  }" if (parenthesized_expression "(*param_1 <= param_2)" ( (binary_expression "*param_1 <= param_2" (pointer_expression "*param_1" * identifier) <= identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/dwp.cc",0x6e2,"enter_set",&__DT_PLTGOT);\n  }" { comment (expression_statement "FUN_00069d00("../../gold/dwp.cc",0x6e2,"enter_set",&__DT_PLTGOT);" (call_expression "FUN_00069d00("../../gold/dwp.cc",0x6e2,"enter_set",&__DT_PLTGOT)" identifier (argument_list "("../../gold/dwp.cc",0x6e2,"enter_set",&__DT_PLTGOT)" ( (string_literal ""../../gold/dwp.cc"" " string_content ") , number_literal , (string_literal ""enter_set"" " string_content ") , (pointer_expression "&__DT_PLTGOT" & identifier) ))) ;) })) (expression_statement "puVar2 = (undefined4 *)param_1[5];" (assignment_expression "puVar2 = (undefined4 *)param_1[5]" identifier = (cast_expression "(undefined4 *)param_1[5]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[5]" identifier [ number_literal ]))) ;) (if_statement "if (puVar2 == (undefined4 *)param_1[6]) {\n    FUN_0004bd70(param_1 + 4,puVar2,&param_3);\n    puVar4 = (undefined4 *)param_1[5];\n  }\n  else {\n    puVar4 = puVar2 + 1;\n    *puVar2 = param_3;\n    param_1[5] = (uint)puVar4;\n  }" if (parenthesized_expression "(puVar2 == (undefined4 *)param_1[6])" ( (binary_expression "puVar2 == (undefined4 *)param_1[6]" identifier == (cast_expression "(undefined4 *)param_1[6]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[6]" identifier [ number_literal ]))) )) (compound_statement "{\n    FUN_0004bd70(param_1 + 4,puVar2,&param_3);\n    puVar4 = (undefined4 *)param_1[5];\n  }" { (expression_statement "FUN_0004bd70(param_1 + 4,puVar2,&param_3);" (call_expression "FUN_0004bd70(param_1 + 4,puVar2,&param_3)" identifier (argument_list "(param_1 + 4,puVar2,&param_3)" ( (binary_expression "param_1 + 4" identifier + number_literal) , identifier , (pointer_expression "&param_3" & identifier) ))) ;) (expression_statement "puVar4 = (undefined4 *)param_1[5];" (assignment_expression "puVar4 = (undefined4 *)param_1[5]" identifier = (cast_expression "(undefined4 *)param_1[5]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[5]" identifier [ number_literal ]))) ;) }) (else_clause "else {\n    puVar4 = puVar2 + 1;\n    *puVar2 = param_3;\n    param_1[5] = (uint)puVar4;\n  }" else (compound_statement "{\n    puVar4 = puVar2 + 1;\n    *puVar2 = param_3;\n    param_1[5] = (uint)puVar4;\n  }" { (expression_statement "puVar4 = puVar2 + 1;" (assignment_expression "puVar4 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) (expression_statement "*puVar2 = param_3;" (assignment_expression "*puVar2 = param_3" (pointer_expression "*puVar2" * identifier) = identifier) ;) (expression_statement "param_1[5] = (uint)puVar4;" (assignment_expression "param_1[5] = (uint)puVar4" (subscript_expression "param_1[5]" identifier [ number_literal ]) = (cast_expression "(uint)puVar4" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) }))) (expression_statement "iVar6 = 1;" (assignment_expression "iVar6 = 1" identifier = number_literal) ;) (expression_statement "iVar5 = (int)((int)puVar4 - param_1[4]) >> 2;" (assignment_expression "iVar5 = (int)((int)puVar4 - param_1[4]) >> 2" identifier = (binary_expression "(int)((int)puVar4 - param_1[4]) >> 2" (cast_expression "(int)((int)puVar4 - param_1[4])" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((int)puVar4 - param_1[4])" ( (binary_expression "(int)puVar4 - param_1[4]" (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier) - (subscript_expression "param_1[4]" identifier [ number_literal ])) ))) >> number_literal)) ;) (do_statement "do {\n    if (param_3[iVar6 * 2 + 3] != 0) {\n      param_1[7] = param_1[7] | 1 << ((byte)iVar6 & 0x1f);\n    }\n    iVar6 = iVar6 + 1;\n  } while (iVar6 != 9);" do (compound_statement "{\n    if (param_3[iVar6 * 2 + 3] != 0) {\n      param_1[7] = param_1[7] | 1 << ((byte)iVar6 & 0x1f);\n    }\n    iVar6 = iVar6 + 1;\n  }" { (if_statement "if (param_3[iVar6 * 2 + 3] != 0) {\n      param_1[7] = param_1[7] | 1 << ((byte)iVar6 & 0x1f);\n    }" if (parenthesized_expression "(param_3[iVar6 * 2 + 3] != 0)" ( (binary_expression "param_3[iVar6 * 2 + 3] != 0" (subscript_expression "param_3[iVar6 * 2 + 3]" identifier [ (binary_expression "iVar6 * 2 + 3" (binary_expression "iVar6 * 2" identifier * number_literal) + number_literal) ]) != number_literal) )) (compound_statement "{\n      param_1[7] = param_1[7] | 1 << ((byte)iVar6 & 0x1f);\n    }" { (expression_statement "param_1[7] = param_1[7] | 1 << ((byte)iVar6 & 0x1f);" (assignment_expression "param_1[7] = param_1[7] | 1 << ((byte)iVar6 & 0x1f)" (subscript_expression "param_1[7]" identifier [ number_literal ]) = (binary_expression "param_1[7] | 1 << ((byte)iVar6 & 0x1f)" (subscript_expression "param_1[7]" identifier [ number_literal ]) | (binary_expression "1 << ((byte)iVar6 & 0x1f)" number_literal << (parenthesized_expression "((byte)iVar6 & 0x1f)" ( (binary_expression "(byte)iVar6 & 0x1f" (cast_expression "(byte)iVar6" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) ))))) ;) })) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar6 != 9)" ( (binary_expression "iVar6 != 9" identifier != number_literal) )) ;) (expression_statement "piVar1 = (int *)(param_1[2] + param_2 * 8);" (assignment_expression "piVar1 = (int *)(param_1[2] + param_2 * 8)" identifier = (cast_expression "(int *)(param_1[2] + param_2 * 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[2] + param_2 * 8)" ( (binary_expression "param_1[2] + param_2 * 8" (subscript_expression "param_1[2]" identifier [ number_literal ]) + (binary_expression "param_2 * 8" identifier * number_literal)) )))) ;) (if_statement "if (piVar1[1] == 0 && *piVar1 == 0) {\n    iVar6 = *param_3;\n    piVar1[1] = param_3[1];\n    uVar3 = param_1[3];\n    *piVar1 = iVar6;\n    *(int *)(uVar3 + param_2 * 4) = iVar5;\n    uVar3 = param_1[1];\n    param_1[1] = uVar3 + 1;\n    if ((uVar3 + 1) * 3 <= *param_1 * 2) {\n      return;\n    }\n    FUN_00036040(param_1);\n    return;\n  }" if (parenthesized_expression "(piVar1[1] == 0 && *piVar1 == 0)" ( (binary_expression "piVar1[1] == 0 && *piVar1 == 0" (binary_expression "piVar1[1] == 0" (subscript_expression "piVar1[1]" identifier [ number_literal ]) == number_literal) && (binary_expression "*piVar1 == 0" (pointer_expression "*piVar1" * identifier) == number_literal)) )) (compound_statement "{\n    iVar6 = *param_3;\n    piVar1[1] = param_3[1];\n    uVar3 = param_1[3];\n    *piVar1 = iVar6;\n    *(int *)(uVar3 + param_2 * 4) = iVar5;\n    uVar3 = param_1[1];\n    param_1[1] = uVar3 + 1;\n    if ((uVar3 + 1) * 3 <= *param_1 * 2) {\n      return;\n    }\n    FUN_00036040(param_1);\n    return;\n  }" { (expression_statement "iVar6 = *param_3;" (assignment_expression "iVar6 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "piVar1[1] = param_3[1];" (assignment_expression "piVar1[1] = param_3[1]" (subscript_expression "piVar1[1]" identifier [ number_literal ]) = (subscript_expression "param_3[1]" identifier [ number_literal ])) ;) (expression_statement "uVar3 = param_1[3];" (assignment_expression "uVar3 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "*piVar1 = iVar6;" (assignment_expression "*piVar1 = iVar6" (pointer_expression "*piVar1" * identifier) = identifier) ;) (expression_statement "*(int *)(uVar3 + param_2 * 4) = iVar5;" (assignment_expression "*(int *)(uVar3 + param_2 * 4) = iVar5" (pointer_expression "*(int *)(uVar3 + param_2 * 4)" * (cast_expression "(int *)(uVar3 + param_2 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar3 + param_2 * 4)" ( (binary_expression "uVar3 + param_2 * 4" identifier + (binary_expression "param_2 * 4" identifier * number_literal)) )))) = identifier) ;) (expression_statement "uVar3 = param_1[1];" (assignment_expression "uVar3 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "param_1[1] = uVar3 + 1;" (assignment_expression "param_1[1] = uVar3 + 1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "uVar3 + 1" identifier + number_literal)) ;) (if_statement "if ((uVar3 + 1) * 3 <= *param_1 * 2) {\n      return;\n    }" if (parenthesized_expression "((uVar3 + 1) * 3 <= *param_1 * 2)" ( (binary_expression "(uVar3 + 1) * 3 <= *param_1 * 2" (binary_expression "(uVar3 + 1) * 3" (parenthesized_expression "(uVar3 + 1)" ( (binary_expression "uVar3 + 1" identifier + number_literal) )) * number_literal) <= (binary_expression "*param_1 * 2" (pointer_expression "*param_1" * identifier) * number_literal)) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "FUN_00036040(param_1);" (call_expression "FUN_00036040(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_00069d00("../../gold/dwp.cc",0x6ee,"enter_set",iVar5);" (call_expression "FUN_00069d00("../../gold/dwp.cc",0x6ee,"enter_set",iVar5)" identifier (argument_list "("../../gold/dwp.cc",0x6ee,"enter_set",iVar5)" ( (string_literal ""../../gold/dwp.cc"" " string_content ") , number_literal , (string_literal ""enter_set"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* DWARF original prototype: void enter_set(Dwp_index * this, uint slot, Unit_set * set) */\n\nvoid __thiscall gold::Dwp_output_file::Dwp_index::enter_set(Dwp_index *this,uint slot,Unit_set *set)\n\n{\n  uint64_t *puVar1;\n  iterator __position;\n  pointer ppUVar2;\n  uint32_t *puVar3;\n  uint64_t uVar4;\n  Unit_set **ppUVar5;\n  uint uVar6;\n  int iVar7;\n  \n  if (this->capacity_ <= slot) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/dwp.cc",0x6e2,"enter_set");\n  }\n  __position._M_current =\n       (this->section_table_).\n       super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>._M_impl.\n       _M_finish;\n  if (__position._M_current ==\n      (this->section_table_).\n      super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>._M_impl.\n      _M_end_of_storage) {\n    std::vector<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>::\n    _M_realloc_insert<const_gold::Unit_set*_const&>(&this->section_table_,__position,&set);\n    ppUVar5 = (this->section_table_).\n              super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>.\n              _M_impl._M_finish;\n  }\n  else {\n    ppUVar5 = __position._M_current + 1;\n    *__position._M_current = set;\n    (this->section_table_).\n    super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>._M_impl.\n    _M_finish = ppUVar5;\n  }\n  ppUVar2 = (this->section_table_).\n            super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>.\n            _M_impl._M_start;\n  iVar7 = 1;\n  do {\n    if (set->sections[iVar7].size != 0) {\n      this->section_mask_ = this->section_mask_ | 1 << ((byte)iVar7 & 0x1f);\n    }\n    iVar7 = iVar7 + 1;\n  } while (iVar7 != 9);\n  puVar1 = this->hash_table_ + slot;\n  if (*(int *)((int)puVar1 + 4) == 0 && (int)*puVar1 == 0) {\n    uVar4 = set->signature;\n    *(int *)((int)puVar1 + 4) = *(int *)((int)&set->signature + 4);\n    puVar3 = this->index_table_;\n    *(int *)puVar1 = (int)uVar4;\n    puVar3[slot] = (int)ppUVar5 - (int)ppUVar2 >> 2;\n    uVar6 = this->used_ + 1;\n    this->used_ = uVar6;\n    if (uVar6 * 3 <= this->capacity_ * 2) {\n      return;\n    }\n    grow(this);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/dwp.cc",0x6ee,"enter_set");\n}\n\n" comment comment (function_definition "void __thiscall gold::Dwp_output_file::Dwp_index::enter_set(Dwp_index *this,uint slot,Unit_set *set)\n\n{\n  uint64_t *puVar1;\n  iterator __position;\n  pointer ppUVar2;\n  uint32_t *puVar3;\n  uint64_t uVar4;\n  Unit_set **ppUVar5;\n  uint uVar6;\n  int iVar7;\n  \n  if (this->capacity_ <= slot) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/dwp.cc",0x6e2,"enter_set");\n  }\n  __position._M_current =\n       (this->section_table_).\n       super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>._M_impl.\n       _M_finish;\n  if (__position._M_current ==\n      (this->section_table_).\n      super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>._M_impl.\n      _M_end_of_storage) {\n    std::vector<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>::\n    _M_realloc_insert<const_gold::Unit_set*_const&>(&this->section_table_,__position,&set);\n    ppUVar5 = (this->section_table_).\n              super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>.\n              _M_impl._M_finish;\n  }\n  else {\n    ppUVar5 = __position._M_current + 1;\n    *__position._M_current = set;\n    (this->section_table_).\n    super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>._M_impl.\n    _M_finish = ppUVar5;\n  }\n  ppUVar2 = (this->section_table_).\n            super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>.\n            _M_impl._M_start;\n  iVar7 = 1;\n  do {\n    if (set->sections[iVar7].size != 0) {\n      this->section_mask_ = this->section_mask_ | 1 << ((byte)iVar7 & 0x1f);\n    }\n    iVar7 = iVar7 + 1;\n  } while (iVar7 != 9);\n  puVar1 = this->hash_table_ + slot;\n  if (*(int *)((int)puVar1 + 4) == 0 && (int)*puVar1 == 0) {\n    uVar4 = set->signature;\n    *(int *)((int)puVar1 + 4) = *(int *)((int)&set->signature + 4);\n    puVar3 = this->index_table_;\n    *(int *)puVar1 = (int)uVar4;\n    puVar3[slot] = (int)ppUVar5 - (int)ppUVar2 >> 2;\n    uVar6 = this->used_ + 1;\n    this->used_ = uVar6;\n    if (uVar6 * 3 <= this->capacity_ * 2) {\n      return;\n    }\n    grow(this);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/dwp.cc",0x6ee,"enter_set");\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Dwp_output_file::Dwp_index::" identifier : : identifier : : identifier : :) (function_declarator "enter_set(Dwp_index *this,uint slot,Unit_set *set)" identifier (parameter_list "(Dwp_index *this,uint slot,Unit_set *set)" ( (parameter_declaration "Dwp_index *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint slot" type_identifier identifier) , (parameter_declaration "Unit_set *set" type_identifier (pointer_declarator "*set" * identifier)) ))) (compound_statement "{\n  uint64_t *puVar1;\n  iterator __position;\n  pointer ppUVar2;\n  uint32_t *puVar3;\n  uint64_t uVar4;\n  Unit_set **ppUVar5;\n  uint uVar6;\n  int iVar7;\n  \n  if (this->capacity_ <= slot) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/dwp.cc",0x6e2,"enter_set");\n  }\n  __position._M_current =\n       (this->section_table_).\n       super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>._M_impl.\n       _M_finish;\n  if (__position._M_current ==\n      (this->section_table_).\n      super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>._M_impl.\n      _M_end_of_storage) {\n    std::vector<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>::\n    _M_realloc_insert<const_gold::Unit_set*_const&>(&this->section_table_,__position,&set);\n    ppUVar5 = (this->section_table_).\n              super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>.\n              _M_impl._M_finish;\n  }\n  else {\n    ppUVar5 = __position._M_current + 1;\n    *__position._M_current = set;\n    (this->section_table_).\n    super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>._M_impl.\n    _M_finish = ppUVar5;\n  }\n  ppUVar2 = (this->section_table_).\n            super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>.\n            _M_impl._M_start;\n  iVar7 = 1;\n  do {\n    if (set->sections[iVar7].size != 0) {\n      this->section_mask_ = this->section_mask_ | 1 << ((byte)iVar7 & 0x1f);\n    }\n    iVar7 = iVar7 + 1;\n  } while (iVar7 != 9);\n  puVar1 = this->hash_table_ + slot;\n  if (*(int *)((int)puVar1 + 4) == 0 && (int)*puVar1 == 0) {\n    uVar4 = set->signature;\n    *(int *)((int)puVar1 + 4) = *(int *)((int)&set->signature + 4);\n    puVar3 = this->index_table_;\n    *(int *)puVar1 = (int)uVar4;\n    puVar3[slot] = (int)ppUVar5 - (int)ppUVar2 >> 2;\n    uVar6 = this->used_ + 1;\n    this->used_ = uVar6;\n    if (uVar6 * 3 <= this->capacity_ * 2) {\n      return;\n    }\n    grow(this);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/dwp.cc",0x6ee,"enter_set");\n}" { (declaration "uint64_t *puVar1;" primitive_type (pointer_declarator "*puVar1" * identifier) ;) (declaration "iterator __position;" type_identifier identifier ;) (declaration "pointer ppUVar2;" type_identifier identifier ;) (declaration "uint32_t *puVar3;" primitive_type (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint64_t uVar4;" primitive_type identifier ;) (declaration "Unit_set **ppUVar5;" type_identifier (pointer_declarator "**ppUVar5" * (pointer_declarator "*ppUVar5" * identifier)) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (if_statement "if (this->capacity_ <= slot) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/dwp.cc",0x6e2,"enter_set");\n  }" if (parenthesized_expression "(this->capacity_ <= slot)" ( (binary_expression "this->capacity_ <= slot" (field_expression "this->capacity_" identifier -> field_identifier) <= identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/dwp.cc",0x6e2,"enter_set");\n  }" { comment (expression_statement "do_gold_unreachable("../../gold/dwp.cc",0x6e2,"enter_set");" (call_expression "do_gold_unreachable("../../gold/dwp.cc",0x6e2,"enter_set")" identifier (argument_list "("../../gold/dwp.cc",0x6e2,"enter_set")" ( (string_literal ""../../gold/dwp.cc"" " string_content ") , number_literal , (string_literal ""enter_set"" " string_content ") ))) ;) })) (expression_statement "__position._M_current =\n       (this->section_table_).\n       super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>._M_impl.\n       _M_finish;" (field_expression "__position._M_current =\n       (this->section_table_).\n       super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>._M_impl.\n       _M_finish" (field_expression "__position._M_current =\n       (this->section_table_).\n       super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>._M_impl" (binary_expression "__position._M_current =\n       (this->section_table_).\n       super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_" (binary_expression "__position._M_current =\n       (this->section_table_).\n       super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold" (binary_expression "__position._M_current =\n       (this->section_table_).\n       super__Vector_base<const_gold::Unit_set*,_std" (assignment_expression "__position._M_current =\n       (this->section_table_).\n       super__Vector_base<const_gold" (field_expression "__position._M_current" identifier . field_identifier) = (binary_expression "(this->section_table_).\n       super__Vector_base<const_gold" (field_expression "(this->section_table_).\n       super__Vector_base" (parenthesized_expression "(this->section_table_)" ( (field_expression "this->section_table_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Unit_set" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Unit_set" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (if_statement "if (__position._M_current ==\n      (this->section_table_).\n      super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>._M_impl.\n      _M_end_of_storage) {\n    std::vector<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>::\n    _M_realloc_insert<const_gold::Unit_set*_const&>(&this->section_table_,__position,&set);\n    ppUVar5 = (this->section_table_).\n              super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>.\n              _M_impl._M_finish;\n  }\n  else {\n    ppUVar5 = __position._M_current + 1;\n    *__position._M_current = set;\n    (this->section_table_).\n    super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>._M_impl.\n    _M_finish = ppUVar5;\n  }" if (parenthesized_expression "(__position._M_current ==\n      (this->section_table_).\n      super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>._M_impl.\n      _M_end_of_storage)" ( (field_expression "__position._M_current ==\n      (this->section_table_).\n      super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>._M_impl.\n      _M_end_of_storage" (field_expression "__position._M_current ==\n      (this->section_table_).\n      super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>._M_impl" (binary_expression "__position._M_current ==\n      (this->section_table_).\n      super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_" (binary_expression "__position._M_current ==\n      (this->section_table_).\n      super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold" (binary_expression "__position._M_current ==\n      (this->section_table_).\n      super__Vector_base<const_gold::Unit_set*,_std" (binary_expression "__position._M_current ==\n      (this->section_table_).\n      super__Vector_base<const_gold" (field_expression "__position._M_current" identifier . field_identifier) == (binary_expression "(this->section_table_).\n      super__Vector_base<const_gold" (field_expression "(this->section_table_).\n      super__Vector_base" (parenthesized_expression "(this->section_table_)" ( (field_expression "this->section_table_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Unit_set" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Unit_set" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) )) (compound_statement "{\n    std::vector<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>::\n    _M_realloc_insert<const_gold::Unit_set*_const&>(&this->section_table_,__position,&set);\n    ppUVar5 = (this->section_table_).\n              super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>.\n              _M_impl._M_finish;\n  }" { (ERROR "std::vector<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>::\n    _M_realloc_insert<const_gold::" (comma_expression "std::vector<const_gold::Unit_set*,_std" identifier (ERROR "::vector<const_gold::Unit_set*" : : (binary_expression "vector<const_gold" identifier < identifier) : : identifier *) , identifier) : : (binary_expression "allocator<const_gold" identifier < identifier) : : (binary_expression "Unit_set*>_>::\n    _M_realloc_insert<const_gold" (binary_expression "Unit_set*>_>::\n    _M_realloc_insert" (binary_expression "Unit_set*>_" identifier * (ERROR ">" >) identifier) > (ERROR "::" : :) identifier) < identifier) : :) (expression_statement "Unit_set*_const&>(&this->section_table_,__position,&set);" (binary_expression "Unit_set*_const&>(&this->section_table_,__position,&set)" (binary_expression "Unit_set*_const" identifier * identifier) (ERROR "&" &) > (parenthesized_expression "(&this->section_table_,__position,&set)" ( (comma_expression "&this->section_table_,__position,&set" (pointer_expression "&this->section_table_" & (field_expression "this->section_table_" identifier -> field_identifier)) , (comma_expression "__position,&set" identifier , (pointer_expression "&set" & identifier))) ))) ;) (expression_statement "ppUVar5 = (this->section_table_).\n              super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>.\n              _M_impl._M_finish;" (field_expression "ppUVar5 = (this->section_table_).\n              super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>.\n              _M_impl._M_finish" (field_expression "ppUVar5 = (this->section_table_).\n              super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>.\n              _M_impl" (binary_expression "ppUVar5 = (this->section_table_).\n              super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_" (binary_expression "ppUVar5 = (this->section_table_).\n              super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold" (binary_expression "ppUVar5 = (this->section_table_).\n              super__Vector_base<const_gold::Unit_set*,_std" (assignment_expression "ppUVar5 = (this->section_table_).\n              super__Vector_base<const_gold" identifier = (binary_expression "(this->section_table_).\n              super__Vector_base<const_gold" (field_expression "(this->section_table_).\n              super__Vector_base" (parenthesized_expression "(this->section_table_)" ( (field_expression "this->section_table_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Unit_set" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Unit_set" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) }) (else_clause "else {\n    ppUVar5 = __position._M_current + 1;\n    *__position._M_current = set;\n    (this->section_table_).\n    super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>._M_impl.\n    _M_finish = ppUVar5;\n  }" else (compound_statement "{\n    ppUVar5 = __position._M_current + 1;\n    *__position._M_current = set;\n    (this->section_table_).\n    super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>._M_impl.\n    _M_finish = ppUVar5;\n  }" { (expression_statement "ppUVar5 = __position._M_current + 1;" (assignment_expression "ppUVar5 = __position._M_current + 1" identifier = (binary_expression "__position._M_current + 1" (field_expression "__position._M_current" identifier . field_identifier) + number_literal)) ;) (expression_statement "*__position._M_current = set;" (assignment_expression "*__position._M_current = set" (pointer_expression "*__position._M_current" * (field_expression "__position._M_current" identifier . field_identifier)) = identifier) ;) (expression_statement "(this->section_table_).\n    super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>._M_impl.\n    _M_finish = ppUVar5;" (assignment_expression "(this->section_table_).\n    super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>._M_impl.\n    _M_finish = ppUVar5" (field_expression "(this->section_table_).\n    super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>._M_impl.\n    _M_finish" (field_expression "(this->section_table_).\n    super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>._M_impl" (binary_expression "(this->section_table_).\n    super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_" (binary_expression "(this->section_table_).\n    super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold" (binary_expression "(this->section_table_).\n    super__Vector_base<const_gold::Unit_set*,_std" (binary_expression "(this->section_table_).\n    super__Vector_base<const_gold" (field_expression "(this->section_table_).\n    super__Vector_base" (parenthesized_expression "(this->section_table_)" ( (field_expression "this->section_table_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::Unit_set" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Unit_set" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) = identifier) ;) }))) (expression_statement "ppUVar2 = (this->section_table_).\n            super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>.\n            _M_impl._M_start;" (field_expression "ppUVar2 = (this->section_table_).\n            super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>.\n            _M_impl._M_start" (field_expression "ppUVar2 = (this->section_table_).\n            super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_>.\n            _M_impl" (binary_expression "ppUVar2 = (this->section_table_).\n            super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold::Unit_set*>_" (binary_expression "ppUVar2 = (this->section_table_).\n            super__Vector_base<const_gold::Unit_set*,_std::allocator<const_gold" (binary_expression "ppUVar2 = (this->section_table_).\n            super__Vector_base<const_gold::Unit_set*,_std" (assignment_expression "ppUVar2 = (this->section_table_).\n            super__Vector_base<const_gold" identifier = (binary_expression "(this->section_table_).\n            super__Vector_base<const_gold" (field_expression "(this->section_table_).\n            super__Vector_base" (parenthesized_expression "(this->section_table_)" ( (field_expression "this->section_table_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Unit_set" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Unit_set" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (expression_statement "iVar7 = 1;" (assignment_expression "iVar7 = 1" identifier = number_literal) ;) (do_statement "do {\n    if (set->sections[iVar7].size != 0) {\n      this->section_mask_ = this->section_mask_ | 1 << ((byte)iVar7 & 0x1f);\n    }\n    iVar7 = iVar7 + 1;\n  } while (iVar7 != 9);" do (compound_statement "{\n    if (set->sections[iVar7].size != 0) {\n      this->section_mask_ = this->section_mask_ | 1 << ((byte)iVar7 & 0x1f);\n    }\n    iVar7 = iVar7 + 1;\n  }" { (if_statement "if (set->sections[iVar7].size != 0) {\n      this->section_mask_ = this->section_mask_ | 1 << ((byte)iVar7 & 0x1f);\n    }" if (parenthesized_expression "(set->sections[iVar7].size != 0)" ( (binary_expression "set->sections[iVar7].size != 0" (field_expression "set->sections[iVar7].size" (subscript_expression "set->sections[iVar7]" (field_expression "set->sections" identifier -> field_identifier) [ identifier ]) . field_identifier) != number_literal) )) (compound_statement "{\n      this->section_mask_ = this->section_mask_ | 1 << ((byte)iVar7 & 0x1f);\n    }" { (expression_statement "this->section_mask_ = this->section_mask_ | 1 << ((byte)iVar7 & 0x1f);" (assignment_expression "this->section_mask_ = this->section_mask_ | 1 << ((byte)iVar7 & 0x1f)" (field_expression "this->section_mask_" identifier -> field_identifier) = (binary_expression "this->section_mask_ | 1 << ((byte)iVar7 & 0x1f)" (field_expression "this->section_mask_" identifier -> field_identifier) | (binary_expression "1 << ((byte)iVar7 & 0x1f)" number_literal << (parenthesized_expression "((byte)iVar7 & 0x1f)" ( (binary_expression "(byte)iVar7 & 0x1f" (cast_expression "(byte)iVar7" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) ))))) ;) })) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar7 != 9)" ( (binary_expression "iVar7 != 9" identifier != number_literal) )) ;) (expression_statement "puVar1 = this->hash_table_ + slot;" (assignment_expression "puVar1 = this->hash_table_ + slot" identifier = (binary_expression "this->hash_table_ + slot" (field_expression "this->hash_table_" identifier -> field_identifier) + identifier)) ;) (if_statement "if (*(int *)((int)puVar1 + 4) == 0 && (int)*puVar1 == 0) {\n    uVar4 = set->signature;\n    *(int *)((int)puVar1 + 4) = *(int *)((int)&set->signature + 4);\n    puVar3 = this->index_table_;\n    *(int *)puVar1 = (int)uVar4;\n    puVar3[slot] = (int)ppUVar5 - (int)ppUVar2 >> 2;\n    uVar6 = this->used_ + 1;\n    this->used_ = uVar6;\n    if (uVar6 * 3 <= this->capacity_ * 2) {\n      return;\n    }\n    grow(this);\n    return;\n  }" if (parenthesized_expression "(*(int *)((int)puVar1 + 4) == 0 && (int)*puVar1 == 0)" ( (binary_expression "*(int *)((int)puVar1 + 4) == 0 && (int)*puVar1 == 0" (binary_expression "*(int *)((int)puVar1 + 4) == 0" (pointer_expression "*(int *)((int)puVar1 + 4)" * (cast_expression "(int *)((int)puVar1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar1 + 4)" ( (binary_expression "(int)puVar1 + 4" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == number_literal) && (binary_expression "(int)*puVar1 == 0" (cast_expression "(int)*puVar1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*puVar1" * identifier)) == number_literal)) )) (compound_statement "{\n    uVar4 = set->signature;\n    *(int *)((int)puVar1 + 4) = *(int *)((int)&set->signature + 4);\n    puVar3 = this->index_table_;\n    *(int *)puVar1 = (int)uVar4;\n    puVar3[slot] = (int)ppUVar5 - (int)ppUVar2 >> 2;\n    uVar6 = this->used_ + 1;\n    this->used_ = uVar6;\n    if (uVar6 * 3 <= this->capacity_ * 2) {\n      return;\n    }\n    grow(this);\n    return;\n  }" { (expression_statement "uVar4 = set->signature;" (assignment_expression "uVar4 = set->signature" identifier = (field_expression "set->signature" identifier -> field_identifier)) ;) (expression_statement "*(int *)((int)puVar1 + 4) = *(int *)((int)&set->signature + 4);" (assignment_expression "*(int *)((int)puVar1 + 4) = *(int *)((int)&set->signature + 4)" (pointer_expression "*(int *)((int)puVar1 + 4)" * (cast_expression "(int *)((int)puVar1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar1 + 4)" ( (binary_expression "(int)puVar1 + 4" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (pointer_expression "*(int *)((int)&set->signature + 4)" * (cast_expression "(int *)((int)&set->signature + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&set->signature + 4)" ( (binary_expression "(int)&set->signature + 4" (cast_expression "(int)&set->signature" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&set->signature" & (field_expression "set->signature" identifier -> field_identifier))) + number_literal) ))))) ;) (expression_statement "puVar3 = this->index_table_;" (assignment_expression "puVar3 = this->index_table_" identifier = (field_expression "this->index_table_" identifier -> field_identifier)) ;) (expression_statement "*(int *)puVar1 = (int)uVar4;" (assignment_expression "*(int *)puVar1 = (int)uVar4" (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (cast_expression "(int)uVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "puVar3[slot] = (int)ppUVar5 - (int)ppUVar2 >> 2;" (assignment_expression "puVar3[slot] = (int)ppUVar5 - (int)ppUVar2 >> 2" (subscript_expression "puVar3[slot]" identifier [ identifier ]) = (binary_expression "(int)ppUVar5 - (int)ppUVar2 >> 2" (binary_expression "(int)ppUVar5 - (int)ppUVar2" (cast_expression "(int)ppUVar5" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)ppUVar2" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal)) ;) (expression_statement "uVar6 = this->used_ + 1;" (assignment_expression "uVar6 = this->used_ + 1" identifier = (binary_expression "this->used_ + 1" (field_expression "this->used_" identifier -> field_identifier) + number_literal)) ;) (expression_statement "this->used_ = uVar6;" (assignment_expression "this->used_ = uVar6" (field_expression "this->used_" identifier -> field_identifier) = identifier) ;) (if_statement "if (uVar6 * 3 <= this->capacity_ * 2) {\n      return;\n    }" if (parenthesized_expression "(uVar6 * 3 <= this->capacity_ * 2)" ( (binary_expression "uVar6 * 3 <= this->capacity_ * 2" (binary_expression "uVar6 * 3" identifier * number_literal) <= (binary_expression "this->capacity_ * 2" (field_expression "this->capacity_" identifier -> field_identifier) * number_literal)) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "grow(this);" (call_expression "grow(this)" identifier (argument_list "(this)" ( identifier ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "do_gold_unreachable("../../gold/dwp.cc",0x6ee,"enter_set");" (call_expression "do_gold_unreachable("../../gold/dwp.cc",0x6ee,"enter_set")" identifier (argument_list "("../../gold/dwp.cc",0x6ee,"enter_set")" ( (string_literal ""../../gold/dwp.cc"" " string_content ") , number_literal , (string_literal ""enter_set"" " string_content ") ))) ;) })))
(translation_unit "void FUN_00037700(uint *param_1,uint param_2,int *param_3)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  int iVar6;\n  \n  if (*param_1 <= param_2) {\n                    \n    FUN_00069d00("../../gold/dwp.cc",0x6e2,"enter_set",&__DT_PLTGOT);\n  }\n  puVar2 = (undefined4 *)param_1[5];\n  if (puVar2 == (undefined4 *)param_1[6]) {\n    FUN_0004bd70(param_1 + 4,puVar2,&param_3);\n    puVar4 = (undefined4 *)param_1[5];\n  }\n  else {\n    puVar4 = puVar2 + 1;\n    *puVar2 = param_3;\n    param_1[5] = (uint)puVar4;\n  }\n  iVar6 = 1;\n  iVar5 = (int)((int)puVar4 - param_1[4]) >> 2;\n  do {\n    if (param_3[iVar6 * 2 + 3] != 0) {\n      param_1[7] = param_1[7] | 1 << ((byte)iVar6 & 0x1f);\n    }\n    iVar6 = iVar6 + 1;\n  } while (iVar6 != 9);\n  piVar1 = (int *)(param_1[2] + param_2 * 8);\n  if (piVar1[1] == 0 && *piVar1 == 0) {\n    iVar6 = *param_3;\n    piVar1[1] = param_3[1];\n    uVar3 = param_1[3];\n    *piVar1 = iVar6;\n    *(int *)(uVar3 + param_2 * 4) = iVar5;\n    uVar3 = param_1[1];\n    param_1[1] = uVar3 + 1;\n    if ((uVar3 + 1) * 3 <= *param_1 * 2) {\n      return;\n    }\n    FUN_00036040(param_1);\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/dwp.cc",0x6ee,"enter_set",iVar5);\n}\n\n" (function_definition "void FUN_00037700(uint *param_1,uint param_2,int *param_3)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  int iVar6;\n  \n  if (*param_1 <= param_2) {\n                    \n    FUN_00069d00("../../gold/dwp.cc",0x6e2,"enter_set",&__DT_PLTGOT);\n  }\n  puVar2 = (undefined4 *)param_1[5];\n  if (puVar2 == (undefined4 *)param_1[6]) {\n    FUN_0004bd70(param_1 + 4,puVar2,&param_3);\n    puVar4 = (undefined4 *)param_1[5];\n  }\n  else {\n    puVar4 = puVar2 + 1;\n    *puVar2 = param_3;\n    param_1[5] = (uint)puVar4;\n  }\n  iVar6 = 1;\n  iVar5 = (int)((int)puVar4 - param_1[4]) >> 2;\n  do {\n    if (param_3[iVar6 * 2 + 3] != 0) {\n      param_1[7] = param_1[7] | 1 << ((byte)iVar6 & 0x1f);\n    }\n    iVar6 = iVar6 + 1;\n  } while (iVar6 != 9);\n  piVar1 = (int *)(param_1[2] + param_2 * 8);\n  if (piVar1[1] == 0 && *piVar1 == 0) {\n    iVar6 = *param_3;\n    piVar1[1] = param_3[1];\n    uVar3 = param_1[3];\n    *piVar1 = iVar6;\n    *(int *)(uVar3 + param_2 * 4) = iVar5;\n    uVar3 = param_1[1];\n    param_1[1] = uVar3 + 1;\n    if ((uVar3 + 1) * 3 <= *param_1 * 2) {\n      return;\n    }\n    FUN_00036040(param_1);\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/dwp.cc",0x6ee,"enter_set",iVar5);\n}" primitive_type (function_declarator "FUN_00037700(uint *param_1,uint param_2,int *param_3)" identifier (parameter_list "(uint *param_1,uint param_2,int *param_3)" ( (parameter_declaration "uint *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  undefined4 *puVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  int iVar6;\n  \n  if (*param_1 <= param_2) {\n                    \n    FUN_00069d00("../../gold/dwp.cc",0x6e2,"enter_set",&__DT_PLTGOT);\n  }\n  puVar2 = (undefined4 *)param_1[5];\n  if (puVar2 == (undefined4 *)param_1[6]) {\n    FUN_0004bd70(param_1 + 4,puVar2,&param_3);\n    puVar4 = (undefined4 *)param_1[5];\n  }\n  else {\n    puVar4 = puVar2 + 1;\n    *puVar2 = param_3;\n    param_1[5] = (uint)puVar4;\n  }\n  iVar6 = 1;\n  iVar5 = (int)((int)puVar4 - param_1[4]) >> 2;\n  do {\n    if (param_3[iVar6 * 2 + 3] != 0) {\n      param_1[7] = param_1[7] | 1 << ((byte)iVar6 & 0x1f);\n    }\n    iVar6 = iVar6 + 1;\n  } while (iVar6 != 9);\n  piVar1 = (int *)(param_1[2] + param_2 * 8);\n  if (piVar1[1] == 0 && *piVar1 == 0) {\n    iVar6 = *param_3;\n    piVar1[1] = param_3[1];\n    uVar3 = param_1[3];\n    *piVar1 = iVar6;\n    *(int *)(uVar3 + param_2 * 4) = iVar5;\n    uVar3 = param_1[1];\n    param_1[1] = uVar3 + 1;\n    if ((uVar3 + 1) * 3 <= *param_1 * 2) {\n      return;\n    }\n    FUN_00036040(param_1);\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/dwp.cc",0x6ee,"enter_set",iVar5);\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (if_statement "if (*param_1 <= param_2) {\n                    \n    FUN_00069d00("../../gold/dwp.cc",0x6e2,"enter_set",&__DT_PLTGOT);\n  }" if (parenthesized_expression "(*param_1 <= param_2)" ( (binary_expression "*param_1 <= param_2" (pointer_expression "*param_1" * identifier) <= identifier) )) (compound_statement "{\n                    \n    FUN_00069d00("../../gold/dwp.cc",0x6e2,"enter_set",&__DT_PLTGOT);\n  }" { (expression_statement "FUN_00069d00("../../gold/dwp.cc",0x6e2,"enter_set",&__DT_PLTGOT);" (call_expression "FUN_00069d00("../../gold/dwp.cc",0x6e2,"enter_set",&__DT_PLTGOT)" identifier (argument_list "("../../gold/dwp.cc",0x6e2,"enter_set",&__DT_PLTGOT)" ( (string_literal ""../../gold/dwp.cc"" " string_content ") , number_literal , (string_literal ""enter_set"" " string_content ") , (pointer_expression "&__DT_PLTGOT" & identifier) ))) ;) })) (expression_statement "puVar2 = (undefined4 *)param_1[5];" (assignment_expression "puVar2 = (undefined4 *)param_1[5]" identifier = (cast_expression "(undefined4 *)param_1[5]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[5]" identifier [ number_literal ]))) ;) (if_statement "if (puVar2 == (undefined4 *)param_1[6]) {\n    FUN_0004bd70(param_1 + 4,puVar2,&param_3);\n    puVar4 = (undefined4 *)param_1[5];\n  }\n  else {\n    puVar4 = puVar2 + 1;\n    *puVar2 = param_3;\n    param_1[5] = (uint)puVar4;\n  }" if (parenthesized_expression "(puVar2 == (undefined4 *)param_1[6])" ( (binary_expression "puVar2 == (undefined4 *)param_1[6]" identifier == (cast_expression "(undefined4 *)param_1[6]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[6]" identifier [ number_literal ]))) )) (compound_statement "{\n    FUN_0004bd70(param_1 + 4,puVar2,&param_3);\n    puVar4 = (undefined4 *)param_1[5];\n  }" { (expression_statement "FUN_0004bd70(param_1 + 4,puVar2,&param_3);" (call_expression "FUN_0004bd70(param_1 + 4,puVar2,&param_3)" identifier (argument_list "(param_1 + 4,puVar2,&param_3)" ( (binary_expression "param_1 + 4" identifier + number_literal) , identifier , (pointer_expression "&param_3" & identifier) ))) ;) (expression_statement "puVar4 = (undefined4 *)param_1[5];" (assignment_expression "puVar4 = (undefined4 *)param_1[5]" identifier = (cast_expression "(undefined4 *)param_1[5]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[5]" identifier [ number_literal ]))) ;) }) (else_clause "else {\n    puVar4 = puVar2 + 1;\n    *puVar2 = param_3;\n    param_1[5] = (uint)puVar4;\n  }" else (compound_statement "{\n    puVar4 = puVar2 + 1;\n    *puVar2 = param_3;\n    param_1[5] = (uint)puVar4;\n  }" { (expression_statement "puVar4 = puVar2 + 1;" (assignment_expression "puVar4 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) (expression_statement "*puVar2 = param_3;" (assignment_expression "*puVar2 = param_3" (pointer_expression "*puVar2" * identifier) = identifier) ;) (expression_statement "param_1[5] = (uint)puVar4;" (assignment_expression "param_1[5] = (uint)puVar4" (subscript_expression "param_1[5]" identifier [ number_literal ]) = (cast_expression "(uint)puVar4" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) }))) (expression_statement "iVar6 = 1;" (assignment_expression "iVar6 = 1" identifier = number_literal) ;) (expression_statement "iVar5 = (int)((int)puVar4 - param_1[4]) >> 2;" (assignment_expression "iVar5 = (int)((int)puVar4 - param_1[4]) >> 2" identifier = (binary_expression "(int)((int)puVar4 - param_1[4]) >> 2" (cast_expression "(int)((int)puVar4 - param_1[4])" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((int)puVar4 - param_1[4])" ( (binary_expression "(int)puVar4 - param_1[4]" (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier) - (subscript_expression "param_1[4]" identifier [ number_literal ])) ))) >> number_literal)) ;) (do_statement "do {\n    if (param_3[iVar6 * 2 + 3] != 0) {\n      param_1[7] = param_1[7] | 1 << ((byte)iVar6 & 0x1f);\n    }\n    iVar6 = iVar6 + 1;\n  } while (iVar6 != 9);" do (compound_statement "{\n    if (param_3[iVar6 * 2 + 3] != 0) {\n      param_1[7] = param_1[7] | 1 << ((byte)iVar6 & 0x1f);\n    }\n    iVar6 = iVar6 + 1;\n  }" { (if_statement "if (param_3[iVar6 * 2 + 3] != 0) {\n      param_1[7] = param_1[7] | 1 << ((byte)iVar6 & 0x1f);\n    }" if (parenthesized_expression "(param_3[iVar6 * 2 + 3] != 0)" ( (binary_expression "param_3[iVar6 * 2 + 3] != 0" (subscript_expression "param_3[iVar6 * 2 + 3]" identifier [ (binary_expression "iVar6 * 2 + 3" (binary_expression "iVar6 * 2" identifier * number_literal) + number_literal) ]) != number_literal) )) (compound_statement "{\n      param_1[7] = param_1[7] | 1 << ((byte)iVar6 & 0x1f);\n    }" { (expression_statement "param_1[7] = param_1[7] | 1 << ((byte)iVar6 & 0x1f);" (assignment_expression "param_1[7] = param_1[7] | 1 << ((byte)iVar6 & 0x1f)" (subscript_expression "param_1[7]" identifier [ number_literal ]) = (binary_expression "param_1[7] | 1 << ((byte)iVar6 & 0x1f)" (subscript_expression "param_1[7]" identifier [ number_literal ]) | (binary_expression "1 << ((byte)iVar6 & 0x1f)" number_literal << (parenthesized_expression "((byte)iVar6 & 0x1f)" ( (binary_expression "(byte)iVar6 & 0x1f" (cast_expression "(byte)iVar6" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) ))))) ;) })) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar6 != 9)" ( (binary_expression "iVar6 != 9" identifier != number_literal) )) ;) (expression_statement "piVar1 = (int *)(param_1[2] + param_2 * 8);" (assignment_expression "piVar1 = (int *)(param_1[2] + param_2 * 8)" identifier = (cast_expression "(int *)(param_1[2] + param_2 * 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[2] + param_2 * 8)" ( (binary_expression "param_1[2] + param_2 * 8" (subscript_expression "param_1[2]" identifier [ number_literal ]) + (binary_expression "param_2 * 8" identifier * number_literal)) )))) ;) (if_statement "if (piVar1[1] == 0 && *piVar1 == 0) {\n    iVar6 = *param_3;\n    piVar1[1] = param_3[1];\n    uVar3 = param_1[3];\n    *piVar1 = iVar6;\n    *(int *)(uVar3 + param_2 * 4) = iVar5;\n    uVar3 = param_1[1];\n    param_1[1] = uVar3 + 1;\n    if ((uVar3 + 1) * 3 <= *param_1 * 2) {\n      return;\n    }\n    FUN_00036040(param_1);\n    return;\n  }" if (parenthesized_expression "(piVar1[1] == 0 && *piVar1 == 0)" ( (binary_expression "piVar1[1] == 0 && *piVar1 == 0" (binary_expression "piVar1[1] == 0" (subscript_expression "piVar1[1]" identifier [ number_literal ]) == number_literal) && (binary_expression "*piVar1 == 0" (pointer_expression "*piVar1" * identifier) == number_literal)) )) (compound_statement "{\n    iVar6 = *param_3;\n    piVar1[1] = param_3[1];\n    uVar3 = param_1[3];\n    *piVar1 = iVar6;\n    *(int *)(uVar3 + param_2 * 4) = iVar5;\n    uVar3 = param_1[1];\n    param_1[1] = uVar3 + 1;\n    if ((uVar3 + 1) * 3 <= *param_1 * 2) {\n      return;\n    }\n    FUN_00036040(param_1);\n    return;\n  }" { (expression_statement "iVar6 = *param_3;" (assignment_expression "iVar6 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "piVar1[1] = param_3[1];" (assignment_expression "piVar1[1] = param_3[1]" (subscript_expression "piVar1[1]" identifier [ number_literal ]) = (subscript_expression "param_3[1]" identifier [ number_literal ])) ;) (expression_statement "uVar3 = param_1[3];" (assignment_expression "uVar3 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "*piVar1 = iVar6;" (assignment_expression "*piVar1 = iVar6" (pointer_expression "*piVar1" * identifier) = identifier) ;) (expression_statement "*(int *)(uVar3 + param_2 * 4) = iVar5;" (assignment_expression "*(int *)(uVar3 + param_2 * 4) = iVar5" (pointer_expression "*(int *)(uVar3 + param_2 * 4)" * (cast_expression "(int *)(uVar3 + param_2 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar3 + param_2 * 4)" ( (binary_expression "uVar3 + param_2 * 4" identifier + (binary_expression "param_2 * 4" identifier * number_literal)) )))) = identifier) ;) (expression_statement "uVar3 = param_1[1];" (assignment_expression "uVar3 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "param_1[1] = uVar3 + 1;" (assignment_expression "param_1[1] = uVar3 + 1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "uVar3 + 1" identifier + number_literal)) ;) (if_statement "if ((uVar3 + 1) * 3 <= *param_1 * 2) {\n      return;\n    }" if (parenthesized_expression "((uVar3 + 1) * 3 <= *param_1 * 2)" ( (binary_expression "(uVar3 + 1) * 3 <= *param_1 * 2" (binary_expression "(uVar3 + 1) * 3" (parenthesized_expression "(uVar3 + 1)" ( (binary_expression "uVar3 + 1" identifier + number_literal) )) * number_literal) <= (binary_expression "*param_1 * 2" (pointer_expression "*param_1" * identifier) * number_literal)) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "FUN_00036040(param_1);" (call_expression "FUN_00036040(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_00069d00("../../gold/dwp.cc",0x6ee,"enter_set",iVar5);" (call_expression "FUN_00069d00("../../gold/dwp.cc",0x6ee,"enter_set",iVar5)" identifier (argument_list "("../../gold/dwp.cc",0x6ee,"enter_set",iVar5)" ( (string_literal ""../../gold/dwp.cc"" " string_content ") , number_literal , (string_literal ""enter_set"" " string_content ") , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) <= IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , (pointer_expression & IDENT) ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , (pointer_expression & IDENT) ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) }))) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (subscript_expression IDENT [ LIT ])) ))) >> LIT)) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ (binary_expression (binary_expression IDENT * LIT) + LIT) ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) | (binary_expression LIT << (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) ))))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + (binary_expression IDENT * LIT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) && (binary_expression (pointer_expression * IDENT) == LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) * LIT) <= (binary_expression (pointer_expression * IDENT) * LIT)) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "void FUN_00037700(uint *param_1,uint param_2,int *param_3)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  int iVar6;\n  \n  if (*param_1 <= param_2) {\n                    \n    FUN_00069d00("../../gold/dwp.cc",0x6e2,"enter_set",&__DT_PLTGOT);\n  }\n  puVar2 = (undefined4 *)param_1[5];\n  if (puVar2 == (undefined4 *)param_1[6]) {\n    FUN_0004bd70(param_1 + 4,puVar2,&param_3);\n    puVar4 = (undefined4 *)param_1[5];\n  }\n  else {\n    puVar4 = puVar2 + 1;\n    *puVar2 = param_3;\n    param_1[5] = (uint)puVar4;\n  }\n  iVar6 = 1;\n  iVar5 = (int)((int)puVar4 - param_1[4]) >> 2;\n  do {\n    if (param_3[iVar6 * 2 + 3] != 0) {\n      param_1[7] = param_1[7] | 1 << ((byte)iVar6 & 0x1f);\n    }\n    iVar6 = iVar6 + 1;\n  } while (iVar6 != 9);\n  piVar1 = (int *)(param_1[2] + param_2 * 8);\n  if (piVar1[1] == 0 && *piVar1 == 0) {\n    iVar6 = *param_3;\n    piVar1[1] = param_3[1];\n    uVar3 = param_1[3];\n    *piVar1 = iVar6;\n    *(int *)(uVar3 + param_2 * 4) = iVar5;\n    uVar3 = param_1[1];\n    param_1[1] = uVar3 + 1;\n    if ((uVar3 + 1) * 3 <= *param_1 * 2) {\n      return;\n    }\n    FUN_00036040(param_1);\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/dwp.cc",0x6ee,"enter_set",iVar5);\n}" (primitive_type "void") (function_declarator "FUN_00037700(uint *param_1,uint param_2,int *param_3)" (identifier "FUN_00037700") (parameter_list "(uint *param_1,uint param_2,int *param_3)" (( "(") (parameter_declaration "uint *param_1" (type_identifier "uint") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  int *piVar1;\n  undefined4 *puVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  int iVar6;\n  \n  if (*param_1 <= param_2) {\n                    \n    FUN_00069d00("../../gold/dwp.cc",0x6e2,"enter_set",&__DT_PLTGOT);\n  }\n  puVar2 = (undefined4 *)param_1[5];\n  if (puVar2 == (undefined4 *)param_1[6]) {\n    FUN_0004bd70(param_1 + 4,puVar2,&param_3);\n    puVar4 = (undefined4 *)param_1[5];\n  }\n  else {\n    puVar4 = puVar2 + 1;\n    *puVar2 = param_3;\n    param_1[5] = (uint)puVar4;\n  }\n  iVar6 = 1;\n  iVar5 = (int)((int)puVar4 - param_1[4]) >> 2;\n  do {\n    if (param_3[iVar6 * 2 + 3] != 0) {\n      param_1[7] = param_1[7] | 1 << ((byte)iVar6 & 0x1f);\n    }\n    iVar6 = iVar6 + 1;\n  } while (iVar6 != 9);\n  piVar1 = (int *)(param_1[2] + param_2 * 8);\n  if (piVar1[1] == 0 && *piVar1 == 0) {\n    iVar6 = *param_3;\n    piVar1[1] = param_3[1];\n    uVar3 = param_1[3];\n    *piVar1 = iVar6;\n    *(int *)(uVar3 + param_2 * 4) = iVar5;\n    uVar3 = param_1[1];\n    param_1[1] = uVar3 + 1;\n    if ((uVar3 + 1) * 3 <= *param_1 * 2) {\n      return;\n    }\n    FUN_00036040(param_1);\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/dwp.cc",0x6ee,"enter_set",iVar5);\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (if_statement "if (*param_1 <= param_2) {\n                    \n    FUN_00069d00("../../gold/dwp.cc",0x6e2,"enter_set",&__DT_PLTGOT);\n  }" (if "if") (parenthesized_expression "(*param_1 <= param_2)" (( "(") (binary_expression "*param_1 <= param_2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (<= "<=") (identifier "param_2")) () ")")) (compound_statement "{\n                    \n    FUN_00069d00("../../gold/dwp.cc",0x6e2,"enter_set",&__DT_PLTGOT);\n  }" ({ "{") (expression_statement "FUN_00069d00("../../gold/dwp.cc",0x6e2,"enter_set",&__DT_PLTGOT);" (call_expression "FUN_00069d00("../../gold/dwp.cc",0x6e2,"enter_set",&__DT_PLTGOT)" (identifier "FUN_00069d00") (argument_list "("../../gold/dwp.cc",0x6e2,"enter_set",&__DT_PLTGOT)" (( "(") (string_literal ""../../gold/dwp.cc"" (" """) (string_content "../../gold/dwp.cc") (" """)) (, ",") (number_literal "0x6e2") (, ",") (string_literal ""enter_set"" (" """) (string_content "enter_set") (" """)) (, ",") (pointer_expression "&__DT_PLTGOT" (& "&") (identifier "__DT_PLTGOT")) () ")"))) (; ";")) (} "}"))) (expression_statement "puVar2 = (undefined4 *)param_1[5];" (assignment_expression "puVar2 = (undefined4 *)param_1[5]" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)param_1[5]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")))) (; ";")) (if_statement "if (puVar2 == (undefined4 *)param_1[6]) {\n    FUN_0004bd70(param_1 + 4,puVar2,&param_3);\n    puVar4 = (undefined4 *)param_1[5];\n  }\n  else {\n    puVar4 = puVar2 + 1;\n    *puVar2 = param_3;\n    param_1[5] = (uint)puVar4;\n  }" (if "if") (parenthesized_expression "(puVar2 == (undefined4 *)param_1[6])" (( "(") (binary_expression "puVar2 == (undefined4 *)param_1[6]" (identifier "puVar2") (== "==") (cast_expression "(undefined4 *)param_1[6]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")))) () ")")) (compound_statement "{\n    FUN_0004bd70(param_1 + 4,puVar2,&param_3);\n    puVar4 = (undefined4 *)param_1[5];\n  }" ({ "{") (expression_statement "FUN_0004bd70(param_1 + 4,puVar2,&param_3);" (call_expression "FUN_0004bd70(param_1 + 4,puVar2,&param_3)" (identifier "FUN_0004bd70") (argument_list "(param_1 + 4,puVar2,&param_3)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) (, ",") (identifier "puVar2") (, ",") (pointer_expression "&param_3" (& "&") (identifier "param_3")) () ")"))) (; ";")) (expression_statement "puVar4 = (undefined4 *)param_1[5];" (assignment_expression "puVar4 = (undefined4 *)param_1[5]" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)param_1[5]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")))) (; ";")) (} "}")) (else_clause "else {\n    puVar4 = puVar2 + 1;\n    *puVar2 = param_3;\n    param_1[5] = (uint)puVar4;\n  }" (else "else") (compound_statement "{\n    puVar4 = puVar2 + 1;\n    *puVar2 = param_3;\n    param_1[5] = (uint)puVar4;\n  }" ({ "{") (expression_statement "puVar4 = puVar2 + 1;" (assignment_expression "puVar4 = puVar2 + 1" (identifier "puVar4") (= "=") (binary_expression "puVar2 + 1" (identifier "puVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar2 = param_3;" (assignment_expression "*puVar2 = param_3" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (identifier "param_3")) (; ";")) (expression_statement "param_1[5] = (uint)puVar4;" (assignment_expression "param_1[5] = (uint)puVar4" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (= "=") (cast_expression "(uint)puVar4" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "puVar4"))) (; ";")) (} "}")))) (expression_statement "iVar6 = 1;" (assignment_expression "iVar6 = 1" (identifier "iVar6") (= "=") (number_literal "1")) (; ";")) (expression_statement "iVar5 = (int)((int)puVar4 - param_1[4]) >> 2;" (assignment_expression "iVar5 = (int)((int)puVar4 - param_1[4]) >> 2" (identifier "iVar5") (= "=") (binary_expression "(int)((int)puVar4 - param_1[4]) >> 2" (cast_expression "(int)((int)puVar4 - param_1[4])" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((int)puVar4 - param_1[4])" (( "(") (binary_expression "(int)puVar4 - param_1[4]" (cast_expression "(int)puVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar4")) (- "-") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]"))) () ")"))) (>> ">>") (number_literal "2"))) (; ";")) (do_statement "do {\n    if (param_3[iVar6 * 2 + 3] != 0) {\n      param_1[7] = param_1[7] | 1 << ((byte)iVar6 & 0x1f);\n    }\n    iVar6 = iVar6 + 1;\n  } while (iVar6 != 9);" (do "do") (compound_statement "{\n    if (param_3[iVar6 * 2 + 3] != 0) {\n      param_1[7] = param_1[7] | 1 << ((byte)iVar6 & 0x1f);\n    }\n    iVar6 = iVar6 + 1;\n  }" ({ "{") (if_statement "if (param_3[iVar6 * 2 + 3] != 0) {\n      param_1[7] = param_1[7] | 1 << ((byte)iVar6 & 0x1f);\n    }" (if "if") (parenthesized_expression "(param_3[iVar6 * 2 + 3] != 0)" (( "(") (binary_expression "param_3[iVar6 * 2 + 3] != 0" (subscript_expression "param_3[iVar6 * 2 + 3]" (identifier "param_3") ([ "[") (binary_expression "iVar6 * 2 + 3" (binary_expression "iVar6 * 2" (identifier "iVar6") (* "*") (number_literal "2")) (+ "+") (number_literal "3")) (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      param_1[7] = param_1[7] | 1 << ((byte)iVar6 & 0x1f);\n    }" ({ "{") (expression_statement "param_1[7] = param_1[7] | 1 << ((byte)iVar6 & 0x1f);" (assignment_expression "param_1[7] = param_1[7] | 1 << ((byte)iVar6 & 0x1f)" (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")) (= "=") (binary_expression "param_1[7] | 1 << ((byte)iVar6 & 0x1f)" (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")) (| "|") (binary_expression "1 << ((byte)iVar6 & 0x1f)" (number_literal "1") (<< "<<") (parenthesized_expression "((byte)iVar6 & 0x1f)" (( "(") (binary_expression "(byte)iVar6 & 0x1f" (cast_expression "(byte)iVar6" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "iVar6")) (& "&") (number_literal "0x1f")) () ")"))))) (; ";")) (} "}"))) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar6 != 9)" (( "(") (binary_expression "iVar6 != 9" (identifier "iVar6") (!= "!=") (number_literal "9")) () ")")) (; ";")) (expression_statement "piVar1 = (int *)(param_1[2] + param_2 * 8);" (assignment_expression "piVar1 = (int *)(param_1[2] + param_2 * 8)" (identifier "piVar1") (= "=") (cast_expression "(int *)(param_1[2] + param_2 * 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[2] + param_2 * 8)" (( "(") (binary_expression "param_1[2] + param_2 * 8" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (+ "+") (binary_expression "param_2 * 8" (identifier "param_2") (* "*") (number_literal "8"))) () ")")))) (; ";")) (if_statement "if (piVar1[1] == 0 && *piVar1 == 0) {\n    iVar6 = *param_3;\n    piVar1[1] = param_3[1];\n    uVar3 = param_1[3];\n    *piVar1 = iVar6;\n    *(int *)(uVar3 + param_2 * 4) = iVar5;\n    uVar3 = param_1[1];\n    param_1[1] = uVar3 + 1;\n    if ((uVar3 + 1) * 3 <= *param_1 * 2) {\n      return;\n    }\n    FUN_00036040(param_1);\n    return;\n  }" (if "if") (parenthesized_expression "(piVar1[1] == 0 && *piVar1 == 0)" (( "(") (binary_expression "piVar1[1] == 0 && *piVar1 == 0" (binary_expression "piVar1[1] == 0" (subscript_expression "piVar1[1]" (identifier "piVar1") ([ "[") (number_literal "1") (] "]")) (== "==") (number_literal "0")) (&& "&&") (binary_expression "*piVar1 == 0" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (== "==") (number_literal "0"))) () ")")) (compound_statement "{\n    iVar6 = *param_3;\n    piVar1[1] = param_3[1];\n    uVar3 = param_1[3];\n    *piVar1 = iVar6;\n    *(int *)(uVar3 + param_2 * 4) = iVar5;\n    uVar3 = param_1[1];\n    param_1[1] = uVar3 + 1;\n    if ((uVar3 + 1) * 3 <= *param_1 * 2) {\n      return;\n    }\n    FUN_00036040(param_1);\n    return;\n  }" ({ "{") (expression_statement "iVar6 = *param_3;" (assignment_expression "iVar6 = *param_3" (identifier "iVar6") (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (expression_statement "piVar1[1] = param_3[1];" (assignment_expression "piVar1[1] = param_3[1]" (subscript_expression "piVar1[1]" (identifier "piVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "uVar3 = param_1[3];" (assignment_expression "uVar3 = param_1[3]" (identifier "uVar3") (= "=") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "*piVar1 = iVar6;" (assignment_expression "*piVar1 = iVar6" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "*(int *)(uVar3 + param_2 * 4) = iVar5;" (assignment_expression "*(int *)(uVar3 + param_2 * 4) = iVar5" (pointer_expression "*(int *)(uVar3 + param_2 * 4)" (* "*") (cast_expression "(int *)(uVar3 + param_2 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar3 + param_2 * 4)" (( "(") (binary_expression "uVar3 + param_2 * 4" (identifier "uVar3") (+ "+") (binary_expression "param_2 * 4" (identifier "param_2") (* "*") (number_literal "4"))) () ")")))) (= "=") (identifier "iVar5")) (; ";")) (expression_statement "uVar3 = param_1[1];" (assignment_expression "uVar3 = param_1[1]" (identifier "uVar3") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "param_1[1] = uVar3 + 1;" (assignment_expression "param_1[1] = uVar3 + 1" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "uVar3 + 1" (identifier "uVar3") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if ((uVar3 + 1) * 3 <= *param_1 * 2) {\n      return;\n    }" (if "if") (parenthesized_expression "((uVar3 + 1) * 3 <= *param_1 * 2)" (( "(") (binary_expression "(uVar3 + 1) * 3 <= *param_1 * 2" (binary_expression "(uVar3 + 1) * 3" (parenthesized_expression "(uVar3 + 1)" (( "(") (binary_expression "uVar3 + 1" (identifier "uVar3") (+ "+") (number_literal "1")) () ")")) (* "*") (number_literal "3")) (<= "<=") (binary_expression "*param_1 * 2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (* "*") (number_literal "2"))) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00036040(param_1);" (call_expression "FUN_00036040(param_1)" (identifier "FUN_00036040") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00069d00("../../gold/dwp.cc",0x6ee,"enter_set",iVar5);" (call_expression "FUN_00069d00("../../gold/dwp.cc",0x6ee,"enter_set",iVar5)" (identifier "FUN_00069d00") (argument_list "("../../gold/dwp.cc",0x6ee,"enter_set",iVar5)" (( "(") (string_literal ""../../gold/dwp.cc"" (" """) (string_content "../../gold/dwp.cc") (" """)) (, ",") (number_literal "0x6ee") (, ",") (string_literal ""enter_set"" (" """) (string_content "enter_set") (" """)) (, ",") (identifier "iVar5") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* DWARF original prototype: void enter_set(Dwp_index * this, uint slot, Unit_set * set) */

void __thiscall gold::Dwp_output_file::type_1::function_1(type_1 *this,type_2 var_1,type_3 *set)

{
  uint64_t *puVar1;
  type_4 __position;
  type_5 ppUVar2;
  uint32_t *puVar3;
  uint64_t uVar4;
  type_3 **ppUVar5;
  type_2 var_8;
  int var_7;
  
  if (this->capacity_ <= var_1) {
                    /* WARNING: Subroutine does not return */
    var_2("../../gold/dwp.cc",0x6e2,"enter_set");
  }
  __position._M_current =
       (this->section_table_).
       super__Vector_base<var_3::type_3*,var_4::allocator<var_3::type_3*>var_5>._M_impl.
       _M_finish;
  if (__position._M_current ==
      (this->section_table_).
      super__Vector_base<var_3::type_3*,var_4::allocator<var_3::type_3*>var_5>._M_impl.
      _M_end_of_storage) {
    std::vector<var_3::type_3*,var_4::allocator<var_3::type_3*>var_5>::
    _M_realloc_insert<var_3::type_3*var_6&>(&this->section_table_,__position,&set);
    ppUVar5 = (this->section_table_).
              super__Vector_base<var_3::type_3*,var_4::allocator<var_3::type_3*>var_5>.
              _M_impl._M_finish;
  }
  else {
    ppUVar5 = __position._M_current + 1;
    *__position._M_current = set;
    (this->section_table_).
    super__Vector_base<var_3::type_3*,var_4::allocator<var_3::type_3*>var_5>._M_impl.
    _M_finish = ppUVar5;
  }
  ppUVar2 = (this->section_table_).
            super__Vector_base<var_3::type_3*,var_4::allocator<var_3::type_3*>var_5>.
            _M_impl._M_start;
  var_7 = 1;
  do {
    if (set->sections[var_7].size != 0) {
      this->section_mask_ = this->section_mask_ | 1 << ((type_6)var_7 & 0x1f);
    }
    var_7 = var_7 + 1;
  } while (var_7 != 9);
  puVar1 = this->hash_table_ + var_1;
  if (*(int *)((int)puVar1 + 4) == 0 && (int)*puVar1 == 0) {
    uVar4 = set->signature;
    *(int *)((int)puVar1 + 4) = *(int *)((int)&set->signature + 4);
    puVar3 = this->index_table_;
    *(int *)puVar1 = (int)uVar4;
    puVar3[var_1] = (int)ppUVar5 - (int)ppUVar2 >> 2;
    var_8 = this->used_ + 1;
    this->used_ = var_8;
    if (var_8 * 3 <= this->capacity_ * 2) {
      return;
    }
    var_9(this);
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_2("../../gold/dwp.cc",0x6ee,"enter_set");
}


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

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

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

{
  int *piVar1;
  undefined4 *puVar2;
  uint uVar3;
  undefined4 *puVar4;
  int iVar5;
  int iVar6;
  
  if (*param_1 <= param_2) {
                    /* WARNING: Subroutine does not return */
    FUN_00069d00("../../gold/dwp.cc",0x6e2,"enter_set",&__DT_PLTGOT);
  }
  puVar2 = (undefined4 *)param_1[5];
  if (puVar2 == (undefined4 *)param_1[6]) {
    FUN_0004bd70(param_1 + 4,puVar2,&param_3);
    puVar4 = (undefined4 *)param_1[5];
  }
  else {
    puVar4 = puVar2 + 1;
    *puVar2 = param_3;
    param_1[5] = (uint)puVar4;
  }
  iVar6 = 1;
  iVar5 = (int)((int)puVar4 - param_1[4]) >> 2;
  do {
    if (param_3[iVar6 * 2 + 3] != 0) {
      param_1[7] = param_1[7] | 1 << ((byte)iVar6 & 0x1f);
    }
    iVar6 = iVar6 + 1;
  } while (iVar6 != 9);
  piVar1 = (int *)(param_1[2] + param_2 * 8);
  if (piVar1[1] == 0 && *piVar1 == 0) {
    iVar6 = *param_3;
    piVar1[1] = param_3[1];
    uVar3 = param_1[3];
    *piVar1 = iVar6;
    *(int *)(uVar3 + param_2 * 4) = iVar5;
    uVar3 = param_1[1];
    param_1[1] = uVar3 + 1;
    if ((uVar3 + 1) * 3 <= *param_1 * 2) {
      return;
    }
    FUN_00036040(param_1);
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/dwp.cc",0x6ee,"enter_set",iVar5);
}

