
/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* DWARF original prototype: void set_final_data_size(Output_data_glink<32,_true> * this) */

void __thiscall
anon_unknown.dwarf_2cac9f::Output_data_glink<32,_true>::set_final_data_size
          (Output_data_glink<32,_true> *this)

{
  byte bVar1;
  Output_data_plt_powerpc<32,_true> *pOVar2;
  long lVar3;
  General_options *pGVar4;
  Parameters *pPVar5;
  int iVar6;
  long lVar7;
  uint uVar8;
  uint uVar9;
  
  pPVar5 = gold::parameters;
  pOVar2 = this->targ_->plt_;
  if (pOVar2 == (Output_data_plt_powerpc<32,_true> *)0x0) {
    uVar9 = 0;
  }
  else {
    lVar3 = (pOVar2->super_Output_section_data_build).super_Output_section_data.super_Output_data.
            data_size_;
    uVar9 = 0;
    if (lVar3 != 0) {
      lVar7 = lVar3 + 3;
      if (-1 < lVar3) {
        lVar7 = lVar3;
      }
      uVar9 = (uint)(lVar7 >> 2);
      if (uVar9 != 0) {
        uVar9 = (uVar9 + 0x3fffffff) * 4 + 0x40 + ((uVar9 + 0x3fffffff) * -4 & 0xf);
      }
    }
  }
  this->end_branch_table_ = uVar9;
  pGVar4 = pPVar5->options_;
  if (pGVar4 != (General_options *)0x0) {
    if ((pGVar4->plt_align_).user_set_via_option == false) {
      uVar8 = 0xfffffff8;
      iVar6 = 8;
    }
    else {
      iVar6 = 1 << ((byte)(pGVar4->plt_align_).value & 0x1f);
      uVar8 = -iVar6;
    }
    bVar1 = this->field_0x20;
    if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {
      *(ulong *)&this->field_0x10 = (ulong)this->ge_size_ + (ulong)((uVar9 - 1) + iVar6 & uVar8);
      this->field_0x20 = bVar1 | 2;
      return;
    }
                    /* WARNING: Subroutine does not return */
    gold::do_gold_unreachable("../../gold/output.h",0x218,"set_data_size");
  }
                    /* WARNING: Subroutine does not return */
  param_plt_align<64>();
}



void FUN_00172d20(long param_1)

{
  byte bVar1;
  long lVar2;
  undefined *puVar3;
  int iVar4;
  long lVar5;
  uint uVar6;
  int iVar7;
  
  puVar3 = PTR_DAT_004ba7c8;
  lVar2 = *(long *)(*(long *)(param_1 + 0x38) + 0x28);
  if (lVar2 == 0) {
    iVar7 = 0;
  }
  else {
    lVar2 = *(long *)(lVar2 + 0x10);
    iVar7 = 0;
    if (lVar2 != 0) {
      lVar5 = lVar2 + 3;
      if (-1 < lVar2) {
        lVar5 = lVar2;
      }
      iVar7 = (int)(lVar5 >> 2);
      if (iVar7 != 0) {
        iVar7 = (iVar7 + 0x3fffffff) * 4 + 0x40 + ((iVar7 + 0x3fffffff) * -4 & 0xfU);
      }
    }
  }
  *(int *)(param_1 + 0x78) = iVar7;
  lVar2 = *(long *)(puVar3 + 0x10);
  if (lVar2 != 0) {
    if (*(char *)(lVar2 + 0x45e8) == '\0') {
      uVar6 = 0xfffffff8;
      iVar4 = 8;
    }
    else {
      iVar4 = 1 << ((byte)*(undefined4 *)(lVar2 + 0x45ec) & 0x1f);
      uVar6 = -iVar4;
    }
    bVar1 = *(byte *)(param_1 + 0x20);
    if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {
      *(ulong *)(param_1 + 0x10) =
           (ulong)*(uint *)(param_1 + 0x7c) + (ulong)(iVar7 + -1 + iVar4 & uVar6);
      *(byte *)(param_1 + 0x20) = bVar1 | 2;
      return;
    }
                    /* WARNING: Subroutine does not return */
    FUN_001e9890("../../gold/output.h",0x218,"set_data_size");
  }
                    /* WARNING: Subroutine does not return */
  FUN_0016da40();
}


SUB RSP,0x8
MOV RAX,qword ptr [RDI + 0x38]
MOV RAX,qword ptr [RAX + 0x28]
TEST RAX,RAX
JZ 0x00172de0
MOV RCX,qword ptr [RAX + 0x10]
XOR EDX,EDX
TEST RCX,RCX
JZ 0x00172d52
LEA RAX,[RCX + 0x3]
CMOVNS RAX,RCX
SAR RAX,0x2
MOV EDX,EAX
TEST EAX,EAX
JNZ 0x00172db0
MOV RAX,qword ptr [0x004ba7c8]
MOV dword ptr [RDI + 0x78],EDX
MOV RAX,qword ptr [RAX + 0x10]
TEST RAX,RAX
JZ 0x00172dff
CMP byte ptr [RAX + 0x45e8],0x0
JZ 0x00172dd0
MOV ECX,dword ptr [RAX + 0x45ec]
MOV EAX,0x1
SHL EAX,CL
MOV ECX,EAX
NEG ECX
LEA EAX,[RDX + RAX*0x1 + -0x1]
MOV EDX,dword ptr [RDI + 0x7c]
AND EAX,ECX
ADD RDX,RAX
MOVZX EAX,byte ptr [RDI + 0x20]
TEST AL,0x2
JNZ 0x00172de7
TEST AL,0x8
JNZ 0x00172de7
OR EAX,0x2
MOV qword ptr [RDI + 0x10],RDX
MOV byte ptr [RDI + 0x20],AL
ADD RSP,0x8
RET
ADD EAX,0x3fffffff
SHL EAX,0x2
MOV RDX,RAX
NEG RDX
AND EDX,0xf
LEA EDX,[RAX + RDX*0x1 + 0x40]
JMP 0x00172d52
MOV ECX,0xfffffff8
MOV EAX,0x8
JMP 0x00172d83
XOR EDX,EDX
JMP 0x00172d52
LEA RDX,[0x3dd338]
MOV ESI,0x218
LEA RDI,[0x3de409]
CALL 0x001e9890
CALL 0x0016da40
(translation_unit "void FUN_00172d20(long param_1)\n\n{\n  byte bVar1;\n  long lVar2;\n  undefined *puVar3;\n  int iVar4;\n  long lVar5;\n  uint uVar6;\n  int iVar7;\n  \n  puVar3 = PTR_DAT_004ba7c8;\n  lVar2 = *(long *)(*(long *)(param_1 + 0x38) + 0x28);\n  if (lVar2 == 0) {\n    iVar7 = 0;\n  }\n  else {\n    lVar2 = *(long *)(lVar2 + 0x10);\n    iVar7 = 0;\n    if (lVar2 != 0) {\n      lVar5 = lVar2 + 3;\n      if (-1 < lVar2) {\n        lVar5 = lVar2;\n      }\n      iVar7 = (int)(lVar5 >> 2);\n      if (iVar7 != 0) {\n        iVar7 = (iVar7 + 0x3fffffff) * 4 + 0x40 + ((iVar7 + 0x3fffffff) * -4 & 0xfU);\n      }\n    }\n  }\n  *(int *)(param_1 + 0x78) = iVar7;\n  lVar2 = *(long *)(puVar3 + 0x10);\n  if (lVar2 != 0) {\n    if (*(char *)(lVar2 + 0x45e8) == '\0') {\n      uVar6 = 0xfffffff8;\n      iVar4 = 8;\n    }\n    else {\n      iVar4 = 1 << ((byte)*(undefined4 *)(lVar2 + 0x45ec) & 0x1f);\n      uVar6 = -iVar4;\n    }\n    bVar1 = *(byte *)(param_1 + 0x20);\n    if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n      *(ulong *)(param_1 + 0x10) =\n           (ulong)*(uint *)(param_1 + 0x7c) + (ulong)(iVar7 + -1 + iVar4 & uVar6);\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                    /* WARNING: Subroutine does not return */\n  FUN_0016da40();\n}\n\n" (function_definition "void FUN_00172d20(long param_1)\n\n{\n  byte bVar1;\n  long lVar2;\n  undefined *puVar3;\n  int iVar4;\n  long lVar5;\n  uint uVar6;\n  int iVar7;\n  \n  puVar3 = PTR_DAT_004ba7c8;\n  lVar2 = *(long *)(*(long *)(param_1 + 0x38) + 0x28);\n  if (lVar2 == 0) {\n    iVar7 = 0;\n  }\n  else {\n    lVar2 = *(long *)(lVar2 + 0x10);\n    iVar7 = 0;\n    if (lVar2 != 0) {\n      lVar5 = lVar2 + 3;\n      if (-1 < lVar2) {\n        lVar5 = lVar2;\n      }\n      iVar7 = (int)(lVar5 >> 2);\n      if (iVar7 != 0) {\n        iVar7 = (iVar7 + 0x3fffffff) * 4 + 0x40 + ((iVar7 + 0x3fffffff) * -4 & 0xfU);\n      }\n    }\n  }\n  *(int *)(param_1 + 0x78) = iVar7;\n  lVar2 = *(long *)(puVar3 + 0x10);\n  if (lVar2 != 0) {\n    if (*(char *)(lVar2 + 0x45e8) == '\0') {\n      uVar6 = 0xfffffff8;\n      iVar4 = 8;\n    }\n    else {\n      iVar4 = 1 << ((byte)*(undefined4 *)(lVar2 + 0x45ec) & 0x1f);\n      uVar6 = -iVar4;\n    }\n    bVar1 = *(byte *)(param_1 + 0x20);\n    if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n      *(ulong *)(param_1 + 0x10) =\n           (ulong)*(uint *)(param_1 + 0x7c) + (ulong)(iVar7 + -1 + iVar4 & uVar6);\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                    /* WARNING: Subroutine does not return */\n  FUN_0016da40();\n}" primitive_type (function_declarator "FUN_00172d20(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  long lVar2;\n  undefined *puVar3;\n  int iVar4;\n  long lVar5;\n  uint uVar6;\n  int iVar7;\n  \n  puVar3 = PTR_DAT_004ba7c8;\n  lVar2 = *(long *)(*(long *)(param_1 + 0x38) + 0x28);\n  if (lVar2 == 0) {\n    iVar7 = 0;\n  }\n  else {\n    lVar2 = *(long *)(lVar2 + 0x10);\n    iVar7 = 0;\n    if (lVar2 != 0) {\n      lVar5 = lVar2 + 3;\n      if (-1 < lVar2) {\n        lVar5 = lVar2;\n      }\n      iVar7 = (int)(lVar5 >> 2);\n      if (iVar7 != 0) {\n        iVar7 = (iVar7 + 0x3fffffff) * 4 + 0x40 + ((iVar7 + 0x3fffffff) * -4 & 0xfU);\n      }\n    }\n  }\n  *(int *)(param_1 + 0x78) = iVar7;\n  lVar2 = *(long *)(puVar3 + 0x10);\n  if (lVar2 != 0) {\n    if (*(char *)(lVar2 + 0x45e8) == '\0') {\n      uVar6 = 0xfffffff8;\n      iVar4 = 8;\n    }\n    else {\n      iVar4 = 1 << ((byte)*(undefined4 *)(lVar2 + 0x45ec) & 0x1f);\n      uVar6 = -iVar4;\n    }\n    bVar1 = *(byte *)(param_1 + 0x20);\n    if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n      *(ulong *)(param_1 + 0x10) =\n           (ulong)*(uint *)(param_1 + 0x7c) + (ulong)(iVar7 + -1 + iVar4 & uVar6);\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                    /* WARNING: Subroutine does not return */\n  FUN_0016da40();\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "long lVar5;" (sized_type_specifier "long" long) identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (expression_statement "puVar3 = PTR_DAT_004ba7c8;" (assignment_expression "puVar3 = PTR_DAT_004ba7c8" identifier = identifier) ;) (expression_statement "lVar2 = *(long *)(*(long *)(param_1 + 0x38) + 0x28);" (assignment_expression "lVar2 = *(long *)(*(long *)(param_1 + 0x38) + 0x28)" identifier = (pointer_expression "*(long *)(*(long *)(param_1 + 0x38) + 0x28)" * (cast_expression "(long *)(*(long *)(param_1 + 0x38) + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x38) + 0x28)" ( (binary_expression "*(long *)(param_1 + 0x38) + 0x28" (pointer_expression "*(long *)(param_1 + 0x38)" * (cast_expression "(long *)(param_1 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (lVar2 == 0) {\n    iVar7 = 0;\n  }\n  else {\n    lVar2 = *(long *)(lVar2 + 0x10);\n    iVar7 = 0;\n    if (lVar2 != 0) {\n      lVar5 = lVar2 + 3;\n      if (-1 < lVar2) {\n        lVar5 = lVar2;\n      }\n      iVar7 = (int)(lVar5 >> 2);\n      if (iVar7 != 0) {\n        iVar7 = (iVar7 + 0x3fffffff) * 4 + 0x40 + ((iVar7 + 0x3fffffff) * -4 & 0xfU);\n      }\n    }\n  }" if (parenthesized_expression "(lVar2 == 0)" ( (binary_expression "lVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar7 = 0;\n  }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    lVar2 = *(long *)(lVar2 + 0x10);\n    iVar7 = 0;\n    if (lVar2 != 0) {\n      lVar5 = lVar2 + 3;\n      if (-1 < lVar2) {\n        lVar5 = lVar2;\n      }\n      iVar7 = (int)(lVar5 >> 2);\n      if (iVar7 != 0) {\n        iVar7 = (iVar7 + 0x3fffffff) * 4 + 0x40 + ((iVar7 + 0x3fffffff) * -4 & 0xfU);\n      }\n    }\n  }" else (compound_statement "{\n    lVar2 = *(long *)(lVar2 + 0x10);\n    iVar7 = 0;\n    if (lVar2 != 0) {\n      lVar5 = lVar2 + 3;\n      if (-1 < lVar2) {\n        lVar5 = lVar2;\n      }\n      iVar7 = (int)(lVar5 >> 2);\n      if (iVar7 != 0) {\n        iVar7 = (iVar7 + 0x3fffffff) * 4 + 0x40 + ((iVar7 + 0x3fffffff) * -4 & 0xfU);\n      }\n    }\n  }" { (expression_statement "lVar2 = *(long *)(lVar2 + 0x10);" (assignment_expression "lVar2 = *(long *)(lVar2 + 0x10)" identifier = (pointer_expression "*(long *)(lVar2 + 0x10)" * (cast_expression "(long *)(lVar2 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x10)" ( (binary_expression "lVar2 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (if_statement "if (lVar2 != 0) {\n      lVar5 = lVar2 + 3;\n      if (-1 < lVar2) {\n        lVar5 = lVar2;\n      }\n      iVar7 = (int)(lVar5 >> 2);\n      if (iVar7 != 0) {\n        iVar7 = (iVar7 + 0x3fffffff) * 4 + 0x40 + ((iVar7 + 0x3fffffff) * -4 & 0xfU);\n      }\n    }" if (parenthesized_expression "(lVar2 != 0)" ( (binary_expression "lVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      lVar5 = lVar2 + 3;\n      if (-1 < lVar2) {\n        lVar5 = lVar2;\n      }\n      iVar7 = (int)(lVar5 >> 2);\n      if (iVar7 != 0) {\n        iVar7 = (iVar7 + 0x3fffffff) * 4 + 0x40 + ((iVar7 + 0x3fffffff) * -4 & 0xfU);\n      }\n    }" { (expression_statement "lVar5 = lVar2 + 3;" (assignment_expression "lVar5 = lVar2 + 3" identifier = (binary_expression "lVar2 + 3" identifier + number_literal)) ;) (if_statement "if (-1 < lVar2) {\n        lVar5 = lVar2;\n      }" if (parenthesized_expression "(-1 < lVar2)" ( (binary_expression "-1 < lVar2" number_literal < identifier) )) (compound_statement "{\n        lVar5 = lVar2;\n      }" { (expression_statement "lVar5 = lVar2;" (assignment_expression "lVar5 = lVar2" identifier = identifier) ;) })) (expression_statement "iVar7 = (int)(lVar5 >> 2);" (assignment_expression "iVar7 = (int)(lVar5 >> 2)" identifier = (cast_expression "(int)(lVar5 >> 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(lVar5 >> 2)" ( (binary_expression "lVar5 >> 2" identifier >> number_literal) )))) ;) (if_statement "if (iVar7 != 0) {\n        iVar7 = (iVar7 + 0x3fffffff) * 4 + 0x40 + ((iVar7 + 0x3fffffff) * -4 & 0xfU);\n      }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar7 = (iVar7 + 0x3fffffff) * 4 + 0x40 + ((iVar7 + 0x3fffffff) * -4 & 0xfU);\n      }" { (expression_statement "iVar7 = (iVar7 + 0x3fffffff) * 4 + 0x40 + ((iVar7 + 0x3fffffff) * -4 & 0xfU);" (assignment_expression "iVar7 = (iVar7 + 0x3fffffff) * 4 + 0x40 + ((iVar7 + 0x3fffffff) * -4 & 0xfU)" identifier = (binary_expression "(iVar7 + 0x3fffffff) * 4 + 0x40 + ((iVar7 + 0x3fffffff) * -4 & 0xfU)" (binary_expression "(iVar7 + 0x3fffffff) * 4 + 0x40" (binary_expression "(iVar7 + 0x3fffffff) * 4" (parenthesized_expression "(iVar7 + 0x3fffffff)" ( (binary_expression "iVar7 + 0x3fffffff" identifier + number_literal) )) * number_literal) + number_literal) + (parenthesized_expression "((iVar7 + 0x3fffffff) * -4 & 0xfU)" ( (binary_expression "(iVar7 + 0x3fffffff) * -4 & 0xfU" (binary_expression "(iVar7 + 0x3fffffff) * -4" (parenthesized_expression "(iVar7 + 0x3fffffff)" ( (binary_expression "iVar7 + 0x3fffffff" identifier + number_literal) )) * number_literal) & number_literal) )))) ;) })) })) }))) (expression_statement "*(int *)(param_1 + 0x78) = iVar7;" (assignment_expression "*(int *)(param_1 + 0x78) = iVar7" (pointer_expression "*(int *)(param_1 + 0x78)" * (cast_expression "(int *)(param_1 + 0x78)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x78)" ( (binary_expression "param_1 + 0x78" identifier + number_literal) )))) = identifier) ;) (expression_statement "lVar2 = *(long *)(puVar3 + 0x10);" (assignment_expression "lVar2 = *(long *)(puVar3 + 0x10)" identifier = (pointer_expression "*(long *)(puVar3 + 0x10)" * (cast_expression "(long *)(puVar3 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + 0x10)" ( (binary_expression "puVar3 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (lVar2 != 0) {\n    if (*(char *)(lVar2 + 0x45e8) == '\0') {\n      uVar6 = 0xfffffff8;\n      iVar4 = 8;\n    }\n    else {\n      iVar4 = 1 << ((byte)*(undefined4 *)(lVar2 + 0x45ec) & 0x1f);\n      uVar6 = -iVar4;\n    }\n    bVar1 = *(byte *)(param_1 + 0x20);\n    if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n      *(ulong *)(param_1 + 0x10) =\n           (ulong)*(uint *)(param_1 + 0x7c) + (ulong)(iVar7 + -1 + iVar4 & uVar6);\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  }" if (parenthesized_expression "(lVar2 != 0)" ( (binary_expression "lVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    if (*(char *)(lVar2 + 0x45e8) == '\0') {\n      uVar6 = 0xfffffff8;\n      iVar4 = 8;\n    }\n    else {\n      iVar4 = 1 << ((byte)*(undefined4 *)(lVar2 + 0x45ec) & 0x1f);\n      uVar6 = -iVar4;\n    }\n    bVar1 = *(byte *)(param_1 + 0x20);\n    if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n      *(ulong *)(param_1 + 0x10) =\n           (ulong)*(uint *)(param_1 + 0x7c) + (ulong)(iVar7 + -1 + iVar4 & uVar6);\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  }" { (if_statement "if (*(char *)(lVar2 + 0x45e8) == '\0') {\n      uVar6 = 0xfffffff8;\n      iVar4 = 8;\n    }\n    else {\n      iVar4 = 1 << ((byte)*(undefined4 *)(lVar2 + 0x45ec) & 0x1f);\n      uVar6 = -iVar4;\n    }" if (parenthesized_expression "(*(char *)(lVar2 + 0x45e8) == '\0')" ( (binary_expression "*(char *)(lVar2 + 0x45e8) == '\0'" (pointer_expression "*(char *)(lVar2 + 0x45e8)" * (cast_expression "(char *)(lVar2 + 0x45e8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x45e8)" ( (binary_expression "lVar2 + 0x45e8" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      uVar6 = 0xfffffff8;\n      iVar4 = 8;\n    }" { (expression_statement "uVar6 = 0xfffffff8;" (assignment_expression "uVar6 = 0xfffffff8" identifier = number_literal) ;) (expression_statement "iVar4 = 8;" (assignment_expression "iVar4 = 8" identifier = number_literal) ;) }) (else_clause "else {\n      iVar4 = 1 << ((byte)*(undefined4 *)(lVar2 + 0x45ec) & 0x1f);\n      uVar6 = -iVar4;\n    }" else (compound_statement "{\n      iVar4 = 1 << ((byte)*(undefined4 *)(lVar2 + 0x45ec) & 0x1f);\n      uVar6 = -iVar4;\n    }" { (expression_statement "iVar4 = 1 << ((byte)*(undefined4 *)(lVar2 + 0x45ec) & 0x1f);" (assignment_expression "iVar4 = 1 << ((byte)*(undefined4 *)(lVar2 + 0x45ec) & 0x1f)" identifier = (binary_expression "1 << ((byte)*(undefined4 *)(lVar2 + 0x45ec) & 0x1f)" number_literal << (parenthesized_expression "((byte)*(undefined4 *)(lVar2 + 0x45ec) & 0x1f)" ( (binary_expression "(byte)*(undefined4 *)(lVar2 + 0x45ec) & 0x1f" (binary_expression "(byte)*(undefined4 *)(lVar2 + 0x45ec)" (parenthesized_expression "(byte)" ( identifier )) * (cast_expression "(undefined4 *)(lVar2 + 0x45ec)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x45ec)" ( (binary_expression "lVar2 + 0x45ec" identifier + number_literal) )))) & number_literal) )))) ;) (expression_statement "uVar6 = -iVar4;" (assignment_expression "uVar6 = -iVar4" identifier = (unary_expression "-iVar4" - 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      *(ulong *)(param_1 + 0x10) =\n           (ulong)*(uint *)(param_1 + 0x7c) + (ulong)(iVar7 + -1 + iVar4 & uVar6);\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) =\n           (ulong)*(uint *)(param_1 + 0x7c) + (ulong)(iVar7 + -1 + iVar4 & uVar6);\n      *(byte *)(param_1 + 0x20) = bVar1 | 2;\n      return;\n    }" { (expression_statement "*(ulong *)(param_1 + 0x10) =\n           (ulong)*(uint *)(param_1 + 0x7c) + (ulong)(iVar7 + -1 + iVar4 & uVar6);" (assignment_expression "*(ulong *)(param_1 + 0x10) =\n           (ulong)*(uint *)(param_1 + 0x7c) + (ulong)(iVar7 + -1 + iVar4 & uVar6)" (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) )))) = (binary_expression "(ulong)*(uint *)(param_1 + 0x7c) + (ulong)(iVar7 + -1 + iVar4 & uVar6)" (binary_expression "(ulong)*(uint *)(param_1 + 0x7c)" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(uint *)(param_1 + 0x7c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x7c)" ( (binary_expression "param_1 + 0x7c" identifier + number_literal) )))) + (call_expression "(ulong)(iVar7 + -1 + iVar4 & uVar6)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(iVar7 + -1 + iVar4 & uVar6)" ( (binary_expression "iVar7 + -1 + iVar4 & uVar6" (binary_expression "iVar7 + -1 + iVar4" (binary_expression "iVar7 + -1" identifier + number_literal) + 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_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 ") ))) ;) })) comment (expression_statement "FUN_0016da40();" (call_expression "FUN_0016da40()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Enum "DT": Some values do not have unique names */\n/* WARNING: Enum "ELFOSABI": Some values do not have unique names */\n/* DWARF original prototype: void set_final_data_size(Output_data_glink<32,_true> * this) */\n\nvoid __thiscall\nanon_unknown.dwarf_2cac9f::Output_data_glink<32,_true>::set_final_data_size\n          (Output_data_glink<32,_true> *this)\n\n{\n  byte bVar1;\n  Output_data_plt_powerpc<32,_true> *pOVar2;\n  long lVar3;\n  General_options *pGVar4;\n  Parameters *pPVar5;\n  int iVar6;\n  long lVar7;\n  uint uVar8;\n  uint uVar9;\n  \n  pPVar5 = gold::parameters;\n  pOVar2 = this->targ_->plt_;\n  if (pOVar2 == (Output_data_plt_powerpc<32,_true> *)0x0) {\n    uVar9 = 0;\n  }\n  else {\n    lVar3 = (pOVar2->super_Output_section_data_build).super_Output_section_data.super_Output_data.\n            data_size_;\n    uVar9 = 0;\n    if (lVar3 != 0) {\n      lVar7 = lVar3 + 3;\n      if (-1 < lVar3) {\n        lVar7 = lVar3;\n      }\n      uVar9 = (uint)(lVar7 >> 2);\n      if (uVar9 != 0) {\n        uVar9 = (uVar9 + 0x3fffffff) * 4 + 0x40 + ((uVar9 + 0x3fffffff) * -4 & 0xf);\n      }\n    }\n  }\n  this->end_branch_table_ = uVar9;\n  pGVar4 = pPVar5->options_;\n  if (pGVar4 != (General_options *)0x0) {\n    if ((pGVar4->plt_align_).user_set_via_option == false) {\n      uVar8 = 0xfffffff8;\n      iVar6 = 8;\n    }\n    else {\n      iVar6 = 1 << ((byte)(pGVar4->plt_align_).value & 0x1f);\n      uVar8 = -iVar6;\n    }\n    bVar1 = this->field_0x20;\n    if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n      *(ulong *)&this->field_0x10 = (ulong)this->ge_size_ + (ulong)((uVar9 - 1) + iVar6 & uVar8);\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                    /* WARNING: Subroutine does not return */\n  param_plt_align<64>();\n}\n\n" comment comment comment (declaration "void __thiscall\nanon_unknown.dwarf_2cac9f::Output_data_glink<32,_true>::set_final_data_size\n          (Output_data_glink<32,_true> *this)\n\n{\n  byte bVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "anon_unknown.dwarf_2cac9f::" identifier . identifier : :) identifier (ERROR "<32" < number_literal) , (ERROR "_true>::set_final_data_size\n          (Output_data_glink<32,_true> *this)\n\n{\n  byte" identifier > : : (function_declarator "set_final_data_size\n          (Output_data_glink<32,_true> *this)" identifier (parameter_list "(Output_data_glink<32,_true> *this)" ( (parameter_declaration "Output_data_glink" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "_true> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) ))) { identifier) identifier ;) (expression_statement "Output_data_plt_powerpc<32,_true> *pOVar2;" (update_expression "Output_data_plt_powerpc<32,_true> *pOVar2" (binary_expression "Output_data_plt_powerpc<32,_true> *pOVar2" (binary_expression "Output_data_plt_powerpc<32" identifier < number_literal) (ERROR ",_true" , identifier) > (pointer_expression "*pOVar2" * identifier)) --) ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "General_options *pGVar4;" type_identifier (pointer_declarator "*pGVar4" * identifier) ;) (declaration "Parameters *pPVar5;" type_identifier (pointer_declarator "*pPVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "long lVar7;" (sized_type_specifier "long" long) identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (expression_statement "pPVar5 = gold::parameters;" (assignment_expression "pPVar5 = gold" identifier = identifier) (ERROR "::parameters" : : identifier) ;) (expression_statement "pOVar2 = this->targ_->plt_;" (assignment_expression "pOVar2 = this->targ_->plt_" identifier = (field_expression "this->targ_->plt_" (field_expression "this->targ_" identifier -> field_identifier) -> field_identifier)) ;) (if_statement "if (pOVar2 == (Output_data_plt_powerpc<32,_true> *)0x0) {\n    uVar9 = 0;\n  }\n  else {\n    lVar3 = (pOVar2->super_Output_section_data_build).super_Output_section_data.super_Output_data.\n            data_size_;\n    uVar9 = 0;\n    if (lVar3 != 0) {\n      lVar7 = lVar3 + 3;\n      if (-1 < lVar3) {\n        lVar7 = lVar3;\n      }\n      uVar9 = (uint)(lVar7 >> 2);\n      if (uVar9 != 0) {\n        uVar9 = (uVar9 + 0x3fffffff) * 4 + 0x40 + ((uVar9 + 0x3fffffff) * -4 & 0xf);\n      }\n    }\n  }" if (parenthesized_expression "(pOVar2 == (Output_data_plt_powerpc<32,_true> *)0x0)" ( (binary_expression "pOVar2 == (Output_data_plt_powerpc<32,_true> *)0x0)" identifier == (parenthesized_expression "(Output_data_plt_powerpc<32,_true> *)0x0)" ( (comma_expression "Output_data_plt_powerpc<32,_true> *)0x0" (binary_expression "Output_data_plt_powerpc<32" identifier < number_literal) , (binary_expression "_true> *)0x0" identifier > (pointer_expression "*)0x0" * (ERROR ")" )) number_literal))) ))) )) (compound_statement "{\n    uVar9 = 0;\n  }" { (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    lVar3 = (pOVar2->super_Output_section_data_build).super_Output_section_data.super_Output_data.\n            data_size_;\n    uVar9 = 0;\n    if (lVar3 != 0) {\n      lVar7 = lVar3 + 3;\n      if (-1 < lVar3) {\n        lVar7 = lVar3;\n      }\n      uVar9 = (uint)(lVar7 >> 2);\n      if (uVar9 != 0) {\n        uVar9 = (uVar9 + 0x3fffffff) * 4 + 0x40 + ((uVar9 + 0x3fffffff) * -4 & 0xf);\n      }\n    }\n  }" else (compound_statement "{\n    lVar3 = (pOVar2->super_Output_section_data_build).super_Output_section_data.super_Output_data.\n            data_size_;\n    uVar9 = 0;\n    if (lVar3 != 0) {\n      lVar7 = lVar3 + 3;\n      if (-1 < lVar3) {\n        lVar7 = lVar3;\n      }\n      uVar9 = (uint)(lVar7 >> 2);\n      if (uVar9 != 0) {\n        uVar9 = (uVar9 + 0x3fffffff) * 4 + 0x40 + ((uVar9 + 0x3fffffff) * -4 & 0xf);\n      }\n    }\n  }" { (expression_statement "lVar3 = (pOVar2->super_Output_section_data_build).super_Output_section_data.super_Output_data.\n            data_size_;" (assignment_expression "lVar3 = (pOVar2->super_Output_section_data_build).super_Output_section_data.super_Output_data.\n            data_size_" identifier = (field_expression "(pOVar2->super_Output_section_data_build).super_Output_section_data.super_Output_data.\n            data_size_" (field_expression "(pOVar2->super_Output_section_data_build).super_Output_section_data.super_Output_data" (field_expression "(pOVar2->super_Output_section_data_build).super_Output_section_data" (parenthesized_expression "(pOVar2->super_Output_section_data_build)" ( (field_expression "pOVar2->super_Output_section_data_build" identifier -> field_identifier) )) . field_identifier) . field_identifier) . field_identifier)) ;) (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) (if_statement "if (lVar3 != 0) {\n      lVar7 = lVar3 + 3;\n      if (-1 < lVar3) {\n        lVar7 = lVar3;\n      }\n      uVar9 = (uint)(lVar7 >> 2);\n      if (uVar9 != 0) {\n        uVar9 = (uVar9 + 0x3fffffff) * 4 + 0x40 + ((uVar9 + 0x3fffffff) * -4 & 0xf);\n      }\n    }" if (parenthesized_expression "(lVar3 != 0)" ( (binary_expression "lVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      lVar7 = lVar3 + 3;\n      if (-1 < lVar3) {\n        lVar7 = lVar3;\n      }\n      uVar9 = (uint)(lVar7 >> 2);\n      if (uVar9 != 0) {\n        uVar9 = (uVar9 + 0x3fffffff) * 4 + 0x40 + ((uVar9 + 0x3fffffff) * -4 & 0xf);\n      }\n    }" { (expression_statement "lVar7 = lVar3 + 3;" (assignment_expression "lVar7 = lVar3 + 3" identifier = (binary_expression "lVar3 + 3" identifier + number_literal)) ;) (if_statement "if (-1 < lVar3) {\n        lVar7 = lVar3;\n      }" if (parenthesized_expression "(-1 < lVar3)" ( (binary_expression "-1 < lVar3" number_literal < identifier) )) (compound_statement "{\n        lVar7 = lVar3;\n      }" { (expression_statement "lVar7 = lVar3;" (assignment_expression "lVar7 = lVar3" identifier = identifier) ;) })) (expression_statement "uVar9 = (uint)(lVar7 >> 2);" (assignment_expression "uVar9 = (uint)(lVar7 >> 2)" identifier = (call_expression "(uint)(lVar7 >> 2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(lVar7 >> 2)" ( (binary_expression "lVar7 >> 2" identifier >> number_literal) )))) ;) (if_statement "if (uVar9 != 0) {\n        uVar9 = (uVar9 + 0x3fffffff) * 4 + 0x40 + ((uVar9 + 0x3fffffff) * -4 & 0xf);\n      }" if (parenthesized_expression "(uVar9 != 0)" ( (binary_expression "uVar9 != 0" identifier != number_literal) )) (compound_statement "{\n        uVar9 = (uVar9 + 0x3fffffff) * 4 + 0x40 + ((uVar9 + 0x3fffffff) * -4 & 0xf);\n      }" { (expression_statement "uVar9 = (uVar9 + 0x3fffffff) * 4 + 0x40 + ((uVar9 + 0x3fffffff) * -4 & 0xf);" (assignment_expression "uVar9 = (uVar9 + 0x3fffffff) * 4 + 0x40 + ((uVar9 + 0x3fffffff) * -4 & 0xf)" identifier = (binary_expression "(uVar9 + 0x3fffffff) * 4 + 0x40 + ((uVar9 + 0x3fffffff) * -4 & 0xf)" (binary_expression "(uVar9 + 0x3fffffff) * 4 + 0x40" (binary_expression "(uVar9 + 0x3fffffff) * 4" (parenthesized_expression "(uVar9 + 0x3fffffff)" ( (binary_expression "uVar9 + 0x3fffffff" identifier + number_literal) )) * number_literal) + number_literal) + (parenthesized_expression "((uVar9 + 0x3fffffff) * -4 & 0xf)" ( (binary_expression "(uVar9 + 0x3fffffff) * -4 & 0xf" (binary_expression "(uVar9 + 0x3fffffff) * -4" (parenthesized_expression "(uVar9 + 0x3fffffff)" ( (binary_expression "uVar9 + 0x3fffffff" identifier + number_literal) )) * number_literal) & number_literal) )))) ;) })) })) }))) (expression_statement "this->end_branch_table_ = uVar9;" (assignment_expression "this->end_branch_table_ = uVar9" (field_expression "this->end_branch_table_" identifier -> field_identifier) = identifier) ;) (expression_statement "pGVar4 = pPVar5->options_;" (assignment_expression "pGVar4 = pPVar5->options_" identifier = (field_expression "pPVar5->options_" identifier -> field_identifier)) ;) (if_statement "if (pGVar4 != (General_options *)0x0) {\n    if ((pGVar4->plt_align_).user_set_via_option == false) {\n      uVar8 = 0xfffffff8;\n      iVar6 = 8;\n    }\n    else {\n      iVar6 = 1 << ((byte)(pGVar4->plt_align_).value & 0x1f);\n      uVar8 = -iVar6;\n    }\n    bVar1 = this->field_0x20;\n    if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n      *(ulong *)&this->field_0x10 = (ulong)this->ge_size_ + (ulong)((uVar9 - 1) + iVar6 & uVar8);\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  }" if (parenthesized_expression "(pGVar4 != (General_options *)0x0)" ( (binary_expression "pGVar4 != (General_options *)0x0" identifier != (cast_expression "(General_options *)0x0" ( (type_descriptor "General_options *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if ((pGVar4->plt_align_).user_set_via_option == false) {\n      uVar8 = 0xfffffff8;\n      iVar6 = 8;\n    }\n    else {\n      iVar6 = 1 << ((byte)(pGVar4->plt_align_).value & 0x1f);\n      uVar8 = -iVar6;\n    }\n    bVar1 = this->field_0x20;\n    if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n      *(ulong *)&this->field_0x10 = (ulong)this->ge_size_ + (ulong)((uVar9 - 1) + iVar6 & uVar8);\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  }" { (if_statement "if ((pGVar4->plt_align_).user_set_via_option == false) {\n      uVar8 = 0xfffffff8;\n      iVar6 = 8;\n    }\n    else {\n      iVar6 = 1 << ((byte)(pGVar4->plt_align_).value & 0x1f);\n      uVar8 = -iVar6;\n    }" if (parenthesized_expression "((pGVar4->plt_align_).user_set_via_option == false)" ( (binary_expression "(pGVar4->plt_align_).user_set_via_option == false" (field_expression "(pGVar4->plt_align_).user_set_via_option" (parenthesized_expression "(pGVar4->plt_align_)" ( (field_expression "pGVar4->plt_align_" identifier -> field_identifier) )) . field_identifier) == false) )) (compound_statement "{\n      uVar8 = 0xfffffff8;\n      iVar6 = 8;\n    }" { (expression_statement "uVar8 = 0xfffffff8;" (assignment_expression "uVar8 = 0xfffffff8" identifier = number_literal) ;) (expression_statement "iVar6 = 8;" (assignment_expression "iVar6 = 8" identifier = number_literal) ;) }) (else_clause "else {\n      iVar6 = 1 << ((byte)(pGVar4->plt_align_).value & 0x1f);\n      uVar8 = -iVar6;\n    }" else (compound_statement "{\n      iVar6 = 1 << ((byte)(pGVar4->plt_align_).value & 0x1f);\n      uVar8 = -iVar6;\n    }" { (expression_statement "iVar6 = 1 << ((byte)(pGVar4->plt_align_).value & 0x1f);" (assignment_expression "iVar6 = 1 << ((byte)(pGVar4->plt_align_).value & 0x1f)" identifier = (binary_expression "1 << ((byte)(pGVar4->plt_align_).value & 0x1f)" number_literal << (parenthesized_expression "((byte)(pGVar4->plt_align_).value & 0x1f)" ( (binary_expression "(byte)(pGVar4->plt_align_).value & 0x1f" (field_expression "(byte)(pGVar4->plt_align_).value" (call_expression "(byte)(pGVar4->plt_align_)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(pGVar4->plt_align_)" ( (field_expression "pGVar4->plt_align_" identifier -> field_identifier) ))) . field_identifier) & number_literal) )))) ;) (expression_statement "uVar8 = -iVar6;" (assignment_expression "uVar8 = -iVar6" identifier = (unary_expression "-iVar6" - identifier)) ;) }))) (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)this->ge_size_ + (ulong)((uVar9 - 1) + iVar6 & uVar8);\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)this->ge_size_ + (ulong)((uVar9 - 1) + iVar6 & uVar8);\n      this->field_0x20 = bVar1 | 2;\n      return;\n    }" { (expression_statement "*(ulong *)&this->field_0x10 = (ulong)this->ge_size_ + (ulong)((uVar9 - 1) + iVar6 & uVar8);" (assignment_expression "*(ulong *)&this->field_0x10 = (ulong)this->ge_size_ + (ulong)((uVar9 - 1) + iVar6 & uVar8)" (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)))) = (binary_expression "(ulong)this->ge_size_ + (ulong)((uVar9 - 1) + iVar6 & uVar8)" (cast_expression "(ulong)this->ge_size_" ( (type_descriptor "ulong" type_identifier) ) (field_expression "this->ge_size_" identifier -> field_identifier)) + (call_expression "(ulong)((uVar9 - 1) + iVar6 & uVar8)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "((uVar9 - 1) + iVar6 & uVar8)" ( (binary_expression "(uVar9 - 1) + iVar6 & uVar8" (binary_expression "(uVar9 - 1) + iVar6" (parenthesized_expression "(uVar9 - 1)" ( (binary_expression "uVar9 - 1" identifier - number_literal) )) + 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 ") ))) ;)) })) comment (ERROR "param_plt_align<64>();\n}" (binary_expression "param_plt_align<64" identifier < number_literal) > ( ) ; }))
(translation_unit "void FUN_00172d20(long param_1)\n\n{\n  byte bVar1;\n  long lVar2;\n  undefined *puVar3;\n  int iVar4;\n  long lVar5;\n  uint uVar6;\n  int iVar7;\n  \n  puVar3 = PTR_DAT_004ba7c8;\n  lVar2 = *(long *)(*(long *)(param_1 + 0x38) + 0x28);\n  if (lVar2 == 0) {\n    iVar7 = 0;\n  }\n  else {\n    lVar2 = *(long *)(lVar2 + 0x10);\n    iVar7 = 0;\n    if (lVar2 != 0) {\n      lVar5 = lVar2 + 3;\n      if (-1 < lVar2) {\n        lVar5 = lVar2;\n      }\n      iVar7 = (int)(lVar5 >> 2);\n      if (iVar7 != 0) {\n        iVar7 = (iVar7 + 0x3fffffff) * 4 + 0x40 + ((iVar7 + 0x3fffffff) * -4 & 0xfU);\n      }\n    }\n  }\n  *(int *)(param_1 + 0x78) = iVar7;\n  lVar2 = *(long *)(puVar3 + 0x10);\n  if (lVar2 != 0) {\n    if (*(char *)(lVar2 + 0x45e8) == '\0') {\n      uVar6 = 0xfffffff8;\n      iVar4 = 8;\n    }\n    else {\n      iVar4 = 1 << ((byte)*(undefined4 *)(lVar2 + 0x45ec) & 0x1f);\n      uVar6 = -iVar4;\n    }\n    bVar1 = *(byte *)(param_1 + 0x20);\n    if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n      *(ulong *)(param_1 + 0x10) =\n           (ulong)*(uint *)(param_1 + 0x7c) + (ulong)(iVar7 + -1 + iVar4 & uVar6);\n      *(byte *)(param_1 + 0x20) = bVar1 | 2;\n      return;\n    }\n                    \n    FUN_001e9890("../../gold/output.h",0x218,"set_data_size");\n  }\n                    \n  FUN_0016da40();\n}\n\n" (function_definition "void FUN_00172d20(long param_1)\n\n{\n  byte bVar1;\n  long lVar2;\n  undefined *puVar3;\n  int iVar4;\n  long lVar5;\n  uint uVar6;\n  int iVar7;\n  \n  puVar3 = PTR_DAT_004ba7c8;\n  lVar2 = *(long *)(*(long *)(param_1 + 0x38) + 0x28);\n  if (lVar2 == 0) {\n    iVar7 = 0;\n  }\n  else {\n    lVar2 = *(long *)(lVar2 + 0x10);\n    iVar7 = 0;\n    if (lVar2 != 0) {\n      lVar5 = lVar2 + 3;\n      if (-1 < lVar2) {\n        lVar5 = lVar2;\n      }\n      iVar7 = (int)(lVar5 >> 2);\n      if (iVar7 != 0) {\n        iVar7 = (iVar7 + 0x3fffffff) * 4 + 0x40 + ((iVar7 + 0x3fffffff) * -4 & 0xfU);\n      }\n    }\n  }\n  *(int *)(param_1 + 0x78) = iVar7;\n  lVar2 = *(long *)(puVar3 + 0x10);\n  if (lVar2 != 0) {\n    if (*(char *)(lVar2 + 0x45e8) == '\0') {\n      uVar6 = 0xfffffff8;\n      iVar4 = 8;\n    }\n    else {\n      iVar4 = 1 << ((byte)*(undefined4 *)(lVar2 + 0x45ec) & 0x1f);\n      uVar6 = -iVar4;\n    }\n    bVar1 = *(byte *)(param_1 + 0x20);\n    if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n      *(ulong *)(param_1 + 0x10) =\n           (ulong)*(uint *)(param_1 + 0x7c) + (ulong)(iVar7 + -1 + iVar4 & uVar6);\n      *(byte *)(param_1 + 0x20) = bVar1 | 2;\n      return;\n    }\n                    \n    FUN_001e9890("../../gold/output.h",0x218,"set_data_size");\n  }\n                    \n  FUN_0016da40();\n}" primitive_type (function_declarator "FUN_00172d20(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  long lVar2;\n  undefined *puVar3;\n  int iVar4;\n  long lVar5;\n  uint uVar6;\n  int iVar7;\n  \n  puVar3 = PTR_DAT_004ba7c8;\n  lVar2 = *(long *)(*(long *)(param_1 + 0x38) + 0x28);\n  if (lVar2 == 0) {\n    iVar7 = 0;\n  }\n  else {\n    lVar2 = *(long *)(lVar2 + 0x10);\n    iVar7 = 0;\n    if (lVar2 != 0) {\n      lVar5 = lVar2 + 3;\n      if (-1 < lVar2) {\n        lVar5 = lVar2;\n      }\n      iVar7 = (int)(lVar5 >> 2);\n      if (iVar7 != 0) {\n        iVar7 = (iVar7 + 0x3fffffff) * 4 + 0x40 + ((iVar7 + 0x3fffffff) * -4 & 0xfU);\n      }\n    }\n  }\n  *(int *)(param_1 + 0x78) = iVar7;\n  lVar2 = *(long *)(puVar3 + 0x10);\n  if (lVar2 != 0) {\n    if (*(char *)(lVar2 + 0x45e8) == '\0') {\n      uVar6 = 0xfffffff8;\n      iVar4 = 8;\n    }\n    else {\n      iVar4 = 1 << ((byte)*(undefined4 *)(lVar2 + 0x45ec) & 0x1f);\n      uVar6 = -iVar4;\n    }\n    bVar1 = *(byte *)(param_1 + 0x20);\n    if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n      *(ulong *)(param_1 + 0x10) =\n           (ulong)*(uint *)(param_1 + 0x7c) + (ulong)(iVar7 + -1 + iVar4 & uVar6);\n      *(byte *)(param_1 + 0x20) = bVar1 | 2;\n      return;\n    }\n                    \n    FUN_001e9890("../../gold/output.h",0x218,"set_data_size");\n  }\n                    \n  FUN_0016da40();\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "long lVar5;" (sized_type_specifier "long" long) identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (expression_statement "puVar3 = PTR_DAT_004ba7c8;" (assignment_expression "puVar3 = PTR_DAT_004ba7c8" identifier = identifier) ;) (expression_statement "lVar2 = *(long *)(*(long *)(param_1 + 0x38) + 0x28);" (assignment_expression "lVar2 = *(long *)(*(long *)(param_1 + 0x38) + 0x28)" identifier = (pointer_expression "*(long *)(*(long *)(param_1 + 0x38) + 0x28)" * (cast_expression "(long *)(*(long *)(param_1 + 0x38) + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x38) + 0x28)" ( (binary_expression "*(long *)(param_1 + 0x38) + 0x28" (pointer_expression "*(long *)(param_1 + 0x38)" * (cast_expression "(long *)(param_1 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (lVar2 == 0) {\n    iVar7 = 0;\n  }\n  else {\n    lVar2 = *(long *)(lVar2 + 0x10);\n    iVar7 = 0;\n    if (lVar2 != 0) {\n      lVar5 = lVar2 + 3;\n      if (-1 < lVar2) {\n        lVar5 = lVar2;\n      }\n      iVar7 = (int)(lVar5 >> 2);\n      if (iVar7 != 0) {\n        iVar7 = (iVar7 + 0x3fffffff) * 4 + 0x40 + ((iVar7 + 0x3fffffff) * -4 & 0xfU);\n      }\n    }\n  }" if (parenthesized_expression "(lVar2 == 0)" ( (binary_expression "lVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar7 = 0;\n  }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    lVar2 = *(long *)(lVar2 + 0x10);\n    iVar7 = 0;\n    if (lVar2 != 0) {\n      lVar5 = lVar2 + 3;\n      if (-1 < lVar2) {\n        lVar5 = lVar2;\n      }\n      iVar7 = (int)(lVar5 >> 2);\n      if (iVar7 != 0) {\n        iVar7 = (iVar7 + 0x3fffffff) * 4 + 0x40 + ((iVar7 + 0x3fffffff) * -4 & 0xfU);\n      }\n    }\n  }" else (compound_statement "{\n    lVar2 = *(long *)(lVar2 + 0x10);\n    iVar7 = 0;\n    if (lVar2 != 0) {\n      lVar5 = lVar2 + 3;\n      if (-1 < lVar2) {\n        lVar5 = lVar2;\n      }\n      iVar7 = (int)(lVar5 >> 2);\n      if (iVar7 != 0) {\n        iVar7 = (iVar7 + 0x3fffffff) * 4 + 0x40 + ((iVar7 + 0x3fffffff) * -4 & 0xfU);\n      }\n    }\n  }" { (expression_statement "lVar2 = *(long *)(lVar2 + 0x10);" (assignment_expression "lVar2 = *(long *)(lVar2 + 0x10)" identifier = (pointer_expression "*(long *)(lVar2 + 0x10)" * (cast_expression "(long *)(lVar2 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x10)" ( (binary_expression "lVar2 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (if_statement "if (lVar2 != 0) {\n      lVar5 = lVar2 + 3;\n      if (-1 < lVar2) {\n        lVar5 = lVar2;\n      }\n      iVar7 = (int)(lVar5 >> 2);\n      if (iVar7 != 0) {\n        iVar7 = (iVar7 + 0x3fffffff) * 4 + 0x40 + ((iVar7 + 0x3fffffff) * -4 & 0xfU);\n      }\n    }" if (parenthesized_expression "(lVar2 != 0)" ( (binary_expression "lVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      lVar5 = lVar2 + 3;\n      if (-1 < lVar2) {\n        lVar5 = lVar2;\n      }\n      iVar7 = (int)(lVar5 >> 2);\n      if (iVar7 != 0) {\n        iVar7 = (iVar7 + 0x3fffffff) * 4 + 0x40 + ((iVar7 + 0x3fffffff) * -4 & 0xfU);\n      }\n    }" { (expression_statement "lVar5 = lVar2 + 3;" (assignment_expression "lVar5 = lVar2 + 3" identifier = (binary_expression "lVar2 + 3" identifier + number_literal)) ;) (if_statement "if (-1 < lVar2) {\n        lVar5 = lVar2;\n      }" if (parenthesized_expression "(-1 < lVar2)" ( (binary_expression "-1 < lVar2" number_literal < identifier) )) (compound_statement "{\n        lVar5 = lVar2;\n      }" { (expression_statement "lVar5 = lVar2;" (assignment_expression "lVar5 = lVar2" identifier = identifier) ;) })) (expression_statement "iVar7 = (int)(lVar5 >> 2);" (assignment_expression "iVar7 = (int)(lVar5 >> 2)" identifier = (cast_expression "(int)(lVar5 >> 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(lVar5 >> 2)" ( (binary_expression "lVar5 >> 2" identifier >> number_literal) )))) ;) (if_statement "if (iVar7 != 0) {\n        iVar7 = (iVar7 + 0x3fffffff) * 4 + 0x40 + ((iVar7 + 0x3fffffff) * -4 & 0xfU);\n      }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar7 = (iVar7 + 0x3fffffff) * 4 + 0x40 + ((iVar7 + 0x3fffffff) * -4 & 0xfU);\n      }" { (expression_statement "iVar7 = (iVar7 + 0x3fffffff) * 4 + 0x40 + ((iVar7 + 0x3fffffff) * -4 & 0xfU);" (assignment_expression "iVar7 = (iVar7 + 0x3fffffff) * 4 + 0x40 + ((iVar7 + 0x3fffffff) * -4 & 0xfU)" identifier = (binary_expression "(iVar7 + 0x3fffffff) * 4 + 0x40 + ((iVar7 + 0x3fffffff) * -4 & 0xfU)" (binary_expression "(iVar7 + 0x3fffffff) * 4 + 0x40" (binary_expression "(iVar7 + 0x3fffffff) * 4" (parenthesized_expression "(iVar7 + 0x3fffffff)" ( (binary_expression "iVar7 + 0x3fffffff" identifier + number_literal) )) * number_literal) + number_literal) + (parenthesized_expression "((iVar7 + 0x3fffffff) * -4 & 0xfU)" ( (binary_expression "(iVar7 + 0x3fffffff) * -4 & 0xfU" (binary_expression "(iVar7 + 0x3fffffff) * -4" (parenthesized_expression "(iVar7 + 0x3fffffff)" ( (binary_expression "iVar7 + 0x3fffffff" identifier + number_literal) )) * number_literal) & number_literal) )))) ;) })) })) }))) (expression_statement "*(int *)(param_1 + 0x78) = iVar7;" (assignment_expression "*(int *)(param_1 + 0x78) = iVar7" (pointer_expression "*(int *)(param_1 + 0x78)" * (cast_expression "(int *)(param_1 + 0x78)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x78)" ( (binary_expression "param_1 + 0x78" identifier + number_literal) )))) = identifier) ;) (expression_statement "lVar2 = *(long *)(puVar3 + 0x10);" (assignment_expression "lVar2 = *(long *)(puVar3 + 0x10)" identifier = (pointer_expression "*(long *)(puVar3 + 0x10)" * (cast_expression "(long *)(puVar3 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + 0x10)" ( (binary_expression "puVar3 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (lVar2 != 0) {\n    if (*(char *)(lVar2 + 0x45e8) == '\0') {\n      uVar6 = 0xfffffff8;\n      iVar4 = 8;\n    }\n    else {\n      iVar4 = 1 << ((byte)*(undefined4 *)(lVar2 + 0x45ec) & 0x1f);\n      uVar6 = -iVar4;\n    }\n    bVar1 = *(byte *)(param_1 + 0x20);\n    if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n      *(ulong *)(param_1 + 0x10) =\n           (ulong)*(uint *)(param_1 + 0x7c) + (ulong)(iVar7 + -1 + iVar4 & uVar6);\n      *(byte *)(param_1 + 0x20) = bVar1 | 2;\n      return;\n    }\n                    \n    FUN_001e9890("../../gold/output.h",0x218,"set_data_size");\n  }" if (parenthesized_expression "(lVar2 != 0)" ( (binary_expression "lVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    if (*(char *)(lVar2 + 0x45e8) == '\0') {\n      uVar6 = 0xfffffff8;\n      iVar4 = 8;\n    }\n    else {\n      iVar4 = 1 << ((byte)*(undefined4 *)(lVar2 + 0x45ec) & 0x1f);\n      uVar6 = -iVar4;\n    }\n    bVar1 = *(byte *)(param_1 + 0x20);\n    if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n      *(ulong *)(param_1 + 0x10) =\n           (ulong)*(uint *)(param_1 + 0x7c) + (ulong)(iVar7 + -1 + iVar4 & uVar6);\n      *(byte *)(param_1 + 0x20) = bVar1 | 2;\n      return;\n    }\n                    \n    FUN_001e9890("../../gold/output.h",0x218,"set_data_size");\n  }" { (if_statement "if (*(char *)(lVar2 + 0x45e8) == '\0') {\n      uVar6 = 0xfffffff8;\n      iVar4 = 8;\n    }\n    else {\n      iVar4 = 1 << ((byte)*(undefined4 *)(lVar2 + 0x45ec) & 0x1f);\n      uVar6 = -iVar4;\n    }" if (parenthesized_expression "(*(char *)(lVar2 + 0x45e8) == '\0')" ( (binary_expression "*(char *)(lVar2 + 0x45e8) == '\0'" (pointer_expression "*(char *)(lVar2 + 0x45e8)" * (cast_expression "(char *)(lVar2 + 0x45e8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x45e8)" ( (binary_expression "lVar2 + 0x45e8" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      uVar6 = 0xfffffff8;\n      iVar4 = 8;\n    }" { (expression_statement "uVar6 = 0xfffffff8;" (assignment_expression "uVar6 = 0xfffffff8" identifier = number_literal) ;) (expression_statement "iVar4 = 8;" (assignment_expression "iVar4 = 8" identifier = number_literal) ;) }) (else_clause "else {\n      iVar4 = 1 << ((byte)*(undefined4 *)(lVar2 + 0x45ec) & 0x1f);\n      uVar6 = -iVar4;\n    }" else (compound_statement "{\n      iVar4 = 1 << ((byte)*(undefined4 *)(lVar2 + 0x45ec) & 0x1f);\n      uVar6 = -iVar4;\n    }" { (expression_statement "iVar4 = 1 << ((byte)*(undefined4 *)(lVar2 + 0x45ec) & 0x1f);" (assignment_expression "iVar4 = 1 << ((byte)*(undefined4 *)(lVar2 + 0x45ec) & 0x1f)" identifier = (binary_expression "1 << ((byte)*(undefined4 *)(lVar2 + 0x45ec) & 0x1f)" number_literal << (parenthesized_expression "((byte)*(undefined4 *)(lVar2 + 0x45ec) & 0x1f)" ( (binary_expression "(byte)*(undefined4 *)(lVar2 + 0x45ec) & 0x1f" (binary_expression "(byte)*(undefined4 *)(lVar2 + 0x45ec)" (parenthesized_expression "(byte)" ( identifier )) * (cast_expression "(undefined4 *)(lVar2 + 0x45ec)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x45ec)" ( (binary_expression "lVar2 + 0x45ec" identifier + number_literal) )))) & number_literal) )))) ;) (expression_statement "uVar6 = -iVar4;" (assignment_expression "uVar6 = -iVar4" identifier = (unary_expression "-iVar4" - 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      *(ulong *)(param_1 + 0x10) =\n           (ulong)*(uint *)(param_1 + 0x7c) + (ulong)(iVar7 + -1 + iVar4 & uVar6);\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) =\n           (ulong)*(uint *)(param_1 + 0x7c) + (ulong)(iVar7 + -1 + iVar4 & uVar6);\n      *(byte *)(param_1 + 0x20) = bVar1 | 2;\n      return;\n    }" { (expression_statement "*(ulong *)(param_1 + 0x10) =\n           (ulong)*(uint *)(param_1 + 0x7c) + (ulong)(iVar7 + -1 + iVar4 & uVar6);" (assignment_expression "*(ulong *)(param_1 + 0x10) =\n           (ulong)*(uint *)(param_1 + 0x7c) + (ulong)(iVar7 + -1 + iVar4 & uVar6)" (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) )))) = (binary_expression "(ulong)*(uint *)(param_1 + 0x7c) + (ulong)(iVar7 + -1 + iVar4 & uVar6)" (binary_expression "(ulong)*(uint *)(param_1 + 0x7c)" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(uint *)(param_1 + 0x7c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x7c)" ( (binary_expression "param_1 + 0x7c" identifier + number_literal) )))) + (call_expression "(ulong)(iVar7 + -1 + iVar4 & uVar6)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(iVar7 + -1 + iVar4 & uVar6)" ( (binary_expression "iVar7 + -1 + iVar4 & uVar6" (binary_expression "iVar7 + -1 + iVar4" (binary_expression "iVar7 + -1" identifier + number_literal) + 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_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 ") ))) ;) })) (expression_statement "FUN_0016da40();" (call_expression "FUN_0016da40()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT >> LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) * LIT) + LIT) + (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) * LIT) & LIT) )))) ;) })) })) }))) (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 IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression LIT << (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (unary_expression - 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 TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression (binary_expression IDENT + LIT) + IDENT) & 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 ") ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void FUN_00172d20(long param_1)\n\n{\n  byte bVar1;\n  long lVar2;\n  undefined *puVar3;\n  int iVar4;\n  long lVar5;\n  uint uVar6;\n  int iVar7;\n  \n  puVar3 = PTR_DAT_004ba7c8;\n  lVar2 = *(long *)(*(long *)(param_1 + 0x38) + 0x28);\n  if (lVar2 == 0) {\n    iVar7 = 0;\n  }\n  else {\n    lVar2 = *(long *)(lVar2 + 0x10);\n    iVar7 = 0;\n    if (lVar2 != 0) {\n      lVar5 = lVar2 + 3;\n      if (-1 < lVar2) {\n        lVar5 = lVar2;\n      }\n      iVar7 = (int)(lVar5 >> 2);\n      if (iVar7 != 0) {\n        iVar7 = (iVar7 + 0x3fffffff) * 4 + 0x40 + ((iVar7 + 0x3fffffff) * -4 & 0xfU);\n      }\n    }\n  }\n  *(int *)(param_1 + 0x78) = iVar7;\n  lVar2 = *(long *)(puVar3 + 0x10);\n  if (lVar2 != 0) {\n    if (*(char *)(lVar2 + 0x45e8) == '\0') {\n      uVar6 = 0xfffffff8;\n      iVar4 = 8;\n    }\n    else {\n      iVar4 = 1 << ((byte)*(undefined4 *)(lVar2 + 0x45ec) & 0x1f);\n      uVar6 = -iVar4;\n    }\n    bVar1 = *(byte *)(param_1 + 0x20);\n    if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n      *(ulong *)(param_1 + 0x10) =\n           (ulong)*(uint *)(param_1 + 0x7c) + (ulong)(iVar7 + -1 + iVar4 & uVar6);\n      *(byte *)(param_1 + 0x20) = bVar1 | 2;\n      return;\n    }\n                    \n    FUN_001e9890("../../gold/output.h",0x218,"set_data_size");\n  }\n                    \n  FUN_0016da40();\n}" (primitive_type "void") (function_declarator "FUN_00172d20(long param_1)" (identifier "FUN_00172d20") (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  long lVar2;\n  undefined *puVar3;\n  int iVar4;\n  long lVar5;\n  uint uVar6;\n  int iVar7;\n  \n  puVar3 = PTR_DAT_004ba7c8;\n  lVar2 = *(long *)(*(long *)(param_1 + 0x38) + 0x28);\n  if (lVar2 == 0) {\n    iVar7 = 0;\n  }\n  else {\n    lVar2 = *(long *)(lVar2 + 0x10);\n    iVar7 = 0;\n    if (lVar2 != 0) {\n      lVar5 = lVar2 + 3;\n      if (-1 < lVar2) {\n        lVar5 = lVar2;\n      }\n      iVar7 = (int)(lVar5 >> 2);\n      if (iVar7 != 0) {\n        iVar7 = (iVar7 + 0x3fffffff) * 4 + 0x40 + ((iVar7 + 0x3fffffff) * -4 & 0xfU);\n      }\n    }\n  }\n  *(int *)(param_1 + 0x78) = iVar7;\n  lVar2 = *(long *)(puVar3 + 0x10);\n  if (lVar2 != 0) {\n    if (*(char *)(lVar2 + 0x45e8) == '\0') {\n      uVar6 = 0xfffffff8;\n      iVar4 = 8;\n    }\n    else {\n      iVar4 = 1 << ((byte)*(undefined4 *)(lVar2 + 0x45ec) & 0x1f);\n      uVar6 = -iVar4;\n    }\n    bVar1 = *(byte *)(param_1 + 0x20);\n    if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n      *(ulong *)(param_1 + 0x10) =\n           (ulong)*(uint *)(param_1 + 0x7c) + (ulong)(iVar7 + -1 + iVar4 & uVar6);\n      *(byte *)(param_1 + 0x20) = bVar1 | 2;\n      return;\n    }\n                    \n    FUN_001e9890("../../gold/output.h",0x218,"set_data_size");\n  }\n                    \n  FUN_0016da40();\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "long lVar2;" (sized_type_specifier "long" (long "long")) (identifier "lVar2") (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "long lVar5;" (sized_type_specifier "long" (long "long")) (identifier "lVar5") (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (expression_statement "puVar3 = PTR_DAT_004ba7c8;" (assignment_expression "puVar3 = PTR_DAT_004ba7c8" (identifier "puVar3") (= "=") (identifier "PTR_DAT_004ba7c8")) (; ";")) (expression_statement "lVar2 = *(long *)(*(long *)(param_1 + 0x38) + 0x28);" (assignment_expression "lVar2 = *(long *)(*(long *)(param_1 + 0x38) + 0x28)" (identifier "lVar2") (= "=") (pointer_expression "*(long *)(*(long *)(param_1 + 0x38) + 0x28)" (* "*") (cast_expression "(long *)(*(long *)(param_1 + 0x38) + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0x38) + 0x28)" (( "(") (binary_expression "*(long *)(param_1 + 0x38) + 0x28" (pointer_expression "*(long *)(param_1 + 0x38)" (* "*") (cast_expression "(long *)(param_1 + 0x38)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")")))) (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (if_statement "if (lVar2 == 0) {\n    iVar7 = 0;\n  }\n  else {\n    lVar2 = *(long *)(lVar2 + 0x10);\n    iVar7 = 0;\n    if (lVar2 != 0) {\n      lVar5 = lVar2 + 3;\n      if (-1 < lVar2) {\n        lVar5 = lVar2;\n      }\n      iVar7 = (int)(lVar5 >> 2);\n      if (iVar7 != 0) {\n        iVar7 = (iVar7 + 0x3fffffff) * 4 + 0x40 + ((iVar7 + 0x3fffffff) * -4 & 0xfU);\n      }\n    }\n  }" (if "if") (parenthesized_expression "(lVar2 == 0)" (( "(") (binary_expression "lVar2 == 0" (identifier "lVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar7 = 0;\n  }" ({ "{") (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    lVar2 = *(long *)(lVar2 + 0x10);\n    iVar7 = 0;\n    if (lVar2 != 0) {\n      lVar5 = lVar2 + 3;\n      if (-1 < lVar2) {\n        lVar5 = lVar2;\n      }\n      iVar7 = (int)(lVar5 >> 2);\n      if (iVar7 != 0) {\n        iVar7 = (iVar7 + 0x3fffffff) * 4 + 0x40 + ((iVar7 + 0x3fffffff) * -4 & 0xfU);\n      }\n    }\n  }" (else "else") (compound_statement "{\n    lVar2 = *(long *)(lVar2 + 0x10);\n    iVar7 = 0;\n    if (lVar2 != 0) {\n      lVar5 = lVar2 + 3;\n      if (-1 < lVar2) {\n        lVar5 = lVar2;\n      }\n      iVar7 = (int)(lVar5 >> 2);\n      if (iVar7 != 0) {\n        iVar7 = (iVar7 + 0x3fffffff) * 4 + 0x40 + ((iVar7 + 0x3fffffff) * -4 & 0xfU);\n      }\n    }\n  }" ({ "{") (expression_statement "lVar2 = *(long *)(lVar2 + 0x10);" (assignment_expression "lVar2 = *(long *)(lVar2 + 0x10)" (identifier "lVar2") (= "=") (pointer_expression "*(long *)(lVar2 + 0x10)" (* "*") (cast_expression "(long *)(lVar2 + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x10)" (( "(") (binary_expression "lVar2 + 0x10" (identifier "lVar2") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (if_statement "if (lVar2 != 0) {\n      lVar5 = lVar2 + 3;\n      if (-1 < lVar2) {\n        lVar5 = lVar2;\n      }\n      iVar7 = (int)(lVar5 >> 2);\n      if (iVar7 != 0) {\n        iVar7 = (iVar7 + 0x3fffffff) * 4 + 0x40 + ((iVar7 + 0x3fffffff) * -4 & 0xfU);\n      }\n    }" (if "if") (parenthesized_expression "(lVar2 != 0)" (( "(") (binary_expression "lVar2 != 0" (identifier "lVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      lVar5 = lVar2 + 3;\n      if (-1 < lVar2) {\n        lVar5 = lVar2;\n      }\n      iVar7 = (int)(lVar5 >> 2);\n      if (iVar7 != 0) {\n        iVar7 = (iVar7 + 0x3fffffff) * 4 + 0x40 + ((iVar7 + 0x3fffffff) * -4 & 0xfU);\n      }\n    }" ({ "{") (expression_statement "lVar5 = lVar2 + 3;" (assignment_expression "lVar5 = lVar2 + 3" (identifier "lVar5") (= "=") (binary_expression "lVar2 + 3" (identifier "lVar2") (+ "+") (number_literal "3"))) (; ";")) (if_statement "if (-1 < lVar2) {\n        lVar5 = lVar2;\n      }" (if "if") (parenthesized_expression "(-1 < lVar2)" (( "(") (binary_expression "-1 < lVar2" (number_literal "-1") (< "<") (identifier "lVar2")) () ")")) (compound_statement "{\n        lVar5 = lVar2;\n      }" ({ "{") (expression_statement "lVar5 = lVar2;" (assignment_expression "lVar5 = lVar2" (identifier "lVar5") (= "=") (identifier "lVar2")) (; ";")) (} "}"))) (expression_statement "iVar7 = (int)(lVar5 >> 2);" (assignment_expression "iVar7 = (int)(lVar5 >> 2)" (identifier "iVar7") (= "=") (cast_expression "(int)(lVar5 >> 2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(lVar5 >> 2)" (( "(") (binary_expression "lVar5 >> 2" (identifier "lVar5") (>> ">>") (number_literal "2")) () ")")))) (; ";")) (if_statement "if (iVar7 != 0) {\n        iVar7 = (iVar7 + 0x3fffffff) * 4 + 0x40 + ((iVar7 + 0x3fffffff) * -4 & 0xfU);\n      }" (if "if") (parenthesized_expression "(iVar7 != 0)" (( "(") (binary_expression "iVar7 != 0" (identifier "iVar7") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        iVar7 = (iVar7 + 0x3fffffff) * 4 + 0x40 + ((iVar7 + 0x3fffffff) * -4 & 0xfU);\n      }" ({ "{") (expression_statement "iVar7 = (iVar7 + 0x3fffffff) * 4 + 0x40 + ((iVar7 + 0x3fffffff) * -4 & 0xfU);" (assignment_expression "iVar7 = (iVar7 + 0x3fffffff) * 4 + 0x40 + ((iVar7 + 0x3fffffff) * -4 & 0xfU)" (identifier "iVar7") (= "=") (binary_expression "(iVar7 + 0x3fffffff) * 4 + 0x40 + ((iVar7 + 0x3fffffff) * -4 & 0xfU)" (binary_expression "(iVar7 + 0x3fffffff) * 4 + 0x40" (binary_expression "(iVar7 + 0x3fffffff) * 4" (parenthesized_expression "(iVar7 + 0x3fffffff)" (( "(") (binary_expression "iVar7 + 0x3fffffff" (identifier "iVar7") (+ "+") (number_literal "0x3fffffff")) () ")")) (* "*") (number_literal "4")) (+ "+") (number_literal "0x40")) (+ "+") (parenthesized_expression "((iVar7 + 0x3fffffff) * -4 & 0xfU)" (( "(") (binary_expression "(iVar7 + 0x3fffffff) * -4 & 0xfU" (binary_expression "(iVar7 + 0x3fffffff) * -4" (parenthesized_expression "(iVar7 + 0x3fffffff)" (( "(") (binary_expression "iVar7 + 0x3fffffff" (identifier "iVar7") (+ "+") (number_literal "0x3fffffff")) () ")")) (* "*") (number_literal "-4")) (& "&") (number_literal "0xfU")) () ")")))) (; ";")) (} "}"))) (} "}"))) (} "}")))) (expression_statement "*(int *)(param_1 + 0x78) = iVar7;" (assignment_expression "*(int *)(param_1 + 0x78) = iVar7" (pointer_expression "*(int *)(param_1 + 0x78)" (* "*") (cast_expression "(int *)(param_1 + 0x78)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x78)" (( "(") (binary_expression "param_1 + 0x78" (identifier "param_1") (+ "+") (number_literal "0x78")) () ")")))) (= "=") (identifier "iVar7")) (; ";")) (expression_statement "lVar2 = *(long *)(puVar3 + 0x10);" (assignment_expression "lVar2 = *(long *)(puVar3 + 0x10)" (identifier "lVar2") (= "=") (pointer_expression "*(long *)(puVar3 + 0x10)" (* "*") (cast_expression "(long *)(puVar3 + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar3 + 0x10)" (( "(") (binary_expression "puVar3 + 0x10" (identifier "puVar3") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (if_statement "if (lVar2 != 0) {\n    if (*(char *)(lVar2 + 0x45e8) == '\0') {\n      uVar6 = 0xfffffff8;\n      iVar4 = 8;\n    }\n    else {\n      iVar4 = 1 << ((byte)*(undefined4 *)(lVar2 + 0x45ec) & 0x1f);\n      uVar6 = -iVar4;\n    }\n    bVar1 = *(byte *)(param_1 + 0x20);\n    if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n      *(ulong *)(param_1 + 0x10) =\n           (ulong)*(uint *)(param_1 + 0x7c) + (ulong)(iVar7 + -1 + iVar4 & uVar6);\n      *(byte *)(param_1 + 0x20) = bVar1 | 2;\n      return;\n    }\n                    \n    FUN_001e9890("../../gold/output.h",0x218,"set_data_size");\n  }" (if "if") (parenthesized_expression "(lVar2 != 0)" (( "(") (binary_expression "lVar2 != 0" (identifier "lVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (*(char *)(lVar2 + 0x45e8) == '\0') {\n      uVar6 = 0xfffffff8;\n      iVar4 = 8;\n    }\n    else {\n      iVar4 = 1 << ((byte)*(undefined4 *)(lVar2 + 0x45ec) & 0x1f);\n      uVar6 = -iVar4;\n    }\n    bVar1 = *(byte *)(param_1 + 0x20);\n    if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n      *(ulong *)(param_1 + 0x10) =\n           (ulong)*(uint *)(param_1 + 0x7c) + (ulong)(iVar7 + -1 + iVar4 & uVar6);\n      *(byte *)(param_1 + 0x20) = bVar1 | 2;\n      return;\n    }\n                    \n    FUN_001e9890("../../gold/output.h",0x218,"set_data_size");\n  }" ({ "{") (if_statement "if (*(char *)(lVar2 + 0x45e8) == '\0') {\n      uVar6 = 0xfffffff8;\n      iVar4 = 8;\n    }\n    else {\n      iVar4 = 1 << ((byte)*(undefined4 *)(lVar2 + 0x45ec) & 0x1f);\n      uVar6 = -iVar4;\n    }" (if "if") (parenthesized_expression "(*(char *)(lVar2 + 0x45e8) == '\0')" (( "(") (binary_expression "*(char *)(lVar2 + 0x45e8) == '\0'" (pointer_expression "*(char *)(lVar2 + 0x45e8)" (* "*") (cast_expression "(char *)(lVar2 + 0x45e8)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x45e8)" (( "(") (binary_expression "lVar2 + 0x45e8" (identifier "lVar2") (+ "+") (number_literal "0x45e8")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      uVar6 = 0xfffffff8;\n      iVar4 = 8;\n    }" ({ "{") (expression_statement "uVar6 = 0xfffffff8;" (assignment_expression "uVar6 = 0xfffffff8" (identifier "uVar6") (= "=") (number_literal "0xfffffff8")) (; ";")) (expression_statement "iVar4 = 8;" (assignment_expression "iVar4 = 8" (identifier "iVar4") (= "=") (number_literal "8")) (; ";")) (} "}")) (else_clause "else {\n      iVar4 = 1 << ((byte)*(undefined4 *)(lVar2 + 0x45ec) & 0x1f);\n      uVar6 = -iVar4;\n    }" (else "else") (compound_statement "{\n      iVar4 = 1 << ((byte)*(undefined4 *)(lVar2 + 0x45ec) & 0x1f);\n      uVar6 = -iVar4;\n    }" ({ "{") (expression_statement "iVar4 = 1 << ((byte)*(undefined4 *)(lVar2 + 0x45ec) & 0x1f);" (assignment_expression "iVar4 = 1 << ((byte)*(undefined4 *)(lVar2 + 0x45ec) & 0x1f)" (identifier "iVar4") (= "=") (binary_expression "1 << ((byte)*(undefined4 *)(lVar2 + 0x45ec) & 0x1f)" (number_literal "1") (<< "<<") (parenthesized_expression "((byte)*(undefined4 *)(lVar2 + 0x45ec) & 0x1f)" (( "(") (binary_expression "(byte)*(undefined4 *)(lVar2 + 0x45ec) & 0x1f" (binary_expression "(byte)*(undefined4 *)(lVar2 + 0x45ec)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (* "*") (cast_expression "(undefined4 *)(lVar2 + 0x45ec)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x45ec)" (( "(") (binary_expression "lVar2 + 0x45ec" (identifier "lVar2") (+ "+") (number_literal "0x45ec")) () ")")))) (& "&") (number_literal "0x1f")) () ")")))) (; ";")) (expression_statement "uVar6 = -iVar4;" (assignment_expression "uVar6 = -iVar4" (identifier "uVar6") (= "=") (unary_expression "-iVar4" (- "-") (identifier "iVar4"))) (; ";")) (} "}")))) (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) =\n           (ulong)*(uint *)(param_1 + 0x7c) + (ulong)(iVar7 + -1 + iVar4 & uVar6);\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) =\n           (ulong)*(uint *)(param_1 + 0x7c) + (ulong)(iVar7 + -1 + iVar4 & uVar6);\n      *(byte *)(param_1 + 0x20) = bVar1 | 2;\n      return;\n    }" ({ "{") (expression_statement "*(ulong *)(param_1 + 0x10) =\n           (ulong)*(uint *)(param_1 + 0x7c) + (ulong)(iVar7 + -1 + iVar4 & uVar6);" (assignment_expression "*(ulong *)(param_1 + 0x10) =\n           (ulong)*(uint *)(param_1 + 0x7c) + (ulong)(iVar7 + -1 + iVar4 & uVar6)" (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")) () ")")))) (= "=") (binary_expression "(ulong)*(uint *)(param_1 + 0x7c) + (ulong)(iVar7 + -1 + iVar4 & uVar6)" (binary_expression "(ulong)*(uint *)(param_1 + 0x7c)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (* "*") (cast_expression "(uint *)(param_1 + 0x7c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x7c)" (( "(") (binary_expression "param_1 + 0x7c" (identifier "param_1") (+ "+") (number_literal "0x7c")) () ")")))) (+ "+") (call_expression "(ulong)(iVar7 + -1 + iVar4 & uVar6)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(iVar7 + -1 + iVar4 & uVar6)" (( "(") (binary_expression "iVar7 + -1 + iVar4 & uVar6" (binary_expression "iVar7 + -1 + iVar4" (binary_expression "iVar7 + -1" (identifier "iVar7") (+ "+") (number_literal "-1")) (+ "+") (identifier "iVar4")) (& "&") (identifier "uVar6")) () ")"))))) (; ";")) (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") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_0016da40();" (call_expression "FUN_0016da40()" (identifier "FUN_0016da40") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* DWARF original prototype: void set_final_data_size(Output_data_glink<32,_true> * this) */

void __thiscall
anon_unknown.dwarf_2cac9f::Output_data_glink<32,var_3>::set_final_data_size
          (Output_data_glink<32,var_3> *this)

{
  byte var_8;
  var_1<32,var_3> *var_2;
  long var_4;
  type_1 *var_7;
  type_2 *pPVar5;
  int var_9;
  long var_5;
  type_3 var_10;
  type_3 var_6;
  
  pPVar5 = gold::parameters;
  var_2 = this->targ_->plt_;
  if (var_2 == (var_1<32,var_3> *)0x0) {
    var_6 = 0;
  }
  else {
    var_4 = (var_2->super_Output_section_data_build).super_Output_section_data.super_Output_data.
            data_size_;
    var_6 = 0;
    if (var_4 != 0) {
      var_5 = var_4 + 3;
      if (-1 < var_4) {
        var_5 = var_4;
      }
      var_6 = (type_3)(var_5 >> 2);
      if (var_6 != 0) {
        var_6 = (var_6 + 0x3fffffff) * 4 + 0x40 + ((var_6 + 0x3fffffff) * -4 & 0xf);
      }
    }
  }
  this->end_branch_table_ = var_6;
  var_7 = pPVar5->options_;
  if (var_7 != (type_1 *)0x0) {
    if ((var_7->plt_align_).user_set_via_option == false) {
      var_10 = 0xfffffff8;
      var_9 = 8;
    }
    else {
      var_9 = 1 << ((byte)(var_7->plt_align_).value & 0x1f);
      var_10 = -var_9;
    }
    var_8 = this->field_0x20;
    if (((var_8 & 2) == 0) && ((var_8 & 8) == 0)) {
      *(type_4 *)&this->field_0x10 = (type_4)this->ge_size_ + (type_4)((var_6 - 1) + var_9 & var_10);
      this->field_0x20 = var_8 | 2;
      return;
    }
                    /* WARNING: Subroutine does not return */
    gold::var_11("../../gold/output.h",0x218,"set_data_size");
  }
                    /* WARNING: Subroutine does not return */
  param_plt_align<64>();
}


(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: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (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))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_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)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (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: (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)) right: (number_literal)) right: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)) right: (number_literal))))))))))))) (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: (identifier) 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))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (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: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (number_literal) right: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (unary_expression argument: (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: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier)) 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: (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))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))))

void MASKED(long param_1)

{
  byte bVar1;
  long lVar2;
  undefined *puVar3;
  int iVar4;
  long lVar5;
  uint uVar6;
  int iVar7;
  
  puVar3 = PTR_DAT_004ba7c8;
  lVar2 = *(long *)(*(long *)(param_1 + 0x38) + 0x28);
  if (lVar2 == 0) {
    iVar7 = 0;
  }
  else {
    lVar2 = *(long *)(lVar2 + 0x10);
    iVar7 = 0;
    if (lVar2 != 0) {
      lVar5 = lVar2 + 3;
      if (-1 < lVar2) {
        lVar5 = lVar2;
      }
      iVar7 = (int)(lVar5 >> 2);
      if (iVar7 != 0) {
        iVar7 = (iVar7 + 0x3fffffff) * 4 + 0x40 + ((iVar7 + 0x3fffffff) * -4 & 0xfU);
      }
    }
  }
  *(int *)(param_1 + 0x78) = iVar7;
  lVar2 = *(long *)(puVar3 + 0x10);
  if (lVar2 != 0) {
    if (*(char *)(lVar2 + 0x45e8) == '\0') {
      uVar6 = 0xfffffff8;
      iVar4 = 8;
    }
    else {
      iVar4 = 1 << ((byte)*(undefined4 *)(lVar2 + 0x45ec) & 0x1f);
      uVar6 = -iVar4;
    }
    bVar1 = *(byte *)(param_1 + 0x20);
    if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {
      *(ulong *)(param_1 + 0x10) =
           (ulong)*(uint *)(param_1 + 0x7c) + (ulong)(iVar7 + -1 + iVar4 & uVar6);
      *(byte *)(param_1 + 0x20) = bVar1 | 2;
      return;
    }
                    /* WARNING: Subroutine does not return */
    FUN_001e9890("../../gold/output.h",0x218,"set_data_size");
  }
                    /* WARNING: Subroutine does not return */
  FUN_0016da40();
}

