
/* 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: bool close_some_descriptor(Descriptors * this) */

bool __thiscall gold::Descriptors::close_some_descriptor(Descriptors *this)

{
  pointer pOVar1;
  pointer pOVar2;
  uint uVar3;
  char *pcVar4;
  uint uVar5;
  int iVar6;
  int *piVar7;
  char *pcVar8;
  char *format;
  uint uVar9;
  uint __fd;
  
  __fd = this->stack_top_;
  if ((int)__fd < 0) {
    return false;
  }
  pOVar2 = (this->open_descriptors_).
           super__Vector_base<gold::Descriptors::Open_descriptor,_std::allocator<gold::Descriptors::Open_descriptor>_>
           ._M_impl._M_start;
  uVar5 = ((int)(this->open_descriptors_).
                super__Vector_base<gold::Descriptors::Open_descriptor,_std::allocator<gold::Descriptors::Open_descriptor>_>
                ._M_impl._M_finish - (int)pOVar2 >> 2) * -0x55555555;
  if (__fd < uVar5) {
    uVar9 = 0xffffffff;
    do {
      pOVar1 = pOVar2 + __fd;
      if ((pOVar1->inuse == false) && (pOVar1->is_write == false)) {
        iVar6 = close(__fd);
        if (iVar6 < 0) {
          piVar7 = __errno_location();
          pcVar8 = strerror(*piVar7);
          pcVar4 = pOVar1->name;
          format = (char *)gettext("while closing %s: %s");
          gold_warning(format,pcVar4,pcVar8);
        }
        this->current_ = this->current_ + -1;
        if ((parameters->options_ == (General_options *)0x0) || ((parameters->debug_ & 4) == 0)) {
          pOVar1->name = (char *)0x0;
          iVar6 = pOVar1->stack_next;
        }
        else {
          Errors::debug(parameters->errors_,"Closed descriptor %d for \"%s\"",__fd,pOVar1->name);
          iVar6 = pOVar1->stack_next;
          pOVar1->name = (char *)0x0;
        }
        if (uVar9 == 0xffffffff) {
          this->stack_top_ = iVar6;
        }
        else {
          (this->open_descriptors_).
          super__Vector_base<gold::Descriptors::Open_descriptor,_std::allocator<gold::Descriptors::Open_descriptor>_>
          ._M_impl._M_start[uVar9].stack_next = iVar6;
        }
        pOVar1->stack_next = -1;
        pOVar1->is_on_stack = false;
        return true;
      }
      uVar3 = pOVar1->stack_next;
      if ((int)uVar3 < 0) {
        return false;
      }
      uVar9 = __fd;
      __fd = uVar3;
    } while (uVar3 < uVar5);
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/descriptors.cc",0xf2,"close_some_descriptor");
}



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

undefined4 FUN_00143670(int param_1)

{
  undefined4 *puVar1;
  uint uVar2;
  undefined4 uVar3;
  uint uVar4;
  int iVar5;
  int *piVar6;
  char *pcVar7;
  undefined4 uVar8;
  uint uVar9;
  uint __fd;
  
  __fd = *(uint *)(param_1 + 0x24);
  if ((int)__fd < 0) {
    return 0;
  }
  uVar4 = (*(int *)(param_1 + 0x1c) - *(int *)(param_1 + 0x18) >> 2) * -0x55555555;
  if (__fd < uVar4) {
    uVar9 = 0xffffffff;
    do {
      puVar1 = (undefined4 *)(*(int *)(param_1 + 0x18) + __fd * 0xc);
      if ((*(char *)(puVar1 + 2) == '\0') && (*(char *)((int)puVar1 + 9) == '\0')) {
        iVar5 = close(__fd);
        if (iVar5 < 0) {
          piVar6 = __errno_location();
          pcVar7 = strerror(*piVar6);
          uVar3 = *puVar1;
          uVar8 = gettext("while closing %s: %s");
          FUN_0005ad30(uVar8,uVar3,pcVar7);
        }
        *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + -1;
        if ((DAT_00302378[2] == 0) || ((*(byte *)(DAT_00302378 + 5) & 4) == 0)) {
          *puVar1 = 0;
          uVar3 = puVar1[1];
        }
        else {
          FUN_0005ac40(*DAT_00302378,"Closed descriptor %d for \"%s\"",__fd,*puVar1);
          uVar3 = puVar1[1];
          *puVar1 = 0;
        }
        if (uVar9 == 0xffffffff) {
          *(undefined4 *)(param_1 + 0x24) = uVar3;
        }
        else {
          *(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4) = uVar3;
        }
        puVar1[1] = 0xffffffff;
        *(undefined1 *)((int)puVar1 + 10) = 0;
        return 1;
      }
      uVar2 = puVar1[1];
      if ((int)uVar2 < 0) {
        return 0;
      }
      uVar9 = __fd;
      __fd = uVar2;
    } while (uVar2 < uVar4);
  }
                    /* WARNING: Subroutine does not return */
  FUN_0005f0b0("../../gold/descriptors.cc",0xf2,"close_some_descriptor");
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00032730
ADD EBX,0x1be987
SUB ESP,0x1c
MOV EDX,dword ptr [ESP + 0x30]
MOV EDI,dword ptr [EDX + 0x24]
TEST EDI,EDI
JS 0x001436d5
MOV ECX,dword ptr [EDX + 0x18]
MOV EAX,dword ptr [EDX + 0x1c]
MOV ESI,EDI
SUB EAX,ECX
SAR EAX,0x2
IMUL EAX,EAX,-0x55555555
CMP EDI,EAX
JNC 0x001437ba
MOV EBP,0xffffffff
JMP 0x001436bc
MOV EBP,EDI
CMP ESI,EAX
JNC 0x001437ba
MOV EDI,ESI
LEA ESI,[ESI + ESI*0x2]
LEA ESI,[ECX + ESI*0x4]
CMP byte ptr [ESI + 0x8],0x0
JNZ 0x001436ce
CMP byte ptr [ESI + 0x9],0x0
JZ 0x001436e0
MOV ESI,dword ptr [ESI + 0x4]
TEST ESI,ESI
JNS 0x001436b0
ADD ESP,0x1c
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV dword ptr [ESP + 0x30],EDX
SUB ESP,0xc
PUSH EDI
CALL 0x00026720
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x30]
TEST EAX,EAX
JS 0x00143775
LEA EAX,[EBX + 0x378]
SUB dword ptr [EDX + 0x28],0x1
MOV EAX,dword ptr [EAX]
MOV ECX,dword ptr [EAX + 0x8]
TEST ECX,ECX
JZ 0x00143711
TEST byte ptr [EAX + 0x14],0x4
JNZ 0x00143749
MOV dword ptr [ESI],0x0
MOV ECX,dword ptr [ESI + 0x4]
CMP EBP,-0x1
JZ 0x00143744
MOV EBX,dword ptr [EDX + 0x18]
LEA EAX,[EBP + EBP*0x2]
LEA EAX,[EBX + EAX*0x4]
MOV dword ptr [EAX + 0x4],ECX
MOV dword ptr [ESI + 0x4],0xffffffff
MOV EAX,0x1
MOV byte ptr [ESI + 0xa],0x0
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV dword ptr [EDX + 0x24],ECX
JMP 0x0014372c
LEA ECX,[EBX + 0xfff32d61]
MOV dword ptr [ESP + 0x30],EDX
PUSH dword ptr [ESI]
PUSH EDI
PUSH ECX
PUSH dword ptr [EAX]
CALL 0x0005ac40
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x30]
MOV ECX,dword ptr [ESI + 0x4]
MOV dword ptr [ESI],0x0
CMP EBP,-0x1
JNZ 0x0014371f
JMP 0x00143744
CALL 0x00026090
SUB ESP,0xc
PUSH dword ptr [EAX]
CALL 0x00026100
MOV dword ptr [ESP + 0x1c],EAX
MOV EAX,dword ptr [ESI]
MOV dword ptr [ESP + 0x18],EAX
LEA EAX,[EBX + 0xfff32d4c]
MOV dword ptr [ESP],EAX
CALL 0x000263b0
ADD ESP,0xc
MOV ECX,dword ptr [ESP + 0x10]
PUSH ECX
PUSH dword ptr [ESP + 0x10]
PUSH EAX
CALL 0x0005ad30
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x30]
JMP 0x001436f8
SUB ESP,0x4
LEA EAX,[EBX + 0xfff32e6c]
PUSH EAX
LEA EAX,[EBX + 0xfff32d32]
PUSH 0xf2
PUSH EAX
CALL 0x0005f0b0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_00143670(int param_1)\n\n{\n  undefined4 *puVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  int iVar5;\n  int *piVar6;\n  char *pcVar7;\n  undefined4 uVar8;\n  uint uVar9;\n  uint __fd;\n  \n  __fd = *(uint *)(param_1 + 0x24);\n  if ((int)__fd < 0) {\n    return 0;\n  }\n  uVar4 = (*(int *)(param_1 + 0x1c) - *(int *)(param_1 + 0x18) >> 2) * -0x55555555;\n  if (__fd < uVar4) {\n    uVar9 = 0xffffffff;\n    do {\n      puVar1 = (undefined4 *)(*(int *)(param_1 + 0x18) + __fd * 0xc);\n      if ((*(char *)(puVar1 + 2) == '\0') && (*(char *)((int)puVar1 + 9) == '\0')) {\n        iVar5 = close(__fd);\n        if (iVar5 < 0) {\n          piVar6 = __errno_location();\n          pcVar7 = strerror(*piVar6);\n          uVar3 = *puVar1;\n          uVar8 = gettext("while closing %s: %s");\n          FUN_0005ad30(uVar8,uVar3,pcVar7);\n        }\n        *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + -1;\n        if ((DAT_00302378[2] == 0) || ((*(byte *)(DAT_00302378 + 5) & 4) == 0)) {\n          *puVar1 = 0;\n          uVar3 = puVar1[1];\n        }\n        else {\n          FUN_0005ac40(*DAT_00302378,"Closed descriptor %d for \"%s\"",__fd,*puVar1);\n          uVar3 = puVar1[1];\n          *puVar1 = 0;\n        }\n        if (uVar9 == 0xffffffff) {\n          *(undefined4 *)(param_1 + 0x24) = uVar3;\n        }\n        else {\n          *(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4) = uVar3;\n        }\n        puVar1[1] = 0xffffffff;\n        *(undefined1 *)((int)puVar1 + 10) = 0;\n        return 1;\n      }\n      uVar2 = puVar1[1];\n      if ((int)uVar2 < 0) {\n        return 0;\n      }\n      uVar9 = __fd;\n      __fd = uVar2;\n    } while (uVar2 < uVar4);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0005f0b0("../../gold/descriptors.cc",0xf2,"close_some_descriptor");\n}\n\n" comment (function_definition "undefined4 FUN_00143670(int param_1)\n\n{\n  undefined4 *puVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  int iVar5;\n  int *piVar6;\n  char *pcVar7;\n  undefined4 uVar8;\n  uint uVar9;\n  uint __fd;\n  \n  __fd = *(uint *)(param_1 + 0x24);\n  if ((int)__fd < 0) {\n    return 0;\n  }\n  uVar4 = (*(int *)(param_1 + 0x1c) - *(int *)(param_1 + 0x18) >> 2) * -0x55555555;\n  if (__fd < uVar4) {\n    uVar9 = 0xffffffff;\n    do {\n      puVar1 = (undefined4 *)(*(int *)(param_1 + 0x18) + __fd * 0xc);\n      if ((*(char *)(puVar1 + 2) == '\0') && (*(char *)((int)puVar1 + 9) == '\0')) {\n        iVar5 = close(__fd);\n        if (iVar5 < 0) {\n          piVar6 = __errno_location();\n          pcVar7 = strerror(*piVar6);\n          uVar3 = *puVar1;\n          uVar8 = gettext("while closing %s: %s");\n          FUN_0005ad30(uVar8,uVar3,pcVar7);\n        }\n        *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + -1;\n        if ((DAT_00302378[2] == 0) || ((*(byte *)(DAT_00302378 + 5) & 4) == 0)) {\n          *puVar1 = 0;\n          uVar3 = puVar1[1];\n        }\n        else {\n          FUN_0005ac40(*DAT_00302378,"Closed descriptor %d for \"%s\"",__fd,*puVar1);\n          uVar3 = puVar1[1];\n          *puVar1 = 0;\n        }\n        if (uVar9 == 0xffffffff) {\n          *(undefined4 *)(param_1 + 0x24) = uVar3;\n        }\n        else {\n          *(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4) = uVar3;\n        }\n        puVar1[1] = 0xffffffff;\n        *(undefined1 *)((int)puVar1 + 10) = 0;\n        return 1;\n      }\n      uVar2 = puVar1[1];\n      if ((int)uVar2 < 0) {\n        return 0;\n      }\n      uVar9 = __fd;\n      __fd = uVar2;\n    } while (uVar2 < uVar4);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0005f0b0("../../gold/descriptors.cc",0xf2,"close_some_descriptor");\n}" type_identifier (function_declarator "FUN_00143670(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  int iVar5;\n  int *piVar6;\n  char *pcVar7;\n  undefined4 uVar8;\n  uint uVar9;\n  uint __fd;\n  \n  __fd = *(uint *)(param_1 + 0x24);\n  if ((int)__fd < 0) {\n    return 0;\n  }\n  uVar4 = (*(int *)(param_1 + 0x1c) - *(int *)(param_1 + 0x18) >> 2) * -0x55555555;\n  if (__fd < uVar4) {\n    uVar9 = 0xffffffff;\n    do {\n      puVar1 = (undefined4 *)(*(int *)(param_1 + 0x18) + __fd * 0xc);\n      if ((*(char *)(puVar1 + 2) == '\0') && (*(char *)((int)puVar1 + 9) == '\0')) {\n        iVar5 = close(__fd);\n        if (iVar5 < 0) {\n          piVar6 = __errno_location();\n          pcVar7 = strerror(*piVar6);\n          uVar3 = *puVar1;\n          uVar8 = gettext("while closing %s: %s");\n          FUN_0005ad30(uVar8,uVar3,pcVar7);\n        }\n        *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + -1;\n        if ((DAT_00302378[2] == 0) || ((*(byte *)(DAT_00302378 + 5) & 4) == 0)) {\n          *puVar1 = 0;\n          uVar3 = puVar1[1];\n        }\n        else {\n          FUN_0005ac40(*DAT_00302378,"Closed descriptor %d for \"%s\"",__fd,*puVar1);\n          uVar3 = puVar1[1];\n          *puVar1 = 0;\n        }\n        if (uVar9 == 0xffffffff) {\n          *(undefined4 *)(param_1 + 0x24) = uVar3;\n        }\n        else {\n          *(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4) = uVar3;\n        }\n        puVar1[1] = 0xffffffff;\n        *(undefined1 *)((int)puVar1 + 10) = 0;\n        return 1;\n      }\n      uVar2 = puVar1[1];\n      if ((int)uVar2 < 0) {\n        return 0;\n      }\n      uVar9 = __fd;\n      __fd = uVar2;\n    } while (uVar2 < uVar4);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0005f0b0("../../gold/descriptors.cc",0xf2,"close_some_descriptor");\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "uint __fd;" type_identifier identifier ;) (expression_statement "__fd = *(uint *)(param_1 + 0x24);" (assignment_expression "__fd = *(uint *)(param_1 + 0x24)" identifier = (pointer_expression "*(uint *)(param_1 + 0x24)" * (cast_expression "(uint *)(param_1 + 0x24)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) ))))) ;) (if_statement "if ((int)__fd < 0) {\n    return 0;\n  }" if (parenthesized_expression "((int)__fd < 0)" ( (binary_expression "(int)__fd < 0" (cast_expression "(int)__fd" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar4 = (*(int *)(param_1 + 0x1c) - *(int *)(param_1 + 0x18) >> 2) * -0x55555555;" (assignment_expression "uVar4 = (*(int *)(param_1 + 0x1c) - *(int *)(param_1 + 0x18) >> 2) * -0x55555555" identifier = (binary_expression "(*(int *)(param_1 + 0x1c) - *(int *)(param_1 + 0x18) >> 2) * -0x55555555" (parenthesized_expression "(*(int *)(param_1 + 0x1c) - *(int *)(param_1 + 0x18) >> 2)" ( (binary_expression "*(int *)(param_1 + 0x1c) - *(int *)(param_1 + 0x18) >> 2" (binary_expression "*(int *)(param_1 + 0x1c) - *(int *)(param_1 + 0x18)" (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) )))) - (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) >> number_literal) )) * number_literal)) ;) (if_statement "if (__fd < uVar4) {\n    uVar9 = 0xffffffff;\n    do {\n      puVar1 = (undefined4 *)(*(int *)(param_1 + 0x18) + __fd * 0xc);\n      if ((*(char *)(puVar1 + 2) == '\0') && (*(char *)((int)puVar1 + 9) == '\0')) {\n        iVar5 = close(__fd);\n        if (iVar5 < 0) {\n          piVar6 = __errno_location();\n          pcVar7 = strerror(*piVar6);\n          uVar3 = *puVar1;\n          uVar8 = gettext("while closing %s: %s");\n          FUN_0005ad30(uVar8,uVar3,pcVar7);\n        }\n        *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + -1;\n        if ((DAT_00302378[2] == 0) || ((*(byte *)(DAT_00302378 + 5) & 4) == 0)) {\n          *puVar1 = 0;\n          uVar3 = puVar1[1];\n        }\n        else {\n          FUN_0005ac40(*DAT_00302378,"Closed descriptor %d for \"%s\"",__fd,*puVar1);\n          uVar3 = puVar1[1];\n          *puVar1 = 0;\n        }\n        if (uVar9 == 0xffffffff) {\n          *(undefined4 *)(param_1 + 0x24) = uVar3;\n        }\n        else {\n          *(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4) = uVar3;\n        }\n        puVar1[1] = 0xffffffff;\n        *(undefined1 *)((int)puVar1 + 10) = 0;\n        return 1;\n      }\n      uVar2 = puVar1[1];\n      if ((int)uVar2 < 0) {\n        return 0;\n      }\n      uVar9 = __fd;\n      __fd = uVar2;\n    } while (uVar2 < uVar4);\n  }" if (parenthesized_expression "(__fd < uVar4)" ( (binary_expression "__fd < uVar4" identifier < identifier) )) (compound_statement "{\n    uVar9 = 0xffffffff;\n    do {\n      puVar1 = (undefined4 *)(*(int *)(param_1 + 0x18) + __fd * 0xc);\n      if ((*(char *)(puVar1 + 2) == '\0') && (*(char *)((int)puVar1 + 9) == '\0')) {\n        iVar5 = close(__fd);\n        if (iVar5 < 0) {\n          piVar6 = __errno_location();\n          pcVar7 = strerror(*piVar6);\n          uVar3 = *puVar1;\n          uVar8 = gettext("while closing %s: %s");\n          FUN_0005ad30(uVar8,uVar3,pcVar7);\n        }\n        *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + -1;\n        if ((DAT_00302378[2] == 0) || ((*(byte *)(DAT_00302378 + 5) & 4) == 0)) {\n          *puVar1 = 0;\n          uVar3 = puVar1[1];\n        }\n        else {\n          FUN_0005ac40(*DAT_00302378,"Closed descriptor %d for \"%s\"",__fd,*puVar1);\n          uVar3 = puVar1[1];\n          *puVar1 = 0;\n        }\n        if (uVar9 == 0xffffffff) {\n          *(undefined4 *)(param_1 + 0x24) = uVar3;\n        }\n        else {\n          *(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4) = uVar3;\n        }\n        puVar1[1] = 0xffffffff;\n        *(undefined1 *)((int)puVar1 + 10) = 0;\n        return 1;\n      }\n      uVar2 = puVar1[1];\n      if ((int)uVar2 < 0) {\n        return 0;\n      }\n      uVar9 = __fd;\n      __fd = uVar2;\n    } while (uVar2 < uVar4);\n  }" { (expression_statement "uVar9 = 0xffffffff;" (assignment_expression "uVar9 = 0xffffffff" identifier = number_literal) ;) (do_statement "do {\n      puVar1 = (undefined4 *)(*(int *)(param_1 + 0x18) + __fd * 0xc);\n      if ((*(char *)(puVar1 + 2) == '\0') && (*(char *)((int)puVar1 + 9) == '\0')) {\n        iVar5 = close(__fd);\n        if (iVar5 < 0) {\n          piVar6 = __errno_location();\n          pcVar7 = strerror(*piVar6);\n          uVar3 = *puVar1;\n          uVar8 = gettext("while closing %s: %s");\n          FUN_0005ad30(uVar8,uVar3,pcVar7);\n        }\n        *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + -1;\n        if ((DAT_00302378[2] == 0) || ((*(byte *)(DAT_00302378 + 5) & 4) == 0)) {\n          *puVar1 = 0;\n          uVar3 = puVar1[1];\n        }\n        else {\n          FUN_0005ac40(*DAT_00302378,"Closed descriptor %d for \"%s\"",__fd,*puVar1);\n          uVar3 = puVar1[1];\n          *puVar1 = 0;\n        }\n        if (uVar9 == 0xffffffff) {\n          *(undefined4 *)(param_1 + 0x24) = uVar3;\n        }\n        else {\n          *(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4) = uVar3;\n        }\n        puVar1[1] = 0xffffffff;\n        *(undefined1 *)((int)puVar1 + 10) = 0;\n        return 1;\n      }\n      uVar2 = puVar1[1];\n      if ((int)uVar2 < 0) {\n        return 0;\n      }\n      uVar9 = __fd;\n      __fd = uVar2;\n    } while (uVar2 < uVar4);" do (compound_statement "{\n      puVar1 = (undefined4 *)(*(int *)(param_1 + 0x18) + __fd * 0xc);\n      if ((*(char *)(puVar1 + 2) == '\0') && (*(char *)((int)puVar1 + 9) == '\0')) {\n        iVar5 = close(__fd);\n        if (iVar5 < 0) {\n          piVar6 = __errno_location();\n          pcVar7 = strerror(*piVar6);\n          uVar3 = *puVar1;\n          uVar8 = gettext("while closing %s: %s");\n          FUN_0005ad30(uVar8,uVar3,pcVar7);\n        }\n        *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + -1;\n        if ((DAT_00302378[2] == 0) || ((*(byte *)(DAT_00302378 + 5) & 4) == 0)) {\n          *puVar1 = 0;\n          uVar3 = puVar1[1];\n        }\n        else {\n          FUN_0005ac40(*DAT_00302378,"Closed descriptor %d for \"%s\"",__fd,*puVar1);\n          uVar3 = puVar1[1];\n          *puVar1 = 0;\n        }\n        if (uVar9 == 0xffffffff) {\n          *(undefined4 *)(param_1 + 0x24) = uVar3;\n        }\n        else {\n          *(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4) = uVar3;\n        }\n        puVar1[1] = 0xffffffff;\n        *(undefined1 *)((int)puVar1 + 10) = 0;\n        return 1;\n      }\n      uVar2 = puVar1[1];\n      if ((int)uVar2 < 0) {\n        return 0;\n      }\n      uVar9 = __fd;\n      __fd = uVar2;\n    }" { (expression_statement "puVar1 = (undefined4 *)(*(int *)(param_1 + 0x18) + __fd * 0xc);" (assignment_expression "puVar1 = (undefined4 *)(*(int *)(param_1 + 0x18) + __fd * 0xc)" identifier = (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x18) + __fd * 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x18) + __fd * 0xc)" ( (binary_expression "*(int *)(param_1 + 0x18) + __fd * 0xc" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) + (binary_expression "__fd * 0xc" identifier * number_literal)) )))) ;) (if_statement "if ((*(char *)(puVar1 + 2) == '\0') && (*(char *)((int)puVar1 + 9) == '\0')) {\n        iVar5 = close(__fd);\n        if (iVar5 < 0) {\n          piVar6 = __errno_location();\n          pcVar7 = strerror(*piVar6);\n          uVar3 = *puVar1;\n          uVar8 = gettext("while closing %s: %s");\n          FUN_0005ad30(uVar8,uVar3,pcVar7);\n        }\n        *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + -1;\n        if ((DAT_00302378[2] == 0) || ((*(byte *)(DAT_00302378 + 5) & 4) == 0)) {\n          *puVar1 = 0;\n          uVar3 = puVar1[1];\n        }\n        else {\n          FUN_0005ac40(*DAT_00302378,"Closed descriptor %d for \"%s\"",__fd,*puVar1);\n          uVar3 = puVar1[1];\n          *puVar1 = 0;\n        }\n        if (uVar9 == 0xffffffff) {\n          *(undefined4 *)(param_1 + 0x24) = uVar3;\n        }\n        else {\n          *(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4) = uVar3;\n        }\n        puVar1[1] = 0xffffffff;\n        *(undefined1 *)((int)puVar1 + 10) = 0;\n        return 1;\n      }" if (parenthesized_expression "((*(char *)(puVar1 + 2) == '\0') && (*(char *)((int)puVar1 + 9) == '\0'))" ( (binary_expression "(*(char *)(puVar1 + 2) == '\0') && (*(char *)((int)puVar1 + 9) == '\0')" (parenthesized_expression "(*(char *)(puVar1 + 2) == '\0')" ( (binary_expression "*(char *)(puVar1 + 2) == '\0'" (pointer_expression "*(char *)(puVar1 + 2)" * (cast_expression "(char *)(puVar1 + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 2)" ( (binary_expression "puVar1 + 2" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(*(char *)((int)puVar1 + 9) == '\0')" ( (binary_expression "*(char *)((int)puVar1 + 9) == '\0'" (pointer_expression "*(char *)((int)puVar1 + 9)" * (cast_expression "(char *)((int)puVar1 + 9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar1 + 9)" ( (binary_expression "(int)puVar1 + 9" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n        iVar5 = close(__fd);\n        if (iVar5 < 0) {\n          piVar6 = __errno_location();\n          pcVar7 = strerror(*piVar6);\n          uVar3 = *puVar1;\n          uVar8 = gettext("while closing %s: %s");\n          FUN_0005ad30(uVar8,uVar3,pcVar7);\n        }\n        *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + -1;\n        if ((DAT_00302378[2] == 0) || ((*(byte *)(DAT_00302378 + 5) & 4) == 0)) {\n          *puVar1 = 0;\n          uVar3 = puVar1[1];\n        }\n        else {\n          FUN_0005ac40(*DAT_00302378,"Closed descriptor %d for \"%s\"",__fd,*puVar1);\n          uVar3 = puVar1[1];\n          *puVar1 = 0;\n        }\n        if (uVar9 == 0xffffffff) {\n          *(undefined4 *)(param_1 + 0x24) = uVar3;\n        }\n        else {\n          *(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4) = uVar3;\n        }\n        puVar1[1] = 0xffffffff;\n        *(undefined1 *)((int)puVar1 + 10) = 0;\n        return 1;\n      }" { (expression_statement "iVar5 = close(__fd);" (assignment_expression "iVar5 = close(__fd)" identifier = (call_expression "close(__fd)" identifier (argument_list "(__fd)" ( identifier )))) ;) (if_statement "if (iVar5 < 0) {\n          piVar6 = __errno_location();\n          pcVar7 = strerror(*piVar6);\n          uVar3 = *puVar1;\n          uVar8 = gettext("while closing %s: %s");\n          FUN_0005ad30(uVar8,uVar3,pcVar7);\n        }" if (parenthesized_expression "(iVar5 < 0)" ( (binary_expression "iVar5 < 0" identifier < number_literal) )) (compound_statement "{\n          piVar6 = __errno_location();\n          pcVar7 = strerror(*piVar6);\n          uVar3 = *puVar1;\n          uVar8 = gettext("while closing %s: %s");\n          FUN_0005ad30(uVar8,uVar3,pcVar7);\n        }" { (expression_statement "piVar6 = __errno_location();" (assignment_expression "piVar6 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "pcVar7 = strerror(*piVar6);" (assignment_expression "pcVar7 = strerror(*piVar6)" identifier = (call_expression "strerror(*piVar6)" identifier (argument_list "(*piVar6)" ( (pointer_expression "*piVar6" * identifier) )))) ;) (expression_statement "uVar3 = *puVar1;" (assignment_expression "uVar3 = *puVar1" identifier = (pointer_expression "*puVar1" * identifier)) ;) (expression_statement "uVar8 = gettext("while closing %s: %s");" (assignment_expression "uVar8 = gettext("while closing %s: %s")" identifier = (call_expression "gettext("while closing %s: %s")" identifier (argument_list "("while closing %s: %s")" ( (string_literal ""while closing %s: %s"" " string_content ") )))) ;) (expression_statement "FUN_0005ad30(uVar8,uVar3,pcVar7);" (call_expression "FUN_0005ad30(uVar8,uVar3,pcVar7)" identifier (argument_list "(uVar8,uVar3,pcVar7)" ( identifier , identifier , identifier ))) ;) })) (expression_statement "*(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + -1;" (assignment_expression "*(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + -1" (pointer_expression "*(int *)(param_1 + 0x28)" * (cast_expression "(int *)(param_1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x28) + -1" (pointer_expression "*(int *)(param_1 + 0x28)" * (cast_expression "(int *)(param_1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) + number_literal)) ;) (if_statement "if ((DAT_00302378[2] == 0) || ((*(byte *)(DAT_00302378 + 5) & 4) == 0)) {\n          *puVar1 = 0;\n          uVar3 = puVar1[1];\n        }\n        else {\n          FUN_0005ac40(*DAT_00302378,"Closed descriptor %d for \"%s\"",__fd,*puVar1);\n          uVar3 = puVar1[1];\n          *puVar1 = 0;\n        }" if (parenthesized_expression "((DAT_00302378[2] == 0) || ((*(byte *)(DAT_00302378 + 5) & 4) == 0))" ( (binary_expression "(DAT_00302378[2] == 0) || ((*(byte *)(DAT_00302378 + 5) & 4) == 0)" (parenthesized_expression "(DAT_00302378[2] == 0)" ( (binary_expression "DAT_00302378[2] == 0" (subscript_expression "DAT_00302378[2]" identifier [ number_literal ]) == number_literal) )) || (parenthesized_expression "((*(byte *)(DAT_00302378 + 5) & 4) == 0)" ( (binary_expression "(*(byte *)(DAT_00302378 + 5) & 4) == 0" (parenthesized_expression "(*(byte *)(DAT_00302378 + 5) & 4)" ( (binary_expression "*(byte *)(DAT_00302378 + 5) & 4" (pointer_expression "*(byte *)(DAT_00302378 + 5)" * (cast_expression "(byte *)(DAT_00302378 + 5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00302378 + 5)" ( (binary_expression "DAT_00302378 + 5" identifier + number_literal) )))) & number_literal) )) == number_literal) ))) )) (compound_statement "{\n          *puVar1 = 0;\n          uVar3 = puVar1[1];\n        }" { (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "uVar3 = puVar1[1];" (assignment_expression "uVar3 = puVar1[1]" identifier = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) }) (else_clause "else {\n          FUN_0005ac40(*DAT_00302378,"Closed descriptor %d for \"%s\"",__fd,*puVar1);\n          uVar3 = puVar1[1];\n          *puVar1 = 0;\n        }" else (compound_statement "{\n          FUN_0005ac40(*DAT_00302378,"Closed descriptor %d for \"%s\"",__fd,*puVar1);\n          uVar3 = puVar1[1];\n          *puVar1 = 0;\n        }" { (expression_statement "FUN_0005ac40(*DAT_00302378,"Closed descriptor %d for \"%s\"",__fd,*puVar1);" (call_expression "FUN_0005ac40(*DAT_00302378,"Closed descriptor %d for \"%s\"",__fd,*puVar1)" identifier (argument_list "(*DAT_00302378,"Closed descriptor %d for \"%s\"",__fd,*puVar1)" ( (pointer_expression "*DAT_00302378" * identifier) , (string_literal ""Closed descriptor %d for \"%s\""" " string_content escape_sequence string_content escape_sequence ") , identifier , (pointer_expression "*puVar1" * identifier) ))) ;) (expression_statement "uVar3 = puVar1[1];" (assignment_expression "uVar3 = puVar1[1]" identifier = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) }))) (if_statement "if (uVar9 == 0xffffffff) {\n          *(undefined4 *)(param_1 + 0x24) = uVar3;\n        }\n        else {\n          *(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4) = uVar3;\n        }" if (parenthesized_expression "(uVar9 == 0xffffffff)" ( (binary_expression "uVar9 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n          *(undefined4 *)(param_1 + 0x24) = uVar3;\n        }" { (expression_statement "*(undefined4 *)(param_1 + 0x24) = uVar3;" (assignment_expression "*(undefined4 *)(param_1 + 0x24) = uVar3" (pointer_expression "*(undefined4 *)(param_1 + 0x24)" * (cast_expression "(undefined4 *)(param_1 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n          *(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4) = uVar3;\n        }" else (compound_statement "{\n          *(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4) = uVar3;\n        }" { (expression_statement "*(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4) = uVar3;" (assignment_expression "*(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4) = uVar3" (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4)" ( (binary_expression "*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4" (binary_expression "*(int *)(param_1 + 0x18) + uVar9 * 0xc" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) + (binary_expression "uVar9 * 0xc" identifier * number_literal)) + number_literal) )))) = identifier) ;) }))) (expression_statement "puVar1[1] = 0xffffffff;" (assignment_expression "puVar1[1] = 0xffffffff" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)((int)puVar1 + 10) = 0;" (assignment_expression "*(undefined1 *)((int)puVar1 + 10) = 0" (pointer_expression "*(undefined1 *)((int)puVar1 + 10)" * (cast_expression "(undefined1 *)((int)puVar1 + 10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar1 + 10)" ( (binary_expression "(int)puVar1 + 10" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "uVar2 = puVar1[1];" (assignment_expression "uVar2 = puVar1[1]" identifier = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (if_statement "if ((int)uVar2 < 0) {\n        return 0;\n      }" if (parenthesized_expression "((int)uVar2 < 0)" ( (binary_expression "(int)uVar2 < 0" (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar9 = __fd;" (assignment_expression "uVar9 = __fd" identifier = identifier) ;) (expression_statement "__fd = uVar2;" (assignment_expression "__fd = uVar2" identifier = identifier) ;) }) while (parenthesized_expression "(uVar2 < uVar4)" ( (binary_expression "uVar2 < uVar4" identifier < identifier) )) ;) })) comment (expression_statement "FUN_0005f0b0("../../gold/descriptors.cc",0xf2,"close_some_descriptor");" (call_expression "FUN_0005f0b0("../../gold/descriptors.cc",0xf2,"close_some_descriptor")" identifier (argument_list "("../../gold/descriptors.cc",0xf2,"close_some_descriptor")" ( (string_literal ""../../gold/descriptors.cc"" " string_content ") , number_literal , (string_literal ""close_some_descriptor"" " string_content ") ))) ;) })))
(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: bool close_some_descriptor(Descriptors * this) */\n\nbool __thiscall gold::Descriptors::close_some_descriptor(Descriptors *this)\n\n{\n  pointer pOVar1;\n  pointer pOVar2;\n  uint uVar3;\n  char *pcVar4;\n  uint uVar5;\n  int iVar6;\n  int *piVar7;\n  char *pcVar8;\n  char *format;\n  uint uVar9;\n  uint __fd;\n  \n  __fd = this->stack_top_;\n  if ((int)__fd < 0) {\n    return false;\n  }\n  pOVar2 = (this->open_descriptors_).\n           super__Vector_base<gold::Descriptors::Open_descriptor,_std::allocator<gold::Descriptors::Open_descriptor>_>\n           ._M_impl._M_start;\n  uVar5 = ((int)(this->open_descriptors_).\n                super__Vector_base<gold::Descriptors::Open_descriptor,_std::allocator<gold::Descriptors::Open_descriptor>_>\n                ._M_impl._M_finish - (int)pOVar2 >> 2) * -0x55555555;\n  if (__fd < uVar5) {\n    uVar9 = 0xffffffff;\n    do {\n      pOVar1 = pOVar2 + __fd;\n      if ((pOVar1->inuse == false) && (pOVar1->is_write == false)) {\n        iVar6 = close(__fd);\n        if (iVar6 < 0) {\n          piVar7 = __errno_location();\n          pcVar8 = strerror(*piVar7);\n          pcVar4 = pOVar1->name;\n          format = (char *)gettext("while closing %s: %s");\n          gold_warning(format,pcVar4,pcVar8);\n        }\n        this->current_ = this->current_ + -1;\n        if ((parameters->options_ == (General_options *)0x0) || ((parameters->debug_ & 4) == 0)) {\n          pOVar1->name = (char *)0x0;\n          iVar6 = pOVar1->stack_next;\n        }\n        else {\n          Errors::debug(parameters->errors_,"Closed descriptor %d for \"%s\"",__fd,pOVar1->name);\n          iVar6 = pOVar1->stack_next;\n          pOVar1->name = (char *)0x0;\n        }\n        if (uVar9 == 0xffffffff) {\n          this->stack_top_ = iVar6;\n        }\n        else {\n          (this->open_descriptors_).\n          super__Vector_base<gold::Descriptors::Open_descriptor,_std::allocator<gold::Descriptors::Open_descriptor>_>\n          ._M_impl._M_start[uVar9].stack_next = iVar6;\n        }\n        pOVar1->stack_next = -1;\n        pOVar1->is_on_stack = false;\n        return true;\n      }\n      uVar3 = pOVar1->stack_next;\n      if ((int)uVar3 < 0) {\n        return false;\n      }\n      uVar9 = __fd;\n      __fd = uVar3;\n    } while (uVar3 < uVar5);\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/descriptors.cc",0xf2,"close_some_descriptor");\n}\n\n" comment comment comment (function_definition "bool __thiscall gold::Descriptors::close_some_descriptor(Descriptors *this)\n\n{\n  pointer pOVar1;\n  pointer pOVar2;\n  uint uVar3;\n  char *pcVar4;\n  uint uVar5;\n  int iVar6;\n  int *piVar7;\n  char *pcVar8;\n  char *format;\n  uint uVar9;\n  uint __fd;\n  \n  __fd = this->stack_top_;\n  if ((int)__fd < 0) {\n    return false;\n  }\n  pOVar2 = (this->open_descriptors_).\n           super__Vector_base<gold::Descriptors::Open_descriptor,_std::allocator<gold::Descriptors::Open_descriptor>_>\n           ._M_impl._M_start;\n  uVar5 = ((int)(this->open_descriptors_).\n                super__Vector_base<gold::Descriptors::Open_descriptor,_std::allocator<gold::Descriptors::Open_descriptor>_>\n                ._M_impl._M_finish - (int)pOVar2 >> 2) * -0x55555555;\n  if (__fd < uVar5) {\n    uVar9 = 0xffffffff;\n    do {\n      pOVar1 = pOVar2 + __fd;\n      if ((pOVar1->inuse == false) && (pOVar1->is_write == false)) {\n        iVar6 = close(__fd);\n        if (iVar6 < 0) {\n          piVar7 = __errno_location();\n          pcVar8 = strerror(*piVar7);\n          pcVar4 = pOVar1->name;\n          format = (char *)gettext("while closing %s: %s");\n          gold_warning(format,pcVar4,pcVar8);\n        }\n        this->current_ = this->current_ + -1;\n        if ((parameters->options_ == (General_options *)0x0) || ((parameters->debug_ & 4) == 0)) {\n          pOVar1->name = (char *)0x0;\n          iVar6 = pOVar1->stack_next;\n        }\n        else {\n          Errors::debug(parameters->errors_,"Closed descriptor %d for \"%s\"",__fd,pOVar1->name);\n          iVar6 = pOVar1->stack_next;\n          pOVar1->name = (char *)0x0;\n        }\n        if (uVar9 == 0xffffffff) {\n          this->stack_top_ = iVar6;\n        }\n        else {\n          (this->open_descriptors_).\n          super__Vector_base<gold::Descriptors::Open_descriptor,_std::allocator<gold::Descriptors::Open_descriptor>_>\n          ._M_impl._M_start[uVar9].stack_next = iVar6;\n        }\n        pOVar1->stack_next = -1;\n        pOVar1->is_on_stack = false;\n        return true;\n      }\n      uVar3 = pOVar1->stack_next;\n      if ((int)uVar3 < 0) {\n        return false;\n      }\n      uVar9 = __fd;\n      __fd = uVar3;\n    } while (uVar3 < uVar5);\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/descriptors.cc",0xf2,"close_some_descriptor");\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Descriptors::" identifier : : identifier : :) (function_declarator "close_some_descriptor(Descriptors *this)" identifier (parameter_list "(Descriptors *this)" ( (parameter_declaration "Descriptors *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  pointer pOVar1;\n  pointer pOVar2;\n  uint uVar3;\n  char *pcVar4;\n  uint uVar5;\n  int iVar6;\n  int *piVar7;\n  char *pcVar8;\n  char *format;\n  uint uVar9;\n  uint __fd;\n  \n  __fd = this->stack_top_;\n  if ((int)__fd < 0) {\n    return false;\n  }\n  pOVar2 = (this->open_descriptors_).\n           super__Vector_base<gold::Descriptors::Open_descriptor,_std::allocator<gold::Descriptors::Open_descriptor>_>\n           ._M_impl._M_start;\n  uVar5 = ((int)(this->open_descriptors_).\n                super__Vector_base<gold::Descriptors::Open_descriptor,_std::allocator<gold::Descriptors::Open_descriptor>_>\n                ._M_impl._M_finish - (int)pOVar2 >> 2) * -0x55555555;\n  if (__fd < uVar5) {\n    uVar9 = 0xffffffff;\n    do {\n      pOVar1 = pOVar2 + __fd;\n      if ((pOVar1->inuse == false) && (pOVar1->is_write == false)) {\n        iVar6 = close(__fd);\n        if (iVar6 < 0) {\n          piVar7 = __errno_location();\n          pcVar8 = strerror(*piVar7);\n          pcVar4 = pOVar1->name;\n          format = (char *)gettext("while closing %s: %s");\n          gold_warning(format,pcVar4,pcVar8);\n        }\n        this->current_ = this->current_ + -1;\n        if ((parameters->options_ == (General_options *)0x0) || ((parameters->debug_ & 4) == 0)) {\n          pOVar1->name = (char *)0x0;\n          iVar6 = pOVar1->stack_next;\n        }\n        else {\n          Errors::debug(parameters->errors_,"Closed descriptor %d for \"%s\"",__fd,pOVar1->name);\n          iVar6 = pOVar1->stack_next;\n          pOVar1->name = (char *)0x0;\n        }\n        if (uVar9 == 0xffffffff) {\n          this->stack_top_ = iVar6;\n        }\n        else {\n          (this->open_descriptors_).\n          super__Vector_base<gold::Descriptors::Open_descriptor,_std::allocator<gold::Descriptors::Open_descriptor>_>\n          ._M_impl._M_start[uVar9].stack_next = iVar6;\n        }\n        pOVar1->stack_next = -1;\n        pOVar1->is_on_stack = false;\n        return true;\n      }\n      uVar3 = pOVar1->stack_next;\n      if ((int)uVar3 < 0) {\n        return false;\n      }\n      uVar9 = __fd;\n      __fd = uVar3;\n    } while (uVar3 < uVar5);\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/descriptors.cc",0xf2,"close_some_descriptor");\n}" { (declaration "pointer pOVar1;" type_identifier identifier ;) (declaration "pointer pOVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "char *format;" primitive_type (pointer_declarator "*format" * identifier) ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "uint __fd;" type_identifier identifier ;) (expression_statement "__fd = this->stack_top_;" (assignment_expression "__fd = this->stack_top_" identifier = (field_expression "this->stack_top_" identifier -> field_identifier)) ;) (if_statement "if ((int)__fd < 0) {\n    return false;\n  }" if (parenthesized_expression "((int)__fd < 0)" ( (binary_expression "(int)__fd < 0" (cast_expression "(int)__fd" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    return false;\n  }" { (return_statement "return false;" return false ;) })) (ERROR "pOVar2 = (this->open_descriptors_).\n           super__Vector_base<gold::" (assignment_expression "pOVar2 = (this->open_descriptors_).\n           super__Vector_base<gold" identifier = (binary_expression "(this->open_descriptors_).\n           super__Vector_base<gold" (field_expression "(this->open_descriptors_).\n           super__Vector_base" (parenthesized_expression "(this->open_descriptors_)" ( (field_expression "this->open_descriptors_" identifier -> field_identifier) )) . field_identifier) < identifier)) : :) (labeled_statement "Descriptors::Open_descriptor,_std::allocator<gold::Descriptors::Open_descriptor>_>\n           ._M_impl._M_start;" statement_identifier (ERROR "::Open_descriptor,_std::allocator<gold:" : : (comma_expression "Open_descriptor,_std" identifier , identifier) : : (binary_expression "allocator<gold" identifier < identifier) :) : (labeled_statement "Descriptors::Open_descriptor>_>\n           ._M_impl._M_start;" statement_identifier : (ERROR ":" :) (expression_statement "Open_descriptor>_>\n           ._M_impl._M_start;" (field_expression "Open_descriptor>_>\n           ._M_impl._M_start" (field_expression "Open_descriptor>_>\n           ._M_impl" (binary_expression "Open_descriptor>_" identifier > identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;))) (expression_statement "uVar5 = ((int)(this->open_descriptors_).\n                super__Vector_base<gold::Descriptors::Open_descriptor,_std::allocator<gold::Descriptors::Open_descriptor>_>\n                ._M_impl._M_finish - (int)pOVar2 >> 2) * -0x55555555;" (assignment_expression "uVar5 = ((int)(this->open_descriptors_).\n                super__Vector_base<gold::Descriptors::Open_descriptor,_std::allocator<gold::Descriptors::Open_descriptor>_>\n                ._M_impl._M_finish - (int)pOVar2 >> 2) * -0x55555555" identifier = (binary_expression "((int)(this->open_descriptors_).\n                super__Vector_base<gold::Descriptors::Open_descriptor,_std::allocator<gold::Descriptors::Open_descriptor>_>\n                ._M_impl._M_finish - (int)pOVar2 >> 2) * -0x55555555" (parenthesized_expression "((int)(this->open_descriptors_).\n                super__Vector_base<gold::Descriptors::Open_descriptor,_std::allocator<gold::Descriptors::Open_descriptor>_>\n                ._M_impl._M_finish - (int)pOVar2 >> 2)" ( (ERROR "(int)(this->open_descriptors_).\n                super__Vector_base<gold::Descriptors::Open_descriptor,_std::allocator<gold::Descriptors::" (comma_expression "(int)(this->open_descriptors_).\n                super__Vector_base<gold::Descriptors::Open_descriptor,_std" (binary_expression "(int)(this->open_descriptors_).\n                super__Vector_base<gold" (cast_expression "(int)(this->open_descriptors_).\n                super__Vector_base" ( (type_descriptor "int" primitive_type) ) (field_expression "(this->open_descriptors_).\n                super__Vector_base" (parenthesized_expression "(this->open_descriptors_)" ( (field_expression "this->open_descriptors_" identifier -> field_identifier) )) . field_identifier)) < identifier) (ERROR "::Descriptors::Open_descriptor" : : identifier : : identifier) , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : : identifier : :) (binary_expression "Open_descriptor>_>\n                ._M_impl._M_finish - (int)pOVar2 >> 2" (binary_expression "Open_descriptor>_>\n                ._M_impl._M_finish - (int)pOVar2" (field_expression "Open_descriptor>_>\n                ._M_impl._M_finish" (field_expression "Open_descriptor>_>\n                ._M_impl" (binary_expression "Open_descriptor>_" identifier > identifier) (ERROR ">" >) . field_identifier) . field_identifier) - (cast_expression "(int)pOVar2" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal) )) * number_literal)) ;) (if_statement "if (__fd < uVar5) {\n    uVar9 = 0xffffffff;\n    do {\n      pOVar1 = pOVar2 + __fd;\n      if ((pOVar1->inuse == false) && (pOVar1->is_write == false)) {\n        iVar6 = close(__fd);\n        if (iVar6 < 0) {\n          piVar7 = __errno_location();\n          pcVar8 = strerror(*piVar7);\n          pcVar4 = pOVar1->name;\n          format = (char *)gettext("while closing %s: %s");\n          gold_warning(format,pcVar4,pcVar8);\n        }\n        this->current_ = this->current_ + -1;\n        if ((parameters->options_ == (General_options *)0x0) || ((parameters->debug_ & 4) == 0)) {\n          pOVar1->name = (char *)0x0;\n          iVar6 = pOVar1->stack_next;\n        }\n        else {\n          Errors::debug(parameters->errors_,"Closed descriptor %d for \"%s\"",__fd,pOVar1->name);\n          iVar6 = pOVar1->stack_next;\n          pOVar1->name = (char *)0x0;\n        }\n        if (uVar9 == 0xffffffff) {\n          this->stack_top_ = iVar6;\n        }\n        else {\n          (this->open_descriptors_).\n          super__Vector_base<gold::Descriptors::Open_descriptor,_std::allocator<gold::Descriptors::Open_descriptor>_>\n          ._M_impl._M_start[uVar9].stack_next = iVar6;\n        }\n        pOVar1->stack_next = -1;\n        pOVar1->is_on_stack = false;\n        return true;\n      }\n      uVar3 = pOVar1->stack_next;\n      if ((int)uVar3 < 0) {\n        return false;\n      }\n      uVar9 = __fd;\n      __fd = uVar3;\n    } while (uVar3 < uVar5);\n  }" if (parenthesized_expression "(__fd < uVar5)" ( (binary_expression "__fd < uVar5" identifier < identifier) )) (compound_statement "{\n    uVar9 = 0xffffffff;\n    do {\n      pOVar1 = pOVar2 + __fd;\n      if ((pOVar1->inuse == false) && (pOVar1->is_write == false)) {\n        iVar6 = close(__fd);\n        if (iVar6 < 0) {\n          piVar7 = __errno_location();\n          pcVar8 = strerror(*piVar7);\n          pcVar4 = pOVar1->name;\n          format = (char *)gettext("while closing %s: %s");\n          gold_warning(format,pcVar4,pcVar8);\n        }\n        this->current_ = this->current_ + -1;\n        if ((parameters->options_ == (General_options *)0x0) || ((parameters->debug_ & 4) == 0)) {\n          pOVar1->name = (char *)0x0;\n          iVar6 = pOVar1->stack_next;\n        }\n        else {\n          Errors::debug(parameters->errors_,"Closed descriptor %d for \"%s\"",__fd,pOVar1->name);\n          iVar6 = pOVar1->stack_next;\n          pOVar1->name = (char *)0x0;\n        }\n        if (uVar9 == 0xffffffff) {\n          this->stack_top_ = iVar6;\n        }\n        else {\n          (this->open_descriptors_).\n          super__Vector_base<gold::Descriptors::Open_descriptor,_std::allocator<gold::Descriptors::Open_descriptor>_>\n          ._M_impl._M_start[uVar9].stack_next = iVar6;\n        }\n        pOVar1->stack_next = -1;\n        pOVar1->is_on_stack = false;\n        return true;\n      }\n      uVar3 = pOVar1->stack_next;\n      if ((int)uVar3 < 0) {\n        return false;\n      }\n      uVar9 = __fd;\n      __fd = uVar3;\n    } while (uVar3 < uVar5);\n  }" { (expression_statement "uVar9 = 0xffffffff;" (assignment_expression "uVar9 = 0xffffffff" identifier = number_literal) ;) (do_statement "do {\n      pOVar1 = pOVar2 + __fd;\n      if ((pOVar1->inuse == false) && (pOVar1->is_write == false)) {\n        iVar6 = close(__fd);\n        if (iVar6 < 0) {\n          piVar7 = __errno_location();\n          pcVar8 = strerror(*piVar7);\n          pcVar4 = pOVar1->name;\n          format = (char *)gettext("while closing %s: %s");\n          gold_warning(format,pcVar4,pcVar8);\n        }\n        this->current_ = this->current_ + -1;\n        if ((parameters->options_ == (General_options *)0x0) || ((parameters->debug_ & 4) == 0)) {\n          pOVar1->name = (char *)0x0;\n          iVar6 = pOVar1->stack_next;\n        }\n        else {\n          Errors::debug(parameters->errors_,"Closed descriptor %d for \"%s\"",__fd,pOVar1->name);\n          iVar6 = pOVar1->stack_next;\n          pOVar1->name = (char *)0x0;\n        }\n        if (uVar9 == 0xffffffff) {\n          this->stack_top_ = iVar6;\n        }\n        else {\n          (this->open_descriptors_).\n          super__Vector_base<gold::Descriptors::Open_descriptor,_std::allocator<gold::Descriptors::Open_descriptor>_>\n          ._M_impl._M_start[uVar9].stack_next = iVar6;\n        }\n        pOVar1->stack_next = -1;\n        pOVar1->is_on_stack = false;\n        return true;\n      }\n      uVar3 = pOVar1->stack_next;\n      if ((int)uVar3 < 0) {\n        return false;\n      }\n      uVar9 = __fd;\n      __fd = uVar3;\n    } while (uVar3 < uVar5);" do (compound_statement "{\n      pOVar1 = pOVar2 + __fd;\n      if ((pOVar1->inuse == false) && (pOVar1->is_write == false)) {\n        iVar6 = close(__fd);\n        if (iVar6 < 0) {\n          piVar7 = __errno_location();\n          pcVar8 = strerror(*piVar7);\n          pcVar4 = pOVar1->name;\n          format = (char *)gettext("while closing %s: %s");\n          gold_warning(format,pcVar4,pcVar8);\n        }\n        this->current_ = this->current_ + -1;\n        if ((parameters->options_ == (General_options *)0x0) || ((parameters->debug_ & 4) == 0)) {\n          pOVar1->name = (char *)0x0;\n          iVar6 = pOVar1->stack_next;\n        }\n        else {\n          Errors::debug(parameters->errors_,"Closed descriptor %d for \"%s\"",__fd,pOVar1->name);\n          iVar6 = pOVar1->stack_next;\n          pOVar1->name = (char *)0x0;\n        }\n        if (uVar9 == 0xffffffff) {\n          this->stack_top_ = iVar6;\n        }\n        else {\n          (this->open_descriptors_).\n          super__Vector_base<gold::Descriptors::Open_descriptor,_std::allocator<gold::Descriptors::Open_descriptor>_>\n          ._M_impl._M_start[uVar9].stack_next = iVar6;\n        }\n        pOVar1->stack_next = -1;\n        pOVar1->is_on_stack = false;\n        return true;\n      }\n      uVar3 = pOVar1->stack_next;\n      if ((int)uVar3 < 0) {\n        return false;\n      }\n      uVar9 = __fd;\n      __fd = uVar3;\n    }" { (expression_statement "pOVar1 = pOVar2 + __fd;" (assignment_expression "pOVar1 = pOVar2 + __fd" identifier = (binary_expression "pOVar2 + __fd" identifier + identifier)) ;) (if_statement "if ((pOVar1->inuse == false) && (pOVar1->is_write == false)) {\n        iVar6 = close(__fd);\n        if (iVar6 < 0) {\n          piVar7 = __errno_location();\n          pcVar8 = strerror(*piVar7);\n          pcVar4 = pOVar1->name;\n          format = (char *)gettext("while closing %s: %s");\n          gold_warning(format,pcVar4,pcVar8);\n        }\n        this->current_ = this->current_ + -1;\n        if ((parameters->options_ == (General_options *)0x0) || ((parameters->debug_ & 4) == 0)) {\n          pOVar1->name = (char *)0x0;\n          iVar6 = pOVar1->stack_next;\n        }\n        else {\n          Errors::debug(parameters->errors_,"Closed descriptor %d for \"%s\"",__fd,pOVar1->name);\n          iVar6 = pOVar1->stack_next;\n          pOVar1->name = (char *)0x0;\n        }\n        if (uVar9 == 0xffffffff) {\n          this->stack_top_ = iVar6;\n        }\n        else {\n          (this->open_descriptors_).\n          super__Vector_base<gold::Descriptors::Open_descriptor,_std::allocator<gold::Descriptors::Open_descriptor>_>\n          ._M_impl._M_start[uVar9].stack_next = iVar6;\n        }\n        pOVar1->stack_next = -1;\n        pOVar1->is_on_stack = false;\n        return true;\n      }" if (parenthesized_expression "((pOVar1->inuse == false) && (pOVar1->is_write == false))" ( (binary_expression "(pOVar1->inuse == false) && (pOVar1->is_write == false)" (parenthesized_expression "(pOVar1->inuse == false)" ( (binary_expression "pOVar1->inuse == false" (field_expression "pOVar1->inuse" identifier -> field_identifier) == false) )) && (parenthesized_expression "(pOVar1->is_write == false)" ( (binary_expression "pOVar1->is_write == false" (field_expression "pOVar1->is_write" identifier -> field_identifier) == false) ))) )) (compound_statement "{\n        iVar6 = close(__fd);\n        if (iVar6 < 0) {\n          piVar7 = __errno_location();\n          pcVar8 = strerror(*piVar7);\n          pcVar4 = pOVar1->name;\n          format = (char *)gettext("while closing %s: %s");\n          gold_warning(format,pcVar4,pcVar8);\n        }\n        this->current_ = this->current_ + -1;\n        if ((parameters->options_ == (General_options *)0x0) || ((parameters->debug_ & 4) == 0)) {\n          pOVar1->name = (char *)0x0;\n          iVar6 = pOVar1->stack_next;\n        }\n        else {\n          Errors::debug(parameters->errors_,"Closed descriptor %d for \"%s\"",__fd,pOVar1->name);\n          iVar6 = pOVar1->stack_next;\n          pOVar1->name = (char *)0x0;\n        }\n        if (uVar9 == 0xffffffff) {\n          this->stack_top_ = iVar6;\n        }\n        else {\n          (this->open_descriptors_).\n          super__Vector_base<gold::Descriptors::Open_descriptor,_std::allocator<gold::Descriptors::Open_descriptor>_>\n          ._M_impl._M_start[uVar9].stack_next = iVar6;\n        }\n        pOVar1->stack_next = -1;\n        pOVar1->is_on_stack = false;\n        return true;\n      }" { (expression_statement "iVar6 = close(__fd);" (assignment_expression "iVar6 = close(__fd)" identifier = (call_expression "close(__fd)" identifier (argument_list "(__fd)" ( identifier )))) ;) (if_statement "if (iVar6 < 0) {\n          piVar7 = __errno_location();\n          pcVar8 = strerror(*piVar7);\n          pcVar4 = pOVar1->name;\n          format = (char *)gettext("while closing %s: %s");\n          gold_warning(format,pcVar4,pcVar8);\n        }" if (parenthesized_expression "(iVar6 < 0)" ( (binary_expression "iVar6 < 0" identifier < number_literal) )) (compound_statement "{\n          piVar7 = __errno_location();\n          pcVar8 = strerror(*piVar7);\n          pcVar4 = pOVar1->name;\n          format = (char *)gettext("while closing %s: %s");\n          gold_warning(format,pcVar4,pcVar8);\n        }" { (expression_statement "piVar7 = __errno_location();" (assignment_expression "piVar7 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "pcVar8 = strerror(*piVar7);" (assignment_expression "pcVar8 = strerror(*piVar7)" identifier = (call_expression "strerror(*piVar7)" identifier (argument_list "(*piVar7)" ( (pointer_expression "*piVar7" * identifier) )))) ;) (expression_statement "pcVar4 = pOVar1->name;" (assignment_expression "pcVar4 = pOVar1->name" identifier = (field_expression "pOVar1->name" identifier -> field_identifier)) ;) (expression_statement "format = (char *)gettext("while closing %s: %s");" (assignment_expression "format = (char *)gettext("while closing %s: %s")" identifier = (cast_expression "(char *)gettext("while closing %s: %s")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext("while closing %s: %s")" identifier (argument_list "("while closing %s: %s")" ( (string_literal ""while closing %s: %s"" " string_content ") ))))) ;) (expression_statement "gold_warning(format,pcVar4,pcVar8);" (call_expression "gold_warning(format,pcVar4,pcVar8)" identifier (argument_list "(format,pcVar4,pcVar8)" ( identifier , identifier , identifier ))) ;) })) (expression_statement "this->current_ = this->current_ + -1;" (assignment_expression "this->current_ = this->current_ + -1" (field_expression "this->current_" identifier -> field_identifier) = (binary_expression "this->current_ + -1" (field_expression "this->current_" identifier -> field_identifier) + number_literal)) ;) (if_statement "if ((parameters->options_ == (General_options *)0x0) || ((parameters->debug_ & 4) == 0)) {\n          pOVar1->name = (char *)0x0;\n          iVar6 = pOVar1->stack_next;\n        }\n        else {\n          Errors::debug(parameters->errors_,"Closed descriptor %d for \"%s\"",__fd,pOVar1->name);\n          iVar6 = pOVar1->stack_next;\n          pOVar1->name = (char *)0x0;\n        }" if (parenthesized_expression "((parameters->options_ == (General_options *)0x0) || ((parameters->debug_ & 4) == 0))" ( (binary_expression "(parameters->options_ == (General_options *)0x0) || ((parameters->debug_ & 4) == 0)" (parenthesized_expression "(parameters->options_ == (General_options *)0x0)" ( (binary_expression "parameters->options_ == (General_options *)0x0" (field_expression "parameters->options_" identifier -> field_identifier) == (cast_expression "(General_options *)0x0" ( (type_descriptor "General_options *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "((parameters->debug_ & 4) == 0)" ( (binary_expression "(parameters->debug_ & 4) == 0" (parenthesized_expression "(parameters->debug_ & 4)" ( (binary_expression "parameters->debug_ & 4" (field_expression "parameters->debug_" identifier -> field_identifier) & number_literal) )) == number_literal) ))) )) (compound_statement "{\n          pOVar1->name = (char *)0x0;\n          iVar6 = pOVar1->stack_next;\n        }" { (expression_statement "pOVar1->name = (char *)0x0;" (assignment_expression "pOVar1->name = (char *)0x0" (field_expression "pOVar1->name" identifier -> field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar6 = pOVar1->stack_next;" (assignment_expression "iVar6 = pOVar1->stack_next" identifier = (field_expression "pOVar1->stack_next" identifier -> field_identifier)) ;) }) (else_clause "else {\n          Errors::debug(parameters->errors_,"Closed descriptor %d for \"%s\"",__fd,pOVar1->name);\n          iVar6 = pOVar1->stack_next;\n          pOVar1->name = (char *)0x0;\n        }" else (compound_statement "{\n          Errors::debug(parameters->errors_,"Closed descriptor %d for \"%s\"",__fd,pOVar1->name);\n          iVar6 = pOVar1->stack_next;\n          pOVar1->name = (char *)0x0;\n        }" { (labeled_statement "Errors::debug(parameters->errors_,"Closed descriptor %d for \"%s\"",__fd,pOVar1->name);" statement_identifier : (ERROR ":" :) (expression_statement "debug(parameters->errors_,"Closed descriptor %d for \"%s\"",__fd,pOVar1->name);" (call_expression "debug(parameters->errors_,"Closed descriptor %d for \"%s\"",__fd,pOVar1->name)" identifier (argument_list "(parameters->errors_,"Closed descriptor %d for \"%s\"",__fd,pOVar1->name)" ( (field_expression "parameters->errors_" identifier -> field_identifier) , (string_literal ""Closed descriptor %d for \"%s\""" " string_content escape_sequence string_content escape_sequence ") , identifier , (field_expression "pOVar1->name" identifier -> field_identifier) ))) ;)) (expression_statement "iVar6 = pOVar1->stack_next;" (assignment_expression "iVar6 = pOVar1->stack_next" identifier = (field_expression "pOVar1->stack_next" identifier -> field_identifier)) ;) (expression_statement "pOVar1->name = (char *)0x0;" (assignment_expression "pOVar1->name = (char *)0x0" (field_expression "pOVar1->name" identifier -> field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (if_statement "if (uVar9 == 0xffffffff) {\n          this->stack_top_ = iVar6;\n        }\n        else {\n          (this->open_descriptors_).\n          super__Vector_base<gold::Descriptors::Open_descriptor,_std::allocator<gold::Descriptors::Open_descriptor>_>\n          ._M_impl._M_start[uVar9].stack_next = iVar6;\n        }" if (parenthesized_expression "(uVar9 == 0xffffffff)" ( (binary_expression "uVar9 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n          this->stack_top_ = iVar6;\n        }" { (expression_statement "this->stack_top_ = iVar6;" (assignment_expression "this->stack_top_ = iVar6" (field_expression "this->stack_top_" identifier -> field_identifier) = identifier) ;) }) (else_clause "else {\n          (this->open_descriptors_).\n          super__Vector_base<gold::Descriptors::Open_descriptor,_std::allocator<gold::Descriptors::Open_descriptor>_>\n          ._M_impl._M_start[uVar9].stack_next = iVar6;\n        }" else (compound_statement "{\n          (this->open_descriptors_).\n          super__Vector_base<gold::Descriptors::Open_descriptor,_std::allocator<gold::Descriptors::Open_descriptor>_>\n          ._M_impl._M_start[uVar9].stack_next = iVar6;\n        }" { (ERROR "(this->open_descriptors_).\n          super__Vector_base<gold::" (binary_expression "(this->open_descriptors_).\n          super__Vector_base<gold" (field_expression "(this->open_descriptors_).\n          super__Vector_base" (parenthesized_expression "(this->open_descriptors_)" ( (field_expression "this->open_descriptors_" identifier -> field_identifier) )) . field_identifier) < identifier) : :) (labeled_statement "Descriptors::Open_descriptor,_std::allocator<gold::Descriptors::Open_descriptor>_>\n          ._M_impl._M_start[uVar9].stack_next = iVar6;" statement_identifier (ERROR "::Open_descriptor,_std::allocator<gold:" : : (comma_expression "Open_descriptor,_std" identifier , identifier) : : (binary_expression "allocator<gold" identifier < identifier) :) : (labeled_statement "Descriptors::Open_descriptor>_>\n          ._M_impl._M_start[uVar9].stack_next = iVar6;" statement_identifier : (ERROR ":" :) (expression_statement "Open_descriptor>_>\n          ._M_impl._M_start[uVar9].stack_next = iVar6;" (assignment_expression "Open_descriptor>_>\n          ._M_impl._M_start[uVar9].stack_next = iVar6" (field_expression "Open_descriptor>_>\n          ._M_impl._M_start[uVar9].stack_next" (subscript_expression "Open_descriptor>_>\n          ._M_impl._M_start[uVar9]" (field_expression "Open_descriptor>_>\n          ._M_impl._M_start" (field_expression "Open_descriptor>_>\n          ._M_impl" (binary_expression "Open_descriptor>_" identifier > identifier) (ERROR ">" >) . field_identifier) . field_identifier) [ identifier ]) . field_identifier) = identifier) ;))) }))) (expression_statement "pOVar1->stack_next = -1;" (assignment_expression "pOVar1->stack_next = -1" (field_expression "pOVar1->stack_next" identifier -> field_identifier) = number_literal) ;) (expression_statement "pOVar1->is_on_stack = false;" (assignment_expression "pOVar1->is_on_stack = false" (field_expression "pOVar1->is_on_stack" identifier -> field_identifier) = false) ;) (return_statement "return true;" return true ;) })) (expression_statement "uVar3 = pOVar1->stack_next;" (assignment_expression "uVar3 = pOVar1->stack_next" identifier = (field_expression "pOVar1->stack_next" identifier -> field_identifier)) ;) (if_statement "if ((int)uVar3 < 0) {\n        return false;\n      }" if (parenthesized_expression "((int)uVar3 < 0)" ( (binary_expression "(int)uVar3 < 0" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n        return false;\n      }" { (return_statement "return false;" return false ;) })) (expression_statement "uVar9 = __fd;" (assignment_expression "uVar9 = __fd" identifier = identifier) ;) (expression_statement "__fd = uVar3;" (assignment_expression "__fd = uVar3" identifier = identifier) ;) }) while (parenthesized_expression "(uVar3 < uVar5)" ( (binary_expression "uVar3 < uVar5" identifier < identifier) )) ;) })) comment (expression_statement "do_gold_unreachable("../../gold/descriptors.cc",0xf2,"close_some_descriptor");" (call_expression "do_gold_unreachable("../../gold/descriptors.cc",0xf2,"close_some_descriptor")" identifier (argument_list "("../../gold/descriptors.cc",0xf2,"close_some_descriptor")" ( (string_literal ""../../gold/descriptors.cc"" " string_content ") , number_literal , (string_literal ""close_some_descriptor"" " string_content ") ))) ;) })))
(translation_unit "undefined4 FUN_00143670(int param_1)\n\n{\n  undefined4 *puVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  int iVar5;\n  int *piVar6;\n  char *pcVar7;\n  undefined4 uVar8;\n  uint uVar9;\n  uint __fd;\n  \n  __fd = *(uint *)(param_1 + 0x24);\n  if ((int)__fd < 0) {\n    return 0;\n  }\n  uVar4 = (*(int *)(param_1 + 0x1c) - *(int *)(param_1 + 0x18) >> 2) * -0x55555555;\n  if (__fd < uVar4) {\n    uVar9 = 0xffffffff;\n    do {\n      puVar1 = (undefined4 *)(*(int *)(param_1 + 0x18) + __fd * 0xc);\n      if ((*(char *)(puVar1 + 2) == '\0') && (*(char *)((int)puVar1 + 9) == '\0')) {\n        iVar5 = close(__fd);\n        if (iVar5 < 0) {\n          piVar6 = __errno_location();\n          pcVar7 = strerror(*piVar6);\n          uVar3 = *puVar1;\n          uVar8 = gettext("while closing %s: %s");\n          FUN_0005ad30(uVar8,uVar3,pcVar7);\n        }\n        *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + -1;\n        if ((DAT_00302378[2] == 0) || ((*(byte *)(DAT_00302378 + 5) & 4) == 0)) {\n          *puVar1 = 0;\n          uVar3 = puVar1[1];\n        }\n        else {\n          FUN_0005ac40(*DAT_00302378,"Closed descriptor %d for \"%s\"",__fd,*puVar1);\n          uVar3 = puVar1[1];\n          *puVar1 = 0;\n        }\n        if (uVar9 == 0xffffffff) {\n          *(undefined4 *)(param_1 + 0x24) = uVar3;\n        }\n        else {\n          *(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4) = uVar3;\n        }\n        puVar1[1] = 0xffffffff;\n        *(undefined1 *)((int)puVar1 + 10) = 0;\n        return 1;\n      }\n      uVar2 = puVar1[1];\n      if ((int)uVar2 < 0) {\n        return 0;\n      }\n      uVar9 = __fd;\n      __fd = uVar2;\n    } while (uVar2 < uVar4);\n  }\n                    \n  FUN_0005f0b0("../../gold/descriptors.cc",0xf2,"close_some_descriptor");\n}\n\n" (function_definition "undefined4 FUN_00143670(int param_1)\n\n{\n  undefined4 *puVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  int iVar5;\n  int *piVar6;\n  char *pcVar7;\n  undefined4 uVar8;\n  uint uVar9;\n  uint __fd;\n  \n  __fd = *(uint *)(param_1 + 0x24);\n  if ((int)__fd < 0) {\n    return 0;\n  }\n  uVar4 = (*(int *)(param_1 + 0x1c) - *(int *)(param_1 + 0x18) >> 2) * -0x55555555;\n  if (__fd < uVar4) {\n    uVar9 = 0xffffffff;\n    do {\n      puVar1 = (undefined4 *)(*(int *)(param_1 + 0x18) + __fd * 0xc);\n      if ((*(char *)(puVar1 + 2) == '\0') && (*(char *)((int)puVar1 + 9) == '\0')) {\n        iVar5 = close(__fd);\n        if (iVar5 < 0) {\n          piVar6 = __errno_location();\n          pcVar7 = strerror(*piVar6);\n          uVar3 = *puVar1;\n          uVar8 = gettext("while closing %s: %s");\n          FUN_0005ad30(uVar8,uVar3,pcVar7);\n        }\n        *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + -1;\n        if ((DAT_00302378[2] == 0) || ((*(byte *)(DAT_00302378 + 5) & 4) == 0)) {\n          *puVar1 = 0;\n          uVar3 = puVar1[1];\n        }\n        else {\n          FUN_0005ac40(*DAT_00302378,"Closed descriptor %d for \"%s\"",__fd,*puVar1);\n          uVar3 = puVar1[1];\n          *puVar1 = 0;\n        }\n        if (uVar9 == 0xffffffff) {\n          *(undefined4 *)(param_1 + 0x24) = uVar3;\n        }\n        else {\n          *(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4) = uVar3;\n        }\n        puVar1[1] = 0xffffffff;\n        *(undefined1 *)((int)puVar1 + 10) = 0;\n        return 1;\n      }\n      uVar2 = puVar1[1];\n      if ((int)uVar2 < 0) {\n        return 0;\n      }\n      uVar9 = __fd;\n      __fd = uVar2;\n    } while (uVar2 < uVar4);\n  }\n                    \n  FUN_0005f0b0("../../gold/descriptors.cc",0xf2,"close_some_descriptor");\n}" type_identifier (function_declarator "FUN_00143670(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  int iVar5;\n  int *piVar6;\n  char *pcVar7;\n  undefined4 uVar8;\n  uint uVar9;\n  uint __fd;\n  \n  __fd = *(uint *)(param_1 + 0x24);\n  if ((int)__fd < 0) {\n    return 0;\n  }\n  uVar4 = (*(int *)(param_1 + 0x1c) - *(int *)(param_1 + 0x18) >> 2) * -0x55555555;\n  if (__fd < uVar4) {\n    uVar9 = 0xffffffff;\n    do {\n      puVar1 = (undefined4 *)(*(int *)(param_1 + 0x18) + __fd * 0xc);\n      if ((*(char *)(puVar1 + 2) == '\0') && (*(char *)((int)puVar1 + 9) == '\0')) {\n        iVar5 = close(__fd);\n        if (iVar5 < 0) {\n          piVar6 = __errno_location();\n          pcVar7 = strerror(*piVar6);\n          uVar3 = *puVar1;\n          uVar8 = gettext("while closing %s: %s");\n          FUN_0005ad30(uVar8,uVar3,pcVar7);\n        }\n        *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + -1;\n        if ((DAT_00302378[2] == 0) || ((*(byte *)(DAT_00302378 + 5) & 4) == 0)) {\n          *puVar1 = 0;\n          uVar3 = puVar1[1];\n        }\n        else {\n          FUN_0005ac40(*DAT_00302378,"Closed descriptor %d for \"%s\"",__fd,*puVar1);\n          uVar3 = puVar1[1];\n          *puVar1 = 0;\n        }\n        if (uVar9 == 0xffffffff) {\n          *(undefined4 *)(param_1 + 0x24) = uVar3;\n        }\n        else {\n          *(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4) = uVar3;\n        }\n        puVar1[1] = 0xffffffff;\n        *(undefined1 *)((int)puVar1 + 10) = 0;\n        return 1;\n      }\n      uVar2 = puVar1[1];\n      if ((int)uVar2 < 0) {\n        return 0;\n      }\n      uVar9 = __fd;\n      __fd = uVar2;\n    } while (uVar2 < uVar4);\n  }\n                    \n  FUN_0005f0b0("../../gold/descriptors.cc",0xf2,"close_some_descriptor");\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "uint __fd;" type_identifier identifier ;) (expression_statement "__fd = *(uint *)(param_1 + 0x24);" (assignment_expression "__fd = *(uint *)(param_1 + 0x24)" identifier = (pointer_expression "*(uint *)(param_1 + 0x24)" * (cast_expression "(uint *)(param_1 + 0x24)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) ))))) ;) (if_statement "if ((int)__fd < 0) {\n    return 0;\n  }" if (parenthesized_expression "((int)__fd < 0)" ( (binary_expression "(int)__fd < 0" (cast_expression "(int)__fd" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar4 = (*(int *)(param_1 + 0x1c) - *(int *)(param_1 + 0x18) >> 2) * -0x55555555;" (assignment_expression "uVar4 = (*(int *)(param_1 + 0x1c) - *(int *)(param_1 + 0x18) >> 2) * -0x55555555" identifier = (binary_expression "(*(int *)(param_1 + 0x1c) - *(int *)(param_1 + 0x18) >> 2) * -0x55555555" (parenthesized_expression "(*(int *)(param_1 + 0x1c) - *(int *)(param_1 + 0x18) >> 2)" ( (binary_expression "*(int *)(param_1 + 0x1c) - *(int *)(param_1 + 0x18) >> 2" (binary_expression "*(int *)(param_1 + 0x1c) - *(int *)(param_1 + 0x18)" (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) )))) - (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) >> number_literal) )) * number_literal)) ;) (if_statement "if (__fd < uVar4) {\n    uVar9 = 0xffffffff;\n    do {\n      puVar1 = (undefined4 *)(*(int *)(param_1 + 0x18) + __fd * 0xc);\n      if ((*(char *)(puVar1 + 2) == '\0') && (*(char *)((int)puVar1 + 9) == '\0')) {\n        iVar5 = close(__fd);\n        if (iVar5 < 0) {\n          piVar6 = __errno_location();\n          pcVar7 = strerror(*piVar6);\n          uVar3 = *puVar1;\n          uVar8 = gettext("while closing %s: %s");\n          FUN_0005ad30(uVar8,uVar3,pcVar7);\n        }\n        *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + -1;\n        if ((DAT_00302378[2] == 0) || ((*(byte *)(DAT_00302378 + 5) & 4) == 0)) {\n          *puVar1 = 0;\n          uVar3 = puVar1[1];\n        }\n        else {\n          FUN_0005ac40(*DAT_00302378,"Closed descriptor %d for \"%s\"",__fd,*puVar1);\n          uVar3 = puVar1[1];\n          *puVar1 = 0;\n        }\n        if (uVar9 == 0xffffffff) {\n          *(undefined4 *)(param_1 + 0x24) = uVar3;\n        }\n        else {\n          *(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4) = uVar3;\n        }\n        puVar1[1] = 0xffffffff;\n        *(undefined1 *)((int)puVar1 + 10) = 0;\n        return 1;\n      }\n      uVar2 = puVar1[1];\n      if ((int)uVar2 < 0) {\n        return 0;\n      }\n      uVar9 = __fd;\n      __fd = uVar2;\n    } while (uVar2 < uVar4);\n  }" if (parenthesized_expression "(__fd < uVar4)" ( (binary_expression "__fd < uVar4" identifier < identifier) )) (compound_statement "{\n    uVar9 = 0xffffffff;\n    do {\n      puVar1 = (undefined4 *)(*(int *)(param_1 + 0x18) + __fd * 0xc);\n      if ((*(char *)(puVar1 + 2) == '\0') && (*(char *)((int)puVar1 + 9) == '\0')) {\n        iVar5 = close(__fd);\n        if (iVar5 < 0) {\n          piVar6 = __errno_location();\n          pcVar7 = strerror(*piVar6);\n          uVar3 = *puVar1;\n          uVar8 = gettext("while closing %s: %s");\n          FUN_0005ad30(uVar8,uVar3,pcVar7);\n        }\n        *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + -1;\n        if ((DAT_00302378[2] == 0) || ((*(byte *)(DAT_00302378 + 5) & 4) == 0)) {\n          *puVar1 = 0;\n          uVar3 = puVar1[1];\n        }\n        else {\n          FUN_0005ac40(*DAT_00302378,"Closed descriptor %d for \"%s\"",__fd,*puVar1);\n          uVar3 = puVar1[1];\n          *puVar1 = 0;\n        }\n        if (uVar9 == 0xffffffff) {\n          *(undefined4 *)(param_1 + 0x24) = uVar3;\n        }\n        else {\n          *(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4) = uVar3;\n        }\n        puVar1[1] = 0xffffffff;\n        *(undefined1 *)((int)puVar1 + 10) = 0;\n        return 1;\n      }\n      uVar2 = puVar1[1];\n      if ((int)uVar2 < 0) {\n        return 0;\n      }\n      uVar9 = __fd;\n      __fd = uVar2;\n    } while (uVar2 < uVar4);\n  }" { (expression_statement "uVar9 = 0xffffffff;" (assignment_expression "uVar9 = 0xffffffff" identifier = number_literal) ;) (do_statement "do {\n      puVar1 = (undefined4 *)(*(int *)(param_1 + 0x18) + __fd * 0xc);\n      if ((*(char *)(puVar1 + 2) == '\0') && (*(char *)((int)puVar1 + 9) == '\0')) {\n        iVar5 = close(__fd);\n        if (iVar5 < 0) {\n          piVar6 = __errno_location();\n          pcVar7 = strerror(*piVar6);\n          uVar3 = *puVar1;\n          uVar8 = gettext("while closing %s: %s");\n          FUN_0005ad30(uVar8,uVar3,pcVar7);\n        }\n        *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + -1;\n        if ((DAT_00302378[2] == 0) || ((*(byte *)(DAT_00302378 + 5) & 4) == 0)) {\n          *puVar1 = 0;\n          uVar3 = puVar1[1];\n        }\n        else {\n          FUN_0005ac40(*DAT_00302378,"Closed descriptor %d for \"%s\"",__fd,*puVar1);\n          uVar3 = puVar1[1];\n          *puVar1 = 0;\n        }\n        if (uVar9 == 0xffffffff) {\n          *(undefined4 *)(param_1 + 0x24) = uVar3;\n        }\n        else {\n          *(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4) = uVar3;\n        }\n        puVar1[1] = 0xffffffff;\n        *(undefined1 *)((int)puVar1 + 10) = 0;\n        return 1;\n      }\n      uVar2 = puVar1[1];\n      if ((int)uVar2 < 0) {\n        return 0;\n      }\n      uVar9 = __fd;\n      __fd = uVar2;\n    } while (uVar2 < uVar4);" do (compound_statement "{\n      puVar1 = (undefined4 *)(*(int *)(param_1 + 0x18) + __fd * 0xc);\n      if ((*(char *)(puVar1 + 2) == '\0') && (*(char *)((int)puVar1 + 9) == '\0')) {\n        iVar5 = close(__fd);\n        if (iVar5 < 0) {\n          piVar6 = __errno_location();\n          pcVar7 = strerror(*piVar6);\n          uVar3 = *puVar1;\n          uVar8 = gettext("while closing %s: %s");\n          FUN_0005ad30(uVar8,uVar3,pcVar7);\n        }\n        *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + -1;\n        if ((DAT_00302378[2] == 0) || ((*(byte *)(DAT_00302378 + 5) & 4) == 0)) {\n          *puVar1 = 0;\n          uVar3 = puVar1[1];\n        }\n        else {\n          FUN_0005ac40(*DAT_00302378,"Closed descriptor %d for \"%s\"",__fd,*puVar1);\n          uVar3 = puVar1[1];\n          *puVar1 = 0;\n        }\n        if (uVar9 == 0xffffffff) {\n          *(undefined4 *)(param_1 + 0x24) = uVar3;\n        }\n        else {\n          *(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4) = uVar3;\n        }\n        puVar1[1] = 0xffffffff;\n        *(undefined1 *)((int)puVar1 + 10) = 0;\n        return 1;\n      }\n      uVar2 = puVar1[1];\n      if ((int)uVar2 < 0) {\n        return 0;\n      }\n      uVar9 = __fd;\n      __fd = uVar2;\n    }" { (expression_statement "puVar1 = (undefined4 *)(*(int *)(param_1 + 0x18) + __fd * 0xc);" (assignment_expression "puVar1 = (undefined4 *)(*(int *)(param_1 + 0x18) + __fd * 0xc)" identifier = (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x18) + __fd * 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x18) + __fd * 0xc)" ( (binary_expression "*(int *)(param_1 + 0x18) + __fd * 0xc" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) + (binary_expression "__fd * 0xc" identifier * number_literal)) )))) ;) (if_statement "if ((*(char *)(puVar1 + 2) == '\0') && (*(char *)((int)puVar1 + 9) == '\0')) {\n        iVar5 = close(__fd);\n        if (iVar5 < 0) {\n          piVar6 = __errno_location();\n          pcVar7 = strerror(*piVar6);\n          uVar3 = *puVar1;\n          uVar8 = gettext("while closing %s: %s");\n          FUN_0005ad30(uVar8,uVar3,pcVar7);\n        }\n        *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + -1;\n        if ((DAT_00302378[2] == 0) || ((*(byte *)(DAT_00302378 + 5) & 4) == 0)) {\n          *puVar1 = 0;\n          uVar3 = puVar1[1];\n        }\n        else {\n          FUN_0005ac40(*DAT_00302378,"Closed descriptor %d for \"%s\"",__fd,*puVar1);\n          uVar3 = puVar1[1];\n          *puVar1 = 0;\n        }\n        if (uVar9 == 0xffffffff) {\n          *(undefined4 *)(param_1 + 0x24) = uVar3;\n        }\n        else {\n          *(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4) = uVar3;\n        }\n        puVar1[1] = 0xffffffff;\n        *(undefined1 *)((int)puVar1 + 10) = 0;\n        return 1;\n      }" if (parenthesized_expression "((*(char *)(puVar1 + 2) == '\0') && (*(char *)((int)puVar1 + 9) == '\0'))" ( (binary_expression "(*(char *)(puVar1 + 2) == '\0') && (*(char *)((int)puVar1 + 9) == '\0')" (parenthesized_expression "(*(char *)(puVar1 + 2) == '\0')" ( (binary_expression "*(char *)(puVar1 + 2) == '\0'" (pointer_expression "*(char *)(puVar1 + 2)" * (cast_expression "(char *)(puVar1 + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 2)" ( (binary_expression "puVar1 + 2" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(*(char *)((int)puVar1 + 9) == '\0')" ( (binary_expression "*(char *)((int)puVar1 + 9) == '\0'" (pointer_expression "*(char *)((int)puVar1 + 9)" * (cast_expression "(char *)((int)puVar1 + 9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar1 + 9)" ( (binary_expression "(int)puVar1 + 9" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n        iVar5 = close(__fd);\n        if (iVar5 < 0) {\n          piVar6 = __errno_location();\n          pcVar7 = strerror(*piVar6);\n          uVar3 = *puVar1;\n          uVar8 = gettext("while closing %s: %s");\n          FUN_0005ad30(uVar8,uVar3,pcVar7);\n        }\n        *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + -1;\n        if ((DAT_00302378[2] == 0) || ((*(byte *)(DAT_00302378 + 5) & 4) == 0)) {\n          *puVar1 = 0;\n          uVar3 = puVar1[1];\n        }\n        else {\n          FUN_0005ac40(*DAT_00302378,"Closed descriptor %d for \"%s\"",__fd,*puVar1);\n          uVar3 = puVar1[1];\n          *puVar1 = 0;\n        }\n        if (uVar9 == 0xffffffff) {\n          *(undefined4 *)(param_1 + 0x24) = uVar3;\n        }\n        else {\n          *(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4) = uVar3;\n        }\n        puVar1[1] = 0xffffffff;\n        *(undefined1 *)((int)puVar1 + 10) = 0;\n        return 1;\n      }" { (expression_statement "iVar5 = close(__fd);" (assignment_expression "iVar5 = close(__fd)" identifier = (call_expression "close(__fd)" identifier (argument_list "(__fd)" ( identifier )))) ;) (if_statement "if (iVar5 < 0) {\n          piVar6 = __errno_location();\n          pcVar7 = strerror(*piVar6);\n          uVar3 = *puVar1;\n          uVar8 = gettext("while closing %s: %s");\n          FUN_0005ad30(uVar8,uVar3,pcVar7);\n        }" if (parenthesized_expression "(iVar5 < 0)" ( (binary_expression "iVar5 < 0" identifier < number_literal) )) (compound_statement "{\n          piVar6 = __errno_location();\n          pcVar7 = strerror(*piVar6);\n          uVar3 = *puVar1;\n          uVar8 = gettext("while closing %s: %s");\n          FUN_0005ad30(uVar8,uVar3,pcVar7);\n        }" { (expression_statement "piVar6 = __errno_location();" (assignment_expression "piVar6 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "pcVar7 = strerror(*piVar6);" (assignment_expression "pcVar7 = strerror(*piVar6)" identifier = (call_expression "strerror(*piVar6)" identifier (argument_list "(*piVar6)" ( (pointer_expression "*piVar6" * identifier) )))) ;) (expression_statement "uVar3 = *puVar1;" (assignment_expression "uVar3 = *puVar1" identifier = (pointer_expression "*puVar1" * identifier)) ;) (expression_statement "uVar8 = gettext("while closing %s: %s");" (assignment_expression "uVar8 = gettext("while closing %s: %s")" identifier = (call_expression "gettext("while closing %s: %s")" identifier (argument_list "("while closing %s: %s")" ( (string_literal ""while closing %s: %s"" " string_content ") )))) ;) (expression_statement "FUN_0005ad30(uVar8,uVar3,pcVar7);" (call_expression "FUN_0005ad30(uVar8,uVar3,pcVar7)" identifier (argument_list "(uVar8,uVar3,pcVar7)" ( identifier , identifier , identifier ))) ;) })) (expression_statement "*(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + -1;" (assignment_expression "*(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + -1" (pointer_expression "*(int *)(param_1 + 0x28)" * (cast_expression "(int *)(param_1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x28) + -1" (pointer_expression "*(int *)(param_1 + 0x28)" * (cast_expression "(int *)(param_1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) + number_literal)) ;) (if_statement "if ((DAT_00302378[2] == 0) || ((*(byte *)(DAT_00302378 + 5) & 4) == 0)) {\n          *puVar1 = 0;\n          uVar3 = puVar1[1];\n        }\n        else {\n          FUN_0005ac40(*DAT_00302378,"Closed descriptor %d for \"%s\"",__fd,*puVar1);\n          uVar3 = puVar1[1];\n          *puVar1 = 0;\n        }" if (parenthesized_expression "((DAT_00302378[2] == 0) || ((*(byte *)(DAT_00302378 + 5) & 4) == 0))" ( (binary_expression "(DAT_00302378[2] == 0) || ((*(byte *)(DAT_00302378 + 5) & 4) == 0)" (parenthesized_expression "(DAT_00302378[2] == 0)" ( (binary_expression "DAT_00302378[2] == 0" (subscript_expression "DAT_00302378[2]" identifier [ number_literal ]) == number_literal) )) || (parenthesized_expression "((*(byte *)(DAT_00302378 + 5) & 4) == 0)" ( (binary_expression "(*(byte *)(DAT_00302378 + 5) & 4) == 0" (parenthesized_expression "(*(byte *)(DAT_00302378 + 5) & 4)" ( (binary_expression "*(byte *)(DAT_00302378 + 5) & 4" (pointer_expression "*(byte *)(DAT_00302378 + 5)" * (cast_expression "(byte *)(DAT_00302378 + 5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00302378 + 5)" ( (binary_expression "DAT_00302378 + 5" identifier + number_literal) )))) & number_literal) )) == number_literal) ))) )) (compound_statement "{\n          *puVar1 = 0;\n          uVar3 = puVar1[1];\n        }" { (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "uVar3 = puVar1[1];" (assignment_expression "uVar3 = puVar1[1]" identifier = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) }) (else_clause "else {\n          FUN_0005ac40(*DAT_00302378,"Closed descriptor %d for \"%s\"",__fd,*puVar1);\n          uVar3 = puVar1[1];\n          *puVar1 = 0;\n        }" else (compound_statement "{\n          FUN_0005ac40(*DAT_00302378,"Closed descriptor %d for \"%s\"",__fd,*puVar1);\n          uVar3 = puVar1[1];\n          *puVar1 = 0;\n        }" { (expression_statement "FUN_0005ac40(*DAT_00302378,"Closed descriptor %d for \"%s\"",__fd,*puVar1);" (call_expression "FUN_0005ac40(*DAT_00302378,"Closed descriptor %d for \"%s\"",__fd,*puVar1)" identifier (argument_list "(*DAT_00302378,"Closed descriptor %d for \"%s\"",__fd,*puVar1)" ( (pointer_expression "*DAT_00302378" * identifier) , (string_literal ""Closed descriptor %d for \"%s\""" " string_content escape_sequence string_content escape_sequence ") , identifier , (pointer_expression "*puVar1" * identifier) ))) ;) (expression_statement "uVar3 = puVar1[1];" (assignment_expression "uVar3 = puVar1[1]" identifier = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) }))) (if_statement "if (uVar9 == 0xffffffff) {\n          *(undefined4 *)(param_1 + 0x24) = uVar3;\n        }\n        else {\n          *(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4) = uVar3;\n        }" if (parenthesized_expression "(uVar9 == 0xffffffff)" ( (binary_expression "uVar9 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n          *(undefined4 *)(param_1 + 0x24) = uVar3;\n        }" { (expression_statement "*(undefined4 *)(param_1 + 0x24) = uVar3;" (assignment_expression "*(undefined4 *)(param_1 + 0x24) = uVar3" (pointer_expression "*(undefined4 *)(param_1 + 0x24)" * (cast_expression "(undefined4 *)(param_1 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n          *(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4) = uVar3;\n        }" else (compound_statement "{\n          *(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4) = uVar3;\n        }" { (expression_statement "*(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4) = uVar3;" (assignment_expression "*(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4) = uVar3" (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4)" ( (binary_expression "*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4" (binary_expression "*(int *)(param_1 + 0x18) + uVar9 * 0xc" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) + (binary_expression "uVar9 * 0xc" identifier * number_literal)) + number_literal) )))) = identifier) ;) }))) (expression_statement "puVar1[1] = 0xffffffff;" (assignment_expression "puVar1[1] = 0xffffffff" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)((int)puVar1 + 10) = 0;" (assignment_expression "*(undefined1 *)((int)puVar1 + 10) = 0" (pointer_expression "*(undefined1 *)((int)puVar1 + 10)" * (cast_expression "(undefined1 *)((int)puVar1 + 10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar1 + 10)" ( (binary_expression "(int)puVar1 + 10" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "uVar2 = puVar1[1];" (assignment_expression "uVar2 = puVar1[1]" identifier = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (if_statement "if ((int)uVar2 < 0) {\n        return 0;\n      }" if (parenthesized_expression "((int)uVar2 < 0)" ( (binary_expression "(int)uVar2 < 0" (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar9 = __fd;" (assignment_expression "uVar9 = __fd" identifier = identifier) ;) (expression_statement "__fd = uVar2;" (assignment_expression "__fd = uVar2" identifier = identifier) ;) }) while (parenthesized_expression "(uVar2 < uVar4)" ( (binary_expression "uVar2 < uVar4" identifier < identifier) )) ;) })) (expression_statement "FUN_0005f0b0("../../gold/descriptors.cc",0xf2,"close_some_descriptor");" (call_expression "FUN_0005f0b0("../../gold/descriptors.cc",0xf2,"close_some_descriptor")" identifier (argument_list "("../../gold/descriptors.cc",0xf2,"close_some_descriptor")" ( (string_literal ""../../gold/descriptors.cc"" " string_content ") , number_literal , (string_literal ""close_some_descriptor"" " string_content ") ))) ;) })))
(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 IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (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) ))))) >> LIT) )) * LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (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) )))) + (binary_expression IDENT * LIT)) )))) ;) (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) )))) == (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) == (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (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 = (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 , IDENT ))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) || (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) )) == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , (string_literal " string_content escape_sequence string_content escape_sequence ") , IDENT , (pointer_expression * IDENT) ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) + LIT) )))) = IDENT) ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "undefined4 FUN_00143670(int param_1)\n\n{\n  undefined4 *puVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  int iVar5;\n  int *piVar6;\n  char *pcVar7;\n  undefined4 uVar8;\n  uint uVar9;\n  uint __fd;\n  \n  __fd = *(uint *)(param_1 + 0x24);\n  if ((int)__fd < 0) {\n    return 0;\n  }\n  uVar4 = (*(int *)(param_1 + 0x1c) - *(int *)(param_1 + 0x18) >> 2) * -0x55555555;\n  if (__fd < uVar4) {\n    uVar9 = 0xffffffff;\n    do {\n      puVar1 = (undefined4 *)(*(int *)(param_1 + 0x18) + __fd * 0xc);\n      if ((*(char *)(puVar1 + 2) == '\0') && (*(char *)((int)puVar1 + 9) == '\0')) {\n        iVar5 = close(__fd);\n        if (iVar5 < 0) {\n          piVar6 = __errno_location();\n          pcVar7 = strerror(*piVar6);\n          uVar3 = *puVar1;\n          uVar8 = gettext("while closing %s: %s");\n          FUN_0005ad30(uVar8,uVar3,pcVar7);\n        }\n        *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + -1;\n        if ((DAT_00302378[2] == 0) || ((*(byte *)(DAT_00302378 + 5) & 4) == 0)) {\n          *puVar1 = 0;\n          uVar3 = puVar1[1];\n        }\n        else {\n          FUN_0005ac40(*DAT_00302378,"Closed descriptor %d for \"%s\"",__fd,*puVar1);\n          uVar3 = puVar1[1];\n          *puVar1 = 0;\n        }\n        if (uVar9 == 0xffffffff) {\n          *(undefined4 *)(param_1 + 0x24) = uVar3;\n        }\n        else {\n          *(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4) = uVar3;\n        }\n        puVar1[1] = 0xffffffff;\n        *(undefined1 *)((int)puVar1 + 10) = 0;\n        return 1;\n      }\n      uVar2 = puVar1[1];\n      if ((int)uVar2 < 0) {\n        return 0;\n      }\n      uVar9 = __fd;\n      __fd = uVar2;\n    } while (uVar2 < uVar4);\n  }\n                    \n  FUN_0005f0b0("../../gold/descriptors.cc",0xf2,"close_some_descriptor");\n}" (type_identifier "undefined4") (function_declarator "FUN_00143670(int param_1)" (identifier "FUN_00143670") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  int iVar5;\n  int *piVar6;\n  char *pcVar7;\n  undefined4 uVar8;\n  uint uVar9;\n  uint __fd;\n  \n  __fd = *(uint *)(param_1 + 0x24);\n  if ((int)__fd < 0) {\n    return 0;\n  }\n  uVar4 = (*(int *)(param_1 + 0x1c) - *(int *)(param_1 + 0x18) >> 2) * -0x55555555;\n  if (__fd < uVar4) {\n    uVar9 = 0xffffffff;\n    do {\n      puVar1 = (undefined4 *)(*(int *)(param_1 + 0x18) + __fd * 0xc);\n      if ((*(char *)(puVar1 + 2) == '\0') && (*(char *)((int)puVar1 + 9) == '\0')) {\n        iVar5 = close(__fd);\n        if (iVar5 < 0) {\n          piVar6 = __errno_location();\n          pcVar7 = strerror(*piVar6);\n          uVar3 = *puVar1;\n          uVar8 = gettext("while closing %s: %s");\n          FUN_0005ad30(uVar8,uVar3,pcVar7);\n        }\n        *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + -1;\n        if ((DAT_00302378[2] == 0) || ((*(byte *)(DAT_00302378 + 5) & 4) == 0)) {\n          *puVar1 = 0;\n          uVar3 = puVar1[1];\n        }\n        else {\n          FUN_0005ac40(*DAT_00302378,"Closed descriptor %d for \"%s\"",__fd,*puVar1);\n          uVar3 = puVar1[1];\n          *puVar1 = 0;\n        }\n        if (uVar9 == 0xffffffff) {\n          *(undefined4 *)(param_1 + 0x24) = uVar3;\n        }\n        else {\n          *(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4) = uVar3;\n        }\n        puVar1[1] = 0xffffffff;\n        *(undefined1 *)((int)puVar1 + 10) = 0;\n        return 1;\n      }\n      uVar2 = puVar1[1];\n      if ((int)uVar2 < 0) {\n        return 0;\n      }\n      uVar9 = __fd;\n      __fd = uVar2;\n    } while (uVar2 < uVar4);\n  }\n                    \n  FUN_0005f0b0("../../gold/descriptors.cc",0xf2,"close_some_descriptor");\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int *piVar6;" (primitive_type "int") (pointer_declarator "*piVar6" (* "*") (identifier "piVar6")) (; ";")) (declaration "char *pcVar7;" (primitive_type "char") (pointer_declarator "*pcVar7" (* "*") (identifier "pcVar7")) (; ";")) (declaration "undefined4 uVar8;" (type_identifier "undefined4") (identifier "uVar8") (; ";")) (declaration "uint uVar9;" (type_identifier "uint") (identifier "uVar9") (; ";")) (declaration "uint __fd;" (type_identifier "uint") (identifier "__fd") (; ";")) (expression_statement "__fd = *(uint *)(param_1 + 0x24);" (assignment_expression "__fd = *(uint *)(param_1 + 0x24)" (identifier "__fd") (= "=") (pointer_expression "*(uint *)(param_1 + 0x24)" (* "*") (cast_expression "(uint *)(param_1 + 0x24)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")"))))) (; ";")) (if_statement "if ((int)__fd < 0) {\n    return 0;\n  }" (if "if") (parenthesized_expression "((int)__fd < 0)" (( "(") (binary_expression "(int)__fd < 0" (cast_expression "(int)__fd" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__fd")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "uVar4 = (*(int *)(param_1 + 0x1c) - *(int *)(param_1 + 0x18) >> 2) * -0x55555555;" (assignment_expression "uVar4 = (*(int *)(param_1 + 0x1c) - *(int *)(param_1 + 0x18) >> 2) * -0x55555555" (identifier "uVar4") (= "=") (binary_expression "(*(int *)(param_1 + 0x1c) - *(int *)(param_1 + 0x18) >> 2) * -0x55555555" (parenthesized_expression "(*(int *)(param_1 + 0x1c) - *(int *)(param_1 + 0x18) >> 2)" (( "(") (binary_expression "*(int *)(param_1 + 0x1c) - *(int *)(param_1 + 0x18) >> 2" (binary_expression "*(int *)(param_1 + 0x1c) - *(int *)(param_1 + 0x18)" (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")) () ")")))) (- "-") (pointer_expression "*(int *)(param_1 + 0x18)" (* "*") (cast_expression "(int *)(param_1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (>> ">>") (number_literal "2")) () ")")) (* "*") (number_literal "-0x55555555"))) (; ";")) (if_statement "if (__fd < uVar4) {\n    uVar9 = 0xffffffff;\n    do {\n      puVar1 = (undefined4 *)(*(int *)(param_1 + 0x18) + __fd * 0xc);\n      if ((*(char *)(puVar1 + 2) == '\0') && (*(char *)((int)puVar1 + 9) == '\0')) {\n        iVar5 = close(__fd);\n        if (iVar5 < 0) {\n          piVar6 = __errno_location();\n          pcVar7 = strerror(*piVar6);\n          uVar3 = *puVar1;\n          uVar8 = gettext("while closing %s: %s");\n          FUN_0005ad30(uVar8,uVar3,pcVar7);\n        }\n        *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + -1;\n        if ((DAT_00302378[2] == 0) || ((*(byte *)(DAT_00302378 + 5) & 4) == 0)) {\n          *puVar1 = 0;\n          uVar3 = puVar1[1];\n        }\n        else {\n          FUN_0005ac40(*DAT_00302378,"Closed descriptor %d for \"%s\"",__fd,*puVar1);\n          uVar3 = puVar1[1];\n          *puVar1 = 0;\n        }\n        if (uVar9 == 0xffffffff) {\n          *(undefined4 *)(param_1 + 0x24) = uVar3;\n        }\n        else {\n          *(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4) = uVar3;\n        }\n        puVar1[1] = 0xffffffff;\n        *(undefined1 *)((int)puVar1 + 10) = 0;\n        return 1;\n      }\n      uVar2 = puVar1[1];\n      if ((int)uVar2 < 0) {\n        return 0;\n      }\n      uVar9 = __fd;\n      __fd = uVar2;\n    } while (uVar2 < uVar4);\n  }" (if "if") (parenthesized_expression "(__fd < uVar4)" (( "(") (binary_expression "__fd < uVar4" (identifier "__fd") (< "<") (identifier "uVar4")) () ")")) (compound_statement "{\n    uVar9 = 0xffffffff;\n    do {\n      puVar1 = (undefined4 *)(*(int *)(param_1 + 0x18) + __fd * 0xc);\n      if ((*(char *)(puVar1 + 2) == '\0') && (*(char *)((int)puVar1 + 9) == '\0')) {\n        iVar5 = close(__fd);\n        if (iVar5 < 0) {\n          piVar6 = __errno_location();\n          pcVar7 = strerror(*piVar6);\n          uVar3 = *puVar1;\n          uVar8 = gettext("while closing %s: %s");\n          FUN_0005ad30(uVar8,uVar3,pcVar7);\n        }\n        *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + -1;\n        if ((DAT_00302378[2] == 0) || ((*(byte *)(DAT_00302378 + 5) & 4) == 0)) {\n          *puVar1 = 0;\n          uVar3 = puVar1[1];\n        }\n        else {\n          FUN_0005ac40(*DAT_00302378,"Closed descriptor %d for \"%s\"",__fd,*puVar1);\n          uVar3 = puVar1[1];\n          *puVar1 = 0;\n        }\n        if (uVar9 == 0xffffffff) {\n          *(undefined4 *)(param_1 + 0x24) = uVar3;\n        }\n        else {\n          *(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4) = uVar3;\n        }\n        puVar1[1] = 0xffffffff;\n        *(undefined1 *)((int)puVar1 + 10) = 0;\n        return 1;\n      }\n      uVar2 = puVar1[1];\n      if ((int)uVar2 < 0) {\n        return 0;\n      }\n      uVar9 = __fd;\n      __fd = uVar2;\n    } while (uVar2 < uVar4);\n  }" ({ "{") (expression_statement "uVar9 = 0xffffffff;" (assignment_expression "uVar9 = 0xffffffff" (identifier "uVar9") (= "=") (number_literal "0xffffffff")) (; ";")) (do_statement "do {\n      puVar1 = (undefined4 *)(*(int *)(param_1 + 0x18) + __fd * 0xc);\n      if ((*(char *)(puVar1 + 2) == '\0') && (*(char *)((int)puVar1 + 9) == '\0')) {\n        iVar5 = close(__fd);\n        if (iVar5 < 0) {\n          piVar6 = __errno_location();\n          pcVar7 = strerror(*piVar6);\n          uVar3 = *puVar1;\n          uVar8 = gettext("while closing %s: %s");\n          FUN_0005ad30(uVar8,uVar3,pcVar7);\n        }\n        *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + -1;\n        if ((DAT_00302378[2] == 0) || ((*(byte *)(DAT_00302378 + 5) & 4) == 0)) {\n          *puVar1 = 0;\n          uVar3 = puVar1[1];\n        }\n        else {\n          FUN_0005ac40(*DAT_00302378,"Closed descriptor %d for \"%s\"",__fd,*puVar1);\n          uVar3 = puVar1[1];\n          *puVar1 = 0;\n        }\n        if (uVar9 == 0xffffffff) {\n          *(undefined4 *)(param_1 + 0x24) = uVar3;\n        }\n        else {\n          *(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4) = uVar3;\n        }\n        puVar1[1] = 0xffffffff;\n        *(undefined1 *)((int)puVar1 + 10) = 0;\n        return 1;\n      }\n      uVar2 = puVar1[1];\n      if ((int)uVar2 < 0) {\n        return 0;\n      }\n      uVar9 = __fd;\n      __fd = uVar2;\n    } while (uVar2 < uVar4);" (do "do") (compound_statement "{\n      puVar1 = (undefined4 *)(*(int *)(param_1 + 0x18) + __fd * 0xc);\n      if ((*(char *)(puVar1 + 2) == '\0') && (*(char *)((int)puVar1 + 9) == '\0')) {\n        iVar5 = close(__fd);\n        if (iVar5 < 0) {\n          piVar6 = __errno_location();\n          pcVar7 = strerror(*piVar6);\n          uVar3 = *puVar1;\n          uVar8 = gettext("while closing %s: %s");\n          FUN_0005ad30(uVar8,uVar3,pcVar7);\n        }\n        *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + -1;\n        if ((DAT_00302378[2] == 0) || ((*(byte *)(DAT_00302378 + 5) & 4) == 0)) {\n          *puVar1 = 0;\n          uVar3 = puVar1[1];\n        }\n        else {\n          FUN_0005ac40(*DAT_00302378,"Closed descriptor %d for \"%s\"",__fd,*puVar1);\n          uVar3 = puVar1[1];\n          *puVar1 = 0;\n        }\n        if (uVar9 == 0xffffffff) {\n          *(undefined4 *)(param_1 + 0x24) = uVar3;\n        }\n        else {\n          *(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4) = uVar3;\n        }\n        puVar1[1] = 0xffffffff;\n        *(undefined1 *)((int)puVar1 + 10) = 0;\n        return 1;\n      }\n      uVar2 = puVar1[1];\n      if ((int)uVar2 < 0) {\n        return 0;\n      }\n      uVar9 = __fd;\n      __fd = uVar2;\n    }" ({ "{") (expression_statement "puVar1 = (undefined4 *)(*(int *)(param_1 + 0x18) + __fd * 0xc);" (assignment_expression "puVar1 = (undefined4 *)(*(int *)(param_1 + 0x18) + __fd * 0xc)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x18) + __fd * 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x18) + __fd * 0xc)" (( "(") (binary_expression "*(int *)(param_1 + 0x18) + __fd * 0xc" (pointer_expression "*(int *)(param_1 + 0x18)" (* "*") (cast_expression "(int *)(param_1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (+ "+") (binary_expression "__fd * 0xc" (identifier "__fd") (* "*") (number_literal "0xc"))) () ")")))) (; ";")) (if_statement "if ((*(char *)(puVar1 + 2) == '\0') && (*(char *)((int)puVar1 + 9) == '\0')) {\n        iVar5 = close(__fd);\n        if (iVar5 < 0) {\n          piVar6 = __errno_location();\n          pcVar7 = strerror(*piVar6);\n          uVar3 = *puVar1;\n          uVar8 = gettext("while closing %s: %s");\n          FUN_0005ad30(uVar8,uVar3,pcVar7);\n        }\n        *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + -1;\n        if ((DAT_00302378[2] == 0) || ((*(byte *)(DAT_00302378 + 5) & 4) == 0)) {\n          *puVar1 = 0;\n          uVar3 = puVar1[1];\n        }\n        else {\n          FUN_0005ac40(*DAT_00302378,"Closed descriptor %d for \"%s\"",__fd,*puVar1);\n          uVar3 = puVar1[1];\n          *puVar1 = 0;\n        }\n        if (uVar9 == 0xffffffff) {\n          *(undefined4 *)(param_1 + 0x24) = uVar3;\n        }\n        else {\n          *(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4) = uVar3;\n        }\n        puVar1[1] = 0xffffffff;\n        *(undefined1 *)((int)puVar1 + 10) = 0;\n        return 1;\n      }" (if "if") (parenthesized_expression "((*(char *)(puVar1 + 2) == '\0') && (*(char *)((int)puVar1 + 9) == '\0'))" (( "(") (binary_expression "(*(char *)(puVar1 + 2) == '\0') && (*(char *)((int)puVar1 + 9) == '\0')" (parenthesized_expression "(*(char *)(puVar1 + 2) == '\0')" (( "(") (binary_expression "*(char *)(puVar1 + 2) == '\0'" (pointer_expression "*(char *)(puVar1 + 2)" (* "*") (cast_expression "(char *)(puVar1 + 2)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + 2)" (( "(") (binary_expression "puVar1 + 2" (identifier "puVar1") (+ "+") (number_literal "2")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(*(char *)((int)puVar1 + 9) == '\0')" (( "(") (binary_expression "*(char *)((int)puVar1 + 9) == '\0'" (pointer_expression "*(char *)((int)puVar1 + 9)" (* "*") (cast_expression "(char *)((int)puVar1 + 9)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar1 + 9)" (( "(") (binary_expression "(int)puVar1 + 9" (cast_expression "(int)puVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar1")) (+ "+") (number_literal "9")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n        iVar5 = close(__fd);\n        if (iVar5 < 0) {\n          piVar6 = __errno_location();\n          pcVar7 = strerror(*piVar6);\n          uVar3 = *puVar1;\n          uVar8 = gettext("while closing %s: %s");\n          FUN_0005ad30(uVar8,uVar3,pcVar7);\n        }\n        *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + -1;\n        if ((DAT_00302378[2] == 0) || ((*(byte *)(DAT_00302378 + 5) & 4) == 0)) {\n          *puVar1 = 0;\n          uVar3 = puVar1[1];\n        }\n        else {\n          FUN_0005ac40(*DAT_00302378,"Closed descriptor %d for \"%s\"",__fd,*puVar1);\n          uVar3 = puVar1[1];\n          *puVar1 = 0;\n        }\n        if (uVar9 == 0xffffffff) {\n          *(undefined4 *)(param_1 + 0x24) = uVar3;\n        }\n        else {\n          *(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4) = uVar3;\n        }\n        puVar1[1] = 0xffffffff;\n        *(undefined1 *)((int)puVar1 + 10) = 0;\n        return 1;\n      }" ({ "{") (expression_statement "iVar5 = close(__fd);" (assignment_expression "iVar5 = close(__fd)" (identifier "iVar5") (= "=") (call_expression "close(__fd)" (identifier "close") (argument_list "(__fd)" (( "(") (identifier "__fd") () ")")))) (; ";")) (if_statement "if (iVar5 < 0) {\n          piVar6 = __errno_location();\n          pcVar7 = strerror(*piVar6);\n          uVar3 = *puVar1;\n          uVar8 = gettext("while closing %s: %s");\n          FUN_0005ad30(uVar8,uVar3,pcVar7);\n        }" (if "if") (parenthesized_expression "(iVar5 < 0)" (( "(") (binary_expression "iVar5 < 0" (identifier "iVar5") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n          piVar6 = __errno_location();\n          pcVar7 = strerror(*piVar6);\n          uVar3 = *puVar1;\n          uVar8 = gettext("while closing %s: %s");\n          FUN_0005ad30(uVar8,uVar3,pcVar7);\n        }" ({ "{") (expression_statement "piVar6 = __errno_location();" (assignment_expression "piVar6 = __errno_location()" (identifier "piVar6") (= "=") (call_expression "__errno_location()" (identifier "__errno_location") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "pcVar7 = strerror(*piVar6);" (assignment_expression "pcVar7 = strerror(*piVar6)" (identifier "pcVar7") (= "=") (call_expression "strerror(*piVar6)" (identifier "strerror") (argument_list "(*piVar6)" (( "(") (pointer_expression "*piVar6" (* "*") (identifier "piVar6")) () ")")))) (; ";")) (expression_statement "uVar3 = *puVar1;" (assignment_expression "uVar3 = *puVar1" (identifier "uVar3") (= "=") (pointer_expression "*puVar1" (* "*") (identifier "puVar1"))) (; ";")) (expression_statement "uVar8 = gettext("while closing %s: %s");" (assignment_expression "uVar8 = gettext("while closing %s: %s")" (identifier "uVar8") (= "=") (call_expression "gettext("while closing %s: %s")" (identifier "gettext") (argument_list "("while closing %s: %s")" (( "(") (string_literal ""while closing %s: %s"" (" """) (string_content "while closing %s: %s") (" """)) () ")")))) (; ";")) (expression_statement "FUN_0005ad30(uVar8,uVar3,pcVar7);" (call_expression "FUN_0005ad30(uVar8,uVar3,pcVar7)" (identifier "FUN_0005ad30") (argument_list "(uVar8,uVar3,pcVar7)" (( "(") (identifier "uVar8") (, ",") (identifier "uVar3") (, ",") (identifier "pcVar7") () ")"))) (; ";")) (} "}"))) (expression_statement "*(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + -1;" (assignment_expression "*(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + -1" (pointer_expression "*(int *)(param_1 + 0x28)" (* "*") (cast_expression "(int *)(param_1 + 0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (binary_expression "*(int *)(param_1 + 0x28) + -1" (pointer_expression "*(int *)(param_1 + 0x28)" (* "*") (cast_expression "(int *)(param_1 + 0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")")))) (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if ((DAT_00302378[2] == 0) || ((*(byte *)(DAT_00302378 + 5) & 4) == 0)) {\n          *puVar1 = 0;\n          uVar3 = puVar1[1];\n        }\n        else {\n          FUN_0005ac40(*DAT_00302378,"Closed descriptor %d for \"%s\"",__fd,*puVar1);\n          uVar3 = puVar1[1];\n          *puVar1 = 0;\n        }" (if "if") (parenthesized_expression "((DAT_00302378[2] == 0) || ((*(byte *)(DAT_00302378 + 5) & 4) == 0))" (( "(") (binary_expression "(DAT_00302378[2] == 0) || ((*(byte *)(DAT_00302378 + 5) & 4) == 0)" (parenthesized_expression "(DAT_00302378[2] == 0)" (( "(") (binary_expression "DAT_00302378[2] == 0" (subscript_expression "DAT_00302378[2]" (identifier "DAT_00302378") ([ "[") (number_literal "2") (] "]")) (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "((*(byte *)(DAT_00302378 + 5) & 4) == 0)" (( "(") (binary_expression "(*(byte *)(DAT_00302378 + 5) & 4) == 0" (parenthesized_expression "(*(byte *)(DAT_00302378 + 5) & 4)" (( "(") (binary_expression "*(byte *)(DAT_00302378 + 5) & 4" (pointer_expression "*(byte *)(DAT_00302378 + 5)" (* "*") (cast_expression "(byte *)(DAT_00302378 + 5)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_00302378 + 5)" (( "(") (binary_expression "DAT_00302378 + 5" (identifier "DAT_00302378") (+ "+") (number_literal "5")) () ")")))) (& "&") (number_literal "4")) () ")")) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n          *puVar1 = 0;\n          uVar3 = puVar1[1];\n        }" ({ "{") (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar3 = puVar1[1];" (assignment_expression "uVar3 = puVar1[1]" (identifier "uVar3") (= "=") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (} "}")) (else_clause "else {\n          FUN_0005ac40(*DAT_00302378,"Closed descriptor %d for \"%s\"",__fd,*puVar1);\n          uVar3 = puVar1[1];\n          *puVar1 = 0;\n        }" (else "else") (compound_statement "{\n          FUN_0005ac40(*DAT_00302378,"Closed descriptor %d for \"%s\"",__fd,*puVar1);\n          uVar3 = puVar1[1];\n          *puVar1 = 0;\n        }" ({ "{") (expression_statement "FUN_0005ac40(*DAT_00302378,"Closed descriptor %d for \"%s\"",__fd,*puVar1);" (call_expression "FUN_0005ac40(*DAT_00302378,"Closed descriptor %d for \"%s\"",__fd,*puVar1)" (identifier "FUN_0005ac40") (argument_list "(*DAT_00302378,"Closed descriptor %d for \"%s\"",__fd,*puVar1)" (( "(") (pointer_expression "*DAT_00302378" (* "*") (identifier "DAT_00302378")) (, ",") (string_literal ""Closed descriptor %d for \"%s\""" (" """) (string_content "Closed descriptor %d for ") (escape_sequence "\"") (string_content "%s") (escape_sequence "\"") (" """)) (, ",") (identifier "__fd") (, ",") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) () ")"))) (; ";")) (expression_statement "uVar3 = puVar1[1];" (assignment_expression "uVar3 = puVar1[1]" (identifier "uVar3") (= "=") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (number_literal "0")) (; ";")) (} "}")))) (if_statement "if (uVar9 == 0xffffffff) {\n          *(undefined4 *)(param_1 + 0x24) = uVar3;\n        }\n        else {\n          *(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4) = uVar3;\n        }" (if "if") (parenthesized_expression "(uVar9 == 0xffffffff)" (( "(") (binary_expression "uVar9 == 0xffffffff" (identifier "uVar9") (== "==") (number_literal "0xffffffff")) () ")")) (compound_statement "{\n          *(undefined4 *)(param_1 + 0x24) = uVar3;\n        }" ({ "{") (expression_statement "*(undefined4 *)(param_1 + 0x24) = uVar3;" (assignment_expression "*(undefined4 *)(param_1 + 0x24) = uVar3" (pointer_expression "*(undefined4 *)(param_1 + 0x24)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x24)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")")))) (= "=") (identifier "uVar3")) (; ";")) (} "}")) (else_clause "else {\n          *(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4) = uVar3;\n        }" (else "else") (compound_statement "{\n          *(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4) = uVar3;\n        }" ({ "{") (expression_statement "*(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4) = uVar3;" (assignment_expression "*(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4) = uVar3" (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4)" (* "*") (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4)" (( "(") (binary_expression "*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4" (binary_expression "*(int *)(param_1 + 0x18) + uVar9 * 0xc" (pointer_expression "*(int *)(param_1 + 0x18)" (* "*") (cast_expression "(int *)(param_1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (+ "+") (binary_expression "uVar9 * 0xc" (identifier "uVar9") (* "*") (number_literal "0xc"))) (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "uVar3")) (; ";")) (} "}")))) (expression_statement "puVar1[1] = 0xffffffff;" (assignment_expression "puVar1[1] = 0xffffffff" (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "*(undefined1 *)((int)puVar1 + 10) = 0;" (assignment_expression "*(undefined1 *)((int)puVar1 + 10) = 0" (pointer_expression "*(undefined1 *)((int)puVar1 + 10)" (* "*") (cast_expression "(undefined1 *)((int)puVar1 + 10)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar1 + 10)" (( "(") (binary_expression "(int)puVar1 + 10" (cast_expression "(int)puVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar1")) (+ "+") (number_literal "10")) () ")")))) (= "=") (number_literal "0")) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "uVar2 = puVar1[1];" (assignment_expression "uVar2 = puVar1[1]" (identifier "uVar2") (= "=") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if ((int)uVar2 < 0) {\n        return 0;\n      }" (if "if") (parenthesized_expression "((int)uVar2 < 0)" (( "(") (binary_expression "(int)uVar2 < 0" (cast_expression "(int)uVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar2")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n        return 0;\n      }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "uVar9 = __fd;" (assignment_expression "uVar9 = __fd" (identifier "uVar9") (= "=") (identifier "__fd")) (; ";")) (expression_statement "__fd = uVar2;" (assignment_expression "__fd = uVar2" (identifier "__fd") (= "=") (identifier "uVar2")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar2 < uVar4)" (( "(") (binary_expression "uVar2 < uVar4" (identifier "uVar2") (< "<") (identifier "uVar4")) () ")")) (; ";")) (} "}"))) (expression_statement "FUN_0005f0b0("../../gold/descriptors.cc",0xf2,"close_some_descriptor");" (call_expression "FUN_0005f0b0("../../gold/descriptors.cc",0xf2,"close_some_descriptor")" (identifier "FUN_0005f0b0") (argument_list "("../../gold/descriptors.cc",0xf2,"close_some_descriptor")" (( "(") (string_literal ""../../gold/descriptors.cc"" (" """) (string_content "../../gold/descriptors.cc") (" """)) (, ",") (number_literal "0xf2") (, ",") (string_literal ""close_some_descriptor"" (" """) (string_content "close_some_descriptor") (" """)) () ")"))) (; ";")) (} "}")))

/* 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: bool close_some_descriptor(Descriptors * this) */

bool __thiscall gold::type_1::function_1(type_1 *this)

{
  type_2 pOVar1;
  type_2 var_5;
  type_3 var_14;
  char *pcVar4;
  type_3 var_4;
  int var_7;
  int *piVar7;
  char *pcVar8;
  char *format;
  type_3 var_13;
  type_3 var_3;
  
  var_3 = this->stack_top_;
  if ((int)var_3 < 0) {
    return false;
  }
  var_5 = (this->open_descriptors_).
           super__Vector_base<gold::Descriptors::var_1,_std::allocator<gold::Descriptors::var_1>var_2>
           ._M_impl._M_start;
  var_4 = ((int)(this->open_descriptors_).
                super__Vector_base<gold::type_1::var_1,_std::allocator<gold::type_1::var_1>var_2>
                ._M_impl._M_finish - (int)var_5 >> 2) * -0x55555555;
  if (var_3 < var_4) {
    var_13 = 0xffffffff;
    do {
      pOVar1 = var_5 + var_3;
      if ((pOVar1->inuse == false) && (pOVar1->is_write == false)) {
        var_7 = var_6(var_3);
        if (var_7 < 0) {
          piVar7 = var_8();
          pcVar8 = var_9(*piVar7);
          pcVar4 = pOVar1->name;
          format = (char *)var_10("while closing %s: %s");
          var_11(format,pcVar4,pcVar8);
        }
        this->current_ = this->current_ + -1;
        if ((parameters->options_ == (type_4 *)0x0) || ((parameters->debug_ & 4) == 0)) {
          pOVar1->name = (char *)0x0;
          var_7 = pOVar1->stack_next;
        }
        else {
          Errors::var_12(parameters->errors_,"Closed descriptor %d for \"%s\"",var_3,pOVar1->name);
          var_7 = pOVar1->stack_next;
          pOVar1->name = (char *)0x0;
        }
        if (var_13 == 0xffffffff) {
          this->stack_top_ = var_7;
        }
        else {
          (this->open_descriptors_).
          super__Vector_base<gold::Descriptors::var_1,_std::allocator<gold::Descriptors::var_1>var_2>
          ._M_impl._M_start[var_13].stack_next = var_7;
        }
        pOVar1->stack_next = -1;
        pOVar1->is_on_stack = false;
        return true;
      }
      var_14 = pOVar1->stack_next;
      if ((int)var_14 < 0) {
        return false;
      }
      var_13 = var_3;
      var_3 = var_14;
    } while (var_14 < var_4);
  }
                    /* WARNING: Subroutine does not return */
  var_15("../../gold/descriptors.cc",0xf2,"close_some_descriptor");
}


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

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

undefined4 MASKED(int param_1)

{
  undefined4 *puVar1;
  uint uVar2;
  undefined4 uVar3;
  uint uVar4;
  int iVar5;
  int *piVar6;
  char *pcVar7;
  undefined4 uVar8;
  uint uVar9;
  uint __fd;
  
  __fd = *(uint *)(param_1 + 0x24);
  if ((int)__fd < 0) {
    return 0;
  }
  uVar4 = (*(int *)(param_1 + 0x1c) - *(int *)(param_1 + 0x18) >> 2) * -0x55555555;
  if (__fd < uVar4) {
    uVar9 = 0xffffffff;
    do {
      puVar1 = (undefined4 *)(*(int *)(param_1 + 0x18) + __fd * 0xc);
      if ((*(char *)(puVar1 + 2) == '\0') && (*(char *)((int)puVar1 + 9) == '\0')) {
        iVar5 = close(__fd);
        if (iVar5 < 0) {
          piVar6 = __errno_location();
          pcVar7 = strerror(*piVar6);
          uVar3 = *puVar1;
          uVar8 = gettext("while closing %s: %s");
          FUN_0005ad30(uVar8,uVar3,pcVar7);
        }
        *(int *)(param_1 + 0x28) = *(int *)(param_1 + 0x28) + -1;
        if ((DAT_00302378[2] == 0) || ((*(byte *)(DAT_00302378 + 5) & 4) == 0)) {
          *puVar1 = 0;
          uVar3 = puVar1[1];
        }
        else {
          FUN_0005ac40(*DAT_00302378,"Closed descriptor %d for \"%s\"",__fd,*puVar1);
          uVar3 = puVar1[1];
          *puVar1 = 0;
        }
        if (uVar9 == 0xffffffff) {
          *(undefined4 *)(param_1 + 0x24) = uVar3;
        }
        else {
          *(undefined4 *)(*(int *)(param_1 + 0x18) + uVar9 * 0xc + 4) = uVar3;
        }
        puVar1[1] = 0xffffffff;
        *(undefined1 *)((int)puVar1 + 10) = 0;
        return 1;
      }
      uVar2 = puVar1[1];
      if ((int)uVar2 < 0) {
        return 0;
      }
      uVar9 = __fd;
      __fd = uVar2;
    } while (uVar2 < uVar4);
  }
                    /* WARNING: Subroutine does not return */
  FUN_0005f0b0("../../gold/descriptors.cc",0xf2,"close_some_descriptor");
}

