
/* DWARF original prototype: Dynobj * get_copy_source(Symbol_table * this, Symbol * sym) */

Dynobj * __thiscall gold::Symbol_table::get_copy_source(Symbol_table *this,Symbol *sym)

{
  ulong uVar1;
  _Hash_node_base *p_Var2;
  ulong uVar3;
  Symbol *pSVar4;
  __bucket_type p_Var5;
  __bucket_type p_Var6;
  
  if ((sym->field_0x3b & 8) == 0) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/symtab.cc",0x980,"get_copy_source");
  }
  uVar1 = (this->copied_symbol_dynobjs_)._M_h._M_bucket_count;
  uVar3 = (ulong)sym % uVar1;
  p_Var6 = (this->copied_symbol_dynobjs_)._M_h._M_buckets[uVar3];
  if (p_Var6 != (__bucket_type)0x0) {
    pSVar4 = (Symbol *)p_Var6->_M_nxt[1]._M_nxt;
    p_Var2 = p_Var6->_M_nxt;
    while (p_Var5 = p_Var2, pSVar4 != sym) {
      p_Var2 = p_Var5->_M_nxt;
      if ((p_Var2 == (_Hash_node_base *)0x0) ||
         (pSVar4 = (Symbol *)p_Var2[1]._M_nxt, p_Var6 = p_Var5, uVar3 != (ulong)pSVar4 % uVar1))
      goto LAB_002714f5;
    }
    if (p_Var6->_M_nxt != (_Hash_node_base *)0x0) {
      return (Dynobj *)p_Var6->_M_nxt[2]._M_nxt;
    }
  }
LAB_002714f5:
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/symtab.cc",0x983,"get_copy_source");
}



undefined8 FUN_00271470(long param_1,ulong param_2)

{
  long *plVar1;
  ulong uVar2;
  ulong uVar3;
  long *plVar4;
  long *plVar5;
  
  if ((*(byte *)(param_2 + 0x3b) & 8) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_0017c650("../../gold/symtab.cc",0x980,"get_copy_source");
  }
  uVar2 = param_2 % *(ulong *)(param_1 + 600);
  plVar5 = *(long **)(*(long *)(param_1 + 0x250) + uVar2 * 8);
  if (plVar5 != (long *)0x0) {
    uVar3 = ((long *)*plVar5)[1];
    plVar1 = (long *)*plVar5;
    while (plVar4 = plVar1, uVar3 != param_2) {
      plVar1 = (long *)*plVar4;
      if ((plVar1 == (long *)0x0) ||
         (uVar3 = plVar1[1], plVar5 = plVar4, uVar2 != uVar3 % *(ulong *)(param_1 + 600)))
      goto LAB_002714f5;
    }
    if (*plVar5 != 0) {
      return *(undefined8 *)(*plVar5 + 0x10);
    }
  }
LAB_002714f5:
                    /* WARNING: Subroutine does not return */
  FUN_0017c650("../../gold/symtab.cc",0x983,"get_copy_source");
}


SUB RSP,0x8
TEST byte ptr [RSI + 0x3b],0x8
JZ 0x002714dd
MOV RCX,qword ptr [RDI + 0x258]
MOV RAX,RSI
XOR EDX,EDX
DIV RCX
MOV RAX,qword ptr [RDI + 0x250]
MOV R9,qword ptr [RAX + RDX*0x8]
MOV R10,RDX
TEST R9,R9
JZ 0x002714f5
MOV R8,qword ptr [R9]
MOV RDI,qword ptr [R8 + 0x8]
JMP 0x002714c7
MOV RAX,qword ptr [R8]
TEST RAX,RAX
JZ 0x002714f5
MOV RDI,qword ptr [RAX + 0x8]
MOV R9,R8
XOR EDX,EDX
MOV R8,RAX
MOV RAX,RDI
DIV RCX
CMP R10,RDX
JNZ 0x002714f5
CMP RDI,RSI
JNZ 0x002714a8
MOV RAX,qword ptr [R9]
TEST RAX,RAX
JZ 0x002714f5
MOV RAX,qword ptr [RAX + 0x10]
ADD RSP,0x8
RET
LEA RDX,[0x3871f0]
MOV ESI,0x980
LEA RDI,[0x386771]
CALL 0x0017c650
LEA RDX,[0x3871f0]
MOV ESI,0x983
LEA RDI,[0x386771]
CALL 0x0017c650
(translation_unit "undefined8 FUN_00271470(long param_1,ulong param_2)\n\n{\n  long *plVar1;\n  ulong uVar2;\n  ulong uVar3;\n  long *plVar4;\n  long *plVar5;\n  \n  if ((*(byte *)(param_2 + 0x3b) & 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/symtab.cc",0x980,"get_copy_source");\n  }\n  uVar2 = param_2 % *(ulong *)(param_1 + 600);\n  plVar5 = *(long **)(*(long *)(param_1 + 0x250) + uVar2 * 8);\n  if (plVar5 != (long *)0x0) {\n    uVar3 = ((long *)*plVar5)[1];\n    plVar1 = (long *)*plVar5;\n    while (plVar4 = plVar1, uVar3 != param_2) {\n      plVar1 = (long *)*plVar4;\n      if ((plVar1 == (long *)0x0) ||\n         (uVar3 = plVar1[1], plVar5 = plVar4, uVar2 != uVar3 % *(ulong *)(param_1 + 600)))\n      goto LAB_002714f5;\n    }\n    if (*plVar5 != 0) {\n      return *(undefined8 *)(*plVar5 + 0x10);\n    }\n  }\nLAB_002714f5:\n                    /* WARNING: Subroutine does not return */\n  FUN_0017c650("../../gold/symtab.cc",0x983,"get_copy_source");\n}\n\n" (function_definition "undefined8 FUN_00271470(long param_1,ulong param_2)\n\n{\n  long *plVar1;\n  ulong uVar2;\n  ulong uVar3;\n  long *plVar4;\n  long *plVar5;\n  \n  if ((*(byte *)(param_2 + 0x3b) & 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/symtab.cc",0x980,"get_copy_source");\n  }\n  uVar2 = param_2 % *(ulong *)(param_1 + 600);\n  plVar5 = *(long **)(*(long *)(param_1 + 0x250) + uVar2 * 8);\n  if (plVar5 != (long *)0x0) {\n    uVar3 = ((long *)*plVar5)[1];\n    plVar1 = (long *)*plVar5;\n    while (plVar4 = plVar1, uVar3 != param_2) {\n      plVar1 = (long *)*plVar4;\n      if ((plVar1 == (long *)0x0) ||\n         (uVar3 = plVar1[1], plVar5 = plVar4, uVar2 != uVar3 % *(ulong *)(param_1 + 600)))\n      goto LAB_002714f5;\n    }\n    if (*plVar5 != 0) {\n      return *(undefined8 *)(*plVar5 + 0x10);\n    }\n  }\nLAB_002714f5:\n                    /* WARNING: Subroutine does not return */\n  FUN_0017c650("../../gold/symtab.cc",0x983,"get_copy_source");\n}" type_identifier (function_declarator "FUN_00271470(long param_1,ulong param_2)" identifier (parameter_list "(long param_1,ulong param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "ulong param_2" type_identifier identifier) ))) (compound_statement "{\n  long *plVar1;\n  ulong uVar2;\n  ulong uVar3;\n  long *plVar4;\n  long *plVar5;\n  \n  if ((*(byte *)(param_2 + 0x3b) & 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/symtab.cc",0x980,"get_copy_source");\n  }\n  uVar2 = param_2 % *(ulong *)(param_1 + 600);\n  plVar5 = *(long **)(*(long *)(param_1 + 0x250) + uVar2 * 8);\n  if (plVar5 != (long *)0x0) {\n    uVar3 = ((long *)*plVar5)[1];\n    plVar1 = (long *)*plVar5;\n    while (plVar4 = plVar1, uVar3 != param_2) {\n      plVar1 = (long *)*plVar4;\n      if ((plVar1 == (long *)0x0) ||\n         (uVar3 = plVar1[1], plVar5 = plVar4, uVar2 != uVar3 % *(ulong *)(param_1 + 600)))\n      goto LAB_002714f5;\n    }\n    if (*plVar5 != 0) {\n      return *(undefined8 *)(*plVar5 + 0x10);\n    }\n  }\nLAB_002714f5:\n                    /* WARNING: Subroutine does not return */\n  FUN_0017c650("../../gold/symtab.cc",0x983,"get_copy_source");\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "ulong uVar3;" type_identifier identifier ;) (declaration "long *plVar4;" (sized_type_specifier "long" long) (pointer_declarator "*plVar4" * identifier) ;) (declaration "long *plVar5;" (sized_type_specifier "long" long) (pointer_declarator "*plVar5" * identifier) ;) (if_statement "if ((*(byte *)(param_2 + 0x3b) & 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/symtab.cc",0x980,"get_copy_source");\n  }" if (parenthesized_expression "((*(byte *)(param_2 + 0x3b) & 8) == 0)" ( (binary_expression "(*(byte *)(param_2 + 0x3b) & 8) == 0" (parenthesized_expression "(*(byte *)(param_2 + 0x3b) & 8)" ( (binary_expression "*(byte *)(param_2 + 0x3b) & 8" (pointer_expression "*(byte *)(param_2 + 0x3b)" * (cast_expression "(byte *)(param_2 + 0x3b)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x3b)" ( (binary_expression "param_2 + 0x3b" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/symtab.cc",0x980,"get_copy_source");\n  }" { comment (expression_statement "FUN_0017c650("../../gold/symtab.cc",0x980,"get_copy_source");" (call_expression "FUN_0017c650("../../gold/symtab.cc",0x980,"get_copy_source")" identifier (argument_list "("../../gold/symtab.cc",0x980,"get_copy_source")" ( (string_literal ""../../gold/symtab.cc"" " string_content ") , number_literal , (string_literal ""get_copy_source"" " string_content ") ))) ;) })) (expression_statement "uVar2 = param_2 % *(ulong *)(param_1 + 600);" (assignment_expression "uVar2 = param_2 % *(ulong *)(param_1 + 600)" identifier = (binary_expression "param_2 % *(ulong *)(param_1 + 600)" identifier % (pointer_expression "*(ulong *)(param_1 + 600)" * (cast_expression "(ulong *)(param_1 + 600)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 600)" ( (binary_expression "param_1 + 600" identifier + number_literal) )))))) ;) (expression_statement "plVar5 = *(long **)(*(long *)(param_1 + 0x250) + uVar2 * 8);" (assignment_expression "plVar5 = *(long **)(*(long *)(param_1 + 0x250) + uVar2 * 8)" identifier = (pointer_expression "*(long **)(*(long *)(param_1 + 0x250) + uVar2 * 8)" * (cast_expression "(long **)(*(long *)(param_1 + 0x250) + uVar2 * 8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(param_1 + 0x250) + uVar2 * 8)" ( (binary_expression "*(long *)(param_1 + 0x250) + uVar2 * 8" (pointer_expression "*(long *)(param_1 + 0x250)" * (cast_expression "(long *)(param_1 + 0x250)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x250)" ( (binary_expression "param_1 + 0x250" identifier + number_literal) )))) + (binary_expression "uVar2 * 8" identifier * number_literal)) ))))) ;) (if_statement "if (plVar5 != (long *)0x0) {\n    uVar3 = ((long *)*plVar5)[1];\n    plVar1 = (long *)*plVar5;\n    while (plVar4 = plVar1, uVar3 != param_2) {\n      plVar1 = (long *)*plVar4;\n      if ((plVar1 == (long *)0x0) ||\n         (uVar3 = plVar1[1], plVar5 = plVar4, uVar2 != uVar3 % *(ulong *)(param_1 + 600)))\n      goto LAB_002714f5;\n    }\n    if (*plVar5 != 0) {\n      return *(undefined8 *)(*plVar5 + 0x10);\n    }\n  }" if (parenthesized_expression "(plVar5 != (long *)0x0)" ( (binary_expression "plVar5 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar3 = ((long *)*plVar5)[1];\n    plVar1 = (long *)*plVar5;\n    while (plVar4 = plVar1, uVar3 != param_2) {\n      plVar1 = (long *)*plVar4;\n      if ((plVar1 == (long *)0x0) ||\n         (uVar3 = plVar1[1], plVar5 = plVar4, uVar2 != uVar3 % *(ulong *)(param_1 + 600)))\n      goto LAB_002714f5;\n    }\n    if (*plVar5 != 0) {\n      return *(undefined8 *)(*plVar5 + 0x10);\n    }\n  }" { (expression_statement "uVar3 = ((long *)*plVar5)[1];" (assignment_expression "uVar3 = ((long *)*plVar5)[1]" identifier = (subscript_expression "((long *)*plVar5)[1]" (parenthesized_expression "((long *)*plVar5)" ( (cast_expression "(long *)*plVar5" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar5" * identifier)) )) [ number_literal ])) ;) (expression_statement "plVar1 = (long *)*plVar5;" (assignment_expression "plVar1 = (long *)*plVar5" identifier = (cast_expression "(long *)*plVar5" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar5" * identifier))) ;) (while_statement "while (plVar4 = plVar1, uVar3 != param_2) {\n      plVar1 = (long *)*plVar4;\n      if ((plVar1 == (long *)0x0) ||\n         (uVar3 = plVar1[1], plVar5 = plVar4, uVar2 != uVar3 % *(ulong *)(param_1 + 600)))\n      goto LAB_002714f5;\n    }" while (parenthesized_expression "(plVar4 = plVar1, uVar3 != param_2)" ( (comma_expression "plVar4 = plVar1, uVar3 != param_2" (assignment_expression "plVar4 = plVar1" identifier = identifier) , (binary_expression "uVar3 != param_2" identifier != identifier)) )) (compound_statement "{\n      plVar1 = (long *)*plVar4;\n      if ((plVar1 == (long *)0x0) ||\n         (uVar3 = plVar1[1], plVar5 = plVar4, uVar2 != uVar3 % *(ulong *)(param_1 + 600)))\n      goto LAB_002714f5;\n    }" { (expression_statement "plVar1 = (long *)*plVar4;" (assignment_expression "plVar1 = (long *)*plVar4" identifier = (cast_expression "(long *)*plVar4" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar4" * identifier))) ;) (if_statement "if ((plVar1 == (long *)0x0) ||\n         (uVar3 = plVar1[1], plVar5 = plVar4, uVar2 != uVar3 % *(ulong *)(param_1 + 600)))\n      goto LAB_002714f5;" if (parenthesized_expression "((plVar1 == (long *)0x0) ||\n         (uVar3 = plVar1[1], plVar5 = plVar4, uVar2 != uVar3 % *(ulong *)(param_1 + 600)))" ( (binary_expression "(plVar1 == (long *)0x0) ||\n         (uVar3 = plVar1[1], plVar5 = plVar4, uVar2 != uVar3 % *(ulong *)(param_1 + 600))" (parenthesized_expression "(plVar1 == (long *)0x0)" ( (binary_expression "plVar1 == (long *)0x0" identifier == (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(uVar3 = plVar1[1], plVar5 = plVar4, uVar2 != uVar3 % *(ulong *)(param_1 + 600))" ( (comma_expression "uVar3 = plVar1[1], plVar5 = plVar4, uVar2 != uVar3 % *(ulong *)(param_1 + 600)" (assignment_expression "uVar3 = plVar1[1]" identifier = (subscript_expression "plVar1[1]" identifier [ number_literal ])) , (comma_expression "plVar5 = plVar4, uVar2 != uVar3 % *(ulong *)(param_1 + 600)" (assignment_expression "plVar5 = plVar4" identifier = identifier) , (binary_expression "uVar2 != uVar3 % *(ulong *)(param_1 + 600)" identifier != (binary_expression "uVar3 % *(ulong *)(param_1 + 600)" identifier % (pointer_expression "*(ulong *)(param_1 + 600)" * (cast_expression "(ulong *)(param_1 + 600)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 600)" ( (binary_expression "param_1 + 600" identifier + number_literal) )))))))) ))) )) (goto_statement "goto LAB_002714f5;" goto statement_identifier ;)) })) (if_statement "if (*plVar5 != 0) {\n      return *(undefined8 *)(*plVar5 + 0x10);\n    }" if (parenthesized_expression "(*plVar5 != 0)" ( (binary_expression "*plVar5 != 0" (pointer_expression "*plVar5" * identifier) != number_literal) )) (compound_statement "{\n      return *(undefined8 *)(*plVar5 + 0x10);\n    }" { (return_statement "return *(undefined8 *)(*plVar5 + 0x10);" return (pointer_expression "*(undefined8 *)(*plVar5 + 0x10)" * (cast_expression "(undefined8 *)(*plVar5 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*plVar5 + 0x10)" ( (binary_expression "*plVar5 + 0x10" (pointer_expression "*plVar5" * identifier) + number_literal) )))) ;) })) })) (labeled_statement "LAB_002714f5:\n                    /* WARNING: Subroutine does not return */\n  FUN_0017c650("../../gold/symtab.cc",0x983,"get_copy_source");" statement_identifier : comment (expression_statement "FUN_0017c650("../../gold/symtab.cc",0x983,"get_copy_source");" (call_expression "FUN_0017c650("../../gold/symtab.cc",0x983,"get_copy_source")" identifier (argument_list "("../../gold/symtab.cc",0x983,"get_copy_source")" ( (string_literal ""../../gold/symtab.cc"" " string_content ") , number_literal , (string_literal ""get_copy_source"" " string_content ") ))) ;)) })))
(translation_unit "/* DWARF original prototype: Dynobj * get_copy_source(Symbol_table * this, Symbol * sym) */\n\nDynobj * __thiscall gold::Symbol_table::get_copy_source(Symbol_table *this,Symbol *sym)\n\n{\n  ulong uVar1;\n  _Hash_node_base *p_Var2;\n  ulong uVar3;\n  Symbol *pSVar4;\n  __bucket_type p_Var5;\n  __bucket_type p_Var6;\n  \n  if ((sym->field_0x3b & 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/symtab.cc",0x980,"get_copy_source");\n  }\n  uVar1 = (this->copied_symbol_dynobjs_)._M_h._M_bucket_count;\n  uVar3 = (ulong)sym % uVar1;\n  p_Var6 = (this->copied_symbol_dynobjs_)._M_h._M_buckets[uVar3];\n  if (p_Var6 != (__bucket_type)0x0) {\n    pSVar4 = (Symbol *)p_Var6->_M_nxt[1]._M_nxt;\n    p_Var2 = p_Var6->_M_nxt;\n    while (p_Var5 = p_Var2, pSVar4 != sym) {\n      p_Var2 = p_Var5->_M_nxt;\n      if ((p_Var2 == (_Hash_node_base *)0x0) ||\n         (pSVar4 = (Symbol *)p_Var2[1]._M_nxt, p_Var6 = p_Var5, uVar3 != (ulong)pSVar4 % uVar1))\n      goto LAB_002714f5;\n    }\n    if (p_Var6->_M_nxt != (_Hash_node_base *)0x0) {\n      return (Dynobj *)p_Var6->_M_nxt[2]._M_nxt;\n    }\n  }\nLAB_002714f5:\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/symtab.cc",0x983,"get_copy_source");\n}\n\n" comment (ERROR "Dynobj * __thiscall gold::Symbol_table::get_copy_source(Symbol_table *this,Symbol *sym)" (binary_expression "Dynobj * __thiscall gold::Symbol_table::get_copy_source(Symbol_table *this,Symbol *sym" (binary_expression "Dynobj * __thiscall gold::Symbol_table::get_copy_source(Symbol_table *this" (binary_expression "Dynobj * __thiscall" identifier * identifier) (ERROR "gold::Symbol_table::get_copy_source(Symbol_table" identifier : : identifier : : identifier ( identifier) * identifier) (ERROR ",Symbol" , identifier) * identifier) )) (compound_statement "{\n  ulong uVar1;\n  _Hash_node_base *p_Var2;\n  ulong uVar3;\n  Symbol *pSVar4;\n  __bucket_type p_Var5;\n  __bucket_type p_Var6;\n  \n  if ((sym->field_0x3b & 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/symtab.cc",0x980,"get_copy_source");\n  }\n  uVar1 = (this->copied_symbol_dynobjs_)._M_h._M_bucket_count;\n  uVar3 = (ulong)sym % uVar1;\n  p_Var6 = (this->copied_symbol_dynobjs_)._M_h._M_buckets[uVar3];\n  if (p_Var6 != (__bucket_type)0x0) {\n    pSVar4 = (Symbol *)p_Var6->_M_nxt[1]._M_nxt;\n    p_Var2 = p_Var6->_M_nxt;\n    while (p_Var5 = p_Var2, pSVar4 != sym) {\n      p_Var2 = p_Var5->_M_nxt;\n      if ((p_Var2 == (_Hash_node_base *)0x0) ||\n         (pSVar4 = (Symbol *)p_Var2[1]._M_nxt, p_Var6 = p_Var5, uVar3 != (ulong)pSVar4 % uVar1))\n      goto LAB_002714f5;\n    }\n    if (p_Var6->_M_nxt != (_Hash_node_base *)0x0) {\n      return (Dynobj *)p_Var6->_M_nxt[2]._M_nxt;\n    }\n  }\nLAB_002714f5:\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/symtab.cc",0x983,"get_copy_source");\n}" { (declaration "ulong uVar1;" type_identifier identifier ;) (declaration "_Hash_node_base *p_Var2;" type_identifier (pointer_declarator "*p_Var2" * identifier) ;) (declaration "ulong uVar3;" type_identifier identifier ;) (declaration "Symbol *pSVar4;" type_identifier (pointer_declarator "*pSVar4" * identifier) ;) (declaration "__bucket_type p_Var5;" type_identifier identifier ;) (declaration "__bucket_type p_Var6;" type_identifier identifier ;) (if_statement "if ((sym->field_0x3b & 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/symtab.cc",0x980,"get_copy_source");\n  }" if (parenthesized_expression "((sym->field_0x3b & 8) == 0)" ( (binary_expression "(sym->field_0x3b & 8) == 0" (parenthesized_expression "(sym->field_0x3b & 8)" ( (binary_expression "sym->field_0x3b & 8" (field_expression "sym->field_0x3b" identifier -> field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/symtab.cc",0x980,"get_copy_source");\n  }" { comment (expression_statement "do_gold_unreachable("../../gold/symtab.cc",0x980,"get_copy_source");" (call_expression "do_gold_unreachable("../../gold/symtab.cc",0x980,"get_copy_source")" identifier (argument_list "("../../gold/symtab.cc",0x980,"get_copy_source")" ( (string_literal ""../../gold/symtab.cc"" " string_content ") , number_literal , (string_literal ""get_copy_source"" " string_content ") ))) ;) })) (expression_statement "uVar1 = (this->copied_symbol_dynobjs_)._M_h._M_bucket_count;" (assignment_expression "uVar1 = (this->copied_symbol_dynobjs_)._M_h._M_bucket_count" identifier = (field_expression "(this->copied_symbol_dynobjs_)._M_h._M_bucket_count" (field_expression "(this->copied_symbol_dynobjs_)._M_h" (parenthesized_expression "(this->copied_symbol_dynobjs_)" ( (field_expression "this->copied_symbol_dynobjs_" identifier -> field_identifier) )) . field_identifier) . field_identifier)) ;) (expression_statement "uVar3 = (ulong)sym % uVar1;" (assignment_expression "uVar3 = (ulong)sym % uVar1" identifier = (binary_expression "(ulong)sym % uVar1" (cast_expression "(ulong)sym" ( (type_descriptor "ulong" type_identifier) ) identifier) % identifier)) ;) (expression_statement "p_Var6 = (this->copied_symbol_dynobjs_)._M_h._M_buckets[uVar3];" (assignment_expression "p_Var6 = (this->copied_symbol_dynobjs_)._M_h._M_buckets[uVar3]" identifier = (subscript_expression "(this->copied_symbol_dynobjs_)._M_h._M_buckets[uVar3]" (field_expression "(this->copied_symbol_dynobjs_)._M_h._M_buckets" (field_expression "(this->copied_symbol_dynobjs_)._M_h" (parenthesized_expression "(this->copied_symbol_dynobjs_)" ( (field_expression "this->copied_symbol_dynobjs_" identifier -> field_identifier) )) . field_identifier) . field_identifier) [ identifier ])) ;) (if_statement "if (p_Var6 != (__bucket_type)0x0) {\n    pSVar4 = (Symbol *)p_Var6->_M_nxt[1]._M_nxt;\n    p_Var2 = p_Var6->_M_nxt;\n    while (p_Var5 = p_Var2, pSVar4 != sym) {\n      p_Var2 = p_Var5->_M_nxt;\n      if ((p_Var2 == (_Hash_node_base *)0x0) ||\n         (pSVar4 = (Symbol *)p_Var2[1]._M_nxt, p_Var6 = p_Var5, uVar3 != (ulong)pSVar4 % uVar1))\n      goto LAB_002714f5;\n    }\n    if (p_Var6->_M_nxt != (_Hash_node_base *)0x0) {\n      return (Dynobj *)p_Var6->_M_nxt[2]._M_nxt;\n    }\n  }" if (parenthesized_expression "(p_Var6 != (__bucket_type)0x0)" ( (binary_expression "p_Var6 != (__bucket_type)0x0" identifier != (cast_expression "(__bucket_type)0x0" ( (type_descriptor "__bucket_type" type_identifier) ) number_literal)) )) (compound_statement "{\n    pSVar4 = (Symbol *)p_Var6->_M_nxt[1]._M_nxt;\n    p_Var2 = p_Var6->_M_nxt;\n    while (p_Var5 = p_Var2, pSVar4 != sym) {\n      p_Var2 = p_Var5->_M_nxt;\n      if ((p_Var2 == (_Hash_node_base *)0x0) ||\n         (pSVar4 = (Symbol *)p_Var2[1]._M_nxt, p_Var6 = p_Var5, uVar3 != (ulong)pSVar4 % uVar1))\n      goto LAB_002714f5;\n    }\n    if (p_Var6->_M_nxt != (_Hash_node_base *)0x0) {\n      return (Dynobj *)p_Var6->_M_nxt[2]._M_nxt;\n    }\n  }" { (expression_statement "pSVar4 = (Symbol *)p_Var6->_M_nxt[1]._M_nxt;" (assignment_expression "pSVar4 = (Symbol *)p_Var6->_M_nxt[1]._M_nxt" identifier = (cast_expression "(Symbol *)p_Var6->_M_nxt[1]._M_nxt" ( (type_descriptor "Symbol *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "p_Var6->_M_nxt[1]._M_nxt" (subscript_expression "p_Var6->_M_nxt[1]" (field_expression "p_Var6->_M_nxt" identifier -> field_identifier) [ number_literal ]) . field_identifier))) ;) (expression_statement "p_Var2 = p_Var6->_M_nxt;" (assignment_expression "p_Var2 = p_Var6->_M_nxt" identifier = (field_expression "p_Var6->_M_nxt" identifier -> field_identifier)) ;) (while_statement "while (p_Var5 = p_Var2, pSVar4 != sym) {\n      p_Var2 = p_Var5->_M_nxt;\n      if ((p_Var2 == (_Hash_node_base *)0x0) ||\n         (pSVar4 = (Symbol *)p_Var2[1]._M_nxt, p_Var6 = p_Var5, uVar3 != (ulong)pSVar4 % uVar1))\n      goto LAB_002714f5;\n    }" while (parenthesized_expression "(p_Var5 = p_Var2, pSVar4 != sym)" ( (comma_expression "p_Var5 = p_Var2, pSVar4 != sym" (assignment_expression "p_Var5 = p_Var2" identifier = identifier) , (binary_expression "pSVar4 != sym" identifier != identifier)) )) (compound_statement "{\n      p_Var2 = p_Var5->_M_nxt;\n      if ((p_Var2 == (_Hash_node_base *)0x0) ||\n         (pSVar4 = (Symbol *)p_Var2[1]._M_nxt, p_Var6 = p_Var5, uVar3 != (ulong)pSVar4 % uVar1))\n      goto LAB_002714f5;\n    }" { (expression_statement "p_Var2 = p_Var5->_M_nxt;" (assignment_expression "p_Var2 = p_Var5->_M_nxt" identifier = (field_expression "p_Var5->_M_nxt" identifier -> field_identifier)) ;) (if_statement "if ((p_Var2 == (_Hash_node_base *)0x0) ||\n         (pSVar4 = (Symbol *)p_Var2[1]._M_nxt, p_Var6 = p_Var5, uVar3 != (ulong)pSVar4 % uVar1))\n      goto LAB_002714f5;" if (parenthesized_expression "((p_Var2 == (_Hash_node_base *)0x0) ||\n         (pSVar4 = (Symbol *)p_Var2[1]._M_nxt, p_Var6 = p_Var5, uVar3 != (ulong)pSVar4 % uVar1))" ( (binary_expression "(p_Var2 == (_Hash_node_base *)0x0) ||\n         (pSVar4 = (Symbol *)p_Var2[1]._M_nxt, p_Var6 = p_Var5, uVar3 != (ulong)pSVar4 % uVar1)" (parenthesized_expression "(p_Var2 == (_Hash_node_base *)0x0)" ( (binary_expression "p_Var2 == (_Hash_node_base *)0x0" identifier == (cast_expression "(_Hash_node_base *)0x0" ( (type_descriptor "_Hash_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(pSVar4 = (Symbol *)p_Var2[1]._M_nxt, p_Var6 = p_Var5, uVar3 != (ulong)pSVar4 % uVar1)" ( (comma_expression "pSVar4 = (Symbol *)p_Var2[1]._M_nxt, p_Var6 = p_Var5, uVar3 != (ulong)pSVar4 % uVar1" (assignment_expression "pSVar4 = (Symbol *)p_Var2[1]._M_nxt" identifier = (cast_expression "(Symbol *)p_Var2[1]._M_nxt" ( (type_descriptor "Symbol *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "p_Var2[1]._M_nxt" (subscript_expression "p_Var2[1]" identifier [ number_literal ]) . field_identifier))) , (comma_expression "p_Var6 = p_Var5, uVar3 != (ulong)pSVar4 % uVar1" (assignment_expression "p_Var6 = p_Var5" identifier = identifier) , (binary_expression "uVar3 != (ulong)pSVar4 % uVar1" identifier != (binary_expression "(ulong)pSVar4 % uVar1" (cast_expression "(ulong)pSVar4" ( (type_descriptor "ulong" type_identifier) ) identifier) % identifier)))) ))) )) (goto_statement "goto LAB_002714f5;" goto statement_identifier ;)) })) (if_statement "if (p_Var6->_M_nxt != (_Hash_node_base *)0x0) {\n      return (Dynobj *)p_Var6->_M_nxt[2]._M_nxt;\n    }" if (parenthesized_expression "(p_Var6->_M_nxt != (_Hash_node_base *)0x0)" ( (binary_expression "p_Var6->_M_nxt != (_Hash_node_base *)0x0" (field_expression "p_Var6->_M_nxt" identifier -> field_identifier) != (cast_expression "(_Hash_node_base *)0x0" ( (type_descriptor "_Hash_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return (Dynobj *)p_Var6->_M_nxt[2]._M_nxt;\n    }" { (return_statement "return (Dynobj *)p_Var6->_M_nxt[2]._M_nxt;" return (cast_expression "(Dynobj *)p_Var6->_M_nxt[2]._M_nxt" ( (type_descriptor "Dynobj *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "p_Var6->_M_nxt[2]._M_nxt" (subscript_expression "p_Var6->_M_nxt[2]" (field_expression "p_Var6->_M_nxt" identifier -> field_identifier) [ number_literal ]) . field_identifier)) ;) })) })) (labeled_statement "LAB_002714f5:\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/symtab.cc",0x983,"get_copy_source");" statement_identifier : comment (expression_statement "do_gold_unreachable("../../gold/symtab.cc",0x983,"get_copy_source");" (call_expression "do_gold_unreachable("../../gold/symtab.cc",0x983,"get_copy_source")" identifier (argument_list "("../../gold/symtab.cc",0x983,"get_copy_source")" ( (string_literal ""../../gold/symtab.cc"" " string_content ") , number_literal , (string_literal ""get_copy_source"" " string_content ") ))) ;)) }))
(translation_unit "undefined8 FUN_00271470(long param_1,ulong param_2)\n\n{\n  long *plVar1;\n  ulong uVar2;\n  ulong uVar3;\n  long *plVar4;\n  long *plVar5;\n  \n  if ((*(byte *)(param_2 + 0x3b) & 8) == 0) {\n                    \n    FUN_0017c650("../../gold/symtab.cc",0x980,"get_copy_source");\n  }\n  uVar2 = param_2 % *(ulong *)(param_1 + 600);\n  plVar5 = *(long **)(*(long *)(param_1 + 0x250) + uVar2 * 8);\n  if (plVar5 != (long *)0x0) {\n    uVar3 = ((long *)*plVar5)[1];\n    plVar1 = (long *)*plVar5;\n    while (plVar4 = plVar1, uVar3 != param_2) {\n      plVar1 = (long *)*plVar4;\n      if ((plVar1 == (long *)0x0) ||\n         (uVar3 = plVar1[1], plVar5 = plVar4, uVar2 != uVar3 % *(ulong *)(param_1 + 600)))\n      goto LAB_002714f5;\n    }\n    if (*plVar5 != 0) {\n      return *(undefined8 *)(*plVar5 + 0x10);\n    }\n  }\nLAB_002714f5:\n                    \n  FUN_0017c650("../../gold/symtab.cc",0x983,"get_copy_source");\n}\n\n" (function_definition "undefined8 FUN_00271470(long param_1,ulong param_2)\n\n{\n  long *plVar1;\n  ulong uVar2;\n  ulong uVar3;\n  long *plVar4;\n  long *plVar5;\n  \n  if ((*(byte *)(param_2 + 0x3b) & 8) == 0) {\n                    \n    FUN_0017c650("../../gold/symtab.cc",0x980,"get_copy_source");\n  }\n  uVar2 = param_2 % *(ulong *)(param_1 + 600);\n  plVar5 = *(long **)(*(long *)(param_1 + 0x250) + uVar2 * 8);\n  if (plVar5 != (long *)0x0) {\n    uVar3 = ((long *)*plVar5)[1];\n    plVar1 = (long *)*plVar5;\n    while (plVar4 = plVar1, uVar3 != param_2) {\n      plVar1 = (long *)*plVar4;\n      if ((plVar1 == (long *)0x0) ||\n         (uVar3 = plVar1[1], plVar5 = plVar4, uVar2 != uVar3 % *(ulong *)(param_1 + 600)))\n      goto LAB_002714f5;\n    }\n    if (*plVar5 != 0) {\n      return *(undefined8 *)(*plVar5 + 0x10);\n    }\n  }\nLAB_002714f5:\n                    \n  FUN_0017c650("../../gold/symtab.cc",0x983,"get_copy_source");\n}" type_identifier (function_declarator "FUN_00271470(long param_1,ulong param_2)" identifier (parameter_list "(long param_1,ulong param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "ulong param_2" type_identifier identifier) ))) (compound_statement "{\n  long *plVar1;\n  ulong uVar2;\n  ulong uVar3;\n  long *plVar4;\n  long *plVar5;\n  \n  if ((*(byte *)(param_2 + 0x3b) & 8) == 0) {\n                    \n    FUN_0017c650("../../gold/symtab.cc",0x980,"get_copy_source");\n  }\n  uVar2 = param_2 % *(ulong *)(param_1 + 600);\n  plVar5 = *(long **)(*(long *)(param_1 + 0x250) + uVar2 * 8);\n  if (plVar5 != (long *)0x0) {\n    uVar3 = ((long *)*plVar5)[1];\n    plVar1 = (long *)*plVar5;\n    while (plVar4 = plVar1, uVar3 != param_2) {\n      plVar1 = (long *)*plVar4;\n      if ((plVar1 == (long *)0x0) ||\n         (uVar3 = plVar1[1], plVar5 = plVar4, uVar2 != uVar3 % *(ulong *)(param_1 + 600)))\n      goto LAB_002714f5;\n    }\n    if (*plVar5 != 0) {\n      return *(undefined8 *)(*plVar5 + 0x10);\n    }\n  }\nLAB_002714f5:\n                    \n  FUN_0017c650("../../gold/symtab.cc",0x983,"get_copy_source");\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "ulong uVar3;" type_identifier identifier ;) (declaration "long *plVar4;" (sized_type_specifier "long" long) (pointer_declarator "*plVar4" * identifier) ;) (declaration "long *plVar5;" (sized_type_specifier "long" long) (pointer_declarator "*plVar5" * identifier) ;) (if_statement "if ((*(byte *)(param_2 + 0x3b) & 8) == 0) {\n                    \n    FUN_0017c650("../../gold/symtab.cc",0x980,"get_copy_source");\n  }" if (parenthesized_expression "((*(byte *)(param_2 + 0x3b) & 8) == 0)" ( (binary_expression "(*(byte *)(param_2 + 0x3b) & 8) == 0" (parenthesized_expression "(*(byte *)(param_2 + 0x3b) & 8)" ( (binary_expression "*(byte *)(param_2 + 0x3b) & 8" (pointer_expression "*(byte *)(param_2 + 0x3b)" * (cast_expression "(byte *)(param_2 + 0x3b)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x3b)" ( (binary_expression "param_2 + 0x3b" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n                    \n    FUN_0017c650("../../gold/symtab.cc",0x980,"get_copy_source");\n  }" { (expression_statement "FUN_0017c650("../../gold/symtab.cc",0x980,"get_copy_source");" (call_expression "FUN_0017c650("../../gold/symtab.cc",0x980,"get_copy_source")" identifier (argument_list "("../../gold/symtab.cc",0x980,"get_copy_source")" ( (string_literal ""../../gold/symtab.cc"" " string_content ") , number_literal , (string_literal ""get_copy_source"" " string_content ") ))) ;) })) (expression_statement "uVar2 = param_2 % *(ulong *)(param_1 + 600);" (assignment_expression "uVar2 = param_2 % *(ulong *)(param_1 + 600)" identifier = (binary_expression "param_2 % *(ulong *)(param_1 + 600)" identifier % (pointer_expression "*(ulong *)(param_1 + 600)" * (cast_expression "(ulong *)(param_1 + 600)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 600)" ( (binary_expression "param_1 + 600" identifier + number_literal) )))))) ;) (expression_statement "plVar5 = *(long **)(*(long *)(param_1 + 0x250) + uVar2 * 8);" (assignment_expression "plVar5 = *(long **)(*(long *)(param_1 + 0x250) + uVar2 * 8)" identifier = (pointer_expression "*(long **)(*(long *)(param_1 + 0x250) + uVar2 * 8)" * (cast_expression "(long **)(*(long *)(param_1 + 0x250) + uVar2 * 8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(param_1 + 0x250) + uVar2 * 8)" ( (binary_expression "*(long *)(param_1 + 0x250) + uVar2 * 8" (pointer_expression "*(long *)(param_1 + 0x250)" * (cast_expression "(long *)(param_1 + 0x250)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x250)" ( (binary_expression "param_1 + 0x250" identifier + number_literal) )))) + (binary_expression "uVar2 * 8" identifier * number_literal)) ))))) ;) (if_statement "if (plVar5 != (long *)0x0) {\n    uVar3 = ((long *)*plVar5)[1];\n    plVar1 = (long *)*plVar5;\n    while (plVar4 = plVar1, uVar3 != param_2) {\n      plVar1 = (long *)*plVar4;\n      if ((plVar1 == (long *)0x0) ||\n         (uVar3 = plVar1[1], plVar5 = plVar4, uVar2 != uVar3 % *(ulong *)(param_1 + 600)))\n      goto LAB_002714f5;\n    }\n    if (*plVar5 != 0) {\n      return *(undefined8 *)(*plVar5 + 0x10);\n    }\n  }" if (parenthesized_expression "(plVar5 != (long *)0x0)" ( (binary_expression "plVar5 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar3 = ((long *)*plVar5)[1];\n    plVar1 = (long *)*plVar5;\n    while (plVar4 = plVar1, uVar3 != param_2) {\n      plVar1 = (long *)*plVar4;\n      if ((plVar1 == (long *)0x0) ||\n         (uVar3 = plVar1[1], plVar5 = plVar4, uVar2 != uVar3 % *(ulong *)(param_1 + 600)))\n      goto LAB_002714f5;\n    }\n    if (*plVar5 != 0) {\n      return *(undefined8 *)(*plVar5 + 0x10);\n    }\n  }" { (expression_statement "uVar3 = ((long *)*plVar5)[1];" (assignment_expression "uVar3 = ((long *)*plVar5)[1]" identifier = (subscript_expression "((long *)*plVar5)[1]" (parenthesized_expression "((long *)*plVar5)" ( (cast_expression "(long *)*plVar5" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar5" * identifier)) )) [ number_literal ])) ;) (expression_statement "plVar1 = (long *)*plVar5;" (assignment_expression "plVar1 = (long *)*plVar5" identifier = (cast_expression "(long *)*plVar5" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar5" * identifier))) ;) (while_statement "while (plVar4 = plVar1, uVar3 != param_2) {\n      plVar1 = (long *)*plVar4;\n      if ((plVar1 == (long *)0x0) ||\n         (uVar3 = plVar1[1], plVar5 = plVar4, uVar2 != uVar3 % *(ulong *)(param_1 + 600)))\n      goto LAB_002714f5;\n    }" while (parenthesized_expression "(plVar4 = plVar1, uVar3 != param_2)" ( (comma_expression "plVar4 = plVar1, uVar3 != param_2" (assignment_expression "plVar4 = plVar1" identifier = identifier) , (binary_expression "uVar3 != param_2" identifier != identifier)) )) (compound_statement "{\n      plVar1 = (long *)*plVar4;\n      if ((plVar1 == (long *)0x0) ||\n         (uVar3 = plVar1[1], plVar5 = plVar4, uVar2 != uVar3 % *(ulong *)(param_1 + 600)))\n      goto LAB_002714f5;\n    }" { (expression_statement "plVar1 = (long *)*plVar4;" (assignment_expression "plVar1 = (long *)*plVar4" identifier = (cast_expression "(long *)*plVar4" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*plVar4" * identifier))) ;) (if_statement "if ((plVar1 == (long *)0x0) ||\n         (uVar3 = plVar1[1], plVar5 = plVar4, uVar2 != uVar3 % *(ulong *)(param_1 + 600)))\n      goto LAB_002714f5;" if (parenthesized_expression "((plVar1 == (long *)0x0) ||\n         (uVar3 = plVar1[1], plVar5 = plVar4, uVar2 != uVar3 % *(ulong *)(param_1 + 600)))" ( (binary_expression "(plVar1 == (long *)0x0) ||\n         (uVar3 = plVar1[1], plVar5 = plVar4, uVar2 != uVar3 % *(ulong *)(param_1 + 600))" (parenthesized_expression "(plVar1 == (long *)0x0)" ( (binary_expression "plVar1 == (long *)0x0" identifier == (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(uVar3 = plVar1[1], plVar5 = plVar4, uVar2 != uVar3 % *(ulong *)(param_1 + 600))" ( (comma_expression "uVar3 = plVar1[1], plVar5 = plVar4, uVar2 != uVar3 % *(ulong *)(param_1 + 600)" (assignment_expression "uVar3 = plVar1[1]" identifier = (subscript_expression "plVar1[1]" identifier [ number_literal ])) , (comma_expression "plVar5 = plVar4, uVar2 != uVar3 % *(ulong *)(param_1 + 600)" (assignment_expression "plVar5 = plVar4" identifier = identifier) , (binary_expression "uVar2 != uVar3 % *(ulong *)(param_1 + 600)" identifier != (binary_expression "uVar3 % *(ulong *)(param_1 + 600)" identifier % (pointer_expression "*(ulong *)(param_1 + 600)" * (cast_expression "(ulong *)(param_1 + 600)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 600)" ( (binary_expression "param_1 + 600" identifier + number_literal) )))))))) ))) )) (goto_statement "goto LAB_002714f5;" goto statement_identifier ;)) })) (if_statement "if (*plVar5 != 0) {\n      return *(undefined8 *)(*plVar5 + 0x10);\n    }" if (parenthesized_expression "(*plVar5 != 0)" ( (binary_expression "*plVar5 != 0" (pointer_expression "*plVar5" * identifier) != number_literal) )) (compound_statement "{\n      return *(undefined8 *)(*plVar5 + 0x10);\n    }" { (return_statement "return *(undefined8 *)(*plVar5 + 0x10);" return (pointer_expression "*(undefined8 *)(*plVar5 + 0x10)" * (cast_expression "(undefined8 *)(*plVar5 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*plVar5 + 0x10)" ( (binary_expression "*plVar5 + 0x10" (pointer_expression "*plVar5" * identifier) + number_literal) )))) ;) })) })) (labeled_statement "LAB_002714f5:\n                    \n  FUN_0017c650("../../gold/symtab.cc",0x983,"get_copy_source");" statement_identifier : (expression_statement "FUN_0017c650("../../gold/symtab.cc",0x983,"get_copy_source");" (call_expression "FUN_0017c650("../../gold/symtab.cc",0x983,"get_copy_source")" identifier (argument_list "("../../gold/symtab.cc",0x983,"get_copy_source")" ( (string_literal ""../../gold/symtab.cc"" " string_content ") , number_literal , (string_literal ""get_copy_source"" " string_content ") ))) ;)) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration 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 (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 = (binary_expression IDENT % (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (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 % (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))))) ))) )) (goto_statement goto statement_identifier ;)) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) ;) })) })) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;)) })))
(function_definition "undefined8 FUN_00271470(long param_1,ulong param_2)\n\n{\n  long *plVar1;\n  ulong uVar2;\n  ulong uVar3;\n  long *plVar4;\n  long *plVar5;\n  \n  if ((*(byte *)(param_2 + 0x3b) & 8) == 0) {\n                    \n    FUN_0017c650("../../gold/symtab.cc",0x980,"get_copy_source");\n  }\n  uVar2 = param_2 % *(ulong *)(param_1 + 600);\n  plVar5 = *(long **)(*(long *)(param_1 + 0x250) + uVar2 * 8);\n  if (plVar5 != (long *)0x0) {\n    uVar3 = ((long *)*plVar5)[1];\n    plVar1 = (long *)*plVar5;\n    while (plVar4 = plVar1, uVar3 != param_2) {\n      plVar1 = (long *)*plVar4;\n      if ((plVar1 == (long *)0x0) ||\n         (uVar3 = plVar1[1], plVar5 = plVar4, uVar2 != uVar3 % *(ulong *)(param_1 + 600)))\n      goto LAB_002714f5;\n    }\n    if (*plVar5 != 0) {\n      return *(undefined8 *)(*plVar5 + 0x10);\n    }\n  }\nLAB_002714f5:\n                    \n  FUN_0017c650("../../gold/symtab.cc",0x983,"get_copy_source");\n}" (type_identifier "undefined8") (function_declarator "FUN_00271470(long param_1,ulong param_2)" (identifier "FUN_00271470") (parameter_list "(long param_1,ulong param_2)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "ulong param_2" (type_identifier "ulong") (identifier "param_2")) () ")"))) (compound_statement "{\n  long *plVar1;\n  ulong uVar2;\n  ulong uVar3;\n  long *plVar4;\n  long *plVar5;\n  \n  if ((*(byte *)(param_2 + 0x3b) & 8) == 0) {\n                    \n    FUN_0017c650("../../gold/symtab.cc",0x980,"get_copy_source");\n  }\n  uVar2 = param_2 % *(ulong *)(param_1 + 600);\n  plVar5 = *(long **)(*(long *)(param_1 + 0x250) + uVar2 * 8);\n  if (plVar5 != (long *)0x0) {\n    uVar3 = ((long *)*plVar5)[1];\n    plVar1 = (long *)*plVar5;\n    while (plVar4 = plVar1, uVar3 != param_2) {\n      plVar1 = (long *)*plVar4;\n      if ((plVar1 == (long *)0x0) ||\n         (uVar3 = plVar1[1], plVar5 = plVar4, uVar2 != uVar3 % *(ulong *)(param_1 + 600)))\n      goto LAB_002714f5;\n    }\n    if (*plVar5 != 0) {\n      return *(undefined8 *)(*plVar5 + 0x10);\n    }\n  }\nLAB_002714f5:\n                    \n  FUN_0017c650("../../gold/symtab.cc",0x983,"get_copy_source");\n}" ({ "{") (declaration "long *plVar1;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar1" (* "*") (identifier "plVar1")) (; ";")) (declaration "ulong uVar2;" (type_identifier "ulong") (identifier "uVar2") (; ";")) (declaration "ulong uVar3;" (type_identifier "ulong") (identifier "uVar3") (; ";")) (declaration "long *plVar4;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar4" (* "*") (identifier "plVar4")) (; ";")) (declaration "long *plVar5;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar5" (* "*") (identifier "plVar5")) (; ";")) (if_statement "if ((*(byte *)(param_2 + 0x3b) & 8) == 0) {\n                    \n    FUN_0017c650("../../gold/symtab.cc",0x980,"get_copy_source");\n  }" (if "if") (parenthesized_expression "((*(byte *)(param_2 + 0x3b) & 8) == 0)" (( "(") (binary_expression "(*(byte *)(param_2 + 0x3b) & 8) == 0" (parenthesized_expression "(*(byte *)(param_2 + 0x3b) & 8)" (( "(") (binary_expression "*(byte *)(param_2 + 0x3b) & 8" (pointer_expression "*(byte *)(param_2 + 0x3b)" (* "*") (cast_expression "(byte *)(param_2 + 0x3b)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x3b)" (( "(") (binary_expression "param_2 + 0x3b" (identifier "param_2") (+ "+") (number_literal "0x3b")) () ")")))) (& "&") (number_literal "8")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    FUN_0017c650("../../gold/symtab.cc",0x980,"get_copy_source");\n  }" ({ "{") (expression_statement "FUN_0017c650("../../gold/symtab.cc",0x980,"get_copy_source");" (call_expression "FUN_0017c650("../../gold/symtab.cc",0x980,"get_copy_source")" (identifier "FUN_0017c650") (argument_list "("../../gold/symtab.cc",0x980,"get_copy_source")" (( "(") (string_literal ""../../gold/symtab.cc"" (" """) (string_content "../../gold/symtab.cc") (" """)) (, ",") (number_literal "0x980") (, ",") (string_literal ""get_copy_source"" (" """) (string_content "get_copy_source") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "uVar2 = param_2 % *(ulong *)(param_1 + 600);" (assignment_expression "uVar2 = param_2 % *(ulong *)(param_1 + 600)" (identifier "uVar2") (= "=") (binary_expression "param_2 % *(ulong *)(param_1 + 600)" (identifier "param_2") (% "%") (pointer_expression "*(ulong *)(param_1 + 600)" (* "*") (cast_expression "(ulong *)(param_1 + 600)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 600)" (( "(") (binary_expression "param_1 + 600" (identifier "param_1") (+ "+") (number_literal "600")) () ")")))))) (; ";")) (expression_statement "plVar5 = *(long **)(*(long *)(param_1 + 0x250) + uVar2 * 8);" (assignment_expression "plVar5 = *(long **)(*(long *)(param_1 + 0x250) + uVar2 * 8)" (identifier "plVar5") (= "=") (pointer_expression "*(long **)(*(long *)(param_1 + 0x250) + uVar2 * 8)" (* "*") (cast_expression "(long **)(*(long *)(param_1 + 0x250) + uVar2 * 8)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0x250) + uVar2 * 8)" (( "(") (binary_expression "*(long *)(param_1 + 0x250) + uVar2 * 8" (pointer_expression "*(long *)(param_1 + 0x250)" (* "*") (cast_expression "(long *)(param_1 + 0x250)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x250)" (( "(") (binary_expression "param_1 + 0x250" (identifier "param_1") (+ "+") (number_literal "0x250")) () ")")))) (+ "+") (binary_expression "uVar2 * 8" (identifier "uVar2") (* "*") (number_literal "8"))) () ")"))))) (; ";")) (if_statement "if (plVar5 != (long *)0x0) {\n    uVar3 = ((long *)*plVar5)[1];\n    plVar1 = (long *)*plVar5;\n    while (plVar4 = plVar1, uVar3 != param_2) {\n      plVar1 = (long *)*plVar4;\n      if ((plVar1 == (long *)0x0) ||\n         (uVar3 = plVar1[1], plVar5 = plVar4, uVar2 != uVar3 % *(ulong *)(param_1 + 600)))\n      goto LAB_002714f5;\n    }\n    if (*plVar5 != 0) {\n      return *(undefined8 *)(*plVar5 + 0x10);\n    }\n  }" (if "if") (parenthesized_expression "(plVar5 != (long *)0x0)" (( "(") (binary_expression "plVar5 != (long *)0x0" (identifier "plVar5") (!= "!=") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    uVar3 = ((long *)*plVar5)[1];\n    plVar1 = (long *)*plVar5;\n    while (plVar4 = plVar1, uVar3 != param_2) {\n      plVar1 = (long *)*plVar4;\n      if ((plVar1 == (long *)0x0) ||\n         (uVar3 = plVar1[1], plVar5 = plVar4, uVar2 != uVar3 % *(ulong *)(param_1 + 600)))\n      goto LAB_002714f5;\n    }\n    if (*plVar5 != 0) {\n      return *(undefined8 *)(*plVar5 + 0x10);\n    }\n  }" ({ "{") (expression_statement "uVar3 = ((long *)*plVar5)[1];" (assignment_expression "uVar3 = ((long *)*plVar5)[1]" (identifier "uVar3") (= "=") (subscript_expression "((long *)*plVar5)[1]" (parenthesized_expression "((long *)*plVar5)" (( "(") (cast_expression "(long *)*plVar5" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*plVar5" (* "*") (identifier "plVar5"))) () ")")) ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "plVar1 = (long *)*plVar5;" (assignment_expression "plVar1 = (long *)*plVar5" (identifier "plVar1") (= "=") (cast_expression "(long *)*plVar5" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*plVar5" (* "*") (identifier "plVar5")))) (; ";")) (while_statement "while (plVar4 = plVar1, uVar3 != param_2) {\n      plVar1 = (long *)*plVar4;\n      if ((plVar1 == (long *)0x0) ||\n         (uVar3 = plVar1[1], plVar5 = plVar4, uVar2 != uVar3 % *(ulong *)(param_1 + 600)))\n      goto LAB_002714f5;\n    }" (while "while") (parenthesized_expression "(plVar4 = plVar1, uVar3 != param_2)" (( "(") (comma_expression "plVar4 = plVar1, uVar3 != param_2" (assignment_expression "plVar4 = plVar1" (identifier "plVar4") (= "=") (identifier "plVar1")) (, ",") (binary_expression "uVar3 != param_2" (identifier "uVar3") (!= "!=") (identifier "param_2"))) () ")")) (compound_statement "{\n      plVar1 = (long *)*plVar4;\n      if ((plVar1 == (long *)0x0) ||\n         (uVar3 = plVar1[1], plVar5 = plVar4, uVar2 != uVar3 % *(ulong *)(param_1 + 600)))\n      goto LAB_002714f5;\n    }" ({ "{") (expression_statement "plVar1 = (long *)*plVar4;" (assignment_expression "plVar1 = (long *)*plVar4" (identifier "plVar1") (= "=") (cast_expression "(long *)*plVar4" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*plVar4" (* "*") (identifier "plVar4")))) (; ";")) (if_statement "if ((plVar1 == (long *)0x0) ||\n         (uVar3 = plVar1[1], plVar5 = plVar4, uVar2 != uVar3 % *(ulong *)(param_1 + 600)))\n      goto LAB_002714f5;" (if "if") (parenthesized_expression "((plVar1 == (long *)0x0) ||\n         (uVar3 = plVar1[1], plVar5 = plVar4, uVar2 != uVar3 % *(ulong *)(param_1 + 600)))" (( "(") (binary_expression "(plVar1 == (long *)0x0) ||\n         (uVar3 = plVar1[1], plVar5 = plVar4, uVar2 != uVar3 % *(ulong *)(param_1 + 600))" (parenthesized_expression "(plVar1 == (long *)0x0)" (( "(") (binary_expression "plVar1 == (long *)0x0" (identifier "plVar1") (== "==") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (|| "||") (parenthesized_expression "(uVar3 = plVar1[1], plVar5 = plVar4, uVar2 != uVar3 % *(ulong *)(param_1 + 600))" (( "(") (comma_expression "uVar3 = plVar1[1], plVar5 = plVar4, uVar2 != uVar3 % *(ulong *)(param_1 + 600)" (assignment_expression "uVar3 = plVar1[1]" (identifier "uVar3") (= "=") (subscript_expression "plVar1[1]" (identifier "plVar1") ([ "[") (number_literal "1") (] "]"))) (, ",") (comma_expression "plVar5 = plVar4, uVar2 != uVar3 % *(ulong *)(param_1 + 600)" (assignment_expression "plVar5 = plVar4" (identifier "plVar5") (= "=") (identifier "plVar4")) (, ",") (binary_expression "uVar2 != uVar3 % *(ulong *)(param_1 + 600)" (identifier "uVar2") (!= "!=") (binary_expression "uVar3 % *(ulong *)(param_1 + 600)" (identifier "uVar3") (% "%") (pointer_expression "*(ulong *)(param_1 + 600)" (* "*") (cast_expression "(ulong *)(param_1 + 600)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 600)" (( "(") (binary_expression "param_1 + 600" (identifier "param_1") (+ "+") (number_literal "600")) () ")")))))))) () ")"))) () ")")) (goto_statement "goto LAB_002714f5;" (goto "goto") (statement_identifier "LAB_002714f5") (; ";"))) (} "}"))) (if_statement "if (*plVar5 != 0) {\n      return *(undefined8 *)(*plVar5 + 0x10);\n    }" (if "if") (parenthesized_expression "(*plVar5 != 0)" (( "(") (binary_expression "*plVar5 != 0" (pointer_expression "*plVar5" (* "*") (identifier "plVar5")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      return *(undefined8 *)(*plVar5 + 0x10);\n    }" ({ "{") (return_statement "return *(undefined8 *)(*plVar5 + 0x10);" (return "return") (pointer_expression "*(undefined8 *)(*plVar5 + 0x10)" (* "*") (cast_expression "(undefined8 *)(*plVar5 + 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*plVar5 + 0x10)" (( "(") (binary_expression "*plVar5 + 0x10" (pointer_expression "*plVar5" (* "*") (identifier "plVar5")) (+ "+") (number_literal "0x10")) () ")")))) (; ";")) (} "}"))) (} "}"))) (labeled_statement "LAB_002714f5:\n                    \n  FUN_0017c650("../../gold/symtab.cc",0x983,"get_copy_source");" (statement_identifier "LAB_002714f5") (: ":") (expression_statement "FUN_0017c650("../../gold/symtab.cc",0x983,"get_copy_source");" (call_expression "FUN_0017c650("../../gold/symtab.cc",0x983,"get_copy_source")" (identifier "FUN_0017c650") (argument_list "("../../gold/symtab.cc",0x983,"get_copy_source")" (( "(") (string_literal ""../../gold/symtab.cc"" (" """) (string_content "../../gold/symtab.cc") (" """)) (, ",") (number_literal "0x983") (, ",") (string_literal ""get_copy_source"" (" """) (string_content "get_copy_source") (" """)) () ")"))) (; ";"))) (} "}")))

/* DWARF original prototype: Dynobj * get_copy_source(Symbol_table * this, Symbol * sym) */

type_5 * __thiscall gold::Symbol_table::get_copy_source(Symbol_table *this,type_3 *var_5)

{
  type_1 var_2;
  type_2 *var_6;
  type_1 var_7;
  type_3 *var_4;
  type_4 p_Var5;
  type_4 var_3;
  
  if ((var_5->field_0x3b & 8) == 0) {
                    /* WARNING: Subroutine does not return */
    var_1("../../gold/symtab.cc",0x980,"get_copy_source");
  }
  var_2 = (this->copied_symbol_dynobjs_)._M_h._M_bucket_count;
  var_7 = (type_1)var_5 % var_2;
  var_3 = (this->copied_symbol_dynobjs_)._M_h._M_buckets[var_7];
  if (var_3 != (type_4)0x0) {
    var_4 = (type_3 *)var_3->_M_nxt[1]._M_nxt;
    var_6 = var_3->_M_nxt;
    while (p_Var5 = var_6, var_4 != var_5) {
      var_6 = p_Var5->_M_nxt;
      if ((var_6 == (type_2 *)0x0) ||
         (var_4 = (type_3 *)var_6[1]._M_nxt, var_3 = p_Var5, var_7 != (type_1)var_4 % var_2))
      goto LAB_002714f5;
    }
    if (var_3->_M_nxt != (type_2 *)0x0) {
      return (type_5 *)var_3->_M_nxt[2]._M_nxt;
    }
  }
LAB_002714f5:
                    /* WARNING: Subroutine does not return */
  var_1("../../gold/symtab.cc",0x983,"get_copy_source");
}


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

undefined8 MASKED(long param_1,ulong param_2)

{
  long *plVar1;
  ulong uVar2;
  ulong uVar3;
  long *plVar4;
  long *plVar5;
  
  if ((*(byte *)(param_2 + 0x3b) & 8) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_0017c650("../../gold/symtab.cc",0x980,"get_copy_source");
  }
  uVar2 = param_2 % *(ulong *)(param_1 + 600);
  plVar5 = *(long **)(*(long *)(param_1 + 0x250) + uVar2 * 8);
  if (plVar5 != (long *)0x0) {
    uVar3 = ((long *)*plVar5)[1];
    plVar1 = (long *)*plVar5;
    while (plVar4 = plVar1, uVar3 != param_2) {
      plVar1 = (long *)*plVar4;
      if ((plVar1 == (long *)0x0) ||
         (uVar3 = plVar1[1], plVar5 = plVar4, uVar2 != uVar3 % *(ulong *)(param_1 + 600)))
      goto LAB_002714f5;
    }
    if (*plVar5 != 0) {
      return *(undefined8 *)(*plVar5 + 0x10);
    }
  }
LAB_002714f5:
                    /* WARNING: Subroutine does not return */
  FUN_0017c650("../../gold/symtab.cc",0x983,"get_copy_source");
}

