
/* DWARF original prototype: void Output_reloc(Output_reloc<9,_true,_64,_false> * this, uint type,
   void * arg, Sized_relobj<64,_false> * relobj, uint shndx, Address address) */

void __thiscall
gold::Output_reloc<9,_true,_64,_false>::Output_reloc
          (Output_reloc<9,_true,_64,_false> *this,uint type,void *arg,
          Sized_relobj<64,_false> *relobj,uint shndx,Address address)

{
  this->address_ = address;
  this->shndx_ = shndx;
  *(uint *)&this->field_0x1c = *(uint *)&this->field_0x1c & 0xf0000000 | type & 0xfffffff;
  *(ulong *)&this->local_sym_index_ =
       *(ulong *)&this->local_sym_index_ & 0xfffffff00000000 | 0xfffffffd;
  if (shndx == 0xfffffffc) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/output.cc",0x3a2,"Output_reloc");
  }
  if (type == (type & 0xfffffff)) {
    (this->u1_).arg = arg;
    (this->u2_).relobj = relobj;
    return;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/output.cc",0x3a4,"Output_reloc");
}



void FUN_00204e30(undefined8 *param_1,uint param_2,undefined8 param_3,undefined8 param_4,int param_5
                 ,undefined8 param_6)

{
  param_1[2] = param_6;
  *(int *)(param_1 + 4) = param_5;
  *(uint *)((long)param_1 + 0x1c) =
       *(uint *)((long)param_1 + 0x1c) & 0xf0000000 | param_2 & 0xfffffff;
  param_1[3] = param_1[3] & 0xfffffff00000000 | 0xfffffffd;
  if (param_5 == -4) {
                    /* WARNING: Subroutine does not return */
    FUN_0017c650("../../gold/output.cc",0x3a2,"Output_reloc");
  }
  if (param_2 == (param_2 & 0xfffffff)) {
    *param_1 = param_3;
    param_1[1] = param_4;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0017c650("../../gold/output.cc",0x3a4,"Output_reloc");
}


SUB RSP,0x8
MOV EAX,dword ptr [RDI + 0x1c]
MOV qword ptr [RDI + 0x10],R9
MOV R9D,ESI
AND R9D,0xfffffff
MOV R10D,0xfffffffd
MOV dword ptr [RDI + 0x20],R8D
AND EAX,0xf0000000
OR EAX,R9D
MOV dword ptr [RDI + 0x1c],EAX
MOV RAX,0xfffffff00000000
AND RAX,qword ptr [RDI + 0x18]
OR RAX,R10
MOV qword ptr [RDI + 0x18],RAX
CMP R8D,-0x4
JZ 0x00204e86
CMP ESI,R9D
JNZ 0x00204e9e
MOV qword ptr [RDI],RDX
MOV qword ptr [RDI + 0x8],RCX
ADD RSP,0x8
RET
LEA RDX,[0x37f7b8]
MOV ESI,0x3a2
LEA RDI,[0x37e8cf]
CALL 0x0017c650
LEA RDX,[0x37f7b8]
MOV ESI,0x3a4
LEA RDI,[0x37e8cf]
CALL 0x0017c650
(translation_unit "void FUN_00204e30(undefined8 *param_1,uint param_2,undefined8 param_3,undefined8 param_4,int param_5\n                 ,undefined8 param_6)\n\n{\n  param_1[2] = param_6;\n  *(int *)(param_1 + 4) = param_5;\n  *(uint *)((long)param_1 + 0x1c) =\n       *(uint *)((long)param_1 + 0x1c) & 0xf0000000 | param_2 & 0xfffffff;\n  param_1[3] = param_1[3] & 0xfffffff00000000 | 0xfffffffd;\n  if (param_5 == -4) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/output.cc",0x3a2,"Output_reloc");\n  }\n  if (param_2 == (param_2 & 0xfffffff)) {\n    *param_1 = param_3;\n    param_1[1] = param_4;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0017c650("../../gold/output.cc",0x3a4,"Output_reloc");\n}\n\n" (function_definition "void FUN_00204e30(undefined8 *param_1,uint param_2,undefined8 param_3,undefined8 param_4,int param_5\n                 ,undefined8 param_6)\n\n{\n  param_1[2] = param_6;\n  *(int *)(param_1 + 4) = param_5;\n  *(uint *)((long)param_1 + 0x1c) =\n       *(uint *)((long)param_1 + 0x1c) & 0xf0000000 | param_2 & 0xfffffff;\n  param_1[3] = param_1[3] & 0xfffffff00000000 | 0xfffffffd;\n  if (param_5 == -4) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/output.cc",0x3a2,"Output_reloc");\n  }\n  if (param_2 == (param_2 & 0xfffffff)) {\n    *param_1 = param_3;\n    param_1[1] = param_4;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0017c650("../../gold/output.cc",0x3a4,"Output_reloc");\n}" primitive_type (function_declarator "FUN_00204e30(undefined8 *param_1,uint param_2,undefined8 param_3,undefined8 param_4,int param_5\n                 ,undefined8 param_6)" identifier (parameter_list "(undefined8 *param_1,uint param_2,undefined8 param_3,undefined8 param_4,int param_5\n                 ,undefined8 param_6)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) , (parameter_declaration "undefined8 param_4" type_identifier identifier) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "undefined8 param_6" type_identifier identifier) ))) (compound_statement "{\n  param_1[2] = param_6;\n  *(int *)(param_1 + 4) = param_5;\n  *(uint *)((long)param_1 + 0x1c) =\n       *(uint *)((long)param_1 + 0x1c) & 0xf0000000 | param_2 & 0xfffffff;\n  param_1[3] = param_1[3] & 0xfffffff00000000 | 0xfffffffd;\n  if (param_5 == -4) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/output.cc",0x3a2,"Output_reloc");\n  }\n  if (param_2 == (param_2 & 0xfffffff)) {\n    *param_1 = param_3;\n    param_1[1] = param_4;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0017c650("../../gold/output.cc",0x3a4,"Output_reloc");\n}" { (expression_statement "param_1[2] = param_6;" (assignment_expression "param_1[2] = param_6" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(int *)(param_1 + 4) = param_5;" (assignment_expression "*(int *)(param_1 + 4) = param_5" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)((long)param_1 + 0x1c) =\n       *(uint *)((long)param_1 + 0x1c) & 0xf0000000 | param_2 & 0xfffffff;" (assignment_expression "*(uint *)((long)param_1 + 0x1c) =\n       *(uint *)((long)param_1 + 0x1c) & 0xf0000000 | param_2 & 0xfffffff" (pointer_expression "*(uint *)((long)param_1 + 0x1c)" * (cast_expression "(uint *)((long)param_1 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x1c)" ( (binary_expression "(long)param_1 + 0x1c" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = (binary_expression "*(uint *)((long)param_1 + 0x1c) & 0xf0000000 | param_2 & 0xfffffff" (binary_expression "*(uint *)((long)param_1 + 0x1c) & 0xf0000000" (pointer_expression "*(uint *)((long)param_1 + 0x1c)" * (cast_expression "(uint *)((long)param_1 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x1c)" ( (binary_expression "(long)param_1 + 0x1c" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) & number_literal) | (binary_expression "param_2 & 0xfffffff" identifier & number_literal))) ;) (expression_statement "param_1[3] = param_1[3] & 0xfffffff00000000 | 0xfffffffd;" (assignment_expression "param_1[3] = param_1[3] & 0xfffffff00000000 | 0xfffffffd" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (binary_expression "param_1[3] & 0xfffffff00000000 | 0xfffffffd" (binary_expression "param_1[3] & 0xfffffff00000000" (subscript_expression "param_1[3]" identifier [ number_literal ]) & number_literal) | number_literal)) ;) (if_statement "if (param_5 == -4) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/output.cc",0x3a2,"Output_reloc");\n  }" if (parenthesized_expression "(param_5 == -4)" ( (binary_expression "param_5 == -4" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_0017c650("../../gold/output.cc",0x3a2,"Output_reloc");\n  }" { comment (expression_statement "FUN_0017c650("../../gold/output.cc",0x3a2,"Output_reloc");" (call_expression "FUN_0017c650("../../gold/output.cc",0x3a2,"Output_reloc")" identifier (argument_list "("../../gold/output.cc",0x3a2,"Output_reloc")" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""Output_reloc"" " string_content ") ))) ;) })) (if_statement "if (param_2 == (param_2 & 0xfffffff)) {\n    *param_1 = param_3;\n    param_1[1] = param_4;\n    return;\n  }" if (parenthesized_expression "(param_2 == (param_2 & 0xfffffff))" ( (binary_expression "param_2 == (param_2 & 0xfffffff)" identifier == (parenthesized_expression "(param_2 & 0xfffffff)" ( (binary_expression "param_2 & 0xfffffff" identifier & number_literal) ))) )) (compound_statement "{\n    *param_1 = param_3;\n    param_1[1] = param_4;\n    return;\n  }" { (expression_statement "*param_1 = param_3;" (assignment_expression "*param_1 = param_3" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = param_4;" (assignment_expression "param_1[1] = param_4" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_0017c650("../../gold/output.cc",0x3a4,"Output_reloc");" (call_expression "FUN_0017c650("../../gold/output.cc",0x3a4,"Output_reloc")" identifier (argument_list "("../../gold/output.cc",0x3a4,"Output_reloc")" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""Output_reloc"" " string_content ") ))) ;) })))
(translation_unit "/* DWARF original prototype: void Output_reloc(Output_reloc<9,_true,_64,_false> * this, uint type,\n   void * arg, Sized_relobj<64,_false> * relobj, uint shndx, Address address) */\n\nvoid __thiscall\ngold::Output_reloc<9,_true,_64,_false>::Output_reloc\n          (Output_reloc<9,_true,_64,_false> *this,uint type,void *arg,\n          Sized_relobj<64,_false> *relobj,uint shndx,Address address)\n\n{\n  this->address_ = address;\n  this->shndx_ = shndx;\n  *(uint *)&this->field_0x1c = *(uint *)&this->field_0x1c & 0xf0000000 | type & 0xfffffff;\n  *(ulong *)&this->local_sym_index_ =\n       *(ulong *)&this->local_sym_index_ & 0xfffffff00000000 | 0xfffffffd;\n  if (shndx == 0xfffffffc) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/output.cc",0x3a2,"Output_reloc");\n  }\n  if (type == (type & 0xfffffff)) {\n    (this->u1_).arg = arg;\n    (this->u2_).relobj = relobj;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/output.cc",0x3a4,"Output_reloc");\n}\n\n" comment (declaration "void __thiscall\ngold::Output_reloc<9,_true,_64,_false>::Output_reloc\n          (Output_reloc<9,_true,_64,_false> *this,uint type,void *arg,\n          Sized_relobj<64,_false> *relobj,uint shndx,Address address)\n\n{\n  this->address_ = address;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<9" < number_literal) , identifier , identifier , (ERROR "_false>::Output_reloc\n          (Output_reloc<9,_true,_64,_false> *this,uint type,void *arg,\n          Sized_relobj<64,_false> *relobj,uint shndx,Address address)\n\n{\n  this->" identifier > : : (function_declarator "Output_reloc\n          (Output_reloc<9,_true,_64,_false> *this,uint type,void *arg,\n          Sized_relobj<64,_false> *relobj,uint shndx,Address address)" identifier (parameter_list "(Output_reloc<9,_true,_64,_false> *this,uint type,void *arg,\n          Sized_relobj<64,_false> *relobj,uint shndx,Address address)" ( (parameter_declaration "Output_reloc" type_identifier) (ERROR "<9" < number_literal) , (parameter_declaration "_true" type_identifier) , (parameter_declaration "_64" type_identifier) , (parameter_declaration "_false> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint type" type_identifier identifier) , (parameter_declaration "void *arg" primitive_type (pointer_declarator "*arg" * identifier)) , (parameter_declaration "Sized_relobj" type_identifier) (ERROR "<64" < number_literal) , (parameter_declaration "_false> *relobj" type_identifier (ERROR ">" >) (pointer_declarator "*relobj" * identifier)) , (parameter_declaration "uint shndx" type_identifier identifier) , (parameter_declaration "Address address" type_identifier identifier) ))) { identifier ->) (init_declarator "address_ = address" identifier = identifier) ;) (expression_statement "this->shndx_ = shndx;" (assignment_expression "this->shndx_ = shndx" (field_expression "this->shndx_" identifier -> field_identifier) = identifier) ;) (expression_statement "*(uint *)&this->field_0x1c = *(uint *)&this->field_0x1c & 0xf0000000 | type & 0xfffffff;" (assignment_expression "*(uint *)&this->field_0x1c = *(uint *)&this->field_0x1c & 0xf0000000 | type & 0xfffffff" (pointer_expression "*(uint *)&this->field_0x1c" * (cast_expression "(uint *)&this->field_0x1c" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&this->field_0x1c" & (field_expression "this->field_0x1c" identifier -> field_identifier)))) = (binary_expression "*(uint *)&this->field_0x1c & 0xf0000000 | type & 0xfffffff" (binary_expression "*(uint *)&this->field_0x1c & 0xf0000000" (pointer_expression "*(uint *)&this->field_0x1c" * (cast_expression "(uint *)&this->field_0x1c" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&this->field_0x1c" & (field_expression "this->field_0x1c" identifier -> field_identifier)))) & number_literal) | (binary_expression "type & 0xfffffff" identifier & number_literal))) ;) (expression_statement "*(ulong *)&this->local_sym_index_ =\n       *(ulong *)&this->local_sym_index_ & 0xfffffff00000000 | 0xfffffffd;" (assignment_expression "*(ulong *)&this->local_sym_index_ =\n       *(ulong *)&this->local_sym_index_ & 0xfffffff00000000 | 0xfffffffd" (pointer_expression "*(ulong *)&this->local_sym_index_" * (cast_expression "(ulong *)&this->local_sym_index_" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&this->local_sym_index_" & (field_expression "this->local_sym_index_" identifier -> field_identifier)))) = (binary_expression "*(ulong *)&this->local_sym_index_ & 0xfffffff00000000 | 0xfffffffd" (binary_expression "*(ulong *)&this->local_sym_index_ & 0xfffffff00000000" (pointer_expression "*(ulong *)&this->local_sym_index_" * (cast_expression "(ulong *)&this->local_sym_index_" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&this->local_sym_index_" & (field_expression "this->local_sym_index_" identifier -> field_identifier)))) & number_literal) | number_literal)) ;) (if_statement "if (shndx == 0xfffffffc) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/output.cc",0x3a2,"Output_reloc");\n  }" if (parenthesized_expression "(shndx == 0xfffffffc)" ( (binary_expression "shndx == 0xfffffffc" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/output.cc",0x3a2,"Output_reloc");\n  }" { comment (expression_statement "do_gold_unreachable("../../gold/output.cc",0x3a2,"Output_reloc");" (call_expression "do_gold_unreachable("../../gold/output.cc",0x3a2,"Output_reloc")" identifier (argument_list "("../../gold/output.cc",0x3a2,"Output_reloc")" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""Output_reloc"" " string_content ") ))) ;) })) (if_statement "if (type == (type & 0xfffffff)) {\n    (this->u1_).arg = arg;\n    (this->u2_).relobj = relobj;\n    return;\n  }" if (parenthesized_expression "(type == (type & 0xfffffff))" ( (binary_expression "type == (type & 0xfffffff)" identifier == (parenthesized_expression "(type & 0xfffffff)" ( (binary_expression "type & 0xfffffff" identifier & number_literal) ))) )) (compound_statement "{\n    (this->u1_).arg = arg;\n    (this->u2_).relobj = relobj;\n    return;\n  }" { (expression_statement "(this->u1_).arg = arg;" (assignment_expression "(this->u1_).arg = arg" (field_expression "(this->u1_).arg" (parenthesized_expression "(this->u1_)" ( (field_expression "this->u1_" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(this->u2_).relobj = relobj;" (assignment_expression "(this->u2_).relobj = relobj" (field_expression "(this->u2_).relobj" (parenthesized_expression "(this->u2_)" ( (field_expression "this->u2_" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (return_statement "return;" return ;) })) comment (expression_statement "do_gold_unreachable("../../gold/output.cc",0x3a4,"Output_reloc");" (call_expression "do_gold_unreachable("../../gold/output.cc",0x3a4,"Output_reloc")" identifier (argument_list "("../../gold/output.cc",0x3a4,"Output_reloc")" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""Output_reloc"" " string_content ") ))) ;) (ERROR "}" }))
(translation_unit "void FUN_00204e30(undefined8 *param_1,uint param_2,undefined8 param_3,undefined8 param_4,int param_5\n                 ,undefined8 param_6)\n\n{\n  param_1[2] = param_6;\n  *(int *)(param_1 + 4) = param_5;\n  *(uint *)((long)param_1 + 0x1c) =\n       *(uint *)((long)param_1 + 0x1c) & 0xf0000000 | param_2 & 0xfffffff;\n  param_1[3] = param_1[3] & 0xfffffff00000000 | 0xfffffffd;\n  if (param_5 == -4) {\n                    \n    FUN_0017c650("../../gold/output.cc",0x3a2,"Output_reloc");\n  }\n  if (param_2 == (param_2 & 0xfffffff)) {\n    *param_1 = param_3;\n    param_1[1] = param_4;\n    return;\n  }\n                    \n  FUN_0017c650("../../gold/output.cc",0x3a4,"Output_reloc");\n}\n\n" (function_definition "void FUN_00204e30(undefined8 *param_1,uint param_2,undefined8 param_3,undefined8 param_4,int param_5\n                 ,undefined8 param_6)\n\n{\n  param_1[2] = param_6;\n  *(int *)(param_1 + 4) = param_5;\n  *(uint *)((long)param_1 + 0x1c) =\n       *(uint *)((long)param_1 + 0x1c) & 0xf0000000 | param_2 & 0xfffffff;\n  param_1[3] = param_1[3] & 0xfffffff00000000 | 0xfffffffd;\n  if (param_5 == -4) {\n                    \n    FUN_0017c650("../../gold/output.cc",0x3a2,"Output_reloc");\n  }\n  if (param_2 == (param_2 & 0xfffffff)) {\n    *param_1 = param_3;\n    param_1[1] = param_4;\n    return;\n  }\n                    \n  FUN_0017c650("../../gold/output.cc",0x3a4,"Output_reloc");\n}" primitive_type (function_declarator "FUN_00204e30(undefined8 *param_1,uint param_2,undefined8 param_3,undefined8 param_4,int param_5\n                 ,undefined8 param_6)" identifier (parameter_list "(undefined8 *param_1,uint param_2,undefined8 param_3,undefined8 param_4,int param_5\n                 ,undefined8 param_6)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) , (parameter_declaration "undefined8 param_4" type_identifier identifier) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "undefined8 param_6" type_identifier identifier) ))) (compound_statement "{\n  param_1[2] = param_6;\n  *(int *)(param_1 + 4) = param_5;\n  *(uint *)((long)param_1 + 0x1c) =\n       *(uint *)((long)param_1 + 0x1c) & 0xf0000000 | param_2 & 0xfffffff;\n  param_1[3] = param_1[3] & 0xfffffff00000000 | 0xfffffffd;\n  if (param_5 == -4) {\n                    \n    FUN_0017c650("../../gold/output.cc",0x3a2,"Output_reloc");\n  }\n  if (param_2 == (param_2 & 0xfffffff)) {\n    *param_1 = param_3;\n    param_1[1] = param_4;\n    return;\n  }\n                    \n  FUN_0017c650("../../gold/output.cc",0x3a4,"Output_reloc");\n}" { (expression_statement "param_1[2] = param_6;" (assignment_expression "param_1[2] = param_6" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(int *)(param_1 + 4) = param_5;" (assignment_expression "*(int *)(param_1 + 4) = param_5" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)((long)param_1 + 0x1c) =\n       *(uint *)((long)param_1 + 0x1c) & 0xf0000000 | param_2 & 0xfffffff;" (assignment_expression "*(uint *)((long)param_1 + 0x1c) =\n       *(uint *)((long)param_1 + 0x1c) & 0xf0000000 | param_2 & 0xfffffff" (pointer_expression "*(uint *)((long)param_1 + 0x1c)" * (cast_expression "(uint *)((long)param_1 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x1c)" ( (binary_expression "(long)param_1 + 0x1c" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = (binary_expression "*(uint *)((long)param_1 + 0x1c) & 0xf0000000 | param_2 & 0xfffffff" (binary_expression "*(uint *)((long)param_1 + 0x1c) & 0xf0000000" (pointer_expression "*(uint *)((long)param_1 + 0x1c)" * (cast_expression "(uint *)((long)param_1 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x1c)" ( (binary_expression "(long)param_1 + 0x1c" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) & number_literal) | (binary_expression "param_2 & 0xfffffff" identifier & number_literal))) ;) (expression_statement "param_1[3] = param_1[3] & 0xfffffff00000000 | 0xfffffffd;" (assignment_expression "param_1[3] = param_1[3] & 0xfffffff00000000 | 0xfffffffd" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (binary_expression "param_1[3] & 0xfffffff00000000 | 0xfffffffd" (binary_expression "param_1[3] & 0xfffffff00000000" (subscript_expression "param_1[3]" identifier [ number_literal ]) & number_literal) | number_literal)) ;) (if_statement "if (param_5 == -4) {\n                    \n    FUN_0017c650("../../gold/output.cc",0x3a2,"Output_reloc");\n  }" if (parenthesized_expression "(param_5 == -4)" ( (binary_expression "param_5 == -4" identifier == number_literal) )) (compound_statement "{\n                    \n    FUN_0017c650("../../gold/output.cc",0x3a2,"Output_reloc");\n  }" { (expression_statement "FUN_0017c650("../../gold/output.cc",0x3a2,"Output_reloc");" (call_expression "FUN_0017c650("../../gold/output.cc",0x3a2,"Output_reloc")" identifier (argument_list "("../../gold/output.cc",0x3a2,"Output_reloc")" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""Output_reloc"" " string_content ") ))) ;) })) (if_statement "if (param_2 == (param_2 & 0xfffffff)) {\n    *param_1 = param_3;\n    param_1[1] = param_4;\n    return;\n  }" if (parenthesized_expression "(param_2 == (param_2 & 0xfffffff))" ( (binary_expression "param_2 == (param_2 & 0xfffffff)" identifier == (parenthesized_expression "(param_2 & 0xfffffff)" ( (binary_expression "param_2 & 0xfffffff" identifier & number_literal) ))) )) (compound_statement "{\n    *param_1 = param_3;\n    param_1[1] = param_4;\n    return;\n  }" { (expression_statement "*param_1 = param_3;" (assignment_expression "*param_1 = param_3" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = param_4;" (assignment_expression "param_1[1] = param_4" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0017c650("../../gold/output.cc",0x3a4,"Output_reloc");" (call_expression "FUN_0017c650("../../gold/output.cc",0x3a4,"Output_reloc")" identifier (argument_list "("../../gold/output.cc",0x3a4,"Output_reloc")" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""Output_reloc"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) & LIT) | (binary_expression IDENT & LIT))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) & LIT) | LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (parenthesized_expression ( (binary_expression IDENT & LIT) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "void FUN_00204e30(undefined8 *param_1,uint param_2,undefined8 param_3,undefined8 param_4,int param_5\n                 ,undefined8 param_6)\n\n{\n  param_1[2] = param_6;\n  *(int *)(param_1 + 4) = param_5;\n  *(uint *)((long)param_1 + 0x1c) =\n       *(uint *)((long)param_1 + 0x1c) & 0xf0000000 | param_2 & 0xfffffff;\n  param_1[3] = param_1[3] & 0xfffffff00000000 | 0xfffffffd;\n  if (param_5 == -4) {\n                    \n    FUN_0017c650("../../gold/output.cc",0x3a2,"Output_reloc");\n  }\n  if (param_2 == (param_2 & 0xfffffff)) {\n    *param_1 = param_3;\n    param_1[1] = param_4;\n    return;\n  }\n                    \n  FUN_0017c650("../../gold/output.cc",0x3a4,"Output_reloc");\n}" (primitive_type "void") (function_declarator "FUN_00204e30(undefined8 *param_1,uint param_2,undefined8 param_3,undefined8 param_4,int param_5\n                 ,undefined8 param_6)" (identifier "FUN_00204e30") (parameter_list "(undefined8 *param_1,uint param_2,undefined8 param_3,undefined8 param_4,int param_5\n                 ,undefined8 param_6)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) (, ",") (parameter_declaration "undefined8 param_3" (type_identifier "undefined8") (identifier "param_3")) (, ",") (parameter_declaration "undefined8 param_4" (type_identifier "undefined8") (identifier "param_4")) (, ",") (parameter_declaration "int param_5" (primitive_type "int") (identifier "param_5")) (, ",") (parameter_declaration "undefined8 param_6" (type_identifier "undefined8") (identifier "param_6")) () ")"))) (compound_statement "{\n  param_1[2] = param_6;\n  *(int *)(param_1 + 4) = param_5;\n  *(uint *)((long)param_1 + 0x1c) =\n       *(uint *)((long)param_1 + 0x1c) & 0xf0000000 | param_2 & 0xfffffff;\n  param_1[3] = param_1[3] & 0xfffffff00000000 | 0xfffffffd;\n  if (param_5 == -4) {\n                    \n    FUN_0017c650("../../gold/output.cc",0x3a2,"Output_reloc");\n  }\n  if (param_2 == (param_2 & 0xfffffff)) {\n    *param_1 = param_3;\n    param_1[1] = param_4;\n    return;\n  }\n                    \n  FUN_0017c650("../../gold/output.cc",0x3a4,"Output_reloc");\n}" ({ "{") (expression_statement "param_1[2] = param_6;" (assignment_expression "param_1[2] = param_6" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "param_6")) (; ";")) (expression_statement "*(int *)(param_1 + 4) = param_5;" (assignment_expression "*(int *)(param_1 + 4) = param_5" (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "param_5")) (; ";")) (expression_statement "*(uint *)((long)param_1 + 0x1c) =\n       *(uint *)((long)param_1 + 0x1c) & 0xf0000000 | param_2 & 0xfffffff;" (assignment_expression "*(uint *)((long)param_1 + 0x1c) =\n       *(uint *)((long)param_1 + 0x1c) & 0xf0000000 | param_2 & 0xfffffff" (pointer_expression "*(uint *)((long)param_1 + 0x1c)" (* "*") (cast_expression "(uint *)((long)param_1 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0x1c)" (( "(") (binary_expression "(long)param_1 + 0x1c" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (binary_expression "*(uint *)((long)param_1 + 0x1c) & 0xf0000000 | param_2 & 0xfffffff" (binary_expression "*(uint *)((long)param_1 + 0x1c) & 0xf0000000" (pointer_expression "*(uint *)((long)param_1 + 0x1c)" (* "*") (cast_expression "(uint *)((long)param_1 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0x1c)" (( "(") (binary_expression "(long)param_1 + 0x1c" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x1c")) () ")")))) (& "&") (number_literal "0xf0000000")) (| "|") (binary_expression "param_2 & 0xfffffff" (identifier "param_2") (& "&") (number_literal "0xfffffff")))) (; ";")) (expression_statement "param_1[3] = param_1[3] & 0xfffffff00000000 | 0xfffffffd;" (assignment_expression "param_1[3] = param_1[3] & 0xfffffff00000000 | 0xfffffffd" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (binary_expression "param_1[3] & 0xfffffff00000000 | 0xfffffffd" (binary_expression "param_1[3] & 0xfffffff00000000" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (& "&") (number_literal "0xfffffff00000000")) (| "|") (number_literal "0xfffffffd"))) (; ";")) (if_statement "if (param_5 == -4) {\n                    \n    FUN_0017c650("../../gold/output.cc",0x3a2,"Output_reloc");\n  }" (if "if") (parenthesized_expression "(param_5 == -4)" (( "(") (binary_expression "param_5 == -4" (identifier "param_5") (== "==") (number_literal "-4")) () ")")) (compound_statement "{\n                    \n    FUN_0017c650("../../gold/output.cc",0x3a2,"Output_reloc");\n  }" ({ "{") (expression_statement "FUN_0017c650("../../gold/output.cc",0x3a2,"Output_reloc");" (call_expression "FUN_0017c650("../../gold/output.cc",0x3a2,"Output_reloc")" (identifier "FUN_0017c650") (argument_list "("../../gold/output.cc",0x3a2,"Output_reloc")" (( "(") (string_literal ""../../gold/output.cc"" (" """) (string_content "../../gold/output.cc") (" """)) (, ",") (number_literal "0x3a2") (, ",") (string_literal ""Output_reloc"" (" """) (string_content "Output_reloc") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (param_2 == (param_2 & 0xfffffff)) {\n    *param_1 = param_3;\n    param_1[1] = param_4;\n    return;\n  }" (if "if") (parenthesized_expression "(param_2 == (param_2 & 0xfffffff))" (( "(") (binary_expression "param_2 == (param_2 & 0xfffffff)" (identifier "param_2") (== "==") (parenthesized_expression "(param_2 & 0xfffffff)" (( "(") (binary_expression "param_2 & 0xfffffff" (identifier "param_2") (& "&") (number_literal "0xfffffff")) () ")"))) () ")")) (compound_statement "{\n    *param_1 = param_3;\n    param_1[1] = param_4;\n    return;\n  }" ({ "{") (expression_statement "*param_1 = param_3;" (assignment_expression "*param_1 = param_3" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "param_3")) (; ";")) (expression_statement "param_1[1] = param_4;" (assignment_expression "param_1[1] = param_4" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_4")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0017c650("../../gold/output.cc",0x3a4,"Output_reloc");" (call_expression "FUN_0017c650("../../gold/output.cc",0x3a4,"Output_reloc")" (identifier "FUN_0017c650") (argument_list "("../../gold/output.cc",0x3a4,"Output_reloc")" (( "(") (string_literal ""../../gold/output.cc"" (" """) (string_content "../../gold/output.cc") (" """)) (, ",") (number_literal "0x3a4") (, ",") (string_literal ""Output_reloc"" (" """) (string_content "Output_reloc") (" """)) () ")"))) (; ";")) (} "}")))

/* DWARF original prototype: void Output_reloc(Output_reloc<9,_true,_64,_false> * this, uint type,
   void * arg, Sized_relobj<64,_false> * relobj, uint shndx, Address address) */

void __thiscall
gold::Output_reloc<9,_true,_64,_false>::Output_reloc
          (Output_reloc<9,_true,_64,_false> *this,type_1 var_1,void *arg,
          Sized_relobj<64,_false> *relobj,type_1 var_2,Address address)

{
  this->address_ = address;
  this->shndx_ = var_2;
  *(type_1 *)&this->field_0x1c = *(type_1 *)&this->field_0x1c & 0xf0000000 | var_1 & 0xfffffff;
  *(type_2 *)&this->local_sym_index_ =
       *(type_2 *)&this->local_sym_index_ & 0xfffffff00000000 | 0xfffffffd;
  if (var_2 == 0xfffffffc) {
                    /* WARNING: Subroutine does not return */
    var_3("../../gold/output.cc",0x3a2,"Output_reloc");
  }
  if (var_1 == (var_1 & 0xfffffff)) {
    (this->u1_).arg = arg;
    (this->u2_).relobj = relobj;
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_3("../../gold/output.cc",0x3a4,"Output_reloc");
}


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

void MASKED(undefined8 *param_1,uint param_2,undefined8 param_3,undefined8 param_4,int param_5
                 ,undefined8 param_6)

{
  param_1[2] = param_6;
  *(int *)(param_1 + 4) = param_5;
  *(uint *)((long)param_1 + 0x1c) =
       *(uint *)((long)param_1 + 0x1c) & 0xf0000000 | param_2 & 0xfffffff;
  param_1[3] = param_1[3] & 0xfffffff00000000 | 0xfffffffd;
  if (param_5 == -4) {
                    /* WARNING: Subroutine does not return */
    FUN_0017c650("../../gold/output.cc",0x3a2,"Output_reloc");
  }
  if (param_2 == (param_2 & 0xfffffff)) {
    *param_1 = param_3;
    param_1[1] = param_4;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0017c650("../../gold/output.cc",0x3a4,"Output_reloc");
}

