
/* DWARF original prototype: uint64_t do_local_symbol_value(Sized_relobj_file<64,_true> * this, uint
   symndx, uint64_t addend) */

uint64_t __thiscall
gold::Sized_relobj_file<64,_true>::do_local_symbol_value
          (Sized_relobj_file<64,_true> *this,uint symndx,uint64_t addend)

{
  pointer pSVar1;
  Merged_symbol_value<64> *this_00;
  ulong uVar2;
  _Hash_node_base *p_Var3;
  Elf_Addr EVar4;
  _Hash_node_base *input_offset;
  ulong uVar5;
  ulong uVar6;
  _Hash_node_base *p_Var7;
  __bucket_type p_Var8;
  __bucket_type p_Var9;
  
  uVar6 = (ulong)symndx;
  pSVar1 = (this->local_values_).
           super__Vector_base<gold::Symbol_value<64>,_std::allocator<gold::Symbol_value<64>_>_>.
           _M_impl._M_start;
  if ((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) <= uVar6) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/object.h",0x8c1,"local_symbol");
  }
  if ((char)pSVar1[uVar6].field_0xb < '\0') {
    return (long)&(pSVar1[uVar6].u_.merged_symbol_value)->input_value_ + addend;
  }
  if ((pSVar1[uVar6].field_0xb & 8) == 0) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/object.h",0x6ab,"value");
  }
  this_00 = pSVar1[uVar6].u_.merged_symbol_value;
  input_offset = (_Hash_node_base *)this_00->input_value_;
  if (addend < 0xffffff00) {
    input_offset = (_Hash_node_base *)((long)&input_offset->_M_nxt + addend);
    addend = 0;
  }
  uVar2 = (this_00->output_addresses_)._M_h._M_bucket_count;
  uVar5 = (ulong)input_offset % uVar2;
  p_Var9 = (this_00->output_addresses_)._M_h._M_buckets[uVar5];
  if (p_Var9 != (__bucket_type)0x0) {
    p_Var7 = p_Var9->_M_nxt[1]._M_nxt;
    p_Var3 = p_Var9->_M_nxt;
    while (p_Var8 = p_Var3, p_Var7 != input_offset) {
      p_Var3 = p_Var8->_M_nxt;
      if ((p_Var3 == (_Hash_node_base *)0x0) ||
         (p_Var7 = p_Var3[1]._M_nxt, p_Var9 = p_Var8, uVar5 != (ulong)p_Var7 % uVar2))
      goto LAB_001bf850;
    }
    if (p_Var9->_M_nxt != (_Hash_node_base *)0x0) {
      return (long)&(p_Var9->_M_nxt[2]._M_nxt)->_M_nxt + addend;
    }
  }
LAB_001bf850:
  EVar4 = Merged_symbol_value<64>::value_from_output_section
                    (this_00,(Relobj *)this,*(uint *)&pSVar1[uVar6].field_0x8 & 0x7ffffff,
                     (Elf_Addr)input_offset);
  return EVar4 + addend;
}



long FUN_001bf760(long param_1,uint param_2,ulong param_3)

{
  ulong *puVar1;
  long *plVar2;
  long lVar3;
  ulong uVar4;
  ulong uVar5;
  ulong uVar6;
  long *plVar7;
  long *plVar8;
  
  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",0x8c1,"local_symbol");
  }
  lVar3 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18;
  if ((char)*(byte *)(lVar3 + 0xb) < '\0') {
    return *(long *)(lVar3 + 0x10) + param_3;
  }
  if ((*(byte *)(lVar3 + 0xb) & 8) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_0017c650("../../gold/object.h",0x6ab,"value");
  }
  puVar1 = *(ulong **)(lVar3 + 0x10);
  uVar4 = *puVar1;
  if (param_3 < 0xffffff00) {
    uVar4 = uVar4 + param_3;
    param_3 = 0;
  }
  uVar5 = uVar4 % puVar1[3];
  plVar8 = *(long **)(puVar1[2] + uVar5 * 8);
  if (plVar8 != (long *)0x0) {
    uVar6 = ((long *)*plVar8)[1];
    plVar2 = (long *)*plVar8;
    while (plVar7 = plVar2, uVar6 != uVar4) {
      plVar2 = (long *)*plVar7;
      if ((plVar2 == (long *)0x0) ||
         (uVar6 = plVar2[1], plVar8 = plVar7, uVar5 != uVar6 % puVar1[3])) goto LAB_001bf850;
    }
    if (*plVar8 != 0) {
      return param_3 + *(long *)(*plVar8 + 0x10);
    }
  }
LAB_001bf850:
  lVar3 = FUN_002449e0(puVar1,param_1,*(uint *)(lVar3 + 8) & 0x7ffffff);
  return lVar3 + param_3;
}


MOV RCX,-0x5555555555555555
PUSH R12
MOV ESI,ESI
PUSH RBP
PUSH RBX
MOV RBX,RDX
MOV RAX,qword ptr [RDI + 0x160]
MOV RDX,qword ptr [RDI + 0x168]
SUB RDX,RAX
SAR RDX,0x3
IMUL RDX,RCX
CMP RSI,RDX
JNC 0x001bf86d
LEA RDX,[RSI + RSI*0x2]
LEA R11,[RAX + RDX*0x8]
MOVZX EAX,byte ptr [R11 + 0xb]
TEST AL,AL
JS 0x001bf840
TEST AL,0x8
JZ 0x001bf885
MOV RBP,qword ptr [R11 + 0x10]
MOV EAX,0xfffffeff
MOV RCX,qword ptr [RBP]
CMP RBX,RAX
JBE 0x001bf830
MOV R9,qword ptr [RBP + 0x18]
MOV RAX,RCX
XOR EDX,EDX
DIV R9
MOV RAX,qword ptr [RBP + 0x10]
MOV R10,qword ptr [RAX + RDX*0x8]
MOV R12,RDX
TEST R10,R10
JZ 0x001bf850
MOV R8,qword ptr [R10]
MOV RSI,qword ptr [R8 + 0x8]
JMP 0x001bf80f
MOV RAX,qword ptr [R8]
TEST RAX,RAX
JZ 0x001bf850
MOV RSI,qword ptr [RAX + 0x8]
MOV R10,R8
XOR EDX,EDX
MOV R8,RAX
MOV RAX,RSI
DIV R9
CMP R12,RDX
JNZ 0x001bf850
CMP RSI,RCX
JNZ 0x001bf7f0
MOV RAX,qword ptr [R10]
TEST RAX,RAX
JZ 0x001bf850
ADD RBX,qword ptr [RAX + 0x10]
MOV RAX,RBX
POP RBX
POP RBP
POP R12
RET
ADD RCX,RBX
XOR EBX,EBX
JMP 0x001bf7c4
MOV RAX,qword ptr [R11 + 0x10]
ADD RAX,RBX
POP RBX
POP RBP
POP R12
RET
MOV EDX,dword ptr [R11 + 0x8]
MOV RSI,RDI
MOV RDI,RBP
AND EDX,0x7ffffff
CALL 0x002449e0
ADD RAX,RBX
POP RBX
POP RBP
POP R12
RET
LEA RDX,[0x3788b0]
MOV ESI,0x8c1
LEA RDI,[0x36b016]
CALL 0x0017c650
LEA RDX,[0x3787c4]
MOV ESI,0x6ab
LEA RDI,[0x36b016]
CALL 0x0017c650
(translation_unit "long FUN_001bf760(long param_1,uint param_2,ulong param_3)\n\n{\n  ulong *puVar1;\n  long *plVar2;\n  long lVar3;\n  ulong uVar4;\n  ulong uVar5;\n  ulong uVar6;\n  long *plVar7;\n  long *plVar8;\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",0x8c1,"local_symbol");\n  }\n  lVar3 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18;\n  if ((char)*(byte *)(lVar3 + 0xb) < '\0') {\n    return *(long *)(lVar3 + 0x10) + param_3;\n  }\n  if ((*(byte *)(lVar3 + 0xb) & 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/object.h",0x6ab,"value");\n  }\n  puVar1 = *(ulong **)(lVar3 + 0x10);\n  uVar4 = *puVar1;\n  if (param_3 < 0xffffff00) {\n    uVar4 = uVar4 + param_3;\n    param_3 = 0;\n  }\n  uVar5 = uVar4 % puVar1[3];\n  plVar8 = *(long **)(puVar1[2] + uVar5 * 8);\n  if (plVar8 != (long *)0x0) {\n    uVar6 = ((long *)*plVar8)[1];\n    plVar2 = (long *)*plVar8;\n    while (plVar7 = plVar2, uVar6 != uVar4) {\n      plVar2 = (long *)*plVar7;\n      if ((plVar2 == (long *)0x0) ||\n         (uVar6 = plVar2[1], plVar8 = plVar7, uVar5 != uVar6 % puVar1[3])) goto LAB_001bf850;\n    }\n    if (*plVar8 != 0) {\n      return param_3 + *(long *)(*plVar8 + 0x10);\n    }\n  }\nLAB_001bf850:\n  lVar3 = FUN_002449e0(puVar1,param_1,*(uint *)(lVar3 + 8) & 0x7ffffff);\n  return lVar3 + param_3;\n}\n\n" (function_definition "long FUN_001bf760(long param_1,uint param_2,ulong param_3)\n\n{\n  ulong *puVar1;\n  long *plVar2;\n  long lVar3;\n  ulong uVar4;\n  ulong uVar5;\n  ulong uVar6;\n  long *plVar7;\n  long *plVar8;\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",0x8c1,"local_symbol");\n  }\n  lVar3 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18;\n  if ((char)*(byte *)(lVar3 + 0xb) < '\0') {\n    return *(long *)(lVar3 + 0x10) + param_3;\n  }\n  if ((*(byte *)(lVar3 + 0xb) & 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/object.h",0x6ab,"value");\n  }\n  puVar1 = *(ulong **)(lVar3 + 0x10);\n  uVar4 = *puVar1;\n  if (param_3 < 0xffffff00) {\n    uVar4 = uVar4 + param_3;\n    param_3 = 0;\n  }\n  uVar5 = uVar4 % puVar1[3];\n  plVar8 = *(long **)(puVar1[2] + uVar5 * 8);\n  if (plVar8 != (long *)0x0) {\n    uVar6 = ((long *)*plVar8)[1];\n    plVar2 = (long *)*plVar8;\n    while (plVar7 = plVar2, uVar6 != uVar4) {\n      plVar2 = (long *)*plVar7;\n      if ((plVar2 == (long *)0x0) ||\n         (uVar6 = plVar2[1], plVar8 = plVar7, uVar5 != uVar6 % puVar1[3])) goto LAB_001bf850;\n    }\n    if (*plVar8 != 0) {\n      return param_3 + *(long *)(*plVar8 + 0x10);\n    }\n  }\nLAB_001bf850:\n  lVar3 = FUN_002449e0(puVar1,param_1,*(uint *)(lVar3 + 8) & 0x7ffffff);\n  return lVar3 + param_3;\n}" (sized_type_specifier "long" long) (function_declarator "FUN_001bf760(long param_1,uint param_2,ulong param_3)" identifier (parameter_list "(long param_1,uint param_2,ulong param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "ulong param_3" type_identifier identifier) ))) (compound_statement "{\n  ulong *puVar1;\n  long *plVar2;\n  long lVar3;\n  ulong uVar4;\n  ulong uVar5;\n  ulong uVar6;\n  long *plVar7;\n  long *plVar8;\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",0x8c1,"local_symbol");\n  }\n  lVar3 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18;\n  if ((char)*(byte *)(lVar3 + 0xb) < '\0') {\n    return *(long *)(lVar3 + 0x10) + param_3;\n  }\n  if ((*(byte *)(lVar3 + 0xb) & 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/object.h",0x6ab,"value");\n  }\n  puVar1 = *(ulong **)(lVar3 + 0x10);\n  uVar4 = *puVar1;\n  if (param_3 < 0xffffff00) {\n    uVar4 = uVar4 + param_3;\n    param_3 = 0;\n  }\n  uVar5 = uVar4 % puVar1[3];\n  plVar8 = *(long **)(puVar1[2] + uVar5 * 8);\n  if (plVar8 != (long *)0x0) {\n    uVar6 = ((long *)*plVar8)[1];\n    plVar2 = (long *)*plVar8;\n    while (plVar7 = plVar2, uVar6 != uVar4) {\n      plVar2 = (long *)*plVar7;\n      if ((plVar2 == (long *)0x0) ||\n         (uVar6 = plVar2[1], plVar8 = plVar7, uVar5 != uVar6 % puVar1[3])) goto LAB_001bf850;\n    }\n    if (*plVar8 != 0) {\n      return param_3 + *(long *)(*plVar8 + 0x10);\n    }\n  }\nLAB_001bf850:\n  lVar3 = FUN_002449e0(puVar1,param_1,*(uint *)(lVar3 + 8) & 0x7ffffff);\n  return lVar3 + param_3;\n}" { (declaration "ulong *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (declaration "ulong uVar5;" type_identifier identifier ;) (declaration "ulong uVar6;" type_identifier identifier ;) (declaration "long *plVar7;" (sized_type_specifier "long" long) (pointer_declarator "*plVar7" * identifier) ;) (declaration "long *plVar8;" (sized_type_specifier "long" long) (pointer_declarator "*plVar8" * identifier) ;) (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",0x8c1,"local_symbol");\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",0x8c1,"local_symbol");\n  }" { comment (expression_statement "FUN_0017c650("../../gold/object.h",0x8c1,"local_symbol");" (call_expression "FUN_0017c650("../../gold/object.h",0x8c1,"local_symbol")" identifier (argument_list "("../../gold/object.h",0x8c1,"local_symbol")" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""local_symbol"" " string_content ") ))) ;) })) (expression_statement "lVar3 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18;" (assignment_expression "lVar3 = *(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))) ;) (if_statement "if ((char)*(byte *)(lVar3 + 0xb) < '\0') {\n    return *(long *)(lVar3 + 0x10) + param_3;\n  }" if (parenthesized_expression "((char)*(byte *)(lVar3 + 0xb) < '\0')" ( (binary_expression "(char)*(byte *)(lVar3 + 0xb) < '\0'" (cast_expression "(char)*(byte *)(lVar3 + 0xb)" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*(byte *)(lVar3 + 0xb)" * (cast_expression "(byte *)(lVar3 + 0xb)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0xb)" ( (binary_expression "lVar3 + 0xb" identifier + number_literal) ))))) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    return *(long *)(lVar3 + 0x10) + param_3;\n  }" { (return_statement "return *(long *)(lVar3 + 0x10) + param_3;" return (binary_expression "*(long *)(lVar3 + 0x10) + param_3" (pointer_expression "*(long *)(lVar3 + 0x10)" * (cast_expression "(long *)(lVar3 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x10)" ( (binary_expression "lVar3 + 0x10" identifier + number_literal) )))) + identifier) ;) })) (if_statement "if ((*(byte *)(lVar3 + 0xb) & 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/object.h",0x6ab,"value");\n  }" if (parenthesized_expression "((*(byte *)(lVar3 + 0xb) & 8) == 0)" ( (binary_expression "(*(byte *)(lVar3 + 0xb) & 8) == 0" (parenthesized_expression "(*(byte *)(lVar3 + 0xb) & 8)" ( (binary_expression "*(byte *)(lVar3 + 0xb) & 8" (pointer_expression "*(byte *)(lVar3 + 0xb)" * (cast_expression "(byte *)(lVar3 + 0xb)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0xb)" ( (binary_expression "lVar3 + 0xb" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/object.h",0x6ab,"value");\n  }" { comment (expression_statement "FUN_0017c650("../../gold/object.h",0x6ab,"value");" (call_expression "FUN_0017c650("../../gold/object.h",0x6ab,"value")" identifier (argument_list "("../../gold/object.h",0x6ab,"value")" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""value"" " string_content ") ))) ;) })) (expression_statement "puVar1 = *(ulong **)(lVar3 + 0x10);" (assignment_expression "puVar1 = *(ulong **)(lVar3 + 0x10)" identifier = (pointer_expression "*(ulong **)(lVar3 + 0x10)" * (cast_expression "(ulong **)(lVar3 + 0x10)" ( (type_descriptor "ulong **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar3 + 0x10)" ( (binary_expression "lVar3 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "uVar4 = *puVar1;" (assignment_expression "uVar4 = *puVar1" identifier = (pointer_expression "*puVar1" * identifier)) ;) (if_statement "if (param_3 < 0xffffff00) {\n    uVar4 = uVar4 + param_3;\n    param_3 = 0;\n  }" if (parenthesized_expression "(param_3 < 0xffffff00)" ( (binary_expression "param_3 < 0xffffff00" identifier < number_literal) )) (compound_statement "{\n    uVar4 = uVar4 + param_3;\n    param_3 = 0;\n  }" { (expression_statement "uVar4 = uVar4 + param_3;" (assignment_expression "uVar4 = uVar4 + param_3" identifier = (binary_expression "uVar4 + param_3" identifier + identifier)) ;) (expression_statement "param_3 = 0;" (assignment_expression "param_3 = 0" identifier = number_literal) ;) })) (expression_statement "uVar5 = uVar4 % puVar1[3];" (assignment_expression "uVar5 = uVar4 % puVar1[3]" identifier = (binary_expression "uVar4 % puVar1[3]" identifier % (subscript_expression "puVar1[3]" identifier [ number_literal ]))) ;) (expression_statement "plVar8 = *(long **)(puVar1[2] + uVar5 * 8);" (assignment_expression "plVar8 = *(long **)(puVar1[2] + uVar5 * 8)" identifier = (pointer_expression "*(long **)(puVar1[2] + uVar5 * 8)" * (cast_expression "(long **)(puVar1[2] + uVar5 * 8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar1[2] + uVar5 * 8)" ( (binary_expression "puVar1[2] + uVar5 * 8" (subscript_expression "puVar1[2]" identifier [ number_literal ]) + (binary_expression "uVar5 * 8" identifier * number_literal)) ))))) ;) (if_statement "if (plVar8 != (long *)0x0) {\n    uVar6 = ((long *)*plVar8)[1];\n    plVar2 = (long *)*plVar8;\n    while (plVar7 = plVar2, uVar6 != uVar4) {\n      plVar2 = (long *)*plVar7;\n      if ((plVar2 == (long *)0x0) ||\n         (uVar6 = plVar2[1], plVar8 = plVar7, uVar5 != uVar6 % puVar1[3])) goto LAB_001bf850;\n    }\n    if (*plVar8 != 0) {\n      return param_3 + *(long *)(*plVar8 + 0x10);\n    }\n  }" if (parenthesized_expression "(plVar8 != (long *)0x0)" ( (binary_expression "plVar8 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar6 = ((long *)*plVar8)[1];\n    plVar2 = (long *)*plVar8;\n    while (plVar7 = plVar2, uVar6 != uVar4) {\n      plVar2 = (long *)*plVar7;\n      if ((plVar2 == (long *)0x0) ||\n         (uVar6 = plVar2[1], plVar8 = plVar7, uVar5 != uVar6 % puVar1[3])) goto LAB_001bf850;\n    }\n    if (*plVar8 != 0) {\n      return param_3 + *(long *)(*plVar8 + 0x10);\n    }\n  }" { (expression_statement "uVar6 = ((long *)*plVar8)[1];" (assignment_expression "uVar6 = ((long *)*plVar8)[1]" identifier = (subscript_expression "((long *)*plVar8)[1]" (parenthesized_expression "((long *)*plVar8)" ( (cast_expression "(long *)*plVar8" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar8" * identifier)) )) [ number_literal ])) ;) (expression_statement "plVar2 = (long *)*plVar8;" (assignment_expression "plVar2 = (long *)*plVar8" identifier = (cast_expression "(long *)*plVar8" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar8" * identifier))) ;) (while_statement "while (plVar7 = plVar2, uVar6 != uVar4) {\n      plVar2 = (long *)*plVar7;\n      if ((plVar2 == (long *)0x0) ||\n         (uVar6 = plVar2[1], plVar8 = plVar7, uVar5 != uVar6 % puVar1[3])) goto LAB_001bf850;\n    }" while (parenthesized_expression "(plVar7 = plVar2, uVar6 != uVar4)" ( (comma_expression "plVar7 = plVar2, uVar6 != uVar4" (assignment_expression "plVar7 = plVar2" identifier = identifier) , (binary_expression "uVar6 != uVar4" identifier != identifier)) )) (compound_statement "{\n      plVar2 = (long *)*plVar7;\n      if ((plVar2 == (long *)0x0) ||\n         (uVar6 = plVar2[1], plVar8 = plVar7, uVar5 != uVar6 % puVar1[3])) goto LAB_001bf850;\n    }" { (expression_statement "plVar2 = (long *)*plVar7;" (assignment_expression "plVar2 = (long *)*plVar7" identifier = (cast_expression "(long *)*plVar7" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar7" * identifier))) ;) (if_statement "if ((plVar2 == (long *)0x0) ||\n         (uVar6 = plVar2[1], plVar8 = plVar7, uVar5 != uVar6 % puVar1[3])) goto LAB_001bf850;" if (parenthesized_expression "((plVar2 == (long *)0x0) ||\n         (uVar6 = plVar2[1], plVar8 = plVar7, uVar5 != uVar6 % puVar1[3]))" ( (binary_expression "(plVar2 == (long *)0x0) ||\n         (uVar6 = plVar2[1], plVar8 = plVar7, uVar5 != uVar6 % puVar1[3])" (parenthesized_expression "(plVar2 == (long *)0x0)" ( (binary_expression "plVar2 == (long *)0x0" identifier == (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(uVar6 = plVar2[1], plVar8 = plVar7, uVar5 != uVar6 % puVar1[3])" ( (comma_expression "uVar6 = plVar2[1], plVar8 = plVar7, uVar5 != uVar6 % puVar1[3]" (assignment_expression "uVar6 = plVar2[1]" identifier = (subscript_expression "plVar2[1]" identifier [ number_literal ])) , (comma_expression "plVar8 = plVar7, uVar5 != uVar6 % puVar1[3]" (assignment_expression "plVar8 = plVar7" identifier = identifier) , (binary_expression "uVar5 != uVar6 % puVar1[3]" identifier != (binary_expression "uVar6 % puVar1[3]" identifier % (subscript_expression "puVar1[3]" identifier [ number_literal ]))))) ))) )) (goto_statement "goto LAB_001bf850;" goto statement_identifier ;)) })) (if_statement "if (*plVar8 != 0) {\n      return param_3 + *(long *)(*plVar8 + 0x10);\n    }" if (parenthesized_expression "(*plVar8 != 0)" ( (binary_expression "*plVar8 != 0" (pointer_expression "*plVar8" * identifier) != number_literal) )) (compound_statement "{\n      return param_3 + *(long *)(*plVar8 + 0x10);\n    }" { (return_statement "return param_3 + *(long *)(*plVar8 + 0x10);" return (binary_expression "param_3 + *(long *)(*plVar8 + 0x10)" identifier + (pointer_expression "*(long *)(*plVar8 + 0x10)" * (cast_expression "(long *)(*plVar8 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*plVar8 + 0x10)" ( (binary_expression "*plVar8 + 0x10" (pointer_expression "*plVar8" * identifier) + number_literal) ))))) ;) })) })) (labeled_statement "LAB_001bf850:\n  lVar3 = FUN_002449e0(puVar1,param_1,*(uint *)(lVar3 + 8) & 0x7ffffff);" statement_identifier : (expression_statement "lVar3 = FUN_002449e0(puVar1,param_1,*(uint *)(lVar3 + 8) & 0x7ffffff);" (assignment_expression "lVar3 = FUN_002449e0(puVar1,param_1,*(uint *)(lVar3 + 8) & 0x7ffffff)" identifier = (call_expression "FUN_002449e0(puVar1,param_1,*(uint *)(lVar3 + 8) & 0x7ffffff)" identifier (argument_list "(puVar1,param_1,*(uint *)(lVar3 + 8) & 0x7ffffff)" ( identifier , identifier , (binary_expression "*(uint *)(lVar3 + 8) & 0x7ffffff" (pointer_expression "*(uint *)(lVar3 + 8)" * (cast_expression "(uint *)(lVar3 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 8)" ( (binary_expression "lVar3 + 8" identifier + number_literal) )))) & number_literal) )))) ;)) (return_statement "return lVar3 + param_3;" return (binary_expression "lVar3 + param_3" identifier + identifier) ;) })))
(translation_unit "/* DWARF original prototype: uint64_t do_local_symbol_value(Sized_relobj_file<64,_true> * this, uint\n   symndx, uint64_t addend) */\n\nuint64_t __thiscall\ngold::Sized_relobj_file<64,_true>::do_local_symbol_value\n          (Sized_relobj_file<64,_true> *this,uint symndx,uint64_t addend)\n\n{\n  pointer pSVar1;\n  Merged_symbol_value<64> *this_00;\n  ulong uVar2;\n  _Hash_node_base *p_Var3;\n  Elf_Addr EVar4;\n  _Hash_node_base *input_offset;\n  ulong uVar5;\n  ulong uVar6;\n  _Hash_node_base *p_Var7;\n  __bucket_type p_Var8;\n  __bucket_type p_Var9;\n  \n  uVar6 = (ulong)symndx;\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  if ((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) <= uVar6) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/object.h",0x8c1,"local_symbol");\n  }\n  if ((char)pSVar1[uVar6].field_0xb < '\0') {\n    return (long)&(pSVar1[uVar6].u_.merged_symbol_value)->input_value_ + addend;\n  }\n  if ((pSVar1[uVar6].field_0xb & 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/object.h",0x6ab,"value");\n  }\n  this_00 = pSVar1[uVar6].u_.merged_symbol_value;\n  input_offset = (_Hash_node_base *)this_00->input_value_;\n  if (addend < 0xffffff00) {\n    input_offset = (_Hash_node_base *)((long)&input_offset->_M_nxt + addend);\n    addend = 0;\n  }\n  uVar2 = (this_00->output_addresses_)._M_h._M_bucket_count;\n  uVar5 = (ulong)input_offset % uVar2;\n  p_Var9 = (this_00->output_addresses_)._M_h._M_buckets[uVar5];\n  if (p_Var9 != (__bucket_type)0x0) {\n    p_Var7 = p_Var9->_M_nxt[1]._M_nxt;\n    p_Var3 = p_Var9->_M_nxt;\n    while (p_Var8 = p_Var3, p_Var7 != input_offset) {\n      p_Var3 = p_Var8->_M_nxt;\n      if ((p_Var3 == (_Hash_node_base *)0x0) ||\n         (p_Var7 = p_Var3[1]._M_nxt, p_Var9 = p_Var8, uVar5 != (ulong)p_Var7 % uVar2))\n      goto LAB_001bf850;\n    }\n    if (p_Var9->_M_nxt != (_Hash_node_base *)0x0) {\n      return (long)&(p_Var9->_M_nxt[2]._M_nxt)->_M_nxt + addend;\n    }\n  }\nLAB_001bf850:\n  EVar4 = Merged_symbol_value<64>::value_from_output_section\n                    (this_00,(Relobj *)this,*(uint *)&pSVar1[uVar6].field_0x8 & 0x7ffffff,\n                     (Elf_Addr)input_offset);\n  return EVar4 + addend;\n}\n\n" comment (declaration "uint64_t __thiscall\ngold::Sized_relobj_file<64,_true>::do_local_symbol_value\n          (Sized_relobj_file<64,_true> *this,uint symndx,uint64_t addend)\n\n{\n  pointer pSVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<64" < number_literal) , (ERROR "_true>::do_local_symbol_value\n          (Sized_relobj_file<64,_true> *this,uint symndx,uint64_t addend)\n\n{\n  pointer" identifier > : : (function_declarator "do_local_symbol_value\n          (Sized_relobj_file<64,_true> *this,uint symndx,uint64_t addend)" identifier (parameter_list "(Sized_relobj_file<64,_true> *this,uint symndx,uint64_t addend)" ( (parameter_declaration "Sized_relobj_file" type_identifier) (ERROR "<64" < number_literal) , (parameter_declaration "_true> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint symndx" type_identifier identifier) , (parameter_declaration "uint64_t addend" primitive_type identifier) ))) { identifier) identifier ;) (expression_statement "Merged_symbol_value<64> *this_00;" (update_expression "Merged_symbol_value<64> *this_00" (binary_expression "Merged_symbol_value<64> *this_00" (binary_expression "Merged_symbol_value<64" identifier < number_literal) > (pointer_expression "*this_00" * identifier)) --) ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "_Hash_node_base *p_Var3;" type_identifier (pointer_declarator "*p_Var3" * identifier) ;) (declaration "Elf_Addr EVar4;" type_identifier identifier ;) (declaration "_Hash_node_base *input_offset;" type_identifier (pointer_declarator "*input_offset" * identifier) ;) (declaration "ulong uVar5;" type_identifier identifier ;) (declaration "ulong uVar6;" type_identifier identifier ;) (declaration "_Hash_node_base *p_Var7;" type_identifier (pointer_declarator "*p_Var7" * identifier) ;) (declaration "__bucket_type p_Var8;" type_identifier identifier ;) (declaration "__bucket_type p_Var9;" type_identifier identifier ;) (expression_statement "uVar6 = (ulong)symndx;" (assignment_expression "uVar6 = (ulong)symndx" identifier = (cast_expression "(ulong)symndx" ( (type_descriptor "ulong" 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) ;) (if_statement "if ((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) <= uVar6) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/object.h",0x8c1,"local_symbol");\n  }" if (parenthesized_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) <= uVar6)" ( (binary_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) <= uVar6" (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) ))) <= identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/object.h",0x8c1,"local_symbol");\n  }" { comment (expression_statement "do_gold_unreachable("../../gold/object.h",0x8c1,"local_symbol");" (call_expression "do_gold_unreachable("../../gold/object.h",0x8c1,"local_symbol")" identifier (argument_list "("../../gold/object.h",0x8c1,"local_symbol")" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""local_symbol"" " string_content ") ))) ;) })) (if_statement "if ((char)pSVar1[uVar6].field_0xb < '\0') {\n    return (long)&(pSVar1[uVar6].u_.merged_symbol_value)->input_value_ + addend;\n  }" if (parenthesized_expression "((char)pSVar1[uVar6].field_0xb < '\0')" ( (binary_expression "(char)pSVar1[uVar6].field_0xb < '\0'" (cast_expression "(char)pSVar1[uVar6].field_0xb" ( (type_descriptor "char" primitive_type) ) (field_expression "pSVar1[uVar6].field_0xb" (subscript_expression "pSVar1[uVar6]" identifier [ identifier ]) . field_identifier)) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    return (long)&(pSVar1[uVar6].u_.merged_symbol_value)->input_value_ + addend;\n  }" { (return_statement "return (long)&(pSVar1[uVar6].u_.merged_symbol_value)->input_value_ + addend;" return (binary_expression "(long)&(pSVar1[uVar6].u_.merged_symbol_value)->input_value_ + addend" (cast_expression "(long)&(pSVar1[uVar6].u_.merged_symbol_value)->input_value_" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&(pSVar1[uVar6].u_.merged_symbol_value)->input_value_" & (field_expression "(pSVar1[uVar6].u_.merged_symbol_value)->input_value_" (parenthesized_expression "(pSVar1[uVar6].u_.merged_symbol_value)" ( (field_expression "pSVar1[uVar6].u_.merged_symbol_value" (field_expression "pSVar1[uVar6].u_" (subscript_expression "pSVar1[uVar6]" identifier [ identifier ]) . field_identifier) . field_identifier) )) -> field_identifier))) + identifier) ;) })) (if_statement "if ((pSVar1[uVar6].field_0xb & 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/object.h",0x6ab,"value");\n  }" if (parenthesized_expression "((pSVar1[uVar6].field_0xb & 8) == 0)" ( (binary_expression "(pSVar1[uVar6].field_0xb & 8) == 0" (parenthesized_expression "(pSVar1[uVar6].field_0xb & 8)" ( (binary_expression "pSVar1[uVar6].field_0xb & 8" (field_expression "pSVar1[uVar6].field_0xb" (subscript_expression "pSVar1[uVar6]" identifier [ identifier ]) . field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/object.h",0x6ab,"value");\n  }" { comment (expression_statement "do_gold_unreachable("../../gold/object.h",0x6ab,"value");" (call_expression "do_gold_unreachable("../../gold/object.h",0x6ab,"value")" identifier (argument_list "("../../gold/object.h",0x6ab,"value")" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""value"" " string_content ") ))) ;) })) (expression_statement "this_00 = pSVar1[uVar6].u_.merged_symbol_value;" (assignment_expression "this_00 = pSVar1[uVar6].u_.merged_symbol_value" identifier = (field_expression "pSVar1[uVar6].u_.merged_symbol_value" (field_expression "pSVar1[uVar6].u_" (subscript_expression "pSVar1[uVar6]" identifier [ identifier ]) . field_identifier) . field_identifier)) ;) (expression_statement "input_offset = (_Hash_node_base *)this_00->input_value_;" (assignment_expression "input_offset = (_Hash_node_base *)this_00->input_value_" identifier = (cast_expression "(_Hash_node_base *)this_00->input_value_" ( (type_descriptor "_Hash_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "this_00->input_value_" identifier -> field_identifier))) ;) (if_statement "if (addend < 0xffffff00) {\n    input_offset = (_Hash_node_base *)((long)&input_offset->_M_nxt + addend);\n    addend = 0;\n  }" if (parenthesized_expression "(addend < 0xffffff00)" ( (binary_expression "addend < 0xffffff00" identifier < number_literal) )) (compound_statement "{\n    input_offset = (_Hash_node_base *)((long)&input_offset->_M_nxt + addend);\n    addend = 0;\n  }" { (expression_statement "input_offset = (_Hash_node_base *)((long)&input_offset->_M_nxt + addend);" (assignment_expression "input_offset = (_Hash_node_base *)((long)&input_offset->_M_nxt + addend)" identifier = (cast_expression "(_Hash_node_base *)((long)&input_offset->_M_nxt + addend)" ( (type_descriptor "_Hash_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)&input_offset->_M_nxt + addend)" ( (binary_expression "(long)&input_offset->_M_nxt + addend" (cast_expression "(long)&input_offset->_M_nxt" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&input_offset->_M_nxt" & (field_expression "input_offset->_M_nxt" identifier -> field_identifier))) + identifier) )))) ;) (expression_statement "addend = 0;" (assignment_expression "addend = 0" identifier = number_literal) ;) })) (expression_statement "uVar2 = (this_00->output_addresses_)._M_h._M_bucket_count;" (assignment_expression "uVar2 = (this_00->output_addresses_)._M_h._M_bucket_count" identifier = (field_expression "(this_00->output_addresses_)._M_h._M_bucket_count" (field_expression "(this_00->output_addresses_)._M_h" (parenthesized_expression "(this_00->output_addresses_)" ( (field_expression "this_00->output_addresses_" identifier -> field_identifier) )) . field_identifier) . field_identifier)) ;) (expression_statement "uVar5 = (ulong)input_offset % uVar2;" (assignment_expression "uVar5 = (ulong)input_offset % uVar2" identifier = (binary_expression "(ulong)input_offset % uVar2" (cast_expression "(ulong)input_offset" ( (type_descriptor "ulong" type_identifier) ) identifier) % identifier)) ;) (expression_statement "p_Var9 = (this_00->output_addresses_)._M_h._M_buckets[uVar5];" (assignment_expression "p_Var9 = (this_00->output_addresses_)._M_h._M_buckets[uVar5]" identifier = (subscript_expression "(this_00->output_addresses_)._M_h._M_buckets[uVar5]" (field_expression "(this_00->output_addresses_)._M_h._M_buckets" (field_expression "(this_00->output_addresses_)._M_h" (parenthesized_expression "(this_00->output_addresses_)" ( (field_expression "this_00->output_addresses_" identifier -> field_identifier) )) . field_identifier) . field_identifier) [ identifier ])) ;) (if_statement "if (p_Var9 != (__bucket_type)0x0) {\n    p_Var7 = p_Var9->_M_nxt[1]._M_nxt;\n    p_Var3 = p_Var9->_M_nxt;\n    while (p_Var8 = p_Var3, p_Var7 != input_offset) {\n      p_Var3 = p_Var8->_M_nxt;\n      if ((p_Var3 == (_Hash_node_base *)0x0) ||\n         (p_Var7 = p_Var3[1]._M_nxt, p_Var9 = p_Var8, uVar5 != (ulong)p_Var7 % uVar2))\n      goto LAB_001bf850;\n    }\n    if (p_Var9->_M_nxt != (_Hash_node_base *)0x0) {\n      return (long)&(p_Var9->_M_nxt[2]._M_nxt)->_M_nxt + addend;\n    }\n  }" if (parenthesized_expression "(p_Var9 != (__bucket_type)0x0)" ( (binary_expression "p_Var9 != (__bucket_type)0x0" identifier != (cast_expression "(__bucket_type)0x0" ( (type_descriptor "__bucket_type" type_identifier) ) number_literal)) )) (compound_statement "{\n    p_Var7 = p_Var9->_M_nxt[1]._M_nxt;\n    p_Var3 = p_Var9->_M_nxt;\n    while (p_Var8 = p_Var3, p_Var7 != input_offset) {\n      p_Var3 = p_Var8->_M_nxt;\n      if ((p_Var3 == (_Hash_node_base *)0x0) ||\n         (p_Var7 = p_Var3[1]._M_nxt, p_Var9 = p_Var8, uVar5 != (ulong)p_Var7 % uVar2))\n      goto LAB_001bf850;\n    }\n    if (p_Var9->_M_nxt != (_Hash_node_base *)0x0) {\n      return (long)&(p_Var9->_M_nxt[2]._M_nxt)->_M_nxt + addend;\n    }\n  }" { (expression_statement "p_Var7 = p_Var9->_M_nxt[1]._M_nxt;" (assignment_expression "p_Var7 = p_Var9->_M_nxt[1]._M_nxt" identifier = (field_expression "p_Var9->_M_nxt[1]._M_nxt" (subscript_expression "p_Var9->_M_nxt[1]" (field_expression "p_Var9->_M_nxt" identifier -> field_identifier) [ number_literal ]) . field_identifier)) ;) (expression_statement "p_Var3 = p_Var9->_M_nxt;" (assignment_expression "p_Var3 = p_Var9->_M_nxt" identifier = (field_expression "p_Var9->_M_nxt" identifier -> field_identifier)) ;) (while_statement "while (p_Var8 = p_Var3, p_Var7 != input_offset) {\n      p_Var3 = p_Var8->_M_nxt;\n      if ((p_Var3 == (_Hash_node_base *)0x0) ||\n         (p_Var7 = p_Var3[1]._M_nxt, p_Var9 = p_Var8, uVar5 != (ulong)p_Var7 % uVar2))\n      goto LAB_001bf850;\n    }" while (parenthesized_expression "(p_Var8 = p_Var3, p_Var7 != input_offset)" ( (comma_expression "p_Var8 = p_Var3, p_Var7 != input_offset" (assignment_expression "p_Var8 = p_Var3" identifier = identifier) , (binary_expression "p_Var7 != input_offset" identifier != identifier)) )) (compound_statement "{\n      p_Var3 = p_Var8->_M_nxt;\n      if ((p_Var3 == (_Hash_node_base *)0x0) ||\n         (p_Var7 = p_Var3[1]._M_nxt, p_Var9 = p_Var8, uVar5 != (ulong)p_Var7 % uVar2))\n      goto LAB_001bf850;\n    }" { (expression_statement "p_Var3 = p_Var8->_M_nxt;" (assignment_expression "p_Var3 = p_Var8->_M_nxt" identifier = (field_expression "p_Var8->_M_nxt" identifier -> field_identifier)) ;) (if_statement "if ((p_Var3 == (_Hash_node_base *)0x0) ||\n         (p_Var7 = p_Var3[1]._M_nxt, p_Var9 = p_Var8, uVar5 != (ulong)p_Var7 % uVar2))\n      goto LAB_001bf850;" if (parenthesized_expression "((p_Var3 == (_Hash_node_base *)0x0) ||\n         (p_Var7 = p_Var3[1]._M_nxt, p_Var9 = p_Var8, uVar5 != (ulong)p_Var7 % uVar2))" ( (binary_expression "(p_Var3 == (_Hash_node_base *)0x0) ||\n         (p_Var7 = p_Var3[1]._M_nxt, p_Var9 = p_Var8, uVar5 != (ulong)p_Var7 % uVar2)" (parenthesized_expression "(p_Var3 == (_Hash_node_base *)0x0)" ( (binary_expression "p_Var3 == (_Hash_node_base *)0x0" identifier == (cast_expression "(_Hash_node_base *)0x0" ( (type_descriptor "_Hash_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(p_Var7 = p_Var3[1]._M_nxt, p_Var9 = p_Var8, uVar5 != (ulong)p_Var7 % uVar2)" ( (comma_expression "p_Var7 = p_Var3[1]._M_nxt, p_Var9 = p_Var8, uVar5 != (ulong)p_Var7 % uVar2" (assignment_expression "p_Var7 = p_Var3[1]._M_nxt" identifier = (field_expression "p_Var3[1]._M_nxt" (subscript_expression "p_Var3[1]" identifier [ number_literal ]) . field_identifier)) , (comma_expression "p_Var9 = p_Var8, uVar5 != (ulong)p_Var7 % uVar2" (assignment_expression "p_Var9 = p_Var8" identifier = identifier) , (binary_expression "uVar5 != (ulong)p_Var7 % uVar2" identifier != (binary_expression "(ulong)p_Var7 % uVar2" (cast_expression "(ulong)p_Var7" ( (type_descriptor "ulong" type_identifier) ) identifier) % identifier)))) ))) )) (goto_statement "goto LAB_001bf850;" goto statement_identifier ;)) })) (if_statement "if (p_Var9->_M_nxt != (_Hash_node_base *)0x0) {\n      return (long)&(p_Var9->_M_nxt[2]._M_nxt)->_M_nxt + addend;\n    }" if (parenthesized_expression "(p_Var9->_M_nxt != (_Hash_node_base *)0x0)" ( (binary_expression "p_Var9->_M_nxt != (_Hash_node_base *)0x0" (field_expression "p_Var9->_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 (long)&(p_Var9->_M_nxt[2]._M_nxt)->_M_nxt + addend;\n    }" { (return_statement "return (long)&(p_Var9->_M_nxt[2]._M_nxt)->_M_nxt + addend;" return (binary_expression "(long)&(p_Var9->_M_nxt[2]._M_nxt)->_M_nxt + addend" (cast_expression "(long)&(p_Var9->_M_nxt[2]._M_nxt)->_M_nxt" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&(p_Var9->_M_nxt[2]._M_nxt)->_M_nxt" & (field_expression "(p_Var9->_M_nxt[2]._M_nxt)->_M_nxt" (parenthesized_expression "(p_Var9->_M_nxt[2]._M_nxt)" ( (field_expression "p_Var9->_M_nxt[2]._M_nxt" (subscript_expression "p_Var9->_M_nxt[2]" (field_expression "p_Var9->_M_nxt" identifier -> field_identifier) [ number_literal ]) . field_identifier) )) -> field_identifier))) + identifier) ;) })) })) (labeled_statement "LAB_001bf850:\n  EVar4 = Merged_symbol_value<64>::value_from_output_section\n                    (this_00,(Relobj *)this,*(uint *)&pSVar1[uVar6].field_0x8 & 0x7ffffff,\n                     (Elf_Addr)input_offset);" statement_identifier : (expression_statement "EVar4 = Merged_symbol_value<64>::value_from_output_section\n                    (this_00,(Relobj *)this,*(uint *)&pSVar1[uVar6].field_0x8 & 0x7ffffff,\n                     (Elf_Addr)input_offset);" (assignment_expression "EVar4 = Merged_symbol_value<64>::value_from_output_section\n                    (this_00,(Relobj *)this,*(uint *)&pSVar1[uVar6].field_0x8 & 0x7ffffff,\n                     (Elf_Addr)input_offset)" identifier = (binary_expression "Merged_symbol_value<64>::value_from_output_section\n                    (this_00,(Relobj *)this,*(uint *)&pSVar1[uVar6].field_0x8 & 0x7ffffff,\n                     (Elf_Addr)input_offset)" (binary_expression "Merged_symbol_value<64" identifier < number_literal) > (ERROR "::" : :) (call_expression "value_from_output_section\n                    (this_00,(Relobj *)this,*(uint *)&pSVar1[uVar6].field_0x8 & 0x7ffffff,\n                     (Elf_Addr)input_offset)" identifier (argument_list "(this_00,(Relobj *)this,*(uint *)&pSVar1[uVar6].field_0x8 & 0x7ffffff,\n                     (Elf_Addr)input_offset)" ( identifier , (cast_expression "(Relobj *)this" ( (type_descriptor "Relobj *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (binary_expression "*(uint *)&pSVar1[uVar6].field_0x8 & 0x7ffffff" (pointer_expression "*(uint *)&pSVar1[uVar6].field_0x8" * (cast_expression "(uint *)&pSVar1[uVar6].field_0x8" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pSVar1[uVar6].field_0x8" & (field_expression "pSVar1[uVar6].field_0x8" (subscript_expression "pSVar1[uVar6]" identifier [ identifier ]) . field_identifier)))) & number_literal) , (cast_expression "(Elf_Addr)input_offset" ( (type_descriptor "Elf_Addr" type_identifier) ) identifier) ))))) ;)) (return_statement "return EVar4 + addend;" return (binary_expression "EVar4 + addend" identifier + identifier) ;) (ERROR "}" }))
(translation_unit "long FUN_001bf760(long param_1,uint param_2,ulong param_3)\n\n{\n  ulong *puVar1;\n  long *plVar2;\n  long lVar3;\n  ulong uVar4;\n  ulong uVar5;\n  ulong uVar6;\n  long *plVar7;\n  long *plVar8;\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",0x8c1,"local_symbol");\n  }\n  lVar3 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18;\n  if ((char)*(byte *)(lVar3 + 0xb) < '\0') {\n    return *(long *)(lVar3 + 0x10) + param_3;\n  }\n  if ((*(byte *)(lVar3 + 0xb) & 8) == 0) {\n                    \n    FUN_0017c650("../../gold/object.h",0x6ab,"value");\n  }\n  puVar1 = *(ulong **)(lVar3 + 0x10);\n  uVar4 = *puVar1;\n  if (param_3 < 0xffffff00) {\n    uVar4 = uVar4 + param_3;\n    param_3 = 0;\n  }\n  uVar5 = uVar4 % puVar1[3];\n  plVar8 = *(long **)(puVar1[2] + uVar5 * 8);\n  if (plVar8 != (long *)0x0) {\n    uVar6 = ((long *)*plVar8)[1];\n    plVar2 = (long *)*plVar8;\n    while (plVar7 = plVar2, uVar6 != uVar4) {\n      plVar2 = (long *)*plVar7;\n      if ((plVar2 == (long *)0x0) ||\n         (uVar6 = plVar2[1], plVar8 = plVar7, uVar5 != uVar6 % puVar1[3])) goto LAB_001bf850;\n    }\n    if (*plVar8 != 0) {\n      return param_3 + *(long *)(*plVar8 + 0x10);\n    }\n  }\nLAB_001bf850:\n  lVar3 = FUN_002449e0(puVar1,param_1,*(uint *)(lVar3 + 8) & 0x7ffffff);\n  return lVar3 + param_3;\n}\n\n" (function_definition "long FUN_001bf760(long param_1,uint param_2,ulong param_3)\n\n{\n  ulong *puVar1;\n  long *plVar2;\n  long lVar3;\n  ulong uVar4;\n  ulong uVar5;\n  ulong uVar6;\n  long *plVar7;\n  long *plVar8;\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",0x8c1,"local_symbol");\n  }\n  lVar3 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18;\n  if ((char)*(byte *)(lVar3 + 0xb) < '\0') {\n    return *(long *)(lVar3 + 0x10) + param_3;\n  }\n  if ((*(byte *)(lVar3 + 0xb) & 8) == 0) {\n                    \n    FUN_0017c650("../../gold/object.h",0x6ab,"value");\n  }\n  puVar1 = *(ulong **)(lVar3 + 0x10);\n  uVar4 = *puVar1;\n  if (param_3 < 0xffffff00) {\n    uVar4 = uVar4 + param_3;\n    param_3 = 0;\n  }\n  uVar5 = uVar4 % puVar1[3];\n  plVar8 = *(long **)(puVar1[2] + uVar5 * 8);\n  if (plVar8 != (long *)0x0) {\n    uVar6 = ((long *)*plVar8)[1];\n    plVar2 = (long *)*plVar8;\n    while (plVar7 = plVar2, uVar6 != uVar4) {\n      plVar2 = (long *)*plVar7;\n      if ((plVar2 == (long *)0x0) ||\n         (uVar6 = plVar2[1], plVar8 = plVar7, uVar5 != uVar6 % puVar1[3])) goto LAB_001bf850;\n    }\n    if (*plVar8 != 0) {\n      return param_3 + *(long *)(*plVar8 + 0x10);\n    }\n  }\nLAB_001bf850:\n  lVar3 = FUN_002449e0(puVar1,param_1,*(uint *)(lVar3 + 8) & 0x7ffffff);\n  return lVar3 + param_3;\n}" (sized_type_specifier "long" long) (function_declarator "FUN_001bf760(long param_1,uint param_2,ulong param_3)" identifier (parameter_list "(long param_1,uint param_2,ulong param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "ulong param_3" type_identifier identifier) ))) (compound_statement "{\n  ulong *puVar1;\n  long *plVar2;\n  long lVar3;\n  ulong uVar4;\n  ulong uVar5;\n  ulong uVar6;\n  long *plVar7;\n  long *plVar8;\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",0x8c1,"local_symbol");\n  }\n  lVar3 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18;\n  if ((char)*(byte *)(lVar3 + 0xb) < '\0') {\n    return *(long *)(lVar3 + 0x10) + param_3;\n  }\n  if ((*(byte *)(lVar3 + 0xb) & 8) == 0) {\n                    \n    FUN_0017c650("../../gold/object.h",0x6ab,"value");\n  }\n  puVar1 = *(ulong **)(lVar3 + 0x10);\n  uVar4 = *puVar1;\n  if (param_3 < 0xffffff00) {\n    uVar4 = uVar4 + param_3;\n    param_3 = 0;\n  }\n  uVar5 = uVar4 % puVar1[3];\n  plVar8 = *(long **)(puVar1[2] + uVar5 * 8);\n  if (plVar8 != (long *)0x0) {\n    uVar6 = ((long *)*plVar8)[1];\n    plVar2 = (long *)*plVar8;\n    while (plVar7 = plVar2, uVar6 != uVar4) {\n      plVar2 = (long *)*plVar7;\n      if ((plVar2 == (long *)0x0) ||\n         (uVar6 = plVar2[1], plVar8 = plVar7, uVar5 != uVar6 % puVar1[3])) goto LAB_001bf850;\n    }\n    if (*plVar8 != 0) {\n      return param_3 + *(long *)(*plVar8 + 0x10);\n    }\n  }\nLAB_001bf850:\n  lVar3 = FUN_002449e0(puVar1,param_1,*(uint *)(lVar3 + 8) & 0x7ffffff);\n  return lVar3 + param_3;\n}" { (declaration "ulong *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (declaration "ulong uVar5;" type_identifier identifier ;) (declaration "ulong uVar6;" type_identifier identifier ;) (declaration "long *plVar7;" (sized_type_specifier "long" long) (pointer_declarator "*plVar7" * identifier) ;) (declaration "long *plVar8;" (sized_type_specifier "long" long) (pointer_declarator "*plVar8" * identifier) ;) (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",0x8c1,"local_symbol");\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",0x8c1,"local_symbol");\n  }" { (expression_statement "FUN_0017c650("../../gold/object.h",0x8c1,"local_symbol");" (call_expression "FUN_0017c650("../../gold/object.h",0x8c1,"local_symbol")" identifier (argument_list "("../../gold/object.h",0x8c1,"local_symbol")" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""local_symbol"" " string_content ") ))) ;) })) (expression_statement "lVar3 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18;" (assignment_expression "lVar3 = *(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))) ;) (if_statement "if ((char)*(byte *)(lVar3 + 0xb) < '\0') {\n    return *(long *)(lVar3 + 0x10) + param_3;\n  }" if (parenthesized_expression "((char)*(byte *)(lVar3 + 0xb) < '\0')" ( (binary_expression "(char)*(byte *)(lVar3 + 0xb) < '\0'" (cast_expression "(char)*(byte *)(lVar3 + 0xb)" ( (type_descriptor "char" primitive_type) ) (pointer_expression "*(byte *)(lVar3 + 0xb)" * (cast_expression "(byte *)(lVar3 + 0xb)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0xb)" ( (binary_expression "lVar3 + 0xb" identifier + number_literal) ))))) < (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    return *(long *)(lVar3 + 0x10) + param_3;\n  }" { (return_statement "return *(long *)(lVar3 + 0x10) + param_3;" return (binary_expression "*(long *)(lVar3 + 0x10) + param_3" (pointer_expression "*(long *)(lVar3 + 0x10)" * (cast_expression "(long *)(lVar3 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x10)" ( (binary_expression "lVar3 + 0x10" identifier + number_literal) )))) + identifier) ;) })) (if_statement "if ((*(byte *)(lVar3 + 0xb) & 8) == 0) {\n                    \n    FUN_0017c650("../../gold/object.h",0x6ab,"value");\n  }" if (parenthesized_expression "((*(byte *)(lVar3 + 0xb) & 8) == 0)" ( (binary_expression "(*(byte *)(lVar3 + 0xb) & 8) == 0" (parenthesized_expression "(*(byte *)(lVar3 + 0xb) & 8)" ( (binary_expression "*(byte *)(lVar3 + 0xb) & 8" (pointer_expression "*(byte *)(lVar3 + 0xb)" * (cast_expression "(byte *)(lVar3 + 0xb)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0xb)" ( (binary_expression "lVar3 + 0xb" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n                    \n    FUN_0017c650("../../gold/object.h",0x6ab,"value");\n  }" { (expression_statement "FUN_0017c650("../../gold/object.h",0x6ab,"value");" (call_expression "FUN_0017c650("../../gold/object.h",0x6ab,"value")" identifier (argument_list "("../../gold/object.h",0x6ab,"value")" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""value"" " string_content ") ))) ;) })) (expression_statement "puVar1 = *(ulong **)(lVar3 + 0x10);" (assignment_expression "puVar1 = *(ulong **)(lVar3 + 0x10)" identifier = (pointer_expression "*(ulong **)(lVar3 + 0x10)" * (cast_expression "(ulong **)(lVar3 + 0x10)" ( (type_descriptor "ulong **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar3 + 0x10)" ( (binary_expression "lVar3 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "uVar4 = *puVar1;" (assignment_expression "uVar4 = *puVar1" identifier = (pointer_expression "*puVar1" * identifier)) ;) (if_statement "if (param_3 < 0xffffff00) {\n    uVar4 = uVar4 + param_3;\n    param_3 = 0;\n  }" if (parenthesized_expression "(param_3 < 0xffffff00)" ( (binary_expression "param_3 < 0xffffff00" identifier < number_literal) )) (compound_statement "{\n    uVar4 = uVar4 + param_3;\n    param_3 = 0;\n  }" { (expression_statement "uVar4 = uVar4 + param_3;" (assignment_expression "uVar4 = uVar4 + param_3" identifier = (binary_expression "uVar4 + param_3" identifier + identifier)) ;) (expression_statement "param_3 = 0;" (assignment_expression "param_3 = 0" identifier = number_literal) ;) })) (expression_statement "uVar5 = uVar4 % puVar1[3];" (assignment_expression "uVar5 = uVar4 % puVar1[3]" identifier = (binary_expression "uVar4 % puVar1[3]" identifier % (subscript_expression "puVar1[3]" identifier [ number_literal ]))) ;) (expression_statement "plVar8 = *(long **)(puVar1[2] + uVar5 * 8);" (assignment_expression "plVar8 = *(long **)(puVar1[2] + uVar5 * 8)" identifier = (pointer_expression "*(long **)(puVar1[2] + uVar5 * 8)" * (cast_expression "(long **)(puVar1[2] + uVar5 * 8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar1[2] + uVar5 * 8)" ( (binary_expression "puVar1[2] + uVar5 * 8" (subscript_expression "puVar1[2]" identifier [ number_literal ]) + (binary_expression "uVar5 * 8" identifier * number_literal)) ))))) ;) (if_statement "if (plVar8 != (long *)0x0) {\n    uVar6 = ((long *)*plVar8)[1];\n    plVar2 = (long *)*plVar8;\n    while (plVar7 = plVar2, uVar6 != uVar4) {\n      plVar2 = (long *)*plVar7;\n      if ((plVar2 == (long *)0x0) ||\n         (uVar6 = plVar2[1], plVar8 = plVar7, uVar5 != uVar6 % puVar1[3])) goto LAB_001bf850;\n    }\n    if (*plVar8 != 0) {\n      return param_3 + *(long *)(*plVar8 + 0x10);\n    }\n  }" if (parenthesized_expression "(plVar8 != (long *)0x0)" ( (binary_expression "plVar8 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar6 = ((long *)*plVar8)[1];\n    plVar2 = (long *)*plVar8;\n    while (plVar7 = plVar2, uVar6 != uVar4) {\n      plVar2 = (long *)*plVar7;\n      if ((plVar2 == (long *)0x0) ||\n         (uVar6 = plVar2[1], plVar8 = plVar7, uVar5 != uVar6 % puVar1[3])) goto LAB_001bf850;\n    }\n    if (*plVar8 != 0) {\n      return param_3 + *(long *)(*plVar8 + 0x10);\n    }\n  }" { (expression_statement "uVar6 = ((long *)*plVar8)[1];" (assignment_expression "uVar6 = ((long *)*plVar8)[1]" identifier = (subscript_expression "((long *)*plVar8)[1]" (parenthesized_expression "((long *)*plVar8)" ( (cast_expression "(long *)*plVar8" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar8" * identifier)) )) [ number_literal ])) ;) (expression_statement "plVar2 = (long *)*plVar8;" (assignment_expression "plVar2 = (long *)*plVar8" identifier = (cast_expression "(long *)*plVar8" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar8" * identifier))) ;) (while_statement "while (plVar7 = plVar2, uVar6 != uVar4) {\n      plVar2 = (long *)*plVar7;\n      if ((plVar2 == (long *)0x0) ||\n         (uVar6 = plVar2[1], plVar8 = plVar7, uVar5 != uVar6 % puVar1[3])) goto LAB_001bf850;\n    }" while (parenthesized_expression "(plVar7 = plVar2, uVar6 != uVar4)" ( (comma_expression "plVar7 = plVar2, uVar6 != uVar4" (assignment_expression "plVar7 = plVar2" identifier = identifier) , (binary_expression "uVar6 != uVar4" identifier != identifier)) )) (compound_statement "{\n      plVar2 = (long *)*plVar7;\n      if ((plVar2 == (long *)0x0) ||\n         (uVar6 = plVar2[1], plVar8 = plVar7, uVar5 != uVar6 % puVar1[3])) goto LAB_001bf850;\n    }" { (expression_statement "plVar2 = (long *)*plVar7;" (assignment_expression "plVar2 = (long *)*plVar7" identifier = (cast_expression "(long *)*plVar7" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar7" * identifier))) ;) (if_statement "if ((plVar2 == (long *)0x0) ||\n         (uVar6 = plVar2[1], plVar8 = plVar7, uVar5 != uVar6 % puVar1[3])) goto LAB_001bf850;" if (parenthesized_expression "((plVar2 == (long *)0x0) ||\n         (uVar6 = plVar2[1], plVar8 = plVar7, uVar5 != uVar6 % puVar1[3]))" ( (binary_expression "(plVar2 == (long *)0x0) ||\n         (uVar6 = plVar2[1], plVar8 = plVar7, uVar5 != uVar6 % puVar1[3])" (parenthesized_expression "(plVar2 == (long *)0x0)" ( (binary_expression "plVar2 == (long *)0x0" identifier == (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(uVar6 = plVar2[1], plVar8 = plVar7, uVar5 != uVar6 % puVar1[3])" ( (comma_expression "uVar6 = plVar2[1], plVar8 = plVar7, uVar5 != uVar6 % puVar1[3]" (assignment_expression "uVar6 = plVar2[1]" identifier = (subscript_expression "plVar2[1]" identifier [ number_literal ])) , (comma_expression "plVar8 = plVar7, uVar5 != uVar6 % puVar1[3]" (assignment_expression "plVar8 = plVar7" identifier = identifier) , (binary_expression "uVar5 != uVar6 % puVar1[3]" identifier != (binary_expression "uVar6 % puVar1[3]" identifier % (subscript_expression "puVar1[3]" identifier [ number_literal ]))))) ))) )) (goto_statement "goto LAB_001bf850;" goto statement_identifier ;)) })) (if_statement "if (*plVar8 != 0) {\n      return param_3 + *(long *)(*plVar8 + 0x10);\n    }" if (parenthesized_expression "(*plVar8 != 0)" ( (binary_expression "*plVar8 != 0" (pointer_expression "*plVar8" * identifier) != number_literal) )) (compound_statement "{\n      return param_3 + *(long *)(*plVar8 + 0x10);\n    }" { (return_statement "return param_3 + *(long *)(*plVar8 + 0x10);" return (binary_expression "param_3 + *(long *)(*plVar8 + 0x10)" identifier + (pointer_expression "*(long *)(*plVar8 + 0x10)" * (cast_expression "(long *)(*plVar8 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*plVar8 + 0x10)" ( (binary_expression "*plVar8 + 0x10" (pointer_expression "*plVar8" * identifier) + number_literal) ))))) ;) })) })) (labeled_statement "LAB_001bf850:\n  lVar3 = FUN_002449e0(puVar1,param_1,*(uint *)(lVar3 + 8) & 0x7ffffff);" statement_identifier : (expression_statement "lVar3 = FUN_002449e0(puVar1,param_1,*(uint *)(lVar3 + 8) & 0x7ffffff);" (assignment_expression "lVar3 = FUN_002449e0(puVar1,param_1,*(uint *)(lVar3 + 8) & 0x7ffffff)" identifier = (call_expression "FUN_002449e0(puVar1,param_1,*(uint *)(lVar3 + 8) & 0x7ffffff)" identifier (argument_list "(puVar1,param_1,*(uint *)(lVar3 + 8) & 0x7ffffff)" ( identifier , identifier , (binary_expression "*(uint *)(lVar3 + 8) & 0x7ffffff" (pointer_expression "*(uint *)(lVar3 + 8)" * (cast_expression "(uint *)(lVar3 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 8)" ( (binary_expression "lVar3 + 8" identifier + number_literal) )))) & number_literal) )))) ;)) (return_statement "return lVar3 + param_3;" return (binary_expression "lVar3 + param_3" identifier + identifier) ;) })))
(translation_unit (function_definition (sized_type_specifier long) (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (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 ") ))) ;) })) (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))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) < (char_literal ' escape_sequence ')) )) (compound_statement { (return_statement return (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT % (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + (binary_expression IDENT * LIT)) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) )) [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT != IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) , (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT != (binary_expression IDENT % (subscript_expression IDENT [ LIT ]))))) ))) )) (goto_statement goto statement_identifier ;)) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (return_statement return (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) ;) })) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )))) ;)) (return_statement return (binary_expression IDENT + IDENT) ;) })))
(function_definition "long FUN_001bf760(long param_1,uint param_2,ulong param_3)\n\n{\n  ulong *puVar1;\n  long *plVar2;\n  long lVar3;\n  ulong uVar4;\n  ulong uVar5;\n  ulong uVar6;\n  long *plVar7;\n  long *plVar8;\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",0x8c1,"local_symbol");\n  }\n  lVar3 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18;\n  if ((char)*(byte *)(lVar3 + 0xb) < '\0') {\n    return *(long *)(lVar3 + 0x10) + param_3;\n  }\n  if ((*(byte *)(lVar3 + 0xb) & 8) == 0) {\n                    \n    FUN_0017c650("../../gold/object.h",0x6ab,"value");\n  }\n  puVar1 = *(ulong **)(lVar3 + 0x10);\n  uVar4 = *puVar1;\n  if (param_3 < 0xffffff00) {\n    uVar4 = uVar4 + param_3;\n    param_3 = 0;\n  }\n  uVar5 = uVar4 % puVar1[3];\n  plVar8 = *(long **)(puVar1[2] + uVar5 * 8);\n  if (plVar8 != (long *)0x0) {\n    uVar6 = ((long *)*plVar8)[1];\n    plVar2 = (long *)*plVar8;\n    while (plVar7 = plVar2, uVar6 != uVar4) {\n      plVar2 = (long *)*plVar7;\n      if ((plVar2 == (long *)0x0) ||\n         (uVar6 = plVar2[1], plVar8 = plVar7, uVar5 != uVar6 % puVar1[3])) goto LAB_001bf850;\n    }\n    if (*plVar8 != 0) {\n      return param_3 + *(long *)(*plVar8 + 0x10);\n    }\n  }\nLAB_001bf850:\n  lVar3 = FUN_002449e0(puVar1,param_1,*(uint *)(lVar3 + 8) & 0x7ffffff);\n  return lVar3 + param_3;\n}" (sized_type_specifier "long" (long "long")) (function_declarator "FUN_001bf760(long param_1,uint param_2,ulong param_3)" (identifier "FUN_001bf760") (parameter_list "(long param_1,uint param_2,ulong 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 "ulong param_3" (type_identifier "ulong") (identifier "param_3")) () ")"))) (compound_statement "{\n  ulong *puVar1;\n  long *plVar2;\n  long lVar3;\n  ulong uVar4;\n  ulong uVar5;\n  ulong uVar6;\n  long *plVar7;\n  long *plVar8;\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",0x8c1,"local_symbol");\n  }\n  lVar3 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18;\n  if ((char)*(byte *)(lVar3 + 0xb) < '\0') {\n    return *(long *)(lVar3 + 0x10) + param_3;\n  }\n  if ((*(byte *)(lVar3 + 0xb) & 8) == 0) {\n                    \n    FUN_0017c650("../../gold/object.h",0x6ab,"value");\n  }\n  puVar1 = *(ulong **)(lVar3 + 0x10);\n  uVar4 = *puVar1;\n  if (param_3 < 0xffffff00) {\n    uVar4 = uVar4 + param_3;\n    param_3 = 0;\n  }\n  uVar5 = uVar4 % puVar1[3];\n  plVar8 = *(long **)(puVar1[2] + uVar5 * 8);\n  if (plVar8 != (long *)0x0) {\n    uVar6 = ((long *)*plVar8)[1];\n    plVar2 = (long *)*plVar8;\n    while (plVar7 = plVar2, uVar6 != uVar4) {\n      plVar2 = (long *)*plVar7;\n      if ((plVar2 == (long *)0x0) ||\n         (uVar6 = plVar2[1], plVar8 = plVar7, uVar5 != uVar6 % puVar1[3])) goto LAB_001bf850;\n    }\n    if (*plVar8 != 0) {\n      return param_3 + *(long *)(*plVar8 + 0x10);\n    }\n  }\nLAB_001bf850:\n  lVar3 = FUN_002449e0(puVar1,param_1,*(uint *)(lVar3 + 8) & 0x7ffffff);\n  return lVar3 + param_3;\n}" ({ "{") (declaration "ulong *puVar1;" (type_identifier "ulong") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "long *plVar2;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar2" (* "*") (identifier "plVar2")) (; ";")) (declaration "long lVar3;" (sized_type_specifier "long" (long "long")) (identifier "lVar3") (; ";")) (declaration "ulong uVar4;" (type_identifier "ulong") (identifier "uVar4") (; ";")) (declaration "ulong uVar5;" (type_identifier "ulong") (identifier "uVar5") (; ";")) (declaration "ulong uVar6;" (type_identifier "ulong") (identifier "uVar6") (; ";")) (declaration "long *plVar7;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar7" (* "*") (identifier "plVar7")) (; ";")) (declaration "long *plVar8;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar8" (* "*") (identifier "plVar8")) (; ";")) (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",0x8c1,"local_symbol");\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",0x8c1,"local_symbol");\n  }" ({ "{") (expression_statement "FUN_0017c650("../../gold/object.h",0x8c1,"local_symbol");" (call_expression "FUN_0017c650("../../gold/object.h",0x8c1,"local_symbol")" (identifier "FUN_0017c650") (argument_list "("../../gold/object.h",0x8c1,"local_symbol")" (( "(") (string_literal ""../../gold/object.h"" (" """) (string_content "../../gold/object.h") (" """)) (, ",") (number_literal "0x8c1") (, ",") (string_literal ""local_symbol"" (" """) (string_content "local_symbol") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "lVar3 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18;" (assignment_expression "lVar3 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18" (identifier "lVar3") (= "=") (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")))) (; ";")) (if_statement "if ((char)*(byte *)(lVar3 + 0xb) < '\0') {\n    return *(long *)(lVar3 + 0x10) + param_3;\n  }" (if "if") (parenthesized_expression "((char)*(byte *)(lVar3 + 0xb) < '\0')" (( "(") (binary_expression "(char)*(byte *)(lVar3 + 0xb) < '\0'" (cast_expression "(char)*(byte *)(lVar3 + 0xb)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (pointer_expression "*(byte *)(lVar3 + 0xb)" (* "*") (cast_expression "(byte *)(lVar3 + 0xb)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0xb)" (( "(") (binary_expression "lVar3 + 0xb" (identifier "lVar3") (+ "+") (number_literal "0xb")) () ")"))))) (< "<") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    return *(long *)(lVar3 + 0x10) + param_3;\n  }" ({ "{") (return_statement "return *(long *)(lVar3 + 0x10) + param_3;" (return "return") (binary_expression "*(long *)(lVar3 + 0x10) + param_3" (pointer_expression "*(long *)(lVar3 + 0x10)" (* "*") (cast_expression "(long *)(lVar3 + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x10)" (( "(") (binary_expression "lVar3 + 0x10" (identifier "lVar3") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (identifier "param_3")) (; ";")) (} "}"))) (if_statement "if ((*(byte *)(lVar3 + 0xb) & 8) == 0) {\n                    \n    FUN_0017c650("../../gold/object.h",0x6ab,"value");\n  }" (if "if") (parenthesized_expression "((*(byte *)(lVar3 + 0xb) & 8) == 0)" (( "(") (binary_expression "(*(byte *)(lVar3 + 0xb) & 8) == 0" (parenthesized_expression "(*(byte *)(lVar3 + 0xb) & 8)" (( "(") (binary_expression "*(byte *)(lVar3 + 0xb) & 8" (pointer_expression "*(byte *)(lVar3 + 0xb)" (* "*") (cast_expression "(byte *)(lVar3 + 0xb)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0xb)" (( "(") (binary_expression "lVar3 + 0xb" (identifier "lVar3") (+ "+") (number_literal "0xb")) () ")")))) (& "&") (number_literal "8")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    FUN_0017c650("../../gold/object.h",0x6ab,"value");\n  }" ({ "{") (expression_statement "FUN_0017c650("../../gold/object.h",0x6ab,"value");" (call_expression "FUN_0017c650("../../gold/object.h",0x6ab,"value")" (identifier "FUN_0017c650") (argument_list "("../../gold/object.h",0x6ab,"value")" (( "(") (string_literal ""../../gold/object.h"" (" """) (string_content "../../gold/object.h") (" """)) (, ",") (number_literal "0x6ab") (, ",") (string_literal ""value"" (" """) (string_content "value") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "puVar1 = *(ulong **)(lVar3 + 0x10);" (assignment_expression "puVar1 = *(ulong **)(lVar3 + 0x10)" (identifier "puVar1") (= "=") (pointer_expression "*(ulong **)(lVar3 + 0x10)" (* "*") (cast_expression "(ulong **)(lVar3 + 0x10)" (( "(") (type_descriptor "ulong **" (type_identifier "ulong") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(lVar3 + 0x10)" (( "(") (binary_expression "lVar3 + 0x10" (identifier "lVar3") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "uVar4 = *puVar1;" (assignment_expression "uVar4 = *puVar1" (identifier "uVar4") (= "=") (pointer_expression "*puVar1" (* "*") (identifier "puVar1"))) (; ";")) (if_statement "if (param_3 < 0xffffff00) {\n    uVar4 = uVar4 + param_3;\n    param_3 = 0;\n  }" (if "if") (parenthesized_expression "(param_3 < 0xffffff00)" (( "(") (binary_expression "param_3 < 0xffffff00" (identifier "param_3") (< "<") (number_literal "0xffffff00")) () ")")) (compound_statement "{\n    uVar4 = uVar4 + param_3;\n    param_3 = 0;\n  }" ({ "{") (expression_statement "uVar4 = uVar4 + param_3;" (assignment_expression "uVar4 = uVar4 + param_3" (identifier "uVar4") (= "=") (binary_expression "uVar4 + param_3" (identifier "uVar4") (+ "+") (identifier "param_3"))) (; ";")) (expression_statement "param_3 = 0;" (assignment_expression "param_3 = 0" (identifier "param_3") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "uVar5 = uVar4 % puVar1[3];" (assignment_expression "uVar5 = uVar4 % puVar1[3]" (identifier "uVar5") (= "=") (binary_expression "uVar4 % puVar1[3]" (identifier "uVar4") (% "%") (subscript_expression "puVar1[3]" (identifier "puVar1") ([ "[") (number_literal "3") (] "]")))) (; ";")) (expression_statement "plVar8 = *(long **)(puVar1[2] + uVar5 * 8);" (assignment_expression "plVar8 = *(long **)(puVar1[2] + uVar5 * 8)" (identifier "plVar8") (= "=") (pointer_expression "*(long **)(puVar1[2] + uVar5 * 8)" (* "*") (cast_expression "(long **)(puVar1[2] + uVar5 * 8)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar1[2] + uVar5 * 8)" (( "(") (binary_expression "puVar1[2] + uVar5 * 8" (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]")) (+ "+") (binary_expression "uVar5 * 8" (identifier "uVar5") (* "*") (number_literal "8"))) () ")"))))) (; ";")) (if_statement "if (plVar8 != (long *)0x0) {\n    uVar6 = ((long *)*plVar8)[1];\n    plVar2 = (long *)*plVar8;\n    while (plVar7 = plVar2, uVar6 != uVar4) {\n      plVar2 = (long *)*plVar7;\n      if ((plVar2 == (long *)0x0) ||\n         (uVar6 = plVar2[1], plVar8 = plVar7, uVar5 != uVar6 % puVar1[3])) goto LAB_001bf850;\n    }\n    if (*plVar8 != 0) {\n      return param_3 + *(long *)(*plVar8 + 0x10);\n    }\n  }" (if "if") (parenthesized_expression "(plVar8 != (long *)0x0)" (( "(") (binary_expression "plVar8 != (long *)0x0" (identifier "plVar8") (!= "!=") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    uVar6 = ((long *)*plVar8)[1];\n    plVar2 = (long *)*plVar8;\n    while (plVar7 = plVar2, uVar6 != uVar4) {\n      plVar2 = (long *)*plVar7;\n      if ((plVar2 == (long *)0x0) ||\n         (uVar6 = plVar2[1], plVar8 = plVar7, uVar5 != uVar6 % puVar1[3])) goto LAB_001bf850;\n    }\n    if (*plVar8 != 0) {\n      return param_3 + *(long *)(*plVar8 + 0x10);\n    }\n  }" ({ "{") (expression_statement "uVar6 = ((long *)*plVar8)[1];" (assignment_expression "uVar6 = ((long *)*plVar8)[1]" (identifier "uVar6") (= "=") (subscript_expression "((long *)*plVar8)[1]" (parenthesized_expression "((long *)*plVar8)" (( "(") (cast_expression "(long *)*plVar8" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*plVar8" (* "*") (identifier "plVar8"))) () ")")) ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "plVar2 = (long *)*plVar8;" (assignment_expression "plVar2 = (long *)*plVar8" (identifier "plVar2") (= "=") (cast_expression "(long *)*plVar8" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*plVar8" (* "*") (identifier "plVar8")))) (; ";")) (while_statement "while (plVar7 = plVar2, uVar6 != uVar4) {\n      plVar2 = (long *)*plVar7;\n      if ((plVar2 == (long *)0x0) ||\n         (uVar6 = plVar2[1], plVar8 = plVar7, uVar5 != uVar6 % puVar1[3])) goto LAB_001bf850;\n    }" (while "while") (parenthesized_expression "(plVar7 = plVar2, uVar6 != uVar4)" (( "(") (comma_expression "plVar7 = plVar2, uVar6 != uVar4" (assignment_expression "plVar7 = plVar2" (identifier "plVar7") (= "=") (identifier "plVar2")) (, ",") (binary_expression "uVar6 != uVar4" (identifier "uVar6") (!= "!=") (identifier "uVar4"))) () ")")) (compound_statement "{\n      plVar2 = (long *)*plVar7;\n      if ((plVar2 == (long *)0x0) ||\n         (uVar6 = plVar2[1], plVar8 = plVar7, uVar5 != uVar6 % puVar1[3])) goto LAB_001bf850;\n    }" ({ "{") (expression_statement "plVar2 = (long *)*plVar7;" (assignment_expression "plVar2 = (long *)*plVar7" (identifier "plVar2") (= "=") (cast_expression "(long *)*plVar7" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*plVar7" (* "*") (identifier "plVar7")))) (; ";")) (if_statement "if ((plVar2 == (long *)0x0) ||\n         (uVar6 = plVar2[1], plVar8 = plVar7, uVar5 != uVar6 % puVar1[3])) goto LAB_001bf850;" (if "if") (parenthesized_expression "((plVar2 == (long *)0x0) ||\n         (uVar6 = plVar2[1], plVar8 = plVar7, uVar5 != uVar6 % puVar1[3]))" (( "(") (binary_expression "(plVar2 == (long *)0x0) ||\n         (uVar6 = plVar2[1], plVar8 = plVar7, uVar5 != uVar6 % puVar1[3])" (parenthesized_expression "(plVar2 == (long *)0x0)" (( "(") (binary_expression "plVar2 == (long *)0x0" (identifier "plVar2") (== "==") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (|| "||") (parenthesized_expression "(uVar6 = plVar2[1], plVar8 = plVar7, uVar5 != uVar6 % puVar1[3])" (( "(") (comma_expression "uVar6 = plVar2[1], plVar8 = plVar7, uVar5 != uVar6 % puVar1[3]" (assignment_expression "uVar6 = plVar2[1]" (identifier "uVar6") (= "=") (subscript_expression "plVar2[1]" (identifier "plVar2") ([ "[") (number_literal "1") (] "]"))) (, ",") (comma_expression "plVar8 = plVar7, uVar5 != uVar6 % puVar1[3]" (assignment_expression "plVar8 = plVar7" (identifier "plVar8") (= "=") (identifier "plVar7")) (, ",") (binary_expression "uVar5 != uVar6 % puVar1[3]" (identifier "uVar5") (!= "!=") (binary_expression "uVar6 % puVar1[3]" (identifier "uVar6") (% "%") (subscript_expression "puVar1[3]" (identifier "puVar1") ([ "[") (number_literal "3") (] "]")))))) () ")"))) () ")")) (goto_statement "goto LAB_001bf850;" (goto "goto") (statement_identifier "LAB_001bf850") (; ";"))) (} "}"))) (if_statement "if (*plVar8 != 0) {\n      return param_3 + *(long *)(*plVar8 + 0x10);\n    }" (if "if") (parenthesized_expression "(*plVar8 != 0)" (( "(") (binary_expression "*plVar8 != 0" (pointer_expression "*plVar8" (* "*") (identifier "plVar8")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      return param_3 + *(long *)(*plVar8 + 0x10);\n    }" ({ "{") (return_statement "return param_3 + *(long *)(*plVar8 + 0x10);" (return "return") (binary_expression "param_3 + *(long *)(*plVar8 + 0x10)" (identifier "param_3") (+ "+") (pointer_expression "*(long *)(*plVar8 + 0x10)" (* "*") (cast_expression "(long *)(*plVar8 + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*plVar8 + 0x10)" (( "(") (binary_expression "*plVar8 + 0x10" (pointer_expression "*plVar8" (* "*") (identifier "plVar8")) (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (} "}"))) (} "}"))) (labeled_statement "LAB_001bf850:\n  lVar3 = FUN_002449e0(puVar1,param_1,*(uint *)(lVar3 + 8) & 0x7ffffff);" (statement_identifier "LAB_001bf850") (: ":") (expression_statement "lVar3 = FUN_002449e0(puVar1,param_1,*(uint *)(lVar3 + 8) & 0x7ffffff);" (assignment_expression "lVar3 = FUN_002449e0(puVar1,param_1,*(uint *)(lVar3 + 8) & 0x7ffffff)" (identifier "lVar3") (= "=") (call_expression "FUN_002449e0(puVar1,param_1,*(uint *)(lVar3 + 8) & 0x7ffffff)" (identifier "FUN_002449e0") (argument_list "(puVar1,param_1,*(uint *)(lVar3 + 8) & 0x7ffffff)" (( "(") (identifier "puVar1") (, ",") (identifier "param_1") (, ",") (binary_expression "*(uint *)(lVar3 + 8) & 0x7ffffff" (pointer_expression "*(uint *)(lVar3 + 8)" (* "*") (cast_expression "(uint *)(lVar3 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 8)" (( "(") (binary_expression "lVar3 + 8" (identifier "lVar3") (+ "+") (number_literal "8")) () ")")))) (& "&") (number_literal "0x7ffffff")) () ")")))) (; ";"))) (return_statement "return lVar3 + param_3;" (return "return") (binary_expression "lVar3 + param_3" (identifier "lVar3") (+ "+") (identifier "param_3")) (; ";")) (} "}")))

/* DWARF original prototype: uint64_t do_local_symbol_value(Sized_relobj_file<64,_true> * this, uint
   symndx, uint64_t addend) */

uint64_t __thiscall
var_2::Sized_relobj_file<64,_true>::do_local_symbol_value
          (Sized_relobj_file<64,_true> *this,type_6 symndx,uint64_t var_7)

{
  pointer pSVar1;
  var_1<64> *this_00;
  type_1 var_8;
  type_2 *var_12;
  type_3 var_15;
  type_2 *var_11;
  type_1 var_13;
  type_1 var_5;
  type_2 *var_10;
  type_4 p_Var8;
  type_4 var_9;
  
  var_5 = (type_1)symndx;
  pSVar1 = (this->local_values_).
           super__Vector_base<var_2::Symbol_value<64>,var_3::allocator<var_2::Symbol_value<64>var_4>var_4>.
           _M_impl._M_start;
  if ((type_1)(((long)(this->local_values_).
                     super__Vector_base<var_2::Symbol_value<64>,var_3::allocator<var_2::Symbol_value<64>var_4>var_4>
                     ._M_impl._M_finish - (long)pSVar1 >> 3) * -0x5555555555555555) <= var_5) {
                    /* WARNING: Subroutine does not return */
    var_6("../../gold/object.h",0x8c1,"local_symbol");
  }
  if ((char)pSVar1[var_5].field_0xb < '\0') {
    return (long)&(pSVar1[var_5].u_.merged_symbol_value)->input_value_ + var_7;
  }
  if ((pSVar1[var_5].field_0xb & 8) == 0) {
                    /* WARNING: Subroutine does not return */
    var_6("../../gold/object.h",0x6ab,"value");
  }
  this_00 = pSVar1[var_5].u_.merged_symbol_value;
  var_11 = (type_2 *)this_00->input_value_;
  if (var_7 < 0xffffff00) {
    var_11 = (type_2 *)((long)&var_11->_M_nxt + var_7);
    var_7 = 0;
  }
  var_8 = (this_00->output_addresses_)._M_h._M_bucket_count;
  var_13 = (type_1)var_11 % var_8;
  var_9 = (this_00->output_addresses_)._M_h._M_buckets[var_13];
  if (var_9 != (type_4)0x0) {
    var_10 = var_9->_M_nxt[1]._M_nxt;
    var_12 = var_9->_M_nxt;
    while (p_Var8 = var_12, var_10 != var_11) {
      var_12 = p_Var8->_M_nxt;
      if ((var_12 == (type_2 *)0x0) ||
         (var_10 = var_12[1]._M_nxt, var_9 = p_Var8, var_13 != (type_1)var_10 % var_8))
      goto LAB_001bf850;
    }
    if (var_9->_M_nxt != (type_2 *)0x0) {
      return (long)&(var_9->_M_nxt[2]._M_nxt)->_M_nxt + var_7;
    }
  }
LAB_001bf850:
  var_15 = var_1<64>::var_14
                    (this_00,(type_5 *)this,*(type_6 *)&pSVar1[var_5].field_0x8 & 0x7ffffff,
                     (type_3)var_11);
  return var_15 + var_7;
}


(translation_unit (function_definition type: (sized_type_specifier) 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: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (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))))))) (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))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (char_literal (escape_sequence)))) consequence: (compound_statement (return_statement (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: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (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))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (parenthesized_expression (cast_expression type: (type_descriptor type: (sized_type_specifier) 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: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (while_statement condition: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (identifier)))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))) right: (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))))))) consequence: (goto_statement label: (statement_identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (return_statement (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (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))))))) (return_statement (binary_expression left: (identifier) right: (identifier))))))

long MASKED(long param_1,uint param_2,ulong param_3)

{
  ulong *puVar1;
  long *plVar2;
  long lVar3;
  ulong uVar4;
  ulong uVar5;
  ulong uVar6;
  long *plVar7;
  long *plVar8;
  
  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",0x8c1,"local_symbol");
  }
  lVar3 = *(long *)(param_1 + 0x160) + (ulong)param_2 * 0x18;
  if ((char)*(byte *)(lVar3 + 0xb) < '\0') {
    return *(long *)(lVar3 + 0x10) + param_3;
  }
  if ((*(byte *)(lVar3 + 0xb) & 8) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_0017c650("../../gold/object.h",0x6ab,"value");
  }
  puVar1 = *(ulong **)(lVar3 + 0x10);
  uVar4 = *puVar1;
  if (param_3 < 0xffffff00) {
    uVar4 = uVar4 + param_3;
    param_3 = 0;
  }
  uVar5 = uVar4 % puVar1[3];
  plVar8 = *(long **)(puVar1[2] + uVar5 * 8);
  if (plVar8 != (long *)0x0) {
    uVar6 = ((long *)*plVar8)[1];
    plVar2 = (long *)*plVar8;
    while (plVar7 = plVar2, uVar6 != uVar4) {
      plVar2 = (long *)*plVar7;
      if ((plVar2 == (long *)0x0) ||
         (uVar6 = plVar2[1], plVar8 = plVar7, uVar5 != uVar6 % puVar1[3])) goto LAB_001bf850;
    }
    if (*plVar8 != 0) {
      return param_3 + *(long *)(*plVar8 + 0x10);
    }
  }
LAB_001bf850:
  lVar3 = FUN_002449e0(puVar1,param_1,*(uint *)(lVar3 + 8) & 0x7ffffff);
  return lVar3 + param_3;
}

