
void cloexec(int fd)

{
  uint uVar1;
  int iVar2;
  undefined4 *puVar3;
  undefined4 uVar4;
  undefined *puVar5;
  undefined4 uVar6;
  
  uVar1 = (*(code *)PTR_fcntl64_000adbb0)(fd,1);
  if ((int)uVar1 < 0) {
    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;
    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();
    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);
    puVar5 = PTR_DAT_000ad2d0 + -0x6c34;
  }
  else {
    iVar2 = (*(code *)PTR_fcntl64_000adbb0)(fd,2,uVar1 | 1);
    if (-1 < iVar2) {
      return;
    }
    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;
    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();
    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);
    puVar5 = PTR_DAT_000ad2d0 + -0x6c1c;
  }
  (*(code *)PTR___fprintf_chk_000adb54)(uVar6,1,puVar5,fd,uVar4);
  (*(code *)PTR_exit_000adc48)(1);
  return;
}



void cloexec(undefined4 param_1)

{
  uint uVar1;
  int iVar2;
  undefined4 *puVar3;
  undefined4 uVar4;
  undefined *puVar5;
  undefined4 uVar6;
  
  uVar1 = (*(code *)PTR_fcntl64_000adbb0)(param_1,1);
  if ((int)uVar1 < 0) {
    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;
    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();
    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);
    puVar5 = PTR_DAT_000ad2d0 + -0x6c34;
  }
  else {
    iVar2 = (*(code *)PTR_fcntl64_000adbb0)(param_1,2,uVar1 | 1);
    if (-1 < iVar2) {
      return;
    }
    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;
    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();
    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);
    puVar5 = PTR_DAT_000ad2d0 + -0x6c1c;
  }
  (*(code *)PTR___fprintf_chk_000adb54)(uVar6,1,puVar5,param_1,uVar4);
  (*(code *)PTR_exit_000adc48)(1);
  return;
}


lui gp,0x4
addiu gp,gp,-0x6760
addu gp,gp,t9
addiu sp,sp,-0x30
lw t9,-0x76e0(gp)
li a1,0x1
sw gp,0x18(sp)
sw s0,0x24(sp)
or s0,a0,zero
sw ra,0x2c(sp)
jalr t9
_sw s1,0x28(sp)
bltz v0,0x0007ba58
_lw gp,0x18(sp)
lw t9,-0x76e0(gp)
li a1,0x2
ori a2,v0,0x1
jalr t9
_or a0,s0,zero
bltz v0,0x0007bab0
_lw gp,0x18(sp)
lw ra,0x2c(sp)
lw s1,0x28(sp)
lw s0,0x24(sp)
jr ra
_addiu sp,sp,0x30
lw v0,-0x75a0(gp)
lw t9,-0x76ac(gp)
jalr t9
_lw s1,0x0(v0)
lw gp,0x18(sp)
lw t9,-0x763c(gp)
jalr t9
_lw a0,0x0(v0)
li a1,0x1
lw gp,0x18(sp)
or a0,s1,zero
or a3,s0,zero
sw v0,0x10(sp)
lw a2,-0x7fc0(gp)
lw t9,-0x773c(gp)
addiu a2,a2,-0x6c34
jalr t9
_nop
lw gp,0x18(sp)
lw t9,-0x7648(gp)
jalr t9
_li a0,0x1
lw v0,-0x75a0(gp)
lw t9,-0x76ac(gp)
jalr t9
_lw s1,0x0(v0)
lw gp,0x18(sp)
lw t9,-0x763c(gp)
jalr t9
_lw a0,0x0(v0)
li a1,0x1
lw gp,0x18(sp)
or a0,s1,zero
or a3,s0,zero
sw v0,0x10(sp)
lw a2,-0x7fc0(gp)
lw t9,-0x773c(gp)
b 0x0007ba98
_addiu a2,a2,-0x6c1c
(translation_unit "void cloexec(undefined4 param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  undefined4 uVar6;\n  \n  uVar1 = (*(code *)PTR_fcntl64_000adbb0)(param_1,1);\n  if ((int)uVar1 < 0) {\n    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();\n    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);\n    puVar5 = PTR_DAT_000ad2d0 + -0x6c34;\n  }\n  else {\n    iVar2 = (*(code *)PTR_fcntl64_000adbb0)(param_1,2,uVar1 | 1);\n    if (-1 < iVar2) {\n      return;\n    }\n    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();\n    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);\n    puVar5 = PTR_DAT_000ad2d0 + -0x6c1c;\n  }\n  (*(code *)PTR___fprintf_chk_000adb54)(uVar6,1,puVar5,param_1,uVar4);\n  (*(code *)PTR_exit_000adc48)(1);\n  return;\n}\n\n" (function_definition "void cloexec(undefined4 param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  undefined4 uVar6;\n  \n  uVar1 = (*(code *)PTR_fcntl64_000adbb0)(param_1,1);\n  if ((int)uVar1 < 0) {\n    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();\n    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);\n    puVar5 = PTR_DAT_000ad2d0 + -0x6c34;\n  }\n  else {\n    iVar2 = (*(code *)PTR_fcntl64_000adbb0)(param_1,2,uVar1 | 1);\n    if (-1 < iVar2) {\n      return;\n    }\n    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();\n    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);\n    puVar5 = PTR_DAT_000ad2d0 + -0x6c1c;\n  }\n  (*(code *)PTR___fprintf_chk_000adb54)(uVar6,1,puVar5,param_1,uVar4);\n  (*(code *)PTR_exit_000adc48)(1);\n  return;\n}" primitive_type (function_declarator "cloexec(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  undefined4 uVar6;\n  \n  uVar1 = (*(code *)PTR_fcntl64_000adbb0)(param_1,1);\n  if ((int)uVar1 < 0) {\n    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();\n    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);\n    puVar5 = PTR_DAT_000ad2d0 + -0x6c34;\n  }\n  else {\n    iVar2 = (*(code *)PTR_fcntl64_000adbb0)(param_1,2,uVar1 | 1);\n    if (-1 < iVar2) {\n      return;\n    }\n    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();\n    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);\n    puVar5 = PTR_DAT_000ad2d0 + -0x6c1c;\n  }\n  (*(code *)PTR___fprintf_chk_000adb54)(uVar6,1,puVar5,param_1,uVar4);\n  (*(code *)PTR_exit_000adc48)(1);\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (expression_statement "uVar1 = (*(code *)PTR_fcntl64_000adbb0)(param_1,1);" (assignment_expression "uVar1 = (*(code *)PTR_fcntl64_000adbb0)(param_1,1)" identifier = (call_expression "(*(code *)PTR_fcntl64_000adbb0)(param_1,1)" (parenthesized_expression "(*(code *)PTR_fcntl64_000adbb0)" ( (pointer_expression "*(code *)PTR_fcntl64_000adbb0" * (cast_expression "(code *)PTR_fcntl64_000adbb0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,1)" ( identifier , number_literal )))) ;) (if_statement "if ((int)uVar1 < 0) {\n    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();\n    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);\n    puVar5 = PTR_DAT_000ad2d0 + -0x6c34;\n  }\n  else {\n    iVar2 = (*(code *)PTR_fcntl64_000adbb0)(param_1,2,uVar1 | 1);\n    if (-1 < iVar2) {\n      return;\n    }\n    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();\n    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);\n    puVar5 = PTR_DAT_000ad2d0 + -0x6c1c;\n  }" if (parenthesized_expression "((int)uVar1 < 0)" ( (binary_expression "(int)uVar1 < 0" (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();\n    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);\n    puVar5 = PTR_DAT_000ad2d0 + -0x6c34;\n  }" { (expression_statement "uVar6 = *(undefined4 *)PTR_stderr_000adcf0;" (assignment_expression "uVar6 = *(undefined4 *)PTR_stderr_000adcf0" identifier = (pointer_expression "*(undefined4 *)PTR_stderr_000adcf0" * (cast_expression "(undefined4 *)PTR_stderr_000adcf0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();" (assignment_expression "puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_000adbe4)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_000adbe4)()" (parenthesized_expression "(*(code *)PTR___errno_location_000adbe4)" ( (pointer_expression "*(code *)PTR___errno_location_000adbe4" * (cast_expression "(code *)PTR___errno_location_000adbe4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);" (assignment_expression "uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3)" identifier = (call_expression "(*(code *)PTR_strerror_000adc54)(*puVar3)" (parenthesized_expression "(*(code *)PTR_strerror_000adc54)" ( (pointer_expression "*(code *)PTR_strerror_000adc54" * (cast_expression "(code *)PTR_strerror_000adc54" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar3)" ( (pointer_expression "*puVar3" * identifier) )))) ;) (expression_statement "puVar5 = PTR_DAT_000ad2d0 + -0x6c34;" (assignment_expression "puVar5 = PTR_DAT_000ad2d0 + -0x6c34" identifier = (binary_expression "PTR_DAT_000ad2d0 + -0x6c34" identifier + number_literal)) ;) }) (else_clause "else {\n    iVar2 = (*(code *)PTR_fcntl64_000adbb0)(param_1,2,uVar1 | 1);\n    if (-1 < iVar2) {\n      return;\n    }\n    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();\n    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);\n    puVar5 = PTR_DAT_000ad2d0 + -0x6c1c;\n  }" else (compound_statement "{\n    iVar2 = (*(code *)PTR_fcntl64_000adbb0)(param_1,2,uVar1 | 1);\n    if (-1 < iVar2) {\n      return;\n    }\n    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();\n    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);\n    puVar5 = PTR_DAT_000ad2d0 + -0x6c1c;\n  }" { (expression_statement "iVar2 = (*(code *)PTR_fcntl64_000adbb0)(param_1,2,uVar1 | 1);" (assignment_expression "iVar2 = (*(code *)PTR_fcntl64_000adbb0)(param_1,2,uVar1 | 1)" identifier = (call_expression "(*(code *)PTR_fcntl64_000adbb0)(param_1,2,uVar1 | 1)" (parenthesized_expression "(*(code *)PTR_fcntl64_000adbb0)" ( (pointer_expression "*(code *)PTR_fcntl64_000adbb0" * (cast_expression "(code *)PTR_fcntl64_000adbb0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,2,uVar1 | 1)" ( identifier , number_literal , (binary_expression "uVar1 | 1" identifier | number_literal) )))) ;) (if_statement "if (-1 < iVar2) {\n      return;\n    }" if (parenthesized_expression "(-1 < iVar2)" ( (binary_expression "-1 < iVar2" number_literal < identifier) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "uVar6 = *(undefined4 *)PTR_stderr_000adcf0;" (assignment_expression "uVar6 = *(undefined4 *)PTR_stderr_000adcf0" identifier = (pointer_expression "*(undefined4 *)PTR_stderr_000adcf0" * (cast_expression "(undefined4 *)PTR_stderr_000adcf0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();" (assignment_expression "puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_000adbe4)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_000adbe4)()" (parenthesized_expression "(*(code *)PTR___errno_location_000adbe4)" ( (pointer_expression "*(code *)PTR___errno_location_000adbe4" * (cast_expression "(code *)PTR___errno_location_000adbe4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);" (assignment_expression "uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3)" identifier = (call_expression "(*(code *)PTR_strerror_000adc54)(*puVar3)" (parenthesized_expression "(*(code *)PTR_strerror_000adc54)" ( (pointer_expression "*(code *)PTR_strerror_000adc54" * (cast_expression "(code *)PTR_strerror_000adc54" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar3)" ( (pointer_expression "*puVar3" * identifier) )))) ;) (expression_statement "puVar5 = PTR_DAT_000ad2d0 + -0x6c1c;" (assignment_expression "puVar5 = PTR_DAT_000ad2d0 + -0x6c1c" identifier = (binary_expression "PTR_DAT_000ad2d0 + -0x6c1c" identifier + number_literal)) ;) }))) (expression_statement "(*(code *)PTR___fprintf_chk_000adb54)(uVar6,1,puVar5,param_1,uVar4);" (call_expression "(*(code *)PTR___fprintf_chk_000adb54)(uVar6,1,puVar5,param_1,uVar4)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000adb54)" ( (pointer_expression "*(code *)PTR___fprintf_chk_000adb54" * (cast_expression "(code *)PTR___fprintf_chk_000adb54" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar6,1,puVar5,param_1,uVar4)" ( identifier , number_literal , identifier , identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_exit_000adc48)(1);" (call_expression "(*(code *)PTR_exit_000adc48)(1)" (parenthesized_expression "(*(code *)PTR_exit_000adc48)" ( (pointer_expression "*(code *)PTR_exit_000adc48" * (cast_expression "(code *)PTR_exit_000adc48" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1)" ( number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void cloexec(int fd)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  undefined4 uVar6;\n  \n  uVar1 = (*(code *)PTR_fcntl64_000adbb0)(fd,1);\n  if ((int)uVar1 < 0) {\n    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();\n    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);\n    puVar5 = PTR_DAT_000ad2d0 + -0x6c34;\n  }\n  else {\n    iVar2 = (*(code *)PTR_fcntl64_000adbb0)(fd,2,uVar1 | 1);\n    if (-1 < iVar2) {\n      return;\n    }\n    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();\n    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);\n    puVar5 = PTR_DAT_000ad2d0 + -0x6c1c;\n  }\n  (*(code *)PTR___fprintf_chk_000adb54)(uVar6,1,puVar5,fd,uVar4);\n  (*(code *)PTR_exit_000adc48)(1);\n  return;\n}\n\n" (function_definition "void cloexec(int fd)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  undefined4 uVar6;\n  \n  uVar1 = (*(code *)PTR_fcntl64_000adbb0)(fd,1);\n  if ((int)uVar1 < 0) {\n    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();\n    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);\n    puVar5 = PTR_DAT_000ad2d0 + -0x6c34;\n  }\n  else {\n    iVar2 = (*(code *)PTR_fcntl64_000adbb0)(fd,2,uVar1 | 1);\n    if (-1 < iVar2) {\n      return;\n    }\n    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();\n    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);\n    puVar5 = PTR_DAT_000ad2d0 + -0x6c1c;\n  }\n  (*(code *)PTR___fprintf_chk_000adb54)(uVar6,1,puVar5,fd,uVar4);\n  (*(code *)PTR_exit_000adc48)(1);\n  return;\n}" primitive_type (function_declarator "cloexec(int fd)" identifier (parameter_list "(int fd)" ( (parameter_declaration "int fd" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  undefined4 uVar6;\n  \n  uVar1 = (*(code *)PTR_fcntl64_000adbb0)(fd,1);\n  if ((int)uVar1 < 0) {\n    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();\n    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);\n    puVar5 = PTR_DAT_000ad2d0 + -0x6c34;\n  }\n  else {\n    iVar2 = (*(code *)PTR_fcntl64_000adbb0)(fd,2,uVar1 | 1);\n    if (-1 < iVar2) {\n      return;\n    }\n    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();\n    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);\n    puVar5 = PTR_DAT_000ad2d0 + -0x6c1c;\n  }\n  (*(code *)PTR___fprintf_chk_000adb54)(uVar6,1,puVar5,fd,uVar4);\n  (*(code *)PTR_exit_000adc48)(1);\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (expression_statement "uVar1 = (*(code *)PTR_fcntl64_000adbb0)(fd,1);" (assignment_expression "uVar1 = (*(code *)PTR_fcntl64_000adbb0)(fd,1)" identifier = (call_expression "(*(code *)PTR_fcntl64_000adbb0)(fd,1)" (parenthesized_expression "(*(code *)PTR_fcntl64_000adbb0)" ( (pointer_expression "*(code *)PTR_fcntl64_000adbb0" * (cast_expression "(code *)PTR_fcntl64_000adbb0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(fd,1)" ( identifier , number_literal )))) ;) (if_statement "if ((int)uVar1 < 0) {\n    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();\n    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);\n    puVar5 = PTR_DAT_000ad2d0 + -0x6c34;\n  }\n  else {\n    iVar2 = (*(code *)PTR_fcntl64_000adbb0)(fd,2,uVar1 | 1);\n    if (-1 < iVar2) {\n      return;\n    }\n    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();\n    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);\n    puVar5 = PTR_DAT_000ad2d0 + -0x6c1c;\n  }" if (parenthesized_expression "((int)uVar1 < 0)" ( (binary_expression "(int)uVar1 < 0" (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();\n    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);\n    puVar5 = PTR_DAT_000ad2d0 + -0x6c34;\n  }" { (expression_statement "uVar6 = *(undefined4 *)PTR_stderr_000adcf0;" (assignment_expression "uVar6 = *(undefined4 *)PTR_stderr_000adcf0" identifier = (pointer_expression "*(undefined4 *)PTR_stderr_000adcf0" * (cast_expression "(undefined4 *)PTR_stderr_000adcf0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();" (assignment_expression "puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_000adbe4)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_000adbe4)()" (parenthesized_expression "(*(code *)PTR___errno_location_000adbe4)" ( (pointer_expression "*(code *)PTR___errno_location_000adbe4" * (cast_expression "(code *)PTR___errno_location_000adbe4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);" (assignment_expression "uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3)" identifier = (call_expression "(*(code *)PTR_strerror_000adc54)(*puVar3)" (parenthesized_expression "(*(code *)PTR_strerror_000adc54)" ( (pointer_expression "*(code *)PTR_strerror_000adc54" * (cast_expression "(code *)PTR_strerror_000adc54" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar3)" ( (pointer_expression "*puVar3" * identifier) )))) ;) (expression_statement "puVar5 = PTR_DAT_000ad2d0 + -0x6c34;" (assignment_expression "puVar5 = PTR_DAT_000ad2d0 + -0x6c34" identifier = (binary_expression "PTR_DAT_000ad2d0 + -0x6c34" identifier + number_literal)) ;) }) (else_clause "else {\n    iVar2 = (*(code *)PTR_fcntl64_000adbb0)(fd,2,uVar1 | 1);\n    if (-1 < iVar2) {\n      return;\n    }\n    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();\n    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);\n    puVar5 = PTR_DAT_000ad2d0 + -0x6c1c;\n  }" else (compound_statement "{\n    iVar2 = (*(code *)PTR_fcntl64_000adbb0)(fd,2,uVar1 | 1);\n    if (-1 < iVar2) {\n      return;\n    }\n    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();\n    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);\n    puVar5 = PTR_DAT_000ad2d0 + -0x6c1c;\n  }" { (expression_statement "iVar2 = (*(code *)PTR_fcntl64_000adbb0)(fd,2,uVar1 | 1);" (assignment_expression "iVar2 = (*(code *)PTR_fcntl64_000adbb0)(fd,2,uVar1 | 1)" identifier = (call_expression "(*(code *)PTR_fcntl64_000adbb0)(fd,2,uVar1 | 1)" (parenthesized_expression "(*(code *)PTR_fcntl64_000adbb0)" ( (pointer_expression "*(code *)PTR_fcntl64_000adbb0" * (cast_expression "(code *)PTR_fcntl64_000adbb0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(fd,2,uVar1 | 1)" ( identifier , number_literal , (binary_expression "uVar1 | 1" identifier | number_literal) )))) ;) (if_statement "if (-1 < iVar2) {\n      return;\n    }" if (parenthesized_expression "(-1 < iVar2)" ( (binary_expression "-1 < iVar2" number_literal < identifier) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "uVar6 = *(undefined4 *)PTR_stderr_000adcf0;" (assignment_expression "uVar6 = *(undefined4 *)PTR_stderr_000adcf0" identifier = (pointer_expression "*(undefined4 *)PTR_stderr_000adcf0" * (cast_expression "(undefined4 *)PTR_stderr_000adcf0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();" (assignment_expression "puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_000adbe4)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_000adbe4)()" (parenthesized_expression "(*(code *)PTR___errno_location_000adbe4)" ( (pointer_expression "*(code *)PTR___errno_location_000adbe4" * (cast_expression "(code *)PTR___errno_location_000adbe4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);" (assignment_expression "uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3)" identifier = (call_expression "(*(code *)PTR_strerror_000adc54)(*puVar3)" (parenthesized_expression "(*(code *)PTR_strerror_000adc54)" ( (pointer_expression "*(code *)PTR_strerror_000adc54" * (cast_expression "(code *)PTR_strerror_000adc54" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar3)" ( (pointer_expression "*puVar3" * identifier) )))) ;) (expression_statement "puVar5 = PTR_DAT_000ad2d0 + -0x6c1c;" (assignment_expression "puVar5 = PTR_DAT_000ad2d0 + -0x6c1c" identifier = (binary_expression "PTR_DAT_000ad2d0 + -0x6c1c" identifier + number_literal)) ;) }))) (expression_statement "(*(code *)PTR___fprintf_chk_000adb54)(uVar6,1,puVar5,fd,uVar4);" (call_expression "(*(code *)PTR___fprintf_chk_000adb54)(uVar6,1,puVar5,fd,uVar4)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000adb54)" ( (pointer_expression "*(code *)PTR___fprintf_chk_000adb54" * (cast_expression "(code *)PTR___fprintf_chk_000adb54" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar6,1,puVar5,fd,uVar4)" ( identifier , number_literal , identifier , identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_exit_000adc48)(1);" (call_expression "(*(code *)PTR_exit_000adc48)(1)" (parenthesized_expression "(*(code *)PTR_exit_000adc48)" ( (pointer_expression "*(code *)PTR_exit_000adc48" * (cast_expression "(code *)PTR_exit_000adc48" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1)" ( number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void cloexec(undefined4 param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  undefined4 uVar6;\n  \n  uVar1 = (*(code *)PTR_fcntl64_000adbb0)(param_1,1);\n  if ((int)uVar1 < 0) {\n    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();\n    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);\n    puVar5 = PTR_DAT_000ad2d0 + -0x6c34;\n  }\n  else {\n    iVar2 = (*(code *)PTR_fcntl64_000adbb0)(param_1,2,uVar1 | 1);\n    if (-1 < iVar2) {\n      return;\n    }\n    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();\n    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);\n    puVar5 = PTR_DAT_000ad2d0 + -0x6c1c;\n  }\n  (*(code *)PTR___fprintf_chk_000adb54)(uVar6,1,puVar5,param_1,uVar4);\n  (*(code *)PTR_exit_000adc48)(1);\n  return;\n}\n\n" (function_definition "void cloexec(undefined4 param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  undefined4 uVar6;\n  \n  uVar1 = (*(code *)PTR_fcntl64_000adbb0)(param_1,1);\n  if ((int)uVar1 < 0) {\n    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();\n    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);\n    puVar5 = PTR_DAT_000ad2d0 + -0x6c34;\n  }\n  else {\n    iVar2 = (*(code *)PTR_fcntl64_000adbb0)(param_1,2,uVar1 | 1);\n    if (-1 < iVar2) {\n      return;\n    }\n    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();\n    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);\n    puVar5 = PTR_DAT_000ad2d0 + -0x6c1c;\n  }\n  (*(code *)PTR___fprintf_chk_000adb54)(uVar6,1,puVar5,param_1,uVar4);\n  (*(code *)PTR_exit_000adc48)(1);\n  return;\n}" primitive_type (function_declarator "cloexec(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  undefined4 uVar6;\n  \n  uVar1 = (*(code *)PTR_fcntl64_000adbb0)(param_1,1);\n  if ((int)uVar1 < 0) {\n    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();\n    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);\n    puVar5 = PTR_DAT_000ad2d0 + -0x6c34;\n  }\n  else {\n    iVar2 = (*(code *)PTR_fcntl64_000adbb0)(param_1,2,uVar1 | 1);\n    if (-1 < iVar2) {\n      return;\n    }\n    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();\n    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);\n    puVar5 = PTR_DAT_000ad2d0 + -0x6c1c;\n  }\n  (*(code *)PTR___fprintf_chk_000adb54)(uVar6,1,puVar5,param_1,uVar4);\n  (*(code *)PTR_exit_000adc48)(1);\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (expression_statement "uVar1 = (*(code *)PTR_fcntl64_000adbb0)(param_1,1);" (assignment_expression "uVar1 = (*(code *)PTR_fcntl64_000adbb0)(param_1,1)" identifier = (call_expression "(*(code *)PTR_fcntl64_000adbb0)(param_1,1)" (parenthesized_expression "(*(code *)PTR_fcntl64_000adbb0)" ( (pointer_expression "*(code *)PTR_fcntl64_000adbb0" * (cast_expression "(code *)PTR_fcntl64_000adbb0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,1)" ( identifier , number_literal )))) ;) (if_statement "if ((int)uVar1 < 0) {\n    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();\n    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);\n    puVar5 = PTR_DAT_000ad2d0 + -0x6c34;\n  }\n  else {\n    iVar2 = (*(code *)PTR_fcntl64_000adbb0)(param_1,2,uVar1 | 1);\n    if (-1 < iVar2) {\n      return;\n    }\n    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();\n    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);\n    puVar5 = PTR_DAT_000ad2d0 + -0x6c1c;\n  }" if (parenthesized_expression "((int)uVar1 < 0)" ( (binary_expression "(int)uVar1 < 0" (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();\n    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);\n    puVar5 = PTR_DAT_000ad2d0 + -0x6c34;\n  }" { (expression_statement "uVar6 = *(undefined4 *)PTR_stderr_000adcf0;" (assignment_expression "uVar6 = *(undefined4 *)PTR_stderr_000adcf0" identifier = (pointer_expression "*(undefined4 *)PTR_stderr_000adcf0" * (cast_expression "(undefined4 *)PTR_stderr_000adcf0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();" (assignment_expression "puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_000adbe4)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_000adbe4)()" (parenthesized_expression "(*(code *)PTR___errno_location_000adbe4)" ( (pointer_expression "*(code *)PTR___errno_location_000adbe4" * (cast_expression "(code *)PTR___errno_location_000adbe4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);" (assignment_expression "uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3)" identifier = (call_expression "(*(code *)PTR_strerror_000adc54)(*puVar3)" (parenthesized_expression "(*(code *)PTR_strerror_000adc54)" ( (pointer_expression "*(code *)PTR_strerror_000adc54" * (cast_expression "(code *)PTR_strerror_000adc54" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar3)" ( (pointer_expression "*puVar3" * identifier) )))) ;) (expression_statement "puVar5 = PTR_DAT_000ad2d0 + -0x6c34;" (assignment_expression "puVar5 = PTR_DAT_000ad2d0 + -0x6c34" identifier = (binary_expression "PTR_DAT_000ad2d0 + -0x6c34" identifier + number_literal)) ;) }) (else_clause "else {\n    iVar2 = (*(code *)PTR_fcntl64_000adbb0)(param_1,2,uVar1 | 1);\n    if (-1 < iVar2) {\n      return;\n    }\n    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();\n    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);\n    puVar5 = PTR_DAT_000ad2d0 + -0x6c1c;\n  }" else (compound_statement "{\n    iVar2 = (*(code *)PTR_fcntl64_000adbb0)(param_1,2,uVar1 | 1);\n    if (-1 < iVar2) {\n      return;\n    }\n    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();\n    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);\n    puVar5 = PTR_DAT_000ad2d0 + -0x6c1c;\n  }" { (expression_statement "iVar2 = (*(code *)PTR_fcntl64_000adbb0)(param_1,2,uVar1 | 1);" (assignment_expression "iVar2 = (*(code *)PTR_fcntl64_000adbb0)(param_1,2,uVar1 | 1)" identifier = (call_expression "(*(code *)PTR_fcntl64_000adbb0)(param_1,2,uVar1 | 1)" (parenthesized_expression "(*(code *)PTR_fcntl64_000adbb0)" ( (pointer_expression "*(code *)PTR_fcntl64_000adbb0" * (cast_expression "(code *)PTR_fcntl64_000adbb0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,2,uVar1 | 1)" ( identifier , number_literal , (binary_expression "uVar1 | 1" identifier | number_literal) )))) ;) (if_statement "if (-1 < iVar2) {\n      return;\n    }" if (parenthesized_expression "(-1 < iVar2)" ( (binary_expression "-1 < iVar2" number_literal < identifier) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "uVar6 = *(undefined4 *)PTR_stderr_000adcf0;" (assignment_expression "uVar6 = *(undefined4 *)PTR_stderr_000adcf0" identifier = (pointer_expression "*(undefined4 *)PTR_stderr_000adcf0" * (cast_expression "(undefined4 *)PTR_stderr_000adcf0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();" (assignment_expression "puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_000adbe4)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_000adbe4)()" (parenthesized_expression "(*(code *)PTR___errno_location_000adbe4)" ( (pointer_expression "*(code *)PTR___errno_location_000adbe4" * (cast_expression "(code *)PTR___errno_location_000adbe4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);" (assignment_expression "uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3)" identifier = (call_expression "(*(code *)PTR_strerror_000adc54)(*puVar3)" (parenthesized_expression "(*(code *)PTR_strerror_000adc54)" ( (pointer_expression "*(code *)PTR_strerror_000adc54" * (cast_expression "(code *)PTR_strerror_000adc54" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar3)" ( (pointer_expression "*puVar3" * identifier) )))) ;) (expression_statement "puVar5 = PTR_DAT_000ad2d0 + -0x6c1c;" (assignment_expression "puVar5 = PTR_DAT_000ad2d0 + -0x6c1c" identifier = (binary_expression "PTR_DAT_000ad2d0 + -0x6c1c" identifier + number_literal)) ;) }))) (expression_statement "(*(code *)PTR___fprintf_chk_000adb54)(uVar6,1,puVar5,param_1,uVar4);" (call_expression "(*(code *)PTR___fprintf_chk_000adb54)(uVar6,1,puVar5,param_1,uVar4)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000adb54)" ( (pointer_expression "*(code *)PTR___fprintf_chk_000adb54" * (cast_expression "(code *)PTR___fprintf_chk_000adb54" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar6,1,puVar5,param_1,uVar4)" ( identifier , number_literal , identifier , identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_exit_000adc48)(1);" (call_expression "(*(code *)PTR_exit_000adc48)(1)" (parenthesized_expression "(*(code *)PTR_exit_000adc48)" ( (pointer_expression "*(code *)PTR_exit_000adc48" * (cast_expression "(code *)PTR_exit_000adc48" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1)" ( number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , (binary_expression IDENT | LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , IDENT , IDENT , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT ))) ;) (return_statement return ;) })))
(function_definition "void cloexec(undefined4 param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  undefined4 uVar6;\n  \n  uVar1 = (*(code *)PTR_fcntl64_000adbb0)(param_1,1);\n  if ((int)uVar1 < 0) {\n    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();\n    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);\n    puVar5 = PTR_DAT_000ad2d0 + -0x6c34;\n  }\n  else {\n    iVar2 = (*(code *)PTR_fcntl64_000adbb0)(param_1,2,uVar1 | 1);\n    if (-1 < iVar2) {\n      return;\n    }\n    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();\n    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);\n    puVar5 = PTR_DAT_000ad2d0 + -0x6c1c;\n  }\n  (*(code *)PTR___fprintf_chk_000adb54)(uVar6,1,puVar5,param_1,uVar4);\n  (*(code *)PTR_exit_000adc48)(1);\n  return;\n}" (primitive_type "void") (function_declarator "cloexec(undefined4 param_1)" (identifier "cloexec") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  undefined *puVar5;\n  undefined4 uVar6;\n  \n  uVar1 = (*(code *)PTR_fcntl64_000adbb0)(param_1,1);\n  if ((int)uVar1 < 0) {\n    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();\n    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);\n    puVar5 = PTR_DAT_000ad2d0 + -0x6c34;\n  }\n  else {\n    iVar2 = (*(code *)PTR_fcntl64_000adbb0)(param_1,2,uVar1 | 1);\n    if (-1 < iVar2) {\n      return;\n    }\n    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();\n    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);\n    puVar5 = PTR_DAT_000ad2d0 + -0x6c1c;\n  }\n  (*(code *)PTR___fprintf_chk_000adb54)(uVar6,1,puVar5,param_1,uVar4);\n  (*(code *)PTR_exit_000adc48)(1);\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "undefined *puVar5;" (type_identifier "undefined") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (expression_statement "uVar1 = (*(code *)PTR_fcntl64_000adbb0)(param_1,1);" (assignment_expression "uVar1 = (*(code *)PTR_fcntl64_000adbb0)(param_1,1)" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR_fcntl64_000adbb0)(param_1,1)" (parenthesized_expression "(*(code *)PTR_fcntl64_000adbb0)" (( "(") (pointer_expression "*(code *)PTR_fcntl64_000adbb0" (* "*") (cast_expression "(code *)PTR_fcntl64_000adbb0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fcntl64_000adbb0"))) () ")")) (argument_list "(param_1,1)" (( "(") (identifier "param_1") (, ",") (number_literal "1") () ")")))) (; ";")) (if_statement "if ((int)uVar1 < 0) {\n    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();\n    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);\n    puVar5 = PTR_DAT_000ad2d0 + -0x6c34;\n  }\n  else {\n    iVar2 = (*(code *)PTR_fcntl64_000adbb0)(param_1,2,uVar1 | 1);\n    if (-1 < iVar2) {\n      return;\n    }\n    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();\n    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);\n    puVar5 = PTR_DAT_000ad2d0 + -0x6c1c;\n  }" (if "if") (parenthesized_expression "((int)uVar1 < 0)" (( "(") (binary_expression "(int)uVar1 < 0" (cast_expression "(int)uVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar1")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();\n    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);\n    puVar5 = PTR_DAT_000ad2d0 + -0x6c34;\n  }" ({ "{") (expression_statement "uVar6 = *(undefined4 *)PTR_stderr_000adcf0;" (assignment_expression "uVar6 = *(undefined4 *)PTR_stderr_000adcf0" (identifier "uVar6") (= "=") (pointer_expression "*(undefined4 *)PTR_stderr_000adcf0" (* "*") (cast_expression "(undefined4 *)PTR_stderr_000adcf0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stderr_000adcf0")))) (; ";")) (expression_statement "puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();" (assignment_expression "puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)()" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_000adbe4)()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___errno_location_000adbe4)()" (parenthesized_expression "(*(code *)PTR___errno_location_000adbe4)" (( "(") (pointer_expression "*(code *)PTR___errno_location_000adbe4" (* "*") (cast_expression "(code *)PTR___errno_location_000adbe4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___errno_location_000adbe4"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);" (assignment_expression "uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3)" (identifier "uVar4") (= "=") (call_expression "(*(code *)PTR_strerror_000adc54)(*puVar3)" (parenthesized_expression "(*(code *)PTR_strerror_000adc54)" (( "(") (pointer_expression "*(code *)PTR_strerror_000adc54" (* "*") (cast_expression "(code *)PTR_strerror_000adc54" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strerror_000adc54"))) () ")")) (argument_list "(*puVar3)" (( "(") (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) () ")")))) (; ";")) (expression_statement "puVar5 = PTR_DAT_000ad2d0 + -0x6c34;" (assignment_expression "puVar5 = PTR_DAT_000ad2d0 + -0x6c34" (identifier "puVar5") (= "=") (binary_expression "PTR_DAT_000ad2d0 + -0x6c34" (identifier "PTR_DAT_000ad2d0") (+ "+") (number_literal "-0x6c34"))) (; ";")) (} "}")) (else_clause "else {\n    iVar2 = (*(code *)PTR_fcntl64_000adbb0)(param_1,2,uVar1 | 1);\n    if (-1 < iVar2) {\n      return;\n    }\n    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();\n    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);\n    puVar5 = PTR_DAT_000ad2d0 + -0x6c1c;\n  }" (else "else") (compound_statement "{\n    iVar2 = (*(code *)PTR_fcntl64_000adbb0)(param_1,2,uVar1 | 1);\n    if (-1 < iVar2) {\n      return;\n    }\n    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;\n    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();\n    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);\n    puVar5 = PTR_DAT_000ad2d0 + -0x6c1c;\n  }" ({ "{") (expression_statement "iVar2 = (*(code *)PTR_fcntl64_000adbb0)(param_1,2,uVar1 | 1);" (assignment_expression "iVar2 = (*(code *)PTR_fcntl64_000adbb0)(param_1,2,uVar1 | 1)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_fcntl64_000adbb0)(param_1,2,uVar1 | 1)" (parenthesized_expression "(*(code *)PTR_fcntl64_000adbb0)" (( "(") (pointer_expression "*(code *)PTR_fcntl64_000adbb0" (* "*") (cast_expression "(code *)PTR_fcntl64_000adbb0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fcntl64_000adbb0"))) () ")")) (argument_list "(param_1,2,uVar1 | 1)" (( "(") (identifier "param_1") (, ",") (number_literal "2") (, ",") (binary_expression "uVar1 | 1" (identifier "uVar1") (| "|") (number_literal "1")) () ")")))) (; ";")) (if_statement "if (-1 < iVar2) {\n      return;\n    }" (if "if") (parenthesized_expression "(-1 < iVar2)" (( "(") (binary_expression "-1 < iVar2" (number_literal "-1") (< "<") (identifier "iVar2")) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar6 = *(undefined4 *)PTR_stderr_000adcf0;" (assignment_expression "uVar6 = *(undefined4 *)PTR_stderr_000adcf0" (identifier "uVar6") (= "=") (pointer_expression "*(undefined4 *)PTR_stderr_000adcf0" (* "*") (cast_expression "(undefined4 *)PTR_stderr_000adcf0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stderr_000adcf0")))) (; ";")) (expression_statement "puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();" (assignment_expression "puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)()" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_000adbe4)()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___errno_location_000adbe4)()" (parenthesized_expression "(*(code *)PTR___errno_location_000adbe4)" (( "(") (pointer_expression "*(code *)PTR___errno_location_000adbe4" (* "*") (cast_expression "(code *)PTR___errno_location_000adbe4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___errno_location_000adbe4"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);" (assignment_expression "uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3)" (identifier "uVar4") (= "=") (call_expression "(*(code *)PTR_strerror_000adc54)(*puVar3)" (parenthesized_expression "(*(code *)PTR_strerror_000adc54)" (( "(") (pointer_expression "*(code *)PTR_strerror_000adc54" (* "*") (cast_expression "(code *)PTR_strerror_000adc54" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strerror_000adc54"))) () ")")) (argument_list "(*puVar3)" (( "(") (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) () ")")))) (; ";")) (expression_statement "puVar5 = PTR_DAT_000ad2d0 + -0x6c1c;" (assignment_expression "puVar5 = PTR_DAT_000ad2d0 + -0x6c1c" (identifier "puVar5") (= "=") (binary_expression "PTR_DAT_000ad2d0 + -0x6c1c" (identifier "PTR_DAT_000ad2d0") (+ "+") (number_literal "-0x6c1c"))) (; ";")) (} "}")))) (expression_statement "(*(code *)PTR___fprintf_chk_000adb54)(uVar6,1,puVar5,param_1,uVar4);" (call_expression "(*(code *)PTR___fprintf_chk_000adb54)(uVar6,1,puVar5,param_1,uVar4)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000adb54)" (( "(") (pointer_expression "*(code *)PTR___fprintf_chk_000adb54" (* "*") (cast_expression "(code *)PTR___fprintf_chk_000adb54" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___fprintf_chk_000adb54"))) () ")")) (argument_list "(uVar6,1,puVar5,param_1,uVar4)" (( "(") (identifier "uVar6") (, ",") (number_literal "1") (, ",") (identifier "puVar5") (, ",") (identifier "param_1") (, ",") (identifier "uVar4") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_exit_000adc48)(1);" (call_expression "(*(code *)PTR_exit_000adc48)(1)" (parenthesized_expression "(*(code *)PTR_exit_000adc48)" (( "(") (pointer_expression "*(code *)PTR_exit_000adc48" (* "*") (cast_expression "(code *)PTR_exit_000adc48" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_exit_000adc48"))) () ")")) (argument_list "(1)" (( "(") (number_literal "1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (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 (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal) (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal) (identifier) (identifier) (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal)))) (return_statement))))

void MASKED(undefined4 param_1)

{
  uint uVar1;
  int iVar2;
  undefined4 *puVar3;
  undefined4 uVar4;
  undefined *puVar5;
  undefined4 uVar6;
  
  uVar1 = (*(code *)PTR_fcntl64_000adbb0)(param_1,1);
  if ((int)uVar1 < 0) {
    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;
    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();
    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);
    puVar5 = PTR_DAT_000ad2d0 + -0x6c34;
  }
  else {
    iVar2 = (*(code *)PTR_fcntl64_000adbb0)(param_1,2,uVar1 | 1);
    if (-1 < iVar2) {
      return;
    }
    uVar6 = *(undefined4 *)PTR_stderr_000adcf0;
    puVar3 = (undefined4 *)(*(code *)PTR___errno_location_000adbe4)();
    uVar4 = (*(code *)PTR_strerror_000adc54)(*puVar3);
    puVar5 = PTR_DAT_000ad2d0 + -0x6c1c;
  }
  (*(code *)PTR___fprintf_chk_000adb54)(uVar6,1,puVar5,param_1,uVar4);
  (*(code *)PTR_exit_000adc48)(1);
  return;
}

