
/* DWARF original prototype: void set_final_data_size(Output_data_plt_sparc<64,_true> * this) */

void __thiscall
anon_unknown.dwarf_4cd88d::Output_data_plt_sparc<64,_true>::set_final_data_size
          (Output_data_plt_sparc<64,_true> *this)

{
  byte bVar1;
  int iVar2;
  uint uVar3;
  section_offset_type offset;
  
  iVar2 = this->ifunc_count_ + this->count_;
  uVar3 = iVar2 + 4;
  if (uVar3 < 0x8000) {
    uVar3 = uVar3 * 0x20;
  }
  else {
    uVar3 = iVar2 - 0x7ffc;
    uVar3 = (uVar3 / 0xa0) * 0x500 + 0x100000 + uVar3 * 0x18;
  }
  bVar1 = this->field_0x20;
  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {
    *(ulong *)&this->field_0x10 = (ulong)uVar3;
    this->field_0x20 = bVar1 | 2;
    return;
  }
                    /* WARNING: Subroutine does not return */
  gold::do_gold_unreachable("../../gold/output.h",0x218,"set_data_size");
}



void FUN_001c6c10(long param_1)

{
  byte bVar1;
  int iVar2;
  uint uVar3;
  
  iVar2 = *(int *)(param_1 + 0x4c) + *(int *)(param_1 + 0x48);
  uVar3 = iVar2 + 4;
  if (uVar3 < 0x8000) {
    uVar3 = uVar3 * 0x20;
  }
  else {
    uVar3 = iVar2 - 0x7ffc;
    uVar3 = (uVar3 / 0xa0) * 0x500 + 0x100000 + uVar3 * 0x18;
  }
  bVar1 = *(byte *)(param_1 + 0x20);
  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {
    *(ulong *)(param_1 + 0x10) = (ulong)uVar3;
    *(byte *)(param_1 + 0x20) = bVar1 | 2;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00352af0("../../gold/output.h",0x218,"set_data_size");
}


MOV EAX,dword ptr [RDI + 0x4c]
ADD EAX,dword ptr [RDI + 0x48]
LEA EDX,[RAX + 0x4]
CMP EDX,0x7fff
JA 0x001c6c40
SHL EDX,0x5
MOVZX EAX,byte ptr [RDI + 0x20]
TEST AL,0x2
JNZ 0x001c6c6b
TEST AL,0x8
JNZ 0x001c6c6b
OR EAX,0x2
MOV qword ptr [RDI + 0x10],RDX
MOV byte ptr [RDI + 0x20],AL
RET
LEA ECX,[RAX + -0x7ffc]
MOV EDX,0xcccccccd
MOV EAX,ECX
MUL EDX
SHR EDX,0x7
LEA EAX,[RDX + RDX*0x4]
MOV EDX,EAX
SHL EAX,0x5
SUB ECX,EAX
SHL EDX,0xa
LEA EAX,[RCX + RCX*0x2]
LEA EDX,[RDX + RAX*0x8 + 0x100000]
JMP 0x001c6c24
PUSH RAX
LEA RDX,[0x53c4a8]
MOV ESI,0x218
LEA RDI,[0x533384]
CALL 0x00352af0
(translation_unit "void FUN_001c6c10(long param_1)\n\n{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  \n  iVar2 = *(int *)(param_1 + 0x4c) + *(int *)(param_1 + 0x48);\n  uVar3 = iVar2 + 4;\n  if (uVar3 < 0x8000) {\n    uVar3 = uVar3 * 0x20;\n  }\n  else {\n    uVar3 = iVar2 - 0x7ffc;\n    uVar3 = (uVar3 / 0xa0) * 0x500 + 0x100000 + uVar3 * 0x18;\n  }\n  bVar1 = *(byte *)(param_1 + 0x20);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(ulong *)(param_1 + 0x10) = (ulong)uVar3;\n    *(byte *)(param_1 + 0x20) = bVar1 | 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00352af0("../../gold/output.h",0x218,"set_data_size");\n}\n\n" (function_definition "void FUN_001c6c10(long param_1)\n\n{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  \n  iVar2 = *(int *)(param_1 + 0x4c) + *(int *)(param_1 + 0x48);\n  uVar3 = iVar2 + 4;\n  if (uVar3 < 0x8000) {\n    uVar3 = uVar3 * 0x20;\n  }\n  else {\n    uVar3 = iVar2 - 0x7ffc;\n    uVar3 = (uVar3 / 0xa0) * 0x500 + 0x100000 + uVar3 * 0x18;\n  }\n  bVar1 = *(byte *)(param_1 + 0x20);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(ulong *)(param_1 + 0x10) = (ulong)uVar3;\n    *(byte *)(param_1 + 0x20) = bVar1 | 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00352af0("../../gold/output.h",0x218,"set_data_size");\n}" primitive_type (function_declarator "FUN_001c6c10(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  int iVar2;\n  uint uVar3;\n  \n  iVar2 = *(int *)(param_1 + 0x4c) + *(int *)(param_1 + 0x48);\n  uVar3 = iVar2 + 4;\n  if (uVar3 < 0x8000) {\n    uVar3 = uVar3 * 0x20;\n  }\n  else {\n    uVar3 = iVar2 - 0x7ffc;\n    uVar3 = (uVar3 / 0xa0) * 0x500 + 0x100000 + uVar3 * 0x18;\n  }\n  bVar1 = *(byte *)(param_1 + 0x20);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(ulong *)(param_1 + 0x10) = (ulong)uVar3;\n    *(byte *)(param_1 + 0x20) = bVar1 | 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00352af0("../../gold/output.h",0x218,"set_data_size");\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (expression_statement "iVar2 = *(int *)(param_1 + 0x4c) + *(int *)(param_1 + 0x48);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x4c) + *(int *)(param_1 + 0x48)" identifier = (binary_expression "*(int *)(param_1 + 0x4c) + *(int *)(param_1 + 0x48)" (pointer_expression "*(int *)(param_1 + 0x4c)" * (cast_expression "(int *)(param_1 + 0x4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x4c)" ( (binary_expression "param_1 + 0x4c" identifier + number_literal) )))) + (pointer_expression "*(int *)(param_1 + 0x48)" * (cast_expression "(int *)(param_1 + 0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))))) ;) (expression_statement "uVar3 = iVar2 + 4;" (assignment_expression "uVar3 = iVar2 + 4" identifier = (binary_expression "iVar2 + 4" identifier + number_literal)) ;) (if_statement "if (uVar3 < 0x8000) {\n    uVar3 = uVar3 * 0x20;\n  }\n  else {\n    uVar3 = iVar2 - 0x7ffc;\n    uVar3 = (uVar3 / 0xa0) * 0x500 + 0x100000 + uVar3 * 0x18;\n  }" if (parenthesized_expression "(uVar3 < 0x8000)" ( (binary_expression "uVar3 < 0x8000" identifier < number_literal) )) (compound_statement "{\n    uVar3 = uVar3 * 0x20;\n  }" { (expression_statement "uVar3 = uVar3 * 0x20;" (assignment_expression "uVar3 = uVar3 * 0x20" identifier = (binary_expression "uVar3 * 0x20" identifier * number_literal)) ;) }) (else_clause "else {\n    uVar3 = iVar2 - 0x7ffc;\n    uVar3 = (uVar3 / 0xa0) * 0x500 + 0x100000 + uVar3 * 0x18;\n  }" else (compound_statement "{\n    uVar3 = iVar2 - 0x7ffc;\n    uVar3 = (uVar3 / 0xa0) * 0x500 + 0x100000 + uVar3 * 0x18;\n  }" { (expression_statement "uVar3 = iVar2 - 0x7ffc;" (assignment_expression "uVar3 = iVar2 - 0x7ffc" identifier = (binary_expression "iVar2 - 0x7ffc" identifier - number_literal)) ;) (expression_statement "uVar3 = (uVar3 / 0xa0) * 0x500 + 0x100000 + uVar3 * 0x18;" (assignment_expression "uVar3 = (uVar3 / 0xa0) * 0x500 + 0x100000 + uVar3 * 0x18" identifier = (binary_expression "(uVar3 / 0xa0) * 0x500 + 0x100000 + uVar3 * 0x18" (binary_expression "(uVar3 / 0xa0) * 0x500 + 0x100000" (binary_expression "(uVar3 / 0xa0) * 0x500" (parenthesized_expression "(uVar3 / 0xa0)" ( (binary_expression "uVar3 / 0xa0" identifier / number_literal) )) * number_literal) + number_literal) + (binary_expression "uVar3 * 0x18" identifier * number_literal))) ;) }))) (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    *(ulong *)(param_1 + 0x10) = (ulong)uVar3;\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    *(ulong *)(param_1 + 0x10) = (ulong)uVar3;\n    *(byte *)(param_1 + 0x20) = bVar1 | 2;\n    return;\n  }" { (expression_statement "*(ulong *)(param_1 + 0x10) = (ulong)uVar3;" (assignment_expression "*(ulong *)(param_1 + 0x10) = (ulong)uVar3" (pointer_expression "*(ulong *)(param_1 + 0x10)" * (cast_expression "(ulong *)(param_1 + 0x10)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = (cast_expression "(ulong)uVar3" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (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_00352af0("../../gold/output.h",0x218,"set_data_size");" (call_expression "FUN_00352af0("../../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_plt_sparc<64,_true> * this) */\n\nvoid __thiscall\nanon_unknown.dwarf_4cd88d::Output_data_plt_sparc<64,_true>::set_final_data_size\n          (Output_data_plt_sparc<64,_true> *this)\n\n{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  section_offset_type offset;\n  \n  iVar2 = this->ifunc_count_ + this->count_;\n  uVar3 = iVar2 + 4;\n  if (uVar3 < 0x8000) {\n    uVar3 = uVar3 * 0x20;\n  }\n  else {\n    uVar3 = iVar2 - 0x7ffc;\n    uVar3 = (uVar3 / 0xa0) * 0x500 + 0x100000 + uVar3 * 0x18;\n  }\n  bVar1 = this->field_0x20;\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(ulong *)&this->field_0x10 = (ulong)uVar3;\n    this->field_0x20 = bVar1 | 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  gold::do_gold_unreachable("../../gold/output.h",0x218,"set_data_size");\n}\n\n" comment (declaration "void __thiscall\nanon_unknown.dwarf_4cd88d::Output_data_plt_sparc<64,_true>::set_final_data_size\n          (Output_data_plt_sparc<64,_true> *this)\n\n{\n  byte bVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "anon_unknown.dwarf_4cd88d::" identifier . identifier : :) identifier (ERROR "<64" < number_literal) , (ERROR "_true>::set_final_data_size\n          (Output_data_plt_sparc<64,_true> *this)\n\n{\n  byte" identifier > : : (function_declarator "set_final_data_size\n          (Output_data_plt_sparc<64,_true> *this)" identifier (parameter_list "(Output_data_plt_sparc<64,_true> *this)" ( (parameter_declaration "Output_data_plt_sparc" type_identifier) (ERROR "<64" < number_literal) , (parameter_declaration "_true> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) ))) { identifier) identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "section_offset_type offset;" type_identifier identifier ;) (expression_statement "iVar2 = this->ifunc_count_ + this->count_;" (assignment_expression "iVar2 = this->ifunc_count_ + this->count_" identifier = (binary_expression "this->ifunc_count_ + this->count_" (field_expression "this->ifunc_count_" identifier -> field_identifier) + (field_expression "this->count_" identifier -> field_identifier))) ;) (expression_statement "uVar3 = iVar2 + 4;" (assignment_expression "uVar3 = iVar2 + 4" identifier = (binary_expression "iVar2 + 4" identifier + number_literal)) ;) (if_statement "if (uVar3 < 0x8000) {\n    uVar3 = uVar3 * 0x20;\n  }\n  else {\n    uVar3 = iVar2 - 0x7ffc;\n    uVar3 = (uVar3 / 0xa0) * 0x500 + 0x100000 + uVar3 * 0x18;\n  }" if (parenthesized_expression "(uVar3 < 0x8000)" ( (binary_expression "uVar3 < 0x8000" identifier < number_literal) )) (compound_statement "{\n    uVar3 = uVar3 * 0x20;\n  }" { (expression_statement "uVar3 = uVar3 * 0x20;" (assignment_expression "uVar3 = uVar3 * 0x20" identifier = (binary_expression "uVar3 * 0x20" identifier * number_literal)) ;) }) (else_clause "else {\n    uVar3 = iVar2 - 0x7ffc;\n    uVar3 = (uVar3 / 0xa0) * 0x500 + 0x100000 + uVar3 * 0x18;\n  }" else (compound_statement "{\n    uVar3 = iVar2 - 0x7ffc;\n    uVar3 = (uVar3 / 0xa0) * 0x500 + 0x100000 + uVar3 * 0x18;\n  }" { (expression_statement "uVar3 = iVar2 - 0x7ffc;" (assignment_expression "uVar3 = iVar2 - 0x7ffc" identifier = (binary_expression "iVar2 - 0x7ffc" identifier - number_literal)) ;) (expression_statement "uVar3 = (uVar3 / 0xa0) * 0x500 + 0x100000 + uVar3 * 0x18;" (assignment_expression "uVar3 = (uVar3 / 0xa0) * 0x500 + 0x100000 + uVar3 * 0x18" identifier = (binary_expression "(uVar3 / 0xa0) * 0x500 + 0x100000 + uVar3 * 0x18" (binary_expression "(uVar3 / 0xa0) * 0x500 + 0x100000" (binary_expression "(uVar3 / 0xa0) * 0x500" (parenthesized_expression "(uVar3 / 0xa0)" ( (binary_expression "uVar3 / 0xa0" identifier / number_literal) )) * number_literal) + number_literal) + (binary_expression "uVar3 * 0x18" identifier * number_literal))) ;) }))) (expression_statement "bVar1 = this->field_0x20;" (assignment_expression "bVar1 = this->field_0x20" identifier = (field_expression "this->field_0x20" identifier -> field_identifier)) ;) (if_statement "if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(ulong *)&this->field_0x10 = (ulong)uVar3;\n    this->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    *(ulong *)&this->field_0x10 = (ulong)uVar3;\n    this->field_0x20 = bVar1 | 2;\n    return;\n  }" { (expression_statement "*(ulong *)&this->field_0x10 = (ulong)uVar3;" (assignment_expression "*(ulong *)&this->field_0x10 = (ulong)uVar3" (pointer_expression "*(ulong *)&this->field_0x10" * (cast_expression "(ulong *)&this->field_0x10" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&this->field_0x10" & (field_expression "this->field_0x10" identifier -> field_identifier)))) = (cast_expression "(ulong)uVar3" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (expression_statement "this->field_0x20 = bVar1 | 2;" (assignment_expression "this->field_0x20 = bVar1 | 2" (field_expression "this->field_0x20" identifier -> field_identifier) = (binary_expression "bVar1 | 2" identifier | number_literal)) ;) (return_statement "return;" return ;) })) comment (labeled_statement "gold::do_gold_unreachable("../../gold/output.h",0x218,"set_data_size");" statement_identifier : (ERROR ":" :) (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_001c6c10(long param_1)\n\n{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  \n  iVar2 = *(int *)(param_1 + 0x4c) + *(int *)(param_1 + 0x48);\n  uVar3 = iVar2 + 4;\n  if (uVar3 < 0x8000) {\n    uVar3 = uVar3 * 0x20;\n  }\n  else {\n    uVar3 = iVar2 - 0x7ffc;\n    uVar3 = (uVar3 / 0xa0) * 0x500 + 0x100000 + uVar3 * 0x18;\n  }\n  bVar1 = *(byte *)(param_1 + 0x20);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(ulong *)(param_1 + 0x10) = (ulong)uVar3;\n    *(byte *)(param_1 + 0x20) = bVar1 | 2;\n    return;\n  }\n                    \n  FUN_00352af0("../../gold/output.h",0x218,"set_data_size");\n}\n\n" (function_definition "void FUN_001c6c10(long param_1)\n\n{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  \n  iVar2 = *(int *)(param_1 + 0x4c) + *(int *)(param_1 + 0x48);\n  uVar3 = iVar2 + 4;\n  if (uVar3 < 0x8000) {\n    uVar3 = uVar3 * 0x20;\n  }\n  else {\n    uVar3 = iVar2 - 0x7ffc;\n    uVar3 = (uVar3 / 0xa0) * 0x500 + 0x100000 + uVar3 * 0x18;\n  }\n  bVar1 = *(byte *)(param_1 + 0x20);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(ulong *)(param_1 + 0x10) = (ulong)uVar3;\n    *(byte *)(param_1 + 0x20) = bVar1 | 2;\n    return;\n  }\n                    \n  FUN_00352af0("../../gold/output.h",0x218,"set_data_size");\n}" primitive_type (function_declarator "FUN_001c6c10(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  int iVar2;\n  uint uVar3;\n  \n  iVar2 = *(int *)(param_1 + 0x4c) + *(int *)(param_1 + 0x48);\n  uVar3 = iVar2 + 4;\n  if (uVar3 < 0x8000) {\n    uVar3 = uVar3 * 0x20;\n  }\n  else {\n    uVar3 = iVar2 - 0x7ffc;\n    uVar3 = (uVar3 / 0xa0) * 0x500 + 0x100000 + uVar3 * 0x18;\n  }\n  bVar1 = *(byte *)(param_1 + 0x20);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(ulong *)(param_1 + 0x10) = (ulong)uVar3;\n    *(byte *)(param_1 + 0x20) = bVar1 | 2;\n    return;\n  }\n                    \n  FUN_00352af0("../../gold/output.h",0x218,"set_data_size");\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (expression_statement "iVar2 = *(int *)(param_1 + 0x4c) + *(int *)(param_1 + 0x48);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x4c) + *(int *)(param_1 + 0x48)" identifier = (binary_expression "*(int *)(param_1 + 0x4c) + *(int *)(param_1 + 0x48)" (pointer_expression "*(int *)(param_1 + 0x4c)" * (cast_expression "(int *)(param_1 + 0x4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x4c)" ( (binary_expression "param_1 + 0x4c" identifier + number_literal) )))) + (pointer_expression "*(int *)(param_1 + 0x48)" * (cast_expression "(int *)(param_1 + 0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))))) ;) (expression_statement "uVar3 = iVar2 + 4;" (assignment_expression "uVar3 = iVar2 + 4" identifier = (binary_expression "iVar2 + 4" identifier + number_literal)) ;) (if_statement "if (uVar3 < 0x8000) {\n    uVar3 = uVar3 * 0x20;\n  }\n  else {\n    uVar3 = iVar2 - 0x7ffc;\n    uVar3 = (uVar3 / 0xa0) * 0x500 + 0x100000 + uVar3 * 0x18;\n  }" if (parenthesized_expression "(uVar3 < 0x8000)" ( (binary_expression "uVar3 < 0x8000" identifier < number_literal) )) (compound_statement "{\n    uVar3 = uVar3 * 0x20;\n  }" { (expression_statement "uVar3 = uVar3 * 0x20;" (assignment_expression "uVar3 = uVar3 * 0x20" identifier = (binary_expression "uVar3 * 0x20" identifier * number_literal)) ;) }) (else_clause "else {\n    uVar3 = iVar2 - 0x7ffc;\n    uVar3 = (uVar3 / 0xa0) * 0x500 + 0x100000 + uVar3 * 0x18;\n  }" else (compound_statement "{\n    uVar3 = iVar2 - 0x7ffc;\n    uVar3 = (uVar3 / 0xa0) * 0x500 + 0x100000 + uVar3 * 0x18;\n  }" { (expression_statement "uVar3 = iVar2 - 0x7ffc;" (assignment_expression "uVar3 = iVar2 - 0x7ffc" identifier = (binary_expression "iVar2 - 0x7ffc" identifier - number_literal)) ;) (expression_statement "uVar3 = (uVar3 / 0xa0) * 0x500 + 0x100000 + uVar3 * 0x18;" (assignment_expression "uVar3 = (uVar3 / 0xa0) * 0x500 + 0x100000 + uVar3 * 0x18" identifier = (binary_expression "(uVar3 / 0xa0) * 0x500 + 0x100000 + uVar3 * 0x18" (binary_expression "(uVar3 / 0xa0) * 0x500 + 0x100000" (binary_expression "(uVar3 / 0xa0) * 0x500" (parenthesized_expression "(uVar3 / 0xa0)" ( (binary_expression "uVar3 / 0xa0" identifier / number_literal) )) * number_literal) + number_literal) + (binary_expression "uVar3 * 0x18" identifier * number_literal))) ;) }))) (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    *(ulong *)(param_1 + 0x10) = (ulong)uVar3;\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    *(ulong *)(param_1 + 0x10) = (ulong)uVar3;\n    *(byte *)(param_1 + 0x20) = bVar1 | 2;\n    return;\n  }" { (expression_statement "*(ulong *)(param_1 + 0x10) = (ulong)uVar3;" (assignment_expression "*(ulong *)(param_1 + 0x10) = (ulong)uVar3" (pointer_expression "*(ulong *)(param_1 + 0x10)" * (cast_expression "(ulong *)(param_1 + 0x10)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = (cast_expression "(ulong)uVar3" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (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_00352af0("../../gold/output.h",0x218,"set_data_size");" (call_expression "FUN_00352af0("../../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 ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT / LIT) )) * LIT) + LIT) + (binary_expression IDENT * LIT))) ;) }))) (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 TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (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_001c6c10(long param_1)\n\n{\n  byte bVar1;\n  int iVar2;\n  uint uVar3;\n  \n  iVar2 = *(int *)(param_1 + 0x4c) + *(int *)(param_1 + 0x48);\n  uVar3 = iVar2 + 4;\n  if (uVar3 < 0x8000) {\n    uVar3 = uVar3 * 0x20;\n  }\n  else {\n    uVar3 = iVar2 - 0x7ffc;\n    uVar3 = (uVar3 / 0xa0) * 0x500 + 0x100000 + uVar3 * 0x18;\n  }\n  bVar1 = *(byte *)(param_1 + 0x20);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(ulong *)(param_1 + 0x10) = (ulong)uVar3;\n    *(byte *)(param_1 + 0x20) = bVar1 | 2;\n    return;\n  }\n                    \n  FUN_00352af0("../../gold/output.h",0x218,"set_data_size");\n}" (primitive_type "void") (function_declarator "FUN_001c6c10(long param_1)" (identifier "FUN_001c6c10") (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  int iVar2;\n  uint uVar3;\n  \n  iVar2 = *(int *)(param_1 + 0x4c) + *(int *)(param_1 + 0x48);\n  uVar3 = iVar2 + 4;\n  if (uVar3 < 0x8000) {\n    uVar3 = uVar3 * 0x20;\n  }\n  else {\n    uVar3 = iVar2 - 0x7ffc;\n    uVar3 = (uVar3 / 0xa0) * 0x500 + 0x100000 + uVar3 * 0x18;\n  }\n  bVar1 = *(byte *)(param_1 + 0x20);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(ulong *)(param_1 + 0x10) = (ulong)uVar3;\n    *(byte *)(param_1 + 0x20) = bVar1 | 2;\n    return;\n  }\n                    \n  FUN_00352af0("../../gold/output.h",0x218,"set_data_size");\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (expression_statement "iVar2 = *(int *)(param_1 + 0x4c) + *(int *)(param_1 + 0x48);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x4c) + *(int *)(param_1 + 0x48)" (identifier "iVar2") (= "=") (binary_expression "*(int *)(param_1 + 0x4c) + *(int *)(param_1 + 0x48)" (pointer_expression "*(int *)(param_1 + 0x4c)" (* "*") (cast_expression "(int *)(param_1 + 0x4c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x4c)" (( "(") (binary_expression "param_1 + 0x4c" (identifier "param_1") (+ "+") (number_literal "0x4c")) () ")")))) (+ "+") (pointer_expression "*(int *)(param_1 + 0x48)" (* "*") (cast_expression "(int *)(param_1 + 0x48)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x48)" (( "(") (binary_expression "param_1 + 0x48" (identifier "param_1") (+ "+") (number_literal "0x48")) () ")")))))) (; ";")) (expression_statement "uVar3 = iVar2 + 4;" (assignment_expression "uVar3 = iVar2 + 4" (identifier "uVar3") (= "=") (binary_expression "iVar2 + 4" (identifier "iVar2") (+ "+") (number_literal "4"))) (; ";")) (if_statement "if (uVar3 < 0x8000) {\n    uVar3 = uVar3 * 0x20;\n  }\n  else {\n    uVar3 = iVar2 - 0x7ffc;\n    uVar3 = (uVar3 / 0xa0) * 0x500 + 0x100000 + uVar3 * 0x18;\n  }" (if "if") (parenthesized_expression "(uVar3 < 0x8000)" (( "(") (binary_expression "uVar3 < 0x8000" (identifier "uVar3") (< "<") (number_literal "0x8000")) () ")")) (compound_statement "{\n    uVar3 = uVar3 * 0x20;\n  }" ({ "{") (expression_statement "uVar3 = uVar3 * 0x20;" (assignment_expression "uVar3 = uVar3 * 0x20" (identifier "uVar3") (= "=") (binary_expression "uVar3 * 0x20" (identifier "uVar3") (* "*") (number_literal "0x20"))) (; ";")) (} "}")) (else_clause "else {\n    uVar3 = iVar2 - 0x7ffc;\n    uVar3 = (uVar3 / 0xa0) * 0x500 + 0x100000 + uVar3 * 0x18;\n  }" (else "else") (compound_statement "{\n    uVar3 = iVar2 - 0x7ffc;\n    uVar3 = (uVar3 / 0xa0) * 0x500 + 0x100000 + uVar3 * 0x18;\n  }" ({ "{") (expression_statement "uVar3 = iVar2 - 0x7ffc;" (assignment_expression "uVar3 = iVar2 - 0x7ffc" (identifier "uVar3") (= "=") (binary_expression "iVar2 - 0x7ffc" (identifier "iVar2") (- "-") (number_literal "0x7ffc"))) (; ";")) (expression_statement "uVar3 = (uVar3 / 0xa0) * 0x500 + 0x100000 + uVar3 * 0x18;" (assignment_expression "uVar3 = (uVar3 / 0xa0) * 0x500 + 0x100000 + uVar3 * 0x18" (identifier "uVar3") (= "=") (binary_expression "(uVar3 / 0xa0) * 0x500 + 0x100000 + uVar3 * 0x18" (binary_expression "(uVar3 / 0xa0) * 0x500 + 0x100000" (binary_expression "(uVar3 / 0xa0) * 0x500" (parenthesized_expression "(uVar3 / 0xa0)" (( "(") (binary_expression "uVar3 / 0xa0" (identifier "uVar3") (/ "/") (number_literal "0xa0")) () ")")) (* "*") (number_literal "0x500")) (+ "+") (number_literal "0x100000")) (+ "+") (binary_expression "uVar3 * 0x18" (identifier "uVar3") (* "*") (number_literal "0x18")))) (; ";")) (} "}")))) (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    *(ulong *)(param_1 + 0x10) = (ulong)uVar3;\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    *(ulong *)(param_1 + 0x10) = (ulong)uVar3;\n    *(byte *)(param_1 + 0x20) = bVar1 | 2;\n    return;\n  }" ({ "{") (expression_statement "*(ulong *)(param_1 + 0x10) = (ulong)uVar3;" (assignment_expression "*(ulong *)(param_1 + 0x10) = (ulong)uVar3" (pointer_expression "*(ulong *)(param_1 + 0x10)" (* "*") (cast_expression "(ulong *)(param_1 + 0x10)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (cast_expression "(ulong)uVar3" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "uVar3"))) (; ";")) (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_00352af0("../../gold/output.h",0x218,"set_data_size");" (call_expression "FUN_00352af0("../../gold/output.h",0x218,"set_data_size")" (identifier "FUN_00352af0") (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_plt_sparc<64,_true> * this) */

void __thiscall
anon_unknown.dwarf_4cd88d::Output_data_plt_sparc<64,_true>::set_final_data_size
          (Output_data_plt_sparc<64,_true> *this)

{
  byte var_3;
  int var_1;
  type_1 var_2;
  type_2 offset;
  
  var_1 = this->ifunc_count_ + this->count_;
  var_2 = var_1 + 4;
  if (var_2 < 0x8000) {
    var_2 = var_2 * 0x20;
  }
  else {
    var_2 = var_1 - 0x7ffc;
    var_2 = (var_2 / 0xa0) * 0x500 + 0x100000 + var_2 * 0x18;
  }
  var_3 = this->field_0x20;
  if (((var_3 & 2) == 0) && ((var_3 & 8) == 0)) {
    *(type_3 *)&this->field_0x10 = (type_3)var_2;
    this->field_0x20 = var_3 | 2;
    return;
  }
                    /* WARNING: Subroutine does not return */
  gold::var_4("../../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)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (binary_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: (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)))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))))))) (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: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (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: (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;
  int iVar2;
  uint uVar3;
  
  iVar2 = *(int *)(param_1 + 0x4c) + *(int *)(param_1 + 0x48);
  uVar3 = iVar2 + 4;
  if (uVar3 < 0x8000) {
    uVar3 = uVar3 * 0x20;
  }
  else {
    uVar3 = iVar2 - 0x7ffc;
    uVar3 = (uVar3 / 0xa0) * 0x500 + 0x100000 + uVar3 * 0x18;
  }
  bVar1 = *(byte *)(param_1 + 0x20);
  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {
    *(ulong *)(param_1 + 0x10) = (ulong)uVar3;
    *(byte *)(param_1 + 0x20) = bVar1 | 2;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00352af0("../../gold/output.h",0x218,"set_data_size");
}

