
/* DWARF original prototype: void set_final_data_size(Output_data_group<64,_false> * this) */

void __thiscall
gold::Output_data_group<64,_false>::set_final_data_size(Output_data_group<64,_false> *this)

{
  byte bVar1;
  
  bVar1 = (this->super_Output_section_data).super_Output_data.field_0x20;
  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {
    (this->super_Output_section_data).super_Output_data.data_size_ =
         ((long)(this->input_shndxes_).
                super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl._M_finish -
          (long)(this->input_shndxes_).
                super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl._M_start >>
         2) * 4 + 4;
    (this->super_Output_section_data).super_Output_data.field_0x20 = bVar1 | 2;
    return;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/output.h",0x218,"set_data_size");
}



void FUN_00268e10(long param_1)

{
  byte bVar1;
  
  bVar1 = *(byte *)(param_1 + 0x20);
  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {
    *(long *)(param_1 + 0x10) = (*(long *)(param_1 + 0x50) - *(long *)(param_1 + 0x48) >> 2) * 4 + 4
    ;
    *(byte *)(param_1 + 0x20) = bVar1 | 2;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_001e9890("../../gold/output.h",0x218,"set_data_size");
}


MOV RAX,qword ptr [RDI + 0x50]
SUB RAX,qword ptr [RDI + 0x48]
SAR RAX,0x2
LEA RDX,[0x4 + RAX*0x4]
MOVZX EAX,byte ptr [RDI + 0x20]
TEST AL,0x2
JNZ 0x00268e3b
TEST AL,0x8
JNZ 0x00268e3b
OR EAX,0x2
MOV qword ptr [RDI + 0x10],RDX
MOV byte ptr [RDI + 0x20],AL
RET
PUSH RAX
LEA RDX,[0x3efb68]
MOV ESI,0x218
LEA RDI,[0x3de409]
CALL 0x001e9890
(translation_unit "void FUN_00268e10(long param_1)\n\n{\n  byte bVar1;\n  \n  bVar1 = *(byte *)(param_1 + 0x20);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(long *)(param_1 + 0x10) = (*(long *)(param_1 + 0x50) - *(long *)(param_1 + 0x48) >> 2) * 4 + 4\n    ;\n    *(byte *)(param_1 + 0x20) = bVar1 | 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_001e9890("../../gold/output.h",0x218,"set_data_size");\n}\n\n" (function_definition "void FUN_00268e10(long param_1)\n\n{\n  byte bVar1;\n  \n  bVar1 = *(byte *)(param_1 + 0x20);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(long *)(param_1 + 0x10) = (*(long *)(param_1 + 0x50) - *(long *)(param_1 + 0x48) >> 2) * 4 + 4\n    ;\n    *(byte *)(param_1 + 0x20) = bVar1 | 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_001e9890("../../gold/output.h",0x218,"set_data_size");\n}" primitive_type (function_declarator "FUN_00268e10(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  byte bVar1;\n  \n  bVar1 = *(byte *)(param_1 + 0x20);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(long *)(param_1 + 0x10) = (*(long *)(param_1 + 0x50) - *(long *)(param_1 + 0x48) >> 2) * 4 + 4\n    ;\n    *(byte *)(param_1 + 0x20) = bVar1 | 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_001e9890("../../gold/output.h",0x218,"set_data_size");\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (expression_statement "bVar1 = *(byte *)(param_1 + 0x20);" (assignment_expression "bVar1 = *(byte *)(param_1 + 0x20)" identifier = (pointer_expression "*(byte *)(param_1 + 0x20)" * (cast_expression "(byte *)(param_1 + 0x20)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) ))))) ;) (if_statement "if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(long *)(param_1 + 0x10) = (*(long *)(param_1 + 0x50) - *(long *)(param_1 + 0x48) >> 2) * 4 + 4\n    ;\n    *(byte *)(param_1 + 0x20) = bVar1 | 2;\n    return;\n  }" if (parenthesized_expression "(((bVar1 & 2) == 0) && ((bVar1 & 8) == 0))" ( (binary_expression "((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)" (parenthesized_expression "((bVar1 & 2) == 0)" ( (binary_expression "(bVar1 & 2) == 0" (parenthesized_expression "(bVar1 & 2)" ( (binary_expression "bVar1 & 2" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "((bVar1 & 8) == 0)" ( (binary_expression "(bVar1 & 8) == 0" (parenthesized_expression "(bVar1 & 8)" ( (binary_expression "bVar1 & 8" identifier & number_literal) )) == number_literal) ))) )) (compound_statement "{\n    *(long *)(param_1 + 0x10) = (*(long *)(param_1 + 0x50) - *(long *)(param_1 + 0x48) >> 2) * 4 + 4\n    ;\n    *(byte *)(param_1 + 0x20) = bVar1 | 2;\n    return;\n  }" { (expression_statement "*(long *)(param_1 + 0x10) = (*(long *)(param_1 + 0x50) - *(long *)(param_1 + 0x48) >> 2) * 4 + 4\n    ;" (assignment_expression "*(long *)(param_1 + 0x10) = (*(long *)(param_1 + 0x50) - *(long *)(param_1 + 0x48) >> 2) * 4 + 4" (pointer_expression "*(long *)(param_1 + 0x10)" * (cast_expression "(long *)(param_1 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = (binary_expression "(*(long *)(param_1 + 0x50) - *(long *)(param_1 + 0x48) >> 2) * 4 + 4" (binary_expression "(*(long *)(param_1 + 0x50) - *(long *)(param_1 + 0x48) >> 2) * 4" (parenthesized_expression "(*(long *)(param_1 + 0x50) - *(long *)(param_1 + 0x48) >> 2)" ( (binary_expression "*(long *)(param_1 + 0x50) - *(long *)(param_1 + 0x48) >> 2" (binary_expression "*(long *)(param_1 + 0x50) - *(long *)(param_1 + 0x48)" (pointer_expression "*(long *)(param_1 + 0x50)" * (cast_expression "(long *)(param_1 + 0x50)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) - (pointer_expression "*(long *)(param_1 + 0x48)" * (cast_expression "(long *)(param_1 + 0x48)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) ))))) >> number_literal) )) * number_literal) + number_literal)) ;) (expression_statement "*(byte *)(param_1 + 0x20) = bVar1 | 2;" (assignment_expression "*(byte *)(param_1 + 0x20) = bVar1 | 2" (pointer_expression "*(byte *)(param_1 + 0x20)" * (cast_expression "(byte *)(param_1 + 0x20)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) = (binary_expression "bVar1 | 2" identifier | number_literal)) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_001e9890("../../gold/output.h",0x218,"set_data_size");" (call_expression "FUN_001e9890("../../gold/output.h",0x218,"set_data_size")" identifier (argument_list "("../../gold/output.h",0x218,"set_data_size")" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""set_data_size"" " string_content ") ))) ;) })))
(translation_unit "/* DWARF original prototype: void set_final_data_size(Output_data_group<64,_false> * this) */\n\nvoid __thiscall\ngold::Output_data_group<64,_false>::set_final_data_size(Output_data_group<64,_false> *this)\n\n{\n  byte bVar1;\n  \n  bVar1 = (this->super_Output_section_data).super_Output_data.field_0x20;\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    (this->super_Output_section_data).super_Output_data.data_size_ =\n         ((long)(this->input_shndxes_).\n                super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl._M_finish -\n          (long)(this->input_shndxes_).\n                super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl._M_start >>\n         2) * 4 + 4;\n    (this->super_Output_section_data).super_Output_data.field_0x20 = bVar1 | 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/output.h",0x218,"set_data_size");\n}\n\n" comment (declaration "void __thiscall\ngold::Output_data_group<64,_false>::set_final_data_size(Output_data_group<64,_false> *this)\n\n{\n  byte bVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<64" < number_literal) , (ERROR "_false>::set_final_data_size(Output_data_group<64,_false> *this)\n\n{\n  byte" identifier > : : (function_declarator "set_final_data_size(Output_data_group<64,_false> *this)" identifier (parameter_list "(Output_data_group<64,_false> *this)" ( (parameter_declaration "Output_data_group" type_identifier) (ERROR "<64" < number_literal) , (parameter_declaration "_false> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) ))) { identifier) identifier ;) (expression_statement "bVar1 = (this->super_Output_section_data).super_Output_data.field_0x20;" (assignment_expression "bVar1 = (this->super_Output_section_data).super_Output_data.field_0x20" identifier = (field_expression "(this->super_Output_section_data).super_Output_data.field_0x20" (field_expression "(this->super_Output_section_data).super_Output_data" (parenthesized_expression "(this->super_Output_section_data)" ( (field_expression "this->super_Output_section_data" identifier -> field_identifier) )) . field_identifier) . field_identifier)) ;) (if_statement "if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    (this->super_Output_section_data).super_Output_data.data_size_ =\n         ((long)(this->input_shndxes_).\n                super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl._M_finish -\n          (long)(this->input_shndxes_).\n                super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl._M_start >>\n         2) * 4 + 4;\n    (this->super_Output_section_data).super_Output_data.field_0x20 = bVar1 | 2;\n    return;\n  }" if (parenthesized_expression "(((bVar1 & 2) == 0) && ((bVar1 & 8) == 0))" ( (binary_expression "((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)" (parenthesized_expression "((bVar1 & 2) == 0)" ( (binary_expression "(bVar1 & 2) == 0" (parenthesized_expression "(bVar1 & 2)" ( (binary_expression "bVar1 & 2" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "((bVar1 & 8) == 0)" ( (binary_expression "(bVar1 & 8) == 0" (parenthesized_expression "(bVar1 & 8)" ( (binary_expression "bVar1 & 8" identifier & number_literal) )) == number_literal) ))) )) (compound_statement "{\n    (this->super_Output_section_data).super_Output_data.data_size_ =\n         ((long)(this->input_shndxes_).\n                super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl._M_finish -\n          (long)(this->input_shndxes_).\n                super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl._M_start >>\n         2) * 4 + 4;\n    (this->super_Output_section_data).super_Output_data.field_0x20 = bVar1 | 2;\n    return;\n  }" { (expression_statement "(this->super_Output_section_data).super_Output_data.data_size_ =\n         ((long)(this->input_shndxes_).\n                super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl._M_finish -\n          (long)(this->input_shndxes_).\n                super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl._M_start >>\n         2) * 4 + 4;" (assignment_expression "(this->super_Output_section_data).super_Output_data.data_size_ =\n         ((long)(this->input_shndxes_).\n                super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl._M_finish -\n          (long)(this->input_shndxes_).\n                super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl._M_start >>\n         2) * 4 + 4" (field_expression "(this->super_Output_section_data).super_Output_data.data_size_" (field_expression "(this->super_Output_section_data).super_Output_data" (parenthesized_expression "(this->super_Output_section_data)" ( (field_expression "this->super_Output_section_data" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (binary_expression "((long)(this->input_shndxes_).\n                super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl._M_finish -\n          (long)(this->input_shndxes_).\n                super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl._M_start >>\n         2) * 4 + 4" (binary_expression "((long)(this->input_shndxes_).\n                super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl._M_finish -\n          (long)(this->input_shndxes_).\n                super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl._M_start >>\n         2) * 4" (parenthesized_expression "((long)(this->input_shndxes_).\n                super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl._M_finish -\n          (long)(this->input_shndxes_).\n                super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl._M_start >>\n         2)" ( (ERROR "(long)(this->input_shndxes_).\n                super__Vector_base<unsigned_int,_std::allocator<unsigned_int>_>._M_impl._M_finish -\n          (long)(this->input_shndxes_).\n                super__Vector_base<unsigned_int,_std::" (comma_expression "(long)(this->input_shndxes_).\n                super__Vector_base<unsigned_int,_std" (binary_expression "(long)(this->input_shndxes_).\n                super__Vector_base<unsigned_int" (cast_expression "(long)(this->input_shndxes_).\n                super__Vector_base" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "(this->input_shndxes_).\n                super__Vector_base" (parenthesized_expression "(this->input_shndxes_)" ( (field_expression "this->input_shndxes_" identifier -> field_identifier) )) . field_identifier)) < identifier) , identifier) : : (comma_expression "allocator<unsigned_int>_>._M_impl._M_finish -\n          (long)(this->input_shndxes_).\n                super__Vector_base<unsigned_int,_std" (binary_expression "allocator<unsigned_int>_>._M_impl._M_finish -\n          (long)(this->input_shndxes_).\n                super__Vector_base<unsigned_int" (binary_expression "allocator<unsigned_int>_>._M_impl._M_finish -\n          (long)(this->input_shndxes_).\n                super__Vector_base" (field_expression "allocator<unsigned_int>_>._M_impl._M_finish" (field_expression "allocator<unsigned_int>_>._M_impl" (binary_expression "allocator<unsigned_int>_" (binary_expression "allocator<unsigned_int" identifier < identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) - (cast_expression "(long)(this->input_shndxes_).\n                super__Vector_base" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "(this->input_shndxes_).\n                super__Vector_base" (parenthesized_expression "(this->input_shndxes_)" ( (field_expression "this->input_shndxes_" identifier -> field_identifier) )) . field_identifier))) < identifier) , identifier) : :) (binary_expression "allocator<unsigned_int>_>._M_impl._M_start >>\n         2" (field_expression "allocator<unsigned_int>_>._M_impl._M_start" (field_expression "allocator<unsigned_int>_>._M_impl" (binary_expression "allocator<unsigned_int>_" (binary_expression "allocator<unsigned_int" identifier < identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) >> number_literal) )) * number_literal) + number_literal)) ;) (expression_statement "(this->super_Output_section_data).super_Output_data.field_0x20 = bVar1 | 2;" (assignment_expression "(this->super_Output_section_data).super_Output_data.field_0x20 = bVar1 | 2" (field_expression "(this->super_Output_section_data).super_Output_data.field_0x20" (field_expression "(this->super_Output_section_data).super_Output_data" (parenthesized_expression "(this->super_Output_section_data)" ( (field_expression "this->super_Output_section_data" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (binary_expression "bVar1 | 2" identifier | number_literal)) ;) (return_statement "return;" return ;) })) comment (expression_statement "do_gold_unreachable("../../gold/output.h",0x218,"set_data_size");" (call_expression "do_gold_unreachable("../../gold/output.h",0x218,"set_data_size")" identifier (argument_list "("../../gold/output.h",0x218,"set_data_size")" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""set_data_size"" " string_content ") ))) ;) (ERROR "}" }))
(translation_unit "void FUN_00268e10(long param_1)\n\n{\n  byte bVar1;\n  \n  bVar1 = *(byte *)(param_1 + 0x20);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(long *)(param_1 + 0x10) = (*(long *)(param_1 + 0x50) - *(long *)(param_1 + 0x48) >> 2) * 4 + 4\n    ;\n    *(byte *)(param_1 + 0x20) = bVar1 | 2;\n    return;\n  }\n                    \n  FUN_001e9890("../../gold/output.h",0x218,"set_data_size");\n}\n\n" (function_definition "void FUN_00268e10(long param_1)\n\n{\n  byte bVar1;\n  \n  bVar1 = *(byte *)(param_1 + 0x20);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(long *)(param_1 + 0x10) = (*(long *)(param_1 + 0x50) - *(long *)(param_1 + 0x48) >> 2) * 4 + 4\n    ;\n    *(byte *)(param_1 + 0x20) = bVar1 | 2;\n    return;\n  }\n                    \n  FUN_001e9890("../../gold/output.h",0x218,"set_data_size");\n}" primitive_type (function_declarator "FUN_00268e10(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  byte bVar1;\n  \n  bVar1 = *(byte *)(param_1 + 0x20);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(long *)(param_1 + 0x10) = (*(long *)(param_1 + 0x50) - *(long *)(param_1 + 0x48) >> 2) * 4 + 4\n    ;\n    *(byte *)(param_1 + 0x20) = bVar1 | 2;\n    return;\n  }\n                    \n  FUN_001e9890("../../gold/output.h",0x218,"set_data_size");\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (expression_statement "bVar1 = *(byte *)(param_1 + 0x20);" (assignment_expression "bVar1 = *(byte *)(param_1 + 0x20)" identifier = (pointer_expression "*(byte *)(param_1 + 0x20)" * (cast_expression "(byte *)(param_1 + 0x20)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) ))))) ;) (if_statement "if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(long *)(param_1 + 0x10) = (*(long *)(param_1 + 0x50) - *(long *)(param_1 + 0x48) >> 2) * 4 + 4\n    ;\n    *(byte *)(param_1 + 0x20) = bVar1 | 2;\n    return;\n  }" if (parenthesized_expression "(((bVar1 & 2) == 0) && ((bVar1 & 8) == 0))" ( (binary_expression "((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)" (parenthesized_expression "((bVar1 & 2) == 0)" ( (binary_expression "(bVar1 & 2) == 0" (parenthesized_expression "(bVar1 & 2)" ( (binary_expression "bVar1 & 2" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "((bVar1 & 8) == 0)" ( (binary_expression "(bVar1 & 8) == 0" (parenthesized_expression "(bVar1 & 8)" ( (binary_expression "bVar1 & 8" identifier & number_literal) )) == number_literal) ))) )) (compound_statement "{\n    *(long *)(param_1 + 0x10) = (*(long *)(param_1 + 0x50) - *(long *)(param_1 + 0x48) >> 2) * 4 + 4\n    ;\n    *(byte *)(param_1 + 0x20) = bVar1 | 2;\n    return;\n  }" { (expression_statement "*(long *)(param_1 + 0x10) = (*(long *)(param_1 + 0x50) - *(long *)(param_1 + 0x48) >> 2) * 4 + 4\n    ;" (assignment_expression "*(long *)(param_1 + 0x10) = (*(long *)(param_1 + 0x50) - *(long *)(param_1 + 0x48) >> 2) * 4 + 4" (pointer_expression "*(long *)(param_1 + 0x10)" * (cast_expression "(long *)(param_1 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = (binary_expression "(*(long *)(param_1 + 0x50) - *(long *)(param_1 + 0x48) >> 2) * 4 + 4" (binary_expression "(*(long *)(param_1 + 0x50) - *(long *)(param_1 + 0x48) >> 2) * 4" (parenthesized_expression "(*(long *)(param_1 + 0x50) - *(long *)(param_1 + 0x48) >> 2)" ( (binary_expression "*(long *)(param_1 + 0x50) - *(long *)(param_1 + 0x48) >> 2" (binary_expression "*(long *)(param_1 + 0x50) - *(long *)(param_1 + 0x48)" (pointer_expression "*(long *)(param_1 + 0x50)" * (cast_expression "(long *)(param_1 + 0x50)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) - (pointer_expression "*(long *)(param_1 + 0x48)" * (cast_expression "(long *)(param_1 + 0x48)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) ))))) >> number_literal) )) * number_literal) + number_literal)) ;) (expression_statement "*(byte *)(param_1 + 0x20) = bVar1 | 2;" (assignment_expression "*(byte *)(param_1 + 0x20) = bVar1 | 2" (pointer_expression "*(byte *)(param_1 + 0x20)" * (cast_expression "(byte *)(param_1 + 0x20)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) = (binary_expression "bVar1 | 2" identifier | number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_001e9890("../../gold/output.h",0x218,"set_data_size");" (call_expression "FUN_001e9890("../../gold/output.h",0x218,"set_data_size")" identifier (argument_list "("../../gold/output.h",0x218,"set_data_size")" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""set_data_size"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) >> LIT) )) * LIT) + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT | LIT)) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "void FUN_00268e10(long param_1)\n\n{\n  byte bVar1;\n  \n  bVar1 = *(byte *)(param_1 + 0x20);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(long *)(param_1 + 0x10) = (*(long *)(param_1 + 0x50) - *(long *)(param_1 + 0x48) >> 2) * 4 + 4\n    ;\n    *(byte *)(param_1 + 0x20) = bVar1 | 2;\n    return;\n  }\n                    \n  FUN_001e9890("../../gold/output.h",0x218,"set_data_size");\n}" (primitive_type "void") (function_declarator "FUN_00268e10(long param_1)" (identifier "FUN_00268e10") (parameter_list "(long param_1)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) () ")"))) (compound_statement "{\n  byte bVar1;\n  \n  bVar1 = *(byte *)(param_1 + 0x20);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(long *)(param_1 + 0x10) = (*(long *)(param_1 + 0x50) - *(long *)(param_1 + 0x48) >> 2) * 4 + 4\n    ;\n    *(byte *)(param_1 + 0x20) = bVar1 | 2;\n    return;\n  }\n                    \n  FUN_001e9890("../../gold/output.h",0x218,"set_data_size");\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (expression_statement "bVar1 = *(byte *)(param_1 + 0x20);" (assignment_expression "bVar1 = *(byte *)(param_1 + 0x20)" (identifier "bVar1") (= "=") (pointer_expression "*(byte *)(param_1 + 0x20)" (* "*") (cast_expression "(byte *)(param_1 + 0x20)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (if_statement "if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(long *)(param_1 + 0x10) = (*(long *)(param_1 + 0x50) - *(long *)(param_1 + 0x48) >> 2) * 4 + 4\n    ;\n    *(byte *)(param_1 + 0x20) = bVar1 | 2;\n    return;\n  }" (if "if") (parenthesized_expression "(((bVar1 & 2) == 0) && ((bVar1 & 8) == 0))" (( "(") (binary_expression "((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)" (parenthesized_expression "((bVar1 & 2) == 0)" (( "(") (binary_expression "(bVar1 & 2) == 0" (parenthesized_expression "(bVar1 & 2)" (( "(") (binary_expression "bVar1 & 2" (identifier "bVar1") (& "&") (number_literal "2")) () ")")) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((bVar1 & 8) == 0)" (( "(") (binary_expression "(bVar1 & 8) == 0" (parenthesized_expression "(bVar1 & 8)" (( "(") (binary_expression "bVar1 & 8" (identifier "bVar1") (& "&") (number_literal "8")) () ")")) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    *(long *)(param_1 + 0x10) = (*(long *)(param_1 + 0x50) - *(long *)(param_1 + 0x48) >> 2) * 4 + 4\n    ;\n    *(byte *)(param_1 + 0x20) = bVar1 | 2;\n    return;\n  }" ({ "{") (expression_statement "*(long *)(param_1 + 0x10) = (*(long *)(param_1 + 0x50) - *(long *)(param_1 + 0x48) >> 2) * 4 + 4\n    ;" (assignment_expression "*(long *)(param_1 + 0x10) = (*(long *)(param_1 + 0x50) - *(long *)(param_1 + 0x48) >> 2) * 4 + 4" (pointer_expression "*(long *)(param_1 + 0x10)" (* "*") (cast_expression "(long *)(param_1 + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (binary_expression "(*(long *)(param_1 + 0x50) - *(long *)(param_1 + 0x48) >> 2) * 4 + 4" (binary_expression "(*(long *)(param_1 + 0x50) - *(long *)(param_1 + 0x48) >> 2) * 4" (parenthesized_expression "(*(long *)(param_1 + 0x50) - *(long *)(param_1 + 0x48) >> 2)" (( "(") (binary_expression "*(long *)(param_1 + 0x50) - *(long *)(param_1 + 0x48) >> 2" (binary_expression "*(long *)(param_1 + 0x50) - *(long *)(param_1 + 0x48)" (pointer_expression "*(long *)(param_1 + 0x50)" (* "*") (cast_expression "(long *)(param_1 + 0x50)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x50)" (( "(") (binary_expression "param_1 + 0x50" (identifier "param_1") (+ "+") (number_literal "0x50")) () ")")))) (- "-") (pointer_expression "*(long *)(param_1 + 0x48)" (* "*") (cast_expression "(long *)(param_1 + 0x48)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x48)" (( "(") (binary_expression "param_1 + 0x48" (identifier "param_1") (+ "+") (number_literal "0x48")) () ")"))))) (>> ">>") (number_literal "2")) () ")")) (* "*") (number_literal "4")) (+ "+") (number_literal "4"))) (; ";")) (expression_statement "*(byte *)(param_1 + 0x20) = bVar1 | 2;" (assignment_expression "*(byte *)(param_1 + 0x20) = bVar1 | 2" (pointer_expression "*(byte *)(param_1 + 0x20)" (* "*") (cast_expression "(byte *)(param_1 + 0x20)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (binary_expression "bVar1 | 2" (identifier "bVar1") (| "|") (number_literal "2"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_001e9890("../../gold/output.h",0x218,"set_data_size");" (call_expression "FUN_001e9890("../../gold/output.h",0x218,"set_data_size")" (identifier "FUN_001e9890") (argument_list "("../../gold/output.h",0x218,"set_data_size")" (( "(") (string_literal ""../../gold/output.h"" (" """) (string_content "../../gold/output.h") (" """)) (, ",") (number_literal "0x218") (, ",") (string_literal ""set_data_size"" (" """) (string_content "set_data_size") (" """)) () ")"))) (; ";")) (} "}")))

/* DWARF original prototype: void set_final_data_size(Output_data_group<64,_false> * this) */

void __thiscall
gold::Output_data_group<64,_false>::set_final_data_size(Output_data_group<64,_false> *this)

{
  byte var_1;
  
  var_1 = (this->super_Output_section_data).super_Output_data.field_0x20;
  if (((var_1 & 2) == 0) && ((var_1 & 8) == 0)) {
    (this->super_Output_section_data).super_Output_data.data_size_ =
         ((long)(this->input_shndxes_).
                super__Vector_base<var_3,_std::var_2<var_3>var_4>._M_impl._M_finish -
          (long)(this->input_shndxes_).
                super__Vector_base<var_3,_std::var_2<var_3>var_4>._M_impl._M_start >>
         2) * 4 + 4;
    (this->super_Output_section_data).super_Output_data.field_0x20 = var_1 | 2;
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_5("../../gold/output.h",0x218,"set_data_size");
}


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

void MASKED(long param_1)

{
  byte bVar1;
  
  bVar1 = *(byte *)(param_1 + 0x20);
  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {
    *(long *)(param_1 + 0x10) = (*(long *)(param_1 + 0x50) - *(long *)(param_1 + 0x48) >> 2) * 4 + 4
    ;
    *(byte *)(param_1 + 0x20) = bVar1 | 2;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_001e9890("../../gold/output.h",0x218,"set_data_size");
}

