
/* DWARF original prototype: uint local_symbol_input_shndx(Sized_relobj_file<64,_false> * this, uint
   sym, bool * is_ordinary) */

uint __thiscall
gold::Sized_relobj_file<64,_false>::local_symbol_input_shndx
          (Sized_relobj_file<64,_false> *this,uint sym,bool *is_ordinary)

{
  pointer pSVar1;
  ulong uVar2;
  
  pSVar1 = (this->local_values_).
           super__Vector_base<gold::Symbol_value<64>,_std::allocator<gold::Symbol_value<64>_>_>.
           _M_impl._M_start;
  uVar2 = (ulong)sym;
  if (uVar2 < (ulong)(((long)(this->local_values_).
                             super__Vector_base<gold::Symbol_value<64>,_std::allocator<gold::Symbol_value<64>_>_>
                             ._M_impl._M_finish - (long)pSVar1 >> 3) * -0x5555555555555555)) {
    *is_ordinary = (bool)((byte)pSVar1[uVar2].field_0xb >> 3 & 1);
    return *(uint *)&pSVar1[uVar2].field_0x8 & 0x7ffffff;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/object.h",0x8db,"local_symbol_input_shndx");
}



uint FUN_001cbaf0(long param_1,uint param_2,byte *param_3)

{
  long lVar1;
  
  if ((ulong)param_2 <
      (ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555))
  {
    lVar1 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18;
    *param_3 = *(byte *)(lVar1 + 0xb) >> 3 & 1;
    return *(uint *)(lVar1 + 8) & 0x7ffffff;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00199900("../../gold/object.h",0x8db,"local_symbol_input_shndx");
}


MOV RCX,qword ptr [RDI + 0x160]
MOV RAX,qword ptr [RDI + 0x168]
MOV ESI,ESI
MOV RDI,-0x5555555555555555
SUB RAX,RCX
SAR RAX,0x3
IMUL RAX,RDI
CMP RSI,RAX
JNC 0x001cbb37
LEA RAX,[RSI + RSI*0x2]
LEA RCX,[RCX + RAX*0x8]
MOVZX EAX,byte ptr [RCX + 0xb]
SHR AL,0x3
AND EAX,0x1
MOV byte ptr [RDX],AL
MOV EAX,dword ptr [RCX + 0x8]
AND EAX,0x7ffffff
RET
PUSH RAX
LEA RDX,[0x344c70]
MOV ESI,0x8db
LEA RDI,[0x3383ac]
CALL 0x00199900
(translation_unit "uint FUN_001cbaf0(long param_1,uint param_2,byte *param_3)\n\n{\n  long lVar1;\n  \n  if ((ulong)param_2 <\n      (ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555))\n  {\n    lVar1 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18;\n    *param_3 = *(byte *)(lVar1 + 0xb) >> 3 & 1;\n    return *(uint *)(lVar1 + 8) & 0x7ffffff;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00199900("../../gold/object.h",0x8db,"local_symbol_input_shndx");\n}\n\n" (function_definition "uint FUN_001cbaf0(long param_1,uint param_2,byte *param_3)\n\n{\n  long lVar1;\n  \n  if ((ulong)param_2 <\n      (ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555))\n  {\n    lVar1 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18;\n    *param_3 = *(byte *)(lVar1 + 0xb) >> 3 & 1;\n    return *(uint *)(lVar1 + 8) & 0x7ffffff;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00199900("../../gold/object.h",0x8db,"local_symbol_input_shndx");\n}" type_identifier (function_declarator "FUN_001cbaf0(long param_1,uint param_2,byte *param_3)" identifier (parameter_list "(long param_1,uint param_2,byte *param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "byte *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  \n  if ((ulong)param_2 <\n      (ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555))\n  {\n    lVar1 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18;\n    *param_3 = *(byte *)(lVar1 + 0xb) >> 3 & 1;\n    return *(uint *)(lVar1 + 8) & 0x7ffffff;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00199900("../../gold/object.h",0x8db,"local_symbol_input_shndx");\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (if_statement "if ((ulong)param_2 <\n      (ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555))\n  {\n    lVar1 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18;\n    *param_3 = *(byte *)(lVar1 + 0xb) >> 3 & 1;\n    return *(uint *)(lVar1 + 8) & 0x7ffffff;\n  }" if (parenthesized_expression "((ulong)param_2 <\n      (ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555))" ( (binary_expression "(ulong)param_2 <\n      (ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)" (cast_expression "(ulong)param_2" ( (type_descriptor "ulong" type_identifier) ) identifier) < (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) )))) )) (compound_statement "{\n    lVar1 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18;\n    *param_3 = *(byte *)(lVar1 + 0xb) >> 3 & 1;\n    return *(uint *)(lVar1 + 8) & 0x7ffffff;\n  }" { (expression_statement "lVar1 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18;" (assignment_expression "lVar1 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18" identifier = (binary_expression "*(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18" (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) )))) + (binary_expression "(ulong)param_2 * 0x18" (cast_expression "(ulong)param_2" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal))) ;) (expression_statement "*param_3 = *(byte *)(lVar1 + 0xb) >> 3 & 1;" (assignment_expression "*param_3 = *(byte *)(lVar1 + 0xb) >> 3 & 1" (pointer_expression "*param_3" * identifier) = (binary_expression "*(byte *)(lVar1 + 0xb) >> 3 & 1" (binary_expression "*(byte *)(lVar1 + 0xb) >> 3" (pointer_expression "*(byte *)(lVar1 + 0xb)" * (cast_expression "(byte *)(lVar1 + 0xb)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0xb)" ( (binary_expression "lVar1 + 0xb" identifier + number_literal) )))) >> number_literal) & number_literal)) ;) (return_statement "return *(uint *)(lVar1 + 8) & 0x7ffffff;" return (binary_expression "*(uint *)(lVar1 + 8) & 0x7ffffff" (pointer_expression "*(uint *)(lVar1 + 8)" * (cast_expression "(uint *)(lVar1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 8)" ( (binary_expression "lVar1 + 8" identifier + number_literal) )))) & number_literal) ;) })) comment (expression_statement "FUN_00199900("../../gold/object.h",0x8db,"local_symbol_input_shndx");" (call_expression "FUN_00199900("../../gold/object.h",0x8db,"local_symbol_input_shndx")" identifier (argument_list "("../../gold/object.h",0x8db,"local_symbol_input_shndx")" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""local_symbol_input_shndx"" " string_content ") ))) ;) })))
(translation_unit "/* DWARF original prototype: uint local_symbol_input_shndx(Sized_relobj_file<64,_false> * this, uint\n   sym, bool * is_ordinary) */\n\nuint __thiscall\ngold::Sized_relobj_file<64,_false>::local_symbol_input_shndx\n          (Sized_relobj_file<64,_false> *this,uint sym,bool *is_ordinary)\n\n{\n  pointer pSVar1;\n  ulong uVar2;\n  \n  pSVar1 = (this->local_values_).\n           super__Vector_base<gold::Symbol_value<64>,_std::allocator<gold::Symbol_value<64>_>_>.\n           _M_impl._M_start;\n  uVar2 = (ulong)sym;\n  if (uVar2 < (ulong)(((long)(this->local_values_).\n                             super__Vector_base<gold::Symbol_value<64>,_std::allocator<gold::Symbol_value<64>_>_>\n                             ._M_impl._M_finish - (long)pSVar1 >> 3) * -0x5555555555555555)) {\n    *is_ordinary = (bool)((byte)pSVar1[uVar2].field_0xb >> 3 & 1);\n    return *(uint *)&pSVar1[uVar2].field_0x8 & 0x7ffffff;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/object.h",0x8db,"local_symbol_input_shndx");\n}\n\n" comment (declaration "uint __thiscall\ngold::Sized_relobj_file<64,_false>::local_symbol_input_shndx\n          (Sized_relobj_file<64,_false> *this,uint sym,bool *is_ordinary)\n\n{\n  pointer pSVar1;" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<64" < number_literal) , (ERROR "_false>::local_symbol_input_shndx\n          (Sized_relobj_file<64,_false> *this,uint sym,bool *is_ordinary)\n\n{\n  pointer" identifier > : : (function_declarator "local_symbol_input_shndx\n          (Sized_relobj_file<64,_false> *this,uint sym,bool *is_ordinary)" identifier (parameter_list "(Sized_relobj_file<64,_false> *this,uint sym,bool *is_ordinary)" ( (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 sym" type_identifier identifier) , (parameter_declaration "bool *is_ordinary" primitive_type (pointer_declarator "*is_ordinary" * identifier)) ))) { identifier) identifier ;) (declaration "ulong uVar2;" type_identifier identifier ;) (expression_statement "pSVar1 = (this->local_values_).\n           super__Vector_base<gold::Symbol_value<64>,_std::allocator<gold::Symbol_value<64>_>_>.\n           _M_impl._M_start;" (field_expression "pSVar1 = (this->local_values_).\n           super__Vector_base<gold::Symbol_value<64>,_std::allocator<gold::Symbol_value<64>_>_>.\n           _M_impl._M_start" (field_expression "pSVar1 = (this->local_values_).\n           super__Vector_base<gold::Symbol_value<64>,_std::allocator<gold::Symbol_value<64>_>_>.\n           _M_impl" (binary_expression "pSVar1 = (this->local_values_).\n           super__Vector_base<gold::Symbol_value<64>,_std::allocator<gold::Symbol_value<64>_>_" (binary_expression "pSVar1 = (this->local_values_).\n           super__Vector_base<gold::Symbol_value<64>,_std::allocator<gold::Symbol_value<64>_" (binary_expression "pSVar1 = (this->local_values_).\n           super__Vector_base<gold::Symbol_value<64>,_std::allocator<gold::Symbol_value<64" (binary_expression "pSVar1 = (this->local_values_).\n           super__Vector_base<gold::Symbol_value<64>,_std::allocator<gold" (binary_expression "pSVar1 = (this->local_values_).\n           super__Vector_base<gold::Symbol_value<64>,_std" (binary_expression "pSVar1 = (this->local_values_).\n           super__Vector_base<gold::Symbol_value<64" (assignment_expression "pSVar1 = (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) ;) (expression_statement "uVar2 = (ulong)sym;" (assignment_expression "uVar2 = (ulong)sym" identifier = (cast_expression "(ulong)sym" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (if_statement "if (uVar2 < (ulong)(((long)(this->local_values_).\n                             super__Vector_base<gold::Symbol_value<64>,_std::allocator<gold::Symbol_value<64>_>_>\n                             ._M_impl._M_finish - (long)pSVar1 >> 3) * -0x5555555555555555)) {\n    *is_ordinary = (bool)((byte)pSVar1[uVar2].field_0xb >> 3 & 1);\n    return *(uint *)&pSVar1[uVar2].field_0x8 & 0x7ffffff;\n  }" if (parenthesized_expression "(uVar2 < (ulong)(((long)(this->local_values_).\n                             super__Vector_base<gold::Symbol_value<64>,_std::allocator<gold::Symbol_value<64>_>_>\n                             ._M_impl._M_finish - (long)pSVar1 >> 3) * -0x5555555555555555))" ( (binary_expression "uVar2 < (ulong)(((long)(this->local_values_).\n                             super__Vector_base<gold::Symbol_value<64>,_std::allocator<gold::Symbol_value<64>_>_>\n                             ._M_impl._M_finish - (long)pSVar1 >> 3) * -0x5555555555555555)" identifier < (call_expression "(ulong)(((long)(this->local_values_).\n                             super__Vector_base<gold::Symbol_value<64>,_std::allocator<gold::Symbol_value<64>_>_>\n                             ._M_impl._M_finish - (long)pSVar1 >> 3) * -0x5555555555555555)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(((long)(this->local_values_).\n                             super__Vector_base<gold::Symbol_value<64>,_std::allocator<gold::Symbol_value<64>_>_>\n                             ._M_impl._M_finish - (long)pSVar1 >> 3) * -0x5555555555555555)" ( (binary_expression "((long)(this->local_values_).\n                             super__Vector_base<gold::Symbol_value<64>,_std::allocator<gold::Symbol_value<64>_>_>\n                             ._M_impl._M_finish - (long)pSVar1 >> 3) * -0x5555555555555555" (parenthesized_expression "((long)(this->local_values_).\n                             super__Vector_base<gold::Symbol_value<64>,_std::allocator<gold::Symbol_value<64>_>_>\n                             ._M_impl._M_finish - (long)pSVar1 >> 3)" ( (binary_expression "(long)(this->local_values_).\n                             super__Vector_base<gold::Symbol_value<64>,_std::allocator<gold::Symbol_value<64>_>_>\n                             ._M_impl._M_finish - (long)pSVar1 >> 3" (binary_expression "(long)(this->local_values_).\n                             super__Vector_base<gold::Symbol_value<64>,_std::allocator<gold::Symbol_value<64>_>_>\n                             ._M_impl._M_finish - (long)pSVar1" (field_expression "(long)(this->local_values_).\n                             super__Vector_base<gold::Symbol_value<64>,_std::allocator<gold::Symbol_value<64>_>_>\n                             ._M_impl._M_finish" (field_expression "(long)(this->local_values_).\n                             super__Vector_base<gold::Symbol_value<64>,_std::allocator<gold::Symbol_value<64>_>_>\n                             ._M_impl" (binary_expression "(long)(this->local_values_).\n                             super__Vector_base<gold::Symbol_value<64>,_std::allocator<gold::Symbol_value<64>_>_" (binary_expression "(long)(this->local_values_).\n                             super__Vector_base<gold::Symbol_value<64>,_std::allocator<gold::Symbol_value<64>_" (binary_expression "(long)(this->local_values_).\n                             super__Vector_base<gold::Symbol_value<64>,_std::allocator<gold::Symbol_value<64" (binary_expression "(long)(this->local_values_).\n                             super__Vector_base<gold::Symbol_value<64>,_std::allocator<gold" (binary_expression "(long)(this->local_values_).\n                             super__Vector_base<gold::Symbol_value<64>,_std" (binary_expression "(long)(this->local_values_).\n                             super__Vector_base<gold::Symbol_value<64" (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)pSVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) >> number_literal) )) * number_literal) )))) )) (compound_statement "{\n    *is_ordinary = (bool)((byte)pSVar1[uVar2].field_0xb >> 3 & 1);\n    return *(uint *)&pSVar1[uVar2].field_0x8 & 0x7ffffff;\n  }" { (expression_statement "*is_ordinary = (bool)((byte)pSVar1[uVar2].field_0xb >> 3 & 1);" (assignment_expression "*is_ordinary = (bool)((byte)pSVar1[uVar2].field_0xb >> 3 & 1)" (pointer_expression "*is_ordinary" * identifier) = (cast_expression "(bool)((byte)pSVar1[uVar2].field_0xb >> 3 & 1)" ( (type_descriptor "bool" primitive_type) ) (parenthesized_expression "((byte)pSVar1[uVar2].field_0xb >> 3 & 1)" ( (binary_expression "(byte)pSVar1[uVar2].field_0xb >> 3 & 1" (binary_expression "(byte)pSVar1[uVar2].field_0xb >> 3" (cast_expression "(byte)pSVar1[uVar2].field_0xb" ( (type_descriptor "byte" type_identifier) ) (field_expression "pSVar1[uVar2].field_0xb" (subscript_expression "pSVar1[uVar2]" identifier [ identifier ]) . field_identifier)) >> number_literal) & number_literal) )))) ;) (return_statement "return *(uint *)&pSVar1[uVar2].field_0x8 & 0x7ffffff;" return (binary_expression "*(uint *)&pSVar1[uVar2].field_0x8 & 0x7ffffff" (pointer_expression "*(uint *)&pSVar1[uVar2].field_0x8" * (cast_expression "(uint *)&pSVar1[uVar2].field_0x8" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pSVar1[uVar2].field_0x8" & (field_expression "pSVar1[uVar2].field_0x8" (subscript_expression "pSVar1[uVar2]" identifier [ identifier ]) . field_identifier)))) & number_literal) ;) })) comment (expression_statement "do_gold_unreachable("../../gold/object.h",0x8db,"local_symbol_input_shndx");" (call_expression "do_gold_unreachable("../../gold/object.h",0x8db,"local_symbol_input_shndx")" identifier (argument_list "("../../gold/object.h",0x8db,"local_symbol_input_shndx")" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""local_symbol_input_shndx"" " string_content ") ))) ;) (ERROR "}" }))
(translation_unit "uint FUN_001cbaf0(long param_1,uint param_2,byte *param_3)\n\n{\n  long lVar1;\n  \n  if ((ulong)param_2 <\n      (ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555))\n  {\n    lVar1 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18;\n    *param_3 = *(byte *)(lVar1 + 0xb) >> 3 & 1;\n    return *(uint *)(lVar1 + 8) & 0x7ffffff;\n  }\n                    \n  FUN_00199900("../../gold/object.h",0x8db,"local_symbol_input_shndx");\n}\n\n" (function_definition "uint FUN_001cbaf0(long param_1,uint param_2,byte *param_3)\n\n{\n  long lVar1;\n  \n  if ((ulong)param_2 <\n      (ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555))\n  {\n    lVar1 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18;\n    *param_3 = *(byte *)(lVar1 + 0xb) >> 3 & 1;\n    return *(uint *)(lVar1 + 8) & 0x7ffffff;\n  }\n                    \n  FUN_00199900("../../gold/object.h",0x8db,"local_symbol_input_shndx");\n}" type_identifier (function_declarator "FUN_001cbaf0(long param_1,uint param_2,byte *param_3)" identifier (parameter_list "(long param_1,uint param_2,byte *param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "byte *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  \n  if ((ulong)param_2 <\n      (ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555))\n  {\n    lVar1 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18;\n    *param_3 = *(byte *)(lVar1 + 0xb) >> 3 & 1;\n    return *(uint *)(lVar1 + 8) & 0x7ffffff;\n  }\n                    \n  FUN_00199900("../../gold/object.h",0x8db,"local_symbol_input_shndx");\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (if_statement "if ((ulong)param_2 <\n      (ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555))\n  {\n    lVar1 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18;\n    *param_3 = *(byte *)(lVar1 + 0xb) >> 3 & 1;\n    return *(uint *)(lVar1 + 8) & 0x7ffffff;\n  }" if (parenthesized_expression "((ulong)param_2 <\n      (ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555))" ( (binary_expression "(ulong)param_2 <\n      (ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)" (cast_expression "(ulong)param_2" ( (type_descriptor "ulong" type_identifier) ) identifier) < (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) )))) )) (compound_statement "{\n    lVar1 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18;\n    *param_3 = *(byte *)(lVar1 + 0xb) >> 3 & 1;\n    return *(uint *)(lVar1 + 8) & 0x7ffffff;\n  }" { (expression_statement "lVar1 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18;" (assignment_expression "lVar1 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18" identifier = (binary_expression "*(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18" (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) )))) + (binary_expression "(ulong)param_2 * 0x18" (cast_expression "(ulong)param_2" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal))) ;) (expression_statement "*param_3 = *(byte *)(lVar1 + 0xb) >> 3 & 1;" (assignment_expression "*param_3 = *(byte *)(lVar1 + 0xb) >> 3 & 1" (pointer_expression "*param_3" * identifier) = (binary_expression "*(byte *)(lVar1 + 0xb) >> 3 & 1" (binary_expression "*(byte *)(lVar1 + 0xb) >> 3" (pointer_expression "*(byte *)(lVar1 + 0xb)" * (cast_expression "(byte *)(lVar1 + 0xb)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0xb)" ( (binary_expression "lVar1 + 0xb" identifier + number_literal) )))) >> number_literal) & number_literal)) ;) (return_statement "return *(uint *)(lVar1 + 8) & 0x7ffffff;" return (binary_expression "*(uint *)(lVar1 + 8) & 0x7ffffff" (pointer_expression "*(uint *)(lVar1 + 8)" * (cast_expression "(uint *)(lVar1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 8)" ( (binary_expression "lVar1 + 8" identifier + number_literal) )))) & number_literal) ;) })) (expression_statement "FUN_00199900("../../gold/object.h",0x8db,"local_symbol_input_shndx");" (call_expression "FUN_00199900("../../gold/object.h",0x8db,"local_symbol_input_shndx")" identifier (argument_list "("../../gold/object.h",0x8db,"local_symbol_input_shndx")" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""local_symbol_input_shndx"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < (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) )))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) >> LIT) & LIT)) ;) (return_statement return (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "uint FUN_001cbaf0(long param_1,uint param_2,byte *param_3)\n\n{\n  long lVar1;\n  \n  if ((ulong)param_2 <\n      (ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555))\n  {\n    lVar1 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18;\n    *param_3 = *(byte *)(lVar1 + 0xb) >> 3 & 1;\n    return *(uint *)(lVar1 + 8) & 0x7ffffff;\n  }\n                    \n  FUN_00199900("../../gold/object.h",0x8db,"local_symbol_input_shndx");\n}" (type_identifier "uint") (function_declarator "FUN_001cbaf0(long param_1,uint param_2,byte *param_3)" (identifier "FUN_001cbaf0") (parameter_list "(long param_1,uint param_2,byte *param_3)" (( "(") (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")) (, ",") (parameter_declaration "byte *param_3" (type_identifier "byte") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  long lVar1;\n  \n  if ((ulong)param_2 <\n      (ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555))\n  {\n    lVar1 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18;\n    *param_3 = *(byte *)(lVar1 + 0xb) >> 3 & 1;\n    return *(uint *)(lVar1 + 8) & 0x7ffffff;\n  }\n                    \n  FUN_00199900("../../gold/object.h",0x8db,"local_symbol_input_shndx");\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (if_statement "if ((ulong)param_2 <\n      (ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555))\n  {\n    lVar1 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18;\n    *param_3 = *(byte *)(lVar1 + 0xb) >> 3 & 1;\n    return *(uint *)(lVar1 + 8) & 0x7ffffff;\n  }" (if "if") (parenthesized_expression "((ulong)param_2 <\n      (ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555))" (( "(") (binary_expression "(ulong)param_2 <\n      (ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555)" (cast_expression "(ulong)param_2" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "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")) () ")")))) () ")")) (compound_statement "{\n    lVar1 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18;\n    *param_3 = *(byte *)(lVar1 + 0xb) >> 3 & 1;\n    return *(uint *)(lVar1 + 8) & 0x7ffffff;\n  }" ({ "{") (expression_statement "lVar1 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18;" (assignment_expression "lVar1 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18" (identifier "lVar1") (= "=") (binary_expression "*(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18" (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")) () ")")))) (+ "+") (binary_expression "(ulong)param_2 * 0x18" (cast_expression "(ulong)param_2" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "param_2")) (* "*") (number_literal "0x18")))) (; ";")) (expression_statement "*param_3 = *(byte *)(lVar1 + 0xb) >> 3 & 1;" (assignment_expression "*param_3 = *(byte *)(lVar1 + 0xb) >> 3 & 1" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (binary_expression "*(byte *)(lVar1 + 0xb) >> 3 & 1" (binary_expression "*(byte *)(lVar1 + 0xb) >> 3" (pointer_expression "*(byte *)(lVar1 + 0xb)" (* "*") (cast_expression "(byte *)(lVar1 + 0xb)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0xb)" (( "(") (binary_expression "lVar1 + 0xb" (identifier "lVar1") (+ "+") (number_literal "0xb")) () ")")))) (>> ">>") (number_literal "3")) (& "&") (number_literal "1"))) (; ";")) (return_statement "return *(uint *)(lVar1 + 8) & 0x7ffffff;" (return "return") (binary_expression "*(uint *)(lVar1 + 8) & 0x7ffffff" (pointer_expression "*(uint *)(lVar1 + 8)" (* "*") (cast_expression "(uint *)(lVar1 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 8)" (( "(") (binary_expression "lVar1 + 8" (identifier "lVar1") (+ "+") (number_literal "8")) () ")")))) (& "&") (number_literal "0x7ffffff")) (; ";")) (} "}"))) (expression_statement "FUN_00199900("../../gold/object.h",0x8db,"local_symbol_input_shndx");" (call_expression "FUN_00199900("../../gold/object.h",0x8db,"local_symbol_input_shndx")" (identifier "FUN_00199900") (argument_list "("../../gold/object.h",0x8db,"local_symbol_input_shndx")" (( "(") (string_literal ""../../gold/object.h"" (" """) (string_content "../../gold/object.h") (" """)) (, ",") (number_literal "0x8db") (, ",") (string_literal ""local_symbol_input_shndx"" (" """) (string_content "local_symbol_input_shndx") (" """)) () ")"))) (; ";")) (} "}")))

/* DWARF original prototype: uint local_symbol_input_shndx(Sized_relobj_file<64,_false> * this, uint
   sym, bool * is_ordinary) */

type_1 __thiscall
var_1::Sized_relobj_file<64,_false>::local_symbol_input_shndx
          (Sized_relobj_file<64,_false> *this,type_1 sym,bool *is_ordinary)

{
  pointer pSVar1;
  type_2 var_4;
  
  pSVar1 = (this->local_values_).
           super__Vector_base<var_1::Symbol_value<64>,var_2::allocator<var_1::Symbol_value<64>var_3>var_3>.
           _M_impl._M_start;
  var_4 = (type_2)sym;
  if (var_4 < (type_2)(((long)(this->local_values_).
                             super__Vector_base<var_1::Symbol_value<64>,var_2::allocator<var_1::Symbol_value<64>var_3>var_3>
                             ._M_impl._M_finish - (long)pSVar1 >> 3) * -0x5555555555555555)) {
    *is_ordinary = (bool)((type_3)pSVar1[var_4].field_0xb >> 3 & 1);
    return *(type_1 *)&pSVar1[var_4].field_0x8 & 0x7ffffff;
  }
                    /* WARNING: Subroutine does not return */
  var_5("../../gold/object.h",0x8db,"local_symbol_input_shndx");
}


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

uint MASKED(long param_1,uint param_2,byte *param_3)

{
  long lVar1;
  
  if ((ulong)param_2 <
      (ulong)((*(long *)(param_1 + 0x168) - *(long *)(param_1 + 0x160) >> 3) * -0x5555555555555555))
  {
    lVar1 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18;
    *param_3 = *(byte *)(lVar1 + 0xb) >> 3 & 1;
    return *(uint *)(lVar1 + 8) & 0x7ffffff;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00199900("../../gold/object.h",0x8db,"local_symbol_input_shndx");
}

