
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* DWARF original prototype: uint do_local_plt_offset(Sized_relobj_file<64,_false> * this, uint
   symndx) */

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

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



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

int FUN_00093ba0(int param_1,uint param_2)

{
  uint uVar1;
  int *piVar2;
  int *piVar3;
  uint uVar4;
  int *piVar5;
  int *piVar6;
  
  uVar1 = *(uint *)(param_1 + 0xec);
  piVar6 = (int *)(*(int **)(param_1 + 0xe8))[param_2 % uVar1];
  piVar3 = *(int **)(param_1 + 0xe8);
  if (piVar6 != (int *)0x0) {
    uVar4 = ((int *)*piVar6)[1];
    piVar2 = (int *)*piVar6;
    do {
      piVar5 = piVar2;
      if (uVar4 == param_2) {
        piVar3 = (int *)*piVar6;
        if (piVar3 != (int *)0x0) {
          return piVar3[2];
        }
        break;
      }
      piVar2 = (int *)*piVar5;
      piVar3 = piVar2;
      if (piVar2 == (int *)0x0) break;
      uVar4 = piVar2[1];
      piVar3 = (int *)(uVar4 / uVar1);
      piVar6 = piVar5;
    } while (param_2 % uVar1 == uVar4 % uVar1);
  }
                    /* WARNING: Subroutine does not return */
  FUN_0005f0b0("../../gold/object.cc",0x8a7,"do_local_plt_offset",piVar3);
}


CALL 0x0004fb76
ADD EAX,0x26e45b
PUSH EBP
XOR EDX,EDX
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x1c
MOV EBX,dword ptr [ESP + 0x30]
MOV dword ptr [ESP + 0xc],EAX
MOV EAX,dword ptr [ESP + 0x34]
MOV ECX,dword ptr [EBX + 0xec]
DIV ECX
MOV EAX,dword ptr [EBX + 0xe8]
MOV EDI,dword ptr [EAX + EDX*0x4]
TEST EDI,EDI
JZ 0x00093c0e
MOV ESI,dword ptr [EDI]
MOV EBP,EDX
MOV EBX,dword ptr [ESI + 0x4]
JMP 0x00093bf7
MOV EAX,dword ptr [ESI]
TEST EAX,EAX
JZ 0x00093c0e
MOV EBX,dword ptr [EAX + 0x4]
MOV EDI,ESI
XOR EDX,EDX
MOV ESI,EAX
MOV EAX,EBX
DIV ECX
CMP EBP,EDX
JNZ 0x00093c0e
CMP EBX,dword ptr [ESP + 0x34]
JNZ 0x00093be0
MOV EAX,dword ptr [EDI]
TEST EAX,EAX
JZ 0x00093c0e
MOV EAX,dword ptr [EAX + 0x8]
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
PUSH EAX
MOV EBX,dword ptr [ESP + 0x10]
LEA EAX,[EBX + 0xfff23140]
PUSH EAX
LEA EAX,[EBX + 0xfff228b8]
PUSH 0x8a7
PUSH EAX
CALL 0x0005f0b0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nint FUN_00093ba0(int param_1,uint param_2)\n\n{\n  uint uVar1;\n  int *piVar2;\n  int *piVar3;\n  uint uVar4;\n  int *piVar5;\n  int *piVar6;\n  \n  uVar1 = *(uint *)(param_1 + 0xec);\n  piVar6 = (int *)(*(int **)(param_1 + 0xe8))[param_2 % uVar1];\n  piVar3 = *(int **)(param_1 + 0xe8);\n  if (piVar6 != (int *)0x0) {\n    uVar4 = ((int *)*piVar6)[1];\n    piVar2 = (int *)*piVar6;\n    do {\n      piVar5 = piVar2;\n      if (uVar4 == param_2) {\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }\n      piVar2 = (int *)*piVar5;\n      piVar3 = piVar2;\n      if (piVar2 == (int *)0x0) break;\n      uVar4 = piVar2[1];\n      piVar3 = (int *)(uVar4 / uVar1);\n      piVar6 = piVar5;\n    } while (param_2 % uVar1 == uVar4 % uVar1);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0005f0b0("../../gold/object.cc",0x8a7,"do_local_plt_offset",piVar3);\n}\n\n" comment (function_definition "int FUN_00093ba0(int param_1,uint param_2)\n\n{\n  uint uVar1;\n  int *piVar2;\n  int *piVar3;\n  uint uVar4;\n  int *piVar5;\n  int *piVar6;\n  \n  uVar1 = *(uint *)(param_1 + 0xec);\n  piVar6 = (int *)(*(int **)(param_1 + 0xe8))[param_2 % uVar1];\n  piVar3 = *(int **)(param_1 + 0xe8);\n  if (piVar6 != (int *)0x0) {\n    uVar4 = ((int *)*piVar6)[1];\n    piVar2 = (int *)*piVar6;\n    do {\n      piVar5 = piVar2;\n      if (uVar4 == param_2) {\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }\n      piVar2 = (int *)*piVar5;\n      piVar3 = piVar2;\n      if (piVar2 == (int *)0x0) break;\n      uVar4 = piVar2[1];\n      piVar3 = (int *)(uVar4 / uVar1);\n      piVar6 = piVar5;\n    } while (param_2 % uVar1 == uVar4 % uVar1);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0005f0b0("../../gold/object.cc",0x8a7,"do_local_plt_offset",piVar3);\n}" primitive_type (function_declarator "FUN_00093ba0(int param_1,uint param_2)" identifier (parameter_list "(int param_1,uint param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  int *piVar2;\n  int *piVar3;\n  uint uVar4;\n  int *piVar5;\n  int *piVar6;\n  \n  uVar1 = *(uint *)(param_1 + 0xec);\n  piVar6 = (int *)(*(int **)(param_1 + 0xe8))[param_2 % uVar1];\n  piVar3 = *(int **)(param_1 + 0xe8);\n  if (piVar6 != (int *)0x0) {\n    uVar4 = ((int *)*piVar6)[1];\n    piVar2 = (int *)*piVar6;\n    do {\n      piVar5 = piVar2;\n      if (uVar4 == param_2) {\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }\n      piVar2 = (int *)*piVar5;\n      piVar3 = piVar2;\n      if (piVar2 == (int *)0x0) break;\n      uVar4 = piVar2[1];\n      piVar3 = (int *)(uVar4 / uVar1);\n      piVar6 = piVar5;\n    } while (param_2 % uVar1 == uVar4 % uVar1);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0005f0b0("../../gold/object.cc",0x8a7,"do_local_plt_offset",piVar3);\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (expression_statement "uVar1 = *(uint *)(param_1 + 0xec);" (assignment_expression "uVar1 = *(uint *)(param_1 + 0xec)" identifier = (pointer_expression "*(uint *)(param_1 + 0xec)" * (cast_expression "(uint *)(param_1 + 0xec)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xec)" ( (binary_expression "param_1 + 0xec" identifier + number_literal) ))))) ;) (expression_statement "piVar6 = (int *)(*(int **)(param_1 + 0xe8))[param_2 % uVar1];" (assignment_expression "piVar6 = (int *)(*(int **)(param_1 + 0xe8))[param_2 % uVar1]" identifier = (cast_expression "(int *)(*(int **)(param_1 + 0xe8))[param_2 % uVar1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "(*(int **)(param_1 + 0xe8))[param_2 % uVar1]" (parenthesized_expression "(*(int **)(param_1 + 0xe8))" ( (pointer_expression "*(int **)(param_1 + 0xe8)" * (cast_expression "(int **)(param_1 + 0xe8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xe8)" ( (binary_expression "param_1 + 0xe8" identifier + number_literal) )))) )) [ (binary_expression "param_2 % uVar1" identifier % identifier) ]))) ;) (expression_statement "piVar3 = *(int **)(param_1 + 0xe8);" (assignment_expression "piVar3 = *(int **)(param_1 + 0xe8)" identifier = (pointer_expression "*(int **)(param_1 + 0xe8)" * (cast_expression "(int **)(param_1 + 0xe8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xe8)" ( (binary_expression "param_1 + 0xe8" identifier + number_literal) ))))) ;) (if_statement "if (piVar6 != (int *)0x0) {\n    uVar4 = ((int *)*piVar6)[1];\n    piVar2 = (int *)*piVar6;\n    do {\n      piVar5 = piVar2;\n      if (uVar4 == param_2) {\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }\n      piVar2 = (int *)*piVar5;\n      piVar3 = piVar2;\n      if (piVar2 == (int *)0x0) break;\n      uVar4 = piVar2[1];\n      piVar3 = (int *)(uVar4 / uVar1);\n      piVar6 = piVar5;\n    } while (param_2 % uVar1 == uVar4 % uVar1);\n  }" if (parenthesized_expression "(piVar6 != (int *)0x0)" ( (binary_expression "piVar6 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar4 = ((int *)*piVar6)[1];\n    piVar2 = (int *)*piVar6;\n    do {\n      piVar5 = piVar2;\n      if (uVar4 == param_2) {\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }\n      piVar2 = (int *)*piVar5;\n      piVar3 = piVar2;\n      if (piVar2 == (int *)0x0) break;\n      uVar4 = piVar2[1];\n      piVar3 = (int *)(uVar4 / uVar1);\n      piVar6 = piVar5;\n    } while (param_2 % uVar1 == uVar4 % uVar1);\n  }" { (expression_statement "uVar4 = ((int *)*piVar6)[1];" (assignment_expression "uVar4 = ((int *)*piVar6)[1]" identifier = (subscript_expression "((int *)*piVar6)[1]" (parenthesized_expression "((int *)*piVar6)" ( (cast_expression "(int *)*piVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar6" * identifier)) )) [ number_literal ])) ;) (expression_statement "piVar2 = (int *)*piVar6;" (assignment_expression "piVar2 = (int *)*piVar6" identifier = (cast_expression "(int *)*piVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar6" * identifier))) ;) (do_statement "do {\n      piVar5 = piVar2;\n      if (uVar4 == param_2) {\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }\n      piVar2 = (int *)*piVar5;\n      piVar3 = piVar2;\n      if (piVar2 == (int *)0x0) break;\n      uVar4 = piVar2[1];\n      piVar3 = (int *)(uVar4 / uVar1);\n      piVar6 = piVar5;\n    } while (param_2 % uVar1 == uVar4 % uVar1);" do (compound_statement "{\n      piVar5 = piVar2;\n      if (uVar4 == param_2) {\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }\n      piVar2 = (int *)*piVar5;\n      piVar3 = piVar2;\n      if (piVar2 == (int *)0x0) break;\n      uVar4 = piVar2[1];\n      piVar3 = (int *)(uVar4 / uVar1);\n      piVar6 = piVar5;\n    }" { (expression_statement "piVar5 = piVar2;" (assignment_expression "piVar5 = piVar2" identifier = identifier) ;) (if_statement "if (uVar4 == param_2) {\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }" if (parenthesized_expression "(uVar4 == param_2)" ( (binary_expression "uVar4 == param_2" identifier == identifier) )) (compound_statement "{\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }" { (expression_statement "piVar3 = (int *)*piVar6;" (assignment_expression "piVar3 = (int *)*piVar6" identifier = (cast_expression "(int *)*piVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar6" * identifier))) ;) (if_statement "if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }" if (parenthesized_expression "(piVar3 != (int *)0x0)" ( (binary_expression "piVar3 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          return piVar3[2];\n        }" { (return_statement "return piVar3[2];" return (subscript_expression "piVar3[2]" identifier [ number_literal ]) ;) })) (break_statement "break;" break ;) })) (expression_statement "piVar2 = (int *)*piVar5;" (assignment_expression "piVar2 = (int *)*piVar5" identifier = (cast_expression "(int *)*piVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar5" * identifier))) ;) (expression_statement "piVar3 = piVar2;" (assignment_expression "piVar3 = piVar2" identifier = identifier) ;) (if_statement "if (piVar2 == (int *)0x0) break;" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "uVar4 = piVar2[1];" (assignment_expression "uVar4 = piVar2[1]" identifier = (subscript_expression "piVar2[1]" identifier [ number_literal ])) ;) (expression_statement "piVar3 = (int *)(uVar4 / uVar1);" (assignment_expression "piVar3 = (int *)(uVar4 / uVar1)" identifier = (cast_expression "(int *)(uVar4 / uVar1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar4 / uVar1)" ( (binary_expression "uVar4 / uVar1" identifier / identifier) )))) ;) (expression_statement "piVar6 = piVar5;" (assignment_expression "piVar6 = piVar5" identifier = identifier) ;) }) while (parenthesized_expression "(param_2 % uVar1 == uVar4 % uVar1)" ( (binary_expression "param_2 % uVar1 == uVar4 % uVar1" (binary_expression "param_2 % uVar1" identifier % identifier) == (binary_expression "uVar4 % uVar1" identifier % identifier)) )) ;) })) comment (expression_statement "FUN_0005f0b0("../../gold/object.cc",0x8a7,"do_local_plt_offset",piVar3);" (call_expression "FUN_0005f0b0("../../gold/object.cc",0x8a7,"do_local_plt_offset",piVar3)" identifier (argument_list "("../../gold/object.cc",0x8a7,"do_local_plt_offset",piVar3)" ( (string_literal ""../../gold/object.cc"" " string_content ") , number_literal , (string_literal ""do_local_plt_offset"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* DWARF original prototype: uint do_local_plt_offset(Sized_relobj_file<64,_false> * this, uint\n   symndx) */\n\nuint __thiscall\ngold::Sized_relobj_file<64,_false>::do_local_plt_offset\n          (Sized_relobj_file<64,_false> *this,uint symndx)\n\n{\n  uint uVar1;\n  _Hash_node_base *p_Var2;\n  uint uVar3;\n  _Hash_node_base *p_Var4;\n  __bucket_type p_Var5;\n  __bucket_type p_Var6;\n  \n  uVar1 = (this->local_plt_offsets_)._M_h._M_bucket_count;\n  uVar3 = symndx % uVar1;\n  p_Var6 = (this->local_plt_offsets_)._M_h._M_buckets[uVar3];\n  if (p_Var6 != (__bucket_type)0x0) {\n    p_Var4 = p_Var6->_M_nxt[1]._M_nxt;\n    p_Var2 = p_Var6->_M_nxt;\n    do {\n      p_Var5 = p_Var2;\n      if (p_Var4 == (_Hash_node_base *)symndx) {\n        if (p_Var6->_M_nxt != (_Hash_node_base *)0x0) {\n          return (uint)p_Var6->_M_nxt[2]._M_nxt;\n        }\n        break;\n      }\n      p_Var2 = p_Var5->_M_nxt;\n      if (p_Var2 == (_Hash_node_base *)0x0) break;\n      p_Var4 = p_Var2[1]._M_nxt;\n      p_Var6 = p_Var5;\n    } while (uVar3 == (uint)p_Var4 % uVar1);\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/object.cc",0x8a7,"do_local_plt_offset");\n}\n\n" comment comment (declaration "uint __thiscall\ngold::Sized_relobj_file<64,_false>::do_local_plt_offset\n          (Sized_relobj_file<64,_false> *this,uint symndx)\n\n{\n  uint uVar1;" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<64" < number_literal) , (ERROR "_false>::do_local_plt_offset\n          (Sized_relobj_file<64,_false> *this,uint symndx)\n\n{\n  uint" identifier > : : (function_declarator "do_local_plt_offset\n          (Sized_relobj_file<64,_false> *this,uint symndx)" identifier (parameter_list "(Sized_relobj_file<64,_false> *this,uint symndx)" ( (parameter_declaration "Sized_relobj_file" type_identifier) (ERROR "<64" < 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 "uint uVar3;" type_identifier identifier ;) (declaration "_Hash_node_base *p_Var4;" type_identifier (pointer_declarator "*p_Var4" * identifier) ;) (declaration "__bucket_type p_Var5;" type_identifier identifier ;) (declaration "__bucket_type p_Var6;" 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 = symndx % uVar1;" (assignment_expression "uVar3 = symndx % uVar1" identifier = (binary_expression "symndx % uVar1" identifier % identifier)) ;) (expression_statement "p_Var6 = (this->local_plt_offsets_)._M_h._M_buckets[uVar3];" (assignment_expression "p_Var6 = (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_Var6 != (__bucket_type)0x0) {\n    p_Var4 = p_Var6->_M_nxt[1]._M_nxt;\n    p_Var2 = p_Var6->_M_nxt;\n    do {\n      p_Var5 = p_Var2;\n      if (p_Var4 == (_Hash_node_base *)symndx) {\n        if (p_Var6->_M_nxt != (_Hash_node_base *)0x0) {\n          return (uint)p_Var6->_M_nxt[2]._M_nxt;\n        }\n        break;\n      }\n      p_Var2 = p_Var5->_M_nxt;\n      if (p_Var2 == (_Hash_node_base *)0x0) break;\n      p_Var4 = p_Var2[1]._M_nxt;\n      p_Var6 = p_Var5;\n    } while (uVar3 == (uint)p_Var4 % uVar1);\n  }" if (parenthesized_expression "(p_Var6 != (__bucket_type)0x0)" ( (binary_expression "p_Var6 != (__bucket_type)0x0" identifier != (cast_expression "(__bucket_type)0x0" ( (type_descriptor "__bucket_type" type_identifier) ) number_literal)) )) (compound_statement "{\n    p_Var4 = p_Var6->_M_nxt[1]._M_nxt;\n    p_Var2 = p_Var6->_M_nxt;\n    do {\n      p_Var5 = p_Var2;\n      if (p_Var4 == (_Hash_node_base *)symndx) {\n        if (p_Var6->_M_nxt != (_Hash_node_base *)0x0) {\n          return (uint)p_Var6->_M_nxt[2]._M_nxt;\n        }\n        break;\n      }\n      p_Var2 = p_Var5->_M_nxt;\n      if (p_Var2 == (_Hash_node_base *)0x0) break;\n      p_Var4 = p_Var2[1]._M_nxt;\n      p_Var6 = p_Var5;\n    } while (uVar3 == (uint)p_Var4 % uVar1);\n  }" { (expression_statement "p_Var4 = p_Var6->_M_nxt[1]._M_nxt;" (assignment_expression "p_Var4 = p_Var6->_M_nxt[1]._M_nxt" identifier = (field_expression "p_Var6->_M_nxt[1]._M_nxt" (subscript_expression "p_Var6->_M_nxt[1]" (field_expression "p_Var6->_M_nxt" identifier -> field_identifier) [ number_literal ]) . field_identifier)) ;) (expression_statement "p_Var2 = p_Var6->_M_nxt;" (assignment_expression "p_Var2 = p_Var6->_M_nxt" identifier = (field_expression "p_Var6->_M_nxt" identifier -> field_identifier)) ;) (do_statement "do {\n      p_Var5 = p_Var2;\n      if (p_Var4 == (_Hash_node_base *)symndx) {\n        if (p_Var6->_M_nxt != (_Hash_node_base *)0x0) {\n          return (uint)p_Var6->_M_nxt[2]._M_nxt;\n        }\n        break;\n      }\n      p_Var2 = p_Var5->_M_nxt;\n      if (p_Var2 == (_Hash_node_base *)0x0) break;\n      p_Var4 = p_Var2[1]._M_nxt;\n      p_Var6 = p_Var5;\n    } while (uVar3 == (uint)p_Var4 % uVar1);" do (compound_statement "{\n      p_Var5 = p_Var2;\n      if (p_Var4 == (_Hash_node_base *)symndx) {\n        if (p_Var6->_M_nxt != (_Hash_node_base *)0x0) {\n          return (uint)p_Var6->_M_nxt[2]._M_nxt;\n        }\n        break;\n      }\n      p_Var2 = p_Var5->_M_nxt;\n      if (p_Var2 == (_Hash_node_base *)0x0) break;\n      p_Var4 = p_Var2[1]._M_nxt;\n      p_Var6 = p_Var5;\n    }" { (expression_statement "p_Var5 = p_Var2;" (assignment_expression "p_Var5 = p_Var2" identifier = identifier) ;) (if_statement "if (p_Var4 == (_Hash_node_base *)symndx) {\n        if (p_Var6->_M_nxt != (_Hash_node_base *)0x0) {\n          return (uint)p_Var6->_M_nxt[2]._M_nxt;\n        }\n        break;\n      }" if (parenthesized_expression "(p_Var4 == (_Hash_node_base *)symndx)" ( (binary_expression "p_Var4 == (_Hash_node_base *)symndx" identifier == (cast_expression "(_Hash_node_base *)symndx" ( (type_descriptor "_Hash_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n        if (p_Var6->_M_nxt != (_Hash_node_base *)0x0) {\n          return (uint)p_Var6->_M_nxt[2]._M_nxt;\n        }\n        break;\n      }" { (if_statement "if (p_Var6->_M_nxt != (_Hash_node_base *)0x0) {\n          return (uint)p_Var6->_M_nxt[2]._M_nxt;\n        }" if (parenthesized_expression "(p_Var6->_M_nxt != (_Hash_node_base *)0x0)" ( (binary_expression "p_Var6->_M_nxt != (_Hash_node_base *)0x0" (field_expression "p_Var6->_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)p_Var6->_M_nxt[2]._M_nxt;\n        }" { (return_statement "return (uint)p_Var6->_M_nxt[2]._M_nxt;" return (cast_expression "(uint)p_Var6->_M_nxt[2]._M_nxt" ( (type_descriptor "uint" type_identifier) ) (field_expression "p_Var6->_M_nxt[2]._M_nxt" (subscript_expression "p_Var6->_M_nxt[2]" (field_expression "p_Var6->_M_nxt" identifier -> field_identifier) [ number_literal ]) . field_identifier)) ;) })) (break_statement "break;" break ;) })) (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)) ;) (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 "p_Var4 = p_Var2[1]._M_nxt;" (assignment_expression "p_Var4 = p_Var2[1]._M_nxt" identifier = (field_expression "p_Var2[1]._M_nxt" (subscript_expression "p_Var2[1]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "p_Var6 = p_Var5;" (assignment_expression "p_Var6 = p_Var5" identifier = identifier) ;) }) while (parenthesized_expression "(uVar3 == (uint)p_Var4 % uVar1)" ( (binary_expression "uVar3 == (uint)p_Var4 % uVar1" identifier == (binary_expression "(uint)p_Var4 % uVar1" (cast_expression "(uint)p_Var4" ( (type_descriptor "uint" 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 "int FUN_00093ba0(int param_1,uint param_2)\n\n{\n  uint uVar1;\n  int *piVar2;\n  int *piVar3;\n  uint uVar4;\n  int *piVar5;\n  int *piVar6;\n  \n  uVar1 = *(uint *)(param_1 + 0xec);\n  piVar6 = (int *)(*(int **)(param_1 + 0xe8))[param_2 % uVar1];\n  piVar3 = *(int **)(param_1 + 0xe8);\n  if (piVar6 != (int *)0x0) {\n    uVar4 = ((int *)*piVar6)[1];\n    piVar2 = (int *)*piVar6;\n    do {\n      piVar5 = piVar2;\n      if (uVar4 == param_2) {\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }\n      piVar2 = (int *)*piVar5;\n      piVar3 = piVar2;\n      if (piVar2 == (int *)0x0) break;\n      uVar4 = piVar2[1];\n      piVar3 = (int *)(uVar4 / uVar1);\n      piVar6 = piVar5;\n    } while (param_2 % uVar1 == uVar4 % uVar1);\n  }\n                    \n  FUN_0005f0b0("../../gold/object.cc",0x8a7,"do_local_plt_offset",piVar3);\n}\n\n" (function_definition "int FUN_00093ba0(int param_1,uint param_2)\n\n{\n  uint uVar1;\n  int *piVar2;\n  int *piVar3;\n  uint uVar4;\n  int *piVar5;\n  int *piVar6;\n  \n  uVar1 = *(uint *)(param_1 + 0xec);\n  piVar6 = (int *)(*(int **)(param_1 + 0xe8))[param_2 % uVar1];\n  piVar3 = *(int **)(param_1 + 0xe8);\n  if (piVar6 != (int *)0x0) {\n    uVar4 = ((int *)*piVar6)[1];\n    piVar2 = (int *)*piVar6;\n    do {\n      piVar5 = piVar2;\n      if (uVar4 == param_2) {\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }\n      piVar2 = (int *)*piVar5;\n      piVar3 = piVar2;\n      if (piVar2 == (int *)0x0) break;\n      uVar4 = piVar2[1];\n      piVar3 = (int *)(uVar4 / uVar1);\n      piVar6 = piVar5;\n    } while (param_2 % uVar1 == uVar4 % uVar1);\n  }\n                    \n  FUN_0005f0b0("../../gold/object.cc",0x8a7,"do_local_plt_offset",piVar3);\n}" primitive_type (function_declarator "FUN_00093ba0(int param_1,uint param_2)" identifier (parameter_list "(int param_1,uint param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  int *piVar2;\n  int *piVar3;\n  uint uVar4;\n  int *piVar5;\n  int *piVar6;\n  \n  uVar1 = *(uint *)(param_1 + 0xec);\n  piVar6 = (int *)(*(int **)(param_1 + 0xe8))[param_2 % uVar1];\n  piVar3 = *(int **)(param_1 + 0xe8);\n  if (piVar6 != (int *)0x0) {\n    uVar4 = ((int *)*piVar6)[1];\n    piVar2 = (int *)*piVar6;\n    do {\n      piVar5 = piVar2;\n      if (uVar4 == param_2) {\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }\n      piVar2 = (int *)*piVar5;\n      piVar3 = piVar2;\n      if (piVar2 == (int *)0x0) break;\n      uVar4 = piVar2[1];\n      piVar3 = (int *)(uVar4 / uVar1);\n      piVar6 = piVar5;\n    } while (param_2 % uVar1 == uVar4 % uVar1);\n  }\n                    \n  FUN_0005f0b0("../../gold/object.cc",0x8a7,"do_local_plt_offset",piVar3);\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (expression_statement "uVar1 = *(uint *)(param_1 + 0xec);" (assignment_expression "uVar1 = *(uint *)(param_1 + 0xec)" identifier = (pointer_expression "*(uint *)(param_1 + 0xec)" * (cast_expression "(uint *)(param_1 + 0xec)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xec)" ( (binary_expression "param_1 + 0xec" identifier + number_literal) ))))) ;) (expression_statement "piVar6 = (int *)(*(int **)(param_1 + 0xe8))[param_2 % uVar1];" (assignment_expression "piVar6 = (int *)(*(int **)(param_1 + 0xe8))[param_2 % uVar1]" identifier = (cast_expression "(int *)(*(int **)(param_1 + 0xe8))[param_2 % uVar1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "(*(int **)(param_1 + 0xe8))[param_2 % uVar1]" (parenthesized_expression "(*(int **)(param_1 + 0xe8))" ( (pointer_expression "*(int **)(param_1 + 0xe8)" * (cast_expression "(int **)(param_1 + 0xe8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xe8)" ( (binary_expression "param_1 + 0xe8" identifier + number_literal) )))) )) [ (binary_expression "param_2 % uVar1" identifier % identifier) ]))) ;) (expression_statement "piVar3 = *(int **)(param_1 + 0xe8);" (assignment_expression "piVar3 = *(int **)(param_1 + 0xe8)" identifier = (pointer_expression "*(int **)(param_1 + 0xe8)" * (cast_expression "(int **)(param_1 + 0xe8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xe8)" ( (binary_expression "param_1 + 0xe8" identifier + number_literal) ))))) ;) (if_statement "if (piVar6 != (int *)0x0) {\n    uVar4 = ((int *)*piVar6)[1];\n    piVar2 = (int *)*piVar6;\n    do {\n      piVar5 = piVar2;\n      if (uVar4 == param_2) {\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }\n      piVar2 = (int *)*piVar5;\n      piVar3 = piVar2;\n      if (piVar2 == (int *)0x0) break;\n      uVar4 = piVar2[1];\n      piVar3 = (int *)(uVar4 / uVar1);\n      piVar6 = piVar5;\n    } while (param_2 % uVar1 == uVar4 % uVar1);\n  }" if (parenthesized_expression "(piVar6 != (int *)0x0)" ( (binary_expression "piVar6 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar4 = ((int *)*piVar6)[1];\n    piVar2 = (int *)*piVar6;\n    do {\n      piVar5 = piVar2;\n      if (uVar4 == param_2) {\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }\n      piVar2 = (int *)*piVar5;\n      piVar3 = piVar2;\n      if (piVar2 == (int *)0x0) break;\n      uVar4 = piVar2[1];\n      piVar3 = (int *)(uVar4 / uVar1);\n      piVar6 = piVar5;\n    } while (param_2 % uVar1 == uVar4 % uVar1);\n  }" { (expression_statement "uVar4 = ((int *)*piVar6)[1];" (assignment_expression "uVar4 = ((int *)*piVar6)[1]" identifier = (subscript_expression "((int *)*piVar6)[1]" (parenthesized_expression "((int *)*piVar6)" ( (cast_expression "(int *)*piVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar6" * identifier)) )) [ number_literal ])) ;) (expression_statement "piVar2 = (int *)*piVar6;" (assignment_expression "piVar2 = (int *)*piVar6" identifier = (cast_expression "(int *)*piVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar6" * identifier))) ;) (do_statement "do {\n      piVar5 = piVar2;\n      if (uVar4 == param_2) {\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }\n      piVar2 = (int *)*piVar5;\n      piVar3 = piVar2;\n      if (piVar2 == (int *)0x0) break;\n      uVar4 = piVar2[1];\n      piVar3 = (int *)(uVar4 / uVar1);\n      piVar6 = piVar5;\n    } while (param_2 % uVar1 == uVar4 % uVar1);" do (compound_statement "{\n      piVar5 = piVar2;\n      if (uVar4 == param_2) {\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }\n      piVar2 = (int *)*piVar5;\n      piVar3 = piVar2;\n      if (piVar2 == (int *)0x0) break;\n      uVar4 = piVar2[1];\n      piVar3 = (int *)(uVar4 / uVar1);\n      piVar6 = piVar5;\n    }" { (expression_statement "piVar5 = piVar2;" (assignment_expression "piVar5 = piVar2" identifier = identifier) ;) (if_statement "if (uVar4 == param_2) {\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }" if (parenthesized_expression "(uVar4 == param_2)" ( (binary_expression "uVar4 == param_2" identifier == identifier) )) (compound_statement "{\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }" { (expression_statement "piVar3 = (int *)*piVar6;" (assignment_expression "piVar3 = (int *)*piVar6" identifier = (cast_expression "(int *)*piVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar6" * identifier))) ;) (if_statement "if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }" if (parenthesized_expression "(piVar3 != (int *)0x0)" ( (binary_expression "piVar3 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          return piVar3[2];\n        }" { (return_statement "return piVar3[2];" return (subscript_expression "piVar3[2]" identifier [ number_literal ]) ;) })) (break_statement "break;" break ;) })) (expression_statement "piVar2 = (int *)*piVar5;" (assignment_expression "piVar2 = (int *)*piVar5" identifier = (cast_expression "(int *)*piVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar5" * identifier))) ;) (expression_statement "piVar3 = piVar2;" (assignment_expression "piVar3 = piVar2" identifier = identifier) ;) (if_statement "if (piVar2 == (int *)0x0) break;" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "uVar4 = piVar2[1];" (assignment_expression "uVar4 = piVar2[1]" identifier = (subscript_expression "piVar2[1]" identifier [ number_literal ])) ;) (expression_statement "piVar3 = (int *)(uVar4 / uVar1);" (assignment_expression "piVar3 = (int *)(uVar4 / uVar1)" identifier = (cast_expression "(int *)(uVar4 / uVar1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar4 / uVar1)" ( (binary_expression "uVar4 / uVar1" identifier / identifier) )))) ;) (expression_statement "piVar6 = piVar5;" (assignment_expression "piVar6 = piVar5" identifier = identifier) ;) }) while (parenthesized_expression "(param_2 % uVar1 == uVar4 % uVar1)" ( (binary_expression "param_2 % uVar1 == uVar4 % uVar1" (binary_expression "param_2 % uVar1" identifier % identifier) == (binary_expression "uVar4 % uVar1" identifier % identifier)) )) ;) })) (expression_statement "FUN_0005f0b0("../../gold/object.cc",0x8a7,"do_local_plt_offset",piVar3);" (call_expression "FUN_0005f0b0("../../gold/object.cc",0x8a7,"do_local_plt_offset",piVar3)" identifier (argument_list "("../../gold/object.cc",0x8a7,"do_local_plt_offset",piVar3)" ( (string_literal ""../../gold/object.cc"" " string_content ") , number_literal , (string_literal ""do_local_plt_offset"" " string_content ") , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) [ (binary_expression IDENT % IDENT) ]))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) )) [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return (subscript_expression IDENT [ LIT ]) ;) })) (break_statement break ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT / IDENT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT % IDENT) == (binary_expression IDENT % IDENT)) )) ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "int FUN_00093ba0(int param_1,uint param_2)\n\n{\n  uint uVar1;\n  int *piVar2;\n  int *piVar3;\n  uint uVar4;\n  int *piVar5;\n  int *piVar6;\n  \n  uVar1 = *(uint *)(param_1 + 0xec);\n  piVar6 = (int *)(*(int **)(param_1 + 0xe8))[param_2 % uVar1];\n  piVar3 = *(int **)(param_1 + 0xe8);\n  if (piVar6 != (int *)0x0) {\n    uVar4 = ((int *)*piVar6)[1];\n    piVar2 = (int *)*piVar6;\n    do {\n      piVar5 = piVar2;\n      if (uVar4 == param_2) {\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }\n      piVar2 = (int *)*piVar5;\n      piVar3 = piVar2;\n      if (piVar2 == (int *)0x0) break;\n      uVar4 = piVar2[1];\n      piVar3 = (int *)(uVar4 / uVar1);\n      piVar6 = piVar5;\n    } while (param_2 % uVar1 == uVar4 % uVar1);\n  }\n                    \n  FUN_0005f0b0("../../gold/object.cc",0x8a7,"do_local_plt_offset",piVar3);\n}" (primitive_type "int") (function_declarator "FUN_00093ba0(int param_1,uint param_2)" (identifier "FUN_00093ba0") (parameter_list "(int param_1,uint param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  uint uVar1;\n  int *piVar2;\n  int *piVar3;\n  uint uVar4;\n  int *piVar5;\n  int *piVar6;\n  \n  uVar1 = *(uint *)(param_1 + 0xec);\n  piVar6 = (int *)(*(int **)(param_1 + 0xe8))[param_2 % uVar1];\n  piVar3 = *(int **)(param_1 + 0xe8);\n  if (piVar6 != (int *)0x0) {\n    uVar4 = ((int *)*piVar6)[1];\n    piVar2 = (int *)*piVar6;\n    do {\n      piVar5 = piVar2;\n      if (uVar4 == param_2) {\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }\n      piVar2 = (int *)*piVar5;\n      piVar3 = piVar2;\n      if (piVar2 == (int *)0x0) break;\n      uVar4 = piVar2[1];\n      piVar3 = (int *)(uVar4 / uVar1);\n      piVar6 = piVar5;\n    } while (param_2 % uVar1 == uVar4 % uVar1);\n  }\n                    \n  FUN_0005f0b0("../../gold/object.cc",0x8a7,"do_local_plt_offset",piVar3);\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "int *piVar5;" (primitive_type "int") (pointer_declarator "*piVar5" (* "*") (identifier "piVar5")) (; ";")) (declaration "int *piVar6;" (primitive_type "int") (pointer_declarator "*piVar6" (* "*") (identifier "piVar6")) (; ";")) (expression_statement "uVar1 = *(uint *)(param_1 + 0xec);" (assignment_expression "uVar1 = *(uint *)(param_1 + 0xec)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(param_1 + 0xec)" (* "*") (cast_expression "(uint *)(param_1 + 0xec)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xec)" (( "(") (binary_expression "param_1 + 0xec" (identifier "param_1") (+ "+") (number_literal "0xec")) () ")"))))) (; ";")) (expression_statement "piVar6 = (int *)(*(int **)(param_1 + 0xe8))[param_2 % uVar1];" (assignment_expression "piVar6 = (int *)(*(int **)(param_1 + 0xe8))[param_2 % uVar1]" (identifier "piVar6") (= "=") (cast_expression "(int *)(*(int **)(param_1 + 0xe8))[param_2 % uVar1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "(*(int **)(param_1 + 0xe8))[param_2 % uVar1]" (parenthesized_expression "(*(int **)(param_1 + 0xe8))" (( "(") (pointer_expression "*(int **)(param_1 + 0xe8)" (* "*") (cast_expression "(int **)(param_1 + 0xe8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xe8)" (( "(") (binary_expression "param_1 + 0xe8" (identifier "param_1") (+ "+") (number_literal "0xe8")) () ")")))) () ")")) ([ "[") (binary_expression "param_2 % uVar1" (identifier "param_2") (% "%") (identifier "uVar1")) (] "]")))) (; ";")) (expression_statement "piVar3 = *(int **)(param_1 + 0xe8);" (assignment_expression "piVar3 = *(int **)(param_1 + 0xe8)" (identifier "piVar3") (= "=") (pointer_expression "*(int **)(param_1 + 0xe8)" (* "*") (cast_expression "(int **)(param_1 + 0xe8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xe8)" (( "(") (binary_expression "param_1 + 0xe8" (identifier "param_1") (+ "+") (number_literal "0xe8")) () ")"))))) (; ";")) (if_statement "if (piVar6 != (int *)0x0) {\n    uVar4 = ((int *)*piVar6)[1];\n    piVar2 = (int *)*piVar6;\n    do {\n      piVar5 = piVar2;\n      if (uVar4 == param_2) {\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }\n      piVar2 = (int *)*piVar5;\n      piVar3 = piVar2;\n      if (piVar2 == (int *)0x0) break;\n      uVar4 = piVar2[1];\n      piVar3 = (int *)(uVar4 / uVar1);\n      piVar6 = piVar5;\n    } while (param_2 % uVar1 == uVar4 % uVar1);\n  }" (if "if") (parenthesized_expression "(piVar6 != (int *)0x0)" (( "(") (binary_expression "piVar6 != (int *)0x0" (identifier "piVar6") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    uVar4 = ((int *)*piVar6)[1];\n    piVar2 = (int *)*piVar6;\n    do {\n      piVar5 = piVar2;\n      if (uVar4 == param_2) {\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }\n      piVar2 = (int *)*piVar5;\n      piVar3 = piVar2;\n      if (piVar2 == (int *)0x0) break;\n      uVar4 = piVar2[1];\n      piVar3 = (int *)(uVar4 / uVar1);\n      piVar6 = piVar5;\n    } while (param_2 % uVar1 == uVar4 % uVar1);\n  }" ({ "{") (expression_statement "uVar4 = ((int *)*piVar6)[1];" (assignment_expression "uVar4 = ((int *)*piVar6)[1]" (identifier "uVar4") (= "=") (subscript_expression "((int *)*piVar6)[1]" (parenthesized_expression "((int *)*piVar6)" (( "(") (cast_expression "(int *)*piVar6" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar6" (* "*") (identifier "piVar6"))) () ")")) ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "piVar2 = (int *)*piVar6;" (assignment_expression "piVar2 = (int *)*piVar6" (identifier "piVar2") (= "=") (cast_expression "(int *)*piVar6" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar6" (* "*") (identifier "piVar6")))) (; ";")) (do_statement "do {\n      piVar5 = piVar2;\n      if (uVar4 == param_2) {\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }\n      piVar2 = (int *)*piVar5;\n      piVar3 = piVar2;\n      if (piVar2 == (int *)0x0) break;\n      uVar4 = piVar2[1];\n      piVar3 = (int *)(uVar4 / uVar1);\n      piVar6 = piVar5;\n    } while (param_2 % uVar1 == uVar4 % uVar1);" (do "do") (compound_statement "{\n      piVar5 = piVar2;\n      if (uVar4 == param_2) {\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }\n      piVar2 = (int *)*piVar5;\n      piVar3 = piVar2;\n      if (piVar2 == (int *)0x0) break;\n      uVar4 = piVar2[1];\n      piVar3 = (int *)(uVar4 / uVar1);\n      piVar6 = piVar5;\n    }" ({ "{") (expression_statement "piVar5 = piVar2;" (assignment_expression "piVar5 = piVar2" (identifier "piVar5") (= "=") (identifier "piVar2")) (; ";")) (if_statement "if (uVar4 == param_2) {\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }" (if "if") (parenthesized_expression "(uVar4 == param_2)" (( "(") (binary_expression "uVar4 == param_2" (identifier "uVar4") (== "==") (identifier "param_2")) () ")")) (compound_statement "{\n        piVar3 = (int *)*piVar6;\n        if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }\n        break;\n      }" ({ "{") (expression_statement "piVar3 = (int *)*piVar6;" (assignment_expression "piVar3 = (int *)*piVar6" (identifier "piVar3") (= "=") (cast_expression "(int *)*piVar6" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar6" (* "*") (identifier "piVar6")))) (; ";")) (if_statement "if (piVar3 != (int *)0x0) {\n          return piVar3[2];\n        }" (if "if") (parenthesized_expression "(piVar3 != (int *)0x0)" (( "(") (binary_expression "piVar3 != (int *)0x0" (identifier "piVar3") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          return piVar3[2];\n        }" ({ "{") (return_statement "return piVar3[2];" (return "return") (subscript_expression "piVar3[2]" (identifier "piVar3") ([ "[") (number_literal "2") (] "]")) (; ";")) (} "}"))) (break_statement "break;" (break "break") (; ";")) (} "}"))) (expression_statement "piVar2 = (int *)*piVar5;" (assignment_expression "piVar2 = (int *)*piVar5" (identifier "piVar2") (= "=") (cast_expression "(int *)*piVar5" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar5" (* "*") (identifier "piVar5")))) (; ";")) (expression_statement "piVar3 = piVar2;" (assignment_expression "piVar3 = piVar2" (identifier "piVar3") (= "=") (identifier "piVar2")) (; ";")) (if_statement "if (piVar2 == (int *)0x0) break;" (if "if") (parenthesized_expression "(piVar2 == (int *)0x0)" (( "(") (binary_expression "piVar2 == (int *)0x0" (identifier "piVar2") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "uVar4 = piVar2[1];" (assignment_expression "uVar4 = piVar2[1]" (identifier "uVar4") (= "=") (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "piVar3 = (int *)(uVar4 / uVar1);" (assignment_expression "piVar3 = (int *)(uVar4 / uVar1)" (identifier "piVar3") (= "=") (cast_expression "(int *)(uVar4 / uVar1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar4 / uVar1)" (( "(") (binary_expression "uVar4 / uVar1" (identifier "uVar4") (/ "/") (identifier "uVar1")) () ")")))) (; ";")) (expression_statement "piVar6 = piVar5;" (assignment_expression "piVar6 = piVar5" (identifier "piVar6") (= "=") (identifier "piVar5")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_2 % uVar1 == uVar4 % uVar1)" (( "(") (binary_expression "param_2 % uVar1 == uVar4 % uVar1" (binary_expression "param_2 % uVar1" (identifier "param_2") (% "%") (identifier "uVar1")) (== "==") (binary_expression "uVar4 % uVar1" (identifier "uVar4") (% "%") (identifier "uVar1"))) () ")")) (; ";")) (} "}"))) (expression_statement "FUN_0005f0b0("../../gold/object.cc",0x8a7,"do_local_plt_offset",piVar3);" (call_expression "FUN_0005f0b0("../../gold/object.cc",0x8a7,"do_local_plt_offset",piVar3)" (identifier "FUN_0005f0b0") (argument_list "("../../gold/object.cc",0x8a7,"do_local_plt_offset",piVar3)" (( "(") (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") (" """)) (, ",") (identifier "piVar3") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* DWARF original prototype: uint do_local_plt_offset(Sized_relobj_file<64,_false> * this, uint
   symndx) */

type_1 __thiscall
gold::Sized_relobj_file<64,_false>::do_local_plt_offset
          (Sized_relobj_file<64,_false> *this,type_1 var_1)

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


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

int MASKED(int param_1,uint param_2)

{
  uint uVar1;
  int *piVar2;
  int *piVar3;
  uint uVar4;
  int *piVar5;
  int *piVar6;
  
  uVar1 = *(uint *)(param_1 + 0xec);
  piVar6 = (int *)(*(int **)(param_1 + 0xe8))[param_2 % uVar1];
  piVar3 = *(int **)(param_1 + 0xe8);
  if (piVar6 != (int *)0x0) {
    uVar4 = ((int *)*piVar6)[1];
    piVar2 = (int *)*piVar6;
    do {
      piVar5 = piVar2;
      if (uVar4 == param_2) {
        piVar3 = (int *)*piVar6;
        if (piVar3 != (int *)0x0) {
          return piVar3[2];
        }
        break;
      }
      piVar2 = (int *)*piVar5;
      piVar3 = piVar2;
      if (piVar2 == (int *)0x0) break;
      uVar4 = piVar2[1];
      piVar3 = (int *)(uVar4 / uVar1);
      piVar6 = piVar5;
    } while (param_2 % uVar1 == uVar4 % uVar1);
  }
                    /* WARNING: Subroutine does not return */
  FUN_0005f0b0("../../gold/object.cc",0x8a7,"do_local_plt_offset",piVar3);
}

