
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void ~View(View * this, int __in_chrg) */

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

{
  Data_ownership DVar1;
  Lock *pLVar2;
  int iVar3;
  int *piVar4;
  char *pcVar5;
  char *format;
  bool bVar6;
  
  if (0 < this->lock_count_) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/fileread.cc",0x84,"~View");
  }
  DVar1 = this->data_ownership_;
  if (DVar1 != DATA_ALLOCATED_ARRAY) {
    if (DVar1 != DATA_NOT_OWNED) {
      if (DVar1 != DATA_MMAPPED) {
                    /* WARNING: Subroutine does not return */
        do_gold_unreachable("../../gold/fileread.cc",0x97,"~View");
      }
      iVar3 = munmap(this->data_,this->size_);
      if (iVar3 != 0) {
        piVar4 = __errno_location();
        pcVar5 = strerror(*piVar4);
        format = (char *)gettext("munmap failed: %s");
        gold_warning(format,pcVar5);
      }
      if ((parameters->options_ == (General_options *)0x0) ||
         ((parameters->options_->stats_).value != false)) {
        Initialize_lock::initialize(&file_counts_initialize_lock);
        pLVar2 = file_counts_lock;
        if (file_counts_lock != (Lock *)0x0) {
          (*file_counts_lock->lock_->_vptr_Lock_impl[2])(file_counts_lock->lock_);
          bVar6 = (uint)current_mapped_bytes < this->size_;
          current_mapped_bytes._0_4_ = (uint)current_mapped_bytes - this->size_;
          current_mapped_bytes._4_4_ = current_mapped_bytes._4_4_ - (uint)bVar6;
                    /* WARNING: Could not recover jumptable at 0x000666b4. Too many branches */
                    /* WARNING: Treating indirect jump as call */
          (*pLVar2->lock_->_vptr_Lock_impl[3])();
          return;
        }
        bVar6 = (uint)current_mapped_bytes < this->size_;
        current_mapped_bytes._0_4_ = (uint)current_mapped_bytes - this->size_;
        current_mapped_bytes._4_4_ = current_mapped_bytes._4_4_ - (uint)bVar6;
      }
    }
    return;
  }
  free(this->data_);
  return;
}



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

void FUN_00066600(int param_1)

{
  undefined4 *puVar1;
  int iVar2;
  int *piVar3;
  char *pcVar4;
  undefined4 uVar5;
  bool bVar6;
  
  if (0 < *(int *)(param_1 + 0x10)) {
                    /* WARNING: Subroutine does not return */
    FUN_00069d00("../../gold/fileread.cc",0x84,"~View",param_1);
  }
  iVar2 = *(int *)(param_1 + 0x1c);
  if (iVar2 != 1) {
    if (iVar2 != 0) {
      if (iVar2 != 2) {
                    /* WARNING: Subroutine does not return */
        FUN_00069d00("../../gold/fileread.cc",0x97,"~View",iVar2);
      }
      iVar2 = munmap(*(void **)(param_1 + 0xc),*(size_t *)(param_1 + 8));
      if (iVar2 != 0) {
        piVar3 = __errno_location();
        pcVar4 = strerror(*piVar3);
        uVar5 = gettext("munmap failed: %s");
        FUN_000654e0(uVar5,pcVar4);
      }
      if ((*(int *)(DAT_0038f378 + 8) == 0) ||
         (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x3a75) != '\0')) {
        FUN_0006cf30(&DAT_0038f470);
        puVar1 = DAT_0038f484;
        if (DAT_0038f484 != (undefined4 *)0x0) {
          (**(code **)(*(int *)*DAT_0038f484 + 8))((int *)*DAT_0038f484);
          bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);
          DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);
          DAT_0038f464 = DAT_0038f464 - (uint)bVar6;
                    /* WARNING: Could not recover jumptable at 0x000666b4. Too many branches */
                    /* WARNING: Treating indirect jump as call */
          (**(code **)(*(int *)*puVar1 + 0xc))();
          return;
        }
        bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);
        DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);
        DAT_0038f464 = DAT_0038f464 - (uint)bVar6;
      }
    }
    return;
  }
  free(*(void **)(param_1 + 0xc));
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV ESI,dword ptr [ESP + 0x10]
CALL 0x00035840
ADD EBX,0x3289f4
MOV EDI,dword ptr [ESI + 0x10]
TEST EDI,EDI
JG 0x00066739
MOV EAX,dword ptr [ESI + 0x1c]
CMP EAX,0x1
JZ 0x000666d8
TEST EAX,EAX
JZ 0x000666d1
CMP EAX,0x2
JNZ 0x00066720
SUB ESP,0x8
PUSH dword ptr [ESI + 0x8]
PUSH dword ptr [ESI + 0xc]
CALL 0x000299e0
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x000666f0
LEA EAX,[EBX + 0x378]
MOV EAX,dword ptr [EAX]
MOV EAX,dword ptr [EAX + 0x8]
TEST EAX,EAX
JZ 0x0006666b
CMP byte ptr [EAX + 0x3a75],0x0
JZ 0x000666d1
SUB ESP,0xc
LEA EAX,[EBX + 0x470]
PUSH EAX
CALL 0x0006cf30
MOV EDI,dword ptr [EBX + 0x484]
ADD ESP,0x10
TEST EDI,EDI
JZ 0x000666c0
MOV EAX,dword ptr [EDI]
SUB ESP,0xc
MOV EDX,dword ptr [EAX]
PUSH EAX
CALL dword ptr [EDX + 0x8]
MOV EAX,dword ptr [ESI + 0x8]
XOR EDX,EDX
SUB dword ptr [EBX + 0x460],EAX
MOV EAX,dword ptr [EDI]
SBB dword ptr [EBX + 0x464],EDX
ADD ESP,0x10
MOV EDX,dword ptr [EAX]
MOV dword ptr [ESP + 0x10],EAX
POP EBX
MOV EAX,dword ptr [EDX + 0xc]
POP ESI
POP EDI
JMP EAX
MOV EAX,dword ptr [ESI + 0x8]
XOR EDX,EDX
SUB dword ptr [EBX + 0x460],EAX
SBB dword ptr [EBX + 0x464],EDX
POP EBX
POP ESI
POP EDI
RET
SUB ESP,0xc
PUSH dword ptr [ESI + 0xc]
CALL 0x00029410
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
RET
CALL 0x00029090
SUB ESP,0xc
PUSH dword ptr [EAX]
CALL 0x00029100
MOV EDI,EAX
LEA EAX,[EBX + 0xffef836b]
MOV dword ptr [ESP],EAX
CALL 0x000293b0
POP EDX
POP ECX
PUSH EDI
PUSH EAX
CALL 0x000654e0
ADD ESP,0x10
JMP 0x00066653
PUSH EAX
LEA EAX,[EBX + 0xffef86e0]
PUSH EAX
LEA EAX,[EBX + 0xffef8354]
PUSH 0x97
PUSH EAX
CALL 0x00069d00
LEA EAX,[EBX + 0xffef86e0]
PUSH ESI
PUSH EAX
LEA EAX,[EBX + 0xffef8354]
PUSH 0x84
PUSH EAX
CALL 0x00069d00
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00066600(int param_1)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  int *piVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  bool bVar6;\n  \n  if (0 < *(int *)(param_1 + 0x10)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/fileread.cc",0x84,"~View",param_1);\n  }\n  iVar2 = *(int *)(param_1 + 0x1c);\n  if (iVar2 != 1) {\n    if (iVar2 != 0) {\n      if (iVar2 != 2) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/fileread.cc",0x97,"~View",iVar2);\n      }\n      iVar2 = munmap(*(void **)(param_1 + 0xc),*(size_t *)(param_1 + 8));\n      if (iVar2 != 0) {\n        piVar3 = __errno_location();\n        pcVar4 = strerror(*piVar3);\n        uVar5 = gettext("munmap failed: %s");\n        FUN_000654e0(uVar5,pcVar4);\n      }\n      if ((*(int *)(DAT_0038f378 + 8) == 0) ||\n         (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x3a75) != '\0')) {\n        FUN_0006cf30(&DAT_0038f470);\n        puVar1 = DAT_0038f484;\n        if (DAT_0038f484 != (undefined4 *)0x0) {\n          (**(code **)(*(int *)*DAT_0038f484 + 8))((int *)*DAT_0038f484);\n          bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n          DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n          DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n                    /* WARNING: Could not recover jumptable at 0x000666b4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          (**(code **)(*(int *)*puVar1 + 0xc))();\n          return;\n        }\n        bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n        DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n        DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n      }\n    }\n    return;\n  }\n  free(*(void **)(param_1 + 0xc));\n  return;\n}\n\n" comment (function_definition "void FUN_00066600(int param_1)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  int *piVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  bool bVar6;\n  \n  if (0 < *(int *)(param_1 + 0x10)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/fileread.cc",0x84,"~View",param_1);\n  }\n  iVar2 = *(int *)(param_1 + 0x1c);\n  if (iVar2 != 1) {\n    if (iVar2 != 0) {\n      if (iVar2 != 2) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/fileread.cc",0x97,"~View",iVar2);\n      }\n      iVar2 = munmap(*(void **)(param_1 + 0xc),*(size_t *)(param_1 + 8));\n      if (iVar2 != 0) {\n        piVar3 = __errno_location();\n        pcVar4 = strerror(*piVar3);\n        uVar5 = gettext("munmap failed: %s");\n        FUN_000654e0(uVar5,pcVar4);\n      }\n      if ((*(int *)(DAT_0038f378 + 8) == 0) ||\n         (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x3a75) != '\0')) {\n        FUN_0006cf30(&DAT_0038f470);\n        puVar1 = DAT_0038f484;\n        if (DAT_0038f484 != (undefined4 *)0x0) {\n          (**(code **)(*(int *)*DAT_0038f484 + 8))((int *)*DAT_0038f484);\n          bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n          DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n          DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n                    /* WARNING: Could not recover jumptable at 0x000666b4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          (**(code **)(*(int *)*puVar1 + 0xc))();\n          return;\n        }\n        bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n        DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n        DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n      }\n    }\n    return;\n  }\n  free(*(void **)(param_1 + 0xc));\n  return;\n}" primitive_type (function_declarator "FUN_00066600(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  int *piVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  bool bVar6;\n  \n  if (0 < *(int *)(param_1 + 0x10)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/fileread.cc",0x84,"~View",param_1);\n  }\n  iVar2 = *(int *)(param_1 + 0x1c);\n  if (iVar2 != 1) {\n    if (iVar2 != 0) {\n      if (iVar2 != 2) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/fileread.cc",0x97,"~View",iVar2);\n      }\n      iVar2 = munmap(*(void **)(param_1 + 0xc),*(size_t *)(param_1 + 8));\n      if (iVar2 != 0) {\n        piVar3 = __errno_location();\n        pcVar4 = strerror(*piVar3);\n        uVar5 = gettext("munmap failed: %s");\n        FUN_000654e0(uVar5,pcVar4);\n      }\n      if ((*(int *)(DAT_0038f378 + 8) == 0) ||\n         (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x3a75) != '\0')) {\n        FUN_0006cf30(&DAT_0038f470);\n        puVar1 = DAT_0038f484;\n        if (DAT_0038f484 != (undefined4 *)0x0) {\n          (**(code **)(*(int *)*DAT_0038f484 + 8))((int *)*DAT_0038f484);\n          bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n          DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n          DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n                    /* WARNING: Could not recover jumptable at 0x000666b4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          (**(code **)(*(int *)*puVar1 + 0xc))();\n          return;\n        }\n        bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n        DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n        DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n      }\n    }\n    return;\n  }\n  free(*(void **)(param_1 + 0xc));\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "bool bVar6;" primitive_type identifier ;) (if_statement "if (0 < *(int *)(param_1 + 0x10)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/fileread.cc",0x84,"~View",param_1);\n  }" if (parenthesized_expression "(0 < *(int *)(param_1 + 0x10))" ( (binary_expression "0 < *(int *)(param_1 + 0x10)" number_literal < (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/fileread.cc",0x84,"~View",param_1);\n  }" { comment (expression_statement "FUN_00069d00("../../gold/fileread.cc",0x84,"~View",param_1);" (call_expression "FUN_00069d00("../../gold/fileread.cc",0x84,"~View",param_1)" identifier (argument_list "("../../gold/fileread.cc",0x84,"~View",param_1)" ( (string_literal ""../../gold/fileread.cc"" " string_content ") , number_literal , (string_literal ""~View"" " string_content ") , identifier ))) ;) })) (expression_statement "iVar2 = *(int *)(param_1 + 0x1c);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x1c)" identifier = (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 != 1) {\n    if (iVar2 != 0) {\n      if (iVar2 != 2) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/fileread.cc",0x97,"~View",iVar2);\n      }\n      iVar2 = munmap(*(void **)(param_1 + 0xc),*(size_t *)(param_1 + 8));\n      if (iVar2 != 0) {\n        piVar3 = __errno_location();\n        pcVar4 = strerror(*piVar3);\n        uVar5 = gettext("munmap failed: %s");\n        FUN_000654e0(uVar5,pcVar4);\n      }\n      if ((*(int *)(DAT_0038f378 + 8) == 0) ||\n         (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x3a75) != '\0')) {\n        FUN_0006cf30(&DAT_0038f470);\n        puVar1 = DAT_0038f484;\n        if (DAT_0038f484 != (undefined4 *)0x0) {\n          (**(code **)(*(int *)*DAT_0038f484 + 8))((int *)*DAT_0038f484);\n          bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n          DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n          DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n                    /* WARNING: Could not recover jumptable at 0x000666b4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          (**(code **)(*(int *)*puVar1 + 0xc))();\n          return;\n        }\n        bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n        DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n        DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n      }\n    }\n    return;\n  }" if (parenthesized_expression "(iVar2 != 1)" ( (binary_expression "iVar2 != 1" identifier != number_literal) )) (compound_statement "{\n    if (iVar2 != 0) {\n      if (iVar2 != 2) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/fileread.cc",0x97,"~View",iVar2);\n      }\n      iVar2 = munmap(*(void **)(param_1 + 0xc),*(size_t *)(param_1 + 8));\n      if (iVar2 != 0) {\n        piVar3 = __errno_location();\n        pcVar4 = strerror(*piVar3);\n        uVar5 = gettext("munmap failed: %s");\n        FUN_000654e0(uVar5,pcVar4);\n      }\n      if ((*(int *)(DAT_0038f378 + 8) == 0) ||\n         (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x3a75) != '\0')) {\n        FUN_0006cf30(&DAT_0038f470);\n        puVar1 = DAT_0038f484;\n        if (DAT_0038f484 != (undefined4 *)0x0) {\n          (**(code **)(*(int *)*DAT_0038f484 + 8))((int *)*DAT_0038f484);\n          bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n          DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n          DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n                    /* WARNING: Could not recover jumptable at 0x000666b4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          (**(code **)(*(int *)*puVar1 + 0xc))();\n          return;\n        }\n        bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n        DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n        DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n      }\n    }\n    return;\n  }" { (if_statement "if (iVar2 != 0) {\n      if (iVar2 != 2) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/fileread.cc",0x97,"~View",iVar2);\n      }\n      iVar2 = munmap(*(void **)(param_1 + 0xc),*(size_t *)(param_1 + 8));\n      if (iVar2 != 0) {\n        piVar3 = __errno_location();\n        pcVar4 = strerror(*piVar3);\n        uVar5 = gettext("munmap failed: %s");\n        FUN_000654e0(uVar5,pcVar4);\n      }\n      if ((*(int *)(DAT_0038f378 + 8) == 0) ||\n         (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x3a75) != '\0')) {\n        FUN_0006cf30(&DAT_0038f470);\n        puVar1 = DAT_0038f484;\n        if (DAT_0038f484 != (undefined4 *)0x0) {\n          (**(code **)(*(int *)*DAT_0038f484 + 8))((int *)*DAT_0038f484);\n          bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n          DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n          DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n                    /* WARNING: Could not recover jumptable at 0x000666b4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          (**(code **)(*(int *)*puVar1 + 0xc))();\n          return;\n        }\n        bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n        DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n        DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n      }\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      if (iVar2 != 2) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/fileread.cc",0x97,"~View",iVar2);\n      }\n      iVar2 = munmap(*(void **)(param_1 + 0xc),*(size_t *)(param_1 + 8));\n      if (iVar2 != 0) {\n        piVar3 = __errno_location();\n        pcVar4 = strerror(*piVar3);\n        uVar5 = gettext("munmap failed: %s");\n        FUN_000654e0(uVar5,pcVar4);\n      }\n      if ((*(int *)(DAT_0038f378 + 8) == 0) ||\n         (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x3a75) != '\0')) {\n        FUN_0006cf30(&DAT_0038f470);\n        puVar1 = DAT_0038f484;\n        if (DAT_0038f484 != (undefined4 *)0x0) {\n          (**(code **)(*(int *)*DAT_0038f484 + 8))((int *)*DAT_0038f484);\n          bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n          DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n          DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n                    /* WARNING: Could not recover jumptable at 0x000666b4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          (**(code **)(*(int *)*puVar1 + 0xc))();\n          return;\n        }\n        bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n        DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n        DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n      }\n    }" { (if_statement "if (iVar2 != 2) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/fileread.cc",0x97,"~View",iVar2);\n      }" if (parenthesized_expression "(iVar2 != 2)" ( (binary_expression "iVar2 != 2" identifier != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        FUN_00069d00("../../gold/fileread.cc",0x97,"~View",iVar2);\n      }" { comment (expression_statement "FUN_00069d00("../../gold/fileread.cc",0x97,"~View",iVar2);" (call_expression "FUN_00069d00("../../gold/fileread.cc",0x97,"~View",iVar2)" identifier (argument_list "("../../gold/fileread.cc",0x97,"~View",iVar2)" ( (string_literal ""../../gold/fileread.cc"" " string_content ") , number_literal , (string_literal ""~View"" " string_content ") , identifier ))) ;) })) (expression_statement "iVar2 = munmap(*(void **)(param_1 + 0xc),*(size_t *)(param_1 + 8));" (assignment_expression "iVar2 = munmap(*(void **)(param_1 + 0xc),*(size_t *)(param_1 + 8))" identifier = (call_expression "munmap(*(void **)(param_1 + 0xc),*(size_t *)(param_1 + 8))" identifier (argument_list "(*(void **)(param_1 + 0xc),*(size_t *)(param_1 + 8))" ( (pointer_expression "*(void **)(param_1 + 0xc)" * (cast_expression "(void **)(param_1 + 0xc)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) , (pointer_expression "*(size_t *)(param_1 + 8)" * (cast_expression "(size_t *)(param_1 + 8)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar2 != 0) {\n        piVar3 = __errno_location();\n        pcVar4 = strerror(*piVar3);\n        uVar5 = gettext("munmap failed: %s");\n        FUN_000654e0(uVar5,pcVar4);\n      }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n        piVar3 = __errno_location();\n        pcVar4 = strerror(*piVar3);\n        uVar5 = gettext("munmap failed: %s");\n        FUN_000654e0(uVar5,pcVar4);\n      }" { (expression_statement "piVar3 = __errno_location();" (assignment_expression "piVar3 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "pcVar4 = strerror(*piVar3);" (assignment_expression "pcVar4 = strerror(*piVar3)" identifier = (call_expression "strerror(*piVar3)" identifier (argument_list "(*piVar3)" ( (pointer_expression "*piVar3" * identifier) )))) ;) (expression_statement "uVar5 = gettext("munmap failed: %s");" (assignment_expression "uVar5 = gettext("munmap failed: %s")" identifier = (call_expression "gettext("munmap failed: %s")" identifier (argument_list "("munmap failed: %s")" ( (string_literal ""munmap failed: %s"" " string_content ") )))) ;) (expression_statement "FUN_000654e0(uVar5,pcVar4);" (call_expression "FUN_000654e0(uVar5,pcVar4)" identifier (argument_list "(uVar5,pcVar4)" ( identifier , identifier ))) ;) })) (if_statement "if ((*(int *)(DAT_0038f378 + 8) == 0) ||\n         (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x3a75) != '\0')) {\n        FUN_0006cf30(&DAT_0038f470);\n        puVar1 = DAT_0038f484;\n        if (DAT_0038f484 != (undefined4 *)0x0) {\n          (**(code **)(*(int *)*DAT_0038f484 + 8))((int *)*DAT_0038f484);\n          bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n          DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n          DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n                    /* WARNING: Could not recover jumptable at 0x000666b4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          (**(code **)(*(int *)*puVar1 + 0xc))();\n          return;\n        }\n        bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n        DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n        DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n      }" if (parenthesized_expression "((*(int *)(DAT_0038f378 + 8) == 0) ||\n         (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x3a75) != '\0'))" ( (binary_expression "(*(int *)(DAT_0038f378 + 8) == 0) ||\n         (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x3a75) != '\0')" (parenthesized_expression "(*(int *)(DAT_0038f378 + 8) == 0)" ( (binary_expression "*(int *)(DAT_0038f378 + 8) == 0" (pointer_expression "*(int *)(DAT_0038f378 + 8)" * (cast_expression "(int *)(DAT_0038f378 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 8)" ( (binary_expression "DAT_0038f378 + 8" identifier + number_literal) )))) == number_literal) )) || (parenthesized_expression "(*(char *)(*(int *)(DAT_0038f378 + 8) + 0x3a75) != '\0')" ( (binary_expression "*(char *)(*(int *)(DAT_0038f378 + 8) + 0x3a75) != '\0'" (pointer_expression "*(char *)(*(int *)(DAT_0038f378 + 8) + 0x3a75)" * (cast_expression "(char *)(*(int *)(DAT_0038f378 + 8) + 0x3a75)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(DAT_0038f378 + 8) + 0x3a75)" ( (binary_expression "*(int *)(DAT_0038f378 + 8) + 0x3a75" (pointer_expression "*(int *)(DAT_0038f378 + 8)" * (cast_expression "(int *)(DAT_0038f378 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 8)" ( (binary_expression "DAT_0038f378 + 8" identifier + number_literal) )))) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n        FUN_0006cf30(&DAT_0038f470);\n        puVar1 = DAT_0038f484;\n        if (DAT_0038f484 != (undefined4 *)0x0) {\n          (**(code **)(*(int *)*DAT_0038f484 + 8))((int *)*DAT_0038f484);\n          bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n          DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n          DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n                    /* WARNING: Could not recover jumptable at 0x000666b4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          (**(code **)(*(int *)*puVar1 + 0xc))();\n          return;\n        }\n        bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n        DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n        DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n      }" { (expression_statement "FUN_0006cf30(&DAT_0038f470);" (call_expression "FUN_0006cf30(&DAT_0038f470)" identifier (argument_list "(&DAT_0038f470)" ( (pointer_expression "&DAT_0038f470" & identifier) ))) ;) (expression_statement "puVar1 = DAT_0038f484;" (assignment_expression "puVar1 = DAT_0038f484" identifier = identifier) ;) (if_statement "if (DAT_0038f484 != (undefined4 *)0x0) {\n          (**(code **)(*(int *)*DAT_0038f484 + 8))((int *)*DAT_0038f484);\n          bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n          DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n          DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n                    /* WARNING: Could not recover jumptable at 0x000666b4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          (**(code **)(*(int *)*puVar1 + 0xc))();\n          return;\n        }" if (parenthesized_expression "(DAT_0038f484 != (undefined4 *)0x0)" ( (binary_expression "DAT_0038f484 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          (**(code **)(*(int *)*DAT_0038f484 + 8))((int *)*DAT_0038f484);\n          bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n          DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n          DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n                    /* WARNING: Could not recover jumptable at 0x000666b4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          (**(code **)(*(int *)*puVar1 + 0xc))();\n          return;\n        }" { (expression_statement "(**(code **)(*(int *)*DAT_0038f484 + 8))((int *)*DAT_0038f484);" (call_expression "(**(code **)(*(int *)*DAT_0038f484 + 8))((int *)*DAT_0038f484)" (parenthesized_expression "(**(code **)(*(int *)*DAT_0038f484 + 8))" ( (pointer_expression "**(code **)(*(int *)*DAT_0038f484 + 8)" * (pointer_expression "*(code **)(*(int *)*DAT_0038f484 + 8)" * (cast_expression "(code **)(*(int *)*DAT_0038f484 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)*DAT_0038f484 + 8)" ( (binary_expression "*(int *)*DAT_0038f484 + 8" (pointer_expression "*(int *)*DAT_0038f484" * (cast_expression "(int *)*DAT_0038f484" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*DAT_0038f484" * identifier))) + number_literal) ))))) )) (argument_list "((int *)*DAT_0038f484)" ( (cast_expression "(int *)*DAT_0038f484" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*DAT_0038f484" * identifier)) ))) ;) (expression_statement "bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);" (assignment_expression "bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8)" identifier = (binary_expression "DAT_0038f460 < *(uint *)(param_1 + 8)" identifier < (pointer_expression "*(uint *)(param_1 + 8)" * (cast_expression "(uint *)(param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))))) ;) (expression_statement "DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);" (assignment_expression "DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8)" identifier = (binary_expression "DAT_0038f460 - *(uint *)(param_1 + 8)" identifier - (pointer_expression "*(uint *)(param_1 + 8)" * (cast_expression "(uint *)(param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))))) ;) (expression_statement "DAT_0038f464 = DAT_0038f464 - (uint)bVar6;" (assignment_expression "DAT_0038f464 = DAT_0038f464 - (uint)bVar6" identifier = (binary_expression "DAT_0038f464 - (uint)bVar6" identifier - (cast_expression "(uint)bVar6" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) comment comment (expression_statement "(**(code **)(*(int *)*puVar1 + 0xc))();" (call_expression "(**(code **)(*(int *)*puVar1 + 0xc))()" (parenthesized_expression "(**(code **)(*(int *)*puVar1 + 0xc))" ( (pointer_expression "**(code **)(*(int *)*puVar1 + 0xc)" * (pointer_expression "*(code **)(*(int *)*puVar1 + 0xc)" * (cast_expression "(code **)(*(int *)*puVar1 + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)*puVar1 + 0xc)" ( (binary_expression "*(int *)*puVar1 + 0xc" (pointer_expression "*(int *)*puVar1" * (cast_expression "(int *)*puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) + number_literal) ))))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);" (assignment_expression "bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8)" identifier = (binary_expression "DAT_0038f460 < *(uint *)(param_1 + 8)" identifier < (pointer_expression "*(uint *)(param_1 + 8)" * (cast_expression "(uint *)(param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))))) ;) (expression_statement "DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);" (assignment_expression "DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8)" identifier = (binary_expression "DAT_0038f460 - *(uint *)(param_1 + 8)" identifier - (pointer_expression "*(uint *)(param_1 + 8)" * (cast_expression "(uint *)(param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))))) ;) (expression_statement "DAT_0038f464 = DAT_0038f464 - (uint)bVar6;" (assignment_expression "DAT_0038f464 = DAT_0038f464 - (uint)bVar6" identifier = (binary_expression "DAT_0038f464 - (uint)bVar6" identifier - (cast_expression "(uint)bVar6" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) })) })) (return_statement "return;" return ;) })) (expression_statement "free(*(void **)(param_1 + 0xc));" (call_expression "free(*(void **)(param_1 + 0xc))" identifier (argument_list "(*(void **)(param_1 + 0xc))" ( (pointer_expression "*(void **)(param_1 + 0xc)" * (cast_expression "(void **)(param_1 + 0xc)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: void ~View(View * this, int __in_chrg) */\n\nvoid __thiscall gold::File_read::View::~View(View *this,int __in_chrg)\n\n{\n  Data_ownership DVar1;\n  Lock *pLVar2;\n  int iVar3;\n  int *piVar4;\n  char *pcVar5;\n  char *format;\n  bool bVar6;\n  \n  if (0 < this->lock_count_) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/fileread.cc",0x84,"~View");\n  }\n  DVar1 = this->data_ownership_;\n  if (DVar1 != DATA_ALLOCATED_ARRAY) {\n    if (DVar1 != DATA_NOT_OWNED) {\n      if (DVar1 != DATA_MMAPPED) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/fileread.cc",0x97,"~View");\n      }\n      iVar3 = munmap(this->data_,this->size_);\n      if (iVar3 != 0) {\n        piVar4 = __errno_location();\n        pcVar5 = strerror(*piVar4);\n        format = (char *)gettext("munmap failed: %s");\n        gold_warning(format,pcVar5);\n      }\n      if ((parameters->options_ == (General_options *)0x0) ||\n         ((parameters->options_->stats_).value != false)) {\n        Initialize_lock::initialize(&file_counts_initialize_lock);\n        pLVar2 = file_counts_lock;\n        if (file_counts_lock != (Lock *)0x0) {\n          (*file_counts_lock->lock_->_vptr_Lock_impl[2])(file_counts_lock->lock_);\n          bVar6 = (uint)current_mapped_bytes < this->size_;\n          current_mapped_bytes._0_4_ = (uint)current_mapped_bytes - this->size_;\n          current_mapped_bytes._4_4_ = current_mapped_bytes._4_4_ - (uint)bVar6;\n                    /* WARNING: Could not recover jumptable at 0x000666b4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          (*pLVar2->lock_->_vptr_Lock_impl[3])();\n          return;\n        }\n        bVar6 = (uint)current_mapped_bytes < this->size_;\n        current_mapped_bytes._0_4_ = (uint)current_mapped_bytes - this->size_;\n        current_mapped_bytes._4_4_ = current_mapped_bytes._4_4_ - (uint)bVar6;\n      }\n    }\n    return;\n  }\n  free(this->data_);\n  return;\n}\n\n" comment comment comment (function_definition "void __thiscall gold::File_read::View::~View(View *this,int __in_chrg)\n\n{\n  Data_ownership DVar1;\n  Lock *pLVar2;\n  int iVar3;\n  int *piVar4;\n  char *pcVar5;\n  char *format;\n  bool bVar6;\n  \n  if (0 < this->lock_count_) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/fileread.cc",0x84,"~View");\n  }\n  DVar1 = this->data_ownership_;\n  if (DVar1 != DATA_ALLOCATED_ARRAY) {\n    if (DVar1 != DATA_NOT_OWNED) {\n      if (DVar1 != DATA_MMAPPED) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/fileread.cc",0x97,"~View");\n      }\n      iVar3 = munmap(this->data_,this->size_);\n      if (iVar3 != 0) {\n        piVar4 = __errno_location();\n        pcVar5 = strerror(*piVar4);\n        format = (char *)gettext("munmap failed: %s");\n        gold_warning(format,pcVar5);\n      }\n      if ((parameters->options_ == (General_options *)0x0) ||\n         ((parameters->options_->stats_).value != false)) {\n        Initialize_lock::initialize(&file_counts_initialize_lock);\n        pLVar2 = file_counts_lock;\n        if (file_counts_lock != (Lock *)0x0) {\n          (*file_counts_lock->lock_->_vptr_Lock_impl[2])(file_counts_lock->lock_);\n          bVar6 = (uint)current_mapped_bytes < this->size_;\n          current_mapped_bytes._0_4_ = (uint)current_mapped_bytes - this->size_;\n          current_mapped_bytes._4_4_ = current_mapped_bytes._4_4_ - (uint)bVar6;\n                    /* WARNING: Could not recover jumptable at 0x000666b4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          (*pLVar2->lock_->_vptr_Lock_impl[3])();\n          return;\n        }\n        bVar6 = (uint)current_mapped_bytes < this->size_;\n        current_mapped_bytes._0_4_ = (uint)current_mapped_bytes - this->size_;\n        current_mapped_bytes._4_4_ = current_mapped_bytes._4_4_ - (uint)bVar6;\n      }\n    }\n    return;\n  }\n  free(this->data_);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::File_read::View::~" identifier : : identifier : : identifier : : ~) (function_declarator "View(View *this,int __in_chrg)" identifier (parameter_list "(View *this,int __in_chrg)" ( (parameter_declaration "View *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "int __in_chrg" primitive_type identifier) ))) (compound_statement "{\n  Data_ownership DVar1;\n  Lock *pLVar2;\n  int iVar3;\n  int *piVar4;\n  char *pcVar5;\n  char *format;\n  bool bVar6;\n  \n  if (0 < this->lock_count_) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/fileread.cc",0x84,"~View");\n  }\n  DVar1 = this->data_ownership_;\n  if (DVar1 != DATA_ALLOCATED_ARRAY) {\n    if (DVar1 != DATA_NOT_OWNED) {\n      if (DVar1 != DATA_MMAPPED) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/fileread.cc",0x97,"~View");\n      }\n      iVar3 = munmap(this->data_,this->size_);\n      if (iVar3 != 0) {\n        piVar4 = __errno_location();\n        pcVar5 = strerror(*piVar4);\n        format = (char *)gettext("munmap failed: %s");\n        gold_warning(format,pcVar5);\n      }\n      if ((parameters->options_ == (General_options *)0x0) ||\n         ((parameters->options_->stats_).value != false)) {\n        Initialize_lock::initialize(&file_counts_initialize_lock);\n        pLVar2 = file_counts_lock;\n        if (file_counts_lock != (Lock *)0x0) {\n          (*file_counts_lock->lock_->_vptr_Lock_impl[2])(file_counts_lock->lock_);\n          bVar6 = (uint)current_mapped_bytes < this->size_;\n          current_mapped_bytes._0_4_ = (uint)current_mapped_bytes - this->size_;\n          current_mapped_bytes._4_4_ = current_mapped_bytes._4_4_ - (uint)bVar6;\n                    /* WARNING: Could not recover jumptable at 0x000666b4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          (*pLVar2->lock_->_vptr_Lock_impl[3])();\n          return;\n        }\n        bVar6 = (uint)current_mapped_bytes < this->size_;\n        current_mapped_bytes._0_4_ = (uint)current_mapped_bytes - this->size_;\n        current_mapped_bytes._4_4_ = current_mapped_bytes._4_4_ - (uint)bVar6;\n      }\n    }\n    return;\n  }\n  free(this->data_);\n  return;\n}" { (declaration "Data_ownership DVar1;" type_identifier identifier ;) (declaration "Lock *pLVar2;" type_identifier (pointer_declarator "*pLVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "char *format;" primitive_type (pointer_declarator "*format" * identifier) ;) (declaration "bool bVar6;" primitive_type identifier ;) (if_statement "if (0 < this->lock_count_) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/fileread.cc",0x84,"~View");\n  }" if (parenthesized_expression "(0 < this->lock_count_)" ( (binary_expression "0 < this->lock_count_" number_literal < (field_expression "this->lock_count_" identifier -> field_identifier)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/fileread.cc",0x84,"~View");\n  }" { comment (expression_statement "do_gold_unreachable("../../gold/fileread.cc",0x84,"~View");" (call_expression "do_gold_unreachable("../../gold/fileread.cc",0x84,"~View")" identifier (argument_list "("../../gold/fileread.cc",0x84,"~View")" ( (string_literal ""../../gold/fileread.cc"" " string_content ") , number_literal , (string_literal ""~View"" " string_content ") ))) ;) })) (expression_statement "DVar1 = this->data_ownership_;" (assignment_expression "DVar1 = this->data_ownership_" identifier = (field_expression "this->data_ownership_" identifier -> field_identifier)) ;) (if_statement "if (DVar1 != DATA_ALLOCATED_ARRAY) {\n    if (DVar1 != DATA_NOT_OWNED) {\n      if (DVar1 != DATA_MMAPPED) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/fileread.cc",0x97,"~View");\n      }\n      iVar3 = munmap(this->data_,this->size_);\n      if (iVar3 != 0) {\n        piVar4 = __errno_location();\n        pcVar5 = strerror(*piVar4);\n        format = (char *)gettext("munmap failed: %s");\n        gold_warning(format,pcVar5);\n      }\n      if ((parameters->options_ == (General_options *)0x0) ||\n         ((parameters->options_->stats_).value != false)) {\n        Initialize_lock::initialize(&file_counts_initialize_lock);\n        pLVar2 = file_counts_lock;\n        if (file_counts_lock != (Lock *)0x0) {\n          (*file_counts_lock->lock_->_vptr_Lock_impl[2])(file_counts_lock->lock_);\n          bVar6 = (uint)current_mapped_bytes < this->size_;\n          current_mapped_bytes._0_4_ = (uint)current_mapped_bytes - this->size_;\n          current_mapped_bytes._4_4_ = current_mapped_bytes._4_4_ - (uint)bVar6;\n                    /* WARNING: Could not recover jumptable at 0x000666b4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          (*pLVar2->lock_->_vptr_Lock_impl[3])();\n          return;\n        }\n        bVar6 = (uint)current_mapped_bytes < this->size_;\n        current_mapped_bytes._0_4_ = (uint)current_mapped_bytes - this->size_;\n        current_mapped_bytes._4_4_ = current_mapped_bytes._4_4_ - (uint)bVar6;\n      }\n    }\n    return;\n  }" if (parenthesized_expression "(DVar1 != DATA_ALLOCATED_ARRAY)" ( (binary_expression "DVar1 != DATA_ALLOCATED_ARRAY" identifier != identifier) )) (compound_statement "{\n    if (DVar1 != DATA_NOT_OWNED) {\n      if (DVar1 != DATA_MMAPPED) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/fileread.cc",0x97,"~View");\n      }\n      iVar3 = munmap(this->data_,this->size_);\n      if (iVar3 != 0) {\n        piVar4 = __errno_location();\n        pcVar5 = strerror(*piVar4);\n        format = (char *)gettext("munmap failed: %s");\n        gold_warning(format,pcVar5);\n      }\n      if ((parameters->options_ == (General_options *)0x0) ||\n         ((parameters->options_->stats_).value != false)) {\n        Initialize_lock::initialize(&file_counts_initialize_lock);\n        pLVar2 = file_counts_lock;\n        if (file_counts_lock != (Lock *)0x0) {\n          (*file_counts_lock->lock_->_vptr_Lock_impl[2])(file_counts_lock->lock_);\n          bVar6 = (uint)current_mapped_bytes < this->size_;\n          current_mapped_bytes._0_4_ = (uint)current_mapped_bytes - this->size_;\n          current_mapped_bytes._4_4_ = current_mapped_bytes._4_4_ - (uint)bVar6;\n                    /* WARNING: Could not recover jumptable at 0x000666b4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          (*pLVar2->lock_->_vptr_Lock_impl[3])();\n          return;\n        }\n        bVar6 = (uint)current_mapped_bytes < this->size_;\n        current_mapped_bytes._0_4_ = (uint)current_mapped_bytes - this->size_;\n        current_mapped_bytes._4_4_ = current_mapped_bytes._4_4_ - (uint)bVar6;\n      }\n    }\n    return;\n  }" { (if_statement "if (DVar1 != DATA_NOT_OWNED) {\n      if (DVar1 != DATA_MMAPPED) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/fileread.cc",0x97,"~View");\n      }\n      iVar3 = munmap(this->data_,this->size_);\n      if (iVar3 != 0) {\n        piVar4 = __errno_location();\n        pcVar5 = strerror(*piVar4);\n        format = (char *)gettext("munmap failed: %s");\n        gold_warning(format,pcVar5);\n      }\n      if ((parameters->options_ == (General_options *)0x0) ||\n         ((parameters->options_->stats_).value != false)) {\n        Initialize_lock::initialize(&file_counts_initialize_lock);\n        pLVar2 = file_counts_lock;\n        if (file_counts_lock != (Lock *)0x0) {\n          (*file_counts_lock->lock_->_vptr_Lock_impl[2])(file_counts_lock->lock_);\n          bVar6 = (uint)current_mapped_bytes < this->size_;\n          current_mapped_bytes._0_4_ = (uint)current_mapped_bytes - this->size_;\n          current_mapped_bytes._4_4_ = current_mapped_bytes._4_4_ - (uint)bVar6;\n                    /* WARNING: Could not recover jumptable at 0x000666b4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          (*pLVar2->lock_->_vptr_Lock_impl[3])();\n          return;\n        }\n        bVar6 = (uint)current_mapped_bytes < this->size_;\n        current_mapped_bytes._0_4_ = (uint)current_mapped_bytes - this->size_;\n        current_mapped_bytes._4_4_ = current_mapped_bytes._4_4_ - (uint)bVar6;\n      }\n    }" if (parenthesized_expression "(DVar1 != DATA_NOT_OWNED)" ( (binary_expression "DVar1 != DATA_NOT_OWNED" identifier != identifier) )) (compound_statement "{\n      if (DVar1 != DATA_MMAPPED) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/fileread.cc",0x97,"~View");\n      }\n      iVar3 = munmap(this->data_,this->size_);\n      if (iVar3 != 0) {\n        piVar4 = __errno_location();\n        pcVar5 = strerror(*piVar4);\n        format = (char *)gettext("munmap failed: %s");\n        gold_warning(format,pcVar5);\n      }\n      if ((parameters->options_ == (General_options *)0x0) ||\n         ((parameters->options_->stats_).value != false)) {\n        Initialize_lock::initialize(&file_counts_initialize_lock);\n        pLVar2 = file_counts_lock;\n        if (file_counts_lock != (Lock *)0x0) {\n          (*file_counts_lock->lock_->_vptr_Lock_impl[2])(file_counts_lock->lock_);\n          bVar6 = (uint)current_mapped_bytes < this->size_;\n          current_mapped_bytes._0_4_ = (uint)current_mapped_bytes - this->size_;\n          current_mapped_bytes._4_4_ = current_mapped_bytes._4_4_ - (uint)bVar6;\n                    /* WARNING: Could not recover jumptable at 0x000666b4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          (*pLVar2->lock_->_vptr_Lock_impl[3])();\n          return;\n        }\n        bVar6 = (uint)current_mapped_bytes < this->size_;\n        current_mapped_bytes._0_4_ = (uint)current_mapped_bytes - this->size_;\n        current_mapped_bytes._4_4_ = current_mapped_bytes._4_4_ - (uint)bVar6;\n      }\n    }" { (if_statement "if (DVar1 != DATA_MMAPPED) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/fileread.cc",0x97,"~View");\n      }" if (parenthesized_expression "(DVar1 != DATA_MMAPPED)" ( (binary_expression "DVar1 != DATA_MMAPPED" identifier != identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/fileread.cc",0x97,"~View");\n      }" { comment (expression_statement "do_gold_unreachable("../../gold/fileread.cc",0x97,"~View");" (call_expression "do_gold_unreachable("../../gold/fileread.cc",0x97,"~View")" identifier (argument_list "("../../gold/fileread.cc",0x97,"~View")" ( (string_literal ""../../gold/fileread.cc"" " string_content ") , number_literal , (string_literal ""~View"" " string_content ") ))) ;) })) (expression_statement "iVar3 = munmap(this->data_,this->size_);" (assignment_expression "iVar3 = munmap(this->data_,this->size_)" identifier = (call_expression "munmap(this->data_,this->size_)" identifier (argument_list "(this->data_,this->size_)" ( (field_expression "this->data_" identifier -> field_identifier) , (field_expression "this->size_" identifier -> field_identifier) )))) ;) (if_statement "if (iVar3 != 0) {\n        piVar4 = __errno_location();\n        pcVar5 = strerror(*piVar4);\n        format = (char *)gettext("munmap failed: %s");\n        gold_warning(format,pcVar5);\n      }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n        piVar4 = __errno_location();\n        pcVar5 = strerror(*piVar4);\n        format = (char *)gettext("munmap failed: %s");\n        gold_warning(format,pcVar5);\n      }" { (expression_statement "piVar4 = __errno_location();" (assignment_expression "piVar4 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "pcVar5 = strerror(*piVar4);" (assignment_expression "pcVar5 = strerror(*piVar4)" identifier = (call_expression "strerror(*piVar4)" identifier (argument_list "(*piVar4)" ( (pointer_expression "*piVar4" * identifier) )))) ;) (expression_statement "format = (char *)gettext("munmap failed: %s");" (assignment_expression "format = (char *)gettext("munmap failed: %s")" identifier = (cast_expression "(char *)gettext("munmap failed: %s")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext("munmap failed: %s")" identifier (argument_list "("munmap failed: %s")" ( (string_literal ""munmap failed: %s"" " string_content ") ))))) ;) (expression_statement "gold_warning(format,pcVar5);" (call_expression "gold_warning(format,pcVar5)" identifier (argument_list "(format,pcVar5)" ( identifier , identifier ))) ;) })) (if_statement "if ((parameters->options_ == (General_options *)0x0) ||\n         ((parameters->options_->stats_).value != false)) {\n        Initialize_lock::initialize(&file_counts_initialize_lock);\n        pLVar2 = file_counts_lock;\n        if (file_counts_lock != (Lock *)0x0) {\n          (*file_counts_lock->lock_->_vptr_Lock_impl[2])(file_counts_lock->lock_);\n          bVar6 = (uint)current_mapped_bytes < this->size_;\n          current_mapped_bytes._0_4_ = (uint)current_mapped_bytes - this->size_;\n          current_mapped_bytes._4_4_ = current_mapped_bytes._4_4_ - (uint)bVar6;\n                    /* WARNING: Could not recover jumptable at 0x000666b4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          (*pLVar2->lock_->_vptr_Lock_impl[3])();\n          return;\n        }\n        bVar6 = (uint)current_mapped_bytes < this->size_;\n        current_mapped_bytes._0_4_ = (uint)current_mapped_bytes - this->size_;\n        current_mapped_bytes._4_4_ = current_mapped_bytes._4_4_ - (uint)bVar6;\n      }" if (parenthesized_expression "((parameters->options_ == (General_options *)0x0) ||\n         ((parameters->options_->stats_).value != false))" ( (binary_expression "(parameters->options_ == (General_options *)0x0) ||\n         ((parameters->options_->stats_).value != false)" (parenthesized_expression "(parameters->options_ == (General_options *)0x0)" ( (binary_expression "parameters->options_ == (General_options *)0x0" (field_expression "parameters->options_" identifier -> field_identifier) == (cast_expression "(General_options *)0x0" ( (type_descriptor "General_options *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "((parameters->options_->stats_).value != false)" ( (binary_expression "(parameters->options_->stats_).value != false" (field_expression "(parameters->options_->stats_).value" (parenthesized_expression "(parameters->options_->stats_)" ( (field_expression "parameters->options_->stats_" (field_expression "parameters->options_" identifier -> field_identifier) -> field_identifier) )) . field_identifier) != false) ))) )) (compound_statement "{\n        Initialize_lock::initialize(&file_counts_initialize_lock);\n        pLVar2 = file_counts_lock;\n        if (file_counts_lock != (Lock *)0x0) {\n          (*file_counts_lock->lock_->_vptr_Lock_impl[2])(file_counts_lock->lock_);\n          bVar6 = (uint)current_mapped_bytes < this->size_;\n          current_mapped_bytes._0_4_ = (uint)current_mapped_bytes - this->size_;\n          current_mapped_bytes._4_4_ = current_mapped_bytes._4_4_ - (uint)bVar6;\n                    /* WARNING: Could not recover jumptable at 0x000666b4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          (*pLVar2->lock_->_vptr_Lock_impl[3])();\n          return;\n        }\n        bVar6 = (uint)current_mapped_bytes < this->size_;\n        current_mapped_bytes._0_4_ = (uint)current_mapped_bytes - this->size_;\n        current_mapped_bytes._4_4_ = current_mapped_bytes._4_4_ - (uint)bVar6;\n      }" { (labeled_statement "Initialize_lock::initialize(&file_counts_initialize_lock);" statement_identifier : (ERROR ":" :) (expression_statement "initialize(&file_counts_initialize_lock);" (call_expression "initialize(&file_counts_initialize_lock)" identifier (argument_list "(&file_counts_initialize_lock)" ( (pointer_expression "&file_counts_initialize_lock" & identifier) ))) ;)) (expression_statement "pLVar2 = file_counts_lock;" (assignment_expression "pLVar2 = file_counts_lock" identifier = identifier) ;) (if_statement "if (file_counts_lock != (Lock *)0x0) {\n          (*file_counts_lock->lock_->_vptr_Lock_impl[2])(file_counts_lock->lock_);\n          bVar6 = (uint)current_mapped_bytes < this->size_;\n          current_mapped_bytes._0_4_ = (uint)current_mapped_bytes - this->size_;\n          current_mapped_bytes._4_4_ = current_mapped_bytes._4_4_ - (uint)bVar6;\n                    /* WARNING: Could not recover jumptable at 0x000666b4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          (*pLVar2->lock_->_vptr_Lock_impl[3])();\n          return;\n        }" if (parenthesized_expression "(file_counts_lock != (Lock *)0x0)" ( (binary_expression "file_counts_lock != (Lock *)0x0" identifier != (cast_expression "(Lock *)0x0" ( (type_descriptor "Lock *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          (*file_counts_lock->lock_->_vptr_Lock_impl[2])(file_counts_lock->lock_);\n          bVar6 = (uint)current_mapped_bytes < this->size_;\n          current_mapped_bytes._0_4_ = (uint)current_mapped_bytes - this->size_;\n          current_mapped_bytes._4_4_ = current_mapped_bytes._4_4_ - (uint)bVar6;\n                    /* WARNING: Could not recover jumptable at 0x000666b4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n          (*pLVar2->lock_->_vptr_Lock_impl[3])();\n          return;\n        }" { (expression_statement "(*file_counts_lock->lock_->_vptr_Lock_impl[2])(file_counts_lock->lock_);" (call_expression "(*file_counts_lock->lock_->_vptr_Lock_impl[2])(file_counts_lock->lock_)" (parenthesized_expression "(*file_counts_lock->lock_->_vptr_Lock_impl[2])" ( (pointer_expression "*file_counts_lock->lock_->_vptr_Lock_impl[2]" * (subscript_expression "file_counts_lock->lock_->_vptr_Lock_impl[2]" (field_expression "file_counts_lock->lock_->_vptr_Lock_impl" (field_expression "file_counts_lock->lock_" identifier -> field_identifier) -> field_identifier) [ number_literal ])) )) (argument_list "(file_counts_lock->lock_)" ( (field_expression "file_counts_lock->lock_" identifier -> field_identifier) ))) ;) (expression_statement "bVar6 = (uint)current_mapped_bytes < this->size_;" (assignment_expression "bVar6 = (uint)current_mapped_bytes < this->size_" identifier = (binary_expression "(uint)current_mapped_bytes < this->size_" (cast_expression "(uint)current_mapped_bytes" ( (type_descriptor "uint" type_identifier) ) identifier) < (field_expression "this->size_" identifier -> field_identifier))) ;) (expression_statement "current_mapped_bytes._0_4_ = (uint)current_mapped_bytes - this->size_;" (assignment_expression "current_mapped_bytes._0_4_ = (uint)current_mapped_bytes - this->size_" (field_expression "current_mapped_bytes._0_4_" identifier . field_identifier) = (binary_expression "(uint)current_mapped_bytes - this->size_" (cast_expression "(uint)current_mapped_bytes" ( (type_descriptor "uint" type_identifier) ) identifier) - (field_expression "this->size_" identifier -> field_identifier))) ;) (expression_statement "current_mapped_bytes._4_4_ = current_mapped_bytes._4_4_ - (uint)bVar6;" (assignment_expression "current_mapped_bytes._4_4_ = current_mapped_bytes._4_4_ - (uint)bVar6" (field_expression "current_mapped_bytes._4_4_" identifier . field_identifier) = (binary_expression "current_mapped_bytes._4_4_ - (uint)bVar6" (field_expression "current_mapped_bytes._4_4_" identifier . field_identifier) - (cast_expression "(uint)bVar6" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) comment comment (expression_statement "(*pLVar2->lock_->_vptr_Lock_impl[3])();" (call_expression "(*pLVar2->lock_->_vptr_Lock_impl[3])()" (parenthesized_expression "(*pLVar2->lock_->_vptr_Lock_impl[3])" ( (pointer_expression "*pLVar2->lock_->_vptr_Lock_impl[3]" * (subscript_expression "pLVar2->lock_->_vptr_Lock_impl[3]" (field_expression "pLVar2->lock_->_vptr_Lock_impl" (field_expression "pLVar2->lock_" identifier -> field_identifier) -> field_identifier) [ number_literal ])) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "bVar6 = (uint)current_mapped_bytes < this->size_;" (assignment_expression "bVar6 = (uint)current_mapped_bytes < this->size_" identifier = (binary_expression "(uint)current_mapped_bytes < this->size_" (cast_expression "(uint)current_mapped_bytes" ( (type_descriptor "uint" type_identifier) ) identifier) < (field_expression "this->size_" identifier -> field_identifier))) ;) (expression_statement "current_mapped_bytes._0_4_ = (uint)current_mapped_bytes - this->size_;" (assignment_expression "current_mapped_bytes._0_4_ = (uint)current_mapped_bytes - this->size_" (field_expression "current_mapped_bytes._0_4_" identifier . field_identifier) = (binary_expression "(uint)current_mapped_bytes - this->size_" (cast_expression "(uint)current_mapped_bytes" ( (type_descriptor "uint" type_identifier) ) identifier) - (field_expression "this->size_" identifier -> field_identifier))) ;) (expression_statement "current_mapped_bytes._4_4_ = current_mapped_bytes._4_4_ - (uint)bVar6;" (assignment_expression "current_mapped_bytes._4_4_ = current_mapped_bytes._4_4_ - (uint)bVar6" (field_expression "current_mapped_bytes._4_4_" identifier . field_identifier) = (binary_expression "current_mapped_bytes._4_4_ - (uint)bVar6" (field_expression "current_mapped_bytes._4_4_" identifier . field_identifier) - (cast_expression "(uint)bVar6" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) })) })) (return_statement "return;" return ;) })) (expression_statement "free(this->data_);" (call_expression "free(this->data_)" identifier (argument_list "(this->data_)" ( (field_expression "this->data_" identifier -> field_identifier) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00066600(int param_1)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  int *piVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  bool bVar6;\n  \n  if (0 < *(int *)(param_1 + 0x10)) {\n                    \n    FUN_00069d00("../../gold/fileread.cc",0x84,"~View",param_1);\n  }\n  iVar2 = *(int *)(param_1 + 0x1c);\n  if (iVar2 != 1) {\n    if (iVar2 != 0) {\n      if (iVar2 != 2) {\n                    \n        FUN_00069d00("../../gold/fileread.cc",0x97,"~View",iVar2);\n      }\n      iVar2 = munmap(*(void **)(param_1 + 0xc),*(size_t *)(param_1 + 8));\n      if (iVar2 != 0) {\n        piVar3 = __errno_location();\n        pcVar4 = strerror(*piVar3);\n        uVar5 = gettext("munmap failed: %s");\n        FUN_000654e0(uVar5,pcVar4);\n      }\n      if ((*(int *)(DAT_0038f378 + 8) == 0) ||\n         (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x3a75) != '\0')) {\n        FUN_0006cf30(&DAT_0038f470);\n        puVar1 = DAT_0038f484;\n        if (DAT_0038f484 != (undefined4 *)0x0) {\n          (**(code **)(*(int *)*DAT_0038f484 + 8))((int *)*DAT_0038f484);\n          bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n          DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n          DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n                    \n                    \n          (**(code **)(*(int *)*puVar1 + 0xc))();\n          return;\n        }\n        bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n        DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n        DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n      }\n    }\n    return;\n  }\n  free(*(void **)(param_1 + 0xc));\n  return;\n}\n\n" (function_definition "void FUN_00066600(int param_1)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  int *piVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  bool bVar6;\n  \n  if (0 < *(int *)(param_1 + 0x10)) {\n                    \n    FUN_00069d00("../../gold/fileread.cc",0x84,"~View",param_1);\n  }\n  iVar2 = *(int *)(param_1 + 0x1c);\n  if (iVar2 != 1) {\n    if (iVar2 != 0) {\n      if (iVar2 != 2) {\n                    \n        FUN_00069d00("../../gold/fileread.cc",0x97,"~View",iVar2);\n      }\n      iVar2 = munmap(*(void **)(param_1 + 0xc),*(size_t *)(param_1 + 8));\n      if (iVar2 != 0) {\n        piVar3 = __errno_location();\n        pcVar4 = strerror(*piVar3);\n        uVar5 = gettext("munmap failed: %s");\n        FUN_000654e0(uVar5,pcVar4);\n      }\n      if ((*(int *)(DAT_0038f378 + 8) == 0) ||\n         (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x3a75) != '\0')) {\n        FUN_0006cf30(&DAT_0038f470);\n        puVar1 = DAT_0038f484;\n        if (DAT_0038f484 != (undefined4 *)0x0) {\n          (**(code **)(*(int *)*DAT_0038f484 + 8))((int *)*DAT_0038f484);\n          bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n          DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n          DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n                    \n                    \n          (**(code **)(*(int *)*puVar1 + 0xc))();\n          return;\n        }\n        bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n        DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n        DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n      }\n    }\n    return;\n  }\n  free(*(void **)(param_1 + 0xc));\n  return;\n}" primitive_type (function_declarator "FUN_00066600(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  int *piVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  bool bVar6;\n  \n  if (0 < *(int *)(param_1 + 0x10)) {\n                    \n    FUN_00069d00("../../gold/fileread.cc",0x84,"~View",param_1);\n  }\n  iVar2 = *(int *)(param_1 + 0x1c);\n  if (iVar2 != 1) {\n    if (iVar2 != 0) {\n      if (iVar2 != 2) {\n                    \n        FUN_00069d00("../../gold/fileread.cc",0x97,"~View",iVar2);\n      }\n      iVar2 = munmap(*(void **)(param_1 + 0xc),*(size_t *)(param_1 + 8));\n      if (iVar2 != 0) {\n        piVar3 = __errno_location();\n        pcVar4 = strerror(*piVar3);\n        uVar5 = gettext("munmap failed: %s");\n        FUN_000654e0(uVar5,pcVar4);\n      }\n      if ((*(int *)(DAT_0038f378 + 8) == 0) ||\n         (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x3a75) != '\0')) {\n        FUN_0006cf30(&DAT_0038f470);\n        puVar1 = DAT_0038f484;\n        if (DAT_0038f484 != (undefined4 *)0x0) {\n          (**(code **)(*(int *)*DAT_0038f484 + 8))((int *)*DAT_0038f484);\n          bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n          DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n          DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n                    \n                    \n          (**(code **)(*(int *)*puVar1 + 0xc))();\n          return;\n        }\n        bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n        DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n        DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n      }\n    }\n    return;\n  }\n  free(*(void **)(param_1 + 0xc));\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "bool bVar6;" primitive_type identifier ;) (if_statement "if (0 < *(int *)(param_1 + 0x10)) {\n                    \n    FUN_00069d00("../../gold/fileread.cc",0x84,"~View",param_1);\n  }" if (parenthesized_expression "(0 < *(int *)(param_1 + 0x10))" ( (binary_expression "0 < *(int *)(param_1 + 0x10)" number_literal < (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) )) (compound_statement "{\n                    \n    FUN_00069d00("../../gold/fileread.cc",0x84,"~View",param_1);\n  }" { (expression_statement "FUN_00069d00("../../gold/fileread.cc",0x84,"~View",param_1);" (call_expression "FUN_00069d00("../../gold/fileread.cc",0x84,"~View",param_1)" identifier (argument_list "("../../gold/fileread.cc",0x84,"~View",param_1)" ( (string_literal ""../../gold/fileread.cc"" " string_content ") , number_literal , (string_literal ""~View"" " string_content ") , identifier ))) ;) })) (expression_statement "iVar2 = *(int *)(param_1 + 0x1c);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x1c)" identifier = (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 != 1) {\n    if (iVar2 != 0) {\n      if (iVar2 != 2) {\n                    \n        FUN_00069d00("../../gold/fileread.cc",0x97,"~View",iVar2);\n      }\n      iVar2 = munmap(*(void **)(param_1 + 0xc),*(size_t *)(param_1 + 8));\n      if (iVar2 != 0) {\n        piVar3 = __errno_location();\n        pcVar4 = strerror(*piVar3);\n        uVar5 = gettext("munmap failed: %s");\n        FUN_000654e0(uVar5,pcVar4);\n      }\n      if ((*(int *)(DAT_0038f378 + 8) == 0) ||\n         (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x3a75) != '\0')) {\n        FUN_0006cf30(&DAT_0038f470);\n        puVar1 = DAT_0038f484;\n        if (DAT_0038f484 != (undefined4 *)0x0) {\n          (**(code **)(*(int *)*DAT_0038f484 + 8))((int *)*DAT_0038f484);\n          bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n          DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n          DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n                    \n                    \n          (**(code **)(*(int *)*puVar1 + 0xc))();\n          return;\n        }\n        bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n        DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n        DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n      }\n    }\n    return;\n  }" if (parenthesized_expression "(iVar2 != 1)" ( (binary_expression "iVar2 != 1" identifier != number_literal) )) (compound_statement "{\n    if (iVar2 != 0) {\n      if (iVar2 != 2) {\n                    \n        FUN_00069d00("../../gold/fileread.cc",0x97,"~View",iVar2);\n      }\n      iVar2 = munmap(*(void **)(param_1 + 0xc),*(size_t *)(param_1 + 8));\n      if (iVar2 != 0) {\n        piVar3 = __errno_location();\n        pcVar4 = strerror(*piVar3);\n        uVar5 = gettext("munmap failed: %s");\n        FUN_000654e0(uVar5,pcVar4);\n      }\n      if ((*(int *)(DAT_0038f378 + 8) == 0) ||\n         (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x3a75) != '\0')) {\n        FUN_0006cf30(&DAT_0038f470);\n        puVar1 = DAT_0038f484;\n        if (DAT_0038f484 != (undefined4 *)0x0) {\n          (**(code **)(*(int *)*DAT_0038f484 + 8))((int *)*DAT_0038f484);\n          bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n          DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n          DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n                    \n                    \n          (**(code **)(*(int *)*puVar1 + 0xc))();\n          return;\n        }\n        bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n        DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n        DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n      }\n    }\n    return;\n  }" { (if_statement "if (iVar2 != 0) {\n      if (iVar2 != 2) {\n                    \n        FUN_00069d00("../../gold/fileread.cc",0x97,"~View",iVar2);\n      }\n      iVar2 = munmap(*(void **)(param_1 + 0xc),*(size_t *)(param_1 + 8));\n      if (iVar2 != 0) {\n        piVar3 = __errno_location();\n        pcVar4 = strerror(*piVar3);\n        uVar5 = gettext("munmap failed: %s");\n        FUN_000654e0(uVar5,pcVar4);\n      }\n      if ((*(int *)(DAT_0038f378 + 8) == 0) ||\n         (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x3a75) != '\0')) {\n        FUN_0006cf30(&DAT_0038f470);\n        puVar1 = DAT_0038f484;\n        if (DAT_0038f484 != (undefined4 *)0x0) {\n          (**(code **)(*(int *)*DAT_0038f484 + 8))((int *)*DAT_0038f484);\n          bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n          DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n          DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n                    \n                    \n          (**(code **)(*(int *)*puVar1 + 0xc))();\n          return;\n        }\n        bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n        DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n        DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n      }\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      if (iVar2 != 2) {\n                    \n        FUN_00069d00("../../gold/fileread.cc",0x97,"~View",iVar2);\n      }\n      iVar2 = munmap(*(void **)(param_1 + 0xc),*(size_t *)(param_1 + 8));\n      if (iVar2 != 0) {\n        piVar3 = __errno_location();\n        pcVar4 = strerror(*piVar3);\n        uVar5 = gettext("munmap failed: %s");\n        FUN_000654e0(uVar5,pcVar4);\n      }\n      if ((*(int *)(DAT_0038f378 + 8) == 0) ||\n         (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x3a75) != '\0')) {\n        FUN_0006cf30(&DAT_0038f470);\n        puVar1 = DAT_0038f484;\n        if (DAT_0038f484 != (undefined4 *)0x0) {\n          (**(code **)(*(int *)*DAT_0038f484 + 8))((int *)*DAT_0038f484);\n          bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n          DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n          DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n                    \n                    \n          (**(code **)(*(int *)*puVar1 + 0xc))();\n          return;\n        }\n        bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n        DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n        DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n      }\n    }" { (if_statement "if (iVar2 != 2) {\n                    \n        FUN_00069d00("../../gold/fileread.cc",0x97,"~View",iVar2);\n      }" if (parenthesized_expression "(iVar2 != 2)" ( (binary_expression "iVar2 != 2" identifier != number_literal) )) (compound_statement "{\n                    \n        FUN_00069d00("../../gold/fileread.cc",0x97,"~View",iVar2);\n      }" { (expression_statement "FUN_00069d00("../../gold/fileread.cc",0x97,"~View",iVar2);" (call_expression "FUN_00069d00("../../gold/fileread.cc",0x97,"~View",iVar2)" identifier (argument_list "("../../gold/fileread.cc",0x97,"~View",iVar2)" ( (string_literal ""../../gold/fileread.cc"" " string_content ") , number_literal , (string_literal ""~View"" " string_content ") , identifier ))) ;) })) (expression_statement "iVar2 = munmap(*(void **)(param_1 + 0xc),*(size_t *)(param_1 + 8));" (assignment_expression "iVar2 = munmap(*(void **)(param_1 + 0xc),*(size_t *)(param_1 + 8))" identifier = (call_expression "munmap(*(void **)(param_1 + 0xc),*(size_t *)(param_1 + 8))" identifier (argument_list "(*(void **)(param_1 + 0xc),*(size_t *)(param_1 + 8))" ( (pointer_expression "*(void **)(param_1 + 0xc)" * (cast_expression "(void **)(param_1 + 0xc)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) , (pointer_expression "*(size_t *)(param_1 + 8)" * (cast_expression "(size_t *)(param_1 + 8)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar2 != 0) {\n        piVar3 = __errno_location();\n        pcVar4 = strerror(*piVar3);\n        uVar5 = gettext("munmap failed: %s");\n        FUN_000654e0(uVar5,pcVar4);\n      }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n        piVar3 = __errno_location();\n        pcVar4 = strerror(*piVar3);\n        uVar5 = gettext("munmap failed: %s");\n        FUN_000654e0(uVar5,pcVar4);\n      }" { (expression_statement "piVar3 = __errno_location();" (assignment_expression "piVar3 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "pcVar4 = strerror(*piVar3);" (assignment_expression "pcVar4 = strerror(*piVar3)" identifier = (call_expression "strerror(*piVar3)" identifier (argument_list "(*piVar3)" ( (pointer_expression "*piVar3" * identifier) )))) ;) (expression_statement "uVar5 = gettext("munmap failed: %s");" (assignment_expression "uVar5 = gettext("munmap failed: %s")" identifier = (call_expression "gettext("munmap failed: %s")" identifier (argument_list "("munmap failed: %s")" ( (string_literal ""munmap failed: %s"" " string_content ") )))) ;) (expression_statement "FUN_000654e0(uVar5,pcVar4);" (call_expression "FUN_000654e0(uVar5,pcVar4)" identifier (argument_list "(uVar5,pcVar4)" ( identifier , identifier ))) ;) })) (if_statement "if ((*(int *)(DAT_0038f378 + 8) == 0) ||\n         (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x3a75) != '\0')) {\n        FUN_0006cf30(&DAT_0038f470);\n        puVar1 = DAT_0038f484;\n        if (DAT_0038f484 != (undefined4 *)0x0) {\n          (**(code **)(*(int *)*DAT_0038f484 + 8))((int *)*DAT_0038f484);\n          bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n          DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n          DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n                    \n                    \n          (**(code **)(*(int *)*puVar1 + 0xc))();\n          return;\n        }\n        bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n        DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n        DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n      }" if (parenthesized_expression "((*(int *)(DAT_0038f378 + 8) == 0) ||\n         (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x3a75) != '\0'))" ( (binary_expression "(*(int *)(DAT_0038f378 + 8) == 0) ||\n         (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x3a75) != '\0')" (parenthesized_expression "(*(int *)(DAT_0038f378 + 8) == 0)" ( (binary_expression "*(int *)(DAT_0038f378 + 8) == 0" (pointer_expression "*(int *)(DAT_0038f378 + 8)" * (cast_expression "(int *)(DAT_0038f378 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 8)" ( (binary_expression "DAT_0038f378 + 8" identifier + number_literal) )))) == number_literal) )) || (parenthesized_expression "(*(char *)(*(int *)(DAT_0038f378 + 8) + 0x3a75) != '\0')" ( (binary_expression "*(char *)(*(int *)(DAT_0038f378 + 8) + 0x3a75) != '\0'" (pointer_expression "*(char *)(*(int *)(DAT_0038f378 + 8) + 0x3a75)" * (cast_expression "(char *)(*(int *)(DAT_0038f378 + 8) + 0x3a75)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(DAT_0038f378 + 8) + 0x3a75)" ( (binary_expression "*(int *)(DAT_0038f378 + 8) + 0x3a75" (pointer_expression "*(int *)(DAT_0038f378 + 8)" * (cast_expression "(int *)(DAT_0038f378 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 8)" ( (binary_expression "DAT_0038f378 + 8" identifier + number_literal) )))) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n        FUN_0006cf30(&DAT_0038f470);\n        puVar1 = DAT_0038f484;\n        if (DAT_0038f484 != (undefined4 *)0x0) {\n          (**(code **)(*(int *)*DAT_0038f484 + 8))((int *)*DAT_0038f484);\n          bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n          DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n          DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n                    \n                    \n          (**(code **)(*(int *)*puVar1 + 0xc))();\n          return;\n        }\n        bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n        DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n        DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n      }" { (expression_statement "FUN_0006cf30(&DAT_0038f470);" (call_expression "FUN_0006cf30(&DAT_0038f470)" identifier (argument_list "(&DAT_0038f470)" ( (pointer_expression "&DAT_0038f470" & identifier) ))) ;) (expression_statement "puVar1 = DAT_0038f484;" (assignment_expression "puVar1 = DAT_0038f484" identifier = identifier) ;) (if_statement "if (DAT_0038f484 != (undefined4 *)0x0) {\n          (**(code **)(*(int *)*DAT_0038f484 + 8))((int *)*DAT_0038f484);\n          bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n          DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n          DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n                    \n                    \n          (**(code **)(*(int *)*puVar1 + 0xc))();\n          return;\n        }" if (parenthesized_expression "(DAT_0038f484 != (undefined4 *)0x0)" ( (binary_expression "DAT_0038f484 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          (**(code **)(*(int *)*DAT_0038f484 + 8))((int *)*DAT_0038f484);\n          bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n          DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n          DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n                    \n                    \n          (**(code **)(*(int *)*puVar1 + 0xc))();\n          return;\n        }" { (expression_statement "(**(code **)(*(int *)*DAT_0038f484 + 8))((int *)*DAT_0038f484);" (call_expression "(**(code **)(*(int *)*DAT_0038f484 + 8))((int *)*DAT_0038f484)" (parenthesized_expression "(**(code **)(*(int *)*DAT_0038f484 + 8))" ( (pointer_expression "**(code **)(*(int *)*DAT_0038f484 + 8)" * (pointer_expression "*(code **)(*(int *)*DAT_0038f484 + 8)" * (cast_expression "(code **)(*(int *)*DAT_0038f484 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)*DAT_0038f484 + 8)" ( (binary_expression "*(int *)*DAT_0038f484 + 8" (pointer_expression "*(int *)*DAT_0038f484" * (cast_expression "(int *)*DAT_0038f484" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*DAT_0038f484" * identifier))) + number_literal) ))))) )) (argument_list "((int *)*DAT_0038f484)" ( (cast_expression "(int *)*DAT_0038f484" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*DAT_0038f484" * identifier)) ))) ;) (expression_statement "bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);" (assignment_expression "bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8)" identifier = (binary_expression "DAT_0038f460 < *(uint *)(param_1 + 8)" identifier < (pointer_expression "*(uint *)(param_1 + 8)" * (cast_expression "(uint *)(param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))))) ;) (expression_statement "DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);" (assignment_expression "DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8)" identifier = (binary_expression "DAT_0038f460 - *(uint *)(param_1 + 8)" identifier - (pointer_expression "*(uint *)(param_1 + 8)" * (cast_expression "(uint *)(param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))))) ;) (expression_statement "DAT_0038f464 = DAT_0038f464 - (uint)bVar6;" (assignment_expression "DAT_0038f464 = DAT_0038f464 - (uint)bVar6" identifier = (binary_expression "DAT_0038f464 - (uint)bVar6" identifier - (cast_expression "(uint)bVar6" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (expression_statement "(**(code **)(*(int *)*puVar1 + 0xc))();" (call_expression "(**(code **)(*(int *)*puVar1 + 0xc))()" (parenthesized_expression "(**(code **)(*(int *)*puVar1 + 0xc))" ( (pointer_expression "**(code **)(*(int *)*puVar1 + 0xc)" * (pointer_expression "*(code **)(*(int *)*puVar1 + 0xc)" * (cast_expression "(code **)(*(int *)*puVar1 + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)*puVar1 + 0xc)" ( (binary_expression "*(int *)*puVar1 + 0xc" (pointer_expression "*(int *)*puVar1" * (cast_expression "(int *)*puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) + number_literal) ))))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);" (assignment_expression "bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8)" identifier = (binary_expression "DAT_0038f460 < *(uint *)(param_1 + 8)" identifier < (pointer_expression "*(uint *)(param_1 + 8)" * (cast_expression "(uint *)(param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))))) ;) (expression_statement "DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);" (assignment_expression "DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8)" identifier = (binary_expression "DAT_0038f460 - *(uint *)(param_1 + 8)" identifier - (pointer_expression "*(uint *)(param_1 + 8)" * (cast_expression "(uint *)(param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))))) ;) (expression_statement "DAT_0038f464 = DAT_0038f464 - (uint)bVar6;" (assignment_expression "DAT_0038f464 = DAT_0038f464 - (uint)bVar6" identifier = (binary_expression "DAT_0038f464 - (uint)bVar6" identifier - (cast_expression "(uint)bVar6" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) })) })) (return_statement "return;" return ;) })) (expression_statement "free(*(void **)(param_1 + 0xc));" (call_expression "free(*(void **)(param_1 + 0xc))" identifier (argument_list "(*(void **)(param_1 + 0xc))" ( (pointer_expression "*(void **)(param_1 + 0xc)" * (cast_expression "(void **)(param_1 + 0xc)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) != (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) + LIT) ))))) )) (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) + LIT) ))))) )) (argument_list ( ))) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) })) })) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00066600(int param_1)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  int *piVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  bool bVar6;\n  \n  if (0 < *(int *)(param_1 + 0x10)) {\n                    \n    FUN_00069d00("../../gold/fileread.cc",0x84,"~View",param_1);\n  }\n  iVar2 = *(int *)(param_1 + 0x1c);\n  if (iVar2 != 1) {\n    if (iVar2 != 0) {\n      if (iVar2 != 2) {\n                    \n        FUN_00069d00("../../gold/fileread.cc",0x97,"~View",iVar2);\n      }\n      iVar2 = munmap(*(void **)(param_1 + 0xc),*(size_t *)(param_1 + 8));\n      if (iVar2 != 0) {\n        piVar3 = __errno_location();\n        pcVar4 = strerror(*piVar3);\n        uVar5 = gettext("munmap failed: %s");\n        FUN_000654e0(uVar5,pcVar4);\n      }\n      if ((*(int *)(DAT_0038f378 + 8) == 0) ||\n         (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x3a75) != '\0')) {\n        FUN_0006cf30(&DAT_0038f470);\n        puVar1 = DAT_0038f484;\n        if (DAT_0038f484 != (undefined4 *)0x0) {\n          (**(code **)(*(int *)*DAT_0038f484 + 8))((int *)*DAT_0038f484);\n          bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n          DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n          DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n                    \n                    \n          (**(code **)(*(int *)*puVar1 + 0xc))();\n          return;\n        }\n        bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n        DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n        DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n      }\n    }\n    return;\n  }\n  free(*(void **)(param_1 + 0xc));\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00066600(int param_1)" (identifier "FUN_00066600") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  int *piVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  bool bVar6;\n  \n  if (0 < *(int *)(param_1 + 0x10)) {\n                    \n    FUN_00069d00("../../gold/fileread.cc",0x84,"~View",param_1);\n  }\n  iVar2 = *(int *)(param_1 + 0x1c);\n  if (iVar2 != 1) {\n    if (iVar2 != 0) {\n      if (iVar2 != 2) {\n                    \n        FUN_00069d00("../../gold/fileread.cc",0x97,"~View",iVar2);\n      }\n      iVar2 = munmap(*(void **)(param_1 + 0xc),*(size_t *)(param_1 + 8));\n      if (iVar2 != 0) {\n        piVar3 = __errno_location();\n        pcVar4 = strerror(*piVar3);\n        uVar5 = gettext("munmap failed: %s");\n        FUN_000654e0(uVar5,pcVar4);\n      }\n      if ((*(int *)(DAT_0038f378 + 8) == 0) ||\n         (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x3a75) != '\0')) {\n        FUN_0006cf30(&DAT_0038f470);\n        puVar1 = DAT_0038f484;\n        if (DAT_0038f484 != (undefined4 *)0x0) {\n          (**(code **)(*(int *)*DAT_0038f484 + 8))((int *)*DAT_0038f484);\n          bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n          DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n          DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n                    \n                    \n          (**(code **)(*(int *)*puVar1 + 0xc))();\n          return;\n        }\n        bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n        DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n        DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n      }\n    }\n    return;\n  }\n  free(*(void **)(param_1 + 0xc));\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "char *pcVar4;" (primitive_type "char") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "bool bVar6;" (primitive_type "bool") (identifier "bVar6") (; ";")) (if_statement "if (0 < *(int *)(param_1 + 0x10)) {\n                    \n    FUN_00069d00("../../gold/fileread.cc",0x84,"~View",param_1);\n  }" (if "if") (parenthesized_expression "(0 < *(int *)(param_1 + 0x10))" (( "(") (binary_expression "0 < *(int *)(param_1 + 0x10)" (number_literal "0") (< "<") (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) () ")")) (compound_statement "{\n                    \n    FUN_00069d00("../../gold/fileread.cc",0x84,"~View",param_1);\n  }" ({ "{") (expression_statement "FUN_00069d00("../../gold/fileread.cc",0x84,"~View",param_1);" (call_expression "FUN_00069d00("../../gold/fileread.cc",0x84,"~View",param_1)" (identifier "FUN_00069d00") (argument_list "("../../gold/fileread.cc",0x84,"~View",param_1)" (( "(") (string_literal ""../../gold/fileread.cc"" (" """) (string_content "../../gold/fileread.cc") (" """)) (, ",") (number_literal "0x84") (, ",") (string_literal ""~View"" (" """) (string_content "~View") (" """)) (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar2 = *(int *)(param_1 + 0x1c);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x1c)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(param_1 + 0x1c)" (* "*") (cast_expression "(int *)(param_1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (if_statement "if (iVar2 != 1) {\n    if (iVar2 != 0) {\n      if (iVar2 != 2) {\n                    \n        FUN_00069d00("../../gold/fileread.cc",0x97,"~View",iVar2);\n      }\n      iVar2 = munmap(*(void **)(param_1 + 0xc),*(size_t *)(param_1 + 8));\n      if (iVar2 != 0) {\n        piVar3 = __errno_location();\n        pcVar4 = strerror(*piVar3);\n        uVar5 = gettext("munmap failed: %s");\n        FUN_000654e0(uVar5,pcVar4);\n      }\n      if ((*(int *)(DAT_0038f378 + 8) == 0) ||\n         (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x3a75) != '\0')) {\n        FUN_0006cf30(&DAT_0038f470);\n        puVar1 = DAT_0038f484;\n        if (DAT_0038f484 != (undefined4 *)0x0) {\n          (**(code **)(*(int *)*DAT_0038f484 + 8))((int *)*DAT_0038f484);\n          bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n          DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n          DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n                    \n                    \n          (**(code **)(*(int *)*puVar1 + 0xc))();\n          return;\n        }\n        bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n        DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n        DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n      }\n    }\n    return;\n  }" (if "if") (parenthesized_expression "(iVar2 != 1)" (( "(") (binary_expression "iVar2 != 1" (identifier "iVar2") (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n    if (iVar2 != 0) {\n      if (iVar2 != 2) {\n                    \n        FUN_00069d00("../../gold/fileread.cc",0x97,"~View",iVar2);\n      }\n      iVar2 = munmap(*(void **)(param_1 + 0xc),*(size_t *)(param_1 + 8));\n      if (iVar2 != 0) {\n        piVar3 = __errno_location();\n        pcVar4 = strerror(*piVar3);\n        uVar5 = gettext("munmap failed: %s");\n        FUN_000654e0(uVar5,pcVar4);\n      }\n      if ((*(int *)(DAT_0038f378 + 8) == 0) ||\n         (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x3a75) != '\0')) {\n        FUN_0006cf30(&DAT_0038f470);\n        puVar1 = DAT_0038f484;\n        if (DAT_0038f484 != (undefined4 *)0x0) {\n          (**(code **)(*(int *)*DAT_0038f484 + 8))((int *)*DAT_0038f484);\n          bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n          DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n          DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n                    \n                    \n          (**(code **)(*(int *)*puVar1 + 0xc))();\n          return;\n        }\n        bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n        DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n        DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n      }\n    }\n    return;\n  }" ({ "{") (if_statement "if (iVar2 != 0) {\n      if (iVar2 != 2) {\n                    \n        FUN_00069d00("../../gold/fileread.cc",0x97,"~View",iVar2);\n      }\n      iVar2 = munmap(*(void **)(param_1 + 0xc),*(size_t *)(param_1 + 8));\n      if (iVar2 != 0) {\n        piVar3 = __errno_location();\n        pcVar4 = strerror(*piVar3);\n        uVar5 = gettext("munmap failed: %s");\n        FUN_000654e0(uVar5,pcVar4);\n      }\n      if ((*(int *)(DAT_0038f378 + 8) == 0) ||\n         (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x3a75) != '\0')) {\n        FUN_0006cf30(&DAT_0038f470);\n        puVar1 = DAT_0038f484;\n        if (DAT_0038f484 != (undefined4 *)0x0) {\n          (**(code **)(*(int *)*DAT_0038f484 + 8))((int *)*DAT_0038f484);\n          bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n          DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n          DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n                    \n                    \n          (**(code **)(*(int *)*puVar1 + 0xc))();\n          return;\n        }\n        bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n        DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n        DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n      }\n    }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      if (iVar2 != 2) {\n                    \n        FUN_00069d00("../../gold/fileread.cc",0x97,"~View",iVar2);\n      }\n      iVar2 = munmap(*(void **)(param_1 + 0xc),*(size_t *)(param_1 + 8));\n      if (iVar2 != 0) {\n        piVar3 = __errno_location();\n        pcVar4 = strerror(*piVar3);\n        uVar5 = gettext("munmap failed: %s");\n        FUN_000654e0(uVar5,pcVar4);\n      }\n      if ((*(int *)(DAT_0038f378 + 8) == 0) ||\n         (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x3a75) != '\0')) {\n        FUN_0006cf30(&DAT_0038f470);\n        puVar1 = DAT_0038f484;\n        if (DAT_0038f484 != (undefined4 *)0x0) {\n          (**(code **)(*(int *)*DAT_0038f484 + 8))((int *)*DAT_0038f484);\n          bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n          DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n          DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n                    \n                    \n          (**(code **)(*(int *)*puVar1 + 0xc))();\n          return;\n        }\n        bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n        DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n        DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n      }\n    }" ({ "{") (if_statement "if (iVar2 != 2) {\n                    \n        FUN_00069d00("../../gold/fileread.cc",0x97,"~View",iVar2);\n      }" (if "if") (parenthesized_expression "(iVar2 != 2)" (( "(") (binary_expression "iVar2 != 2" (identifier "iVar2") (!= "!=") (number_literal "2")) () ")")) (compound_statement "{\n                    \n        FUN_00069d00("../../gold/fileread.cc",0x97,"~View",iVar2);\n      }" ({ "{") (expression_statement "FUN_00069d00("../../gold/fileread.cc",0x97,"~View",iVar2);" (call_expression "FUN_00069d00("../../gold/fileread.cc",0x97,"~View",iVar2)" (identifier "FUN_00069d00") (argument_list "("../../gold/fileread.cc",0x97,"~View",iVar2)" (( "(") (string_literal ""../../gold/fileread.cc"" (" """) (string_content "../../gold/fileread.cc") (" """)) (, ",") (number_literal "0x97") (, ",") (string_literal ""~View"" (" """) (string_content "~View") (" """)) (, ",") (identifier "iVar2") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar2 = munmap(*(void **)(param_1 + 0xc),*(size_t *)(param_1 + 8));" (assignment_expression "iVar2 = munmap(*(void **)(param_1 + 0xc),*(size_t *)(param_1 + 8))" (identifier "iVar2") (= "=") (call_expression "munmap(*(void **)(param_1 + 0xc),*(size_t *)(param_1 + 8))" (identifier "munmap") (argument_list "(*(void **)(param_1 + 0xc),*(size_t *)(param_1 + 8))" (( "(") (pointer_expression "*(void **)(param_1 + 0xc)" (* "*") (cast_expression "(void **)(param_1 + 0xc)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (, ",") (pointer_expression "*(size_t *)(param_1 + 8)" (* "*") (cast_expression "(size_t *)(param_1 + 8)" (( "(") (type_descriptor "size_t *" (primitive_type "size_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\n        piVar3 = __errno_location();\n        pcVar4 = strerror(*piVar3);\n        uVar5 = gettext("munmap failed: %s");\n        FUN_000654e0(uVar5,pcVar4);\n      }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        piVar3 = __errno_location();\n        pcVar4 = strerror(*piVar3);\n        uVar5 = gettext("munmap failed: %s");\n        FUN_000654e0(uVar5,pcVar4);\n      }" ({ "{") (expression_statement "piVar3 = __errno_location();" (assignment_expression "piVar3 = __errno_location()" (identifier "piVar3") (= "=") (call_expression "__errno_location()" (identifier "__errno_location") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "pcVar4 = strerror(*piVar3);" (assignment_expression "pcVar4 = strerror(*piVar3)" (identifier "pcVar4") (= "=") (call_expression "strerror(*piVar3)" (identifier "strerror") (argument_list "(*piVar3)" (( "(") (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) () ")")))) (; ";")) (expression_statement "uVar5 = gettext("munmap failed: %s");" (assignment_expression "uVar5 = gettext("munmap failed: %s")" (identifier "uVar5") (= "=") (call_expression "gettext("munmap failed: %s")" (identifier "gettext") (argument_list "("munmap failed: %s")" (( "(") (string_literal ""munmap failed: %s"" (" """) (string_content "munmap failed: %s") (" """)) () ")")))) (; ";")) (expression_statement "FUN_000654e0(uVar5,pcVar4);" (call_expression "FUN_000654e0(uVar5,pcVar4)" (identifier "FUN_000654e0") (argument_list "(uVar5,pcVar4)" (( "(") (identifier "uVar5") (, ",") (identifier "pcVar4") () ")"))) (; ";")) (} "}"))) (if_statement "if ((*(int *)(DAT_0038f378 + 8) == 0) ||\n         (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x3a75) != '\0')) {\n        FUN_0006cf30(&DAT_0038f470);\n        puVar1 = DAT_0038f484;\n        if (DAT_0038f484 != (undefined4 *)0x0) {\n          (**(code **)(*(int *)*DAT_0038f484 + 8))((int *)*DAT_0038f484);\n          bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n          DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n          DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n                    \n                    \n          (**(code **)(*(int *)*puVar1 + 0xc))();\n          return;\n        }\n        bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n        DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n        DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n      }" (if "if") (parenthesized_expression "((*(int *)(DAT_0038f378 + 8) == 0) ||\n         (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x3a75) != '\0'))" (( "(") (binary_expression "(*(int *)(DAT_0038f378 + 8) == 0) ||\n         (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x3a75) != '\0')" (parenthesized_expression "(*(int *)(DAT_0038f378 + 8) == 0)" (( "(") (binary_expression "*(int *)(DAT_0038f378 + 8) == 0" (pointer_expression "*(int *)(DAT_0038f378 + 8)" (* "*") (cast_expression "(int *)(DAT_0038f378 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0038f378 + 8)" (( "(") (binary_expression "DAT_0038f378 + 8" (identifier "DAT_0038f378") (+ "+") (number_literal "8")) () ")")))) (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(*(char *)(*(int *)(DAT_0038f378 + 8) + 0x3a75) != '\0')" (( "(") (binary_expression "*(char *)(*(int *)(DAT_0038f378 + 8) + 0x3a75) != '\0'" (pointer_expression "*(char *)(*(int *)(DAT_0038f378 + 8) + 0x3a75)" (* "*") (cast_expression "(char *)(*(int *)(DAT_0038f378 + 8) + 0x3a75)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(DAT_0038f378 + 8) + 0x3a75)" (( "(") (binary_expression "*(int *)(DAT_0038f378 + 8) + 0x3a75" (pointer_expression "*(int *)(DAT_0038f378 + 8)" (* "*") (cast_expression "(int *)(DAT_0038f378 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0038f378 + 8)" (( "(") (binary_expression "DAT_0038f378 + 8" (identifier "DAT_0038f378") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x3a75")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n        FUN_0006cf30(&DAT_0038f470);\n        puVar1 = DAT_0038f484;\n        if (DAT_0038f484 != (undefined4 *)0x0) {\n          (**(code **)(*(int *)*DAT_0038f484 + 8))((int *)*DAT_0038f484);\n          bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n          DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n          DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n                    \n                    \n          (**(code **)(*(int *)*puVar1 + 0xc))();\n          return;\n        }\n        bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n        DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n        DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n      }" ({ "{") (expression_statement "FUN_0006cf30(&DAT_0038f470);" (call_expression "FUN_0006cf30(&DAT_0038f470)" (identifier "FUN_0006cf30") (argument_list "(&DAT_0038f470)" (( "(") (pointer_expression "&DAT_0038f470" (& "&") (identifier "DAT_0038f470")) () ")"))) (; ";")) (expression_statement "puVar1 = DAT_0038f484;" (assignment_expression "puVar1 = DAT_0038f484" (identifier "puVar1") (= "=") (identifier "DAT_0038f484")) (; ";")) (if_statement "if (DAT_0038f484 != (undefined4 *)0x0) {\n          (**(code **)(*(int *)*DAT_0038f484 + 8))((int *)*DAT_0038f484);\n          bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n          DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n          DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n                    \n                    \n          (**(code **)(*(int *)*puVar1 + 0xc))();\n          return;\n        }" (if "if") (parenthesized_expression "(DAT_0038f484 != (undefined4 *)0x0)" (( "(") (binary_expression "DAT_0038f484 != (undefined4 *)0x0" (identifier "DAT_0038f484") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          (**(code **)(*(int *)*DAT_0038f484 + 8))((int *)*DAT_0038f484);\n          bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);\n          DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);\n          DAT_0038f464 = DAT_0038f464 - (uint)bVar6;\n                    \n                    \n          (**(code **)(*(int *)*puVar1 + 0xc))();\n          return;\n        }" ({ "{") (expression_statement "(**(code **)(*(int *)*DAT_0038f484 + 8))((int *)*DAT_0038f484);" (call_expression "(**(code **)(*(int *)*DAT_0038f484 + 8))((int *)*DAT_0038f484)" (parenthesized_expression "(**(code **)(*(int *)*DAT_0038f484 + 8))" (( "(") (pointer_expression "**(code **)(*(int *)*DAT_0038f484 + 8)" (* "*") (pointer_expression "*(code **)(*(int *)*DAT_0038f484 + 8)" (* "*") (cast_expression "(code **)(*(int *)*DAT_0038f484 + 8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)*DAT_0038f484 + 8)" (( "(") (binary_expression "*(int *)*DAT_0038f484 + 8" (pointer_expression "*(int *)*DAT_0038f484" (* "*") (cast_expression "(int *)*DAT_0038f484" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*DAT_0038f484" (* "*") (identifier "DAT_0038f484")))) (+ "+") (number_literal "8")) () ")"))))) () ")")) (argument_list "((int *)*DAT_0038f484)" (( "(") (cast_expression "(int *)*DAT_0038f484" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*DAT_0038f484" (* "*") (identifier "DAT_0038f484"))) () ")"))) (; ";")) (expression_statement "bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);" (assignment_expression "bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8)" (identifier "bVar6") (= "=") (binary_expression "DAT_0038f460 < *(uint *)(param_1 + 8)" (identifier "DAT_0038f460") (< "<") (pointer_expression "*(uint *)(param_1 + 8)" (* "*") (cast_expression "(uint *)(param_1 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))))) (; ";")) (expression_statement "DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);" (assignment_expression "DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8)" (identifier "DAT_0038f460") (= "=") (binary_expression "DAT_0038f460 - *(uint *)(param_1 + 8)" (identifier "DAT_0038f460") (- "-") (pointer_expression "*(uint *)(param_1 + 8)" (* "*") (cast_expression "(uint *)(param_1 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))))) (; ";")) (expression_statement "DAT_0038f464 = DAT_0038f464 - (uint)bVar6;" (assignment_expression "DAT_0038f464 = DAT_0038f464 - (uint)bVar6" (identifier "DAT_0038f464") (= "=") (binary_expression "DAT_0038f464 - (uint)bVar6" (identifier "DAT_0038f464") (- "-") (cast_expression "(uint)bVar6" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar6")))) (; ";")) (expression_statement "(**(code **)(*(int *)*puVar1 + 0xc))();" (call_expression "(**(code **)(*(int *)*puVar1 + 0xc))()" (parenthesized_expression "(**(code **)(*(int *)*puVar1 + 0xc))" (( "(") (pointer_expression "**(code **)(*(int *)*puVar1 + 0xc)" (* "*") (pointer_expression "*(code **)(*(int *)*puVar1 + 0xc)" (* "*") (cast_expression "(code **)(*(int *)*puVar1 + 0xc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)*puVar1 + 0xc)" (( "(") (binary_expression "*(int *)*puVar1 + 0xc" (pointer_expression "*(int *)*puVar1" (* "*") (cast_expression "(int *)*puVar1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")))) (+ "+") (number_literal "0xc")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);" (assignment_expression "bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8)" (identifier "bVar6") (= "=") (binary_expression "DAT_0038f460 < *(uint *)(param_1 + 8)" (identifier "DAT_0038f460") (< "<") (pointer_expression "*(uint *)(param_1 + 8)" (* "*") (cast_expression "(uint *)(param_1 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))))) (; ";")) (expression_statement "DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);" (assignment_expression "DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8)" (identifier "DAT_0038f460") (= "=") (binary_expression "DAT_0038f460 - *(uint *)(param_1 + 8)" (identifier "DAT_0038f460") (- "-") (pointer_expression "*(uint *)(param_1 + 8)" (* "*") (cast_expression "(uint *)(param_1 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))))) (; ";")) (expression_statement "DAT_0038f464 = DAT_0038f464 - (uint)bVar6;" (assignment_expression "DAT_0038f464 = DAT_0038f464 - (uint)bVar6" (identifier "DAT_0038f464") (= "=") (binary_expression "DAT_0038f464 - (uint)bVar6" (identifier "DAT_0038f464") (- "-") (cast_expression "(uint)bVar6" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar6")))) (; ";")) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "free(*(void **)(param_1 + 0xc));" (call_expression "free(*(void **)(param_1 + 0xc))" (identifier "free") (argument_list "(*(void **)(param_1 + 0xc))" (( "(") (pointer_expression "*(void **)(param_1 + 0xc)" (* "*") (cast_expression "(void **)(param_1 + 0xc)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void ~View(View * this, int __in_chrg) */

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

{
  type_1 var_2;
  type_2 *pLVar2;
  int var_7;
  int *piVar4;
  char *pcVar5;
  char *format;
  bool bVar6;
  
  if (0 < this->lock_count_) {
                    /* WARNING: Subroutine does not return */
    var_1("../../gold/fileread.cc",0x84,"~View");
  }
  var_2 = this->data_ownership_;
  if (var_2 != var_3) {
    if (var_2 != var_4) {
      if (var_2 != var_5) {
                    /* WARNING: Subroutine does not return */
        var_1("../../gold/fileread.cc",0x97,"~View");
      }
      var_7 = var_6(this->data_,this->size_);
      if (var_7 != 0) {
        piVar4 = var_8();
        pcVar5 = var_9(*piVar4);
        format = (char *)var_10("munmap failed: %s");
        var_11(format,pcVar5);
      }
      if ((parameters->options_ == (type_3 *)0x0) ||
         ((parameters->options_->stats_).value != false)) {
        Initialize_lock::var_12(&file_counts_initialize_lock);
        pLVar2 = var_13;
        if (var_13 != (type_2 *)0x0) {
          (*var_13->lock_->_vptr_Lock_impl[2])(var_13->lock_);
          bVar6 = (type_4)current_mapped_bytes < this->size_;
          current_mapped_bytes._0_4_ = (type_4)current_mapped_bytes - this->size_;
          current_mapped_bytes._4_4_ = current_mapped_bytes._4_4_ - (type_4)bVar6;
                    /* WARNING: Could not recover jumptable at 0x000666b4. Too many branches */
                    /* WARNING: Treating indirect jump as call */
          (*pLVar2->lock_->_vptr_Lock_impl[3])();
          return;
        }
        bVar6 = (type_4)current_mapped_bytes < this->size_;
        current_mapped_bytes._0_4_ = (type_4)current_mapped_bytes - this->size_;
        current_mapped_bytes._4_4_ = current_mapped_bytes._4_4_ - (type_4)bVar6;
      }
    }
    return;
  }
  var_14(this->data_);
  return;
}


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

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

void MASKED(int param_1)

{
  undefined4 *puVar1;
  int iVar2;
  int *piVar3;
  char *pcVar4;
  undefined4 uVar5;
  bool bVar6;
  
  if (0 < *(int *)(param_1 + 0x10)) {
                    /* WARNING: Subroutine does not return */
    FUN_00069d00("../../gold/fileread.cc",0x84,"~View",param_1);
  }
  iVar2 = *(int *)(param_1 + 0x1c);
  if (iVar2 != 1) {
    if (iVar2 != 0) {
      if (iVar2 != 2) {
                    /* WARNING: Subroutine does not return */
        FUN_00069d00("../../gold/fileread.cc",0x97,"~View",iVar2);
      }
      iVar2 = munmap(*(void **)(param_1 + 0xc),*(size_t *)(param_1 + 8));
      if (iVar2 != 0) {
        piVar3 = __errno_location();
        pcVar4 = strerror(*piVar3);
        uVar5 = gettext("munmap failed: %s");
        FUN_000654e0(uVar5,pcVar4);
      }
      if ((*(int *)(DAT_0038f378 + 8) == 0) ||
         (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x3a75) != '\0')) {
        FUN_0006cf30(&DAT_0038f470);
        puVar1 = DAT_0038f484;
        if (DAT_0038f484 != (undefined4 *)0x0) {
          (**(code **)(*(int *)*DAT_0038f484 + 8))((int *)*DAT_0038f484);
          bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);
          DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);
          DAT_0038f464 = DAT_0038f464 - (uint)bVar6;
                    /* WARNING: Could not recover jumptable at 0x000666b4. Too many branches */
                    /* WARNING: Treating indirect jump as call */
          (**(code **)(*(int *)*puVar1 + 0xc))();
          return;
        }
        bVar6 = DAT_0038f460 < *(uint *)(param_1 + 8);
        DAT_0038f460 = DAT_0038f460 - *(uint *)(param_1 + 8);
        DAT_0038f464 = DAT_0038f464 - (uint)bVar6;
      }
    }
    return;
  }
  free(*(void **)(param_1 + 0xc));
  return;
}

