
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Type propagation algorithm not settling */
/* DWARF original prototype: void ~File_read(File_read * this, int __in_chrg) */

void __thiscall gold::File_read::~File_read(File_read *this,int __in_chrg)

{
  pointer pcVar1;
  _List_node_base *p_Var2;
  _List_node_base *p_Var3;
  Task_token *in_stack_ffffffe4;
  Task_token *in_stack_ffffffe8;
  
  if ((this->token_).is_blocker_ != false) {
                    /* WARNING: Subroutine does not return */
    Task_token::is_writable(in_stack_ffffffe4,in_stack_ffffffe8);
  }
  if ((this->token_).writer_ != (Task *)0x0) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/fileread.cc",0xb2,"~File_read");
  }
  if (this->is_descriptor_opened_ != false) {
    Descriptors::release((Descriptors *)PTR_descriptors_00301eac,this->descriptor_,true);
    this->descriptor_ = -1;
    this->is_descriptor_opened_ = false;
  }
  pcVar1 = (this->name_)._M_dataplus._M_p;
  (this->name_)._M_string_length = 0;
  *pcVar1 = '\0';
  clear_views(this,CLEAR_VIEWS_ALL);
  p_Var3 = (this->saved_views_).
           super__List_base<gold::File_read::View*,_std::allocator<gold::File_read::View*>_>._M_impl
           ._M_node.super__List_node_base._M_next;
  while (p_Var3 != (_List_node_base *)&this->saved_views_) {
    p_Var2 = p_Var3->_M_next;
    operator_delete(p_Var3);
    p_Var3 = p_Var2;
  }
  std::
  _Rb_tree<std::pair<long_long_int,_unsigned_int>,_std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>,_std::_Select1st<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>,_std::less<std::pair<long_long_int,_unsigned_int>_>,_std::allocator<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>_>
  ::_M_erase(&(this->views_)._M_t,
             (_Link_type)(this->views_)._M_t._M_impl.super__Rb_tree_header._M_header._M_parent);
  if ((this->token_).blockers_ != 0) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/token.h",100,"~Task_token");
  }
  if ((this->token_).writer_ != (Task *)0x0) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/token.h",0x65,"~Task_token");
  }
  if (((this->token_).waiting_.head_ == (Task *)0x0) &&
     ((this->token_).waiting_.tail_ == (Task *)0x0)) {
    pcVar1 = (this->name_)._M_dataplus._M_p;
    if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
         *)pcVar1 != &(this->name_).field_2) {
      operator_delete(pcVar1);
    }
    return;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/token.h",0x2c,"~Task_list");
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void FUN_0005d070(undefined4 *param_1)

{
  undefined4 *puVar1;
  undefined4 *puVar2;
  
  if (*(char *)(param_1 + 0xb) == '\0') {
    if (param_1[0xd] != 0) {
                    /* WARNING: Subroutine does not return */
      FUN_0005f0b0("../../gold/fileread.cc",0xb2,"~File_read",param_1[0xd]);
    }
    if (*(char *)(param_1 + 7) != '\0') {
      FUN_001434d0(PTR_DAT_00301eac,param_1[6],1);
      param_1[6] = 0xffffffff;
      *(undefined1 *)(param_1 + 7) = 0;
    }
    param_1[1] = 0;
    *(undefined1 *)*param_1 = 0;
    FUN_0005ca10(param_1,2);
    puVar2 = (undefined4 *)param_1[0x16];
    while (puVar2 != param_1 + 0x16) {
      puVar1 = (undefined4 *)*puVar2;
      FUN_001807a0(puVar2);
      puVar2 = puVar1;
    }
    FUN_0005ed80(param_1 + 0x10,param_1[0x12]);
    if (param_1[0xc] != 0) {
                    /* WARNING: Subroutine does not return */
      FUN_0005f0b0("../../gold/token.h",100,"~Task_token",param_1 + 0x16);
    }
    if (param_1[0xd] == 0) {
      if ((param_1[0xe] == 0) && (param_1[0xf] == 0)) {
        if ((undefined4 *)*param_1 != param_1 + 2) {
          FUN_001807a0((undefined4 *)*param_1);
        }
        return;
      }
                    /* WARNING: Subroutine does not return */
      FUN_0005f0b0("../../gold/token.h",0x2c,"~Task_list",0);
    }
  }
  else {
    FUN_0005b900();
  }
                    /* WARNING: Subroutine does not return */
  FUN_0005f0b0("../../gold/token.h",0x65,"~Task_token",param_1);
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00032730
ADD EBX,0x2a4f87
SUB ESP,0xc
MOV ESI,dword ptr [ESP + 0x20]
CMP byte ptr [ESI + 0x2c],0x0
JNZ 0x0005d195
MOV EAX,dword ptr [ESI + 0x34]
TEST EAX,EAX
JNZ 0x0005d17c
CMP byte ptr [ESI + 0x1c],0x0
JNZ 0x0005d140
MOV EAX,dword ptr [ESI]
SUB ESP,0x8
MOV dword ptr [ESI + 0x4],0x0
LEA EBP,[ESI + 0x58]
MOV byte ptr [EAX],0x0
PUSH 0x2
PUSH ESI
CALL 0x0005ca10
MOV EAX,dword ptr [ESI + 0x58]
ADD ESP,0x10
CMP EAX,EBP
JZ 0x0005d0e4
LEA ESI,[ESI]
SUB ESP,0xc
MOV EDI,dword ptr [EAX]
PUSH EAX
CALL 0x001807a0
MOV EAX,EDI
ADD ESP,0x10
CMP EDI,EBP
JNZ 0x0005d0d0
SUB ESP,0x8
LEA EAX,[ESI + 0x40]
PUSH dword ptr [ESI + 0x48]
PUSH EAX
CALL 0x0005ed80
MOV EAX,dword ptr [ESI + 0x30]
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0005d1b0
MOV EDI,dword ptr [ESI + 0x34]
TEST EDI,EDI
JNZ 0x0005d19a
MOV ECX,dword ptr [ESI + 0x38]
TEST ECX,ECX
JNZ 0x0005d166
MOV EDX,dword ptr [ESI + 0x3c]
TEST EDX,EDX
JNZ 0x0005d166
MOV EAX,dword ptr [ESI]
ADD ESI,0x8
CMP EAX,ESI
JZ 0x0005d12f
SUB ESP,0xc
PUSH EAX
CALL 0x001807a0
ADD ESP,0x10
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x4
PUSH 0x1
PUSH dword ptr [ESI + 0x18]
PUSH dword ptr [EBX + 0xfffffeac]
CALL 0x001434d0
MOV dword ptr [ESI + 0x18],0xffffffff
ADD ESP,0x10
MOV byte ptr [ESI + 0x1c],0x0
JMP 0x0005d0a5
PUSH EAX
LEA EAX,[EBX + 0xfff1ee00]
PUSH EAX
LEA EAX,[EBX + 0xfff185bd]
PUSH 0x2c
PUSH EAX
CALL 0x0005f0b0
PUSH EAX
LEA EAX,[EBX + 0xfff1ee24]
PUSH EAX
LEA EAX,[EBX + 0xfff1eab4]
PUSH 0xb2
PUSH EAX
CALL 0x0005f0b0
CALL 0x0005b900
LEA EAX,[EBX + 0xfff1ee0c]
PUSH ESI
PUSH EAX
LEA EAX,[EBX + 0xfff185bd]
PUSH 0x65
PUSH EAX
CALL 0x0005f0b0
LEA EAX,[EBX + 0xfff1ee0c]
PUSH EBP
PUSH EAX
LEA EAX,[EBX + 0xfff185bd]
PUSH 0x64
PUSH EAX
CALL 0x0005f0b0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0005d070(undefined4 *param_1)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  \n  if (*(char *)(param_1 + 0xb) == '\0') {\n    if (param_1[0xd] != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/fileread.cc",0xb2,"~File_read",param_1[0xd]);\n    }\n    if (*(char *)(param_1 + 7) != '\0') {\n      FUN_001434d0(PTR_DAT_00301eac,param_1[6],1);\n      param_1[6] = 0xffffffff;\n      *(undefined1 *)(param_1 + 7) = 0;\n    }\n    param_1[1] = 0;\n    *(undefined1 *)*param_1 = 0;\n    FUN_0005ca10(param_1,2);\n    puVar2 = (undefined4 *)param_1[0x16];\n    while (puVar2 != param_1 + 0x16) {\n      puVar1 = (undefined4 *)*puVar2;\n      FUN_001807a0(puVar2);\n      puVar2 = puVar1;\n    }\n    FUN_0005ed80(param_1 + 0x10,param_1[0x12]);\n    if (param_1[0xc] != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/token.h",100,"~Task_token",param_1 + 0x16);\n    }\n    if (param_1[0xd] == 0) {\n      if ((param_1[0xe] == 0) && (param_1[0xf] == 0)) {\n        if ((undefined4 *)*param_1 != param_1 + 2) {\n          FUN_001807a0((undefined4 *)*param_1);\n        }\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/token.h",0x2c,"~Task_list",0);\n    }\n  }\n  else {\n    FUN_0005b900();\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0005f0b0("../../gold/token.h",0x65,"~Task_token",param_1);\n}\n\n" comment (function_definition "void FUN_0005d070(undefined4 *param_1)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  \n  if (*(char *)(param_1 + 0xb) == '\0') {\n    if (param_1[0xd] != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/fileread.cc",0xb2,"~File_read",param_1[0xd]);\n    }\n    if (*(char *)(param_1 + 7) != '\0') {\n      FUN_001434d0(PTR_DAT_00301eac,param_1[6],1);\n      param_1[6] = 0xffffffff;\n      *(undefined1 *)(param_1 + 7) = 0;\n    }\n    param_1[1] = 0;\n    *(undefined1 *)*param_1 = 0;\n    FUN_0005ca10(param_1,2);\n    puVar2 = (undefined4 *)param_1[0x16];\n    while (puVar2 != param_1 + 0x16) {\n      puVar1 = (undefined4 *)*puVar2;\n      FUN_001807a0(puVar2);\n      puVar2 = puVar1;\n    }\n    FUN_0005ed80(param_1 + 0x10,param_1[0x12]);\n    if (param_1[0xc] != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/token.h",100,"~Task_token",param_1 + 0x16);\n    }\n    if (param_1[0xd] == 0) {\n      if ((param_1[0xe] == 0) && (param_1[0xf] == 0)) {\n        if ((undefined4 *)*param_1 != param_1 + 2) {\n          FUN_001807a0((undefined4 *)*param_1);\n        }\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/token.h",0x2c,"~Task_list",0);\n    }\n  }\n  else {\n    FUN_0005b900();\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0005f0b0("../../gold/token.h",0x65,"~Task_token",param_1);\n}" primitive_type (function_declarator "FUN_0005d070(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  \n  if (*(char *)(param_1 + 0xb) == '\0') {\n    if (param_1[0xd] != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/fileread.cc",0xb2,"~File_read",param_1[0xd]);\n    }\n    if (*(char *)(param_1 + 7) != '\0') {\n      FUN_001434d0(PTR_DAT_00301eac,param_1[6],1);\n      param_1[6] = 0xffffffff;\n      *(undefined1 *)(param_1 + 7) = 0;\n    }\n    param_1[1] = 0;\n    *(undefined1 *)*param_1 = 0;\n    FUN_0005ca10(param_1,2);\n    puVar2 = (undefined4 *)param_1[0x16];\n    while (puVar2 != param_1 + 0x16) {\n      puVar1 = (undefined4 *)*puVar2;\n      FUN_001807a0(puVar2);\n      puVar2 = puVar1;\n    }\n    FUN_0005ed80(param_1 + 0x10,param_1[0x12]);\n    if (param_1[0xc] != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/token.h",100,"~Task_token",param_1 + 0x16);\n    }\n    if (param_1[0xd] == 0) {\n      if ((param_1[0xe] == 0) && (param_1[0xf] == 0)) {\n        if ((undefined4 *)*param_1 != param_1 + 2) {\n          FUN_001807a0((undefined4 *)*param_1);\n        }\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/token.h",0x2c,"~Task_list",0);\n    }\n  }\n  else {\n    FUN_0005b900();\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0005f0b0("../../gold/token.h",0x65,"~Task_token",param_1);\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (if_statement "if (*(char *)(param_1 + 0xb) == '\0') {\n    if (param_1[0xd] != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/fileread.cc",0xb2,"~File_read",param_1[0xd]);\n    }\n    if (*(char *)(param_1 + 7) != '\0') {\n      FUN_001434d0(PTR_DAT_00301eac,param_1[6],1);\n      param_1[6] = 0xffffffff;\n      *(undefined1 *)(param_1 + 7) = 0;\n    }\n    param_1[1] = 0;\n    *(undefined1 *)*param_1 = 0;\n    FUN_0005ca10(param_1,2);\n    puVar2 = (undefined4 *)param_1[0x16];\n    while (puVar2 != param_1 + 0x16) {\n      puVar1 = (undefined4 *)*puVar2;\n      FUN_001807a0(puVar2);\n      puVar2 = puVar1;\n    }\n    FUN_0005ed80(param_1 + 0x10,param_1[0x12]);\n    if (param_1[0xc] != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/token.h",100,"~Task_token",param_1 + 0x16);\n    }\n    if (param_1[0xd] == 0) {\n      if ((param_1[0xe] == 0) && (param_1[0xf] == 0)) {\n        if ((undefined4 *)*param_1 != param_1 + 2) {\n          FUN_001807a0((undefined4 *)*param_1);\n        }\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/token.h",0x2c,"~Task_list",0);\n    }\n  }\n  else {\n    FUN_0005b900();\n  }" if (parenthesized_expression "(*(char *)(param_1 + 0xb) == '\0')" ( (binary_expression "*(char *)(param_1 + 0xb) == '\0'" (pointer_expression "*(char *)(param_1 + 0xb)" * (cast_expression "(char *)(param_1 + 0xb)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xb)" ( (binary_expression "param_1 + 0xb" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if (param_1[0xd] != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/fileread.cc",0xb2,"~File_read",param_1[0xd]);\n    }\n    if (*(char *)(param_1 + 7) != '\0') {\n      FUN_001434d0(PTR_DAT_00301eac,param_1[6],1);\n      param_1[6] = 0xffffffff;\n      *(undefined1 *)(param_1 + 7) = 0;\n    }\n    param_1[1] = 0;\n    *(undefined1 *)*param_1 = 0;\n    FUN_0005ca10(param_1,2);\n    puVar2 = (undefined4 *)param_1[0x16];\n    while (puVar2 != param_1 + 0x16) {\n      puVar1 = (undefined4 *)*puVar2;\n      FUN_001807a0(puVar2);\n      puVar2 = puVar1;\n    }\n    FUN_0005ed80(param_1 + 0x10,param_1[0x12]);\n    if (param_1[0xc] != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/token.h",100,"~Task_token",param_1 + 0x16);\n    }\n    if (param_1[0xd] == 0) {\n      if ((param_1[0xe] == 0) && (param_1[0xf] == 0)) {\n        if ((undefined4 *)*param_1 != param_1 + 2) {\n          FUN_001807a0((undefined4 *)*param_1);\n        }\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/token.h",0x2c,"~Task_list",0);\n    }\n  }" { (if_statement "if (param_1[0xd] != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/fileread.cc",0xb2,"~File_read",param_1[0xd]);\n    }" if (parenthesized_expression "(param_1[0xd] != 0)" ( (binary_expression "param_1[0xd] != 0" (subscript_expression "param_1[0xd]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/fileread.cc",0xb2,"~File_read",param_1[0xd]);\n    }" { comment (expression_statement "FUN_0005f0b0("../../gold/fileread.cc",0xb2,"~File_read",param_1[0xd]);" (call_expression "FUN_0005f0b0("../../gold/fileread.cc",0xb2,"~File_read",param_1[0xd])" identifier (argument_list "("../../gold/fileread.cc",0xb2,"~File_read",param_1[0xd])" ( (string_literal ""../../gold/fileread.cc"" " string_content ") , number_literal , (string_literal ""~File_read"" " string_content ") , (subscript_expression "param_1[0xd]" identifier [ number_literal ]) ))) ;) })) (if_statement "if (*(char *)(param_1 + 7) != '\0') {\n      FUN_001434d0(PTR_DAT_00301eac,param_1[6],1);\n      param_1[6] = 0xffffffff;\n      *(undefined1 *)(param_1 + 7) = 0;\n    }" if (parenthesized_expression "(*(char *)(param_1 + 7) != '\0')" ( (binary_expression "*(char *)(param_1 + 7) != '\0'" (pointer_expression "*(char *)(param_1 + 7)" * (cast_expression "(char *)(param_1 + 7)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 7)" ( (binary_expression "param_1 + 7" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      FUN_001434d0(PTR_DAT_00301eac,param_1[6],1);\n      param_1[6] = 0xffffffff;\n      *(undefined1 *)(param_1 + 7) = 0;\n    }" { (expression_statement "FUN_001434d0(PTR_DAT_00301eac,param_1[6],1);" (call_expression "FUN_001434d0(PTR_DAT_00301eac,param_1[6],1)" identifier (argument_list "(PTR_DAT_00301eac,param_1[6],1)" ( identifier , (subscript_expression "param_1[6]" identifier [ number_literal ]) , number_literal ))) ;) (expression_statement "param_1[6] = 0xffffffff;" (assignment_expression "param_1[6] = 0xffffffff" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 7) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 7) = 0" (pointer_expression "*(undefined1 *)(param_1 + 7)" * (cast_expression "(undefined1 *)(param_1 + 7)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 7)" ( (binary_expression "param_1 + 7" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)*param_1 = 0;" (assignment_expression "*(undefined1 *)*param_1 = 0" (pointer_expression "*(undefined1 *)*param_1" * (cast_expression "(undefined1 *)*param_1" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) = number_literal) ;) (expression_statement "FUN_0005ca10(param_1,2);" (call_expression "FUN_0005ca10(param_1,2)" identifier (argument_list "(param_1,2)" ( identifier , number_literal ))) ;) (expression_statement "puVar2 = (undefined4 *)param_1[0x16];" (assignment_expression "puVar2 = (undefined4 *)param_1[0x16]" identifier = (cast_expression "(undefined4 *)param_1[0x16]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x16]" identifier [ number_literal ]))) ;) (while_statement "while (puVar2 != param_1 + 0x16) {\n      puVar1 = (undefined4 *)*puVar2;\n      FUN_001807a0(puVar2);\n      puVar2 = puVar1;\n    }" while (parenthesized_expression "(puVar2 != param_1 + 0x16)" ( (binary_expression "puVar2 != param_1 + 0x16" identifier != (binary_expression "param_1 + 0x16" identifier + number_literal)) )) (compound_statement "{\n      puVar1 = (undefined4 *)*puVar2;\n      FUN_001807a0(puVar2);\n      puVar2 = puVar1;\n    }" { (expression_statement "puVar1 = (undefined4 *)*puVar2;" (assignment_expression "puVar1 = (undefined4 *)*puVar2" identifier = (cast_expression "(undefined4 *)*puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier))) ;) (expression_statement "FUN_001807a0(puVar2);" (call_expression "FUN_001807a0(puVar2)" identifier (argument_list "(puVar2)" ( identifier ))) ;) (expression_statement "puVar2 = puVar1;" (assignment_expression "puVar2 = puVar1" identifier = identifier) ;) })) (expression_statement "FUN_0005ed80(param_1 + 0x10,param_1[0x12]);" (call_expression "FUN_0005ed80(param_1 + 0x10,param_1[0x12])" identifier (argument_list "(param_1 + 0x10,param_1[0x12])" ( (binary_expression "param_1 + 0x10" identifier + number_literal) , (subscript_expression "param_1[0x12]" identifier [ number_literal ]) ))) ;) (if_statement "if (param_1[0xc] != 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/token.h",100,"~Task_token",param_1 + 0x16);\n    }" if (parenthesized_expression "(param_1[0xc] != 0)" ( (binary_expression "param_1[0xc] != 0" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/token.h",100,"~Task_token",param_1 + 0x16);\n    }" { comment (expression_statement "FUN_0005f0b0("../../gold/token.h",100,"~Task_token",param_1 + 0x16);" (call_expression "FUN_0005f0b0("../../gold/token.h",100,"~Task_token",param_1 + 0x16)" identifier (argument_list "("../../gold/token.h",100,"~Task_token",param_1 + 0x16)" ( (string_literal ""../../gold/token.h"" " string_content ") , number_literal , (string_literal ""~Task_token"" " string_content ") , (binary_expression "param_1 + 0x16" identifier + number_literal) ))) ;) })) (if_statement "if (param_1[0xd] == 0) {\n      if ((param_1[0xe] == 0) && (param_1[0xf] == 0)) {\n        if ((undefined4 *)*param_1 != param_1 + 2) {\n          FUN_001807a0((undefined4 *)*param_1);\n        }\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/token.h",0x2c,"~Task_list",0);\n    }" if (parenthesized_expression "(param_1[0xd] == 0)" ( (binary_expression "param_1[0xd] == 0" (subscript_expression "param_1[0xd]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n      if ((param_1[0xe] == 0) && (param_1[0xf] == 0)) {\n        if ((undefined4 *)*param_1 != param_1 + 2) {\n          FUN_001807a0((undefined4 *)*param_1);\n        }\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_0005f0b0("../../gold/token.h",0x2c,"~Task_list",0);\n    }" { (if_statement "if ((param_1[0xe] == 0) && (param_1[0xf] == 0)) {\n        if ((undefined4 *)*param_1 != param_1 + 2) {\n          FUN_001807a0((undefined4 *)*param_1);\n        }\n        return;\n      }" if (parenthesized_expression "((param_1[0xe] == 0) && (param_1[0xf] == 0))" ( (binary_expression "(param_1[0xe] == 0) && (param_1[0xf] == 0)" (parenthesized_expression "(param_1[0xe] == 0)" ( (binary_expression "param_1[0xe] == 0" (subscript_expression "param_1[0xe]" identifier [ number_literal ]) == number_literal) )) && (parenthesized_expression "(param_1[0xf] == 0)" ( (binary_expression "param_1[0xf] == 0" (subscript_expression "param_1[0xf]" identifier [ number_literal ]) == number_literal) ))) )) (compound_statement "{\n        if ((undefined4 *)*param_1 != param_1 + 2) {\n          FUN_001807a0((undefined4 *)*param_1);\n        }\n        return;\n      }" { (if_statement "if ((undefined4 *)*param_1 != param_1 + 2) {\n          FUN_001807a0((undefined4 *)*param_1);\n        }" if (parenthesized_expression "((undefined4 *)*param_1 != param_1 + 2)" ( (binary_expression "(undefined4 *)*param_1 != param_1 + 2" (cast_expression "(undefined4 *)*param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) != (binary_expression "param_1 + 2" identifier + number_literal)) )) (compound_statement "{\n          FUN_001807a0((undefined4 *)*param_1);\n        }" { (expression_statement "FUN_001807a0((undefined4 *)*param_1);" (call_expression "FUN_001807a0((undefined4 *)*param_1)" identifier (argument_list "((undefined4 *)*param_1)" ( (cast_expression "(undefined4 *)*param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) ))) ;) })) (return_statement "return;" return ;) })) comment (expression_statement "FUN_0005f0b0("../../gold/token.h",0x2c,"~Task_list",0);" (call_expression "FUN_0005f0b0("../../gold/token.h",0x2c,"~Task_list",0)" identifier (argument_list "("../../gold/token.h",0x2c,"~Task_list",0)" ( (string_literal ""../../gold/token.h"" " string_content ") , number_literal , (string_literal ""~Task_list"" " string_content ") , number_literal ))) ;) })) }) (else_clause "else {\n    FUN_0005b900();\n  }" else (compound_statement "{\n    FUN_0005b900();\n  }" { (expression_statement "FUN_0005b900();" (call_expression "FUN_0005b900()" identifier (argument_list "()" ( ))) ;) }))) comment (expression_statement "FUN_0005f0b0("../../gold/token.h",0x65,"~Task_token",param_1);" (call_expression "FUN_0005f0b0("../../gold/token.h",0x65,"~Task_token",param_1)" identifier (argument_list "("../../gold/token.h",0x65,"~Task_token",param_1)" ( (string_literal ""../../gold/token.h"" " string_content ") , number_literal , (string_literal ""~Task_token"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Type propagation algorithm not settling */\n/* DWARF original prototype: void ~File_read(File_read * this, int __in_chrg) */\n\nvoid __thiscall gold::File_read::~File_read(File_read *this,int __in_chrg)\n\n{\n  pointer pcVar1;\n  _List_node_base *p_Var2;\n  _List_node_base *p_Var3;\n  Task_token *in_stack_ffffffe4;\n  Task_token *in_stack_ffffffe8;\n  \n  if ((this->token_).is_blocker_ != false) {\n                    /* WARNING: Subroutine does not return */\n    Task_token::is_writable(in_stack_ffffffe4,in_stack_ffffffe8);\n  }\n  if ((this->token_).writer_ != (Task *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/fileread.cc",0xb2,"~File_read");\n  }\n  if (this->is_descriptor_opened_ != false) {\n    Descriptors::release((Descriptors *)PTR_descriptors_00301eac,this->descriptor_,true);\n    this->descriptor_ = -1;\n    this->is_descriptor_opened_ = false;\n  }\n  pcVar1 = (this->name_)._M_dataplus._M_p;\n  (this->name_)._M_string_length = 0;\n  *pcVar1 = '\0';\n  clear_views(this,CLEAR_VIEWS_ALL);\n  p_Var3 = (this->saved_views_).\n           super__List_base<gold::File_read::View*,_std::allocator<gold::File_read::View*>_>._M_impl\n           ._M_node.super__List_node_base._M_next;\n  while (p_Var3 != (_List_node_base *)&this->saved_views_) {\n    p_Var2 = p_Var3->_M_next;\n    operator_delete(p_Var3);\n    p_Var3 = p_Var2;\n  }\n  std::\n  _Rb_tree<std::pair<long_long_int,_unsigned_int>,_std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>,_std::_Select1st<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>,_std::less<std::pair<long_long_int,_unsigned_int>_>,_std::allocator<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>_>\n  ::_M_erase(&(this->views_)._M_t,\n             (_Link_type)(this->views_)._M_t._M_impl.super__Rb_tree_header._M_header._M_parent);\n  if ((this->token_).blockers_ != 0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/token.h",100,"~Task_token");\n  }\n  if ((this->token_).writer_ != (Task *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/token.h",0x65,"~Task_token");\n  }\n  if (((this->token_).waiting_.head_ == (Task *)0x0) &&\n     ((this->token_).waiting_.tail_ == (Task *)0x0)) {\n    pcVar1 = (this->name_)._M_dataplus._M_p;\n    if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n         *)pcVar1 != &(this->name_).field_2) {\n      operator_delete(pcVar1);\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/token.h",0x2c,"~Task_list");\n}\n\n" comment comment comment (function_definition "void __thiscall gold::File_read::~File_read(File_read *this,int __in_chrg)\n\n{\n  pointer pcVar1;\n  _List_node_base *p_Var2;\n  _List_node_base *p_Var3;\n  Task_token *in_stack_ffffffe4;\n  Task_token *in_stack_ffffffe8;\n  \n  if ((this->token_).is_blocker_ != false) {\n                    /* WARNING: Subroutine does not return */\n    Task_token::is_writable(in_stack_ffffffe4,in_stack_ffffffe8);\n  }\n  if ((this->token_).writer_ != (Task *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/fileread.cc",0xb2,"~File_read");\n  }\n  if (this->is_descriptor_opened_ != false) {\n    Descriptors::release((Descriptors *)PTR_descriptors_00301eac,this->descriptor_,true);\n    this->descriptor_ = -1;\n    this->is_descriptor_opened_ = false;\n  }\n  pcVar1 = (this->name_)._M_dataplus._M_p;\n  (this->name_)._M_string_length = 0;\n  *pcVar1 = '\0';\n  clear_views(this,CLEAR_VIEWS_ALL);\n  p_Var3 = (this->saved_views_).\n           super__List_base<gold::File_read::View*,_std::allocator<gold::File_read::View*>_>._M_impl\n           ._M_node.super__List_node_base._M_next;\n  while (p_Var3 != (_List_node_base *)&this->saved_views_) {\n    p_Var2 = p_Var3->_M_next;\n    operator_delete(p_Var3);\n    p_Var3 = p_Var2;\n  }\n  std::\n  _Rb_tree<std::pair<long_long_int,_unsigned_int>,_std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>,_std::_Select1st<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>,_std::less<std::pair<long_long_int,_unsigned_int>_>,_std::allocator<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>_>\n  ::_M_erase(&(this->views_)._M_t,\n             (_Link_type)(this->views_)._M_t._M_impl.super__Rb_tree_header._M_header._M_parent);\n  if ((this->token_).blockers_ != 0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/token.h",100,"~Task_token");\n  }\n  if ((this->token_).writer_ != (Task *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/token.h",0x65,"~Task_token");\n  }\n  if (((this->token_).waiting_.head_ == (Task *)0x0) &&\n     ((this->token_).waiting_.tail_ == (Task *)0x0)) {\n    pcVar1 = (this->name_)._M_dataplus._M_p;\n    if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n         *)pcVar1 != &(this->name_).field_2) {\n      operator_delete(pcVar1);\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/token.h",0x2c,"~Task_list");\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::File_read::~" identifier : : identifier : : ~) (function_declarator "File_read(File_read *this,int __in_chrg)" identifier (parameter_list "(File_read *this,int __in_chrg)" ( (parameter_declaration "File_read *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "int __in_chrg" primitive_type identifier) ))) (compound_statement "{\n  pointer pcVar1;\n  _List_node_base *p_Var2;\n  _List_node_base *p_Var3;\n  Task_token *in_stack_ffffffe4;\n  Task_token *in_stack_ffffffe8;\n  \n  if ((this->token_).is_blocker_ != false) {\n                    /* WARNING: Subroutine does not return */\n    Task_token::is_writable(in_stack_ffffffe4,in_stack_ffffffe8);\n  }\n  if ((this->token_).writer_ != (Task *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/fileread.cc",0xb2,"~File_read");\n  }\n  if (this->is_descriptor_opened_ != false) {\n    Descriptors::release((Descriptors *)PTR_descriptors_00301eac,this->descriptor_,true);\n    this->descriptor_ = -1;\n    this->is_descriptor_opened_ = false;\n  }\n  pcVar1 = (this->name_)._M_dataplus._M_p;\n  (this->name_)._M_string_length = 0;\n  *pcVar1 = '\0';\n  clear_views(this,CLEAR_VIEWS_ALL);\n  p_Var3 = (this->saved_views_).\n           super__List_base<gold::File_read::View*,_std::allocator<gold::File_read::View*>_>._M_impl\n           ._M_node.super__List_node_base._M_next;\n  while (p_Var3 != (_List_node_base *)&this->saved_views_) {\n    p_Var2 = p_Var3->_M_next;\n    operator_delete(p_Var3);\n    p_Var3 = p_Var2;\n  }\n  std::\n  _Rb_tree<std::pair<long_long_int,_unsigned_int>,_std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>,_std::_Select1st<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>,_std::less<std::pair<long_long_int,_unsigned_int>_>,_std::allocator<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>_>\n  ::_M_erase(&(this->views_)._M_t,\n             (_Link_type)(this->views_)._M_t._M_impl.super__Rb_tree_header._M_header._M_parent);\n  if ((this->token_).blockers_ != 0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/token.h",100,"~Task_token");\n  }\n  if ((this->token_).writer_ != (Task *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/token.h",0x65,"~Task_token");\n  }\n  if (((this->token_).waiting_.head_ == (Task *)0x0) &&\n     ((this->token_).waiting_.tail_ == (Task *)0x0)) {\n    pcVar1 = (this->name_)._M_dataplus._M_p;\n    if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n         *)pcVar1 != &(this->name_).field_2) {\n      operator_delete(pcVar1);\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/token.h",0x2c,"~Task_list");\n}" { (declaration "pointer pcVar1;" type_identifier identifier ;) (declaration "_List_node_base *p_Var2;" type_identifier (pointer_declarator "*p_Var2" * identifier) ;) (declaration "_List_node_base *p_Var3;" type_identifier (pointer_declarator "*p_Var3" * identifier) ;) (declaration "Task_token *in_stack_ffffffe4;" type_identifier (pointer_declarator "*in_stack_ffffffe4" * identifier) ;) (declaration "Task_token *in_stack_ffffffe8;" type_identifier (pointer_declarator "*in_stack_ffffffe8" * identifier) ;) (if_statement "if ((this->token_).is_blocker_ != false) {\n                    /* WARNING: Subroutine does not return */\n    Task_token::is_writable(in_stack_ffffffe4,in_stack_ffffffe8);\n  }" if (parenthesized_expression "((this->token_).is_blocker_ != false)" ( (binary_expression "(this->token_).is_blocker_ != false" (field_expression "(this->token_).is_blocker_" (parenthesized_expression "(this->token_)" ( (field_expression "this->token_" identifier -> field_identifier) )) . field_identifier) != false) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    Task_token::is_writable(in_stack_ffffffe4,in_stack_ffffffe8);\n  }" { comment (labeled_statement "Task_token::is_writable(in_stack_ffffffe4,in_stack_ffffffe8);" statement_identifier : (ERROR ":" :) (expression_statement "is_writable(in_stack_ffffffe4,in_stack_ffffffe8);" (call_expression "is_writable(in_stack_ffffffe4,in_stack_ffffffe8)" identifier (argument_list "(in_stack_ffffffe4,in_stack_ffffffe8)" ( identifier , identifier ))) ;)) })) (if_statement "if ((this->token_).writer_ != (Task *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/fileread.cc",0xb2,"~File_read");\n  }" if (parenthesized_expression "((this->token_).writer_ != (Task *)0x0)" ( (binary_expression "(this->token_).writer_ != (Task *)0x0" (field_expression "(this->token_).writer_" (parenthesized_expression "(this->token_)" ( (field_expression "this->token_" identifier -> field_identifier) )) . field_identifier) != (cast_expression "(Task *)0x0" ( (type_descriptor "Task *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/fileread.cc",0xb2,"~File_read");\n  }" { comment (expression_statement "do_gold_unreachable("../../gold/fileread.cc",0xb2,"~File_read");" (call_expression "do_gold_unreachable("../../gold/fileread.cc",0xb2,"~File_read")" identifier (argument_list "("../../gold/fileread.cc",0xb2,"~File_read")" ( (string_literal ""../../gold/fileread.cc"" " string_content ") , number_literal , (string_literal ""~File_read"" " string_content ") ))) ;) })) (if_statement "if (this->is_descriptor_opened_ != false) {\n    Descriptors::release((Descriptors *)PTR_descriptors_00301eac,this->descriptor_,true);\n    this->descriptor_ = -1;\n    this->is_descriptor_opened_ = false;\n  }" if (parenthesized_expression "(this->is_descriptor_opened_ != false)" ( (binary_expression "this->is_descriptor_opened_ != false" (field_expression "this->is_descriptor_opened_" identifier -> field_identifier) != false) )) (compound_statement "{\n    Descriptors::release((Descriptors *)PTR_descriptors_00301eac,this->descriptor_,true);\n    this->descriptor_ = -1;\n    this->is_descriptor_opened_ = false;\n  }" { (labeled_statement "Descriptors::release((Descriptors *)PTR_descriptors_00301eac,this->descriptor_,true);" statement_identifier : (ERROR ":" :) (expression_statement "release((Descriptors *)PTR_descriptors_00301eac,this->descriptor_,true);" (call_expression "release((Descriptors *)PTR_descriptors_00301eac,this->descriptor_,true)" identifier (argument_list "((Descriptors *)PTR_descriptors_00301eac,this->descriptor_,true)" ( (cast_expression "(Descriptors *)PTR_descriptors_00301eac" ( (type_descriptor "Descriptors *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (field_expression "this->descriptor_" identifier -> field_identifier) , true ))) ;)) (expression_statement "this->descriptor_ = -1;" (assignment_expression "this->descriptor_ = -1" (field_expression "this->descriptor_" identifier -> field_identifier) = number_literal) ;) (expression_statement "this->is_descriptor_opened_ = false;" (assignment_expression "this->is_descriptor_opened_ = false" (field_expression "this->is_descriptor_opened_" identifier -> field_identifier) = false) ;) })) (expression_statement "pcVar1 = (this->name_)._M_dataplus._M_p;" (assignment_expression "pcVar1 = (this->name_)._M_dataplus._M_p" identifier = (field_expression "(this->name_)._M_dataplus._M_p" (field_expression "(this->name_)._M_dataplus" (parenthesized_expression "(this->name_)" ( (field_expression "this->name_" identifier -> field_identifier) )) . field_identifier) . field_identifier)) ;) (expression_statement "(this->name_)._M_string_length = 0;" (assignment_expression "(this->name_)._M_string_length = 0" (field_expression "(this->name_)._M_string_length" (parenthesized_expression "(this->name_)" ( (field_expression "this->name_" identifier -> field_identifier) )) . field_identifier) = number_literal) ;) (expression_statement "*pcVar1 = '\0';" (assignment_expression "*pcVar1 = '\0'" (pointer_expression "*pcVar1" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "clear_views(this,CLEAR_VIEWS_ALL);" (call_expression "clear_views(this,CLEAR_VIEWS_ALL)" identifier (argument_list "(this,CLEAR_VIEWS_ALL)" ( identifier , identifier ))) ;) (ERROR "p_Var3 = (this->saved_views_).\n           super__List_base<gold::File_read::View*,_std::allocator<gold::" (assignment_expression "p_Var3 = (this->saved_views_).\n           super__List_base<gold" identifier = (binary_expression "(this->saved_views_).\n           super__List_base<gold" (field_expression "(this->saved_views_).\n           super__List_base" (parenthesized_expression "(this->saved_views_)" ( (field_expression "this->saved_views_" identifier -> field_identifier) )) . field_identifier) < identifier)) : : (comma_expression "File_read::View*,_std" identifier (ERROR "::View*" : : identifier *) , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : :) (expression_statement "File_read::View*>_>._M_impl\n           ._M_node.super__List_node_base._M_next;" (field_expression "File_read::View*>_>._M_impl\n           ._M_node.super__List_node_base._M_next" (field_expression "File_read::View*>_>._M_impl\n           ._M_node.super__List_node_base" (field_expression "File_read::View*>_>._M_impl\n           ._M_node" (field_expression "File_read::View*>_>._M_impl" (binary_expression "File_read::View*>_" identifier (ERROR "::View*" : : identifier *) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) . field_identifier) . field_identifier) ;) (while_statement "while (p_Var3 != (_List_node_base *)&this->saved_views_) {\n    p_Var2 = p_Var3->_M_next;\n    operator_delete(p_Var3);\n    p_Var3 = p_Var2;\n  }" while (parenthesized_expression "(p_Var3 != (_List_node_base *)&this->saved_views_)" ( (binary_expression "p_Var3 != (_List_node_base *)&this->saved_views_" identifier != (cast_expression "(_List_node_base *)&this->saved_views_" ( (type_descriptor "_List_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&this->saved_views_" & (field_expression "this->saved_views_" identifier -> field_identifier)))) )) (compound_statement "{\n    p_Var2 = p_Var3->_M_next;\n    operator_delete(p_Var3);\n    p_Var3 = p_Var2;\n  }" { (expression_statement "p_Var2 = p_Var3->_M_next;" (assignment_expression "p_Var2 = p_Var3->_M_next" identifier = (field_expression "p_Var3->_M_next" identifier -> field_identifier)) ;) (expression_statement "operator_delete(p_Var3);" (call_expression "operator_delete(p_Var3)" identifier (argument_list "(p_Var3)" ( identifier ))) ;) (expression_statement "p_Var3 = p_Var2;" (assignment_expression "p_Var3 = p_Var2" identifier = identifier) ;) })) (labeled_statement "std::\n  _Rb_tree<std::pair<long_long_int,_unsigned_int>,_std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>,_std::_Select1st<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>,_std::less<std::pair<long_long_int,_unsigned_int>_>,_std::allocator<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>_>\n  ::_M_erase(&(this->views_)._M_t,\n             (_Link_type)(this->views_)._M_t._M_impl.super__Rb_tree_header._M_header._M_parent);" statement_identifier (ERROR "::\n  _Rb_tree<std::pair<long_long_int,_unsigned_int>,_std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>,_std::_Select1st<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>,_std::less<std::pair<long_long_int,_unsigned_int>_>,_std::allocator<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>_>\n  :" : : (binary_expression "_Rb_tree<std" identifier < identifier) : : (comma_expression "pair<long_long_int,_unsigned_int>,_std" (binary_expression "pair<long_long_int" identifier < identifier) , (binary_expression "_unsigned_int>,_std" identifier > (ERROR "," ,) identifier)) : : (binary_expression "pair<const_std" identifier < identifier) : : (comma_expression "pair<long_long_int,_unsigned_int>,_gold" (binary_expression "pair<long_long_int" identifier < identifier) , (binary_expression "_unsigned_int>,_gold" identifier > (ERROR "," ,) identifier)) : : (comma_expression "File_read::View*>,_std::_Select1st<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>,_std" identifier (ERROR "::View*>,_std::_Select1st<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>" : : (comma_expression "View*>,_std" identifier (ERROR "*>" * >) , identifier) : : (binary_expression "_Select1st<std" identifier < identifier) : : (binary_expression "pair<const_std" identifier < identifier) : : (comma_expression "pair<long_long_int,_unsigned_int>,_gold" (binary_expression "pair<long_long_int" identifier < identifier) , (binary_expression "_unsigned_int>,_gold" identifier > (ERROR "," ,) identifier)) : : (binary_expression "File_read::View*>_" identifier (ERROR "::View*" : : identifier *) > identifier) >) , identifier) : : (binary_expression "less<std" identifier < identifier) : : (comma_expression "pair<long_long_int,_unsigned_int>_>,_std" (binary_expression "pair<long_long_int" identifier < identifier) , (binary_expression "_unsigned_int>_>,_std" (binary_expression "_unsigned_int>_" identifier > identifier) > (ERROR "," ,) identifier)) : : (binary_expression "allocator<std" identifier < identifier) : : (binary_expression "pair<const_std" identifier < identifier) : : (comma_expression "pair<long_long_int,_unsigned_int>,_gold" (binary_expression "pair<long_long_int" identifier < identifier) , (binary_expression "_unsigned_int>,_gold" identifier > (ERROR "," ,) identifier)) : : (binary_expression "File_read::View*>_>_" (binary_expression "File_read::View*>_" identifier (ERROR "::View*" : : identifier *) > identifier) > identifier) > :) : (expression_statement "_M_erase(&(this->views_)._M_t,\n             (_Link_type)(this->views_)._M_t._M_impl.super__Rb_tree_header._M_header._M_parent);" (call_expression "_M_erase(&(this->views_)._M_t,\n             (_Link_type)(this->views_)._M_t._M_impl.super__Rb_tree_header._M_header._M_parent)" identifier (argument_list "(&(this->views_)._M_t,\n             (_Link_type)(this->views_)._M_t._M_impl.super__Rb_tree_header._M_header._M_parent)" ( (pointer_expression "&(this->views_)._M_t" & (field_expression "(this->views_)._M_t" (parenthesized_expression "(this->views_)" ( (field_expression "this->views_" identifier -> field_identifier) )) . field_identifier)) , (field_expression "(_Link_type)(this->views_)._M_t._M_impl.super__Rb_tree_header._M_header._M_parent" (field_expression "(_Link_type)(this->views_)._M_t._M_impl.super__Rb_tree_header._M_header" (field_expression "(_Link_type)(this->views_)._M_t._M_impl.super__Rb_tree_header" (field_expression "(_Link_type)(this->views_)._M_t._M_impl" (field_expression "(_Link_type)(this->views_)._M_t" (call_expression "(_Link_type)(this->views_)" (parenthesized_expression "(_Link_type)" ( identifier )) (argument_list "(this->views_)" ( (field_expression "this->views_" identifier -> field_identifier) ))) . field_identifier) . field_identifier) . field_identifier) . field_identifier) . field_identifier) ))) ;)) (if_statement "if ((this->token_).blockers_ != 0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/token.h",100,"~Task_token");\n  }" if (parenthesized_expression "((this->token_).blockers_ != 0)" ( (binary_expression "(this->token_).blockers_ != 0" (field_expression "(this->token_).blockers_" (parenthesized_expression "(this->token_)" ( (field_expression "this->token_" identifier -> field_identifier) )) . field_identifier) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/token.h",100,"~Task_token");\n  }" { comment (expression_statement "do_gold_unreachable("../../gold/token.h",100,"~Task_token");" (call_expression "do_gold_unreachable("../../gold/token.h",100,"~Task_token")" identifier (argument_list "("../../gold/token.h",100,"~Task_token")" ( (string_literal ""../../gold/token.h"" " string_content ") , number_literal , (string_literal ""~Task_token"" " string_content ") ))) ;) })) (if_statement "if ((this->token_).writer_ != (Task *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/token.h",0x65,"~Task_token");\n  }" if (parenthesized_expression "((this->token_).writer_ != (Task *)0x0)" ( (binary_expression "(this->token_).writer_ != (Task *)0x0" (field_expression "(this->token_).writer_" (parenthesized_expression "(this->token_)" ( (field_expression "this->token_" identifier -> field_identifier) )) . field_identifier) != (cast_expression "(Task *)0x0" ( (type_descriptor "Task *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/token.h",0x65,"~Task_token");\n  }" { comment (expression_statement "do_gold_unreachable("../../gold/token.h",0x65,"~Task_token");" (call_expression "do_gold_unreachable("../../gold/token.h",0x65,"~Task_token")" identifier (argument_list "("../../gold/token.h",0x65,"~Task_token")" ( (string_literal ""../../gold/token.h"" " string_content ") , number_literal , (string_literal ""~Task_token"" " string_content ") ))) ;) })) (if_statement "if (((this->token_).waiting_.head_ == (Task *)0x0) &&\n     ((this->token_).waiting_.tail_ == (Task *)0x0)) {\n    pcVar1 = (this->name_)._M_dataplus._M_p;\n    if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n         *)pcVar1 != &(this->name_).field_2) {\n      operator_delete(pcVar1);\n    }\n    return;\n  }" if (parenthesized_expression "(((this->token_).waiting_.head_ == (Task *)0x0) &&\n     ((this->token_).waiting_.tail_ == (Task *)0x0))" ( (binary_expression "((this->token_).waiting_.head_ == (Task *)0x0) &&\n     ((this->token_).waiting_.tail_ == (Task *)0x0)" (parenthesized_expression "((this->token_).waiting_.head_ == (Task *)0x0)" ( (binary_expression "(this->token_).waiting_.head_ == (Task *)0x0" (field_expression "(this->token_).waiting_.head_" (field_expression "(this->token_).waiting_" (parenthesized_expression "(this->token_)" ( (field_expression "this->token_" identifier -> field_identifier) )) . field_identifier) . field_identifier) == (cast_expression "(Task *)0x0" ( (type_descriptor "Task *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "((this->token_).waiting_.tail_ == (Task *)0x0)" ( (binary_expression "(this->token_).waiting_.tail_ == (Task *)0x0" (field_expression "(this->token_).waiting_.tail_" (field_expression "(this->token_).waiting_" (parenthesized_expression "(this->token_)" ( (field_expression "this->token_" identifier -> field_identifier) )) . field_identifier) . field_identifier) == (cast_expression "(Task *)0x0" ( (type_descriptor "Task *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n    pcVar1 = (this->name_)._M_dataplus._M_p;\n    if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n         *)pcVar1 != &(this->name_).field_2) {\n      operator_delete(pcVar1);\n    }\n    return;\n  }" { (expression_statement "pcVar1 = (this->name_)._M_dataplus._M_p;" (assignment_expression "pcVar1 = (this->name_)._M_dataplus._M_p" identifier = (field_expression "(this->name_)._M_dataplus._M_p" (field_expression "(this->name_)._M_dataplus" (parenthesized_expression "(this->name_)" ( (field_expression "this->name_" identifier -> field_identifier) )) . field_identifier) . field_identifier)) ;) (if_statement "if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n         *)pcVar1 != &(this->name_).field_2) {\n      operator_delete(pcVar1);\n    }" if (parenthesized_expression "((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n         *)pcVar1 != &(this->name_).field_2)" ( (parenthesized_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n         *)pcVar1 != &(this->name_).field_2)" ( (ERROR "anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::" (comma_expression "anon_union_16_2_edb7204a_for_basic_string<char,_std" (binary_expression "anon_union_16_2_edb7204a_for_basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (binary_expression "allocator<char>_>_9\n         *)pcVar1 != &(this->name_).field_2" (binary_expression "allocator<char>_>_9\n         *)pcVar1" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (binary_expression "_9\n         *)pcVar1" identifier * (ERROR ")" )) identifier)) != (pointer_expression "&(this->name_).field_2" & (field_expression "(this->name_).field_2" (parenthesized_expression "(this->name_)" ( (field_expression "this->name_" identifier -> field_identifier) )) . field_identifier))) )) )) (compound_statement "{\n      operator_delete(pcVar1);\n    }" { (expression_statement "operator_delete(pcVar1);" (call_expression "operator_delete(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier ))) ;) })) (return_statement "return;" return ;) })) comment (expression_statement "do_gold_unreachable("../../gold/token.h",0x2c,"~Task_list");" (call_expression "do_gold_unreachable("../../gold/token.h",0x2c,"~Task_list")" identifier (argument_list "("../../gold/token.h",0x2c,"~Task_list")" ( (string_literal ""../../gold/token.h"" " string_content ") , number_literal , (string_literal ""~Task_list"" " string_content ") ))) ;) })))
(translation_unit "void FUN_0005d070(undefined4 *param_1)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  \n  if (*(char *)(param_1 + 0xb) == '\0') {\n    if (param_1[0xd] != 0) {\n                    \n      FUN_0005f0b0("../../gold/fileread.cc",0xb2,"~File_read",param_1[0xd]);\n    }\n    if (*(char *)(param_1 + 7) != '\0') {\n      FUN_001434d0(PTR_DAT_00301eac,param_1[6],1);\n      param_1[6] = 0xffffffff;\n      *(undefined1 *)(param_1 + 7) = 0;\n    }\n    param_1[1] = 0;\n    *(undefined1 *)*param_1 = 0;\n    FUN_0005ca10(param_1,2);\n    puVar2 = (undefined4 *)param_1[0x16];\n    while (puVar2 != param_1 + 0x16) {\n      puVar1 = (undefined4 *)*puVar2;\n      FUN_001807a0(puVar2);\n      puVar2 = puVar1;\n    }\n    FUN_0005ed80(param_1 + 0x10,param_1[0x12]);\n    if (param_1[0xc] != 0) {\n                    \n      FUN_0005f0b0("../../gold/token.h",100,"~Task_token",param_1 + 0x16);\n    }\n    if (param_1[0xd] == 0) {\n      if ((param_1[0xe] == 0) && (param_1[0xf] == 0)) {\n        if ((undefined4 *)*param_1 != param_1 + 2) {\n          FUN_001807a0((undefined4 *)*param_1);\n        }\n        return;\n      }\n                    \n      FUN_0005f0b0("../../gold/token.h",0x2c,"~Task_list",0);\n    }\n  }\n  else {\n    FUN_0005b900();\n  }\n                    \n  FUN_0005f0b0("../../gold/token.h",0x65,"~Task_token",param_1);\n}\n\n" (function_definition "void FUN_0005d070(undefined4 *param_1)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  \n  if (*(char *)(param_1 + 0xb) == '\0') {\n    if (param_1[0xd] != 0) {\n                    \n      FUN_0005f0b0("../../gold/fileread.cc",0xb2,"~File_read",param_1[0xd]);\n    }\n    if (*(char *)(param_1 + 7) != '\0') {\n      FUN_001434d0(PTR_DAT_00301eac,param_1[6],1);\n      param_1[6] = 0xffffffff;\n      *(undefined1 *)(param_1 + 7) = 0;\n    }\n    param_1[1] = 0;\n    *(undefined1 *)*param_1 = 0;\n    FUN_0005ca10(param_1,2);\n    puVar2 = (undefined4 *)param_1[0x16];\n    while (puVar2 != param_1 + 0x16) {\n      puVar1 = (undefined4 *)*puVar2;\n      FUN_001807a0(puVar2);\n      puVar2 = puVar1;\n    }\n    FUN_0005ed80(param_1 + 0x10,param_1[0x12]);\n    if (param_1[0xc] != 0) {\n                    \n      FUN_0005f0b0("../../gold/token.h",100,"~Task_token",param_1 + 0x16);\n    }\n    if (param_1[0xd] == 0) {\n      if ((param_1[0xe] == 0) && (param_1[0xf] == 0)) {\n        if ((undefined4 *)*param_1 != param_1 + 2) {\n          FUN_001807a0((undefined4 *)*param_1);\n        }\n        return;\n      }\n                    \n      FUN_0005f0b0("../../gold/token.h",0x2c,"~Task_list",0);\n    }\n  }\n  else {\n    FUN_0005b900();\n  }\n                    \n  FUN_0005f0b0("../../gold/token.h",0x65,"~Task_token",param_1);\n}" primitive_type (function_declarator "FUN_0005d070(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  \n  if (*(char *)(param_1 + 0xb) == '\0') {\n    if (param_1[0xd] != 0) {\n                    \n      FUN_0005f0b0("../../gold/fileread.cc",0xb2,"~File_read",param_1[0xd]);\n    }\n    if (*(char *)(param_1 + 7) != '\0') {\n      FUN_001434d0(PTR_DAT_00301eac,param_1[6],1);\n      param_1[6] = 0xffffffff;\n      *(undefined1 *)(param_1 + 7) = 0;\n    }\n    param_1[1] = 0;\n    *(undefined1 *)*param_1 = 0;\n    FUN_0005ca10(param_1,2);\n    puVar2 = (undefined4 *)param_1[0x16];\n    while (puVar2 != param_1 + 0x16) {\n      puVar1 = (undefined4 *)*puVar2;\n      FUN_001807a0(puVar2);\n      puVar2 = puVar1;\n    }\n    FUN_0005ed80(param_1 + 0x10,param_1[0x12]);\n    if (param_1[0xc] != 0) {\n                    \n      FUN_0005f0b0("../../gold/token.h",100,"~Task_token",param_1 + 0x16);\n    }\n    if (param_1[0xd] == 0) {\n      if ((param_1[0xe] == 0) && (param_1[0xf] == 0)) {\n        if ((undefined4 *)*param_1 != param_1 + 2) {\n          FUN_001807a0((undefined4 *)*param_1);\n        }\n        return;\n      }\n                    \n      FUN_0005f0b0("../../gold/token.h",0x2c,"~Task_list",0);\n    }\n  }\n  else {\n    FUN_0005b900();\n  }\n                    \n  FUN_0005f0b0("../../gold/token.h",0x65,"~Task_token",param_1);\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (if_statement "if (*(char *)(param_1 + 0xb) == '\0') {\n    if (param_1[0xd] != 0) {\n                    \n      FUN_0005f0b0("../../gold/fileread.cc",0xb2,"~File_read",param_1[0xd]);\n    }\n    if (*(char *)(param_1 + 7) != '\0') {\n      FUN_001434d0(PTR_DAT_00301eac,param_1[6],1);\n      param_1[6] = 0xffffffff;\n      *(undefined1 *)(param_1 + 7) = 0;\n    }\n    param_1[1] = 0;\n    *(undefined1 *)*param_1 = 0;\n    FUN_0005ca10(param_1,2);\n    puVar2 = (undefined4 *)param_1[0x16];\n    while (puVar2 != param_1 + 0x16) {\n      puVar1 = (undefined4 *)*puVar2;\n      FUN_001807a0(puVar2);\n      puVar2 = puVar1;\n    }\n    FUN_0005ed80(param_1 + 0x10,param_1[0x12]);\n    if (param_1[0xc] != 0) {\n                    \n      FUN_0005f0b0("../../gold/token.h",100,"~Task_token",param_1 + 0x16);\n    }\n    if (param_1[0xd] == 0) {\n      if ((param_1[0xe] == 0) && (param_1[0xf] == 0)) {\n        if ((undefined4 *)*param_1 != param_1 + 2) {\n          FUN_001807a0((undefined4 *)*param_1);\n        }\n        return;\n      }\n                    \n      FUN_0005f0b0("../../gold/token.h",0x2c,"~Task_list",0);\n    }\n  }\n  else {\n    FUN_0005b900();\n  }" if (parenthesized_expression "(*(char *)(param_1 + 0xb) == '\0')" ( (binary_expression "*(char *)(param_1 + 0xb) == '\0'" (pointer_expression "*(char *)(param_1 + 0xb)" * (cast_expression "(char *)(param_1 + 0xb)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xb)" ( (binary_expression "param_1 + 0xb" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if (param_1[0xd] != 0) {\n                    \n      FUN_0005f0b0("../../gold/fileread.cc",0xb2,"~File_read",param_1[0xd]);\n    }\n    if (*(char *)(param_1 + 7) != '\0') {\n      FUN_001434d0(PTR_DAT_00301eac,param_1[6],1);\n      param_1[6] = 0xffffffff;\n      *(undefined1 *)(param_1 + 7) = 0;\n    }\n    param_1[1] = 0;\n    *(undefined1 *)*param_1 = 0;\n    FUN_0005ca10(param_1,2);\n    puVar2 = (undefined4 *)param_1[0x16];\n    while (puVar2 != param_1 + 0x16) {\n      puVar1 = (undefined4 *)*puVar2;\n      FUN_001807a0(puVar2);\n      puVar2 = puVar1;\n    }\n    FUN_0005ed80(param_1 + 0x10,param_1[0x12]);\n    if (param_1[0xc] != 0) {\n                    \n      FUN_0005f0b0("../../gold/token.h",100,"~Task_token",param_1 + 0x16);\n    }\n    if (param_1[0xd] == 0) {\n      if ((param_1[0xe] == 0) && (param_1[0xf] == 0)) {\n        if ((undefined4 *)*param_1 != param_1 + 2) {\n          FUN_001807a0((undefined4 *)*param_1);\n        }\n        return;\n      }\n                    \n      FUN_0005f0b0("../../gold/token.h",0x2c,"~Task_list",0);\n    }\n  }" { (if_statement "if (param_1[0xd] != 0) {\n                    \n      FUN_0005f0b0("../../gold/fileread.cc",0xb2,"~File_read",param_1[0xd]);\n    }" if (parenthesized_expression "(param_1[0xd] != 0)" ( (binary_expression "param_1[0xd] != 0" (subscript_expression "param_1[0xd]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n                    \n      FUN_0005f0b0("../../gold/fileread.cc",0xb2,"~File_read",param_1[0xd]);\n    }" { (expression_statement "FUN_0005f0b0("../../gold/fileread.cc",0xb2,"~File_read",param_1[0xd]);" (call_expression "FUN_0005f0b0("../../gold/fileread.cc",0xb2,"~File_read",param_1[0xd])" identifier (argument_list "("../../gold/fileread.cc",0xb2,"~File_read",param_1[0xd])" ( (string_literal ""../../gold/fileread.cc"" " string_content ") , number_literal , (string_literal ""~File_read"" " string_content ") , (subscript_expression "param_1[0xd]" identifier [ number_literal ]) ))) ;) })) (if_statement "if (*(char *)(param_1 + 7) != '\0') {\n      FUN_001434d0(PTR_DAT_00301eac,param_1[6],1);\n      param_1[6] = 0xffffffff;\n      *(undefined1 *)(param_1 + 7) = 0;\n    }" if (parenthesized_expression "(*(char *)(param_1 + 7) != '\0')" ( (binary_expression "*(char *)(param_1 + 7) != '\0'" (pointer_expression "*(char *)(param_1 + 7)" * (cast_expression "(char *)(param_1 + 7)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 7)" ( (binary_expression "param_1 + 7" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      FUN_001434d0(PTR_DAT_00301eac,param_1[6],1);\n      param_1[6] = 0xffffffff;\n      *(undefined1 *)(param_1 + 7) = 0;\n    }" { (expression_statement "FUN_001434d0(PTR_DAT_00301eac,param_1[6],1);" (call_expression "FUN_001434d0(PTR_DAT_00301eac,param_1[6],1)" identifier (argument_list "(PTR_DAT_00301eac,param_1[6],1)" ( identifier , (subscript_expression "param_1[6]" identifier [ number_literal ]) , number_literal ))) ;) (expression_statement "param_1[6] = 0xffffffff;" (assignment_expression "param_1[6] = 0xffffffff" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 7) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 7) = 0" (pointer_expression "*(undefined1 *)(param_1 + 7)" * (cast_expression "(undefined1 *)(param_1 + 7)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 7)" ( (binary_expression "param_1 + 7" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)*param_1 = 0;" (assignment_expression "*(undefined1 *)*param_1 = 0" (pointer_expression "*(undefined1 *)*param_1" * (cast_expression "(undefined1 *)*param_1" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) = number_literal) ;) (expression_statement "FUN_0005ca10(param_1,2);" (call_expression "FUN_0005ca10(param_1,2)" identifier (argument_list "(param_1,2)" ( identifier , number_literal ))) ;) (expression_statement "puVar2 = (undefined4 *)param_1[0x16];" (assignment_expression "puVar2 = (undefined4 *)param_1[0x16]" identifier = (cast_expression "(undefined4 *)param_1[0x16]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x16]" identifier [ number_literal ]))) ;) (while_statement "while (puVar2 != param_1 + 0x16) {\n      puVar1 = (undefined4 *)*puVar2;\n      FUN_001807a0(puVar2);\n      puVar2 = puVar1;\n    }" while (parenthesized_expression "(puVar2 != param_1 + 0x16)" ( (binary_expression "puVar2 != param_1 + 0x16" identifier != (binary_expression "param_1 + 0x16" identifier + number_literal)) )) (compound_statement "{\n      puVar1 = (undefined4 *)*puVar2;\n      FUN_001807a0(puVar2);\n      puVar2 = puVar1;\n    }" { (expression_statement "puVar1 = (undefined4 *)*puVar2;" (assignment_expression "puVar1 = (undefined4 *)*puVar2" identifier = (cast_expression "(undefined4 *)*puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier))) ;) (expression_statement "FUN_001807a0(puVar2);" (call_expression "FUN_001807a0(puVar2)" identifier (argument_list "(puVar2)" ( identifier ))) ;) (expression_statement "puVar2 = puVar1;" (assignment_expression "puVar2 = puVar1" identifier = identifier) ;) })) (expression_statement "FUN_0005ed80(param_1 + 0x10,param_1[0x12]);" (call_expression "FUN_0005ed80(param_1 + 0x10,param_1[0x12])" identifier (argument_list "(param_1 + 0x10,param_1[0x12])" ( (binary_expression "param_1 + 0x10" identifier + number_literal) , (subscript_expression "param_1[0x12]" identifier [ number_literal ]) ))) ;) (if_statement "if (param_1[0xc] != 0) {\n                    \n      FUN_0005f0b0("../../gold/token.h",100,"~Task_token",param_1 + 0x16);\n    }" if (parenthesized_expression "(param_1[0xc] != 0)" ( (binary_expression "param_1[0xc] != 0" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n                    \n      FUN_0005f0b0("../../gold/token.h",100,"~Task_token",param_1 + 0x16);\n    }" { (expression_statement "FUN_0005f0b0("../../gold/token.h",100,"~Task_token",param_1 + 0x16);" (call_expression "FUN_0005f0b0("../../gold/token.h",100,"~Task_token",param_1 + 0x16)" identifier (argument_list "("../../gold/token.h",100,"~Task_token",param_1 + 0x16)" ( (string_literal ""../../gold/token.h"" " string_content ") , number_literal , (string_literal ""~Task_token"" " string_content ") , (binary_expression "param_1 + 0x16" identifier + number_literal) ))) ;) })) (if_statement "if (param_1[0xd] == 0) {\n      if ((param_1[0xe] == 0) && (param_1[0xf] == 0)) {\n        if ((undefined4 *)*param_1 != param_1 + 2) {\n          FUN_001807a0((undefined4 *)*param_1);\n        }\n        return;\n      }\n                    \n      FUN_0005f0b0("../../gold/token.h",0x2c,"~Task_list",0);\n    }" if (parenthesized_expression "(param_1[0xd] == 0)" ( (binary_expression "param_1[0xd] == 0" (subscript_expression "param_1[0xd]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n      if ((param_1[0xe] == 0) && (param_1[0xf] == 0)) {\n        if ((undefined4 *)*param_1 != param_1 + 2) {\n          FUN_001807a0((undefined4 *)*param_1);\n        }\n        return;\n      }\n                    \n      FUN_0005f0b0("../../gold/token.h",0x2c,"~Task_list",0);\n    }" { (if_statement "if ((param_1[0xe] == 0) && (param_1[0xf] == 0)) {\n        if ((undefined4 *)*param_1 != param_1 + 2) {\n          FUN_001807a0((undefined4 *)*param_1);\n        }\n        return;\n      }" if (parenthesized_expression "((param_1[0xe] == 0) && (param_1[0xf] == 0))" ( (binary_expression "(param_1[0xe] == 0) && (param_1[0xf] == 0)" (parenthesized_expression "(param_1[0xe] == 0)" ( (binary_expression "param_1[0xe] == 0" (subscript_expression "param_1[0xe]" identifier [ number_literal ]) == number_literal) )) && (parenthesized_expression "(param_1[0xf] == 0)" ( (binary_expression "param_1[0xf] == 0" (subscript_expression "param_1[0xf]" identifier [ number_literal ]) == number_literal) ))) )) (compound_statement "{\n        if ((undefined4 *)*param_1 != param_1 + 2) {\n          FUN_001807a0((undefined4 *)*param_1);\n        }\n        return;\n      }" { (if_statement "if ((undefined4 *)*param_1 != param_1 + 2) {\n          FUN_001807a0((undefined4 *)*param_1);\n        }" if (parenthesized_expression "((undefined4 *)*param_1 != param_1 + 2)" ( (binary_expression "(undefined4 *)*param_1 != param_1 + 2" (cast_expression "(undefined4 *)*param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) != (binary_expression "param_1 + 2" identifier + number_literal)) )) (compound_statement "{\n          FUN_001807a0((undefined4 *)*param_1);\n        }" { (expression_statement "FUN_001807a0((undefined4 *)*param_1);" (call_expression "FUN_001807a0((undefined4 *)*param_1)" identifier (argument_list "((undefined4 *)*param_1)" ( (cast_expression "(undefined4 *)*param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) ))) ;) })) (return_statement "return;" return ;) })) (expression_statement "FUN_0005f0b0("../../gold/token.h",0x2c,"~Task_list",0);" (call_expression "FUN_0005f0b0("../../gold/token.h",0x2c,"~Task_list",0)" identifier (argument_list "("../../gold/token.h",0x2c,"~Task_list",0)" ( (string_literal ""../../gold/token.h"" " string_content ") , number_literal , (string_literal ""~Task_list"" " string_content ") , number_literal ))) ;) })) }) (else_clause "else {\n    FUN_0005b900();\n  }" else (compound_statement "{\n    FUN_0005b900();\n  }" { (expression_statement "FUN_0005b900();" (call_expression "FUN_0005b900()" identifier (argument_list "()" ( ))) ;) }))) (expression_statement "FUN_0005f0b0("../../gold/token.h",0x65,"~Task_token",param_1);" (call_expression "FUN_0005f0b0("../../gold/token.h",0x65,"~Task_token",param_1)" identifier (argument_list "("../../gold/token.h",0x65,"~Task_token",param_1)" ( (string_literal ""../../gold/token.h"" " string_content ") , number_literal , (string_literal ""~Task_token"" " string_content ") , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , (subscript_expression IDENT [ LIT ]) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (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 TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (subscript_expression IDENT [ LIT ]) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , (binary_expression IDENT + LIT) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) != (binary_expression IDENT + LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) ))) ;) })) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , LIT ))) ;) })) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "void FUN_0005d070(undefined4 *param_1)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  \n  if (*(char *)(param_1 + 0xb) == '\0') {\n    if (param_1[0xd] != 0) {\n                    \n      FUN_0005f0b0("../../gold/fileread.cc",0xb2,"~File_read",param_1[0xd]);\n    }\n    if (*(char *)(param_1 + 7) != '\0') {\n      FUN_001434d0(PTR_DAT_00301eac,param_1[6],1);\n      param_1[6] = 0xffffffff;\n      *(undefined1 *)(param_1 + 7) = 0;\n    }\n    param_1[1] = 0;\n    *(undefined1 *)*param_1 = 0;\n    FUN_0005ca10(param_1,2);\n    puVar2 = (undefined4 *)param_1[0x16];\n    while (puVar2 != param_1 + 0x16) {\n      puVar1 = (undefined4 *)*puVar2;\n      FUN_001807a0(puVar2);\n      puVar2 = puVar1;\n    }\n    FUN_0005ed80(param_1 + 0x10,param_1[0x12]);\n    if (param_1[0xc] != 0) {\n                    \n      FUN_0005f0b0("../../gold/token.h",100,"~Task_token",param_1 + 0x16);\n    }\n    if (param_1[0xd] == 0) {\n      if ((param_1[0xe] == 0) && (param_1[0xf] == 0)) {\n        if ((undefined4 *)*param_1 != param_1 + 2) {\n          FUN_001807a0((undefined4 *)*param_1);\n        }\n        return;\n      }\n                    \n      FUN_0005f0b0("../../gold/token.h",0x2c,"~Task_list",0);\n    }\n  }\n  else {\n    FUN_0005b900();\n  }\n                    \n  FUN_0005f0b0("../../gold/token.h",0x65,"~Task_token",param_1);\n}" (primitive_type "void") (function_declarator "FUN_0005d070(undefined4 *param_1)" (identifier "FUN_0005d070") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  \n  if (*(char *)(param_1 + 0xb) == '\0') {\n    if (param_1[0xd] != 0) {\n                    \n      FUN_0005f0b0("../../gold/fileread.cc",0xb2,"~File_read",param_1[0xd]);\n    }\n    if (*(char *)(param_1 + 7) != '\0') {\n      FUN_001434d0(PTR_DAT_00301eac,param_1[6],1);\n      param_1[6] = 0xffffffff;\n      *(undefined1 *)(param_1 + 7) = 0;\n    }\n    param_1[1] = 0;\n    *(undefined1 *)*param_1 = 0;\n    FUN_0005ca10(param_1,2);\n    puVar2 = (undefined4 *)param_1[0x16];\n    while (puVar2 != param_1 + 0x16) {\n      puVar1 = (undefined4 *)*puVar2;\n      FUN_001807a0(puVar2);\n      puVar2 = puVar1;\n    }\n    FUN_0005ed80(param_1 + 0x10,param_1[0x12]);\n    if (param_1[0xc] != 0) {\n                    \n      FUN_0005f0b0("../../gold/token.h",100,"~Task_token",param_1 + 0x16);\n    }\n    if (param_1[0xd] == 0) {\n      if ((param_1[0xe] == 0) && (param_1[0xf] == 0)) {\n        if ((undefined4 *)*param_1 != param_1 + 2) {\n          FUN_001807a0((undefined4 *)*param_1);\n        }\n        return;\n      }\n                    \n      FUN_0005f0b0("../../gold/token.h",0x2c,"~Task_list",0);\n    }\n  }\n  else {\n    FUN_0005b900();\n  }\n                    \n  FUN_0005f0b0("../../gold/token.h",0x65,"~Task_token",param_1);\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (if_statement "if (*(char *)(param_1 + 0xb) == '\0') {\n    if (param_1[0xd] != 0) {\n                    \n      FUN_0005f0b0("../../gold/fileread.cc",0xb2,"~File_read",param_1[0xd]);\n    }\n    if (*(char *)(param_1 + 7) != '\0') {\n      FUN_001434d0(PTR_DAT_00301eac,param_1[6],1);\n      param_1[6] = 0xffffffff;\n      *(undefined1 *)(param_1 + 7) = 0;\n    }\n    param_1[1] = 0;\n    *(undefined1 *)*param_1 = 0;\n    FUN_0005ca10(param_1,2);\n    puVar2 = (undefined4 *)param_1[0x16];\n    while (puVar2 != param_1 + 0x16) {\n      puVar1 = (undefined4 *)*puVar2;\n      FUN_001807a0(puVar2);\n      puVar2 = puVar1;\n    }\n    FUN_0005ed80(param_1 + 0x10,param_1[0x12]);\n    if (param_1[0xc] != 0) {\n                    \n      FUN_0005f0b0("../../gold/token.h",100,"~Task_token",param_1 + 0x16);\n    }\n    if (param_1[0xd] == 0) {\n      if ((param_1[0xe] == 0) && (param_1[0xf] == 0)) {\n        if ((undefined4 *)*param_1 != param_1 + 2) {\n          FUN_001807a0((undefined4 *)*param_1);\n        }\n        return;\n      }\n                    \n      FUN_0005f0b0("../../gold/token.h",0x2c,"~Task_list",0);\n    }\n  }\n  else {\n    FUN_0005b900();\n  }" (if "if") (parenthesized_expression "(*(char *)(param_1 + 0xb) == '\0')" (( "(") (binary_expression "*(char *)(param_1 + 0xb) == '\0'" (pointer_expression "*(char *)(param_1 + 0xb)" (* "*") (cast_expression "(char *)(param_1 + 0xb)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xb)" (( "(") (binary_expression "param_1 + 0xb" (identifier "param_1") (+ "+") (number_literal "0xb")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    if (param_1[0xd] != 0) {\n                    \n      FUN_0005f0b0("../../gold/fileread.cc",0xb2,"~File_read",param_1[0xd]);\n    }\n    if (*(char *)(param_1 + 7) != '\0') {\n      FUN_001434d0(PTR_DAT_00301eac,param_1[6],1);\n      param_1[6] = 0xffffffff;\n      *(undefined1 *)(param_1 + 7) = 0;\n    }\n    param_1[1] = 0;\n    *(undefined1 *)*param_1 = 0;\n    FUN_0005ca10(param_1,2);\n    puVar2 = (undefined4 *)param_1[0x16];\n    while (puVar2 != param_1 + 0x16) {\n      puVar1 = (undefined4 *)*puVar2;\n      FUN_001807a0(puVar2);\n      puVar2 = puVar1;\n    }\n    FUN_0005ed80(param_1 + 0x10,param_1[0x12]);\n    if (param_1[0xc] != 0) {\n                    \n      FUN_0005f0b0("../../gold/token.h",100,"~Task_token",param_1 + 0x16);\n    }\n    if (param_1[0xd] == 0) {\n      if ((param_1[0xe] == 0) && (param_1[0xf] == 0)) {\n        if ((undefined4 *)*param_1 != param_1 + 2) {\n          FUN_001807a0((undefined4 *)*param_1);\n        }\n        return;\n      }\n                    \n      FUN_0005f0b0("../../gold/token.h",0x2c,"~Task_list",0);\n    }\n  }" ({ "{") (if_statement "if (param_1[0xd] != 0) {\n                    \n      FUN_0005f0b0("../../gold/fileread.cc",0xb2,"~File_read",param_1[0xd]);\n    }" (if "if") (parenthesized_expression "(param_1[0xd] != 0)" (( "(") (binary_expression "param_1[0xd] != 0" (subscript_expression "param_1[0xd]" (identifier "param_1") ([ "[") (number_literal "0xd") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    \n      FUN_0005f0b0("../../gold/fileread.cc",0xb2,"~File_read",param_1[0xd]);\n    }" ({ "{") (expression_statement "FUN_0005f0b0("../../gold/fileread.cc",0xb2,"~File_read",param_1[0xd]);" (call_expression "FUN_0005f0b0("../../gold/fileread.cc",0xb2,"~File_read",param_1[0xd])" (identifier "FUN_0005f0b0") (argument_list "("../../gold/fileread.cc",0xb2,"~File_read",param_1[0xd])" (( "(") (string_literal ""../../gold/fileread.cc"" (" """) (string_content "../../gold/fileread.cc") (" """)) (, ",") (number_literal "0xb2") (, ",") (string_literal ""~File_read"" (" """) (string_content "~File_read") (" """)) (, ",") (subscript_expression "param_1[0xd]" (identifier "param_1") ([ "[") (number_literal "0xd") (] "]")) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(char *)(param_1 + 7) != '\0') {\n      FUN_001434d0(PTR_DAT_00301eac,param_1[6],1);\n      param_1[6] = 0xffffffff;\n      *(undefined1 *)(param_1 + 7) = 0;\n    }" (if "if") (parenthesized_expression "(*(char *)(param_1 + 7) != '\0')" (( "(") (binary_expression "*(char *)(param_1 + 7) != '\0'" (pointer_expression "*(char *)(param_1 + 7)" (* "*") (cast_expression "(char *)(param_1 + 7)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 7)" (( "(") (binary_expression "param_1 + 7" (identifier "param_1") (+ "+") (number_literal "7")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      FUN_001434d0(PTR_DAT_00301eac,param_1[6],1);\n      param_1[6] = 0xffffffff;\n      *(undefined1 *)(param_1 + 7) = 0;\n    }" ({ "{") (expression_statement "FUN_001434d0(PTR_DAT_00301eac,param_1[6],1);" (call_expression "FUN_001434d0(PTR_DAT_00301eac,param_1[6],1)" (identifier "FUN_001434d0") (argument_list "(PTR_DAT_00301eac,param_1[6],1)" (( "(") (identifier "PTR_DAT_00301eac") (, ",") (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (, ",") (number_literal "1") () ")"))) (; ";")) (expression_statement "param_1[6] = 0xffffffff;" (assignment_expression "param_1[6] = 0xffffffff" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 7) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 7) = 0" (pointer_expression "*(undefined1 *)(param_1 + 7)" (* "*") (cast_expression "(undefined1 *)(param_1 + 7)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 7)" (( "(") (binary_expression "param_1 + 7" (identifier "param_1") (+ "+") (number_literal "7")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)*param_1 = 0;" (assignment_expression "*(undefined1 *)*param_1 = 0" (pointer_expression "*(undefined1 *)*param_1" (* "*") (cast_expression "(undefined1 *)*param_1" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_0005ca10(param_1,2);" (call_expression "FUN_0005ca10(param_1,2)" (identifier "FUN_0005ca10") (argument_list "(param_1,2)" (( "(") (identifier "param_1") (, ",") (number_literal "2") () ")"))) (; ";")) (expression_statement "puVar2 = (undefined4 *)param_1[0x16];" (assignment_expression "puVar2 = (undefined4 *)param_1[0x16]" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)param_1[0x16]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[0x16]" (identifier "param_1") ([ "[") (number_literal "0x16") (] "]")))) (; ";")) (while_statement "while (puVar2 != param_1 + 0x16) {\n      puVar1 = (undefined4 *)*puVar2;\n      FUN_001807a0(puVar2);\n      puVar2 = puVar1;\n    }" (while "while") (parenthesized_expression "(puVar2 != param_1 + 0x16)" (( "(") (binary_expression "puVar2 != param_1 + 0x16" (identifier "puVar2") (!= "!=") (binary_expression "param_1 + 0x16" (identifier "param_1") (+ "+") (number_literal "0x16"))) () ")")) (compound_statement "{\n      puVar1 = (undefined4 *)*puVar2;\n      FUN_001807a0(puVar2);\n      puVar2 = puVar1;\n    }" ({ "{") (expression_statement "puVar1 = (undefined4 *)*puVar2;" (assignment_expression "puVar1 = (undefined4 *)*puVar2" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)*puVar2" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar2" (* "*") (identifier "puVar2")))) (; ";")) (expression_statement "FUN_001807a0(puVar2);" (call_expression "FUN_001807a0(puVar2)" (identifier "FUN_001807a0") (argument_list "(puVar2)" (( "(") (identifier "puVar2") () ")"))) (; ";")) (expression_statement "puVar2 = puVar1;" (assignment_expression "puVar2 = puVar1" (identifier "puVar2") (= "=") (identifier "puVar1")) (; ";")) (} "}"))) (expression_statement "FUN_0005ed80(param_1 + 0x10,param_1[0x12]);" (call_expression "FUN_0005ed80(param_1 + 0x10,param_1[0x12])" (identifier "FUN_0005ed80") (argument_list "(param_1 + 0x10,param_1[0x12])" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) (, ",") (subscript_expression "param_1[0x12]" (identifier "param_1") ([ "[") (number_literal "0x12") (] "]")) () ")"))) (; ";")) (if_statement "if (param_1[0xc] != 0) {\n                    \n      FUN_0005f0b0("../../gold/token.h",100,"~Task_token",param_1 + 0x16);\n    }" (if "if") (parenthesized_expression "(param_1[0xc] != 0)" (( "(") (binary_expression "param_1[0xc] != 0" (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    \n      FUN_0005f0b0("../../gold/token.h",100,"~Task_token",param_1 + 0x16);\n    }" ({ "{") (expression_statement "FUN_0005f0b0("../../gold/token.h",100,"~Task_token",param_1 + 0x16);" (call_expression "FUN_0005f0b0("../../gold/token.h",100,"~Task_token",param_1 + 0x16)" (identifier "FUN_0005f0b0") (argument_list "("../../gold/token.h",100,"~Task_token",param_1 + 0x16)" (( "(") (string_literal ""../../gold/token.h"" (" """) (string_content "../../gold/token.h") (" """)) (, ",") (number_literal "100") (, ",") (string_literal ""~Task_token"" (" """) (string_content "~Task_token") (" """)) (, ",") (binary_expression "param_1 + 0x16" (identifier "param_1") (+ "+") (number_literal "0x16")) () ")"))) (; ";")) (} "}"))) (if_statement "if (param_1[0xd] == 0) {\n      if ((param_1[0xe] == 0) && (param_1[0xf] == 0)) {\n        if ((undefined4 *)*param_1 != param_1 + 2) {\n          FUN_001807a0((undefined4 *)*param_1);\n        }\n        return;\n      }\n                    \n      FUN_0005f0b0("../../gold/token.h",0x2c,"~Task_list",0);\n    }" (if "if") (parenthesized_expression "(param_1[0xd] == 0)" (( "(") (binary_expression "param_1[0xd] == 0" (subscript_expression "param_1[0xd]" (identifier "param_1") ([ "[") (number_literal "0xd") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      if ((param_1[0xe] == 0) && (param_1[0xf] == 0)) {\n        if ((undefined4 *)*param_1 != param_1 + 2) {\n          FUN_001807a0((undefined4 *)*param_1);\n        }\n        return;\n      }\n                    \n      FUN_0005f0b0("../../gold/token.h",0x2c,"~Task_list",0);\n    }" ({ "{") (if_statement "if ((param_1[0xe] == 0) && (param_1[0xf] == 0)) {\n        if ((undefined4 *)*param_1 != param_1 + 2) {\n          FUN_001807a0((undefined4 *)*param_1);\n        }\n        return;\n      }" (if "if") (parenthesized_expression "((param_1[0xe] == 0) && (param_1[0xf] == 0))" (( "(") (binary_expression "(param_1[0xe] == 0) && (param_1[0xf] == 0)" (parenthesized_expression "(param_1[0xe] == 0)" (( "(") (binary_expression "param_1[0xe] == 0" (subscript_expression "param_1[0xe]" (identifier "param_1") ([ "[") (number_literal "0xe") (] "]")) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(param_1[0xf] == 0)" (( "(") (binary_expression "param_1[0xf] == 0" (subscript_expression "param_1[0xf]" (identifier "param_1") ([ "[") (number_literal "0xf") (] "]")) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n        if ((undefined4 *)*param_1 != param_1 + 2) {\n          FUN_001807a0((undefined4 *)*param_1);\n        }\n        return;\n      }" ({ "{") (if_statement "if ((undefined4 *)*param_1 != param_1 + 2) {\n          FUN_001807a0((undefined4 *)*param_1);\n        }" (if "if") (parenthesized_expression "((undefined4 *)*param_1 != param_1 + 2)" (( "(") (binary_expression "(undefined4 *)*param_1 != param_1 + 2" (cast_expression "(undefined4 *)*param_1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (!= "!=") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2"))) () ")")) (compound_statement "{\n          FUN_001807a0((undefined4 *)*param_1);\n        }" ({ "{") (expression_statement "FUN_001807a0((undefined4 *)*param_1);" (call_expression "FUN_001807a0((undefined4 *)*param_1)" (identifier "FUN_001807a0") (argument_list "((undefined4 *)*param_1)" (( "(") (cast_expression "(undefined4 *)*param_1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0005f0b0("../../gold/token.h",0x2c,"~Task_list",0);" (call_expression "FUN_0005f0b0("../../gold/token.h",0x2c,"~Task_list",0)" (identifier "FUN_0005f0b0") (argument_list "("../../gold/token.h",0x2c,"~Task_list",0)" (( "(") (string_literal ""../../gold/token.h"" (" """) (string_content "../../gold/token.h") (" """)) (, ",") (number_literal "0x2c") (, ",") (string_literal ""~Task_list"" (" """) (string_content "~Task_list") (" """)) (, ",") (number_literal "0") () ")"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    FUN_0005b900();\n  }" (else "else") (compound_statement "{\n    FUN_0005b900();\n  }" ({ "{") (expression_statement "FUN_0005b900();" (call_expression "FUN_0005b900()" (identifier "FUN_0005b900") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (expression_statement "FUN_0005f0b0("../../gold/token.h",0x65,"~Task_token",param_1);" (call_expression "FUN_0005f0b0("../../gold/token.h",0x65,"~Task_token",param_1)" (identifier "FUN_0005f0b0") (argument_list "("../../gold/token.h",0x65,"~Task_token",param_1)" (( "(") (string_literal ""../../gold/token.h"" (" """) (string_content "../../gold/token.h") (" """)) (, ",") (number_literal "0x65") (, ",") (string_literal ""~Task_token"" (" """) (string_content "~Task_token") (" """)) (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Type propagation algorithm not settling */
/* DWARF original prototype: void ~File_read(File_read * this, int __in_chrg) */

void __thiscall gold::function_1::~function_1(function_1 *this,int __in_chrg)

{
  type_1 var_12;
  type_2 *p_Var2;
  type_2 *var_6;
  type_3 *in_stack_ffffffe4;
  type_3 *in_stack_ffffffe8;
  
  if ((this->token_).is_blocker_ != false) {
                    /* WARNING: Subroutine does not return */
    Task_token::var_1(in_stack_ffffffe4,in_stack_ffffffe8);
  }
  if ((this->token_).writer_ != (type_4 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_2("../../gold/fileread.cc",0xb2,"~File_read");
  }
  if (this->is_descriptor_opened_ != false) {
    Descriptors::var_3((type_5 *)PTR_descriptors_00301eac,this->descriptor_,true);
    this->descriptor_ = -1;
    this->is_descriptor_opened_ = false;
  }
  var_12 = (this->name_)._M_dataplus._M_p;
  (this->name_)._M_string_length = 0;
  *var_12 = '\0';
  var_4(this,CLEAR_VIEWS_ALL);
  var_6 = (this->saved_views_).
           super__List_base<gold::function_1::View*,_std::var_9<gold::function_1::View*>var_5>._M_impl
           ._M_node.super__List_node_base._M_next;
  while (var_6 != (type_2 *)&this->saved_views_) {
    p_Var2 = var_6->_M_next;
    var_7(var_6);
    var_6 = p_Var2;
  }
  std::
  _Rb_tree<std::pair<long_long_int,_unsigned_int>,_std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::function_1::View*>,_std::_Select1st<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::function_1::View*>var_5>,_std::less<std::pair<long_long_int,_unsigned_int>var_5>,_std::var_9<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::function_1::View*>var_5>var_5>
  ::var_8(&(this->views_)._M_t,
             (_Link_type)(this->views_)._M_t._M_impl.super__Rb_tree_header._M_header._M_parent);
  if ((this->token_).blockers_ != 0) {
                    /* WARNING: Subroutine does not return */
    var_2("../../gold/token.h",100,"~Task_token");
  }
  if ((this->token_).writer_ != (type_4 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_2("../../gold/token.h",0x65,"~Task_token");
  }
  if (((this->token_).waiting_.head_ == (type_4 *)0x0) &&
     ((this->token_).waiting_.tail_ == (type_4 *)0x0)) {
    var_12 = (this->name_)._M_dataplus._M_p;
    if ((anon_union_16_2_edb7204a_for_basic_string<var_10,_std::char_traits<var_10>,_std::var_9<var_10>var_5>var_11
         *)var_12 != &(this->name_).field_2) {
      var_7(var_12);
    }
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_2("../../gold/token.h",0x2c,"~Task_list");
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void MASKED(undefined4 *param_1)

{
  undefined4 *puVar1;
  undefined4 *puVar2;
  
  if (*(char *)(param_1 + 0xb) == '\0') {
    if (param_1[0xd] != 0) {
                    /* WARNING: Subroutine does not return */
      FUN_0005f0b0("../../gold/fileread.cc",0xb2,"~File_read",param_1[0xd]);
    }
    if (*(char *)(param_1 + 7) != '\0') {
      FUN_001434d0(PTR_DAT_00301eac,param_1[6],1);
      param_1[6] = 0xffffffff;
      *(undefined1 *)(param_1 + 7) = 0;
    }
    param_1[1] = 0;
    *(undefined1 *)*param_1 = 0;
    FUN_0005ca10(param_1,2);
    puVar2 = (undefined4 *)param_1[0x16];
    while (puVar2 != param_1 + 0x16) {
      puVar1 = (undefined4 *)*puVar2;
      FUN_001807a0(puVar2);
      puVar2 = puVar1;
    }
    FUN_0005ed80(param_1 + 0x10,param_1[0x12]);
    if (param_1[0xc] != 0) {
                    /* WARNING: Subroutine does not return */
      FUN_0005f0b0("../../gold/token.h",100,"~Task_token",param_1 + 0x16);
    }
    if (param_1[0xd] == 0) {
      if ((param_1[0xe] == 0) && (param_1[0xf] == 0)) {
        if ((undefined4 *)*param_1 != param_1 + 2) {
          FUN_001807a0((undefined4 *)*param_1);
        }
        return;
      }
                    /* WARNING: Subroutine does not return */
      FUN_0005f0b0("../../gold/token.h",0x2c,"~Task_list",0);
    }
  }
  else {
    FUN_0005b900();
  }
                    /* WARNING: Subroutine does not return */
  FUN_0005f0b0("../../gold/token.h",0x65,"~Task_token",param_1);
}

