
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void prepare_for_relaxation(Layout * this) */

void __thiscall gold::Layout::prepare_for_relaxation(Layout *this)

{
  Output_section *this_00;
  Segment_states *segment_states;
  Relaxation_debug_check *pRVar1;
  pointer ppOVar2;
  
  if ((parameters->options_ != (General_options *)0x0) && ((parameters->debug_ & 8) != 0)) {
    pRVar1 = (Relaxation_debug_check *)operator_new(0x18);
    (pRVar1->section_infos_).
    super__Vector_base<gold::Layout::Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>
    ._M_impl._M_start = (pointer)0x0;
    (pRVar1->section_infos_).
    super__Vector_base<gold::Layout::Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>
    ._M_impl._M_finish = (pointer)0x0;
    (pRVar1->section_infos_).
    super__Vector_base<gold::Layout::Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>
    ._M_impl._M_end_of_storage = (pointer)0x0;
    this->relaxation_debug_check_ = pRVar1;
  }
  segment_states = (Segment_states *)operator_new(0x38);
  (segment_states->_M_h)._M_rehash_policy._M_max_load_factor = 0.0;
  *(undefined4 *)&(segment_states->_M_h)._M_rehash_policy.field_0x4 = 0;
  (segment_states->_M_h)._M_rehash_policy._M_next_resize = 0;
  (segment_states->_M_h)._M_single_bucket = (__bucket_type)0x0;
  (segment_states->_M_h)._M_buckets = &(segment_states->_M_h)._M_single_bucket;
  (segment_states->_M_h)._M_bucket_count = 1;
  (segment_states->_M_h)._M_before_begin._M_nxt = (_Hash_node_base *)0x0;
  (segment_states->_M_h)._M_element_count = 0;
  (segment_states->_M_h)._M_rehash_policy._M_max_load_factor = 1.0;
  (segment_states->_M_h)._M_rehash_policy._M_next_resize = 0;
  this->segment_states_ = segment_states;
  save_segments(this,segment_states);
  ppOVar2 = (this->section_list_).
            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.
            _M_impl._M_start;
  if (ppOVar2 !=
      (this->section_list_).
      super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl.
      _M_finish) {
    do {
      this_00 = *ppOVar2;
      ppOVar2 = ppOVar2 + 1;
      Output_section::save_states(this_00);
    } while ((this->section_list_).
             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.
             _M_impl._M_finish != ppOVar2);
  }
  if ((parameters->options_ != (General_options *)0x0) && ((parameters->debug_ & 8) != 0)) {
    Relaxation_debug_check::check_output_data_for_reset_values
              (this->relaxation_debug_check_,&this->section_list_,&this->special_output_list_,
               &this->relax_output_list_);
    this->record_output_section_data_from_script_ = true;
    return;
  }
  this->record_output_section_data_from_script_ = true;
  return;
}



void FUN_001ac250(long param_1)

{
  undefined8 uVar1;
  long *plVar2;
  undefined8 *puVar3;
  
  if ((*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0) && ((PTR_DAT_0043e6b0[0x24] & 8) != 0)) {
    puVar3 = (undefined8 *)FUN_002d94a0(0x18);
    *puVar3 = 0;
    puVar3[1] = 0;
    puVar3[2] = 0;
    *(undefined8 **)(param_1 + 0x3a8) = puVar3;
  }
  plVar2 = (long *)FUN_002d94a0(0x38);
  *(undefined1 (*) [16])(plVar2 + 4) = (undefined1  [16])0x0;
  plVar2[6] = 0;
  *plVar2 = (long)(plVar2 + 6);
  plVar2[1] = 1;
  plVar2[2] = 0;
  plVar2[3] = 0;
  *(undefined4 *)(plVar2 + 4) = 0x3f800000;
  plVar2[5] = 0;
  *(long **)(param_1 + 0x3a0) = plVar2;
  FUN_001abfa0(param_1,plVar2);
  puVar3 = *(undefined8 **)(param_1 + 0x248);
  if (puVar3 != *(undefined8 **)(param_1 + 0x250)) {
    do {
      uVar1 = *puVar3;
      puVar3 = puVar3 + 1;
      FUN_001f6d50(uVar1);
    } while (*(undefined8 **)(param_1 + 0x250) != puVar3);
  }
  if ((*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0) && ((PTR_DAT_0043e6b0[0x24] & 8) != 0)) {
    FUN_001a4ba0(*(undefined8 *)(param_1 + 0x3a8),param_1 + 0x248,param_1 + 0x278,param_1 + 0x290);
    *(undefined1 *)(param_1 + 0x380) = 1;
    return;
  }
  *(undefined1 *)(param_1 + 0x380) = 1;
  return;
}


PUSH RBP
MOV RBP,RDI
PUSH RBX
SUB RSP,0x8
MOV RAX,qword ptr [0x0043e6b0]
CMP qword ptr [RAX + 0x10],0x0
JZ 0x001ac271
TEST byte ptr [RAX + 0x24],0x8
JNZ 0x001ac350
MOV EDI,0x38
CALL 0x002d94a0
PXOR XMM0,XMM0
MOV RDI,RBP
LEA RDX,[RAX + 0x30]
MOVUPS xmmword ptr [RAX + 0x20],XMM0
MOV RSI,RAX
MOV qword ptr [RAX + 0x30],0x0
MOV qword ptr [RAX],RDX
MOV qword ptr [RAX + 0x8],0x1
MOV qword ptr [RAX + 0x10],0x0
MOV qword ptr [RAX + 0x18],0x0
MOV dword ptr [RAX + 0x20],0x3f800000
MOV qword ptr [RAX + 0x28],0x0
MOV qword ptr [RBP + 0x3a0],RAX
CALL 0x001abfa0
MOV RBX,qword ptr [RBP + 0x248]
CMP RBX,qword ptr [RBP + 0x250]
JZ 0x001ac2f5
NOP dword ptr [RAX + RAX*0x1]
MOV RDI,qword ptr [RBX]
ADD RBX,0x8
CALL 0x001f6d50
CMP qword ptr [RBP + 0x250],RBX
JNZ 0x001ac2e0
MOV RAX,qword ptr [0x0043e6b0]
CMP qword ptr [RAX + 0x10],0x0
JZ 0x001ac309
TEST byte ptr [RAX + 0x24],0x8
JNZ 0x001ac320
MOV byte ptr [RBP + 0x380],0x1
ADD RSP,0x8
POP RBX
POP RBP
RET
MOV RDI,qword ptr [RBP + 0x3a8]
LEA RCX,[RBP + 0x290]
LEA RDX,[RBP + 0x278]
LEA RSI,[RBP + 0x248]
CALL 0x001a4ba0
MOV byte ptr [RBP + 0x380],0x1
ADD RSP,0x8
POP RBX
POP RBP
RET
MOV EDI,0x18
CALL 0x002d94a0
MOV qword ptr [RAX],0x0
MOV qword ptr [RAX + 0x8],0x0
MOV qword ptr [RAX + 0x10],0x0
MOV qword ptr [RBP + 0x3a8],RAX
JMP 0x001ac271
(translation_unit "void FUN_001ac250(long param_1)\n\n{\n  undefined8 uVar1;\n  long *plVar2;\n  undefined8 *puVar3;\n  \n  if ((*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0) && ((PTR_DAT_0043e6b0[0x24] & 8) != 0)) {\n    puVar3 = (undefined8 *)FUN_002d94a0(0x18);\n    *puVar3 = 0;\n    puVar3[1] = 0;\n    puVar3[2] = 0;\n    *(undefined8 **)(param_1 + 0x3a8) = puVar3;\n  }\n  plVar2 = (long *)FUN_002d94a0(0x38);\n  *(undefined1 (*) [16])(plVar2 + 4) = (undefined1  [16])0x0;\n  plVar2[6] = 0;\n  *plVar2 = (long)(plVar2 + 6);\n  plVar2[1] = 1;\n  plVar2[2] = 0;\n  plVar2[3] = 0;\n  *(undefined4 *)(plVar2 + 4) = 0x3f800000;\n  plVar2[5] = 0;\n  *(long **)(param_1 + 0x3a0) = plVar2;\n  FUN_001abfa0(param_1,plVar2);\n  puVar3 = *(undefined8 **)(param_1 + 0x248);\n  if (puVar3 != *(undefined8 **)(param_1 + 0x250)) {\n    do {\n      uVar1 = *puVar3;\n      puVar3 = puVar3 + 1;\n      FUN_001f6d50(uVar1);\n    } while (*(undefined8 **)(param_1 + 0x250) != puVar3);\n  }\n  if ((*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0) && ((PTR_DAT_0043e6b0[0x24] & 8) != 0)) {\n    FUN_001a4ba0(*(undefined8 *)(param_1 + 0x3a8),param_1 + 0x248,param_1 + 0x278,param_1 + 0x290);\n    *(undefined1 *)(param_1 + 0x380) = 1;\n    return;\n  }\n  *(undefined1 *)(param_1 + 0x380) = 1;\n  return;\n}\n\n" (function_definition "void FUN_001ac250(long param_1)\n\n{\n  undefined8 uVar1;\n  long *plVar2;\n  undefined8 *puVar3;\n  \n  if ((*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0) && ((PTR_DAT_0043e6b0[0x24] & 8) != 0)) {\n    puVar3 = (undefined8 *)FUN_002d94a0(0x18);\n    *puVar3 = 0;\n    puVar3[1] = 0;\n    puVar3[2] = 0;\n    *(undefined8 **)(param_1 + 0x3a8) = puVar3;\n  }\n  plVar2 = (long *)FUN_002d94a0(0x38);\n  *(undefined1 (*) [16])(plVar2 + 4) = (undefined1  [16])0x0;\n  plVar2[6] = 0;\n  *plVar2 = (long)(plVar2 + 6);\n  plVar2[1] = 1;\n  plVar2[2] = 0;\n  plVar2[3] = 0;\n  *(undefined4 *)(plVar2 + 4) = 0x3f800000;\n  plVar2[5] = 0;\n  *(long **)(param_1 + 0x3a0) = plVar2;\n  FUN_001abfa0(param_1,plVar2);\n  puVar3 = *(undefined8 **)(param_1 + 0x248);\n  if (puVar3 != *(undefined8 **)(param_1 + 0x250)) {\n    do {\n      uVar1 = *puVar3;\n      puVar3 = puVar3 + 1;\n      FUN_001f6d50(uVar1);\n    } while (*(undefined8 **)(param_1 + 0x250) != puVar3);\n  }\n  if ((*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0) && ((PTR_DAT_0043e6b0[0x24] & 8) != 0)) {\n    FUN_001a4ba0(*(undefined8 *)(param_1 + 0x3a8),param_1 + 0x248,param_1 + 0x278,param_1 + 0x290);\n    *(undefined1 *)(param_1 + 0x380) = 1;\n    return;\n  }\n  *(undefined1 *)(param_1 + 0x380) = 1;\n  return;\n}" primitive_type (function_declarator "FUN_001ac250(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  undefined8 uVar1;\n  long *plVar2;\n  undefined8 *puVar3;\n  \n  if ((*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0) && ((PTR_DAT_0043e6b0[0x24] & 8) != 0)) {\n    puVar3 = (undefined8 *)FUN_002d94a0(0x18);\n    *puVar3 = 0;\n    puVar3[1] = 0;\n    puVar3[2] = 0;\n    *(undefined8 **)(param_1 + 0x3a8) = puVar3;\n  }\n  plVar2 = (long *)FUN_002d94a0(0x38);\n  *(undefined1 (*) [16])(plVar2 + 4) = (undefined1  [16])0x0;\n  plVar2[6] = 0;\n  *plVar2 = (long)(plVar2 + 6);\n  plVar2[1] = 1;\n  plVar2[2] = 0;\n  plVar2[3] = 0;\n  *(undefined4 *)(plVar2 + 4) = 0x3f800000;\n  plVar2[5] = 0;\n  *(long **)(param_1 + 0x3a0) = plVar2;\n  FUN_001abfa0(param_1,plVar2);\n  puVar3 = *(undefined8 **)(param_1 + 0x248);\n  if (puVar3 != *(undefined8 **)(param_1 + 0x250)) {\n    do {\n      uVar1 = *puVar3;\n      puVar3 = puVar3 + 1;\n      FUN_001f6d50(uVar1);\n    } while (*(undefined8 **)(param_1 + 0x250) != puVar3);\n  }\n  if ((*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0) && ((PTR_DAT_0043e6b0[0x24] & 8) != 0)) {\n    FUN_001a4ba0(*(undefined8 *)(param_1 + 0x3a8),param_1 + 0x248,param_1 + 0x278,param_1 + 0x290);\n    *(undefined1 *)(param_1 + 0x380) = 1;\n    return;\n  }\n  *(undefined1 *)(param_1 + 0x380) = 1;\n  return;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (declaration "undefined8 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (if_statement "if ((*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0) && ((PTR_DAT_0043e6b0[0x24] & 8) != 0)) {\n    puVar3 = (undefined8 *)FUN_002d94a0(0x18);\n    *puVar3 = 0;\n    puVar3[1] = 0;\n    puVar3[2] = 0;\n    *(undefined8 **)(param_1 + 0x3a8) = puVar3;\n  }" if (parenthesized_expression "((*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0) && ((PTR_DAT_0043e6b0[0x24] & 8) != 0))" ( (binary_expression "(*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0) && ((PTR_DAT_0043e6b0[0x24] & 8) != 0)" (parenthesized_expression "(*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0)" ( (binary_expression "*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0" (pointer_expression "*(long *)(PTR_DAT_0043e6b0 + 0x10)" * (cast_expression "(long *)(PTR_DAT_0043e6b0 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0043e6b0 + 0x10)" ( (binary_expression "PTR_DAT_0043e6b0 + 0x10" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "((PTR_DAT_0043e6b0[0x24] & 8) != 0)" ( (binary_expression "(PTR_DAT_0043e6b0[0x24] & 8) != 0" (parenthesized_expression "(PTR_DAT_0043e6b0[0x24] & 8)" ( (binary_expression "PTR_DAT_0043e6b0[0x24] & 8" (subscript_expression "PTR_DAT_0043e6b0[0x24]" identifier [ number_literal ]) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    puVar3 = (undefined8 *)FUN_002d94a0(0x18);\n    *puVar3 = 0;\n    puVar3[1] = 0;\n    puVar3[2] = 0;\n    *(undefined8 **)(param_1 + 0x3a8) = puVar3;\n  }" { (expression_statement "puVar3 = (undefined8 *)FUN_002d94a0(0x18);" (assignment_expression "puVar3 = (undefined8 *)FUN_002d94a0(0x18)" identifier = (cast_expression "(undefined8 *)FUN_002d94a0(0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_002d94a0(0x18)" identifier (argument_list "(0x18)" ( number_literal ))))) ;) (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "puVar3[1] = 0;" (assignment_expression "puVar3[1] = 0" (subscript_expression "puVar3[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3[2] = 0;" (assignment_expression "puVar3[2] = 0" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined8 **)(param_1 + 0x3a8) = puVar3;" (assignment_expression "*(undefined8 **)(param_1 + 0x3a8) = puVar3" (pointer_expression "*(undefined8 **)(param_1 + 0x3a8)" * (cast_expression "(undefined8 **)(param_1 + 0x3a8)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x3a8)" ( (binary_expression "param_1 + 0x3a8" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "plVar2 = (long *)FUN_002d94a0(0x38);" (assignment_expression "plVar2 = (long *)FUN_002d94a0(0x38)" identifier = (cast_expression "(long *)FUN_002d94a0(0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_002d94a0(0x38)" identifier (argument_list "(0x38)" ( number_literal ))))) ;) (expression_statement "*(undefined1 (*) [16])(plVar2 + 4) = (undefined1  [16])0x0;" (assignment_expression "*(undefined1 (*) [16])(plVar2 + 4) = (undefined1  [16])0x0" (pointer_expression "*(undefined1 (*) [16])(plVar2 + 4)" * (cast_expression "(undefined1 (*) [16])(plVar2 + 4)" ( (type_descriptor "undefined1 (*) [16]" type_identifier (abstract_array_declarator "(*) [16]" (abstract_parenthesized_declarator "(*)" ( (abstract_pointer_declarator "*" *) )) [ number_literal ])) ) (parenthesized_expression "(plVar2 + 4)" ( (binary_expression "plVar2 + 4" identifier + number_literal) )))) = (cast_expression "(undefined1  [16])0x0" ( (type_descriptor "undefined1  [16]" type_identifier (abstract_array_declarator "[16]" [ number_literal ])) ) number_literal)) ;) (expression_statement "plVar2[6] = 0;" (assignment_expression "plVar2[6] = 0" (subscript_expression "plVar2[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*plVar2 = (long)(plVar2 + 6);" (assignment_expression "*plVar2 = (long)(plVar2 + 6)" (pointer_expression "*plVar2" * identifier) = (cast_expression "(long)(plVar2 + 6)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(plVar2 + 6)" ( (binary_expression "plVar2 + 6" identifier + number_literal) )))) ;) (expression_statement "plVar2[1] = 1;" (assignment_expression "plVar2[1] = 1" (subscript_expression "plVar2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "plVar2[2] = 0;" (assignment_expression "plVar2[2] = 0" (subscript_expression "plVar2[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "plVar2[3] = 0;" (assignment_expression "plVar2[3] = 0" (subscript_expression "plVar2[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined4 *)(plVar2 + 4) = 0x3f800000;" (assignment_expression "*(undefined4 *)(plVar2 + 4) = 0x3f800000" (pointer_expression "*(undefined4 *)(plVar2 + 4)" * (cast_expression "(undefined4 *)(plVar2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(plVar2 + 4)" ( (binary_expression "plVar2 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "plVar2[5] = 0;" (assignment_expression "plVar2[5] = 0" (subscript_expression "plVar2[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(long **)(param_1 + 0x3a0) = plVar2;" (assignment_expression "*(long **)(param_1 + 0x3a0) = plVar2" (pointer_expression "*(long **)(param_1 + 0x3a0)" * (cast_expression "(long **)(param_1 + 0x3a0)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x3a0)" ( (binary_expression "param_1 + 0x3a0" identifier + number_literal) )))) = identifier) ;) (expression_statement "FUN_001abfa0(param_1,plVar2);" (call_expression "FUN_001abfa0(param_1,plVar2)" identifier (argument_list "(param_1,plVar2)" ( identifier , identifier ))) ;) (expression_statement "puVar3 = *(undefined8 **)(param_1 + 0x248);" (assignment_expression "puVar3 = *(undefined8 **)(param_1 + 0x248)" identifier = (pointer_expression "*(undefined8 **)(param_1 + 0x248)" * (cast_expression "(undefined8 **)(param_1 + 0x248)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x248)" ( (binary_expression "param_1 + 0x248" identifier + number_literal) ))))) ;) (if_statement "if (puVar3 != *(undefined8 **)(param_1 + 0x250)) {\n    do {\n      uVar1 = *puVar3;\n      puVar3 = puVar3 + 1;\n      FUN_001f6d50(uVar1);\n    } while (*(undefined8 **)(param_1 + 0x250) != puVar3);\n  }" if (parenthesized_expression "(puVar3 != *(undefined8 **)(param_1 + 0x250))" ( (binary_expression "puVar3 != *(undefined8 **)(param_1 + 0x250)" identifier != (pointer_expression "*(undefined8 **)(param_1 + 0x250)" * (cast_expression "(undefined8 **)(param_1 + 0x250)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x250)" ( (binary_expression "param_1 + 0x250" identifier + number_literal) ))))) )) (compound_statement "{\n    do {\n      uVar1 = *puVar3;\n      puVar3 = puVar3 + 1;\n      FUN_001f6d50(uVar1);\n    } while (*(undefined8 **)(param_1 + 0x250) != puVar3);\n  }" { (do_statement "do {\n      uVar1 = *puVar3;\n      puVar3 = puVar3 + 1;\n      FUN_001f6d50(uVar1);\n    } while (*(undefined8 **)(param_1 + 0x250) != puVar3);" do (compound_statement "{\n      uVar1 = *puVar3;\n      puVar3 = puVar3 + 1;\n      FUN_001f6d50(uVar1);\n    }" { (expression_statement "uVar1 = *puVar3;" (assignment_expression "uVar1 = *puVar3" identifier = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) (expression_statement "FUN_001f6d50(uVar1);" (call_expression "FUN_001f6d50(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) }) while (parenthesized_expression "(*(undefined8 **)(param_1 + 0x250) != puVar3)" ( (binary_expression "*(undefined8 **)(param_1 + 0x250) != puVar3" (pointer_expression "*(undefined8 **)(param_1 + 0x250)" * (cast_expression "(undefined8 **)(param_1 + 0x250)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x250)" ( (binary_expression "param_1 + 0x250" identifier + number_literal) )))) != identifier) )) ;) })) (if_statement "if ((*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0) && ((PTR_DAT_0043e6b0[0x24] & 8) != 0)) {\n    FUN_001a4ba0(*(undefined8 *)(param_1 + 0x3a8),param_1 + 0x248,param_1 + 0x278,param_1 + 0x290);\n    *(undefined1 *)(param_1 + 0x380) = 1;\n    return;\n  }" if (parenthesized_expression "((*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0) && ((PTR_DAT_0043e6b0[0x24] & 8) != 0))" ( (binary_expression "(*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0) && ((PTR_DAT_0043e6b0[0x24] & 8) != 0)" (parenthesized_expression "(*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0)" ( (binary_expression "*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0" (pointer_expression "*(long *)(PTR_DAT_0043e6b0 + 0x10)" * (cast_expression "(long *)(PTR_DAT_0043e6b0 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0043e6b0 + 0x10)" ( (binary_expression "PTR_DAT_0043e6b0 + 0x10" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "((PTR_DAT_0043e6b0[0x24] & 8) != 0)" ( (binary_expression "(PTR_DAT_0043e6b0[0x24] & 8) != 0" (parenthesized_expression "(PTR_DAT_0043e6b0[0x24] & 8)" ( (binary_expression "PTR_DAT_0043e6b0[0x24] & 8" (subscript_expression "PTR_DAT_0043e6b0[0x24]" identifier [ number_literal ]) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    FUN_001a4ba0(*(undefined8 *)(param_1 + 0x3a8),param_1 + 0x248,param_1 + 0x278,param_1 + 0x290);\n    *(undefined1 *)(param_1 + 0x380) = 1;\n    return;\n  }" { (expression_statement "FUN_001a4ba0(*(undefined8 *)(param_1 + 0x3a8),param_1 + 0x248,param_1 + 0x278,param_1 + 0x290);" (call_expression "FUN_001a4ba0(*(undefined8 *)(param_1 + 0x3a8),param_1 + 0x248,param_1 + 0x278,param_1 + 0x290)" identifier (argument_list "(*(undefined8 *)(param_1 + 0x3a8),param_1 + 0x248,param_1 + 0x278,param_1 + 0x290)" ( (pointer_expression "*(undefined8 *)(param_1 + 0x3a8)" * (cast_expression "(undefined8 *)(param_1 + 0x3a8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3a8)" ( (binary_expression "param_1 + 0x3a8" identifier + number_literal) )))) , (binary_expression "param_1 + 0x248" identifier + number_literal) , (binary_expression "param_1 + 0x278" identifier + number_literal) , (binary_expression "param_1 + 0x290" identifier + number_literal) ))) ;) (expression_statement "*(undefined1 *)(param_1 + 0x380) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x380) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x380)" * (cast_expression "(undefined1 *)(param_1 + 0x380)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x380)" ( (binary_expression "param_1 + 0x380" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "*(undefined1 *)(param_1 + 0x380) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x380) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x380)" * (cast_expression "(undefined1 *)(param_1 + 0x380)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x380)" ( (binary_expression "param_1 + 0x380" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: void prepare_for_relaxation(Layout * this) */\n\nvoid __thiscall gold::Layout::prepare_for_relaxation(Layout *this)\n\n{\n  Output_section *this_00;\n  Segment_states *segment_states;\n  Relaxation_debug_check *pRVar1;\n  pointer ppOVar2;\n  \n  if ((parameters->options_ != (General_options *)0x0) && ((parameters->debug_ & 8) != 0)) {\n    pRVar1 = (Relaxation_debug_check *)operator_new(0x18);\n    (pRVar1->section_infos_).\n    super__Vector_base<gold::Layout::Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_start = (pointer)0x0;\n    (pRVar1->section_infos_).\n    super__Vector_base<gold::Layout::Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_finish = (pointer)0x0;\n    (pRVar1->section_infos_).\n    super__Vector_base<gold::Layout::Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_end_of_storage = (pointer)0x0;\n    this->relaxation_debug_check_ = pRVar1;\n  }\n  segment_states = (Segment_states *)operator_new(0x38);\n  (segment_states->_M_h)._M_rehash_policy._M_max_load_factor = 0.0;\n  *(undefined4 *)&(segment_states->_M_h)._M_rehash_policy.field_0x4 = 0;\n  (segment_states->_M_h)._M_rehash_policy._M_next_resize = 0;\n  (segment_states->_M_h)._M_single_bucket = (__bucket_type)0x0;\n  (segment_states->_M_h)._M_buckets = &(segment_states->_M_h)._M_single_bucket;\n  (segment_states->_M_h)._M_bucket_count = 1;\n  (segment_states->_M_h)._M_before_begin._M_nxt = (_Hash_node_base *)0x0;\n  (segment_states->_M_h)._M_element_count = 0;\n  (segment_states->_M_h)._M_rehash_policy._M_max_load_factor = 1.0;\n  (segment_states->_M_h)._M_rehash_policy._M_next_resize = 0;\n  this->segment_states_ = segment_states;\n  save_segments(this,segment_states);\n  ppOVar2 = (this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_start;\n  if (ppOVar2 !=\n      (this->section_list_).\n      super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl.\n      _M_finish) {\n    do {\n      this_00 = *ppOVar2;\n      ppOVar2 = ppOVar2 + 1;\n      Output_section::save_states(this_00);\n    } while ((this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_finish != ppOVar2);\n  }\n  if ((parameters->options_ != (General_options *)0x0) && ((parameters->debug_ & 8) != 0)) {\n    Relaxation_debug_check::check_output_data_for_reset_values\n              (this->relaxation_debug_check_,&this->section_list_,&this->special_output_list_,\n               &this->relax_output_list_);\n    this->record_output_section_data_from_script_ = true;\n    return;\n  }\n  this->record_output_section_data_from_script_ = true;\n  return;\n}\n\n" comment comment (function_definition "void __thiscall gold::Layout::prepare_for_relaxation(Layout *this)\n\n{\n  Output_section *this_00;\n  Segment_states *segment_states;\n  Relaxation_debug_check *pRVar1;\n  pointer ppOVar2;\n  \n  if ((parameters->options_ != (General_options *)0x0) && ((parameters->debug_ & 8) != 0)) {\n    pRVar1 = (Relaxation_debug_check *)operator_new(0x18);\n    (pRVar1->section_infos_).\n    super__Vector_base<gold::Layout::Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_start = (pointer)0x0;\n    (pRVar1->section_infos_).\n    super__Vector_base<gold::Layout::Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_finish = (pointer)0x0;\n    (pRVar1->section_infos_).\n    super__Vector_base<gold::Layout::Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_end_of_storage = (pointer)0x0;\n    this->relaxation_debug_check_ = pRVar1;\n  }\n  segment_states = (Segment_states *)operator_new(0x38);\n  (segment_states->_M_h)._M_rehash_policy._M_max_load_factor = 0.0;\n  *(undefined4 *)&(segment_states->_M_h)._M_rehash_policy.field_0x4 = 0;\n  (segment_states->_M_h)._M_rehash_policy._M_next_resize = 0;\n  (segment_states->_M_h)._M_single_bucket = (__bucket_type)0x0;\n  (segment_states->_M_h)._M_buckets = &(segment_states->_M_h)._M_single_bucket;\n  (segment_states->_M_h)._M_bucket_count = 1;\n  (segment_states->_M_h)._M_before_begin._M_nxt = (_Hash_node_base *)0x0;\n  (segment_states->_M_h)._M_element_count = 0;\n  (segment_states->_M_h)._M_rehash_policy._M_max_load_factor = 1.0;\n  (segment_states->_M_h)._M_rehash_policy._M_next_resize = 0;\n  this->segment_states_ = segment_states;\n  save_segments(this,segment_states);\n  ppOVar2 = (this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_start;\n  if (ppOVar2 !=\n      (this->section_list_).\n      super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl.\n      _M_finish) {\n    do {\n      this_00 = *ppOVar2;\n      ppOVar2 = ppOVar2 + 1;\n      Output_section::save_states(this_00);\n    } while ((this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_finish != ppOVar2);\n  }\n  if ((parameters->options_ != (General_options *)0x0) && ((parameters->debug_ & 8) != 0)) {\n    Relaxation_debug_check::check_output_data_for_reset_values\n              (this->relaxation_debug_check_,&this->section_list_,&this->special_output_list_,\n               &this->relax_output_list_);\n    this->record_output_section_data_from_script_ = true;\n    return;\n  }\n  this->record_output_section_data_from_script_ = true;\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Layout::" identifier : : identifier : :) (function_declarator "prepare_for_relaxation(Layout *this)" identifier (parameter_list "(Layout *this)" ( (parameter_declaration "Layout *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  Output_section *this_00;\n  Segment_states *segment_states;\n  Relaxation_debug_check *pRVar1;\n  pointer ppOVar2;\n  \n  if ((parameters->options_ != (General_options *)0x0) && ((parameters->debug_ & 8) != 0)) {\n    pRVar1 = (Relaxation_debug_check *)operator_new(0x18);\n    (pRVar1->section_infos_).\n    super__Vector_base<gold::Layout::Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_start = (pointer)0x0;\n    (pRVar1->section_infos_).\n    super__Vector_base<gold::Layout::Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_finish = (pointer)0x0;\n    (pRVar1->section_infos_).\n    super__Vector_base<gold::Layout::Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_end_of_storage = (pointer)0x0;\n    this->relaxation_debug_check_ = pRVar1;\n  }\n  segment_states = (Segment_states *)operator_new(0x38);\n  (segment_states->_M_h)._M_rehash_policy._M_max_load_factor = 0.0;\n  *(undefined4 *)&(segment_states->_M_h)._M_rehash_policy.field_0x4 = 0;\n  (segment_states->_M_h)._M_rehash_policy._M_next_resize = 0;\n  (segment_states->_M_h)._M_single_bucket = (__bucket_type)0x0;\n  (segment_states->_M_h)._M_buckets = &(segment_states->_M_h)._M_single_bucket;\n  (segment_states->_M_h)._M_bucket_count = 1;\n  (segment_states->_M_h)._M_before_begin._M_nxt = (_Hash_node_base *)0x0;\n  (segment_states->_M_h)._M_element_count = 0;\n  (segment_states->_M_h)._M_rehash_policy._M_max_load_factor = 1.0;\n  (segment_states->_M_h)._M_rehash_policy._M_next_resize = 0;\n  this->segment_states_ = segment_states;\n  save_segments(this,segment_states);\n  ppOVar2 = (this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_start;\n  if (ppOVar2 !=\n      (this->section_list_).\n      super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl.\n      _M_finish) {\n    do {\n      this_00 = *ppOVar2;\n      ppOVar2 = ppOVar2 + 1;\n      Output_section::save_states(this_00);\n    } while ((this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_finish != ppOVar2);\n  }\n  if ((parameters->options_ != (General_options *)0x0) && ((parameters->debug_ & 8) != 0)) {\n    Relaxation_debug_check::check_output_data_for_reset_values\n              (this->relaxation_debug_check_,&this->section_list_,&this->special_output_list_,\n               &this->relax_output_list_);\n    this->record_output_section_data_from_script_ = true;\n    return;\n  }\n  this->record_output_section_data_from_script_ = true;\n  return;\n}" { (declaration "Output_section *this_00;" type_identifier (pointer_declarator "*this_00" * identifier) ;) (declaration "Segment_states *segment_states;" type_identifier (pointer_declarator "*segment_states" * identifier) ;) (declaration "Relaxation_debug_check *pRVar1;" type_identifier (pointer_declarator "*pRVar1" * identifier) ;) (declaration "pointer ppOVar2;" type_identifier identifier ;) (if_statement "if ((parameters->options_ != (General_options *)0x0) && ((parameters->debug_ & 8) != 0)) {\n    pRVar1 = (Relaxation_debug_check *)operator_new(0x18);\n    (pRVar1->section_infos_).\n    super__Vector_base<gold::Layout::Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_start = (pointer)0x0;\n    (pRVar1->section_infos_).\n    super__Vector_base<gold::Layout::Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_finish = (pointer)0x0;\n    (pRVar1->section_infos_).\n    super__Vector_base<gold::Layout::Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_end_of_storage = (pointer)0x0;\n    this->relaxation_debug_check_ = pRVar1;\n  }" if (parenthesized_expression "((parameters->options_ != (General_options *)0x0) && ((parameters->debug_ & 8) != 0))" ( (binary_expression "(parameters->options_ != (General_options *)0x0) && ((parameters->debug_ & 8) != 0)" (parenthesized_expression "(parameters->options_ != (General_options *)0x0)" ( (binary_expression "parameters->options_ != (General_options *)0x0" (field_expression "parameters->options_" identifier -> field_identifier) != (cast_expression "(General_options *)0x0" ( (type_descriptor "General_options *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "((parameters->debug_ & 8) != 0)" ( (binary_expression "(parameters->debug_ & 8) != 0" (parenthesized_expression "(parameters->debug_ & 8)" ( (binary_expression "parameters->debug_ & 8" (field_expression "parameters->debug_" identifier -> field_identifier) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    pRVar1 = (Relaxation_debug_check *)operator_new(0x18);\n    (pRVar1->section_infos_).\n    super__Vector_base<gold::Layout::Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_start = (pointer)0x0;\n    (pRVar1->section_infos_).\n    super__Vector_base<gold::Layout::Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_finish = (pointer)0x0;\n    (pRVar1->section_infos_).\n    super__Vector_base<gold::Layout::Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_end_of_storage = (pointer)0x0;\n    this->relaxation_debug_check_ = pRVar1;\n  }" { (expression_statement "pRVar1 = (Relaxation_debug_check *)operator_new(0x18);" (assignment_expression "pRVar1 = (Relaxation_debug_check *)operator_new(0x18)" identifier = (cast_expression "(Relaxation_debug_check *)operator_new(0x18)" ( (type_descriptor "Relaxation_debug_check *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new(0x18)" identifier (argument_list "(0x18)" ( number_literal ))))) ;) (ERROR "(pRVar1->section_infos_).\n    super__Vector_base<gold::" (binary_expression "(pRVar1->section_infos_).\n    super__Vector_base<gold" (field_expression "(pRVar1->section_infos_).\n    super__Vector_base" (parenthesized_expression "(pRVar1->section_infos_)" ( (field_expression "pRVar1->section_infos_" identifier -> field_identifier) )) . field_identifier) < identifier) : :) (labeled_statement "Layout::Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_start = (pointer)0x0;" statement_identifier : (ERROR ":" :) (labeled_statement "Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_start = (pointer)0x0;" statement_identifier (ERROR "::Section_info,_std::allocator<gold:" : : (comma_expression "Section_info,_std" identifier , identifier) : : (binary_expression "allocator<gold" identifier < identifier) :) : (labeled_statement "Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_start = (pointer)0x0;" statement_identifier : (ERROR ":" :) (labeled_statement "Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_start = (pointer)0x0;" statement_identifier : (ERROR ":" :) (expression_statement "Section_info>_>\n    ._M_impl._M_start = (pointer)0x0;" (assignment_expression "Section_info>_>\n    ._M_impl._M_start = (pointer)0x0" (field_expression "Section_info>_>\n    ._M_impl._M_start" (field_expression "Section_info>_>\n    ._M_impl" (binary_expression "Section_info>_" identifier > identifier) (ERROR ">" >) . field_identifier) . field_identifier) = (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) ;))))) (ERROR "(pRVar1->section_infos_).\n    super__Vector_base<gold::" (binary_expression "(pRVar1->section_infos_).\n    super__Vector_base<gold" (field_expression "(pRVar1->section_infos_).\n    super__Vector_base" (parenthesized_expression "(pRVar1->section_infos_)" ( (field_expression "pRVar1->section_infos_" identifier -> field_identifier) )) . field_identifier) < identifier) : :) (labeled_statement "Layout::Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_finish = (pointer)0x0;" statement_identifier : (ERROR ":" :) (labeled_statement "Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_finish = (pointer)0x0;" statement_identifier (ERROR "::Section_info,_std::allocator<gold:" : : (comma_expression "Section_info,_std" identifier , identifier) : : (binary_expression "allocator<gold" identifier < identifier) :) : (labeled_statement "Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_finish = (pointer)0x0;" statement_identifier : (ERROR ":" :) (labeled_statement "Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_finish = (pointer)0x0;" statement_identifier : (ERROR ":" :) (expression_statement "Section_info>_>\n    ._M_impl._M_finish = (pointer)0x0;" (assignment_expression "Section_info>_>\n    ._M_impl._M_finish = (pointer)0x0" (field_expression "Section_info>_>\n    ._M_impl._M_finish" (field_expression "Section_info>_>\n    ._M_impl" (binary_expression "Section_info>_" identifier > identifier) (ERROR ">" >) . field_identifier) . field_identifier) = (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) ;))))) (ERROR "(pRVar1->section_infos_).\n    super__Vector_base<gold::" (binary_expression "(pRVar1->section_infos_).\n    super__Vector_base<gold" (field_expression "(pRVar1->section_infos_).\n    super__Vector_base" (parenthesized_expression "(pRVar1->section_infos_)" ( (field_expression "pRVar1->section_infos_" identifier -> field_identifier) )) . field_identifier) < identifier) : :) (labeled_statement "Layout::Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_end_of_storage = (pointer)0x0;" statement_identifier : (ERROR ":" :) (labeled_statement "Relaxation_debug_check::Section_info,_std::allocator<gold::Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_end_of_storage = (pointer)0x0;" statement_identifier (ERROR "::Section_info,_std::allocator<gold:" : : (comma_expression "Section_info,_std" identifier , identifier) : : (binary_expression "allocator<gold" identifier < identifier) :) : (labeled_statement "Layout::Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_end_of_storage = (pointer)0x0;" statement_identifier : (ERROR ":" :) (labeled_statement "Relaxation_debug_check::Section_info>_>\n    ._M_impl._M_end_of_storage = (pointer)0x0;" statement_identifier : (ERROR ":" :) (expression_statement "Section_info>_>\n    ._M_impl._M_end_of_storage = (pointer)0x0;" (assignment_expression "Section_info>_>\n    ._M_impl._M_end_of_storage = (pointer)0x0" (field_expression "Section_info>_>\n    ._M_impl._M_end_of_storage" (field_expression "Section_info>_>\n    ._M_impl" (binary_expression "Section_info>_" identifier > identifier) (ERROR ">" >) . field_identifier) . field_identifier) = (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) ;))))) (expression_statement "this->relaxation_debug_check_ = pRVar1;" (assignment_expression "this->relaxation_debug_check_ = pRVar1" (field_expression "this->relaxation_debug_check_" identifier -> field_identifier) = identifier) ;) })) (expression_statement "segment_states = (Segment_states *)operator_new(0x38);" (assignment_expression "segment_states = (Segment_states *)operator_new(0x38)" identifier = (cast_expression "(Segment_states *)operator_new(0x38)" ( (type_descriptor "Segment_states *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new(0x38)" identifier (argument_list "(0x38)" ( number_literal ))))) ;) (expression_statement "(segment_states->_M_h)._M_rehash_policy._M_max_load_factor = 0.0;" (assignment_expression "(segment_states->_M_h)._M_rehash_policy._M_max_load_factor = 0.0" (field_expression "(segment_states->_M_h)._M_rehash_policy._M_max_load_factor" (field_expression "(segment_states->_M_h)._M_rehash_policy" (parenthesized_expression "(segment_states->_M_h)" ( (field_expression "segment_states->_M_h" identifier -> field_identifier) )) . field_identifier) . field_identifier) = number_literal) ;) (expression_statement "*(undefined4 *)&(segment_states->_M_h)._M_rehash_policy.field_0x4 = 0;" (assignment_expression "*(undefined4 *)&(segment_states->_M_h)._M_rehash_policy.field_0x4 = 0" (pointer_expression "*(undefined4 *)&(segment_states->_M_h)._M_rehash_policy.field_0x4" * (cast_expression "(undefined4 *)&(segment_states->_M_h)._M_rehash_policy.field_0x4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(segment_states->_M_h)._M_rehash_policy.field_0x4" & (field_expression "(segment_states->_M_h)._M_rehash_policy.field_0x4" (field_expression "(segment_states->_M_h)._M_rehash_policy" (parenthesized_expression "(segment_states->_M_h)" ( (field_expression "segment_states->_M_h" identifier -> field_identifier) )) . field_identifier) . field_identifier)))) = number_literal) ;) (expression_statement "(segment_states->_M_h)._M_rehash_policy._M_next_resize = 0;" (assignment_expression "(segment_states->_M_h)._M_rehash_policy._M_next_resize = 0" (field_expression "(segment_states->_M_h)._M_rehash_policy._M_next_resize" (field_expression "(segment_states->_M_h)._M_rehash_policy" (parenthesized_expression "(segment_states->_M_h)" ( (field_expression "segment_states->_M_h" identifier -> field_identifier) )) . field_identifier) . field_identifier) = number_literal) ;) (expression_statement "(segment_states->_M_h)._M_single_bucket = (__bucket_type)0x0;" (assignment_expression "(segment_states->_M_h)._M_single_bucket = (__bucket_type)0x0" (field_expression "(segment_states->_M_h)._M_single_bucket" (parenthesized_expression "(segment_states->_M_h)" ( (field_expression "segment_states->_M_h" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(__bucket_type)0x0" ( (type_descriptor "__bucket_type" type_identifier) ) number_literal)) ;) (expression_statement "(segment_states->_M_h)._M_buckets = &(segment_states->_M_h)._M_single_bucket;" (assignment_expression "(segment_states->_M_h)._M_buckets = &(segment_states->_M_h)._M_single_bucket" (field_expression "(segment_states->_M_h)._M_buckets" (parenthesized_expression "(segment_states->_M_h)" ( (field_expression "segment_states->_M_h" identifier -> field_identifier) )) . field_identifier) = (pointer_expression "&(segment_states->_M_h)._M_single_bucket" & (field_expression "(segment_states->_M_h)._M_single_bucket" (parenthesized_expression "(segment_states->_M_h)" ( (field_expression "segment_states->_M_h" identifier -> field_identifier) )) . field_identifier))) ;) (expression_statement "(segment_states->_M_h)._M_bucket_count = 1;" (assignment_expression "(segment_states->_M_h)._M_bucket_count = 1" (field_expression "(segment_states->_M_h)._M_bucket_count" (parenthesized_expression "(segment_states->_M_h)" ( (field_expression "segment_states->_M_h" identifier -> field_identifier) )) . field_identifier) = number_literal) ;) (expression_statement "(segment_states->_M_h)._M_before_begin._M_nxt = (_Hash_node_base *)0x0;" (assignment_expression "(segment_states->_M_h)._M_before_begin._M_nxt = (_Hash_node_base *)0x0" (field_expression "(segment_states->_M_h)._M_before_begin._M_nxt" (field_expression "(segment_states->_M_h)._M_before_begin" (parenthesized_expression "(segment_states->_M_h)" ( (field_expression "segment_states->_M_h" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (cast_expression "(_Hash_node_base *)0x0" ( (type_descriptor "_Hash_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(segment_states->_M_h)._M_element_count = 0;" (assignment_expression "(segment_states->_M_h)._M_element_count = 0" (field_expression "(segment_states->_M_h)._M_element_count" (parenthesized_expression "(segment_states->_M_h)" ( (field_expression "segment_states->_M_h" identifier -> field_identifier) )) . field_identifier) = number_literal) ;) (expression_statement "(segment_states->_M_h)._M_rehash_policy._M_max_load_factor = 1.0;" (assignment_expression "(segment_states->_M_h)._M_rehash_policy._M_max_load_factor = 1.0" (field_expression "(segment_states->_M_h)._M_rehash_policy._M_max_load_factor" (field_expression "(segment_states->_M_h)._M_rehash_policy" (parenthesized_expression "(segment_states->_M_h)" ( (field_expression "segment_states->_M_h" identifier -> field_identifier) )) . field_identifier) . field_identifier) = number_literal) ;) (expression_statement "(segment_states->_M_h)._M_rehash_policy._M_next_resize = 0;" (assignment_expression "(segment_states->_M_h)._M_rehash_policy._M_next_resize = 0" (field_expression "(segment_states->_M_h)._M_rehash_policy._M_next_resize" (field_expression "(segment_states->_M_h)._M_rehash_policy" (parenthesized_expression "(segment_states->_M_h)" ( (field_expression "segment_states->_M_h" identifier -> field_identifier) )) . field_identifier) . field_identifier) = number_literal) ;) (expression_statement "this->segment_states_ = segment_states;" (assignment_expression "this->segment_states_ = segment_states" (field_expression "this->segment_states_" identifier -> field_identifier) = identifier) ;) (expression_statement "save_segments(this,segment_states);" (call_expression "save_segments(this,segment_states)" identifier (argument_list "(this,segment_states)" ( identifier , identifier ))) ;) (expression_statement "ppOVar2 = (this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_start;" (field_expression "ppOVar2 = (this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_start" (field_expression "ppOVar2 = (this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl" (binary_expression "ppOVar2 = (this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_" (binary_expression "ppOVar2 = (this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold" (binary_expression "ppOVar2 = (this->section_list_).\n            super__Vector_base<gold::Output_section*,_std" (assignment_expression "ppOVar2 = (this->section_list_).\n            super__Vector_base<gold" identifier = (binary_expression "(this->section_list_).\n            super__Vector_base<gold" (field_expression "(this->section_list_).\n            super__Vector_base" (parenthesized_expression "(this->section_list_)" ( (field_expression "this->section_list_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Output_section" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_section" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (if_statement "if (ppOVar2 !=\n      (this->section_list_).\n      super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl.\n      _M_finish) {\n    do {\n      this_00 = *ppOVar2;\n      ppOVar2 = ppOVar2 + 1;\n      Output_section::save_states(this_00);\n    } while ((this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_finish != ppOVar2);\n  }" if (parenthesized_expression "(ppOVar2 !=\n      (this->section_list_).\n      super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl.\n      _M_finish)" ( (field_expression "ppOVar2 !=\n      (this->section_list_).\n      super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl.\n      _M_finish" (field_expression "ppOVar2 !=\n      (this->section_list_).\n      super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl" (binary_expression "ppOVar2 !=\n      (this->section_list_).\n      super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_" (binary_expression "ppOVar2 !=\n      (this->section_list_).\n      super__Vector_base<gold::Output_section*,_std::allocator<gold" (binary_expression "ppOVar2 !=\n      (this->section_list_).\n      super__Vector_base<gold::Output_section*,_std" (binary_expression "ppOVar2 !=\n      (this->section_list_).\n      super__Vector_base<gold" identifier != (binary_expression "(this->section_list_).\n      super__Vector_base<gold" (field_expression "(this->section_list_).\n      super__Vector_base" (parenthesized_expression "(this->section_list_)" ( (field_expression "this->section_list_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Output_section" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_section" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) )) (compound_statement "{\n    do {\n      this_00 = *ppOVar2;\n      ppOVar2 = ppOVar2 + 1;\n      Output_section::save_states(this_00);\n    } while ((this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_finish != ppOVar2);\n  }" { (do_statement "do {\n      this_00 = *ppOVar2;\n      ppOVar2 = ppOVar2 + 1;\n      Output_section::save_states(this_00);\n    } while ((this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_finish != ppOVar2);" do (compound_statement "{\n      this_00 = *ppOVar2;\n      ppOVar2 = ppOVar2 + 1;\n      Output_section::save_states(this_00);\n    }" { (expression_statement "this_00 = *ppOVar2;" (assignment_expression "this_00 = *ppOVar2" identifier = (pointer_expression "*ppOVar2" * identifier)) ;) (expression_statement "ppOVar2 = ppOVar2 + 1;" (assignment_expression "ppOVar2 = ppOVar2 + 1" identifier = (binary_expression "ppOVar2 + 1" identifier + number_literal)) ;) (labeled_statement "Output_section::save_states(this_00);" statement_identifier : (ERROR ":" :) (expression_statement "save_states(this_00);" (call_expression "save_states(this_00)" identifier (argument_list "(this_00)" ( identifier ))) ;)) }) while (parenthesized_expression "((this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_finish != ppOVar2)" ( (binary_expression "(this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_finish != ppOVar2" (field_expression "(this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_finish" (field_expression "(this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl" (binary_expression "(this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_" (binary_expression "(this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold" (binary_expression "(this->section_list_).\n             super__Vector_base<gold::Output_section*,_std" (binary_expression "(this->section_list_).\n             super__Vector_base<gold" (field_expression "(this->section_list_).\n             super__Vector_base" (parenthesized_expression "(this->section_list_)" ( (field_expression "this->section_list_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::Output_section" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_section" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) != identifier) )) ;) })) (if_statement "if ((parameters->options_ != (General_options *)0x0) && ((parameters->debug_ & 8) != 0)) {\n    Relaxation_debug_check::check_output_data_for_reset_values\n              (this->relaxation_debug_check_,&this->section_list_,&this->special_output_list_,\n               &this->relax_output_list_);\n    this->record_output_section_data_from_script_ = true;\n    return;\n  }" if (parenthesized_expression "((parameters->options_ != (General_options *)0x0) && ((parameters->debug_ & 8) != 0))" ( (binary_expression "(parameters->options_ != (General_options *)0x0) && ((parameters->debug_ & 8) != 0)" (parenthesized_expression "(parameters->options_ != (General_options *)0x0)" ( (binary_expression "parameters->options_ != (General_options *)0x0" (field_expression "parameters->options_" identifier -> field_identifier) != (cast_expression "(General_options *)0x0" ( (type_descriptor "General_options *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "((parameters->debug_ & 8) != 0)" ( (binary_expression "(parameters->debug_ & 8) != 0" (parenthesized_expression "(parameters->debug_ & 8)" ( (binary_expression "parameters->debug_ & 8" (field_expression "parameters->debug_" identifier -> field_identifier) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    Relaxation_debug_check::check_output_data_for_reset_values\n              (this->relaxation_debug_check_,&this->section_list_,&this->special_output_list_,\n               &this->relax_output_list_);\n    this->record_output_section_data_from_script_ = true;\n    return;\n  }" { (labeled_statement "Relaxation_debug_check::check_output_data_for_reset_values\n              (this->relaxation_debug_check_,&this->section_list_,&this->special_output_list_,\n               &this->relax_output_list_);" statement_identifier : (ERROR ":" :) (expression_statement "check_output_data_for_reset_values\n              (this->relaxation_debug_check_,&this->section_list_,&this->special_output_list_,\n               &this->relax_output_list_);" (call_expression "check_output_data_for_reset_values\n              (this->relaxation_debug_check_,&this->section_list_,&this->special_output_list_,\n               &this->relax_output_list_)" identifier (argument_list "(this->relaxation_debug_check_,&this->section_list_,&this->special_output_list_,\n               &this->relax_output_list_)" ( (field_expression "this->relaxation_debug_check_" identifier -> field_identifier) , (pointer_expression "&this->section_list_" & (field_expression "this->section_list_" identifier -> field_identifier)) , (pointer_expression "&this->special_output_list_" & (field_expression "this->special_output_list_" identifier -> field_identifier)) , (pointer_expression "&this->relax_output_list_" & (field_expression "this->relax_output_list_" identifier -> field_identifier)) ))) ;)) (expression_statement "this->record_output_section_data_from_script_ = true;" (assignment_expression "this->record_output_section_data_from_script_ = true" (field_expression "this->record_output_section_data_from_script_" identifier -> field_identifier) = true) ;) (return_statement "return;" return ;) })) (expression_statement "this->record_output_section_data_from_script_ = true;" (assignment_expression "this->record_output_section_data_from_script_ = true" (field_expression "this->record_output_section_data_from_script_" identifier -> field_identifier) = true) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001ac250(long param_1)\n\n{\n  undefined8 uVar1;\n  long *plVar2;\n  undefined8 *puVar3;\n  \n  if ((*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0) && ((PTR_DAT_0043e6b0[0x24] & 8) != 0)) {\n    puVar3 = (undefined8 *)FUN_002d94a0(0x18);\n    *puVar3 = 0;\n    puVar3[1] = 0;\n    puVar3[2] = 0;\n    *(undefined8 **)(param_1 + 0x3a8) = puVar3;\n  }\n  plVar2 = (long *)FUN_002d94a0(0x38);\n  *(undefined1 (*) [16])(plVar2 + 4) = (undefined1  [16])0x0;\n  plVar2[6] = 0;\n  *plVar2 = (long)(plVar2 + 6);\n  plVar2[1] = 1;\n  plVar2[2] = 0;\n  plVar2[3] = 0;\n  *(undefined4 *)(plVar2 + 4) = 0x3f800000;\n  plVar2[5] = 0;\n  *(long **)(param_1 + 0x3a0) = plVar2;\n  FUN_001abfa0(param_1,plVar2);\n  puVar3 = *(undefined8 **)(param_1 + 0x248);\n  if (puVar3 != *(undefined8 **)(param_1 + 0x250)) {\n    do {\n      uVar1 = *puVar3;\n      puVar3 = puVar3 + 1;\n      FUN_001f6d50(uVar1);\n    } while (*(undefined8 **)(param_1 + 0x250) != puVar3);\n  }\n  if ((*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0) && ((PTR_DAT_0043e6b0[0x24] & 8) != 0)) {\n    FUN_001a4ba0(*(undefined8 *)(param_1 + 0x3a8),param_1 + 0x248,param_1 + 0x278,param_1 + 0x290);\n    *(undefined1 *)(param_1 + 0x380) = 1;\n    return;\n  }\n  *(undefined1 *)(param_1 + 0x380) = 1;\n  return;\n}\n\n" (function_definition "void FUN_001ac250(long param_1)\n\n{\n  undefined8 uVar1;\n  long *plVar2;\n  undefined8 *puVar3;\n  \n  if ((*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0) && ((PTR_DAT_0043e6b0[0x24] & 8) != 0)) {\n    puVar3 = (undefined8 *)FUN_002d94a0(0x18);\n    *puVar3 = 0;\n    puVar3[1] = 0;\n    puVar3[2] = 0;\n    *(undefined8 **)(param_1 + 0x3a8) = puVar3;\n  }\n  plVar2 = (long *)FUN_002d94a0(0x38);\n  *(undefined1 (*) [16])(plVar2 + 4) = (undefined1  [16])0x0;\n  plVar2[6] = 0;\n  *plVar2 = (long)(plVar2 + 6);\n  plVar2[1] = 1;\n  plVar2[2] = 0;\n  plVar2[3] = 0;\n  *(undefined4 *)(plVar2 + 4) = 0x3f800000;\n  plVar2[5] = 0;\n  *(long **)(param_1 + 0x3a0) = plVar2;\n  FUN_001abfa0(param_1,plVar2);\n  puVar3 = *(undefined8 **)(param_1 + 0x248);\n  if (puVar3 != *(undefined8 **)(param_1 + 0x250)) {\n    do {\n      uVar1 = *puVar3;\n      puVar3 = puVar3 + 1;\n      FUN_001f6d50(uVar1);\n    } while (*(undefined8 **)(param_1 + 0x250) != puVar3);\n  }\n  if ((*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0) && ((PTR_DAT_0043e6b0[0x24] & 8) != 0)) {\n    FUN_001a4ba0(*(undefined8 *)(param_1 + 0x3a8),param_1 + 0x248,param_1 + 0x278,param_1 + 0x290);\n    *(undefined1 *)(param_1 + 0x380) = 1;\n    return;\n  }\n  *(undefined1 *)(param_1 + 0x380) = 1;\n  return;\n}" primitive_type (function_declarator "FUN_001ac250(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  undefined8 uVar1;\n  long *plVar2;\n  undefined8 *puVar3;\n  \n  if ((*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0) && ((PTR_DAT_0043e6b0[0x24] & 8) != 0)) {\n    puVar3 = (undefined8 *)FUN_002d94a0(0x18);\n    *puVar3 = 0;\n    puVar3[1] = 0;\n    puVar3[2] = 0;\n    *(undefined8 **)(param_1 + 0x3a8) = puVar3;\n  }\n  plVar2 = (long *)FUN_002d94a0(0x38);\n  *(undefined1 (*) [16])(plVar2 + 4) = (undefined1  [16])0x0;\n  plVar2[6] = 0;\n  *plVar2 = (long)(plVar2 + 6);\n  plVar2[1] = 1;\n  plVar2[2] = 0;\n  plVar2[3] = 0;\n  *(undefined4 *)(plVar2 + 4) = 0x3f800000;\n  plVar2[5] = 0;\n  *(long **)(param_1 + 0x3a0) = plVar2;\n  FUN_001abfa0(param_1,plVar2);\n  puVar3 = *(undefined8 **)(param_1 + 0x248);\n  if (puVar3 != *(undefined8 **)(param_1 + 0x250)) {\n    do {\n      uVar1 = *puVar3;\n      puVar3 = puVar3 + 1;\n      FUN_001f6d50(uVar1);\n    } while (*(undefined8 **)(param_1 + 0x250) != puVar3);\n  }\n  if ((*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0) && ((PTR_DAT_0043e6b0[0x24] & 8) != 0)) {\n    FUN_001a4ba0(*(undefined8 *)(param_1 + 0x3a8),param_1 + 0x248,param_1 + 0x278,param_1 + 0x290);\n    *(undefined1 *)(param_1 + 0x380) = 1;\n    return;\n  }\n  *(undefined1 *)(param_1 + 0x380) = 1;\n  return;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (declaration "undefined8 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (if_statement "if ((*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0) && ((PTR_DAT_0043e6b0[0x24] & 8) != 0)) {\n    puVar3 = (undefined8 *)FUN_002d94a0(0x18);\n    *puVar3 = 0;\n    puVar3[1] = 0;\n    puVar3[2] = 0;\n    *(undefined8 **)(param_1 + 0x3a8) = puVar3;\n  }" if (parenthesized_expression "((*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0) && ((PTR_DAT_0043e6b0[0x24] & 8) != 0))" ( (binary_expression "(*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0) && ((PTR_DAT_0043e6b0[0x24] & 8) != 0)" (parenthesized_expression "(*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0)" ( (binary_expression "*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0" (pointer_expression "*(long *)(PTR_DAT_0043e6b0 + 0x10)" * (cast_expression "(long *)(PTR_DAT_0043e6b0 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0043e6b0 + 0x10)" ( (binary_expression "PTR_DAT_0043e6b0 + 0x10" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "((PTR_DAT_0043e6b0[0x24] & 8) != 0)" ( (binary_expression "(PTR_DAT_0043e6b0[0x24] & 8) != 0" (parenthesized_expression "(PTR_DAT_0043e6b0[0x24] & 8)" ( (binary_expression "PTR_DAT_0043e6b0[0x24] & 8" (subscript_expression "PTR_DAT_0043e6b0[0x24]" identifier [ number_literal ]) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    puVar3 = (undefined8 *)FUN_002d94a0(0x18);\n    *puVar3 = 0;\n    puVar3[1] = 0;\n    puVar3[2] = 0;\n    *(undefined8 **)(param_1 + 0x3a8) = puVar3;\n  }" { (expression_statement "puVar3 = (undefined8 *)FUN_002d94a0(0x18);" (assignment_expression "puVar3 = (undefined8 *)FUN_002d94a0(0x18)" identifier = (cast_expression "(undefined8 *)FUN_002d94a0(0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_002d94a0(0x18)" identifier (argument_list "(0x18)" ( number_literal ))))) ;) (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "puVar3[1] = 0;" (assignment_expression "puVar3[1] = 0" (subscript_expression "puVar3[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3[2] = 0;" (assignment_expression "puVar3[2] = 0" (subscript_expression "puVar3[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined8 **)(param_1 + 0x3a8) = puVar3;" (assignment_expression "*(undefined8 **)(param_1 + 0x3a8) = puVar3" (pointer_expression "*(undefined8 **)(param_1 + 0x3a8)" * (cast_expression "(undefined8 **)(param_1 + 0x3a8)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x3a8)" ( (binary_expression "param_1 + 0x3a8" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "plVar2 = (long *)FUN_002d94a0(0x38);" (assignment_expression "plVar2 = (long *)FUN_002d94a0(0x38)" identifier = (cast_expression "(long *)FUN_002d94a0(0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_002d94a0(0x38)" identifier (argument_list "(0x38)" ( number_literal ))))) ;) (expression_statement "*(undefined1 (*) [16])(plVar2 + 4) = (undefined1  [16])0x0;" (assignment_expression "*(undefined1 (*) [16])(plVar2 + 4) = (undefined1  [16])0x0" (pointer_expression "*(undefined1 (*) [16])(plVar2 + 4)" * (cast_expression "(undefined1 (*) [16])(plVar2 + 4)" ( (type_descriptor "undefined1 (*) [16]" type_identifier (abstract_array_declarator "(*) [16]" (abstract_parenthesized_declarator "(*)" ( (abstract_pointer_declarator "*" *) )) [ number_literal ])) ) (parenthesized_expression "(plVar2 + 4)" ( (binary_expression "plVar2 + 4" identifier + number_literal) )))) = (cast_expression "(undefined1  [16])0x0" ( (type_descriptor "undefined1  [16]" type_identifier (abstract_array_declarator "[16]" [ number_literal ])) ) number_literal)) ;) (expression_statement "plVar2[6] = 0;" (assignment_expression "plVar2[6] = 0" (subscript_expression "plVar2[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*plVar2 = (long)(plVar2 + 6);" (assignment_expression "*plVar2 = (long)(plVar2 + 6)" (pointer_expression "*plVar2" * identifier) = (cast_expression "(long)(plVar2 + 6)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(plVar2 + 6)" ( (binary_expression "plVar2 + 6" identifier + number_literal) )))) ;) (expression_statement "plVar2[1] = 1;" (assignment_expression "plVar2[1] = 1" (subscript_expression "plVar2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "plVar2[2] = 0;" (assignment_expression "plVar2[2] = 0" (subscript_expression "plVar2[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "plVar2[3] = 0;" (assignment_expression "plVar2[3] = 0" (subscript_expression "plVar2[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined4 *)(plVar2 + 4) = 0x3f800000;" (assignment_expression "*(undefined4 *)(plVar2 + 4) = 0x3f800000" (pointer_expression "*(undefined4 *)(plVar2 + 4)" * (cast_expression "(undefined4 *)(plVar2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(plVar2 + 4)" ( (binary_expression "plVar2 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "plVar2[5] = 0;" (assignment_expression "plVar2[5] = 0" (subscript_expression "plVar2[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(long **)(param_1 + 0x3a0) = plVar2;" (assignment_expression "*(long **)(param_1 + 0x3a0) = plVar2" (pointer_expression "*(long **)(param_1 + 0x3a0)" * (cast_expression "(long **)(param_1 + 0x3a0)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x3a0)" ( (binary_expression "param_1 + 0x3a0" identifier + number_literal) )))) = identifier) ;) (expression_statement "FUN_001abfa0(param_1,plVar2);" (call_expression "FUN_001abfa0(param_1,plVar2)" identifier (argument_list "(param_1,plVar2)" ( identifier , identifier ))) ;) (expression_statement "puVar3 = *(undefined8 **)(param_1 + 0x248);" (assignment_expression "puVar3 = *(undefined8 **)(param_1 + 0x248)" identifier = (pointer_expression "*(undefined8 **)(param_1 + 0x248)" * (cast_expression "(undefined8 **)(param_1 + 0x248)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x248)" ( (binary_expression "param_1 + 0x248" identifier + number_literal) ))))) ;) (if_statement "if (puVar3 != *(undefined8 **)(param_1 + 0x250)) {\n    do {\n      uVar1 = *puVar3;\n      puVar3 = puVar3 + 1;\n      FUN_001f6d50(uVar1);\n    } while (*(undefined8 **)(param_1 + 0x250) != puVar3);\n  }" if (parenthesized_expression "(puVar3 != *(undefined8 **)(param_1 + 0x250))" ( (binary_expression "puVar3 != *(undefined8 **)(param_1 + 0x250)" identifier != (pointer_expression "*(undefined8 **)(param_1 + 0x250)" * (cast_expression "(undefined8 **)(param_1 + 0x250)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x250)" ( (binary_expression "param_1 + 0x250" identifier + number_literal) ))))) )) (compound_statement "{\n    do {\n      uVar1 = *puVar3;\n      puVar3 = puVar3 + 1;\n      FUN_001f6d50(uVar1);\n    } while (*(undefined8 **)(param_1 + 0x250) != puVar3);\n  }" { (do_statement "do {\n      uVar1 = *puVar3;\n      puVar3 = puVar3 + 1;\n      FUN_001f6d50(uVar1);\n    } while (*(undefined8 **)(param_1 + 0x250) != puVar3);" do (compound_statement "{\n      uVar1 = *puVar3;\n      puVar3 = puVar3 + 1;\n      FUN_001f6d50(uVar1);\n    }" { (expression_statement "uVar1 = *puVar3;" (assignment_expression "uVar1 = *puVar3" identifier = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) (expression_statement "FUN_001f6d50(uVar1);" (call_expression "FUN_001f6d50(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) }) while (parenthesized_expression "(*(undefined8 **)(param_1 + 0x250) != puVar3)" ( (binary_expression "*(undefined8 **)(param_1 + 0x250) != puVar3" (pointer_expression "*(undefined8 **)(param_1 + 0x250)" * (cast_expression "(undefined8 **)(param_1 + 0x250)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x250)" ( (binary_expression "param_1 + 0x250" identifier + number_literal) )))) != identifier) )) ;) })) (if_statement "if ((*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0) && ((PTR_DAT_0043e6b0[0x24] & 8) != 0)) {\n    FUN_001a4ba0(*(undefined8 *)(param_1 + 0x3a8),param_1 + 0x248,param_1 + 0x278,param_1 + 0x290);\n    *(undefined1 *)(param_1 + 0x380) = 1;\n    return;\n  }" if (parenthesized_expression "((*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0) && ((PTR_DAT_0043e6b0[0x24] & 8) != 0))" ( (binary_expression "(*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0) && ((PTR_DAT_0043e6b0[0x24] & 8) != 0)" (parenthesized_expression "(*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0)" ( (binary_expression "*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0" (pointer_expression "*(long *)(PTR_DAT_0043e6b0 + 0x10)" * (cast_expression "(long *)(PTR_DAT_0043e6b0 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0043e6b0 + 0x10)" ( (binary_expression "PTR_DAT_0043e6b0 + 0x10" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "((PTR_DAT_0043e6b0[0x24] & 8) != 0)" ( (binary_expression "(PTR_DAT_0043e6b0[0x24] & 8) != 0" (parenthesized_expression "(PTR_DAT_0043e6b0[0x24] & 8)" ( (binary_expression "PTR_DAT_0043e6b0[0x24] & 8" (subscript_expression "PTR_DAT_0043e6b0[0x24]" identifier [ number_literal ]) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    FUN_001a4ba0(*(undefined8 *)(param_1 + 0x3a8),param_1 + 0x248,param_1 + 0x278,param_1 + 0x290);\n    *(undefined1 *)(param_1 + 0x380) = 1;\n    return;\n  }" { (expression_statement "FUN_001a4ba0(*(undefined8 *)(param_1 + 0x3a8),param_1 + 0x248,param_1 + 0x278,param_1 + 0x290);" (call_expression "FUN_001a4ba0(*(undefined8 *)(param_1 + 0x3a8),param_1 + 0x248,param_1 + 0x278,param_1 + 0x290)" identifier (argument_list "(*(undefined8 *)(param_1 + 0x3a8),param_1 + 0x248,param_1 + 0x278,param_1 + 0x290)" ( (pointer_expression "*(undefined8 *)(param_1 + 0x3a8)" * (cast_expression "(undefined8 *)(param_1 + 0x3a8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3a8)" ( (binary_expression "param_1 + 0x3a8" identifier + number_literal) )))) , (binary_expression "param_1 + 0x248" identifier + number_literal) , (binary_expression "param_1 + 0x278" identifier + number_literal) , (binary_expression "param_1 + 0x290" identifier + number_literal) ))) ;) (expression_statement "*(undefined1 *)(param_1 + 0x380) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x380) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x380)" * (cast_expression "(undefined1 *)(param_1 + 0x380)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x380)" ( (binary_expression "param_1 + 0x380" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "*(undefined1 *)(param_1 + 0x380) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x380) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x380)" * (cast_expression "(undefined1 *)(param_1 + 0x380)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x380)" ( (binary_expression "param_1 + 0x380" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) & LIT) )) != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_array_declarator (abstract_parenthesized_declarator ( (abstract_pointer_declarator *) )) [ LIT ])) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor TYPE (abstract_array_declarator [ LIT ])) ) LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (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 (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != IDENT) )) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) & LIT) )) != LIT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_001ac250(long param_1)\n\n{\n  undefined8 uVar1;\n  long *plVar2;\n  undefined8 *puVar3;\n  \n  if ((*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0) && ((PTR_DAT_0043e6b0[0x24] & 8) != 0)) {\n    puVar3 = (undefined8 *)FUN_002d94a0(0x18);\n    *puVar3 = 0;\n    puVar3[1] = 0;\n    puVar3[2] = 0;\n    *(undefined8 **)(param_1 + 0x3a8) = puVar3;\n  }\n  plVar2 = (long *)FUN_002d94a0(0x38);\n  *(undefined1 (*) [16])(plVar2 + 4) = (undefined1  [16])0x0;\n  plVar2[6] = 0;\n  *plVar2 = (long)(plVar2 + 6);\n  plVar2[1] = 1;\n  plVar2[2] = 0;\n  plVar2[3] = 0;\n  *(undefined4 *)(plVar2 + 4) = 0x3f800000;\n  plVar2[5] = 0;\n  *(long **)(param_1 + 0x3a0) = plVar2;\n  FUN_001abfa0(param_1,plVar2);\n  puVar3 = *(undefined8 **)(param_1 + 0x248);\n  if (puVar3 != *(undefined8 **)(param_1 + 0x250)) {\n    do {\n      uVar1 = *puVar3;\n      puVar3 = puVar3 + 1;\n      FUN_001f6d50(uVar1);\n    } while (*(undefined8 **)(param_1 + 0x250) != puVar3);\n  }\n  if ((*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0) && ((PTR_DAT_0043e6b0[0x24] & 8) != 0)) {\n    FUN_001a4ba0(*(undefined8 *)(param_1 + 0x3a8),param_1 + 0x248,param_1 + 0x278,param_1 + 0x290);\n    *(undefined1 *)(param_1 + 0x380) = 1;\n    return;\n  }\n  *(undefined1 *)(param_1 + 0x380) = 1;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001ac250(long param_1)" (identifier "FUN_001ac250") (parameter_list "(long param_1)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined8 uVar1;\n  long *plVar2;\n  undefined8 *puVar3;\n  \n  if ((*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0) && ((PTR_DAT_0043e6b0[0x24] & 8) != 0)) {\n    puVar3 = (undefined8 *)FUN_002d94a0(0x18);\n    *puVar3 = 0;\n    puVar3[1] = 0;\n    puVar3[2] = 0;\n    *(undefined8 **)(param_1 + 0x3a8) = puVar3;\n  }\n  plVar2 = (long *)FUN_002d94a0(0x38);\n  *(undefined1 (*) [16])(plVar2 + 4) = (undefined1  [16])0x0;\n  plVar2[6] = 0;\n  *plVar2 = (long)(plVar2 + 6);\n  plVar2[1] = 1;\n  plVar2[2] = 0;\n  plVar2[3] = 0;\n  *(undefined4 *)(plVar2 + 4) = 0x3f800000;\n  plVar2[5] = 0;\n  *(long **)(param_1 + 0x3a0) = plVar2;\n  FUN_001abfa0(param_1,plVar2);\n  puVar3 = *(undefined8 **)(param_1 + 0x248);\n  if (puVar3 != *(undefined8 **)(param_1 + 0x250)) {\n    do {\n      uVar1 = *puVar3;\n      puVar3 = puVar3 + 1;\n      FUN_001f6d50(uVar1);\n    } while (*(undefined8 **)(param_1 + 0x250) != puVar3);\n  }\n  if ((*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0) && ((PTR_DAT_0043e6b0[0x24] & 8) != 0)) {\n    FUN_001a4ba0(*(undefined8 *)(param_1 + 0x3a8),param_1 + 0x248,param_1 + 0x278,param_1 + 0x290);\n    *(undefined1 *)(param_1 + 0x380) = 1;\n    return;\n  }\n  *(undefined1 *)(param_1 + 0x380) = 1;\n  return;\n}" ({ "{") (declaration "undefined8 uVar1;" (type_identifier "undefined8") (identifier "uVar1") (; ";")) (declaration "long *plVar2;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar2" (* "*") (identifier "plVar2")) (; ";")) (declaration "undefined8 *puVar3;" (type_identifier "undefined8") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (if_statement "if ((*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0) && ((PTR_DAT_0043e6b0[0x24] & 8) != 0)) {\n    puVar3 = (undefined8 *)FUN_002d94a0(0x18);\n    *puVar3 = 0;\n    puVar3[1] = 0;\n    puVar3[2] = 0;\n    *(undefined8 **)(param_1 + 0x3a8) = puVar3;\n  }" (if "if") (parenthesized_expression "((*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0) && ((PTR_DAT_0043e6b0[0x24] & 8) != 0))" (( "(") (binary_expression "(*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0) && ((PTR_DAT_0043e6b0[0x24] & 8) != 0)" (parenthesized_expression "(*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0)" (( "(") (binary_expression "*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0" (pointer_expression "*(long *)(PTR_DAT_0043e6b0 + 0x10)" (* "*") (cast_expression "(long *)(PTR_DAT_0043e6b0 + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0043e6b0 + 0x10)" (( "(") (binary_expression "PTR_DAT_0043e6b0 + 0x10" (identifier "PTR_DAT_0043e6b0") (+ "+") (number_literal "0x10")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((PTR_DAT_0043e6b0[0x24] & 8) != 0)" (( "(") (binary_expression "(PTR_DAT_0043e6b0[0x24] & 8) != 0" (parenthesized_expression "(PTR_DAT_0043e6b0[0x24] & 8)" (( "(") (binary_expression "PTR_DAT_0043e6b0[0x24] & 8" (subscript_expression "PTR_DAT_0043e6b0[0x24]" (identifier "PTR_DAT_0043e6b0") ([ "[") (number_literal "0x24") (] "]")) (& "&") (number_literal "8")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    puVar3 = (undefined8 *)FUN_002d94a0(0x18);\n    *puVar3 = 0;\n    puVar3[1] = 0;\n    puVar3[2] = 0;\n    *(undefined8 **)(param_1 + 0x3a8) = puVar3;\n  }" ({ "{") (expression_statement "puVar3 = (undefined8 *)FUN_002d94a0(0x18);" (assignment_expression "puVar3 = (undefined8 *)FUN_002d94a0(0x18)" (identifier "puVar3") (= "=") (cast_expression "(undefined8 *)FUN_002d94a0(0x18)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_002d94a0(0x18)" (identifier "FUN_002d94a0") (argument_list "(0x18)" (( "(") (number_literal "0x18") () ")"))))) (; ";")) (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar3[1] = 0;" (assignment_expression "puVar3[1] = 0" (subscript_expression "puVar3[1]" (identifier "puVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar3[2] = 0;" (assignment_expression "puVar3[2] = 0" (subscript_expression "puVar3[2]" (identifier "puVar3") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined8 **)(param_1 + 0x3a8) = puVar3;" (assignment_expression "*(undefined8 **)(param_1 + 0x3a8) = puVar3" (pointer_expression "*(undefined8 **)(param_1 + 0x3a8)" (* "*") (cast_expression "(undefined8 **)(param_1 + 0x3a8)" (( "(") (type_descriptor "undefined8 **" (type_identifier "undefined8") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x3a8)" (( "(") (binary_expression "param_1 + 0x3a8" (identifier "param_1") (+ "+") (number_literal "0x3a8")) () ")")))) (= "=") (identifier "puVar3")) (; ";")) (} "}"))) (expression_statement "plVar2 = (long *)FUN_002d94a0(0x38);" (assignment_expression "plVar2 = (long *)FUN_002d94a0(0x38)" (identifier "plVar2") (= "=") (cast_expression "(long *)FUN_002d94a0(0x38)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_002d94a0(0x38)" (identifier "FUN_002d94a0") (argument_list "(0x38)" (( "(") (number_literal "0x38") () ")"))))) (; ";")) (expression_statement "*(undefined1 (*) [16])(plVar2 + 4) = (undefined1  [16])0x0;" (assignment_expression "*(undefined1 (*) [16])(plVar2 + 4) = (undefined1  [16])0x0" (pointer_expression "*(undefined1 (*) [16])(plVar2 + 4)" (* "*") (cast_expression "(undefined1 (*) [16])(plVar2 + 4)" (( "(") (type_descriptor "undefined1 (*) [16]" (type_identifier "undefined1") (abstract_array_declarator "(*) [16]" (abstract_parenthesized_declarator "(*)" (( "(") (abstract_pointer_declarator "*" (* "*")) () ")")) ([ "[") (number_literal "16") (] "]"))) () ")") (parenthesized_expression "(plVar2 + 4)" (( "(") (binary_expression "plVar2 + 4" (identifier "plVar2") (+ "+") (number_literal "4")) () ")")))) (= "=") (cast_expression "(undefined1  [16])0x0" (( "(") (type_descriptor "undefined1  [16]" (type_identifier "undefined1") (abstract_array_declarator "[16]" ([ "[") (number_literal "16") (] "]"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "plVar2[6] = 0;" (assignment_expression "plVar2[6] = 0" (subscript_expression "plVar2[6]" (identifier "plVar2") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*plVar2 = (long)(plVar2 + 6);" (assignment_expression "*plVar2 = (long)(plVar2 + 6)" (pointer_expression "*plVar2" (* "*") (identifier "plVar2")) (= "=") (cast_expression "(long)(plVar2 + 6)" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (parenthesized_expression "(plVar2 + 6)" (( "(") (binary_expression "plVar2 + 6" (identifier "plVar2") (+ "+") (number_literal "6")) () ")")))) (; ";")) (expression_statement "plVar2[1] = 1;" (assignment_expression "plVar2[1] = 1" (subscript_expression "plVar2[1]" (identifier "plVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "1")) (; ";")) (expression_statement "plVar2[2] = 0;" (assignment_expression "plVar2[2] = 0" (subscript_expression "plVar2[2]" (identifier "plVar2") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "plVar2[3] = 0;" (assignment_expression "plVar2[3] = 0" (subscript_expression "plVar2[3]" (identifier "plVar2") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(plVar2 + 4) = 0x3f800000;" (assignment_expression "*(undefined4 *)(plVar2 + 4) = 0x3f800000" (pointer_expression "*(undefined4 *)(plVar2 + 4)" (* "*") (cast_expression "(undefined4 *)(plVar2 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(plVar2 + 4)" (( "(") (binary_expression "plVar2 + 4" (identifier "plVar2") (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "0x3f800000")) (; ";")) (expression_statement "plVar2[5] = 0;" (assignment_expression "plVar2[5] = 0" (subscript_expression "plVar2[5]" (identifier "plVar2") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(long **)(param_1 + 0x3a0) = plVar2;" (assignment_expression "*(long **)(param_1 + 0x3a0) = plVar2" (pointer_expression "*(long **)(param_1 + 0x3a0)" (* "*") (cast_expression "(long **)(param_1 + 0x3a0)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x3a0)" (( "(") (binary_expression "param_1 + 0x3a0" (identifier "param_1") (+ "+") (number_literal "0x3a0")) () ")")))) (= "=") (identifier "plVar2")) (; ";")) (expression_statement "FUN_001abfa0(param_1,plVar2);" (call_expression "FUN_001abfa0(param_1,plVar2)" (identifier "FUN_001abfa0") (argument_list "(param_1,plVar2)" (( "(") (identifier "param_1") (, ",") (identifier "plVar2") () ")"))) (; ";")) (expression_statement "puVar3 = *(undefined8 **)(param_1 + 0x248);" (assignment_expression "puVar3 = *(undefined8 **)(param_1 + 0x248)" (identifier "puVar3") (= "=") (pointer_expression "*(undefined8 **)(param_1 + 0x248)" (* "*") (cast_expression "(undefined8 **)(param_1 + 0x248)" (( "(") (type_descriptor "undefined8 **" (type_identifier "undefined8") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x248)" (( "(") (binary_expression "param_1 + 0x248" (identifier "param_1") (+ "+") (number_literal "0x248")) () ")"))))) (; ";")) (if_statement "if (puVar3 != *(undefined8 **)(param_1 + 0x250)) {\n    do {\n      uVar1 = *puVar3;\n      puVar3 = puVar3 + 1;\n      FUN_001f6d50(uVar1);\n    } while (*(undefined8 **)(param_1 + 0x250) != puVar3);\n  }" (if "if") (parenthesized_expression "(puVar3 != *(undefined8 **)(param_1 + 0x250))" (( "(") (binary_expression "puVar3 != *(undefined8 **)(param_1 + 0x250)" (identifier "puVar3") (!= "!=") (pointer_expression "*(undefined8 **)(param_1 + 0x250)" (* "*") (cast_expression "(undefined8 **)(param_1 + 0x250)" (( "(") (type_descriptor "undefined8 **" (type_identifier "undefined8") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x250)" (( "(") (binary_expression "param_1 + 0x250" (identifier "param_1") (+ "+") (number_literal "0x250")) () ")"))))) () ")")) (compound_statement "{\n    do {\n      uVar1 = *puVar3;\n      puVar3 = puVar3 + 1;\n      FUN_001f6d50(uVar1);\n    } while (*(undefined8 **)(param_1 + 0x250) != puVar3);\n  }" ({ "{") (do_statement "do {\n      uVar1 = *puVar3;\n      puVar3 = puVar3 + 1;\n      FUN_001f6d50(uVar1);\n    } while (*(undefined8 **)(param_1 + 0x250) != puVar3);" (do "do") (compound_statement "{\n      uVar1 = *puVar3;\n      puVar3 = puVar3 + 1;\n      FUN_001f6d50(uVar1);\n    }" ({ "{") (expression_statement "uVar1 = *puVar3;" (assignment_expression "uVar1 = *puVar3" (identifier "uVar1") (= "=") (pointer_expression "*puVar3" (* "*") (identifier "puVar3"))) (; ";")) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" (identifier "puVar3") (= "=") (binary_expression "puVar3 + 1" (identifier "puVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "FUN_001f6d50(uVar1);" (call_expression "FUN_001f6d50(uVar1)" (identifier "FUN_001f6d50") (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*(undefined8 **)(param_1 + 0x250) != puVar3)" (( "(") (binary_expression "*(undefined8 **)(param_1 + 0x250) != puVar3" (pointer_expression "*(undefined8 **)(param_1 + 0x250)" (* "*") (cast_expression "(undefined8 **)(param_1 + 0x250)" (( "(") (type_descriptor "undefined8 **" (type_identifier "undefined8") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x250)" (( "(") (binary_expression "param_1 + 0x250" (identifier "param_1") (+ "+") (number_literal "0x250")) () ")")))) (!= "!=") (identifier "puVar3")) () ")")) (; ";")) (} "}"))) (if_statement "if ((*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0) && ((PTR_DAT_0043e6b0[0x24] & 8) != 0)) {\n    FUN_001a4ba0(*(undefined8 *)(param_1 + 0x3a8),param_1 + 0x248,param_1 + 0x278,param_1 + 0x290);\n    *(undefined1 *)(param_1 + 0x380) = 1;\n    return;\n  }" (if "if") (parenthesized_expression "((*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0) && ((PTR_DAT_0043e6b0[0x24] & 8) != 0))" (( "(") (binary_expression "(*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0) && ((PTR_DAT_0043e6b0[0x24] & 8) != 0)" (parenthesized_expression "(*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0)" (( "(") (binary_expression "*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0" (pointer_expression "*(long *)(PTR_DAT_0043e6b0 + 0x10)" (* "*") (cast_expression "(long *)(PTR_DAT_0043e6b0 + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0043e6b0 + 0x10)" (( "(") (binary_expression "PTR_DAT_0043e6b0 + 0x10" (identifier "PTR_DAT_0043e6b0") (+ "+") (number_literal "0x10")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((PTR_DAT_0043e6b0[0x24] & 8) != 0)" (( "(") (binary_expression "(PTR_DAT_0043e6b0[0x24] & 8) != 0" (parenthesized_expression "(PTR_DAT_0043e6b0[0x24] & 8)" (( "(") (binary_expression "PTR_DAT_0043e6b0[0x24] & 8" (subscript_expression "PTR_DAT_0043e6b0[0x24]" (identifier "PTR_DAT_0043e6b0") ([ "[") (number_literal "0x24") (] "]")) (& "&") (number_literal "8")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    FUN_001a4ba0(*(undefined8 *)(param_1 + 0x3a8),param_1 + 0x248,param_1 + 0x278,param_1 + 0x290);\n    *(undefined1 *)(param_1 + 0x380) = 1;\n    return;\n  }" ({ "{") (expression_statement "FUN_001a4ba0(*(undefined8 *)(param_1 + 0x3a8),param_1 + 0x248,param_1 + 0x278,param_1 + 0x290);" (call_expression "FUN_001a4ba0(*(undefined8 *)(param_1 + 0x3a8),param_1 + 0x248,param_1 + 0x278,param_1 + 0x290)" (identifier "FUN_001a4ba0") (argument_list "(*(undefined8 *)(param_1 + 0x3a8),param_1 + 0x248,param_1 + 0x278,param_1 + 0x290)" (( "(") (pointer_expression "*(undefined8 *)(param_1 + 0x3a8)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x3a8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3a8)" (( "(") (binary_expression "param_1 + 0x3a8" (identifier "param_1") (+ "+") (number_literal "0x3a8")) () ")")))) (, ",") (binary_expression "param_1 + 0x248" (identifier "param_1") (+ "+") (number_literal "0x248")) (, ",") (binary_expression "param_1 + 0x278" (identifier "param_1") (+ "+") (number_literal "0x278")) (, ",") (binary_expression "param_1 + 0x290" (identifier "param_1") (+ "+") (number_literal "0x290")) () ")"))) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 0x380) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x380) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x380)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0x380)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x380)" (( "(") (binary_expression "param_1 + 0x380" (identifier "param_1") (+ "+") (number_literal "0x380")) () ")")))) (= "=") (number_literal "1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "*(undefined1 *)(param_1 + 0x380) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x380) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x380)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0x380)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x380)" (( "(") (binary_expression "param_1 + 0x380" (identifier "param_1") (+ "+") (number_literal "0x380")) () ")")))) (= "=") (number_literal "1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void prepare_for_relaxation(Layout * this) */

void __thiscall var_5::type_1::function_1(type_1 *this)

{
  type_2 *this_00;
  type_3 *segment_states;
  type_4 *pRVar1;
  type_5 var_7;
  
  if ((parameters->options_ != (type_6 *)0x0) && ((parameters->debug_ & 8) != 0)) {
    pRVar1 = (type_4 *)var_1(0x18);
    (pRVar1->section_infos_).
    super__Vector_base<var_5::Layout::Relaxation_debug_check::var_2,var_6::allocator<var_5::Layout::Relaxation_debug_check::var_2>var_3>
    ._M_impl._M_start = (type_5)0x0;
    (pRVar1->section_infos_).
    super__Vector_base<var_5::Layout::Relaxation_debug_check::var_2,var_6::allocator<var_5::Layout::Relaxation_debug_check::var_2>var_3>
    ._M_impl._M_finish = (type_5)0x0;
    (pRVar1->section_infos_).
    super__Vector_base<var_5::Layout::Relaxation_debug_check::var_2,var_6::allocator<var_5::Layout::Relaxation_debug_check::var_2>var_3>
    ._M_impl._M_end_of_storage = (type_5)0x0;
    this->relaxation_debug_check_ = pRVar1;
  }
  segment_states = (type_3 *)var_1(0x38);
  (segment_states->_M_h)._M_rehash_policy._M_max_load_factor = 0.0;
  *(type_7 *)&(segment_states->_M_h)._M_rehash_policy.field_0x4 = 0;
  (segment_states->_M_h)._M_rehash_policy._M_next_resize = 0;
  (segment_states->_M_h)._M_single_bucket = (type_8)0x0;
  (segment_states->_M_h)._M_buckets = &(segment_states->_M_h)._M_single_bucket;
  (segment_states->_M_h)._M_bucket_count = 1;
  (segment_states->_M_h)._M_before_begin._M_nxt = (type_9 *)0x0;
  (segment_states->_M_h)._M_element_count = 0;
  (segment_states->_M_h)._M_rehash_policy._M_max_load_factor = 1.0;
  (segment_states->_M_h)._M_rehash_policy._M_next_resize = 0;
  this->segment_states_ = segment_states;
  var_4(this,segment_states);
  var_7 = (this->section_list_).
            super__Vector_base<var_5::type_2*,var_6::allocator<var_5::type_2*>var_3>.
            _M_impl._M_start;
  if (var_7 !=
      (this->section_list_).
      super__Vector_base<var_5::type_2*,var_6::allocator<var_5::type_2*>var_3>._M_impl.
      _M_finish) {
    do {
      this_00 = *var_7;
      var_7 = var_7 + 1;
      Output_section::var_8(this_00);
    } while ((this->section_list_).
             super__Vector_base<var_5::type_2*,var_6::allocator<var_5::type_2*>var_3>.
             _M_impl._M_finish != var_7);
  }
  if ((parameters->options_ != (type_6 *)0x0) && ((parameters->debug_ & 8) != 0)) {
    Relaxation_debug_check::var_9
              (this->relaxation_debug_check_,&this->section_list_,&this->special_output_list_,
               &this->relax_output_list_);
    this->record_output_section_data_from_script_ = true;
    return;
  }
  this->record_output_section_data_from_script_ = true;
  return;
}


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

void MASKED(long param_1)

{
  undefined8 uVar1;
  long *plVar2;
  undefined8 *puVar3;
  
  if ((*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0) && ((PTR_DAT_0043e6b0[0x24] & 8) != 0)) {
    puVar3 = (undefined8 *)FUN_002d94a0(0x18);
    *puVar3 = 0;
    puVar3[1] = 0;
    puVar3[2] = 0;
    *(undefined8 **)(param_1 + 0x3a8) = puVar3;
  }
  plVar2 = (long *)FUN_002d94a0(0x38);
  *(undefined1 (*) [16])(plVar2 + 4) = (undefined1  [16])0x0;
  plVar2[6] = 0;
  *plVar2 = (long)(plVar2 + 6);
  plVar2[1] = 1;
  plVar2[2] = 0;
  plVar2[3] = 0;
  *(undefined4 *)(plVar2 + 4) = 0x3f800000;
  plVar2[5] = 0;
  *(long **)(param_1 + 0x3a0) = plVar2;
  FUN_001abfa0(param_1,plVar2);
  puVar3 = *(undefined8 **)(param_1 + 0x248);
  if (puVar3 != *(undefined8 **)(param_1 + 0x250)) {
    do {
      uVar1 = *puVar3;
      puVar3 = puVar3 + 1;
      FUN_001f6d50(uVar1);
    } while (*(undefined8 **)(param_1 + 0x250) != puVar3);
  }
  if ((*(long *)(PTR_DAT_0043e6b0 + 0x10) != 0) && ((PTR_DAT_0043e6b0[0x24] & 8) != 0)) {
    FUN_001a4ba0(*(undefined8 *)(param_1 + 0x3a8),param_1 + 0x248,param_1 + 0x278,param_1 + 0x290);
    *(undefined1 *)(param_1 + 0x380) = 1;
    return;
  }
  *(undefined1 *)(param_1 + 0x380) = 1;
  return;
}

