
/* DWARF original prototype: uint dynsym_index(Sized_relobj_file<32,_true> * this, uint sym) */

uint __thiscall
gold::Sized_relobj_file<32,_true>::dynsym_index(Sized_relobj_file<32,_true> *this,uint sym)

{
  uint uVar1;
  pointer pSVar2;
  
  pSVar2 = (this->local_values_).
           super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>.
           _M_impl._M_start;
  if ((ulong)(((long)(this->local_values_).
                     super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>
                     ._M_impl._M_finish - (long)pSVar2 >> 3) * -0x5555555555555555) <= (ulong)sym) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/object.h",0x8d3,"dynsym_index");
  }
  uVar1 = pSVar2[sym].output_dynsym_index_;
  if (uVar1 - 1 < 0xfffffffe) {
    return uVar1;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/object.h",0x74a,"output_dynsym_index");
}



void FUN_001c2810(long param_1,uint param_2)

{
  if ((ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)
      <= (ulong)param_2) {
                    /* WARNING: Subroutine does not return */
    FUN_0017c650("../../gold/object.h",0x8d3,"dynsym_index");
  }
  if (*(int *)(*(long *)(param_1 + 0x160) + 4 + (ulong)param_2 * 0x18) - 1U < 0xfffffffe) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0017c650("../../gold/object.h",0x74a,"output_dynsym_index");
}


MOV RCX,-0x5555555555555555
SUB RSP,0x8
MOV ESI,ESI
MOV RDX,qword ptr [RDI + 0x160]
MOV RAX,qword ptr [RDI + 0x168]
SUB RAX,RDX
SAR RAX,0x3
IMUL RAX,RCX
CMP RSI,RAX
JNC 0x001c2853
LEA RAX,[RSI + RSI*0x2]
MOV EAX,dword ptr [RDX + RAX*0x8 + 0x4]
LEA EDX,[RAX + -0x1]
CMP EDX,-0x3
JA 0x001c286b
ADD RSP,0x8
RET
LEA RDX,[0x379090]
MOV ESI,0x8d3
LEA RDI,[0x36b016]
CALL 0x0017c650
LEA RDX,[0x3795f0]
MOV ESI,0x74a
LEA RDI,[0x36b016]
CALL 0x0017c650
(translation_unit "void FUN_001c2810(long param_1,uint param_2)\n\n{\n  if ((ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)\n      <= (ulong)param_2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/object.h",0x8d3,"dynsym_index");\n  }\n  if (*(int *)(*(long *)(param_1 + 0x160) + 4 + (ulong)param_2 * 0x18) - 1U < 0xfffffffe) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0017c650("../../gold/object.h",0x74a,"output_dynsym_index");\n}\n\n" (function_definition "void FUN_001c2810(long param_1,uint param_2)\n\n{\n  if ((ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)\n      <= (ulong)param_2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/object.h",0x8d3,"dynsym_index");\n  }\n  if (*(int *)(*(long *)(param_1 + 0x160) + 4 + (ulong)param_2 * 0x18) - 1U < 0xfffffffe) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0017c650("../../gold/object.h",0x74a,"output_dynsym_index");\n}" primitive_type (function_declarator "FUN_001c2810(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  if ((ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)\n      <= (ulong)param_2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/object.h",0x8d3,"dynsym_index");\n  }\n  if (*(int *)(*(long *)(param_1 + 0x160) + 4 + (ulong)param_2 * 0x18) - 1U < 0xfffffffe) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0017c650("../../gold/object.h",0x74a,"output_dynsym_index");\n}" { (if_statement "if ((ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)\n      <= (ulong)param_2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/object.h",0x8d3,"dynsym_index");\n  }" if (parenthesized_expression "((ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)\n      <= (ulong)param_2)" ( (binary_expression "(ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)\n      <= (ulong)param_2" (call_expression "(ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)" ( (binary_expression "(*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555" (parenthesized_expression "(*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3)" ( (binary_expression "*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3" (binary_expression "*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160)" (pointer_expression "*(long *)(param_1 + 0x168)" * (cast_expression "(long *)(param_1 + 0x168)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x168)" ( (binary_expression "param_1 + 0x168" identifier + number_literal) )))) - (pointer_expression "*(long *)(param_1 + 0x160)" * (cast_expression "(long *)(param_1 + 0x160)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x160)" ( (binary_expression "param_1 + 0x160" identifier + number_literal) ))))) >> number_literal) )) * number_literal) ))) <= (cast_expression "(ulong)param_2" ( (type_descriptor "ulong" type_identifier) ) identifier)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/object.h",0x8d3,"dynsym_index");\n  }" { comment (expression_statement "FUN_0017c650("../../gold/object.h",0x8d3,"dynsym_index");" (call_expression "FUN_0017c650("../../gold/object.h",0x8d3,"dynsym_index")" identifier (argument_list "("../../gold/object.h",0x8d3,"dynsym_index")" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""dynsym_index"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(*(long *)(param_1 + 0x160) + 4 + (ulong)param_2 * 0x18) - 1U < 0xfffffffe) {\n    return;\n  }" if (parenthesized_expression "(*(int *)(*(long *)(param_1 + 0x160) + 4 + (ulong)param_2 * 0x18) - 1U < 0xfffffffe)" ( (binary_expression "*(int *)(*(long *)(param_1 + 0x160) + 4 + (ulong)param_2 * 0x18) - 1U < 0xfffffffe" (binary_expression "*(int *)(*(long *)(param_1 + 0x160) + 4 + (ulong)param_2 * 0x18) - 1U" (pointer_expression "*(int *)(*(long *)(param_1 + 0x160) + 4 + (ulong)param_2 * 0x18)" * (cast_expression "(int *)(*(long *)(param_1 + 0x160) + 4 + (ulong)param_2 * 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x160) + 4 + (ulong)param_2 * 0x18)" ( (binary_expression "*(long *)(param_1 + 0x160) + 4 + (ulong)param_2 * 0x18" (binary_expression "*(long *)(param_1 + 0x160) + 4" (pointer_expression "*(long *)(param_1 + 0x160)" * (cast_expression "(long *)(param_1 + 0x160)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x160)" ( (binary_expression "param_1 + 0x160" identifier + number_literal) )))) + number_literal) + (binary_expression "(ulong)param_2 * 0x18" (cast_expression "(ulong)param_2" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) )))) - number_literal) < number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "FUN_0017c650("../../gold/object.h",0x74a,"output_dynsym_index");" (call_expression "FUN_0017c650("../../gold/object.h",0x74a,"output_dynsym_index")" identifier (argument_list "("../../gold/object.h",0x74a,"output_dynsym_index")" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""output_dynsym_index"" " string_content ") ))) ;) })))
(translation_unit "/* DWARF original prototype: uint dynsym_index(Sized_relobj_file<32,_true> * this, uint sym) */\n\nuint __thiscall\ngold::Sized_relobj_file<32,_true>::dynsym_index(Sized_relobj_file<32,_true> *this,uint sym)\n\n{\n  uint uVar1;\n  pointer pSVar2;\n  \n  pSVar2 = (this->local_values_).\n           super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>.\n           _M_impl._M_start;\n  if ((ulong)(((long)(this->local_values_).\n                     super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>\n                     ._M_impl._M_finish - (long)pSVar2 >> 3) * -0x5555555555555555) <= (ulong)sym) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/object.h",0x8d3,"dynsym_index");\n  }\n  uVar1 = pSVar2[sym].output_dynsym_index_;\n  if (uVar1 - 1 < 0xfffffffe) {\n    return uVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/object.h",0x74a,"output_dynsym_index");\n}\n\n" comment (declaration "uint __thiscall\ngold::Sized_relobj_file<32,_true>::dynsym_index(Sized_relobj_file<32,_true> *this,uint sym)\n\n{\n  uint uVar1;" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<32" < number_literal) , (ERROR "_true>::dynsym_index(Sized_relobj_file<32,_true> *this,uint sym)\n\n{\n  uint" identifier > : : (function_declarator "dynsym_index(Sized_relobj_file<32,_true> *this,uint sym)" identifier (parameter_list "(Sized_relobj_file<32,_true> *this,uint sym)" ( (parameter_declaration "Sized_relobj_file" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "_true> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint sym" type_identifier identifier) ))) { identifier) identifier ;) (declaration "pointer pSVar2;" type_identifier identifier ;) (expression_statement "pSVar2 = (this->local_values_).\n           super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>.\n           _M_impl._M_start;" (field_expression "pSVar2 = (this->local_values_).\n           super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>.\n           _M_impl._M_start" (field_expression "pSVar2 = (this->local_values_).\n           super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>.\n           _M_impl" (binary_expression "pSVar2 = (this->local_values_).\n           super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_" (binary_expression "pSVar2 = (this->local_values_).\n           super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_" (binary_expression "pSVar2 = (this->local_values_).\n           super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32" (binary_expression "pSVar2 = (this->local_values_).\n           super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold" (binary_expression "pSVar2 = (this->local_values_).\n           super__Vector_base<gold::Symbol_value<32>,_std" (binary_expression "pSVar2 = (this->local_values_).\n           super__Vector_base<gold::Symbol_value<32" (assignment_expression "pSVar2 = (this->local_values_).\n           super__Vector_base<gold" identifier = (binary_expression "(this->local_values_).\n           super__Vector_base<gold" (field_expression "(this->local_values_).\n           super__Vector_base" (parenthesized_expression "(this->local_values_)" ( (field_expression "this->local_values_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Symbol_value" : : identifier) < number_literal) > (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Symbol_value" : : identifier) < number_literal) > identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (if_statement "if ((ulong)(((long)(this->local_values_).\n                     super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>\n                     ._M_impl._M_finish - (long)pSVar2 >> 3) * -0x5555555555555555) <= (ulong)sym) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/object.h",0x8d3,"dynsym_index");\n  }" if (parenthesized_expression "((ulong)(((long)(this->local_values_).\n                     super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>\n                     ._M_impl._M_finish - (long)pSVar2 >> 3) * -0x5555555555555555) <= (ulong)sym)" ( (binary_expression "(ulong)(((long)(this->local_values_).\n                     super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>\n                     ._M_impl._M_finish - (long)pSVar2 >> 3) * -0x5555555555555555) <= (ulong)sym" (call_expression "(ulong)(((long)(this->local_values_).\n                     super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>\n                     ._M_impl._M_finish - (long)pSVar2 >> 3) * -0x5555555555555555)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(((long)(this->local_values_).\n                     super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>\n                     ._M_impl._M_finish - (long)pSVar2 >> 3) * -0x5555555555555555)" ( (binary_expression "((long)(this->local_values_).\n                     super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>\n                     ._M_impl._M_finish - (long)pSVar2 >> 3) * -0x5555555555555555" (parenthesized_expression "((long)(this->local_values_).\n                     super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>\n                     ._M_impl._M_finish - (long)pSVar2 >> 3)" ( (binary_expression "(long)(this->local_values_).\n                     super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>\n                     ._M_impl._M_finish - (long)pSVar2 >> 3" (binary_expression "(long)(this->local_values_).\n                     super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>\n                     ._M_impl._M_finish - (long)pSVar2" (field_expression "(long)(this->local_values_).\n                     super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>\n                     ._M_impl._M_finish" (field_expression "(long)(this->local_values_).\n                     super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>\n                     ._M_impl" (binary_expression "(long)(this->local_values_).\n                     super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_" (binary_expression "(long)(this->local_values_).\n                     super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_" (binary_expression "(long)(this->local_values_).\n                     super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32" (binary_expression "(long)(this->local_values_).\n                     super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold" (binary_expression "(long)(this->local_values_).\n                     super__Vector_base<gold::Symbol_value<32>,_std" (binary_expression "(long)(this->local_values_).\n                     super__Vector_base<gold::Symbol_value<32" (binary_expression "(long)(this->local_values_).\n                     super__Vector_base<gold" (cast_expression "(long)(this->local_values_).\n                     super__Vector_base" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "(this->local_values_).\n                     super__Vector_base" (parenthesized_expression "(this->local_values_)" ( (field_expression "this->local_values_" identifier -> field_identifier) )) . field_identifier)) < identifier) (ERROR "::Symbol_value" : : identifier) < number_literal) > (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Symbol_value" : : identifier) < number_literal) > identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) - (cast_expression "(long)pSVar2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) >> number_literal) )) * number_literal) ))) <= (cast_expression "(ulong)sym" ( (type_descriptor "ulong" type_identifier) ) identifier)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/object.h",0x8d3,"dynsym_index");\n  }" { comment (expression_statement "do_gold_unreachable("../../gold/object.h",0x8d3,"dynsym_index");" (call_expression "do_gold_unreachable("../../gold/object.h",0x8d3,"dynsym_index")" identifier (argument_list "("../../gold/object.h",0x8d3,"dynsym_index")" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""dynsym_index"" " string_content ") ))) ;) })) (expression_statement "uVar1 = pSVar2[sym].output_dynsym_index_;" (assignment_expression "uVar1 = pSVar2[sym].output_dynsym_index_" identifier = (field_expression "pSVar2[sym].output_dynsym_index_" (subscript_expression "pSVar2[sym]" identifier [ identifier ]) . field_identifier)) ;) (if_statement "if (uVar1 - 1 < 0xfffffffe) {\n    return uVar1;\n  }" if (parenthesized_expression "(uVar1 - 1 < 0xfffffffe)" ( (binary_expression "uVar1 - 1 < 0xfffffffe" (binary_expression "uVar1 - 1" identifier - number_literal) < number_literal) )) (compound_statement "{\n    return uVar1;\n  }" { (return_statement "return uVar1;" return identifier ;) })) comment (expression_statement "do_gold_unreachable("../../gold/object.h",0x74a,"output_dynsym_index");" (call_expression "do_gold_unreachable("../../gold/object.h",0x74a,"output_dynsym_index")" identifier (argument_list "("../../gold/object.h",0x74a,"output_dynsym_index")" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""output_dynsym_index"" " string_content ") ))) ;) (ERROR "}" }))
(translation_unit "void FUN_001c2810(long param_1,uint param_2)\n\n{\n  if ((ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)\n      <= (ulong)param_2) {\n                    \n    FUN_0017c650("../../gold/object.h",0x8d3,"dynsym_index");\n  }\n  if (*(int *)(*(long *)(param_1 + 0x160) + 4 + (ulong)param_2 * 0x18) - 1U < 0xfffffffe) {\n    return;\n  }\n                    \n  FUN_0017c650("../../gold/object.h",0x74a,"output_dynsym_index");\n}\n\n" (function_definition "void FUN_001c2810(long param_1,uint param_2)\n\n{\n  if ((ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)\n      <= (ulong)param_2) {\n                    \n    FUN_0017c650("../../gold/object.h",0x8d3,"dynsym_index");\n  }\n  if (*(int *)(*(long *)(param_1 + 0x160) + 4 + (ulong)param_2 * 0x18) - 1U < 0xfffffffe) {\n    return;\n  }\n                    \n  FUN_0017c650("../../gold/object.h",0x74a,"output_dynsym_index");\n}" primitive_type (function_declarator "FUN_001c2810(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  if ((ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)\n      <= (ulong)param_2) {\n                    \n    FUN_0017c650("../../gold/object.h",0x8d3,"dynsym_index");\n  }\n  if (*(int *)(*(long *)(param_1 + 0x160) + 4 + (ulong)param_2 * 0x18) - 1U < 0xfffffffe) {\n    return;\n  }\n                    \n  FUN_0017c650("../../gold/object.h",0x74a,"output_dynsym_index");\n}" { (if_statement "if ((ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)\n      <= (ulong)param_2) {\n                    \n    FUN_0017c650("../../gold/object.h",0x8d3,"dynsym_index");\n  }" if (parenthesized_expression "((ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)\n      <= (ulong)param_2)" ( (binary_expression "(ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)\n      <= (ulong)param_2" (call_expression "(ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)" ( (binary_expression "(*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555" (parenthesized_expression "(*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3)" ( (binary_expression "*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3" (binary_expression "*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160)" (pointer_expression "*(long *)(param_1 + 0x168)" * (cast_expression "(long *)(param_1 + 0x168)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x168)" ( (binary_expression "param_1 + 0x168" identifier + number_literal) )))) - (pointer_expression "*(long *)(param_1 + 0x160)" * (cast_expression "(long *)(param_1 + 0x160)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x160)" ( (binary_expression "param_1 + 0x160" identifier + number_literal) ))))) >> number_literal) )) * number_literal) ))) <= (cast_expression "(ulong)param_2" ( (type_descriptor "ulong" type_identifier) ) identifier)) )) (compound_statement "{\n                    \n    FUN_0017c650("../../gold/object.h",0x8d3,"dynsym_index");\n  }" { (expression_statement "FUN_0017c650("../../gold/object.h",0x8d3,"dynsym_index");" (call_expression "FUN_0017c650("../../gold/object.h",0x8d3,"dynsym_index")" identifier (argument_list "("../../gold/object.h",0x8d3,"dynsym_index")" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""dynsym_index"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(*(long *)(param_1 + 0x160) + 4 + (ulong)param_2 * 0x18) - 1U < 0xfffffffe) {\n    return;\n  }" if (parenthesized_expression "(*(int *)(*(long *)(param_1 + 0x160) + 4 + (ulong)param_2 * 0x18) - 1U < 0xfffffffe)" ( (binary_expression "*(int *)(*(long *)(param_1 + 0x160) + 4 + (ulong)param_2 * 0x18) - 1U < 0xfffffffe" (binary_expression "*(int *)(*(long *)(param_1 + 0x160) + 4 + (ulong)param_2 * 0x18) - 1U" (pointer_expression "*(int *)(*(long *)(param_1 + 0x160) + 4 + (ulong)param_2 * 0x18)" * (cast_expression "(int *)(*(long *)(param_1 + 0x160) + 4 + (ulong)param_2 * 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x160) + 4 + (ulong)param_2 * 0x18)" ( (binary_expression "*(long *)(param_1 + 0x160) + 4 + (ulong)param_2 * 0x18" (binary_expression "*(long *)(param_1 + 0x160) + 4" (pointer_expression "*(long *)(param_1 + 0x160)" * (cast_expression "(long *)(param_1 + 0x160)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x160)" ( (binary_expression "param_1 + 0x160" identifier + number_literal) )))) + number_literal) + (binary_expression "(ulong)param_2 * 0x18" (cast_expression "(ulong)param_2" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) )))) - number_literal) < number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "FUN_0017c650("../../gold/object.h",0x74a,"output_dynsym_index");" (call_expression "FUN_0017c650("../../gold/object.h",0x74a,"output_dynsym_index")" identifier (argument_list "("../../gold/object.h",0x74a,"output_dynsym_index")" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""output_dynsym_index"" " 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 { (if_statement if (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) >> LIT) )) * LIT) ))) <= (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) )))) - LIT) < LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "void FUN_001c2810(long param_1,uint param_2)\n\n{\n  if ((ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)\n      <= (ulong)param_2) {\n                    \n    FUN_0017c650("../../gold/object.h",0x8d3,"dynsym_index");\n  }\n  if (*(int *)(*(long *)(param_1 + 0x160) + 4 + (ulong)param_2 * 0x18) - 1U < 0xfffffffe) {\n    return;\n  }\n                    \n  FUN_0017c650("../../gold/object.h",0x74a,"output_dynsym_index");\n}" (primitive_type "void") (function_declarator "FUN_001c2810(long param_1,uint param_2)" (identifier "FUN_001c2810") (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  if ((ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)\n      <= (ulong)param_2) {\n                    \n    FUN_0017c650("../../gold/object.h",0x8d3,"dynsym_index");\n  }\n  if (*(int *)(*(long *)(param_1 + 0x160) + 4 + (ulong)param_2 * 0x18) - 1U < 0xfffffffe) {\n    return;\n  }\n                    \n  FUN_0017c650("../../gold/object.h",0x74a,"output_dynsym_index");\n}" ({ "{") (if_statement "if ((ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)\n      <= (ulong)param_2) {\n                    \n    FUN_0017c650("../../gold/object.h",0x8d3,"dynsym_index");\n  }" (if "if") (parenthesized_expression "((ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)\n      <= (ulong)param_2)" (( "(") (binary_expression "(ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)\n      <= (ulong)param_2" (call_expression "(ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)" (( "(") (binary_expression "(*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555" (parenthesized_expression "(*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3)" (( "(") (binary_expression "*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3" (binary_expression "*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160)" (pointer_expression "*(long *)(param_1 + 0x168)" (* "*") (cast_expression "(long *)(param_1 + 0x168)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x168)" (( "(") (binary_expression "param_1 + 0x168" (identifier "param_1") (+ "+") (number_literal "0x168")) () ")")))) (- "-") (pointer_expression "*(long *)(param_1 + 0x160)" (* "*") (cast_expression "(long *)(param_1 + 0x160)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x160)" (( "(") (binary_expression "param_1 + 0x160" (identifier "param_1") (+ "+") (number_literal "0x160")) () ")"))))) (>> ">>") (number_literal "3")) () ")")) (* "*") (number_literal "-0x5555555555555555")) () ")"))) (<= "<=") (cast_expression "(ulong)param_2" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "param_2"))) () ")")) (compound_statement "{\n                    \n    FUN_0017c650("../../gold/object.h",0x8d3,"dynsym_index");\n  }" ({ "{") (expression_statement "FUN_0017c650("../../gold/object.h",0x8d3,"dynsym_index");" (call_expression "FUN_0017c650("../../gold/object.h",0x8d3,"dynsym_index")" (identifier "FUN_0017c650") (argument_list "("../../gold/object.h",0x8d3,"dynsym_index")" (( "(") (string_literal ""../../gold/object.h"" (" """) (string_content "../../gold/object.h") (" """)) (, ",") (number_literal "0x8d3") (, ",") (string_literal ""dynsym_index"" (" """) (string_content "dynsym_index") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(*(long *)(param_1 + 0x160) + 4 + (ulong)param_2 * 0x18) - 1U < 0xfffffffe) {\n    return;\n  }" (if "if") (parenthesized_expression "(*(int *)(*(long *)(param_1 + 0x160) + 4 + (ulong)param_2 * 0x18) - 1U < 0xfffffffe)" (( "(") (binary_expression "*(int *)(*(long *)(param_1 + 0x160) + 4 + (ulong)param_2 * 0x18) - 1U < 0xfffffffe" (binary_expression "*(int *)(*(long *)(param_1 + 0x160) + 4 + (ulong)param_2 * 0x18) - 1U" (pointer_expression "*(int *)(*(long *)(param_1 + 0x160) + 4 + (ulong)param_2 * 0x18)" (* "*") (cast_expression "(int *)(*(long *)(param_1 + 0x160) + 4 + (ulong)param_2 * 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0x160) + 4 + (ulong)param_2 * 0x18)" (( "(") (binary_expression "*(long *)(param_1 + 0x160) + 4 + (ulong)param_2 * 0x18" (binary_expression "*(long *)(param_1 + 0x160) + 4" (pointer_expression "*(long *)(param_1 + 0x160)" (* "*") (cast_expression "(long *)(param_1 + 0x160)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x160)" (( "(") (binary_expression "param_1 + 0x160" (identifier "param_1") (+ "+") (number_literal "0x160")) () ")")))) (+ "+") (number_literal "4")) (+ "+") (binary_expression "(ulong)param_2 * 0x18" (cast_expression "(ulong)param_2" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "param_2")) (* "*") (number_literal "0x18"))) () ")")))) (- "-") (number_literal "1U")) (< "<") (number_literal "0xfffffffe")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0017c650("../../gold/object.h",0x74a,"output_dynsym_index");" (call_expression "FUN_0017c650("../../gold/object.h",0x74a,"output_dynsym_index")" (identifier "FUN_0017c650") (argument_list "("../../gold/object.h",0x74a,"output_dynsym_index")" (( "(") (string_literal ""../../gold/object.h"" (" """) (string_content "../../gold/object.h") (" """)) (, ",") (number_literal "0x74a") (, ",") (string_literal ""output_dynsym_index"" (" """) (string_content "output_dynsym_index") (" """)) () ")"))) (; ";")) (} "}")))

/* DWARF original prototype: uint dynsym_index(Sized_relobj_file<32,_true> * this, uint sym) */

type_1 __thiscall
var_1::Sized_relobj_file<32,_true>::dynsym_index(Sized_relobj_file<32,_true> *this,type_1 sym)

{
  type_1 var_5;
  type_2 pSVar2;
  
  pSVar2 = (this->local_values_).
           super__Vector_base<var_1::Symbol_value<32>,var_2::allocator<var_1::Symbol_value<32>var_3>var_3>.
           _M_impl._M_start;
  if ((type_3)(((long)(this->local_values_).
                     super__Vector_base<var_1::Symbol_value<32>,var_2::allocator<var_1::Symbol_value<32>var_3>var_3>
                     ._M_impl._M_finish - (long)pSVar2 >> 3) * -0x5555555555555555) <= (type_3)sym) {
                    /* WARNING: Subroutine does not return */
    var_4("../../gold/object.h",0x8d3,"dynsym_index");
  }
  var_5 = pSVar2[sym].output_dynsym_index_;
  if (var_5 - 1 < 0xfffffffe) {
    return var_5;
  }
                    /* WARNING: Subroutine does not return */
  var_4("../../gold/object.h",0x74a,"output_dynsym_index");
}


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

void MASKED(long param_1,uint param_2)

{
  if ((ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)
      <= (ulong)param_2) {
                    /* WARNING: Subroutine does not return */
    FUN_0017c650("../../gold/object.h",0x8d3,"dynsym_index");
  }
  if (*(int *)(*(long *)(param_1 + 0x160) + 4 + (ulong)param_2 * 0x18) - 1U < 0xfffffffe) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0017c650("../../gold/object.h",0x74a,"output_dynsym_index");
}

