
/* WARNING: Struct "Output_section_data": ignoring overlapping field "output_section_" */
/* WARNING: Struct "Output_section": ignoring overlapping field "name_" */
/* DWARF original prototype: void update_flags_for_input_section(Output_section * this, Elf_Xword
   flags) */

void __thiscall
gold::Output_section::update_flags_for_input_section(Output_section *this,Elf_Xword flags)

{
  byte bVar1;
  uint uVar2;
  undefined4 uVar3;
  uint in_a3;
  
  uVar2 = (uint)this->flags_;
  uVar3 = *(undefined4 *)&this->flags_;
  if (((uVar2 & 2) == 0) && ((in_a3 & 2) != 0)) {
    bVar1 = (this->super_Output_data).field_0x20;
    *(undefined4 *)&this->flags_ = uVar3;
    (this->super_Output_data).field_0x20 = bVar1 & 0x7f;
    uVar2 = in_a3 & 7 | uVar2;
    *(uint *)((int)&this->flags_ + 4) = uVar2;
  }
  else {
    *(undefined4 *)&this->flags_ = uVar3;
    uVar2 = in_a3 & 7 | uVar2;
    *(uint *)((int)&this->flags_ + 4) = uVar2;
  }
  if ((in_a3 & 0x10) == 0) {
    *(undefined4 *)&this->flags_ = 0;
    uVar3 = 0;
    uVar2 = uVar2 & 0xffffffef;
    *(uint *)((int)&this->flags_ + 4) = uVar2;
    if ((in_a3 & 0x20) != 0) {
      if (*(int *)&(this->super_Output_data).data_size_ != 0 ||
          (int)(this->super_Output_data).data_size_ != 0) {
        return;
      }
LAB_00215228:
      *(undefined4 *)&this->flags_ = uVar3;
      *(uint *)((int)&this->flags_ + 4) = uVar2 | 0x20;
      return;
    }
  }
  else {
    if (*(int *)&(this->super_Output_data).data_size_ != 0 ||
        (int)(this->super_Output_data).data_size_ != 0) {
      if ((in_a3 & 0x20) != 0) {
        return;
      }
      *(undefined4 *)&this->flags_ = 0;
      *(uint *)((int)&this->flags_ + 4) = uVar2 & 0xffffffdf;
      return;
    }
    uVar2 = uVar2 | 0x10;
    *(uint *)((int)&this->flags_ + 4) = uVar2;
    if ((in_a3 & 0x20) != 0) goto LAB_00215228;
  }
  *(undefined4 *)&this->flags_ = 0;
  *(uint *)((int)&this->flags_ + 4) = uVar2 & 0xffffffdf;
  return;
}



/* gold::Output_section::update_flags_for_input_section(unsigned long long) */

void gold::Output_section::update_flags_for_input_section(ulonglong param_1)

{
  undefined4 uVar1;
  int in_a0;
  uint uVar2;
  uint in_a3;
  
  uVar2 = *(uint *)(in_a0 + 0x5c);
  uVar1 = *(undefined4 *)(in_a0 + 0x58);
  if (((uVar2 & 2) == 0) && ((in_a3 & 2) != 0)) {
    *(undefined4 *)(in_a0 + 0x58) = uVar1;
    *(byte *)(in_a0 + 0x20) = *(byte *)(in_a0 + 0x20) & 0x7f;
    uVar2 = in_a3 & 7 | uVar2;
    *(uint *)(in_a0 + 0x5c) = uVar2;
  }
  else {
    *(undefined4 *)(in_a0 + 0x58) = uVar1;
    uVar2 = in_a3 & 7 | uVar2;
    *(uint *)(in_a0 + 0x5c) = uVar2;
  }
  if ((in_a3 & 0x10) == 0) {
    *(undefined4 *)(in_a0 + 0x58) = 0;
    uVar1 = 0;
    uVar2 = uVar2 & 0xffffffef;
    *(uint *)(in_a0 + 0x5c) = uVar2;
    if ((in_a3 & 0x20) != 0) {
      if (*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0) {
        return;
      }
LAB_00215228:
      *(undefined4 *)(in_a0 + 0x58) = uVar1;
      *(uint *)(in_a0 + 0x5c) = uVar2 | 0x20;
      return;
    }
  }
  else {
    if (*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0) {
      if ((in_a3 & 0x20) != 0) {
        return;
      }
      *(undefined4 *)(in_a0 + 0x58) = 0;
      *(uint *)(in_a0 + 0x5c) = uVar2 & 0xffffffdf;
      return;
    }
    uVar2 = uVar2 | 0x10;
    *(uint *)(in_a0 + 0x5c) = uVar2;
    if ((in_a3 & 0x20) != 0) goto LAB_00215228;
  }
  *(undefined4 *)(in_a0 + 0x58) = 0;
  *(uint *)(in_a0 + 0x5c) = uVar2 & 0xffffffdf;
  return;
}


lw a1,0x5c(a0)
andi v0,a1,0x2
bne v0,zero,0x00215198
_lw v1,0x58(a0)
andi v0,a3,0x2
bne v0,zero,0x002151e0
_nop
andi v0,a3,0x7
sw v1,0x58(a0)
or v0,v0,a1
andi a1,a3,0x10
sw v0,0x5c(a0)
bne a1,zero,0x00215208
_andi a3,a3,0x20
li a1,-0x11
sw zero,0x58(a0)
or v1,zero,zero
and v0,v0,a1
bne a3,zero,0x00215238
_sw v0,0x5c(a0)
li v1,-0x21
sw zero,0x58(a0)
and v0,v0,v1
jr ra
_sw v0,0x5c(a0)
lbu v0,0x20(a0)
sw v1,0x58(a0)
ins v0,zero,0x7,0x1
sb v0,0x20(a0)
andi v0,a3,0x7
or v0,v0,a1
andi a1,a3,0x10
sw v0,0x5c(a0)
beq a1,zero,0x002151b4
_andi a3,a3,0x20
lw a1,0x10(a0)
lw a2,0x14(a0)
or a1,a1,a2
bne a1,zero,0x00215254
_nop
ori v0,v0,0x10
beq a3,zero,0x002151cc
_sw v0,0x5c(a0)
ori v0,v0,0x20
sw v1,0x58(a0)
jr ra
_sw v0,0x5c(a0)
lw a1,0x10(a0)
lw a2,0x14(a0)
or a1,a1,a2
beq a1,zero,0x00215228
_nop
jr ra
_nop
bne a3,zero,0x0021524c
_nop
li v1,-0x21
sw zero,0x58(a0)
and v0,v0,v1
jr ra
_sw v0,0x5c(a0)
(translation_unit "/* gold::Output_section::update_flags_for_input_section(unsigned long long) */\n\nvoid gold::Output_section::update_flags_for_input_section(ulonglong param_1)\n\n{\n  undefined4 uVar1;\n  int in_a0;\n  uint uVar2;\n  uint in_a3;\n  \n  uVar2 = *(uint *)(in_a0 + 0x5c);\n  uVar1 = *(undefined4 *)(in_a0 + 0x58);\n  if (((uVar2 & 2) == 0) && ((in_a3 & 2) != 0)) {\n    *(undefined4 *)(in_a0 + 0x58) = uVar1;\n    *(byte *)(in_a0 + 0x20) = *(byte *)(in_a0 + 0x20) & 0x7f;\n    uVar2 = in_a3 & 7 | uVar2;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n  }\n  else {\n    *(undefined4 *)(in_a0 + 0x58) = uVar1;\n    uVar2 = in_a3 & 7 | uVar2;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n  }\n  if ((in_a3 & 0x10) == 0) {\n    *(undefined4 *)(in_a0 + 0x58) = 0;\n    uVar1 = 0;\n    uVar2 = uVar2 & 0xffffffef;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n    if ((in_a3 & 0x20) != 0) {\n      if (*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0) {\n        return;\n      }\nLAB_00215228:\n      *(undefined4 *)(in_a0 + 0x58) = uVar1;\n      *(uint *)(in_a0 + 0x5c) = uVar2 | 0x20;\n      return;\n    }\n  }\n  else {\n    if (*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0) {\n      if ((in_a3 & 0x20) != 0) {\n        return;\n      }\n      *(undefined4 *)(in_a0 + 0x58) = 0;\n      *(uint *)(in_a0 + 0x5c) = uVar2 & 0xffffffdf;\n      return;\n    }\n    uVar2 = uVar2 | 0x10;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n    if ((in_a3 & 0x20) != 0) goto LAB_00215228;\n  }\n  *(undefined4 *)(in_a0 + 0x58) = 0;\n  *(uint *)(in_a0 + 0x5c) = uVar2 & 0xffffffdf;\n  return;\n}\n\n" comment (function_definition "void gold::Output_section::update_flags_for_input_section(ulonglong param_1)\n\n{\n  undefined4 uVar1;\n  int in_a0;\n  uint uVar2;\n  uint in_a3;\n  \n  uVar2 = *(uint *)(in_a0 + 0x5c);\n  uVar1 = *(undefined4 *)(in_a0 + 0x58);\n  if (((uVar2 & 2) == 0) && ((in_a3 & 2) != 0)) {\n    *(undefined4 *)(in_a0 + 0x58) = uVar1;\n    *(byte *)(in_a0 + 0x20) = *(byte *)(in_a0 + 0x20) & 0x7f;\n    uVar2 = in_a3 & 7 | uVar2;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n  }\n  else {\n    *(undefined4 *)(in_a0 + 0x58) = uVar1;\n    uVar2 = in_a3 & 7 | uVar2;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n  }\n  if ((in_a3 & 0x10) == 0) {\n    *(undefined4 *)(in_a0 + 0x58) = 0;\n    uVar1 = 0;\n    uVar2 = uVar2 & 0xffffffef;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n    if ((in_a3 & 0x20) != 0) {\n      if (*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0) {\n        return;\n      }\nLAB_00215228:\n      *(undefined4 *)(in_a0 + 0x58) = uVar1;\n      *(uint *)(in_a0 + 0x5c) = uVar2 | 0x20;\n      return;\n    }\n  }\n  else {\n    if (*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0) {\n      if ((in_a3 & 0x20) != 0) {\n        return;\n      }\n      *(undefined4 *)(in_a0 + 0x58) = 0;\n      *(uint *)(in_a0 + 0x5c) = uVar2 & 0xffffffdf;\n      return;\n    }\n    uVar2 = uVar2 | 0x10;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n    if ((in_a3 & 0x20) != 0) goto LAB_00215228;\n  }\n  *(undefined4 *)(in_a0 + 0x58) = 0;\n  *(uint *)(in_a0 + 0x5c) = uVar2 & 0xffffffdf;\n  return;\n}" primitive_type (ERROR "gold::Output_section::" identifier : : identifier : :) (function_declarator "update_flags_for_input_section(ulonglong param_1)" identifier (parameter_list "(ulonglong param_1)" ( (parameter_declaration "ulonglong param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  int in_a0;\n  uint uVar2;\n  uint in_a3;\n  \n  uVar2 = *(uint *)(in_a0 + 0x5c);\n  uVar1 = *(undefined4 *)(in_a0 + 0x58);\n  if (((uVar2 & 2) == 0) && ((in_a3 & 2) != 0)) {\n    *(undefined4 *)(in_a0 + 0x58) = uVar1;\n    *(byte *)(in_a0 + 0x20) = *(byte *)(in_a0 + 0x20) & 0x7f;\n    uVar2 = in_a3 & 7 | uVar2;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n  }\n  else {\n    *(undefined4 *)(in_a0 + 0x58) = uVar1;\n    uVar2 = in_a3 & 7 | uVar2;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n  }\n  if ((in_a3 & 0x10) == 0) {\n    *(undefined4 *)(in_a0 + 0x58) = 0;\n    uVar1 = 0;\n    uVar2 = uVar2 & 0xffffffef;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n    if ((in_a3 & 0x20) != 0) {\n      if (*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0) {\n        return;\n      }\nLAB_00215228:\n      *(undefined4 *)(in_a0 + 0x58) = uVar1;\n      *(uint *)(in_a0 + 0x5c) = uVar2 | 0x20;\n      return;\n    }\n  }\n  else {\n    if (*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0) {\n      if ((in_a3 & 0x20) != 0) {\n        return;\n      }\n      *(undefined4 *)(in_a0 + 0x58) = 0;\n      *(uint *)(in_a0 + 0x5c) = uVar2 & 0xffffffdf;\n      return;\n    }\n    uVar2 = uVar2 | 0x10;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n    if ((in_a3 & 0x20) != 0) goto LAB_00215228;\n  }\n  *(undefined4 *)(in_a0 + 0x58) = 0;\n  *(uint *)(in_a0 + 0x5c) = uVar2 & 0xffffffdf;\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int in_a0;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint in_a3;" type_identifier identifier ;) (expression_statement "uVar2 = *(uint *)(in_a0 + 0x5c);" (assignment_expression "uVar2 = *(uint *)(in_a0 + 0x5c)" identifier = (pointer_expression "*(uint *)(in_a0 + 0x5c)" * (cast_expression "(uint *)(in_a0 + 0x5c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x5c)" ( (binary_expression "in_a0 + 0x5c" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = *(undefined4 *)(in_a0 + 0x58);" (assignment_expression "uVar1 = *(undefined4 *)(in_a0 + 0x58)" identifier = (pointer_expression "*(undefined4 *)(in_a0 + 0x58)" * (cast_expression "(undefined4 *)(in_a0 + 0x58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x58)" ( (binary_expression "in_a0 + 0x58" identifier + number_literal) ))))) ;) (if_statement "if (((uVar2 & 2) == 0) && ((in_a3 & 2) != 0)) {\n    *(undefined4 *)(in_a0 + 0x58) = uVar1;\n    *(byte *)(in_a0 + 0x20) = *(byte *)(in_a0 + 0x20) & 0x7f;\n    uVar2 = in_a3 & 7 | uVar2;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n  }\n  else {\n    *(undefined4 *)(in_a0 + 0x58) = uVar1;\n    uVar2 = in_a3 & 7 | uVar2;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n  }" if (parenthesized_expression "(((uVar2 & 2) == 0) && ((in_a3 & 2) != 0))" ( (binary_expression "((uVar2 & 2) == 0) && ((in_a3 & 2) != 0)" (parenthesized_expression "((uVar2 & 2) == 0)" ( (binary_expression "(uVar2 & 2) == 0" (parenthesized_expression "(uVar2 & 2)" ( (binary_expression "uVar2 & 2" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "((in_a3 & 2) != 0)" ( (binary_expression "(in_a3 & 2) != 0" (parenthesized_expression "(in_a3 & 2)" ( (binary_expression "in_a3 & 2" identifier & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    *(undefined4 *)(in_a0 + 0x58) = uVar1;\n    *(byte *)(in_a0 + 0x20) = *(byte *)(in_a0 + 0x20) & 0x7f;\n    uVar2 = in_a3 & 7 | uVar2;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n  }" { (expression_statement "*(undefined4 *)(in_a0 + 0x58) = uVar1;" (assignment_expression "*(undefined4 *)(in_a0 + 0x58) = uVar1" (pointer_expression "*(undefined4 *)(in_a0 + 0x58)" * (cast_expression "(undefined4 *)(in_a0 + 0x58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x58)" ( (binary_expression "in_a0 + 0x58" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(byte *)(in_a0 + 0x20) = *(byte *)(in_a0 + 0x20) & 0x7f;" (assignment_expression "*(byte *)(in_a0 + 0x20) = *(byte *)(in_a0 + 0x20) & 0x7f" (pointer_expression "*(byte *)(in_a0 + 0x20)" * (cast_expression "(byte *)(in_a0 + 0x20)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x20)" ( (binary_expression "in_a0 + 0x20" identifier + number_literal) )))) = (binary_expression "*(byte *)(in_a0 + 0x20) & 0x7f" (pointer_expression "*(byte *)(in_a0 + 0x20)" * (cast_expression "(byte *)(in_a0 + 0x20)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x20)" ( (binary_expression "in_a0 + 0x20" identifier + number_literal) )))) & number_literal)) ;) (expression_statement "uVar2 = in_a3 & 7 | uVar2;" (assignment_expression "uVar2 = in_a3 & 7 | uVar2" identifier = (binary_expression "in_a3 & 7 | uVar2" (binary_expression "in_a3 & 7" identifier & number_literal) | identifier)) ;) (expression_statement "*(uint *)(in_a0 + 0x5c) = uVar2;" (assignment_expression "*(uint *)(in_a0 + 0x5c) = uVar2" (pointer_expression "*(uint *)(in_a0 + 0x5c)" * (cast_expression "(uint *)(in_a0 + 0x5c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x5c)" ( (binary_expression "in_a0 + 0x5c" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n    *(undefined4 *)(in_a0 + 0x58) = uVar1;\n    uVar2 = in_a3 & 7 | uVar2;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n  }" else (compound_statement "{\n    *(undefined4 *)(in_a0 + 0x58) = uVar1;\n    uVar2 = in_a3 & 7 | uVar2;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n  }" { (expression_statement "*(undefined4 *)(in_a0 + 0x58) = uVar1;" (assignment_expression "*(undefined4 *)(in_a0 + 0x58) = uVar1" (pointer_expression "*(undefined4 *)(in_a0 + 0x58)" * (cast_expression "(undefined4 *)(in_a0 + 0x58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x58)" ( (binary_expression "in_a0 + 0x58" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar2 = in_a3 & 7 | uVar2;" (assignment_expression "uVar2 = in_a3 & 7 | uVar2" identifier = (binary_expression "in_a3 & 7 | uVar2" (binary_expression "in_a3 & 7" identifier & number_literal) | identifier)) ;) (expression_statement "*(uint *)(in_a0 + 0x5c) = uVar2;" (assignment_expression "*(uint *)(in_a0 + 0x5c) = uVar2" (pointer_expression "*(uint *)(in_a0 + 0x5c)" * (cast_expression "(uint *)(in_a0 + 0x5c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x5c)" ( (binary_expression "in_a0 + 0x5c" identifier + number_literal) )))) = identifier) ;) }))) (if_statement "if ((in_a3 & 0x10) == 0) {\n    *(undefined4 *)(in_a0 + 0x58) = 0;\n    uVar1 = 0;\n    uVar2 = uVar2 & 0xffffffef;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n    if ((in_a3 & 0x20) != 0) {\n      if (*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0) {\n        return;\n      }\nLAB_00215228:\n      *(undefined4 *)(in_a0 + 0x58) = uVar1;\n      *(uint *)(in_a0 + 0x5c) = uVar2 | 0x20;\n      return;\n    }\n  }\n  else {\n    if (*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0) {\n      if ((in_a3 & 0x20) != 0) {\n        return;\n      }\n      *(undefined4 *)(in_a0 + 0x58) = 0;\n      *(uint *)(in_a0 + 0x5c) = uVar2 & 0xffffffdf;\n      return;\n    }\n    uVar2 = uVar2 | 0x10;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n    if ((in_a3 & 0x20) != 0) goto LAB_00215228;\n  }" if (parenthesized_expression "((in_a3 & 0x10) == 0)" ( (binary_expression "(in_a3 & 0x10) == 0" (parenthesized_expression "(in_a3 & 0x10)" ( (binary_expression "in_a3 & 0x10" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    *(undefined4 *)(in_a0 + 0x58) = 0;\n    uVar1 = 0;\n    uVar2 = uVar2 & 0xffffffef;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n    if ((in_a3 & 0x20) != 0) {\n      if (*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0) {\n        return;\n      }\nLAB_00215228:\n      *(undefined4 *)(in_a0 + 0x58) = uVar1;\n      *(uint *)(in_a0 + 0x5c) = uVar2 | 0x20;\n      return;\n    }\n  }" { (expression_statement "*(undefined4 *)(in_a0 + 0x58) = 0;" (assignment_expression "*(undefined4 *)(in_a0 + 0x58) = 0" (pointer_expression "*(undefined4 *)(in_a0 + 0x58)" * (cast_expression "(undefined4 *)(in_a0 + 0x58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x58)" ( (binary_expression "in_a0 + 0x58" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (expression_statement "uVar2 = uVar2 & 0xffffffef;" (assignment_expression "uVar2 = uVar2 & 0xffffffef" identifier = (binary_expression "uVar2 & 0xffffffef" identifier & number_literal)) ;) (expression_statement "*(uint *)(in_a0 + 0x5c) = uVar2;" (assignment_expression "*(uint *)(in_a0 + 0x5c) = uVar2" (pointer_expression "*(uint *)(in_a0 + 0x5c)" * (cast_expression "(uint *)(in_a0 + 0x5c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x5c)" ( (binary_expression "in_a0 + 0x5c" identifier + number_literal) )))) = identifier) ;) (if_statement "if ((in_a3 & 0x20) != 0) {\n      if (*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0) {\n        return;\n      }\nLAB_00215228:\n      *(undefined4 *)(in_a0 + 0x58) = uVar1;\n      *(uint *)(in_a0 + 0x5c) = uVar2 | 0x20;\n      return;\n    }" if (parenthesized_expression "((in_a3 & 0x20) != 0)" ( (binary_expression "(in_a3 & 0x20) != 0" (parenthesized_expression "(in_a3 & 0x20)" ( (binary_expression "in_a3 & 0x20" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      if (*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0) {\n        return;\n      }\nLAB_00215228:\n      *(undefined4 *)(in_a0 + 0x58) = uVar1;\n      *(uint *)(in_a0 + 0x5c) = uVar2 | 0x20;\n      return;\n    }" { (if_statement "if (*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0) {\n        return;\n      }" if (parenthesized_expression "(*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0)" ( (binary_expression "*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0" (binary_expression "*(int *)(in_a0 + 0x10) != 0" (pointer_expression "*(int *)(in_a0 + 0x10)" * (cast_expression "(int *)(in_a0 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x10)" ( (binary_expression "in_a0 + 0x10" identifier + number_literal) )))) != number_literal) || (binary_expression "*(int *)(in_a0 + 0x14) != 0" (pointer_expression "*(int *)(in_a0 + 0x14)" * (cast_expression "(int *)(in_a0 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x14)" ( (binary_expression "in_a0 + 0x14" identifier + number_literal) )))) != number_literal)) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (labeled_statement "LAB_00215228:\n      *(undefined4 *)(in_a0 + 0x58) = uVar1;" statement_identifier : (expression_statement "*(undefined4 *)(in_a0 + 0x58) = uVar1;" (assignment_expression "*(undefined4 *)(in_a0 + 0x58) = uVar1" (pointer_expression "*(undefined4 *)(in_a0 + 0x58)" * (cast_expression "(undefined4 *)(in_a0 + 0x58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x58)" ( (binary_expression "in_a0 + 0x58" identifier + number_literal) )))) = identifier) ;)) (expression_statement "*(uint *)(in_a0 + 0x5c) = uVar2 | 0x20;" (assignment_expression "*(uint *)(in_a0 + 0x5c) = uVar2 | 0x20" (pointer_expression "*(uint *)(in_a0 + 0x5c)" * (cast_expression "(uint *)(in_a0 + 0x5c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x5c)" ( (binary_expression "in_a0 + 0x5c" identifier + number_literal) )))) = (binary_expression "uVar2 | 0x20" identifier | number_literal)) ;) (return_statement "return;" return ;) })) }) (else_clause "else {\n    if (*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0) {\n      if ((in_a3 & 0x20) != 0) {\n        return;\n      }\n      *(undefined4 *)(in_a0 + 0x58) = 0;\n      *(uint *)(in_a0 + 0x5c) = uVar2 & 0xffffffdf;\n      return;\n    }\n    uVar2 = uVar2 | 0x10;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n    if ((in_a3 & 0x20) != 0) goto LAB_00215228;\n  }" else (compound_statement "{\n    if (*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0) {\n      if ((in_a3 & 0x20) != 0) {\n        return;\n      }\n      *(undefined4 *)(in_a0 + 0x58) = 0;\n      *(uint *)(in_a0 + 0x5c) = uVar2 & 0xffffffdf;\n      return;\n    }\n    uVar2 = uVar2 | 0x10;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n    if ((in_a3 & 0x20) != 0) goto LAB_00215228;\n  }" { (if_statement "if (*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0) {\n      if ((in_a3 & 0x20) != 0) {\n        return;\n      }\n      *(undefined4 *)(in_a0 + 0x58) = 0;\n      *(uint *)(in_a0 + 0x5c) = uVar2 & 0xffffffdf;\n      return;\n    }" if (parenthesized_expression "(*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0)" ( (binary_expression "*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0" (binary_expression "*(int *)(in_a0 + 0x10) != 0" (pointer_expression "*(int *)(in_a0 + 0x10)" * (cast_expression "(int *)(in_a0 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x10)" ( (binary_expression "in_a0 + 0x10" identifier + number_literal) )))) != number_literal) || (binary_expression "*(int *)(in_a0 + 0x14) != 0" (pointer_expression "*(int *)(in_a0 + 0x14)" * (cast_expression "(int *)(in_a0 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x14)" ( (binary_expression "in_a0 + 0x14" identifier + number_literal) )))) != number_literal)) )) (compound_statement "{\n      if ((in_a3 & 0x20) != 0) {\n        return;\n      }\n      *(undefined4 *)(in_a0 + 0x58) = 0;\n      *(uint *)(in_a0 + 0x5c) = uVar2 & 0xffffffdf;\n      return;\n    }" { (if_statement "if ((in_a3 & 0x20) != 0) {\n        return;\n      }" if (parenthesized_expression "((in_a3 & 0x20) != 0)" ( (binary_expression "(in_a3 & 0x20) != 0" (parenthesized_expression "(in_a3 & 0x20)" ( (binary_expression "in_a3 & 0x20" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (expression_statement "*(undefined4 *)(in_a0 + 0x58) = 0;" (assignment_expression "*(undefined4 *)(in_a0 + 0x58) = 0" (pointer_expression "*(undefined4 *)(in_a0 + 0x58)" * (cast_expression "(undefined4 *)(in_a0 + 0x58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x58)" ( (binary_expression "in_a0 + 0x58" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(uint *)(in_a0 + 0x5c) = uVar2 & 0xffffffdf;" (assignment_expression "*(uint *)(in_a0 + 0x5c) = uVar2 & 0xffffffdf" (pointer_expression "*(uint *)(in_a0 + 0x5c)" * (cast_expression "(uint *)(in_a0 + 0x5c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x5c)" ( (binary_expression "in_a0 + 0x5c" identifier + number_literal) )))) = (binary_expression "uVar2 & 0xffffffdf" identifier & number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "uVar2 = uVar2 | 0x10;" (assignment_expression "uVar2 = uVar2 | 0x10" identifier = (binary_expression "uVar2 | 0x10" identifier | number_literal)) ;) (expression_statement "*(uint *)(in_a0 + 0x5c) = uVar2;" (assignment_expression "*(uint *)(in_a0 + 0x5c) = uVar2" (pointer_expression "*(uint *)(in_a0 + 0x5c)" * (cast_expression "(uint *)(in_a0 + 0x5c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x5c)" ( (binary_expression "in_a0 + 0x5c" identifier + number_literal) )))) = identifier) ;) (if_statement "if ((in_a3 & 0x20) != 0) goto LAB_00215228;" if (parenthesized_expression "((in_a3 & 0x20) != 0)" ( (binary_expression "(in_a3 & 0x20) != 0" (parenthesized_expression "(in_a3 & 0x20)" ( (binary_expression "in_a3 & 0x20" identifier & number_literal) )) != number_literal) )) (goto_statement "goto LAB_00215228;" goto statement_identifier ;)) }))) (expression_statement "*(undefined4 *)(in_a0 + 0x58) = 0;" (assignment_expression "*(undefined4 *)(in_a0 + 0x58) = 0" (pointer_expression "*(undefined4 *)(in_a0 + 0x58)" * (cast_expression "(undefined4 *)(in_a0 + 0x58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x58)" ( (binary_expression "in_a0 + 0x58" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(uint *)(in_a0 + 0x5c) = uVar2 & 0xffffffdf;" (assignment_expression "*(uint *)(in_a0 + 0x5c) = uVar2 & 0xffffffdf" (pointer_expression "*(uint *)(in_a0 + 0x5c)" * (cast_expression "(uint *)(in_a0 + 0x5c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x5c)" ( (binary_expression "in_a0 + 0x5c" identifier + number_literal) )))) = (binary_expression "uVar2 & 0xffffffdf" identifier & number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Struct "Output_section_data": ignoring overlapping field "output_section_" */\n/* WARNING: Struct "Output_section": ignoring overlapping field "name_" */\n/* DWARF original prototype: void update_flags_for_input_section(Output_section * this, Elf_Xword\n   flags) */\n\nvoid __thiscall\ngold::Output_section::update_flags_for_input_section(Output_section *this,Elf_Xword flags)\n\n{\n  byte bVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  uint in_a3;\n  \n  uVar2 = (uint)this->flags_;\n  uVar3 = *(undefined4 *)&this->flags_;\n  if (((uVar2 & 2) == 0) && ((in_a3 & 2) != 0)) {\n    bVar1 = (this->super_Output_data).field_0x20;\n    *(undefined4 *)&this->flags_ = uVar3;\n    (this->super_Output_data).field_0x20 = bVar1 & 0x7f;\n    uVar2 = in_a3 & 7 | uVar2;\n    *(uint *)((int)&this->flags_ + 4) = uVar2;\n  }\n  else {\n    *(undefined4 *)&this->flags_ = uVar3;\n    uVar2 = in_a3 & 7 | uVar2;\n    *(uint *)((int)&this->flags_ + 4) = uVar2;\n  }\n  if ((in_a3 & 0x10) == 0) {\n    *(undefined4 *)&this->flags_ = 0;\n    uVar3 = 0;\n    uVar2 = uVar2 & 0xffffffef;\n    *(uint *)((int)&this->flags_ + 4) = uVar2;\n    if ((in_a3 & 0x20) != 0) {\n      if (*(int *)&(this->super_Output_data).data_size_ != 0 ||\n          (int)(this->super_Output_data).data_size_ != 0) {\n        return;\n      }\nLAB_00215228:\n      *(undefined4 *)&this->flags_ = uVar3;\n      *(uint *)((int)&this->flags_ + 4) = uVar2 | 0x20;\n      return;\n    }\n  }\n  else {\n    if (*(int *)&(this->super_Output_data).data_size_ != 0 ||\n        (int)(this->super_Output_data).data_size_ != 0) {\n      if ((in_a3 & 0x20) != 0) {\n        return;\n      }\n      *(undefined4 *)&this->flags_ = 0;\n      *(uint *)((int)&this->flags_ + 4) = uVar2 & 0xffffffdf;\n      return;\n    }\n    uVar2 = uVar2 | 0x10;\n    *(uint *)((int)&this->flags_ + 4) = uVar2;\n    if ((in_a3 & 0x20) != 0) goto LAB_00215228;\n  }\n  *(undefined4 *)&this->flags_ = 0;\n  *(uint *)((int)&this->flags_ + 4) = uVar2 & 0xffffffdf;\n  return;\n}\n\n" comment comment comment (function_definition "void __thiscall\ngold::Output_section::update_flags_for_input_section(Output_section *this,Elf_Xword flags)\n\n{\n  byte bVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  uint in_a3;\n  \n  uVar2 = (uint)this->flags_;\n  uVar3 = *(undefined4 *)&this->flags_;\n  if (((uVar2 & 2) == 0) && ((in_a3 & 2) != 0)) {\n    bVar1 = (this->super_Output_data).field_0x20;\n    *(undefined4 *)&this->flags_ = uVar3;\n    (this->super_Output_data).field_0x20 = bVar1 & 0x7f;\n    uVar2 = in_a3 & 7 | uVar2;\n    *(uint *)((int)&this->flags_ + 4) = uVar2;\n  }\n  else {\n    *(undefined4 *)&this->flags_ = uVar3;\n    uVar2 = in_a3 & 7 | uVar2;\n    *(uint *)((int)&this->flags_ + 4) = uVar2;\n  }\n  if ((in_a3 & 0x10) == 0) {\n    *(undefined4 *)&this->flags_ = 0;\n    uVar3 = 0;\n    uVar2 = uVar2 & 0xffffffef;\n    *(uint *)((int)&this->flags_ + 4) = uVar2;\n    if ((in_a3 & 0x20) != 0) {\n      if (*(int *)&(this->super_Output_data).data_size_ != 0 ||\n          (int)(this->super_Output_data).data_size_ != 0) {\n        return;\n      }\nLAB_00215228:\n      *(undefined4 *)&this->flags_ = uVar3;\n      *(uint *)((int)&this->flags_ + 4) = uVar2 | 0x20;\n      return;\n    }\n  }\n  else {\n    if (*(int *)&(this->super_Output_data).data_size_ != 0 ||\n        (int)(this->super_Output_data).data_size_ != 0) {\n      if ((in_a3 & 0x20) != 0) {\n        return;\n      }\n      *(undefined4 *)&this->flags_ = 0;\n      *(uint *)((int)&this->flags_ + 4) = uVar2 & 0xffffffdf;\n      return;\n    }\n    uVar2 = uVar2 | 0x10;\n    *(uint *)((int)&this->flags_ + 4) = uVar2;\n    if ((in_a3 & 0x20) != 0) goto LAB_00215228;\n  }\n  *(undefined4 *)&this->flags_ = 0;\n  *(uint *)((int)&this->flags_ + 4) = uVar2 & 0xffffffdf;\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Output_section::" identifier : : identifier : :) (function_declarator "update_flags_for_input_section(Output_section *this,Elf_Xword flags)" identifier (parameter_list "(Output_section *this,Elf_Xword flags)" ( (parameter_declaration "Output_section *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Elf_Xword flags" type_identifier identifier) ))) (compound_statement "{\n  byte bVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  uint in_a3;\n  \n  uVar2 = (uint)this->flags_;\n  uVar3 = *(undefined4 *)&this->flags_;\n  if (((uVar2 & 2) == 0) && ((in_a3 & 2) != 0)) {\n    bVar1 = (this->super_Output_data).field_0x20;\n    *(undefined4 *)&this->flags_ = uVar3;\n    (this->super_Output_data).field_0x20 = bVar1 & 0x7f;\n    uVar2 = in_a3 & 7 | uVar2;\n    *(uint *)((int)&this->flags_ + 4) = uVar2;\n  }\n  else {\n    *(undefined4 *)&this->flags_ = uVar3;\n    uVar2 = in_a3 & 7 | uVar2;\n    *(uint *)((int)&this->flags_ + 4) = uVar2;\n  }\n  if ((in_a3 & 0x10) == 0) {\n    *(undefined4 *)&this->flags_ = 0;\n    uVar3 = 0;\n    uVar2 = uVar2 & 0xffffffef;\n    *(uint *)((int)&this->flags_ + 4) = uVar2;\n    if ((in_a3 & 0x20) != 0) {\n      if (*(int *)&(this->super_Output_data).data_size_ != 0 ||\n          (int)(this->super_Output_data).data_size_ != 0) {\n        return;\n      }\nLAB_00215228:\n      *(undefined4 *)&this->flags_ = uVar3;\n      *(uint *)((int)&this->flags_ + 4) = uVar2 | 0x20;\n      return;\n    }\n  }\n  else {\n    if (*(int *)&(this->super_Output_data).data_size_ != 0 ||\n        (int)(this->super_Output_data).data_size_ != 0) {\n      if ((in_a3 & 0x20) != 0) {\n        return;\n      }\n      *(undefined4 *)&this->flags_ = 0;\n      *(uint *)((int)&this->flags_ + 4) = uVar2 & 0xffffffdf;\n      return;\n    }\n    uVar2 = uVar2 | 0x10;\n    *(uint *)((int)&this->flags_ + 4) = uVar2;\n    if ((in_a3 & 0x20) != 0) goto LAB_00215228;\n  }\n  *(undefined4 *)&this->flags_ = 0;\n  *(uint *)((int)&this->flags_ + 4) = uVar2 & 0xffffffdf;\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "uint in_a3;" type_identifier identifier ;) (expression_statement "uVar2 = (uint)this->flags_;" (assignment_expression "uVar2 = (uint)this->flags_" identifier = (cast_expression "(uint)this->flags_" ( (type_descriptor "uint" type_identifier) ) (field_expression "this->flags_" identifier -> field_identifier))) ;) (expression_statement "uVar3 = *(undefined4 *)&this->flags_;" (assignment_expression "uVar3 = *(undefined4 *)&this->flags_" identifier = (pointer_expression "*(undefined4 *)&this->flags_" * (cast_expression "(undefined4 *)&this->flags_" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&this->flags_" & (field_expression "this->flags_" identifier -> field_identifier))))) ;) (if_statement "if (((uVar2 & 2) == 0) && ((in_a3 & 2) != 0)) {\n    bVar1 = (this->super_Output_data).field_0x20;\n    *(undefined4 *)&this->flags_ = uVar3;\n    (this->super_Output_data).field_0x20 = bVar1 & 0x7f;\n    uVar2 = in_a3 & 7 | uVar2;\n    *(uint *)((int)&this->flags_ + 4) = uVar2;\n  }\n  else {\n    *(undefined4 *)&this->flags_ = uVar3;\n    uVar2 = in_a3 & 7 | uVar2;\n    *(uint *)((int)&this->flags_ + 4) = uVar2;\n  }" if (parenthesized_expression "(((uVar2 & 2) == 0) && ((in_a3 & 2) != 0))" ( (binary_expression "((uVar2 & 2) == 0) && ((in_a3 & 2) != 0)" (parenthesized_expression "((uVar2 & 2) == 0)" ( (binary_expression "(uVar2 & 2) == 0" (parenthesized_expression "(uVar2 & 2)" ( (binary_expression "uVar2 & 2" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "((in_a3 & 2) != 0)" ( (binary_expression "(in_a3 & 2) != 0" (parenthesized_expression "(in_a3 & 2)" ( (binary_expression "in_a3 & 2" identifier & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    bVar1 = (this->super_Output_data).field_0x20;\n    *(undefined4 *)&this->flags_ = uVar3;\n    (this->super_Output_data).field_0x20 = bVar1 & 0x7f;\n    uVar2 = in_a3 & 7 | uVar2;\n    *(uint *)((int)&this->flags_ + 4) = uVar2;\n  }" { (expression_statement "bVar1 = (this->super_Output_data).field_0x20;" (assignment_expression "bVar1 = (this->super_Output_data).field_0x20" identifier = (field_expression "(this->super_Output_data).field_0x20" (parenthesized_expression "(this->super_Output_data)" ( (field_expression "this->super_Output_data" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "*(undefined4 *)&this->flags_ = uVar3;" (assignment_expression "*(undefined4 *)&this->flags_ = uVar3" (pointer_expression "*(undefined4 *)&this->flags_" * (cast_expression "(undefined4 *)&this->flags_" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&this->flags_" & (field_expression "this->flags_" identifier -> field_identifier)))) = identifier) ;) (expression_statement "(this->super_Output_data).field_0x20 = bVar1 & 0x7f;" (assignment_expression "(this->super_Output_data).field_0x20 = bVar1 & 0x7f" (field_expression "(this->super_Output_data).field_0x20" (parenthesized_expression "(this->super_Output_data)" ( (field_expression "this->super_Output_data" identifier -> field_identifier) )) . field_identifier) = (binary_expression "bVar1 & 0x7f" identifier & number_literal)) ;) (expression_statement "uVar2 = in_a3 & 7 | uVar2;" (assignment_expression "uVar2 = in_a3 & 7 | uVar2" identifier = (binary_expression "in_a3 & 7 | uVar2" (binary_expression "in_a3 & 7" identifier & number_literal) | identifier)) ;) (expression_statement "*(uint *)((int)&this->flags_ + 4) = uVar2;" (assignment_expression "*(uint *)((int)&this->flags_ + 4) = uVar2" (pointer_expression "*(uint *)((int)&this->flags_ + 4)" * (cast_expression "(uint *)((int)&this->flags_ + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&this->flags_ + 4)" ( (binary_expression "(int)&this->flags_ + 4" (cast_expression "(int)&this->flags_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&this->flags_" & (field_expression "this->flags_" identifier -> field_identifier))) + number_literal) )))) = identifier) ;) }) (else_clause "else {\n    *(undefined4 *)&this->flags_ = uVar3;\n    uVar2 = in_a3 & 7 | uVar2;\n    *(uint *)((int)&this->flags_ + 4) = uVar2;\n  }" else (compound_statement "{\n    *(undefined4 *)&this->flags_ = uVar3;\n    uVar2 = in_a3 & 7 | uVar2;\n    *(uint *)((int)&this->flags_ + 4) = uVar2;\n  }" { (expression_statement "*(undefined4 *)&this->flags_ = uVar3;" (assignment_expression "*(undefined4 *)&this->flags_ = uVar3" (pointer_expression "*(undefined4 *)&this->flags_" * (cast_expression "(undefined4 *)&this->flags_" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&this->flags_" & (field_expression "this->flags_" identifier -> field_identifier)))) = identifier) ;) (expression_statement "uVar2 = in_a3 & 7 | uVar2;" (assignment_expression "uVar2 = in_a3 & 7 | uVar2" identifier = (binary_expression "in_a3 & 7 | uVar2" (binary_expression "in_a3 & 7" identifier & number_literal) | identifier)) ;) (expression_statement "*(uint *)((int)&this->flags_ + 4) = uVar2;" (assignment_expression "*(uint *)((int)&this->flags_ + 4) = uVar2" (pointer_expression "*(uint *)((int)&this->flags_ + 4)" * (cast_expression "(uint *)((int)&this->flags_ + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&this->flags_ + 4)" ( (binary_expression "(int)&this->flags_ + 4" (cast_expression "(int)&this->flags_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&this->flags_" & (field_expression "this->flags_" identifier -> field_identifier))) + number_literal) )))) = identifier) ;) }))) (if_statement "if ((in_a3 & 0x10) == 0) {\n    *(undefined4 *)&this->flags_ = 0;\n    uVar3 = 0;\n    uVar2 = uVar2 & 0xffffffef;\n    *(uint *)((int)&this->flags_ + 4) = uVar2;\n    if ((in_a3 & 0x20) != 0) {\n      if (*(int *)&(this->super_Output_data).data_size_ != 0 ||\n          (int)(this->super_Output_data).data_size_ != 0) {\n        return;\n      }\nLAB_00215228:\n      *(undefined4 *)&this->flags_ = uVar3;\n      *(uint *)((int)&this->flags_ + 4) = uVar2 | 0x20;\n      return;\n    }\n  }\n  else {\n    if (*(int *)&(this->super_Output_data).data_size_ != 0 ||\n        (int)(this->super_Output_data).data_size_ != 0) {\n      if ((in_a3 & 0x20) != 0) {\n        return;\n      }\n      *(undefined4 *)&this->flags_ = 0;\n      *(uint *)((int)&this->flags_ + 4) = uVar2 & 0xffffffdf;\n      return;\n    }\n    uVar2 = uVar2 | 0x10;\n    *(uint *)((int)&this->flags_ + 4) = uVar2;\n    if ((in_a3 & 0x20) != 0) goto LAB_00215228;\n  }" if (parenthesized_expression "((in_a3 & 0x10) == 0)" ( (binary_expression "(in_a3 & 0x10) == 0" (parenthesized_expression "(in_a3 & 0x10)" ( (binary_expression "in_a3 & 0x10" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    *(undefined4 *)&this->flags_ = 0;\n    uVar3 = 0;\n    uVar2 = uVar2 & 0xffffffef;\n    *(uint *)((int)&this->flags_ + 4) = uVar2;\n    if ((in_a3 & 0x20) != 0) {\n      if (*(int *)&(this->super_Output_data).data_size_ != 0 ||\n          (int)(this->super_Output_data).data_size_ != 0) {\n        return;\n      }\nLAB_00215228:\n      *(undefined4 *)&this->flags_ = uVar3;\n      *(uint *)((int)&this->flags_ + 4) = uVar2 | 0x20;\n      return;\n    }\n  }" { (expression_statement "*(undefined4 *)&this->flags_ = 0;" (assignment_expression "*(undefined4 *)&this->flags_ = 0" (pointer_expression "*(undefined4 *)&this->flags_" * (cast_expression "(undefined4 *)&this->flags_" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&this->flags_" & (field_expression "this->flags_" identifier -> field_identifier)))) = number_literal) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (expression_statement "uVar2 = uVar2 & 0xffffffef;" (assignment_expression "uVar2 = uVar2 & 0xffffffef" identifier = (binary_expression "uVar2 & 0xffffffef" identifier & number_literal)) ;) (expression_statement "*(uint *)((int)&this->flags_ + 4) = uVar2;" (assignment_expression "*(uint *)((int)&this->flags_ + 4) = uVar2" (pointer_expression "*(uint *)((int)&this->flags_ + 4)" * (cast_expression "(uint *)((int)&this->flags_ + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&this->flags_ + 4)" ( (binary_expression "(int)&this->flags_ + 4" (cast_expression "(int)&this->flags_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&this->flags_" & (field_expression "this->flags_" identifier -> field_identifier))) + number_literal) )))) = identifier) ;) (if_statement "if ((in_a3 & 0x20) != 0) {\n      if (*(int *)&(this->super_Output_data).data_size_ != 0 ||\n          (int)(this->super_Output_data).data_size_ != 0) {\n        return;\n      }\nLAB_00215228:\n      *(undefined4 *)&this->flags_ = uVar3;\n      *(uint *)((int)&this->flags_ + 4) = uVar2 | 0x20;\n      return;\n    }" if (parenthesized_expression "((in_a3 & 0x20) != 0)" ( (binary_expression "(in_a3 & 0x20) != 0" (parenthesized_expression "(in_a3 & 0x20)" ( (binary_expression "in_a3 & 0x20" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      if (*(int *)&(this->super_Output_data).data_size_ != 0 ||\n          (int)(this->super_Output_data).data_size_ != 0) {\n        return;\n      }\nLAB_00215228:\n      *(undefined4 *)&this->flags_ = uVar3;\n      *(uint *)((int)&this->flags_ + 4) = uVar2 | 0x20;\n      return;\n    }" { (if_statement "if (*(int *)&(this->super_Output_data).data_size_ != 0 ||\n          (int)(this->super_Output_data).data_size_ != 0) {\n        return;\n      }" if (parenthesized_expression "(*(int *)&(this->super_Output_data).data_size_ != 0 ||\n          (int)(this->super_Output_data).data_size_ != 0)" ( (binary_expression "*(int *)&(this->super_Output_data).data_size_ != 0 ||\n          (int)(this->super_Output_data).data_size_ != 0" (binary_expression "*(int *)&(this->super_Output_data).data_size_ != 0" (pointer_expression "*(int *)&(this->super_Output_data).data_size_" * (cast_expression "(int *)&(this->super_Output_data).data_size_" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(this->super_Output_data).data_size_" & (field_expression "(this->super_Output_data).data_size_" (parenthesized_expression "(this->super_Output_data)" ( (field_expression "this->super_Output_data" identifier -> field_identifier) )) . field_identifier)))) != number_literal) || (binary_expression "(int)(this->super_Output_data).data_size_ != 0" (cast_expression "(int)(this->super_Output_data).data_size_" ( (type_descriptor "int" primitive_type) ) (field_expression "(this->super_Output_data).data_size_" (parenthesized_expression "(this->super_Output_data)" ( (field_expression "this->super_Output_data" identifier -> field_identifier) )) . field_identifier)) != number_literal)) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (labeled_statement "LAB_00215228:\n      *(undefined4 *)&this->flags_ = uVar3;" statement_identifier : (expression_statement "*(undefined4 *)&this->flags_ = uVar3;" (assignment_expression "*(undefined4 *)&this->flags_ = uVar3" (pointer_expression "*(undefined4 *)&this->flags_" * (cast_expression "(undefined4 *)&this->flags_" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&this->flags_" & (field_expression "this->flags_" identifier -> field_identifier)))) = identifier) ;)) (expression_statement "*(uint *)((int)&this->flags_ + 4) = uVar2 | 0x20;" (assignment_expression "*(uint *)((int)&this->flags_ + 4) = uVar2 | 0x20" (pointer_expression "*(uint *)((int)&this->flags_ + 4)" * (cast_expression "(uint *)((int)&this->flags_ + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&this->flags_ + 4)" ( (binary_expression "(int)&this->flags_ + 4" (cast_expression "(int)&this->flags_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&this->flags_" & (field_expression "this->flags_" identifier -> field_identifier))) + number_literal) )))) = (binary_expression "uVar2 | 0x20" identifier | number_literal)) ;) (return_statement "return;" return ;) })) }) (else_clause "else {\n    if (*(int *)&(this->super_Output_data).data_size_ != 0 ||\n        (int)(this->super_Output_data).data_size_ != 0) {\n      if ((in_a3 & 0x20) != 0) {\n        return;\n      }\n      *(undefined4 *)&this->flags_ = 0;\n      *(uint *)((int)&this->flags_ + 4) = uVar2 & 0xffffffdf;\n      return;\n    }\n    uVar2 = uVar2 | 0x10;\n    *(uint *)((int)&this->flags_ + 4) = uVar2;\n    if ((in_a3 & 0x20) != 0) goto LAB_00215228;\n  }" else (compound_statement "{\n    if (*(int *)&(this->super_Output_data).data_size_ != 0 ||\n        (int)(this->super_Output_data).data_size_ != 0) {\n      if ((in_a3 & 0x20) != 0) {\n        return;\n      }\n      *(undefined4 *)&this->flags_ = 0;\n      *(uint *)((int)&this->flags_ + 4) = uVar2 & 0xffffffdf;\n      return;\n    }\n    uVar2 = uVar2 | 0x10;\n    *(uint *)((int)&this->flags_ + 4) = uVar2;\n    if ((in_a3 & 0x20) != 0) goto LAB_00215228;\n  }" { (if_statement "if (*(int *)&(this->super_Output_data).data_size_ != 0 ||\n        (int)(this->super_Output_data).data_size_ != 0) {\n      if ((in_a3 & 0x20) != 0) {\n        return;\n      }\n      *(undefined4 *)&this->flags_ = 0;\n      *(uint *)((int)&this->flags_ + 4) = uVar2 & 0xffffffdf;\n      return;\n    }" if (parenthesized_expression "(*(int *)&(this->super_Output_data).data_size_ != 0 ||\n        (int)(this->super_Output_data).data_size_ != 0)" ( (binary_expression "*(int *)&(this->super_Output_data).data_size_ != 0 ||\n        (int)(this->super_Output_data).data_size_ != 0" (binary_expression "*(int *)&(this->super_Output_data).data_size_ != 0" (pointer_expression "*(int *)&(this->super_Output_data).data_size_" * (cast_expression "(int *)&(this->super_Output_data).data_size_" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(this->super_Output_data).data_size_" & (field_expression "(this->super_Output_data).data_size_" (parenthesized_expression "(this->super_Output_data)" ( (field_expression "this->super_Output_data" identifier -> field_identifier) )) . field_identifier)))) != number_literal) || (binary_expression "(int)(this->super_Output_data).data_size_ != 0" (cast_expression "(int)(this->super_Output_data).data_size_" ( (type_descriptor "int" primitive_type) ) (field_expression "(this->super_Output_data).data_size_" (parenthesized_expression "(this->super_Output_data)" ( (field_expression "this->super_Output_data" identifier -> field_identifier) )) . field_identifier)) != number_literal)) )) (compound_statement "{\n      if ((in_a3 & 0x20) != 0) {\n        return;\n      }\n      *(undefined4 *)&this->flags_ = 0;\n      *(uint *)((int)&this->flags_ + 4) = uVar2 & 0xffffffdf;\n      return;\n    }" { (if_statement "if ((in_a3 & 0x20) != 0) {\n        return;\n      }" if (parenthesized_expression "((in_a3 & 0x20) != 0)" ( (binary_expression "(in_a3 & 0x20) != 0" (parenthesized_expression "(in_a3 & 0x20)" ( (binary_expression "in_a3 & 0x20" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (expression_statement "*(undefined4 *)&this->flags_ = 0;" (assignment_expression "*(undefined4 *)&this->flags_ = 0" (pointer_expression "*(undefined4 *)&this->flags_" * (cast_expression "(undefined4 *)&this->flags_" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&this->flags_" & (field_expression "this->flags_" identifier -> field_identifier)))) = number_literal) ;) (expression_statement "*(uint *)((int)&this->flags_ + 4) = uVar2 & 0xffffffdf;" (assignment_expression "*(uint *)((int)&this->flags_ + 4) = uVar2 & 0xffffffdf" (pointer_expression "*(uint *)((int)&this->flags_ + 4)" * (cast_expression "(uint *)((int)&this->flags_ + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&this->flags_ + 4)" ( (binary_expression "(int)&this->flags_ + 4" (cast_expression "(int)&this->flags_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&this->flags_" & (field_expression "this->flags_" identifier -> field_identifier))) + number_literal) )))) = (binary_expression "uVar2 & 0xffffffdf" identifier & number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "uVar2 = uVar2 | 0x10;" (assignment_expression "uVar2 = uVar2 | 0x10" identifier = (binary_expression "uVar2 | 0x10" identifier | number_literal)) ;) (expression_statement "*(uint *)((int)&this->flags_ + 4) = uVar2;" (assignment_expression "*(uint *)((int)&this->flags_ + 4) = uVar2" (pointer_expression "*(uint *)((int)&this->flags_ + 4)" * (cast_expression "(uint *)((int)&this->flags_ + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&this->flags_ + 4)" ( (binary_expression "(int)&this->flags_ + 4" (cast_expression "(int)&this->flags_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&this->flags_" & (field_expression "this->flags_" identifier -> field_identifier))) + number_literal) )))) = identifier) ;) (if_statement "if ((in_a3 & 0x20) != 0) goto LAB_00215228;" if (parenthesized_expression "((in_a3 & 0x20) != 0)" ( (binary_expression "(in_a3 & 0x20) != 0" (parenthesized_expression "(in_a3 & 0x20)" ( (binary_expression "in_a3 & 0x20" identifier & number_literal) )) != number_literal) )) (goto_statement "goto LAB_00215228;" goto statement_identifier ;)) }))) (expression_statement "*(undefined4 *)&this->flags_ = 0;" (assignment_expression "*(undefined4 *)&this->flags_ = 0" (pointer_expression "*(undefined4 *)&this->flags_" * (cast_expression "(undefined4 *)&this->flags_" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&this->flags_" & (field_expression "this->flags_" identifier -> field_identifier)))) = number_literal) ;) (expression_statement "*(uint *)((int)&this->flags_ + 4) = uVar2 & 0xffffffdf;" (assignment_expression "*(uint *)((int)&this->flags_ + 4) = uVar2 & 0xffffffdf" (pointer_expression "*(uint *)((int)&this->flags_ + 4)" * (cast_expression "(uint *)((int)&this->flags_ + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&this->flags_ + 4)" ( (binary_expression "(int)&this->flags_ + 4" (cast_expression "(int)&this->flags_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&this->flags_" & (field_expression "this->flags_" identifier -> field_identifier))) + number_literal) )))) = (binary_expression "uVar2 & 0xffffffdf" identifier & number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit "void gold::Output_section::update_flags_for_input_section(ulonglong param_1)\n\n{\n  undefined4 uVar1;\n  int in_a0;\n  uint uVar2;\n  uint in_a3;\n  \n  uVar2 = *(uint *)(in_a0 + 0x5c);\n  uVar1 = *(undefined4 *)(in_a0 + 0x58);\n  if (((uVar2 & 2) == 0) && ((in_a3 & 2) != 0)) {\n    *(undefined4 *)(in_a0 + 0x58) = uVar1;\n    *(byte *)(in_a0 + 0x20) = *(byte *)(in_a0 + 0x20) & 0x7f;\n    uVar2 = in_a3 & 7 | uVar2;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n  }\n  else {\n    *(undefined4 *)(in_a0 + 0x58) = uVar1;\n    uVar2 = in_a3 & 7 | uVar2;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n  }\n  if ((in_a3 & 0x10) == 0) {\n    *(undefined4 *)(in_a0 + 0x58) = 0;\n    uVar1 = 0;\n    uVar2 = uVar2 & 0xffffffef;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n    if ((in_a3 & 0x20) != 0) {\n      if (*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0) {\n        return;\n      }\nLAB_00215228:\n      *(undefined4 *)(in_a0 + 0x58) = uVar1;\n      *(uint *)(in_a0 + 0x5c) = uVar2 | 0x20;\n      return;\n    }\n  }\n  else {\n    if (*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0) {\n      if ((in_a3 & 0x20) != 0) {\n        return;\n      }\n      *(undefined4 *)(in_a0 + 0x58) = 0;\n      *(uint *)(in_a0 + 0x5c) = uVar2 & 0xffffffdf;\n      return;\n    }\n    uVar2 = uVar2 | 0x10;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n    if ((in_a3 & 0x20) != 0) goto LAB_00215228;\n  }\n  *(undefined4 *)(in_a0 + 0x58) = 0;\n  *(uint *)(in_a0 + 0x5c) = uVar2 & 0xffffffdf;\n  return;\n}\n\n" (function_definition "void gold::Output_section::update_flags_for_input_section(ulonglong param_1)\n\n{\n  undefined4 uVar1;\n  int in_a0;\n  uint uVar2;\n  uint in_a3;\n  \n  uVar2 = *(uint *)(in_a0 + 0x5c);\n  uVar1 = *(undefined4 *)(in_a0 + 0x58);\n  if (((uVar2 & 2) == 0) && ((in_a3 & 2) != 0)) {\n    *(undefined4 *)(in_a0 + 0x58) = uVar1;\n    *(byte *)(in_a0 + 0x20) = *(byte *)(in_a0 + 0x20) & 0x7f;\n    uVar2 = in_a3 & 7 | uVar2;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n  }\n  else {\n    *(undefined4 *)(in_a0 + 0x58) = uVar1;\n    uVar2 = in_a3 & 7 | uVar2;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n  }\n  if ((in_a3 & 0x10) == 0) {\n    *(undefined4 *)(in_a0 + 0x58) = 0;\n    uVar1 = 0;\n    uVar2 = uVar2 & 0xffffffef;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n    if ((in_a3 & 0x20) != 0) {\n      if (*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0) {\n        return;\n      }\nLAB_00215228:\n      *(undefined4 *)(in_a0 + 0x58) = uVar1;\n      *(uint *)(in_a0 + 0x5c) = uVar2 | 0x20;\n      return;\n    }\n  }\n  else {\n    if (*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0) {\n      if ((in_a3 & 0x20) != 0) {\n        return;\n      }\n      *(undefined4 *)(in_a0 + 0x58) = 0;\n      *(uint *)(in_a0 + 0x5c) = uVar2 & 0xffffffdf;\n      return;\n    }\n    uVar2 = uVar2 | 0x10;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n    if ((in_a3 & 0x20) != 0) goto LAB_00215228;\n  }\n  *(undefined4 *)(in_a0 + 0x58) = 0;\n  *(uint *)(in_a0 + 0x5c) = uVar2 & 0xffffffdf;\n  return;\n}" primitive_type (ERROR "gold::Output_section::" identifier : : identifier : :) (function_declarator "update_flags_for_input_section(ulonglong param_1)" identifier (parameter_list "(ulonglong param_1)" ( (parameter_declaration "ulonglong param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  int in_a0;\n  uint uVar2;\n  uint in_a3;\n  \n  uVar2 = *(uint *)(in_a0 + 0x5c);\n  uVar1 = *(undefined4 *)(in_a0 + 0x58);\n  if (((uVar2 & 2) == 0) && ((in_a3 & 2) != 0)) {\n    *(undefined4 *)(in_a0 + 0x58) = uVar1;\n    *(byte *)(in_a0 + 0x20) = *(byte *)(in_a0 + 0x20) & 0x7f;\n    uVar2 = in_a3 & 7 | uVar2;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n  }\n  else {\n    *(undefined4 *)(in_a0 + 0x58) = uVar1;\n    uVar2 = in_a3 & 7 | uVar2;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n  }\n  if ((in_a3 & 0x10) == 0) {\n    *(undefined4 *)(in_a0 + 0x58) = 0;\n    uVar1 = 0;\n    uVar2 = uVar2 & 0xffffffef;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n    if ((in_a3 & 0x20) != 0) {\n      if (*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0) {\n        return;\n      }\nLAB_00215228:\n      *(undefined4 *)(in_a0 + 0x58) = uVar1;\n      *(uint *)(in_a0 + 0x5c) = uVar2 | 0x20;\n      return;\n    }\n  }\n  else {\n    if (*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0) {\n      if ((in_a3 & 0x20) != 0) {\n        return;\n      }\n      *(undefined4 *)(in_a0 + 0x58) = 0;\n      *(uint *)(in_a0 + 0x5c) = uVar2 & 0xffffffdf;\n      return;\n    }\n    uVar2 = uVar2 | 0x10;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n    if ((in_a3 & 0x20) != 0) goto LAB_00215228;\n  }\n  *(undefined4 *)(in_a0 + 0x58) = 0;\n  *(uint *)(in_a0 + 0x5c) = uVar2 & 0xffffffdf;\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int in_a0;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint in_a3;" type_identifier identifier ;) (expression_statement "uVar2 = *(uint *)(in_a0 + 0x5c);" (assignment_expression "uVar2 = *(uint *)(in_a0 + 0x5c)" identifier = (pointer_expression "*(uint *)(in_a0 + 0x5c)" * (cast_expression "(uint *)(in_a0 + 0x5c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x5c)" ( (binary_expression "in_a0 + 0x5c" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = *(undefined4 *)(in_a0 + 0x58);" (assignment_expression "uVar1 = *(undefined4 *)(in_a0 + 0x58)" identifier = (pointer_expression "*(undefined4 *)(in_a0 + 0x58)" * (cast_expression "(undefined4 *)(in_a0 + 0x58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x58)" ( (binary_expression "in_a0 + 0x58" identifier + number_literal) ))))) ;) (if_statement "if (((uVar2 & 2) == 0) && ((in_a3 & 2) != 0)) {\n    *(undefined4 *)(in_a0 + 0x58) = uVar1;\n    *(byte *)(in_a0 + 0x20) = *(byte *)(in_a0 + 0x20) & 0x7f;\n    uVar2 = in_a3 & 7 | uVar2;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n  }\n  else {\n    *(undefined4 *)(in_a0 + 0x58) = uVar1;\n    uVar2 = in_a3 & 7 | uVar2;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n  }" if (parenthesized_expression "(((uVar2 & 2) == 0) && ((in_a3 & 2) != 0))" ( (binary_expression "((uVar2 & 2) == 0) && ((in_a3 & 2) != 0)" (parenthesized_expression "((uVar2 & 2) == 0)" ( (binary_expression "(uVar2 & 2) == 0" (parenthesized_expression "(uVar2 & 2)" ( (binary_expression "uVar2 & 2" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "((in_a3 & 2) != 0)" ( (binary_expression "(in_a3 & 2) != 0" (parenthesized_expression "(in_a3 & 2)" ( (binary_expression "in_a3 & 2" identifier & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    *(undefined4 *)(in_a0 + 0x58) = uVar1;\n    *(byte *)(in_a0 + 0x20) = *(byte *)(in_a0 + 0x20) & 0x7f;\n    uVar2 = in_a3 & 7 | uVar2;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n  }" { (expression_statement "*(undefined4 *)(in_a0 + 0x58) = uVar1;" (assignment_expression "*(undefined4 *)(in_a0 + 0x58) = uVar1" (pointer_expression "*(undefined4 *)(in_a0 + 0x58)" * (cast_expression "(undefined4 *)(in_a0 + 0x58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x58)" ( (binary_expression "in_a0 + 0x58" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(byte *)(in_a0 + 0x20) = *(byte *)(in_a0 + 0x20) & 0x7f;" (assignment_expression "*(byte *)(in_a0 + 0x20) = *(byte *)(in_a0 + 0x20) & 0x7f" (pointer_expression "*(byte *)(in_a0 + 0x20)" * (cast_expression "(byte *)(in_a0 + 0x20)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x20)" ( (binary_expression "in_a0 + 0x20" identifier + number_literal) )))) = (binary_expression "*(byte *)(in_a0 + 0x20) & 0x7f" (pointer_expression "*(byte *)(in_a0 + 0x20)" * (cast_expression "(byte *)(in_a0 + 0x20)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x20)" ( (binary_expression "in_a0 + 0x20" identifier + number_literal) )))) & number_literal)) ;) (expression_statement "uVar2 = in_a3 & 7 | uVar2;" (assignment_expression "uVar2 = in_a3 & 7 | uVar2" identifier = (binary_expression "in_a3 & 7 | uVar2" (binary_expression "in_a3 & 7" identifier & number_literal) | identifier)) ;) (expression_statement "*(uint *)(in_a0 + 0x5c) = uVar2;" (assignment_expression "*(uint *)(in_a0 + 0x5c) = uVar2" (pointer_expression "*(uint *)(in_a0 + 0x5c)" * (cast_expression "(uint *)(in_a0 + 0x5c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x5c)" ( (binary_expression "in_a0 + 0x5c" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n    *(undefined4 *)(in_a0 + 0x58) = uVar1;\n    uVar2 = in_a3 & 7 | uVar2;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n  }" else (compound_statement "{\n    *(undefined4 *)(in_a0 + 0x58) = uVar1;\n    uVar2 = in_a3 & 7 | uVar2;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n  }" { (expression_statement "*(undefined4 *)(in_a0 + 0x58) = uVar1;" (assignment_expression "*(undefined4 *)(in_a0 + 0x58) = uVar1" (pointer_expression "*(undefined4 *)(in_a0 + 0x58)" * (cast_expression "(undefined4 *)(in_a0 + 0x58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x58)" ( (binary_expression "in_a0 + 0x58" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar2 = in_a3 & 7 | uVar2;" (assignment_expression "uVar2 = in_a3 & 7 | uVar2" identifier = (binary_expression "in_a3 & 7 | uVar2" (binary_expression "in_a3 & 7" identifier & number_literal) | identifier)) ;) (expression_statement "*(uint *)(in_a0 + 0x5c) = uVar2;" (assignment_expression "*(uint *)(in_a0 + 0x5c) = uVar2" (pointer_expression "*(uint *)(in_a0 + 0x5c)" * (cast_expression "(uint *)(in_a0 + 0x5c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x5c)" ( (binary_expression "in_a0 + 0x5c" identifier + number_literal) )))) = identifier) ;) }))) (if_statement "if ((in_a3 & 0x10) == 0) {\n    *(undefined4 *)(in_a0 + 0x58) = 0;\n    uVar1 = 0;\n    uVar2 = uVar2 & 0xffffffef;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n    if ((in_a3 & 0x20) != 0) {\n      if (*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0) {\n        return;\n      }\nLAB_00215228:\n      *(undefined4 *)(in_a0 + 0x58) = uVar1;\n      *(uint *)(in_a0 + 0x5c) = uVar2 | 0x20;\n      return;\n    }\n  }\n  else {\n    if (*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0) {\n      if ((in_a3 & 0x20) != 0) {\n        return;\n      }\n      *(undefined4 *)(in_a0 + 0x58) = 0;\n      *(uint *)(in_a0 + 0x5c) = uVar2 & 0xffffffdf;\n      return;\n    }\n    uVar2 = uVar2 | 0x10;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n    if ((in_a3 & 0x20) != 0) goto LAB_00215228;\n  }" if (parenthesized_expression "((in_a3 & 0x10) == 0)" ( (binary_expression "(in_a3 & 0x10) == 0" (parenthesized_expression "(in_a3 & 0x10)" ( (binary_expression "in_a3 & 0x10" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    *(undefined4 *)(in_a0 + 0x58) = 0;\n    uVar1 = 0;\n    uVar2 = uVar2 & 0xffffffef;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n    if ((in_a3 & 0x20) != 0) {\n      if (*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0) {\n        return;\n      }\nLAB_00215228:\n      *(undefined4 *)(in_a0 + 0x58) = uVar1;\n      *(uint *)(in_a0 + 0x5c) = uVar2 | 0x20;\n      return;\n    }\n  }" { (expression_statement "*(undefined4 *)(in_a0 + 0x58) = 0;" (assignment_expression "*(undefined4 *)(in_a0 + 0x58) = 0" (pointer_expression "*(undefined4 *)(in_a0 + 0x58)" * (cast_expression "(undefined4 *)(in_a0 + 0x58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x58)" ( (binary_expression "in_a0 + 0x58" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (expression_statement "uVar2 = uVar2 & 0xffffffef;" (assignment_expression "uVar2 = uVar2 & 0xffffffef" identifier = (binary_expression "uVar2 & 0xffffffef" identifier & number_literal)) ;) (expression_statement "*(uint *)(in_a0 + 0x5c) = uVar2;" (assignment_expression "*(uint *)(in_a0 + 0x5c) = uVar2" (pointer_expression "*(uint *)(in_a0 + 0x5c)" * (cast_expression "(uint *)(in_a0 + 0x5c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x5c)" ( (binary_expression "in_a0 + 0x5c" identifier + number_literal) )))) = identifier) ;) (if_statement "if ((in_a3 & 0x20) != 0) {\n      if (*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0) {\n        return;\n      }\nLAB_00215228:\n      *(undefined4 *)(in_a0 + 0x58) = uVar1;\n      *(uint *)(in_a0 + 0x5c) = uVar2 | 0x20;\n      return;\n    }" if (parenthesized_expression "((in_a3 & 0x20) != 0)" ( (binary_expression "(in_a3 & 0x20) != 0" (parenthesized_expression "(in_a3 & 0x20)" ( (binary_expression "in_a3 & 0x20" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      if (*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0) {\n        return;\n      }\nLAB_00215228:\n      *(undefined4 *)(in_a0 + 0x58) = uVar1;\n      *(uint *)(in_a0 + 0x5c) = uVar2 | 0x20;\n      return;\n    }" { (if_statement "if (*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0) {\n        return;\n      }" if (parenthesized_expression "(*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0)" ( (binary_expression "*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0" (binary_expression "*(int *)(in_a0 + 0x10) != 0" (pointer_expression "*(int *)(in_a0 + 0x10)" * (cast_expression "(int *)(in_a0 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x10)" ( (binary_expression "in_a0 + 0x10" identifier + number_literal) )))) != number_literal) || (binary_expression "*(int *)(in_a0 + 0x14) != 0" (pointer_expression "*(int *)(in_a0 + 0x14)" * (cast_expression "(int *)(in_a0 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x14)" ( (binary_expression "in_a0 + 0x14" identifier + number_literal) )))) != number_literal)) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (labeled_statement "LAB_00215228:\n      *(undefined4 *)(in_a0 + 0x58) = uVar1;" statement_identifier : (expression_statement "*(undefined4 *)(in_a0 + 0x58) = uVar1;" (assignment_expression "*(undefined4 *)(in_a0 + 0x58) = uVar1" (pointer_expression "*(undefined4 *)(in_a0 + 0x58)" * (cast_expression "(undefined4 *)(in_a0 + 0x58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x58)" ( (binary_expression "in_a0 + 0x58" identifier + number_literal) )))) = identifier) ;)) (expression_statement "*(uint *)(in_a0 + 0x5c) = uVar2 | 0x20;" (assignment_expression "*(uint *)(in_a0 + 0x5c) = uVar2 | 0x20" (pointer_expression "*(uint *)(in_a0 + 0x5c)" * (cast_expression "(uint *)(in_a0 + 0x5c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x5c)" ( (binary_expression "in_a0 + 0x5c" identifier + number_literal) )))) = (binary_expression "uVar2 | 0x20" identifier | number_literal)) ;) (return_statement "return;" return ;) })) }) (else_clause "else {\n    if (*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0) {\n      if ((in_a3 & 0x20) != 0) {\n        return;\n      }\n      *(undefined4 *)(in_a0 + 0x58) = 0;\n      *(uint *)(in_a0 + 0x5c) = uVar2 & 0xffffffdf;\n      return;\n    }\n    uVar2 = uVar2 | 0x10;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n    if ((in_a3 & 0x20) != 0) goto LAB_00215228;\n  }" else (compound_statement "{\n    if (*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0) {\n      if ((in_a3 & 0x20) != 0) {\n        return;\n      }\n      *(undefined4 *)(in_a0 + 0x58) = 0;\n      *(uint *)(in_a0 + 0x5c) = uVar2 & 0xffffffdf;\n      return;\n    }\n    uVar2 = uVar2 | 0x10;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n    if ((in_a3 & 0x20) != 0) goto LAB_00215228;\n  }" { (if_statement "if (*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0) {\n      if ((in_a3 & 0x20) != 0) {\n        return;\n      }\n      *(undefined4 *)(in_a0 + 0x58) = 0;\n      *(uint *)(in_a0 + 0x5c) = uVar2 & 0xffffffdf;\n      return;\n    }" if (parenthesized_expression "(*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0)" ( (binary_expression "*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0" (binary_expression "*(int *)(in_a0 + 0x10) != 0" (pointer_expression "*(int *)(in_a0 + 0x10)" * (cast_expression "(int *)(in_a0 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x10)" ( (binary_expression "in_a0 + 0x10" identifier + number_literal) )))) != number_literal) || (binary_expression "*(int *)(in_a0 + 0x14) != 0" (pointer_expression "*(int *)(in_a0 + 0x14)" * (cast_expression "(int *)(in_a0 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x14)" ( (binary_expression "in_a0 + 0x14" identifier + number_literal) )))) != number_literal)) )) (compound_statement "{\n      if ((in_a3 & 0x20) != 0) {\n        return;\n      }\n      *(undefined4 *)(in_a0 + 0x58) = 0;\n      *(uint *)(in_a0 + 0x5c) = uVar2 & 0xffffffdf;\n      return;\n    }" { (if_statement "if ((in_a3 & 0x20) != 0) {\n        return;\n      }" if (parenthesized_expression "((in_a3 & 0x20) != 0)" ( (binary_expression "(in_a3 & 0x20) != 0" (parenthesized_expression "(in_a3 & 0x20)" ( (binary_expression "in_a3 & 0x20" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (expression_statement "*(undefined4 *)(in_a0 + 0x58) = 0;" (assignment_expression "*(undefined4 *)(in_a0 + 0x58) = 0" (pointer_expression "*(undefined4 *)(in_a0 + 0x58)" * (cast_expression "(undefined4 *)(in_a0 + 0x58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x58)" ( (binary_expression "in_a0 + 0x58" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(uint *)(in_a0 + 0x5c) = uVar2 & 0xffffffdf;" (assignment_expression "*(uint *)(in_a0 + 0x5c) = uVar2 & 0xffffffdf" (pointer_expression "*(uint *)(in_a0 + 0x5c)" * (cast_expression "(uint *)(in_a0 + 0x5c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x5c)" ( (binary_expression "in_a0 + 0x5c" identifier + number_literal) )))) = (binary_expression "uVar2 & 0xffffffdf" identifier & number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "uVar2 = uVar2 | 0x10;" (assignment_expression "uVar2 = uVar2 | 0x10" identifier = (binary_expression "uVar2 | 0x10" identifier | number_literal)) ;) (expression_statement "*(uint *)(in_a0 + 0x5c) = uVar2;" (assignment_expression "*(uint *)(in_a0 + 0x5c) = uVar2" (pointer_expression "*(uint *)(in_a0 + 0x5c)" * (cast_expression "(uint *)(in_a0 + 0x5c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x5c)" ( (binary_expression "in_a0 + 0x5c" identifier + number_literal) )))) = identifier) ;) (if_statement "if ((in_a3 & 0x20) != 0) goto LAB_00215228;" if (parenthesized_expression "((in_a3 & 0x20) != 0)" ( (binary_expression "(in_a3 & 0x20) != 0" (parenthesized_expression "(in_a3 & 0x20)" ( (binary_expression "in_a3 & 0x20" identifier & number_literal) )) != number_literal) )) (goto_statement "goto LAB_00215228;" goto statement_identifier ;)) }))) (expression_statement "*(undefined4 *)(in_a0 + 0x58) = 0;" (assignment_expression "*(undefined4 *)(in_a0 + 0x58) = 0" (pointer_expression "*(undefined4 *)(in_a0 + 0x58)" * (cast_expression "(undefined4 *)(in_a0 + 0x58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x58)" ( (binary_expression "in_a0 + 0x58" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(uint *)(in_a0 + 0x5c) = uVar2 & 0xffffffdf;" (assignment_expression "*(uint *)(in_a0 + 0x5c) = uVar2 & 0xffffffdf" (pointer_expression "*(uint *)(in_a0 + 0x5c)" * (cast_expression "(uint *)(in_a0 + 0x5c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a0 + 0x5c)" ( (binary_expression "in_a0 + 0x5c" identifier + number_literal) )))) = (binary_expression "uVar2 & 0xffffffdf" identifier & number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT : : IDENT : :) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor 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) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT & LIT) | IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) }) (else_clause else (compound_statement { (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 = (binary_expression (binary_expression IDENT & LIT) | IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) }))) (if_statement if (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) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) || (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT)) )) (compound_statement { (return_statement return ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT | LIT)) ;) (return_statement return ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) || (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT & LIT)) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (goto_statement goto statement_identifier ;)) }))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT & LIT)) ;) (return_statement return ;) })))
(function_definition "void gold::Output_section::update_flags_for_input_section(ulonglong param_1)\n\n{\n  undefined4 uVar1;\n  int in_a0;\n  uint uVar2;\n  uint in_a3;\n  \n  uVar2 = *(uint *)(in_a0 + 0x5c);\n  uVar1 = *(undefined4 *)(in_a0 + 0x58);\n  if (((uVar2 & 2) == 0) && ((in_a3 & 2) != 0)) {\n    *(undefined4 *)(in_a0 + 0x58) = uVar1;\n    *(byte *)(in_a0 + 0x20) = *(byte *)(in_a0 + 0x20) & 0x7f;\n    uVar2 = in_a3 & 7 | uVar2;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n  }\n  else {\n    *(undefined4 *)(in_a0 + 0x58) = uVar1;\n    uVar2 = in_a3 & 7 | uVar2;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n  }\n  if ((in_a3 & 0x10) == 0) {\n    *(undefined4 *)(in_a0 + 0x58) = 0;\n    uVar1 = 0;\n    uVar2 = uVar2 & 0xffffffef;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n    if ((in_a3 & 0x20) != 0) {\n      if (*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0) {\n        return;\n      }\nLAB_00215228:\n      *(undefined4 *)(in_a0 + 0x58) = uVar1;\n      *(uint *)(in_a0 + 0x5c) = uVar2 | 0x20;\n      return;\n    }\n  }\n  else {\n    if (*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0) {\n      if ((in_a3 & 0x20) != 0) {\n        return;\n      }\n      *(undefined4 *)(in_a0 + 0x58) = 0;\n      *(uint *)(in_a0 + 0x5c) = uVar2 & 0xffffffdf;\n      return;\n    }\n    uVar2 = uVar2 | 0x10;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n    if ((in_a3 & 0x20) != 0) goto LAB_00215228;\n  }\n  *(undefined4 *)(in_a0 + 0x58) = 0;\n  *(uint *)(in_a0 + 0x5c) = uVar2 & 0xffffffdf;\n  return;\n}" (primitive_type "void") (ERROR "gold::Output_section::" (identifier "gold") (: ":") (: ":") (identifier "Output_section") (: ":") (: ":")) (function_declarator "update_flags_for_input_section(ulonglong param_1)" (identifier "update_flags_for_input_section") (parameter_list "(ulonglong param_1)" (( "(") (parameter_declaration "ulonglong param_1" (type_identifier "ulonglong") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  int in_a0;\n  uint uVar2;\n  uint in_a3;\n  \n  uVar2 = *(uint *)(in_a0 + 0x5c);\n  uVar1 = *(undefined4 *)(in_a0 + 0x58);\n  if (((uVar2 & 2) == 0) && ((in_a3 & 2) != 0)) {\n    *(undefined4 *)(in_a0 + 0x58) = uVar1;\n    *(byte *)(in_a0 + 0x20) = *(byte *)(in_a0 + 0x20) & 0x7f;\n    uVar2 = in_a3 & 7 | uVar2;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n  }\n  else {\n    *(undefined4 *)(in_a0 + 0x58) = uVar1;\n    uVar2 = in_a3 & 7 | uVar2;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n  }\n  if ((in_a3 & 0x10) == 0) {\n    *(undefined4 *)(in_a0 + 0x58) = 0;\n    uVar1 = 0;\n    uVar2 = uVar2 & 0xffffffef;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n    if ((in_a3 & 0x20) != 0) {\n      if (*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0) {\n        return;\n      }\nLAB_00215228:\n      *(undefined4 *)(in_a0 + 0x58) = uVar1;\n      *(uint *)(in_a0 + 0x5c) = uVar2 | 0x20;\n      return;\n    }\n  }\n  else {\n    if (*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0) {\n      if ((in_a3 & 0x20) != 0) {\n        return;\n      }\n      *(undefined4 *)(in_a0 + 0x58) = 0;\n      *(uint *)(in_a0 + 0x5c) = uVar2 & 0xffffffdf;\n      return;\n    }\n    uVar2 = uVar2 | 0x10;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n    if ((in_a3 & 0x20) != 0) goto LAB_00215228;\n  }\n  *(undefined4 *)(in_a0 + 0x58) = 0;\n  *(uint *)(in_a0 + 0x5c) = uVar2 & 0xffffffdf;\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "int in_a0;" (primitive_type "int") (identifier "in_a0") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "uint in_a3;" (type_identifier "uint") (identifier "in_a3") (; ";")) (expression_statement "uVar2 = *(uint *)(in_a0 + 0x5c);" (assignment_expression "uVar2 = *(uint *)(in_a0 + 0x5c)" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)(in_a0 + 0x5c)" (* "*") (cast_expression "(uint *)(in_a0 + 0x5c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_a0 + 0x5c)" (( "(") (binary_expression "in_a0 + 0x5c" (identifier "in_a0") (+ "+") (number_literal "0x5c")) () ")"))))) (; ";")) (expression_statement "uVar1 = *(undefined4 *)(in_a0 + 0x58);" (assignment_expression "uVar1 = *(undefined4 *)(in_a0 + 0x58)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined4 *)(in_a0 + 0x58)" (* "*") (cast_expression "(undefined4 *)(in_a0 + 0x58)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_a0 + 0x58)" (( "(") (binary_expression "in_a0 + 0x58" (identifier "in_a0") (+ "+") (number_literal "0x58")) () ")"))))) (; ";")) (if_statement "if (((uVar2 & 2) == 0) && ((in_a3 & 2) != 0)) {\n    *(undefined4 *)(in_a0 + 0x58) = uVar1;\n    *(byte *)(in_a0 + 0x20) = *(byte *)(in_a0 + 0x20) & 0x7f;\n    uVar2 = in_a3 & 7 | uVar2;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n  }\n  else {\n    *(undefined4 *)(in_a0 + 0x58) = uVar1;\n    uVar2 = in_a3 & 7 | uVar2;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n  }" (if "if") (parenthesized_expression "(((uVar2 & 2) == 0) && ((in_a3 & 2) != 0))" (( "(") (binary_expression "((uVar2 & 2) == 0) && ((in_a3 & 2) != 0)" (parenthesized_expression "((uVar2 & 2) == 0)" (( "(") (binary_expression "(uVar2 & 2) == 0" (parenthesized_expression "(uVar2 & 2)" (( "(") (binary_expression "uVar2 & 2" (identifier "uVar2") (& "&") (number_literal "2")) () ")")) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((in_a3 & 2) != 0)" (( "(") (binary_expression "(in_a3 & 2) != 0" (parenthesized_expression "(in_a3 & 2)" (( "(") (binary_expression "in_a3 & 2" (identifier "in_a3") (& "&") (number_literal "2")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    *(undefined4 *)(in_a0 + 0x58) = uVar1;\n    *(byte *)(in_a0 + 0x20) = *(byte *)(in_a0 + 0x20) & 0x7f;\n    uVar2 = in_a3 & 7 | uVar2;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n  }" ({ "{") (expression_statement "*(undefined4 *)(in_a0 + 0x58) = uVar1;" (assignment_expression "*(undefined4 *)(in_a0 + 0x58) = uVar1" (pointer_expression "*(undefined4 *)(in_a0 + 0x58)" (* "*") (cast_expression "(undefined4 *)(in_a0 + 0x58)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_a0 + 0x58)" (( "(") (binary_expression "in_a0 + 0x58" (identifier "in_a0") (+ "+") (number_literal "0x58")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "*(byte *)(in_a0 + 0x20) = *(byte *)(in_a0 + 0x20) & 0x7f;" (assignment_expression "*(byte *)(in_a0 + 0x20) = *(byte *)(in_a0 + 0x20) & 0x7f" (pointer_expression "*(byte *)(in_a0 + 0x20)" (* "*") (cast_expression "(byte *)(in_a0 + 0x20)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_a0 + 0x20)" (( "(") (binary_expression "in_a0 + 0x20" (identifier "in_a0") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (binary_expression "*(byte *)(in_a0 + 0x20) & 0x7f" (pointer_expression "*(byte *)(in_a0 + 0x20)" (* "*") (cast_expression "(byte *)(in_a0 + 0x20)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_a0 + 0x20)" (( "(") (binary_expression "in_a0 + 0x20" (identifier "in_a0") (+ "+") (number_literal "0x20")) () ")")))) (& "&") (number_literal "0x7f"))) (; ";")) (expression_statement "uVar2 = in_a3 & 7 | uVar2;" (assignment_expression "uVar2 = in_a3 & 7 | uVar2" (identifier "uVar2") (= "=") (binary_expression "in_a3 & 7 | uVar2" (binary_expression "in_a3 & 7" (identifier "in_a3") (& "&") (number_literal "7")) (| "|") (identifier "uVar2"))) (; ";")) (expression_statement "*(uint *)(in_a0 + 0x5c) = uVar2;" (assignment_expression "*(uint *)(in_a0 + 0x5c) = uVar2" (pointer_expression "*(uint *)(in_a0 + 0x5c)" (* "*") (cast_expression "(uint *)(in_a0 + 0x5c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_a0 + 0x5c)" (( "(") (binary_expression "in_a0 + 0x5c" (identifier "in_a0") (+ "+") (number_literal "0x5c")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (} "}")) (else_clause "else {\n    *(undefined4 *)(in_a0 + 0x58) = uVar1;\n    uVar2 = in_a3 & 7 | uVar2;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n  }" (else "else") (compound_statement "{\n    *(undefined4 *)(in_a0 + 0x58) = uVar1;\n    uVar2 = in_a3 & 7 | uVar2;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n  }" ({ "{") (expression_statement "*(undefined4 *)(in_a0 + 0x58) = uVar1;" (assignment_expression "*(undefined4 *)(in_a0 + 0x58) = uVar1" (pointer_expression "*(undefined4 *)(in_a0 + 0x58)" (* "*") (cast_expression "(undefined4 *)(in_a0 + 0x58)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_a0 + 0x58)" (( "(") (binary_expression "in_a0 + 0x58" (identifier "in_a0") (+ "+") (number_literal "0x58")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "uVar2 = in_a3 & 7 | uVar2;" (assignment_expression "uVar2 = in_a3 & 7 | uVar2" (identifier "uVar2") (= "=") (binary_expression "in_a3 & 7 | uVar2" (binary_expression "in_a3 & 7" (identifier "in_a3") (& "&") (number_literal "7")) (| "|") (identifier "uVar2"))) (; ";")) (expression_statement "*(uint *)(in_a0 + 0x5c) = uVar2;" (assignment_expression "*(uint *)(in_a0 + 0x5c) = uVar2" (pointer_expression "*(uint *)(in_a0 + 0x5c)" (* "*") (cast_expression "(uint *)(in_a0 + 0x5c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_a0 + 0x5c)" (( "(") (binary_expression "in_a0 + 0x5c" (identifier "in_a0") (+ "+") (number_literal "0x5c")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (} "}")))) (if_statement "if ((in_a3 & 0x10) == 0) {\n    *(undefined4 *)(in_a0 + 0x58) = 0;\n    uVar1 = 0;\n    uVar2 = uVar2 & 0xffffffef;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n    if ((in_a3 & 0x20) != 0) {\n      if (*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0) {\n        return;\n      }\nLAB_00215228:\n      *(undefined4 *)(in_a0 + 0x58) = uVar1;\n      *(uint *)(in_a0 + 0x5c) = uVar2 | 0x20;\n      return;\n    }\n  }\n  else {\n    if (*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0) {\n      if ((in_a3 & 0x20) != 0) {\n        return;\n      }\n      *(undefined4 *)(in_a0 + 0x58) = 0;\n      *(uint *)(in_a0 + 0x5c) = uVar2 & 0xffffffdf;\n      return;\n    }\n    uVar2 = uVar2 | 0x10;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n    if ((in_a3 & 0x20) != 0) goto LAB_00215228;\n  }" (if "if") (parenthesized_expression "((in_a3 & 0x10) == 0)" (( "(") (binary_expression "(in_a3 & 0x10) == 0" (parenthesized_expression "(in_a3 & 0x10)" (( "(") (binary_expression "in_a3 & 0x10" (identifier "in_a3") (& "&") (number_literal "0x10")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    *(undefined4 *)(in_a0 + 0x58) = 0;\n    uVar1 = 0;\n    uVar2 = uVar2 & 0xffffffef;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n    if ((in_a3 & 0x20) != 0) {\n      if (*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0) {\n        return;\n      }\nLAB_00215228:\n      *(undefined4 *)(in_a0 + 0x58) = uVar1;\n      *(uint *)(in_a0 + 0x5c) = uVar2 | 0x20;\n      return;\n    }\n  }" ({ "{") (expression_statement "*(undefined4 *)(in_a0 + 0x58) = 0;" (assignment_expression "*(undefined4 *)(in_a0 + 0x58) = 0" (pointer_expression "*(undefined4 *)(in_a0 + 0x58)" (* "*") (cast_expression "(undefined4 *)(in_a0 + 0x58)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_a0 + 0x58)" (( "(") (binary_expression "in_a0 + 0x58" (identifier "in_a0") (+ "+") (number_literal "0x58")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" (identifier "uVar1") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar2 = uVar2 & 0xffffffef;" (assignment_expression "uVar2 = uVar2 & 0xffffffef" (identifier "uVar2") (= "=") (binary_expression "uVar2 & 0xffffffef" (identifier "uVar2") (& "&") (number_literal "0xffffffef"))) (; ";")) (expression_statement "*(uint *)(in_a0 + 0x5c) = uVar2;" (assignment_expression "*(uint *)(in_a0 + 0x5c) = uVar2" (pointer_expression "*(uint *)(in_a0 + 0x5c)" (* "*") (cast_expression "(uint *)(in_a0 + 0x5c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_a0 + 0x5c)" (( "(") (binary_expression "in_a0 + 0x5c" (identifier "in_a0") (+ "+") (number_literal "0x5c")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (if_statement "if ((in_a3 & 0x20) != 0) {\n      if (*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0) {\n        return;\n      }\nLAB_00215228:\n      *(undefined4 *)(in_a0 + 0x58) = uVar1;\n      *(uint *)(in_a0 + 0x5c) = uVar2 | 0x20;\n      return;\n    }" (if "if") (parenthesized_expression "((in_a3 & 0x20) != 0)" (( "(") (binary_expression "(in_a3 & 0x20) != 0" (parenthesized_expression "(in_a3 & 0x20)" (( "(") (binary_expression "in_a3 & 0x20" (identifier "in_a3") (& "&") (number_literal "0x20")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      if (*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0) {\n        return;\n      }\nLAB_00215228:\n      *(undefined4 *)(in_a0 + 0x58) = uVar1;\n      *(uint *)(in_a0 + 0x5c) = uVar2 | 0x20;\n      return;\n    }" ({ "{") (if_statement "if (*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0) {\n        return;\n      }" (if "if") (parenthesized_expression "(*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0)" (( "(") (binary_expression "*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0" (binary_expression "*(int *)(in_a0 + 0x10) != 0" (pointer_expression "*(int *)(in_a0 + 0x10)" (* "*") (cast_expression "(int *)(in_a0 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_a0 + 0x10)" (( "(") (binary_expression "in_a0 + 0x10" (identifier "in_a0") (+ "+") (number_literal "0x10")) () ")")))) (!= "!=") (number_literal "0")) (|| "||") (binary_expression "*(int *)(in_a0 + 0x14) != 0" (pointer_expression "*(int *)(in_a0 + 0x14)" (* "*") (cast_expression "(int *)(in_a0 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_a0 + 0x14)" (( "(") (binary_expression "in_a0 + 0x14" (identifier "in_a0") (+ "+") (number_literal "0x14")) () ")")))) (!= "!=") (number_literal "0"))) () ")")) (compound_statement "{\n        return;\n      }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (labeled_statement "LAB_00215228:\n      *(undefined4 *)(in_a0 + 0x58) = uVar1;" (statement_identifier "LAB_00215228") (: ":") (expression_statement "*(undefined4 *)(in_a0 + 0x58) = uVar1;" (assignment_expression "*(undefined4 *)(in_a0 + 0x58) = uVar1" (pointer_expression "*(undefined4 *)(in_a0 + 0x58)" (* "*") (cast_expression "(undefined4 *)(in_a0 + 0x58)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_a0 + 0x58)" (( "(") (binary_expression "in_a0 + 0x58" (identifier "in_a0") (+ "+") (number_literal "0x58")) () ")")))) (= "=") (identifier "uVar1")) (; ";"))) (expression_statement "*(uint *)(in_a0 + 0x5c) = uVar2 | 0x20;" (assignment_expression "*(uint *)(in_a0 + 0x5c) = uVar2 | 0x20" (pointer_expression "*(uint *)(in_a0 + 0x5c)" (* "*") (cast_expression "(uint *)(in_a0 + 0x5c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_a0 + 0x5c)" (( "(") (binary_expression "in_a0 + 0x5c" (identifier "in_a0") (+ "+") (number_literal "0x5c")) () ")")))) (= "=") (binary_expression "uVar2 | 0x20" (identifier "uVar2") (| "|") (number_literal "0x20"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    if (*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0) {\n      if ((in_a3 & 0x20) != 0) {\n        return;\n      }\n      *(undefined4 *)(in_a0 + 0x58) = 0;\n      *(uint *)(in_a0 + 0x5c) = uVar2 & 0xffffffdf;\n      return;\n    }\n    uVar2 = uVar2 | 0x10;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n    if ((in_a3 & 0x20) != 0) goto LAB_00215228;\n  }" (else "else") (compound_statement "{\n    if (*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0) {\n      if ((in_a3 & 0x20) != 0) {\n        return;\n      }\n      *(undefined4 *)(in_a0 + 0x58) = 0;\n      *(uint *)(in_a0 + 0x5c) = uVar2 & 0xffffffdf;\n      return;\n    }\n    uVar2 = uVar2 | 0x10;\n    *(uint *)(in_a0 + 0x5c) = uVar2;\n    if ((in_a3 & 0x20) != 0) goto LAB_00215228;\n  }" ({ "{") (if_statement "if (*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0) {\n      if ((in_a3 & 0x20) != 0) {\n        return;\n      }\n      *(undefined4 *)(in_a0 + 0x58) = 0;\n      *(uint *)(in_a0 + 0x5c) = uVar2 & 0xffffffdf;\n      return;\n    }" (if "if") (parenthesized_expression "(*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0)" (( "(") (binary_expression "*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0" (binary_expression "*(int *)(in_a0 + 0x10) != 0" (pointer_expression "*(int *)(in_a0 + 0x10)" (* "*") (cast_expression "(int *)(in_a0 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_a0 + 0x10)" (( "(") (binary_expression "in_a0 + 0x10" (identifier "in_a0") (+ "+") (number_literal "0x10")) () ")")))) (!= "!=") (number_literal "0")) (|| "||") (binary_expression "*(int *)(in_a0 + 0x14) != 0" (pointer_expression "*(int *)(in_a0 + 0x14)" (* "*") (cast_expression "(int *)(in_a0 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_a0 + 0x14)" (( "(") (binary_expression "in_a0 + 0x14" (identifier "in_a0") (+ "+") (number_literal "0x14")) () ")")))) (!= "!=") (number_literal "0"))) () ")")) (compound_statement "{\n      if ((in_a3 & 0x20) != 0) {\n        return;\n      }\n      *(undefined4 *)(in_a0 + 0x58) = 0;\n      *(uint *)(in_a0 + 0x5c) = uVar2 & 0xffffffdf;\n      return;\n    }" ({ "{") (if_statement "if ((in_a3 & 0x20) != 0) {\n        return;\n      }" (if "if") (parenthesized_expression "((in_a3 & 0x20) != 0)" (( "(") (binary_expression "(in_a3 & 0x20) != 0" (parenthesized_expression "(in_a3 & 0x20)" (( "(") (binary_expression "in_a3 & 0x20" (identifier "in_a3") (& "&") (number_literal "0x20")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        return;\n      }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "*(undefined4 *)(in_a0 + 0x58) = 0;" (assignment_expression "*(undefined4 *)(in_a0 + 0x58) = 0" (pointer_expression "*(undefined4 *)(in_a0 + 0x58)" (* "*") (cast_expression "(undefined4 *)(in_a0 + 0x58)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_a0 + 0x58)" (( "(") (binary_expression "in_a0 + 0x58" (identifier "in_a0") (+ "+") (number_literal "0x58")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(uint *)(in_a0 + 0x5c) = uVar2 & 0xffffffdf;" (assignment_expression "*(uint *)(in_a0 + 0x5c) = uVar2 & 0xffffffdf" (pointer_expression "*(uint *)(in_a0 + 0x5c)" (* "*") (cast_expression "(uint *)(in_a0 + 0x5c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_a0 + 0x5c)" (( "(") (binary_expression "in_a0 + 0x5c" (identifier "in_a0") (+ "+") (number_literal "0x5c")) () ")")))) (= "=") (binary_expression "uVar2 & 0xffffffdf" (identifier "uVar2") (& "&") (number_literal "0xffffffdf"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar2 = uVar2 | 0x10;" (assignment_expression "uVar2 = uVar2 | 0x10" (identifier "uVar2") (= "=") (binary_expression "uVar2 | 0x10" (identifier "uVar2") (| "|") (number_literal "0x10"))) (; ";")) (expression_statement "*(uint *)(in_a0 + 0x5c) = uVar2;" (assignment_expression "*(uint *)(in_a0 + 0x5c) = uVar2" (pointer_expression "*(uint *)(in_a0 + 0x5c)" (* "*") (cast_expression "(uint *)(in_a0 + 0x5c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_a0 + 0x5c)" (( "(") (binary_expression "in_a0 + 0x5c" (identifier "in_a0") (+ "+") (number_literal "0x5c")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (if_statement "if ((in_a3 & 0x20) != 0) goto LAB_00215228;" (if "if") (parenthesized_expression "((in_a3 & 0x20) != 0)" (( "(") (binary_expression "(in_a3 & 0x20) != 0" (parenthesized_expression "(in_a3 & 0x20)" (( "(") (binary_expression "in_a3 & 0x20" (identifier "in_a3") (& "&") (number_literal "0x20")) () ")")) (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00215228;" (goto "goto") (statement_identifier "LAB_00215228") (; ";"))) (} "}")))) (expression_statement "*(undefined4 *)(in_a0 + 0x58) = 0;" (assignment_expression "*(undefined4 *)(in_a0 + 0x58) = 0" (pointer_expression "*(undefined4 *)(in_a0 + 0x58)" (* "*") (cast_expression "(undefined4 *)(in_a0 + 0x58)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_a0 + 0x58)" (( "(") (binary_expression "in_a0 + 0x58" (identifier "in_a0") (+ "+") (number_literal "0x58")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(uint *)(in_a0 + 0x5c) = uVar2 & 0xffffffdf;" (assignment_expression "*(uint *)(in_a0 + 0x5c) = uVar2 & 0xffffffdf" (pointer_expression "*(uint *)(in_a0 + 0x5c)" (* "*") (cast_expression "(uint *)(in_a0 + 0x5c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_a0 + 0x5c)" (( "(") (binary_expression "in_a0 + 0x5c" (identifier "in_a0") (+ "+") (number_literal "0x5c")) () ")")))) (= "=") (binary_expression "uVar2 & 0xffffffdf" (identifier "uVar2") (& "&") (number_literal "0xffffffdf"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Struct "Output_section_data": ignoring overlapping field "output_section_" */
/* WARNING: Struct "Output_section": ignoring overlapping field "name_" */
/* DWARF original prototype: void update_flags_for_input_section(Output_section * this, Elf_Xword
   flags) */

void __thiscall
gold::type_1::function_1(type_1 *this,type_2 flags)

{
  type_3 var_3;
  type_4 var_1;
  type_5 uVar3;
  type_4 var_2;
  
  var_1 = (type_4)this->flags_;
  uVar3 = *(type_5 *)&this->flags_;
  if (((var_1 & 2) == 0) && ((var_2 & 2) != 0)) {
    var_3 = (this->super_Output_data).field_0x20;
    *(type_5 *)&this->flags_ = uVar3;
    (this->super_Output_data).field_0x20 = var_3 & 0x7f;
    var_1 = var_2 & 7 | var_1;
    *(type_4 *)((int)&this->flags_ + 4) = var_1;
  }
  else {
    *(type_5 *)&this->flags_ = uVar3;
    var_1 = var_2 & 7 | var_1;
    *(type_4 *)((int)&this->flags_ + 4) = var_1;
  }
  if ((var_2 & 0x10) == 0) {
    *(type_5 *)&this->flags_ = 0;
    uVar3 = 0;
    var_1 = var_1 & 0xffffffef;
    *(type_4 *)((int)&this->flags_ + 4) = var_1;
    if ((var_2 & 0x20) != 0) {
      if (*(int *)&(this->super_Output_data).data_size_ != 0 ||
          (int)(this->super_Output_data).data_size_ != 0) {
        return;
      }
LAB_00215228:
      *(type_5 *)&this->flags_ = uVar3;
      *(type_4 *)((int)&this->flags_ + 4) = var_1 | 0x20;
      return;
    }
  }
  else {
    if (*(int *)&(this->super_Output_data).data_size_ != 0 ||
        (int)(this->super_Output_data).data_size_ != 0) {
      if ((var_2 & 0x20) != 0) {
        return;
      }
      *(type_5 *)&this->flags_ = 0;
      *(type_4 *)((int)&this->flags_ + 4) = var_1 & 0xffffffdf;
      return;
    }
    var_1 = var_1 | 0x10;
    *(type_4 *)((int)&this->flags_ + 4) = var_1;
    if ((var_2 & 0x20) != 0) goto LAB_00215228;
  }
  *(type_5 *)&this->flags_ = 0;
  *(type_4 *)((int)&this->flags_ + 4) = var_1 & 0xffffffdf;
  return;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier) (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (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: (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))) alternative: (else_clause (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: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))))) (if_statement condition: (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: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (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: (number_literal)) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) consequence: (compound_statement (return_statement))) (labeled_statement label: (statement_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: (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)))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (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: (number_literal)) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (return_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: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal)))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (goto_statement label: (statement_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: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal)))) (return_statement))))

/* gold::Output_section::MASKED(unsigned long long) */

void gold::Output_section::MASKED(ulonglong param_1)

{
  undefined4 uVar1;
  int in_a0;
  uint uVar2;
  uint in_a3;
  
  uVar2 = *(uint *)(in_a0 + 0x5c);
  uVar1 = *(undefined4 *)(in_a0 + 0x58);
  if (((uVar2 & 2) == 0) && ((in_a3 & 2) != 0)) {
    *(undefined4 *)(in_a0 + 0x58) = uVar1;
    *(byte *)(in_a0 + 0x20) = *(byte *)(in_a0 + 0x20) & 0x7f;
    uVar2 = in_a3 & 7 | uVar2;
    *(uint *)(in_a0 + 0x5c) = uVar2;
  }
  else {
    *(undefined4 *)(in_a0 + 0x58) = uVar1;
    uVar2 = in_a3 & 7 | uVar2;
    *(uint *)(in_a0 + 0x5c) = uVar2;
  }
  if ((in_a3 & 0x10) == 0) {
    *(undefined4 *)(in_a0 + 0x58) = 0;
    uVar1 = 0;
    uVar2 = uVar2 & 0xffffffef;
    *(uint *)(in_a0 + 0x5c) = uVar2;
    if ((in_a3 & 0x20) != 0) {
      if (*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0) {
        return;
      }
LAB_00215228:
      *(undefined4 *)(in_a0 + 0x58) = uVar1;
      *(uint *)(in_a0 + 0x5c) = uVar2 | 0x20;
      return;
    }
  }
  else {
    if (*(int *)(in_a0 + 0x10) != 0 || *(int *)(in_a0 + 0x14) != 0) {
      if ((in_a3 & 0x20) != 0) {
        return;
      }
      *(undefined4 *)(in_a0 + 0x58) = 0;
      *(uint *)(in_a0 + 0x5c) = uVar2 & 0xffffffdf;
      return;
    }
    uVar2 = uVar2 | 0x10;
    *(uint *)(in_a0 + 0x5c) = uVar2;
    if ((in_a3 & 0x20) != 0) goto LAB_00215228;
  }
  *(undefined4 *)(in_a0 + 0x58) = 0;
  *(uint *)(in_a0 + 0x5c) = uVar2 & 0xffffffdf;
  return;
}

