
/* DWARF original prototype: uint do_local_plt_offset(Sized_relobj_file<32,_false> * this, uint
   symndx) */

uint __thiscall
gold::Sized_relobj_file<32,_false>::do_local_plt_offset
          (Sized_relobj_file<32,_false> *this,uint symndx)

{
  ulong uVar1;
  _Hash_node_base *p_Var2;
  ulong uVar3;
  __bucket_type p_Var4;
  __bucket_type p_Var5;
  uint uVar6;
  
  uVar1 = (this->local_plt_offsets_)._M_h._M_bucket_count;
  uVar3 = (ulong)symndx % uVar1;
  p_Var5 = (this->local_plt_offsets_)._M_h._M_buckets[uVar3];
  if (p_Var5 != (__bucket_type)0x0) {
    uVar6 = *(uint *)&p_Var5->_M_nxt[1]._M_nxt;
    p_Var2 = p_Var5->_M_nxt;
    do {
      p_Var4 = p_Var2;
      if (uVar6 == symndx) {
        if (p_Var5->_M_nxt != (_Hash_node_base *)0x0) {
          return *(uint *)((long)&p_Var5->_M_nxt[1]._M_nxt + 4);
        }
        break;
      }
      p_Var2 = p_Var4->_M_nxt;
      if (p_Var2 == (_Hash_node_base *)0x0) break;
      uVar6 = *(uint *)&p_Var2[1]._M_nxt;
      p_Var5 = p_Var4;
    } while (uVar3 == (ulong)uVar6 % uVar1);
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/object.cc",0x8a7,"do_local_plt_offset");
}



undefined4 FUN_001bfc80(long param_1,uint param_2)

{
  long *plVar1;
  ulong uVar2;
  long *plVar3;
  long *plVar4;
  ulong uVar5;
  
  uVar2 = (ulong)param_2 % *(ulong *)(param_1 + 0x180);
  plVar4 = *(long **)(*(long *)(param_1 + 0x178) + uVar2 * 8);
  if (plVar4 != (long *)0x0) {
    uVar5 = (ulong)*(uint *)((long *)*plVar4 + 1);
    plVar1 = (long *)*plVar4;
    do {
      plVar3 = plVar1;
      if ((uint)uVar5 == param_2) {
        if (*plVar4 != 0) {
          return *(undefined4 *)(*plVar4 + 0xc);
        }
        break;
      }
      plVar1 = (long *)*plVar3;
      if (plVar1 == (long *)0x0) break;
      uVar5 = (ulong)*(uint *)(plVar1 + 1);
      plVar4 = plVar3;
    } while (uVar2 == uVar5 % *(ulong *)(param_1 + 0x180));
  }
                    /* WARNING: Subroutine does not return */
  FUN_0017c650("../../gold/object.cc",0x8a7,"do_local_plt_offset");
}


MOV RCX,qword ptr [RDI + 0x180]
MOV EAX,ESI
XOR EDX,EDX
DIV RCX
MOV RAX,qword ptr [RDI + 0x178]
MOV R8,qword ptr [RAX + RDX*0x8]
TEST R8,R8
JZ 0x001bfce0
MOV RDI,qword ptr [R8]
MOV R10,RDX
MOV R9D,dword ptr [RDI + 0x8]
JMP 0x001bfccf
MOV RAX,qword ptr [RDI]
TEST RAX,RAX
JZ 0x001bfce0
MOV R9D,dword ptr [RAX + 0x8]
MOV R8,RDI
XOR EDX,EDX
MOV RDI,RAX
MOV EAX,R9D
DIV RCX
CMP R10,RDX
JNZ 0x001bfce0
CMP R9D,ESI
JNZ 0x001bfcb0
MOV RAX,qword ptr [R8]
TEST RAX,RAX
JZ 0x001bfce0
MOV EAX,dword ptr [RAX + 0xc]
RET
PUSH RAX
LEA RDX,[0x3794c0]
MOV ESI,0x8a7
LEA RDI,[0x377f68]
CALL 0x0017c650
(translation_unit "undefined4 FUN_001bfc80(long param_1,uint param_2)\n\n{\n  long *plVar1;\n  ulong uVar2;\n  long *plVar3;\n  long *plVar4;\n  ulong uVar5;\n  \n  uVar2 = (ulong)param_2 % *(ulong *)(param_1 + 0x180);\n  plVar4 = *(long **)(*(long *)(param_1 + 0x178) + uVar2 * 8);\n  if (plVar4 != (long *)0x0) {\n    uVar5 = (ulong)*(uint *)((long *)*plVar4 + 1);\n    plVar1 = (long *)*plVar4;\n    do {\n      plVar3 = plVar1;\n      if ((uint)uVar5 == param_2) {\n        if (*plVar4 != 0) {\n          return *(undefined4 *)(*plVar4 + 0xc);\n        }\n        break;\n      }\n      plVar1 = (long *)*plVar3;\n      if (plVar1 == (long *)0x0) break;\n      uVar5 = (ulong)*(uint *)(plVar1 + 1);\n      plVar4 = plVar3;\n    } while (uVar2 == uVar5 % *(ulong *)(param_1 + 0x180));\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0017c650("../../gold/object.cc",0x8a7,"do_local_plt_offset");\n}\n\n" (function_definition "undefined4 FUN_001bfc80(long param_1,uint param_2)\n\n{\n  long *plVar1;\n  ulong uVar2;\n  long *plVar3;\n  long *plVar4;\n  ulong uVar5;\n  \n  uVar2 = (ulong)param_2 % *(ulong *)(param_1 + 0x180);\n  plVar4 = *(long **)(*(long *)(param_1 + 0x178) + uVar2 * 8);\n  if (plVar4 != (long *)0x0) {\n    uVar5 = (ulong)*(uint *)((long *)*plVar4 + 1);\n    plVar1 = (long *)*plVar4;\n    do {\n      plVar3 = plVar1;\n      if ((uint)uVar5 == param_2) {\n        if (*plVar4 != 0) {\n          return *(undefined4 *)(*plVar4 + 0xc);\n        }\n        break;\n      }\n      plVar1 = (long *)*plVar3;\n      if (plVar1 == (long *)0x0) break;\n      uVar5 = (ulong)*(uint *)(plVar1 + 1);\n      plVar4 = plVar3;\n    } while (uVar2 == uVar5 % *(ulong *)(param_1 + 0x180));\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0017c650("../../gold/object.cc",0x8a7,"do_local_plt_offset");\n}" type_identifier (function_declarator "FUN_001bfc80(long param_1,uint param_2)" identifier (parameter_list "(long param_1,uint param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  long *plVar1;\n  ulong uVar2;\n  long *plVar3;\n  long *plVar4;\n  ulong uVar5;\n  \n  uVar2 = (ulong)param_2 % *(ulong *)(param_1 + 0x180);\n  plVar4 = *(long **)(*(long *)(param_1 + 0x178) + uVar2 * 8);\n  if (plVar4 != (long *)0x0) {\n    uVar5 = (ulong)*(uint *)((long *)*plVar4 + 1);\n    plVar1 = (long *)*plVar4;\n    do {\n      plVar3 = plVar1;\n      if ((uint)uVar5 == param_2) {\n        if (*plVar4 != 0) {\n          return *(undefined4 *)(*plVar4 + 0xc);\n        }\n        break;\n      }\n      plVar1 = (long *)*plVar3;\n      if (plVar1 == (long *)0x0) break;\n      uVar5 = (ulong)*(uint *)(plVar1 + 1);\n      plVar4 = plVar3;\n    } while (uVar2 == uVar5 % *(ulong *)(param_1 + 0x180));\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0017c650("../../gold/object.cc",0x8a7,"do_local_plt_offset");\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "long *plVar3;" (sized_type_specifier "long" long) (pointer_declarator "*plVar3" * identifier) ;) (declaration "long *plVar4;" (sized_type_specifier "long" long) (pointer_declarator "*plVar4" * identifier) ;) (declaration "ulong uVar5;" type_identifier identifier ;) (expression_statement "uVar2 = (ulong)param_2 % *(ulong *)(param_1 + 0x180);" (assignment_expression "uVar2 = (ulong)param_2 % *(ulong *)(param_1 + 0x180)" identifier = (binary_expression "(ulong)param_2 % *(ulong *)(param_1 + 0x180)" (cast_expression "(ulong)param_2" ( (type_descriptor "ulong" type_identifier) ) identifier) % (pointer_expression "*(ulong *)(param_1 + 0x180)" * (cast_expression "(ulong *)(param_1 + 0x180)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x180)" ( (binary_expression "param_1 + 0x180" identifier + number_literal) )))))) ;) (expression_statement "plVar4 = *(long **)(*(long *)(param_1 + 0x178) + uVar2 * 8);" (assignment_expression "plVar4 = *(long **)(*(long *)(param_1 + 0x178) + uVar2 * 8)" identifier = (pointer_expression "*(long **)(*(long *)(param_1 + 0x178) + uVar2 * 8)" * (cast_expression "(long **)(*(long *)(param_1 + 0x178) + uVar2 * 8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(param_1 + 0x178) + uVar2 * 8)" ( (binary_expression "*(long *)(param_1 + 0x178) + uVar2 * 8" (pointer_expression "*(long *)(param_1 + 0x178)" * (cast_expression "(long *)(param_1 + 0x178)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x178)" ( (binary_expression "param_1 + 0x178" identifier + number_literal) )))) + (binary_expression "uVar2 * 8" identifier * number_literal)) ))))) ;) (if_statement "if (plVar4 != (long *)0x0) {\n    uVar5 = (ulong)*(uint *)((long *)*plVar4 + 1);\n    plVar1 = (long *)*plVar4;\n    do {\n      plVar3 = plVar1;\n      if ((uint)uVar5 == param_2) {\n        if (*plVar4 != 0) {\n          return *(undefined4 *)(*plVar4 + 0xc);\n        }\n        break;\n      }\n      plVar1 = (long *)*plVar3;\n      if (plVar1 == (long *)0x0) break;\n      uVar5 = (ulong)*(uint *)(plVar1 + 1);\n      plVar4 = plVar3;\n    } while (uVar2 == uVar5 % *(ulong *)(param_1 + 0x180));\n  }" if (parenthesized_expression "(plVar4 != (long *)0x0)" ( (binary_expression "plVar4 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar5 = (ulong)*(uint *)((long *)*plVar4 + 1);\n    plVar1 = (long *)*plVar4;\n    do {\n      plVar3 = plVar1;\n      if ((uint)uVar5 == param_2) {\n        if (*plVar4 != 0) {\n          return *(undefined4 *)(*plVar4 + 0xc);\n        }\n        break;\n      }\n      plVar1 = (long *)*plVar3;\n      if (plVar1 == (long *)0x0) break;\n      uVar5 = (ulong)*(uint *)(plVar1 + 1);\n      plVar4 = plVar3;\n    } while (uVar2 == uVar5 % *(ulong *)(param_1 + 0x180));\n  }" { (expression_statement "uVar5 = (ulong)*(uint *)((long *)*plVar4 + 1);" (assignment_expression "uVar5 = (ulong)*(uint *)((long *)*plVar4 + 1)" identifier = (binary_expression "(ulong)*(uint *)((long *)*plVar4 + 1)" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(uint *)((long *)*plVar4 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long *)*plVar4 + 1)" ( (binary_expression "(long *)*plVar4 + 1" (cast_expression "(long *)*plVar4" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar4" * identifier)) + number_literal) ))))) ;) (expression_statement "plVar1 = (long *)*plVar4;" (assignment_expression "plVar1 = (long *)*plVar4" identifier = (cast_expression "(long *)*plVar4" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar4" * identifier))) ;) (do_statement "do {\n      plVar3 = plVar1;\n      if ((uint)uVar5 == param_2) {\n        if (*plVar4 != 0) {\n          return *(undefined4 *)(*plVar4 + 0xc);\n        }\n        break;\n      }\n      plVar1 = (long *)*plVar3;\n      if (plVar1 == (long *)0x0) break;\n      uVar5 = (ulong)*(uint *)(plVar1 + 1);\n      plVar4 = plVar3;\n    } while (uVar2 == uVar5 % *(ulong *)(param_1 + 0x180));" do (compound_statement "{\n      plVar3 = plVar1;\n      if ((uint)uVar5 == param_2) {\n        if (*plVar4 != 0) {\n          return *(undefined4 *)(*plVar4 + 0xc);\n        }\n        break;\n      }\n      plVar1 = (long *)*plVar3;\n      if (plVar1 == (long *)0x0) break;\n      uVar5 = (ulong)*(uint *)(plVar1 + 1);\n      plVar4 = plVar3;\n    }" { (expression_statement "plVar3 = plVar1;" (assignment_expression "plVar3 = plVar1" identifier = identifier) ;) (if_statement "if ((uint)uVar5 == param_2) {\n        if (*plVar4 != 0) {\n          return *(undefined4 *)(*plVar4 + 0xc);\n        }\n        break;\n      }" if (parenthesized_expression "((uint)uVar5 == param_2)" ( (binary_expression "(uint)uVar5 == param_2" (cast_expression "(uint)uVar5" ( (type_descriptor "uint" type_identifier) ) identifier) == identifier) )) (compound_statement "{\n        if (*plVar4 != 0) {\n          return *(undefined4 *)(*plVar4 + 0xc);\n        }\n        break;\n      }" { (if_statement "if (*plVar4 != 0) {\n          return *(undefined4 *)(*plVar4 + 0xc);\n        }" if (parenthesized_expression "(*plVar4 != 0)" ( (binary_expression "*plVar4 != 0" (pointer_expression "*plVar4" * identifier) != number_literal) )) (compound_statement "{\n          return *(undefined4 *)(*plVar4 + 0xc);\n        }" { (return_statement "return *(undefined4 *)(*plVar4 + 0xc);" return (pointer_expression "*(undefined4 *)(*plVar4 + 0xc)" * (cast_expression "(undefined4 *)(*plVar4 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*plVar4 + 0xc)" ( (binary_expression "*plVar4 + 0xc" (pointer_expression "*plVar4" * identifier) + number_literal) )))) ;) })) (break_statement "break;" break ;) })) (expression_statement "plVar1 = (long *)*plVar3;" (assignment_expression "plVar1 = (long *)*plVar3" identifier = (cast_expression "(long *)*plVar3" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar3" * identifier))) ;) (if_statement "if (plVar1 == (long *)0x0) break;" if (parenthesized_expression "(plVar1 == (long *)0x0)" ( (binary_expression "plVar1 == (long *)0x0" identifier == (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "uVar5 = (ulong)*(uint *)(plVar1 + 1);" (assignment_expression "uVar5 = (ulong)*(uint *)(plVar1 + 1)" identifier = (binary_expression "(ulong)*(uint *)(plVar1 + 1)" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(uint *)(plVar1 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(plVar1 + 1)" ( (binary_expression "plVar1 + 1" identifier + number_literal) ))))) ;) (expression_statement "plVar4 = plVar3;" (assignment_expression "plVar4 = plVar3" identifier = identifier) ;) }) while (parenthesized_expression "(uVar2 == uVar5 % *(ulong *)(param_1 + 0x180))" ( (binary_expression "uVar2 == uVar5 % *(ulong *)(param_1 + 0x180)" identifier == (binary_expression "uVar5 % *(ulong *)(param_1 + 0x180)" identifier % (pointer_expression "*(ulong *)(param_1 + 0x180)" * (cast_expression "(ulong *)(param_1 + 0x180)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x180)" ( (binary_expression "param_1 + 0x180" identifier + number_literal) )))))) )) ;) })) comment (expression_statement "FUN_0017c650("../../gold/object.cc",0x8a7,"do_local_plt_offset");" (call_expression "FUN_0017c650("../../gold/object.cc",0x8a7,"do_local_plt_offset")" identifier (argument_list "("../../gold/object.cc",0x8a7,"do_local_plt_offset")" ( (string_literal ""../../gold/object.cc"" " string_content ") , number_literal , (string_literal ""do_local_plt_offset"" " string_content ") ))) ;) })))
(translation_unit "/* DWARF original prototype: uint do_local_plt_offset(Sized_relobj_file<32,_false> * this, uint\n   symndx) */\n\nuint __thiscall\ngold::Sized_relobj_file<32,_false>::do_local_plt_offset\n          (Sized_relobj_file<32,_false> *this,uint symndx)\n\n{\n  ulong uVar1;\n  _Hash_node_base *p_Var2;\n  ulong uVar3;\n  __bucket_type p_Var4;\n  __bucket_type p_Var5;\n  uint uVar6;\n  \n  uVar1 = (this->local_plt_offsets_)._M_h._M_bucket_count;\n  uVar3 = (ulong)symndx % uVar1;\n  p_Var5 = (this->local_plt_offsets_)._M_h._M_buckets[uVar3];\n  if (p_Var5 != (__bucket_type)0x0) {\n    uVar6 = *(uint *)&p_Var5->_M_nxt[1]._M_nxt;\n    p_Var2 = p_Var5->_M_nxt;\n    do {\n      p_Var4 = p_Var2;\n      if (uVar6 == symndx) {\n        if (p_Var5->_M_nxt != (_Hash_node_base *)0x0) {\n          return *(uint *)((long)&p_Var5->_M_nxt[1]._M_nxt + 4);\n        }\n        break;\n      }\n      p_Var2 = p_Var4->_M_nxt;\n      if (p_Var2 == (_Hash_node_base *)0x0) break;\n      uVar6 = *(uint *)&p_Var2[1]._M_nxt;\n      p_Var5 = p_Var4;\n    } while (uVar3 == (ulong)uVar6 % uVar1);\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/object.cc",0x8a7,"do_local_plt_offset");\n}\n\n" comment (declaration "uint __thiscall\ngold::Sized_relobj_file<32,_false>::do_local_plt_offset\n          (Sized_relobj_file<32,_false> *this,uint symndx)\n\n{\n  ulong uVar1;" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<32" < number_literal) , (ERROR "_false>::do_local_plt_offset\n          (Sized_relobj_file<32,_false> *this,uint symndx)\n\n{\n  ulong" identifier > : : (function_declarator "do_local_plt_offset\n          (Sized_relobj_file<32,_false> *this,uint symndx)" identifier (parameter_list "(Sized_relobj_file<32,_false> *this,uint symndx)" ( (parameter_declaration "Sized_relobj_file" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "_false> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint symndx" type_identifier identifier) ))) { identifier) identifier ;) (declaration "_Hash_node_base *p_Var2;" type_identifier (pointer_declarator "*p_Var2" * identifier) ;) (declaration "ulong uVar3;" type_identifier identifier ;) (declaration "__bucket_type p_Var4;" type_identifier identifier ;) (declaration "__bucket_type p_Var5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (expression_statement "uVar1 = (this->local_plt_offsets_)._M_h._M_bucket_count;" (assignment_expression "uVar1 = (this->local_plt_offsets_)._M_h._M_bucket_count" identifier = (field_expression "(this->local_plt_offsets_)._M_h._M_bucket_count" (field_expression "(this->local_plt_offsets_)._M_h" (parenthesized_expression "(this->local_plt_offsets_)" ( (field_expression "this->local_plt_offsets_" identifier -> field_identifier) )) . field_identifier) . field_identifier)) ;) (expression_statement "uVar3 = (ulong)symndx % uVar1;" (assignment_expression "uVar3 = (ulong)symndx % uVar1" identifier = (binary_expression "(ulong)symndx % uVar1" (cast_expression "(ulong)symndx" ( (type_descriptor "ulong" type_identifier) ) identifier) % identifier)) ;) (expression_statement "p_Var5 = (this->local_plt_offsets_)._M_h._M_buckets[uVar3];" (assignment_expression "p_Var5 = (this->local_plt_offsets_)._M_h._M_buckets[uVar3]" identifier = (subscript_expression "(this->local_plt_offsets_)._M_h._M_buckets[uVar3]" (field_expression "(this->local_plt_offsets_)._M_h._M_buckets" (field_expression "(this->local_plt_offsets_)._M_h" (parenthesized_expression "(this->local_plt_offsets_)" ( (field_expression "this->local_plt_offsets_" identifier -> field_identifier) )) . field_identifier) . field_identifier) [ identifier ])) ;) (if_statement "if (p_Var5 != (__bucket_type)0x0) {\n    uVar6 = *(uint *)&p_Var5->_M_nxt[1]._M_nxt;\n    p_Var2 = p_Var5->_M_nxt;\n    do {\n      p_Var4 = p_Var2;\n      if (uVar6 == symndx) {\n        if (p_Var5->_M_nxt != (_Hash_node_base *)0x0) {\n          return *(uint *)((long)&p_Var5->_M_nxt[1]._M_nxt + 4);\n        }\n        break;\n      }\n      p_Var2 = p_Var4->_M_nxt;\n      if (p_Var2 == (_Hash_node_base *)0x0) break;\n      uVar6 = *(uint *)&p_Var2[1]._M_nxt;\n      p_Var5 = p_Var4;\n    } while (uVar3 == (ulong)uVar6 % uVar1);\n  }" if (parenthesized_expression "(p_Var5 != (__bucket_type)0x0)" ( (binary_expression "p_Var5 != (__bucket_type)0x0" identifier != (cast_expression "(__bucket_type)0x0" ( (type_descriptor "__bucket_type" type_identifier) ) number_literal)) )) (compound_statement "{\n    uVar6 = *(uint *)&p_Var5->_M_nxt[1]._M_nxt;\n    p_Var2 = p_Var5->_M_nxt;\n    do {\n      p_Var4 = p_Var2;\n      if (uVar6 == symndx) {\n        if (p_Var5->_M_nxt != (_Hash_node_base *)0x0) {\n          return *(uint *)((long)&p_Var5->_M_nxt[1]._M_nxt + 4);\n        }\n        break;\n      }\n      p_Var2 = p_Var4->_M_nxt;\n      if (p_Var2 == (_Hash_node_base *)0x0) break;\n      uVar6 = *(uint *)&p_Var2[1]._M_nxt;\n      p_Var5 = p_Var4;\n    } while (uVar3 == (ulong)uVar6 % uVar1);\n  }" { (expression_statement "uVar6 = *(uint *)&p_Var5->_M_nxt[1]._M_nxt;" (assignment_expression "uVar6 = *(uint *)&p_Var5->_M_nxt[1]._M_nxt" identifier = (pointer_expression "*(uint *)&p_Var5->_M_nxt[1]._M_nxt" * (cast_expression "(uint *)&p_Var5->_M_nxt[1]._M_nxt" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&p_Var5->_M_nxt[1]._M_nxt" & (field_expression "p_Var5->_M_nxt[1]._M_nxt" (subscript_expression "p_Var5->_M_nxt[1]" (field_expression "p_Var5->_M_nxt" identifier -> field_identifier) [ number_literal ]) . field_identifier))))) ;) (expression_statement "p_Var2 = p_Var5->_M_nxt;" (assignment_expression "p_Var2 = p_Var5->_M_nxt" identifier = (field_expression "p_Var5->_M_nxt" identifier -> field_identifier)) ;) (do_statement "do {\n      p_Var4 = p_Var2;\n      if (uVar6 == symndx) {\n        if (p_Var5->_M_nxt != (_Hash_node_base *)0x0) {\n          return *(uint *)((long)&p_Var5->_M_nxt[1]._M_nxt + 4);\n        }\n        break;\n      }\n      p_Var2 = p_Var4->_M_nxt;\n      if (p_Var2 == (_Hash_node_base *)0x0) break;\n      uVar6 = *(uint *)&p_Var2[1]._M_nxt;\n      p_Var5 = p_Var4;\n    } while (uVar3 == (ulong)uVar6 % uVar1);" do (compound_statement "{\n      p_Var4 = p_Var2;\n      if (uVar6 == symndx) {\n        if (p_Var5->_M_nxt != (_Hash_node_base *)0x0) {\n          return *(uint *)((long)&p_Var5->_M_nxt[1]._M_nxt + 4);\n        }\n        break;\n      }\n      p_Var2 = p_Var4->_M_nxt;\n      if (p_Var2 == (_Hash_node_base *)0x0) break;\n      uVar6 = *(uint *)&p_Var2[1]._M_nxt;\n      p_Var5 = p_Var4;\n    }" { (expression_statement "p_Var4 = p_Var2;" (assignment_expression "p_Var4 = p_Var2" identifier = identifier) ;) (if_statement "if (uVar6 == symndx) {\n        if (p_Var5->_M_nxt != (_Hash_node_base *)0x0) {\n          return *(uint *)((long)&p_Var5->_M_nxt[1]._M_nxt + 4);\n        }\n        break;\n      }" if (parenthesized_expression "(uVar6 == symndx)" ( (binary_expression "uVar6 == symndx" identifier == identifier) )) (compound_statement "{\n        if (p_Var5->_M_nxt != (_Hash_node_base *)0x0) {\n          return *(uint *)((long)&p_Var5->_M_nxt[1]._M_nxt + 4);\n        }\n        break;\n      }" { (if_statement "if (p_Var5->_M_nxt != (_Hash_node_base *)0x0) {\n          return *(uint *)((long)&p_Var5->_M_nxt[1]._M_nxt + 4);\n        }" if (parenthesized_expression "(p_Var5->_M_nxt != (_Hash_node_base *)0x0)" ( (binary_expression "p_Var5->_M_nxt != (_Hash_node_base *)0x0" (field_expression "p_Var5->_M_nxt" identifier -> field_identifier) != (cast_expression "(_Hash_node_base *)0x0" ( (type_descriptor "_Hash_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          return *(uint *)((long)&p_Var5->_M_nxt[1]._M_nxt + 4);\n        }" { (return_statement "return *(uint *)((long)&p_Var5->_M_nxt[1]._M_nxt + 4);" return (pointer_expression "*(uint *)((long)&p_Var5->_M_nxt[1]._M_nxt + 4)" * (cast_expression "(uint *)((long)&p_Var5->_M_nxt[1]._M_nxt + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)&p_Var5->_M_nxt[1]._M_nxt + 4)" ( (binary_expression "(long)&p_Var5->_M_nxt[1]._M_nxt + 4" (cast_expression "(long)&p_Var5->_M_nxt[1]._M_nxt" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&p_Var5->_M_nxt[1]._M_nxt" & (field_expression "p_Var5->_M_nxt[1]._M_nxt" (subscript_expression "p_Var5->_M_nxt[1]" (field_expression "p_Var5->_M_nxt" identifier -> field_identifier) [ number_literal ]) . field_identifier))) + number_literal) )))) ;) })) (break_statement "break;" break ;) })) (expression_statement "p_Var2 = p_Var4->_M_nxt;" (assignment_expression "p_Var2 = p_Var4->_M_nxt" identifier = (field_expression "p_Var4->_M_nxt" identifier -> field_identifier)) ;) (if_statement "if (p_Var2 == (_Hash_node_base *)0x0) break;" if (parenthesized_expression "(p_Var2 == (_Hash_node_base *)0x0)" ( (binary_expression "p_Var2 == (_Hash_node_base *)0x0" identifier == (cast_expression "(_Hash_node_base *)0x0" ( (type_descriptor "_Hash_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "uVar6 = *(uint *)&p_Var2[1]._M_nxt;" (assignment_expression "uVar6 = *(uint *)&p_Var2[1]._M_nxt" identifier = (pointer_expression "*(uint *)&p_Var2[1]._M_nxt" * (cast_expression "(uint *)&p_Var2[1]._M_nxt" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&p_Var2[1]._M_nxt" & (field_expression "p_Var2[1]._M_nxt" (subscript_expression "p_Var2[1]" identifier [ number_literal ]) . field_identifier))))) ;) (expression_statement "p_Var5 = p_Var4;" (assignment_expression "p_Var5 = p_Var4" identifier = identifier) ;) }) while (parenthesized_expression "(uVar3 == (ulong)uVar6 % uVar1)" ( (binary_expression "uVar3 == (ulong)uVar6 % uVar1" identifier == (binary_expression "(ulong)uVar6 % uVar1" (cast_expression "(ulong)uVar6" ( (type_descriptor "ulong" type_identifier) ) identifier) % identifier)) )) ;) })) comment (expression_statement "do_gold_unreachable("../../gold/object.cc",0x8a7,"do_local_plt_offset");" (call_expression "do_gold_unreachable("../../gold/object.cc",0x8a7,"do_local_plt_offset")" identifier (argument_list "("../../gold/object.cc",0x8a7,"do_local_plt_offset")" ( (string_literal ""../../gold/object.cc"" " string_content ") , number_literal , (string_literal ""do_local_plt_offset"" " string_content ") ))) ;) (ERROR "}" }))
(translation_unit "undefined4 FUN_001bfc80(long param_1,uint param_2)\n\n{\n  long *plVar1;\n  ulong uVar2;\n  long *plVar3;\n  long *plVar4;\n  ulong uVar5;\n  \n  uVar2 = (ulong)param_2 % *(ulong *)(param_1 + 0x180);\n  plVar4 = *(long **)(*(long *)(param_1 + 0x178) + uVar2 * 8);\n  if (plVar4 != (long *)0x0) {\n    uVar5 = (ulong)*(uint *)((long *)*plVar4 + 1);\n    plVar1 = (long *)*plVar4;\n    do {\n      plVar3 = plVar1;\n      if ((uint)uVar5 == param_2) {\n        if (*plVar4 != 0) {\n          return *(undefined4 *)(*plVar4 + 0xc);\n        }\n        break;\n      }\n      plVar1 = (long *)*plVar3;\n      if (plVar1 == (long *)0x0) break;\n      uVar5 = (ulong)*(uint *)(plVar1 + 1);\n      plVar4 = plVar3;\n    } while (uVar2 == uVar5 % *(ulong *)(param_1 + 0x180));\n  }\n                    \n  FUN_0017c650("../../gold/object.cc",0x8a7,"do_local_plt_offset");\n}\n\n" (function_definition "undefined4 FUN_001bfc80(long param_1,uint param_2)\n\n{\n  long *plVar1;\n  ulong uVar2;\n  long *plVar3;\n  long *plVar4;\n  ulong uVar5;\n  \n  uVar2 = (ulong)param_2 % *(ulong *)(param_1 + 0x180);\n  plVar4 = *(long **)(*(long *)(param_1 + 0x178) + uVar2 * 8);\n  if (plVar4 != (long *)0x0) {\n    uVar5 = (ulong)*(uint *)((long *)*plVar4 + 1);\n    plVar1 = (long *)*plVar4;\n    do {\n      plVar3 = plVar1;\n      if ((uint)uVar5 == param_2) {\n        if (*plVar4 != 0) {\n          return *(undefined4 *)(*plVar4 + 0xc);\n        }\n        break;\n      }\n      plVar1 = (long *)*plVar3;\n      if (plVar1 == (long *)0x0) break;\n      uVar5 = (ulong)*(uint *)(plVar1 + 1);\n      plVar4 = plVar3;\n    } while (uVar2 == uVar5 % *(ulong *)(param_1 + 0x180));\n  }\n                    \n  FUN_0017c650("../../gold/object.cc",0x8a7,"do_local_plt_offset");\n}" type_identifier (function_declarator "FUN_001bfc80(long param_1,uint param_2)" identifier (parameter_list "(long param_1,uint param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  long *plVar1;\n  ulong uVar2;\n  long *plVar3;\n  long *plVar4;\n  ulong uVar5;\n  \n  uVar2 = (ulong)param_2 % *(ulong *)(param_1 + 0x180);\n  plVar4 = *(long **)(*(long *)(param_1 + 0x178) + uVar2 * 8);\n  if (plVar4 != (long *)0x0) {\n    uVar5 = (ulong)*(uint *)((long *)*plVar4 + 1);\n    plVar1 = (long *)*plVar4;\n    do {\n      plVar3 = plVar1;\n      if ((uint)uVar5 == param_2) {\n        if (*plVar4 != 0) {\n          return *(undefined4 *)(*plVar4 + 0xc);\n        }\n        break;\n      }\n      plVar1 = (long *)*plVar3;\n      if (plVar1 == (long *)0x0) break;\n      uVar5 = (ulong)*(uint *)(plVar1 + 1);\n      plVar4 = plVar3;\n    } while (uVar2 == uVar5 % *(ulong *)(param_1 + 0x180));\n  }\n                    \n  FUN_0017c650("../../gold/object.cc",0x8a7,"do_local_plt_offset");\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "long *plVar3;" (sized_type_specifier "long" long) (pointer_declarator "*plVar3" * identifier) ;) (declaration "long *plVar4;" (sized_type_specifier "long" long) (pointer_declarator "*plVar4" * identifier) ;) (declaration "ulong uVar5;" type_identifier identifier ;) (expression_statement "uVar2 = (ulong)param_2 % *(ulong *)(param_1 + 0x180);" (assignment_expression "uVar2 = (ulong)param_2 % *(ulong *)(param_1 + 0x180)" identifier = (binary_expression "(ulong)param_2 % *(ulong *)(param_1 + 0x180)" (cast_expression "(ulong)param_2" ( (type_descriptor "ulong" type_identifier) ) identifier) % (pointer_expression "*(ulong *)(param_1 + 0x180)" * (cast_expression "(ulong *)(param_1 + 0x180)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x180)" ( (binary_expression "param_1 + 0x180" identifier + number_literal) )))))) ;) (expression_statement "plVar4 = *(long **)(*(long *)(param_1 + 0x178) + uVar2 * 8);" (assignment_expression "plVar4 = *(long **)(*(long *)(param_1 + 0x178) + uVar2 * 8)" identifier = (pointer_expression "*(long **)(*(long *)(param_1 + 0x178) + uVar2 * 8)" * (cast_expression "(long **)(*(long *)(param_1 + 0x178) + uVar2 * 8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(param_1 + 0x178) + uVar2 * 8)" ( (binary_expression "*(long *)(param_1 + 0x178) + uVar2 * 8" (pointer_expression "*(long *)(param_1 + 0x178)" * (cast_expression "(long *)(param_1 + 0x178)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x178)" ( (binary_expression "param_1 + 0x178" identifier + number_literal) )))) + (binary_expression "uVar2 * 8" identifier * number_literal)) ))))) ;) (if_statement "if (plVar4 != (long *)0x0) {\n    uVar5 = (ulong)*(uint *)((long *)*plVar4 + 1);\n    plVar1 = (long *)*plVar4;\n    do {\n      plVar3 = plVar1;\n      if ((uint)uVar5 == param_2) {\n        if (*plVar4 != 0) {\n          return *(undefined4 *)(*plVar4 + 0xc);\n        }\n        break;\n      }\n      plVar1 = (long *)*plVar3;\n      if (plVar1 == (long *)0x0) break;\n      uVar5 = (ulong)*(uint *)(plVar1 + 1);\n      plVar4 = plVar3;\n    } while (uVar2 == uVar5 % *(ulong *)(param_1 + 0x180));\n  }" if (parenthesized_expression "(plVar4 != (long *)0x0)" ( (binary_expression "plVar4 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar5 = (ulong)*(uint *)((long *)*plVar4 + 1);\n    plVar1 = (long *)*plVar4;\n    do {\n      plVar3 = plVar1;\n      if ((uint)uVar5 == param_2) {\n        if (*plVar4 != 0) {\n          return *(undefined4 *)(*plVar4 + 0xc);\n        }\n        break;\n      }\n      plVar1 = (long *)*plVar3;\n      if (plVar1 == (long *)0x0) break;\n      uVar5 = (ulong)*(uint *)(plVar1 + 1);\n      plVar4 = plVar3;\n    } while (uVar2 == uVar5 % *(ulong *)(param_1 + 0x180));\n  }" { (expression_statement "uVar5 = (ulong)*(uint *)((long *)*plVar4 + 1);" (assignment_expression "uVar5 = (ulong)*(uint *)((long *)*plVar4 + 1)" identifier = (binary_expression "(ulong)*(uint *)((long *)*plVar4 + 1)" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(uint *)((long *)*plVar4 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long *)*plVar4 + 1)" ( (binary_expression "(long *)*plVar4 + 1" (cast_expression "(long *)*plVar4" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar4" * identifier)) + number_literal) ))))) ;) (expression_statement "plVar1 = (long *)*plVar4;" (assignment_expression "plVar1 = (long *)*plVar4" identifier = (cast_expression "(long *)*plVar4" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar4" * identifier))) ;) (do_statement "do {\n      plVar3 = plVar1;\n      if ((uint)uVar5 == param_2) {\n        if (*plVar4 != 0) {\n          return *(undefined4 *)(*plVar4 + 0xc);\n        }\n        break;\n      }\n      plVar1 = (long *)*plVar3;\n      if (plVar1 == (long *)0x0) break;\n      uVar5 = (ulong)*(uint *)(plVar1 + 1);\n      plVar4 = plVar3;\n    } while (uVar2 == uVar5 % *(ulong *)(param_1 + 0x180));" do (compound_statement "{\n      plVar3 = plVar1;\n      if ((uint)uVar5 == param_2) {\n        if (*plVar4 != 0) {\n          return *(undefined4 *)(*plVar4 + 0xc);\n        }\n        break;\n      }\n      plVar1 = (long *)*plVar3;\n      if (plVar1 == (long *)0x0) break;\n      uVar5 = (ulong)*(uint *)(plVar1 + 1);\n      plVar4 = plVar3;\n    }" { (expression_statement "plVar3 = plVar1;" (assignment_expression "plVar3 = plVar1" identifier = identifier) ;) (if_statement "if ((uint)uVar5 == param_2) {\n        if (*plVar4 != 0) {\n          return *(undefined4 *)(*plVar4 + 0xc);\n        }\n        break;\n      }" if (parenthesized_expression "((uint)uVar5 == param_2)" ( (binary_expression "(uint)uVar5 == param_2" (cast_expression "(uint)uVar5" ( (type_descriptor "uint" type_identifier) ) identifier) == identifier) )) (compound_statement "{\n        if (*plVar4 != 0) {\n          return *(undefined4 *)(*plVar4 + 0xc);\n        }\n        break;\n      }" { (if_statement "if (*plVar4 != 0) {\n          return *(undefined4 *)(*plVar4 + 0xc);\n        }" if (parenthesized_expression "(*plVar4 != 0)" ( (binary_expression "*plVar4 != 0" (pointer_expression "*plVar4" * identifier) != number_literal) )) (compound_statement "{\n          return *(undefined4 *)(*plVar4 + 0xc);\n        }" { (return_statement "return *(undefined4 *)(*plVar4 + 0xc);" return (pointer_expression "*(undefined4 *)(*plVar4 + 0xc)" * (cast_expression "(undefined4 *)(*plVar4 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*plVar4 + 0xc)" ( (binary_expression "*plVar4 + 0xc" (pointer_expression "*plVar4" * identifier) + number_literal) )))) ;) })) (break_statement "break;" break ;) })) (expression_statement "plVar1 = (long *)*plVar3;" (assignment_expression "plVar1 = (long *)*plVar3" identifier = (cast_expression "(long *)*plVar3" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar3" * identifier))) ;) (if_statement "if (plVar1 == (long *)0x0) break;" if (parenthesized_expression "(plVar1 == (long *)0x0)" ( (binary_expression "plVar1 == (long *)0x0" identifier == (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "uVar5 = (ulong)*(uint *)(plVar1 + 1);" (assignment_expression "uVar5 = (ulong)*(uint *)(plVar1 + 1)" identifier = (binary_expression "(ulong)*(uint *)(plVar1 + 1)" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(uint *)(plVar1 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(plVar1 + 1)" ( (binary_expression "plVar1 + 1" identifier + number_literal) ))))) ;) (expression_statement "plVar4 = plVar3;" (assignment_expression "plVar4 = plVar3" identifier = identifier) ;) }) while (parenthesized_expression "(uVar2 == uVar5 % *(ulong *)(param_1 + 0x180))" ( (binary_expression "uVar2 == uVar5 % *(ulong *)(param_1 + 0x180)" identifier == (binary_expression "uVar5 % *(ulong *)(param_1 + 0x180)" identifier % (pointer_expression "*(ulong *)(param_1 + 0x180)" * (cast_expression "(ulong *)(param_1 + 0x180)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x180)" ( (binary_expression "param_1 + 0x180" identifier + number_literal) )))))) )) ;) })) (expression_statement "FUN_0017c650("../../gold/object.cc",0x8a7,"do_local_plt_offset");" (call_expression "FUN_0017c650("../../gold/object.cc",0x8a7,"do_local_plt_offset")" identifier (argument_list "("../../gold/object.cc",0x8a7,"do_local_plt_offset")" ( (string_literal ""../../gold/object.cc"" " string_content ") , number_literal , (string_literal ""do_local_plt_offset"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) % (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) == IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) ;) })) (break_statement break ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT == (binary_expression IDENT % (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) )) ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "undefined4 FUN_001bfc80(long param_1,uint param_2)\n\n{\n  long *plVar1;\n  ulong uVar2;\n  long *plVar3;\n  long *plVar4;\n  ulong uVar5;\n  \n  uVar2 = (ulong)param_2 % *(ulong *)(param_1 + 0x180);\n  plVar4 = *(long **)(*(long *)(param_1 + 0x178) + uVar2 * 8);\n  if (plVar4 != (long *)0x0) {\n    uVar5 = (ulong)*(uint *)((long *)*plVar4 + 1);\n    plVar1 = (long *)*plVar4;\n    do {\n      plVar3 = plVar1;\n      if ((uint)uVar5 == param_2) {\n        if (*plVar4 != 0) {\n          return *(undefined4 *)(*plVar4 + 0xc);\n        }\n        break;\n      }\n      plVar1 = (long *)*plVar3;\n      if (plVar1 == (long *)0x0) break;\n      uVar5 = (ulong)*(uint *)(plVar1 + 1);\n      plVar4 = plVar3;\n    } while (uVar2 == uVar5 % *(ulong *)(param_1 + 0x180));\n  }\n                    \n  FUN_0017c650("../../gold/object.cc",0x8a7,"do_local_plt_offset");\n}" (type_identifier "undefined4") (function_declarator "FUN_001bfc80(long param_1,uint param_2)" (identifier "FUN_001bfc80") (parameter_list "(long param_1,uint param_2)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  long *plVar1;\n  ulong uVar2;\n  long *plVar3;\n  long *plVar4;\n  ulong uVar5;\n  \n  uVar2 = (ulong)param_2 % *(ulong *)(param_1 + 0x180);\n  plVar4 = *(long **)(*(long *)(param_1 + 0x178) + uVar2 * 8);\n  if (plVar4 != (long *)0x0) {\n    uVar5 = (ulong)*(uint *)((long *)*plVar4 + 1);\n    plVar1 = (long *)*plVar4;\n    do {\n      plVar3 = plVar1;\n      if ((uint)uVar5 == param_2) {\n        if (*plVar4 != 0) {\n          return *(undefined4 *)(*plVar4 + 0xc);\n        }\n        break;\n      }\n      plVar1 = (long *)*plVar3;\n      if (plVar1 == (long *)0x0) break;\n      uVar5 = (ulong)*(uint *)(plVar1 + 1);\n      plVar4 = plVar3;\n    } while (uVar2 == uVar5 % *(ulong *)(param_1 + 0x180));\n  }\n                    \n  FUN_0017c650("../../gold/object.cc",0x8a7,"do_local_plt_offset");\n}" ({ "{") (declaration "long *plVar1;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar1" (* "*") (identifier "plVar1")) (; ";")) (declaration "ulong uVar2;" (type_identifier "ulong") (identifier "uVar2") (; ";")) (declaration "long *plVar3;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar3" (* "*") (identifier "plVar3")) (; ";")) (declaration "long *plVar4;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar4" (* "*") (identifier "plVar4")) (; ";")) (declaration "ulong uVar5;" (type_identifier "ulong") (identifier "uVar5") (; ";")) (expression_statement "uVar2 = (ulong)param_2 % *(ulong *)(param_1 + 0x180);" (assignment_expression "uVar2 = (ulong)param_2 % *(ulong *)(param_1 + 0x180)" (identifier "uVar2") (= "=") (binary_expression "(ulong)param_2 % *(ulong *)(param_1 + 0x180)" (cast_expression "(ulong)param_2" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "param_2")) (% "%") (pointer_expression "*(ulong *)(param_1 + 0x180)" (* "*") (cast_expression "(ulong *)(param_1 + 0x180)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x180)" (( "(") (binary_expression "param_1 + 0x180" (identifier "param_1") (+ "+") (number_literal "0x180")) () ")")))))) (; ";")) (expression_statement "plVar4 = *(long **)(*(long *)(param_1 + 0x178) + uVar2 * 8);" (assignment_expression "plVar4 = *(long **)(*(long *)(param_1 + 0x178) + uVar2 * 8)" (identifier "plVar4") (= "=") (pointer_expression "*(long **)(*(long *)(param_1 + 0x178) + uVar2 * 8)" (* "*") (cast_expression "(long **)(*(long *)(param_1 + 0x178) + uVar2 * 8)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0x178) + uVar2 * 8)" (( "(") (binary_expression "*(long *)(param_1 + 0x178) + uVar2 * 8" (pointer_expression "*(long *)(param_1 + 0x178)" (* "*") (cast_expression "(long *)(param_1 + 0x178)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x178)" (( "(") (binary_expression "param_1 + 0x178" (identifier "param_1") (+ "+") (number_literal "0x178")) () ")")))) (+ "+") (binary_expression "uVar2 * 8" (identifier "uVar2") (* "*") (number_literal "8"))) () ")"))))) (; ";")) (if_statement "if (plVar4 != (long *)0x0) {\n    uVar5 = (ulong)*(uint *)((long *)*plVar4 + 1);\n    plVar1 = (long *)*plVar4;\n    do {\n      plVar3 = plVar1;\n      if ((uint)uVar5 == param_2) {\n        if (*plVar4 != 0) {\n          return *(undefined4 *)(*plVar4 + 0xc);\n        }\n        break;\n      }\n      plVar1 = (long *)*plVar3;\n      if (plVar1 == (long *)0x0) break;\n      uVar5 = (ulong)*(uint *)(plVar1 + 1);\n      plVar4 = plVar3;\n    } while (uVar2 == uVar5 % *(ulong *)(param_1 + 0x180));\n  }" (if "if") (parenthesized_expression "(plVar4 != (long *)0x0)" (( "(") (binary_expression "plVar4 != (long *)0x0" (identifier "plVar4") (!= "!=") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    uVar5 = (ulong)*(uint *)((long *)*plVar4 + 1);\n    plVar1 = (long *)*plVar4;\n    do {\n      plVar3 = plVar1;\n      if ((uint)uVar5 == param_2) {\n        if (*plVar4 != 0) {\n          return *(undefined4 *)(*plVar4 + 0xc);\n        }\n        break;\n      }\n      plVar1 = (long *)*plVar3;\n      if (plVar1 == (long *)0x0) break;\n      uVar5 = (ulong)*(uint *)(plVar1 + 1);\n      plVar4 = plVar3;\n    } while (uVar2 == uVar5 % *(ulong *)(param_1 + 0x180));\n  }" ({ "{") (expression_statement "uVar5 = (ulong)*(uint *)((long *)*plVar4 + 1);" (assignment_expression "uVar5 = (ulong)*(uint *)((long *)*plVar4 + 1)" (identifier "uVar5") (= "=") (binary_expression "(ulong)*(uint *)((long *)*plVar4 + 1)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (* "*") (cast_expression "(uint *)((long *)*plVar4 + 1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long *)*plVar4 + 1)" (( "(") (binary_expression "(long *)*plVar4 + 1" (cast_expression "(long *)*plVar4" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*plVar4" (* "*") (identifier "plVar4"))) (+ "+") (number_literal "1")) () ")"))))) (; ";")) (expression_statement "plVar1 = (long *)*plVar4;" (assignment_expression "plVar1 = (long *)*plVar4" (identifier "plVar1") (= "=") (cast_expression "(long *)*plVar4" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*plVar4" (* "*") (identifier "plVar4")))) (; ";")) (do_statement "do {\n      plVar3 = plVar1;\n      if ((uint)uVar5 == param_2) {\n        if (*plVar4 != 0) {\n          return *(undefined4 *)(*plVar4 + 0xc);\n        }\n        break;\n      }\n      plVar1 = (long *)*plVar3;\n      if (plVar1 == (long *)0x0) break;\n      uVar5 = (ulong)*(uint *)(plVar1 + 1);\n      plVar4 = plVar3;\n    } while (uVar2 == uVar5 % *(ulong *)(param_1 + 0x180));" (do "do") (compound_statement "{\n      plVar3 = plVar1;\n      if ((uint)uVar5 == param_2) {\n        if (*plVar4 != 0) {\n          return *(undefined4 *)(*plVar4 + 0xc);\n        }\n        break;\n      }\n      plVar1 = (long *)*plVar3;\n      if (plVar1 == (long *)0x0) break;\n      uVar5 = (ulong)*(uint *)(plVar1 + 1);\n      plVar4 = plVar3;\n    }" ({ "{") (expression_statement "plVar3 = plVar1;" (assignment_expression "plVar3 = plVar1" (identifier "plVar3") (= "=") (identifier "plVar1")) (; ";")) (if_statement "if ((uint)uVar5 == param_2) {\n        if (*plVar4 != 0) {\n          return *(undefined4 *)(*plVar4 + 0xc);\n        }\n        break;\n      }" (if "if") (parenthesized_expression "((uint)uVar5 == param_2)" (( "(") (binary_expression "(uint)uVar5 == param_2" (cast_expression "(uint)uVar5" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar5")) (== "==") (identifier "param_2")) () ")")) (compound_statement "{\n        if (*plVar4 != 0) {\n          return *(undefined4 *)(*plVar4 + 0xc);\n        }\n        break;\n      }" ({ "{") (if_statement "if (*plVar4 != 0) {\n          return *(undefined4 *)(*plVar4 + 0xc);\n        }" (if "if") (parenthesized_expression "(*plVar4 != 0)" (( "(") (binary_expression "*plVar4 != 0" (pointer_expression "*plVar4" (* "*") (identifier "plVar4")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          return *(undefined4 *)(*plVar4 + 0xc);\n        }" ({ "{") (return_statement "return *(undefined4 *)(*plVar4 + 0xc);" (return "return") (pointer_expression "*(undefined4 *)(*plVar4 + 0xc)" (* "*") (cast_expression "(undefined4 *)(*plVar4 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*plVar4 + 0xc)" (( "(") (binary_expression "*plVar4 + 0xc" (pointer_expression "*plVar4" (* "*") (identifier "plVar4")) (+ "+") (number_literal "0xc")) () ")")))) (; ";")) (} "}"))) (break_statement "break;" (break "break") (; ";")) (} "}"))) (expression_statement "plVar1 = (long *)*plVar3;" (assignment_expression "plVar1 = (long *)*plVar3" (identifier "plVar1") (= "=") (cast_expression "(long *)*plVar3" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*plVar3" (* "*") (identifier "plVar3")))) (; ";")) (if_statement "if (plVar1 == (long *)0x0) break;" (if "if") (parenthesized_expression "(plVar1 == (long *)0x0)" (( "(") (binary_expression "plVar1 == (long *)0x0" (identifier "plVar1") (== "==") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "uVar5 = (ulong)*(uint *)(plVar1 + 1);" (assignment_expression "uVar5 = (ulong)*(uint *)(plVar1 + 1)" (identifier "uVar5") (= "=") (binary_expression "(ulong)*(uint *)(plVar1 + 1)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (* "*") (cast_expression "(uint *)(plVar1 + 1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(plVar1 + 1)" (( "(") (binary_expression "plVar1 + 1" (identifier "plVar1") (+ "+") (number_literal "1")) () ")"))))) (; ";")) (expression_statement "plVar4 = plVar3;" (assignment_expression "plVar4 = plVar3" (identifier "plVar4") (= "=") (identifier "plVar3")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar2 == uVar5 % *(ulong *)(param_1 + 0x180))" (( "(") (binary_expression "uVar2 == uVar5 % *(ulong *)(param_1 + 0x180)" (identifier "uVar2") (== "==") (binary_expression "uVar5 % *(ulong *)(param_1 + 0x180)" (identifier "uVar5") (% "%") (pointer_expression "*(ulong *)(param_1 + 0x180)" (* "*") (cast_expression "(ulong *)(param_1 + 0x180)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x180)" (( "(") (binary_expression "param_1 + 0x180" (identifier "param_1") (+ "+") (number_literal "0x180")) () ")")))))) () ")")) (; ";")) (} "}"))) (expression_statement "FUN_0017c650("../../gold/object.cc",0x8a7,"do_local_plt_offset");" (call_expression "FUN_0017c650("../../gold/object.cc",0x8a7,"do_local_plt_offset")" (identifier "FUN_0017c650") (argument_list "("../../gold/object.cc",0x8a7,"do_local_plt_offset")" (( "(") (string_literal ""../../gold/object.cc"" (" """) (string_content "../../gold/object.cc") (" """)) (, ",") (number_literal "0x8a7") (, ",") (string_literal ""do_local_plt_offset"" (" """) (string_content "do_local_plt_offset") (" """)) () ")"))) (; ";")) (} "}")))

/* DWARF original prototype: uint do_local_plt_offset(Sized_relobj_file<32,_false> * this, uint
   symndx) */

type_1 __thiscall
gold::Sized_relobj_file<32,_false>::do_local_plt_offset
          (Sized_relobj_file<32,_false> *this,type_1 var_4)

{
  type_3 var_1;
  type_2 *var_5;
  type_3 var_6;
  type_4 p_Var4;
  type_4 var_2;
  type_1 var_3;
  
  var_1 = (this->local_plt_offsets_)._M_h._M_bucket_count;
  var_6 = (type_3)var_4 % var_1;
  var_2 = (this->local_plt_offsets_)._M_h._M_buckets[var_6];
  if (var_2 != (type_4)0x0) {
    var_3 = *(type_1 *)&var_2->_M_nxt[1]._M_nxt;
    var_5 = var_2->_M_nxt;
    do {
      p_Var4 = var_5;
      if (var_3 == var_4) {
        if (var_2->_M_nxt != (type_2 *)0x0) {
          return *(type_1 *)((long)&var_2->_M_nxt[1]._M_nxt + 4);
        }
        break;
      }
      var_5 = p_Var4->_M_nxt;
      if (var_5 == (type_2 *)0x0) break;
      var_3 = *(type_1 *)&var_5[1]._M_nxt;
      var_2 = p_Var4;
    } while (var_6 == (type_3)var_3 % var_1);
  }
                    /* WARNING: Subroutine does not return */
  var_7("../../gold/object.cc",0x8a7,"do_local_plt_offset");
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (identifier))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (return_statement (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))))))) (break_statement))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content))))))))

undefined4 MASKED(long param_1,uint param_2)

{
  long *plVar1;
  ulong uVar2;
  long *plVar3;
  long *plVar4;
  ulong uVar5;
  
  uVar2 = (ulong)param_2 % *(ulong *)(param_1 + 0x180);
  plVar4 = *(long **)(*(long *)(param_1 + 0x178) + uVar2 * 8);
  if (plVar4 != (long *)0x0) {
    uVar5 = (ulong)*(uint *)((long *)*plVar4 + 1);
    plVar1 = (long *)*plVar4;
    do {
      plVar3 = plVar1;
      if ((uint)uVar5 == param_2) {
        if (*plVar4 != 0) {
          return *(undefined4 *)(*plVar4 + 0xc);
        }
        break;
      }
      plVar1 = (long *)*plVar3;
      if (plVar1 == (long *)0x0) break;
      uVar5 = (ulong)*(uint *)(plVar1 + 1);
      plVar4 = plVar3;
    } while (uVar2 == uVar5 % *(ulong *)(param_1 + 0x180));
  }
                    /* WARNING: Subroutine does not return */
  FUN_0017c650("../../gold/object.cc",0x8a7,"do_local_plt_offset");
}

