
char * make_tempname(char *filename)

{
  char *pcVar1;
  int iVar2;
  char *pcVar3;
  
  pcVar1 = template_in_dir(filename);
  iVar2 = (*(code *)PTR_mkstemp64_0004dbdc)(pcVar1);
  if (iVar2 == -1) {
    pcVar3 = (char *)0x0;
    (*(code *)PTR_free_0004dc84)(pcVar1);
  }
  else {
    (*(code *)PTR_close_0004da50)(iVar2);
    pcVar3 = pcVar1;
  }
  return pcVar3;
}



undefined4 make_tempname(void)

{
  undefined4 uVar1;
  int iVar2;
  undefined4 uVar3;
  
  uVar1 = FUN_000317e0();
  iVar2 = (*(code *)PTR_mkstemp64_0004dbdc)(uVar1);
  if (iVar2 == -1) {
    uVar3 = 0;
    (*(code *)PTR_free_0004dc84)(uVar1);
  }
  else {
    (*(code *)PTR_close_0004da50)(iVar2);
    uVar3 = uVar1;
  }
  return uVar3;
}


lui gp,0x2
addiu gp,gp,0x3110
addu gp,gp,t9
lw t9,-0x7fc8(gp)
addiu sp,sp,-0x20
addiu t9,t9,0x17e0
sw gp,0x10(sp)
sw ra,0x1c(sp)
bal 0x000317e0
_sw s0,0x18(sp)
lw gp,0x10(sp)
or a0,v0,zero
lw t9,-0x7ca4(gp)
jalr t9
_or s0,v0,zero
li v1,-0x1
beq v0,v1,0x000327d8
_lw gp,0x10(sp)
lw t9,-0x7e30(gp)
jalr t9
_or a0,v0,zero
lw ra,0x1c(sp)
or v0,s0,zero
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
lw t9,-0x7bfc(gp)
or a0,s0,zero
jalr t9
_or s0,zero,zero
b 0x000327c8
_lw ra,0x1c(sp)
(translation_unit "undefined4 make_tempname(void)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  uVar1 = FUN_000317e0();\n  iVar2 = (*(code *)PTR_mkstemp64_0004dbdc)(uVar1);\n  if (iVar2 == -1) {\n    uVar3 = 0;\n    (*(code *)PTR_free_0004dc84)(uVar1);\n  }\n  else {\n    (*(code *)PTR_close_0004da50)(iVar2);\n    uVar3 = uVar1;\n  }\n  return uVar3;\n}\n\n" (function_definition "undefined4 make_tempname(void)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  uVar1 = FUN_000317e0();\n  iVar2 = (*(code *)PTR_mkstemp64_0004dbdc)(uVar1);\n  if (iVar2 == -1) {\n    uVar3 = 0;\n    (*(code *)PTR_free_0004dc84)(uVar1);\n  }\n  else {\n    (*(code *)PTR_close_0004da50)(iVar2);\n    uVar3 = uVar1;\n  }\n  return uVar3;\n}" type_identifier (function_declarator "make_tempname(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  uVar1 = FUN_000317e0();\n  iVar2 = (*(code *)PTR_mkstemp64_0004dbdc)(uVar1);\n  if (iVar2 == -1) {\n    uVar3 = 0;\n    (*(code *)PTR_free_0004dc84)(uVar1);\n  }\n  else {\n    (*(code *)PTR_close_0004da50)(iVar2);\n    uVar3 = uVar1;\n  }\n  return uVar3;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (expression_statement "uVar1 = FUN_000317e0();" (assignment_expression "uVar1 = FUN_000317e0()" identifier = (call_expression "FUN_000317e0()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar2 = (*(code *)PTR_mkstemp64_0004dbdc)(uVar1);" (assignment_expression "iVar2 = (*(code *)PTR_mkstemp64_0004dbdc)(uVar1)" identifier = (call_expression "(*(code *)PTR_mkstemp64_0004dbdc)(uVar1)" (parenthesized_expression "(*(code *)PTR_mkstemp64_0004dbdc)" ( (pointer_expression "*(code *)PTR_mkstemp64_0004dbdc" * (cast_expression "(code *)PTR_mkstemp64_0004dbdc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar1)" ( identifier )))) ;) (if_statement "if (iVar2 == -1) {\n    uVar3 = 0;\n    (*(code *)PTR_free_0004dc84)(uVar1);\n  }\n  else {\n    (*(code *)PTR_close_0004da50)(iVar2);\n    uVar3 = uVar1;\n  }" if (parenthesized_expression "(iVar2 == -1)" ( (binary_expression "iVar2 == -1" identifier == number_literal) )) (compound_statement "{\n    uVar3 = 0;\n    (*(code *)PTR_free_0004dc84)(uVar1);\n  }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_free_0004dc84)(uVar1);" (call_expression "(*(code *)PTR_free_0004dc84)(uVar1)" (parenthesized_expression "(*(code *)PTR_free_0004dc84)" ( (pointer_expression "*(code *)PTR_free_0004dc84" * (cast_expression "(code *)PTR_free_0004dc84" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar1)" ( identifier ))) ;) }) (else_clause "else {\n    (*(code *)PTR_close_0004da50)(iVar2);\n    uVar3 = uVar1;\n  }" else (compound_statement "{\n    (*(code *)PTR_close_0004da50)(iVar2);\n    uVar3 = uVar1;\n  }" { (expression_statement "(*(code *)PTR_close_0004da50)(iVar2);" (call_expression "(*(code *)PTR_close_0004da50)(iVar2)" (parenthesized_expression "(*(code *)PTR_close_0004da50)" ( (pointer_expression "*(code *)PTR_close_0004da50" * (cast_expression "(code *)PTR_close_0004da50" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2)" ( identifier ))) ;) (expression_statement "uVar3 = uVar1;" (assignment_expression "uVar3 = uVar1" identifier = identifier) ;) }))) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit "char * make_tempname(char *filename)\n\n{\n  char *pcVar1;\n  int iVar2;\n  char *pcVar3;\n  \n  pcVar1 = template_in_dir(filename);\n  iVar2 = (*(code *)PTR_mkstemp64_0004dbdc)(pcVar1);\n  if (iVar2 == -1) {\n    pcVar3 = (char *)0x0;\n    (*(code *)PTR_free_0004dc84)(pcVar1);\n  }\n  else {\n    (*(code *)PTR_close_0004da50)(iVar2);\n    pcVar3 = pcVar1;\n  }\n  return pcVar3;\n}\n\n" (function_definition "char * make_tempname(char *filename)\n\n{\n  char *pcVar1;\n  int iVar2;\n  char *pcVar3;\n  \n  pcVar1 = template_in_dir(filename);\n  iVar2 = (*(code *)PTR_mkstemp64_0004dbdc)(pcVar1);\n  if (iVar2 == -1) {\n    pcVar3 = (char *)0x0;\n    (*(code *)PTR_free_0004dc84)(pcVar1);\n  }\n  else {\n    (*(code *)PTR_close_0004da50)(iVar2);\n    pcVar3 = pcVar1;\n  }\n  return pcVar3;\n}" primitive_type (pointer_declarator "* make_tempname(char *filename)" * (function_declarator "make_tempname(char *filename)" identifier (parameter_list "(char *filename)" ( (parameter_declaration "char *filename" primitive_type (pointer_declarator "*filename" * identifier)) )))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  char *pcVar3;\n  \n  pcVar1 = template_in_dir(filename);\n  iVar2 = (*(code *)PTR_mkstemp64_0004dbdc)(pcVar1);\n  if (iVar2 == -1) {\n    pcVar3 = (char *)0x0;\n    (*(code *)PTR_free_0004dc84)(pcVar1);\n  }\n  else {\n    (*(code *)PTR_close_0004da50)(iVar2);\n    pcVar3 = pcVar1;\n  }\n  return pcVar3;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (expression_statement "pcVar1 = template_in_dir(filename);" (assignment_expression "pcVar1 = template_in_dir(filename)" identifier = (call_expression "template_in_dir(filename)" identifier (argument_list "(filename)" ( identifier )))) ;) (expression_statement "iVar2 = (*(code *)PTR_mkstemp64_0004dbdc)(pcVar1);" (assignment_expression "iVar2 = (*(code *)PTR_mkstemp64_0004dbdc)(pcVar1)" identifier = (call_expression "(*(code *)PTR_mkstemp64_0004dbdc)(pcVar1)" (parenthesized_expression "(*(code *)PTR_mkstemp64_0004dbdc)" ( (pointer_expression "*(code *)PTR_mkstemp64_0004dbdc" * (cast_expression "(code *)PTR_mkstemp64_0004dbdc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar1)" ( identifier )))) ;) (if_statement "if (iVar2 == -1) {\n    pcVar3 = (char *)0x0;\n    (*(code *)PTR_free_0004dc84)(pcVar1);\n  }\n  else {\n    (*(code *)PTR_close_0004da50)(iVar2);\n    pcVar3 = pcVar1;\n  }" if (parenthesized_expression "(iVar2 == -1)" ( (binary_expression "iVar2 == -1" identifier == number_literal) )) (compound_statement "{\n    pcVar3 = (char *)0x0;\n    (*(code *)PTR_free_0004dc84)(pcVar1);\n  }" { (expression_statement "pcVar3 = (char *)0x0;" (assignment_expression "pcVar3 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(*(code *)PTR_free_0004dc84)(pcVar1);" (call_expression "(*(code *)PTR_free_0004dc84)(pcVar1)" (parenthesized_expression "(*(code *)PTR_free_0004dc84)" ( (pointer_expression "*(code *)PTR_free_0004dc84" * (cast_expression "(code *)PTR_free_0004dc84" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar1)" ( identifier ))) ;) }) (else_clause "else {\n    (*(code *)PTR_close_0004da50)(iVar2);\n    pcVar3 = pcVar1;\n  }" else (compound_statement "{\n    (*(code *)PTR_close_0004da50)(iVar2);\n    pcVar3 = pcVar1;\n  }" { (expression_statement "(*(code *)PTR_close_0004da50)(iVar2);" (call_expression "(*(code *)PTR_close_0004da50)(iVar2)" (parenthesized_expression "(*(code *)PTR_close_0004da50)" ( (pointer_expression "*(code *)PTR_close_0004da50" * (cast_expression "(code *)PTR_close_0004da50" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2)" ( identifier ))) ;) (expression_statement "pcVar3 = pcVar1;" (assignment_expression "pcVar3 = pcVar1" identifier = identifier) ;) }))) (return_statement "return pcVar3;" return identifier ;) })))
(translation_unit "undefined4 make_tempname(void)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  uVar1 = FUN_000317e0();\n  iVar2 = (*(code *)PTR_mkstemp64_0004dbdc)(uVar1);\n  if (iVar2 == -1) {\n    uVar3 = 0;\n    (*(code *)PTR_free_0004dc84)(uVar1);\n  }\n  else {\n    (*(code *)PTR_close_0004da50)(iVar2);\n    uVar3 = uVar1;\n  }\n  return uVar3;\n}\n\n" (function_definition "undefined4 make_tempname(void)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  uVar1 = FUN_000317e0();\n  iVar2 = (*(code *)PTR_mkstemp64_0004dbdc)(uVar1);\n  if (iVar2 == -1) {\n    uVar3 = 0;\n    (*(code *)PTR_free_0004dc84)(uVar1);\n  }\n  else {\n    (*(code *)PTR_close_0004da50)(iVar2);\n    uVar3 = uVar1;\n  }\n  return uVar3;\n}" type_identifier (function_declarator "make_tempname(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  uVar1 = FUN_000317e0();\n  iVar2 = (*(code *)PTR_mkstemp64_0004dbdc)(uVar1);\n  if (iVar2 == -1) {\n    uVar3 = 0;\n    (*(code *)PTR_free_0004dc84)(uVar1);\n  }\n  else {\n    (*(code *)PTR_close_0004da50)(iVar2);\n    uVar3 = uVar1;\n  }\n  return uVar3;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (expression_statement "uVar1 = FUN_000317e0();" (assignment_expression "uVar1 = FUN_000317e0()" identifier = (call_expression "FUN_000317e0()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar2 = (*(code *)PTR_mkstemp64_0004dbdc)(uVar1);" (assignment_expression "iVar2 = (*(code *)PTR_mkstemp64_0004dbdc)(uVar1)" identifier = (call_expression "(*(code *)PTR_mkstemp64_0004dbdc)(uVar1)" (parenthesized_expression "(*(code *)PTR_mkstemp64_0004dbdc)" ( (pointer_expression "*(code *)PTR_mkstemp64_0004dbdc" * (cast_expression "(code *)PTR_mkstemp64_0004dbdc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar1)" ( identifier )))) ;) (if_statement "if (iVar2 == -1) {\n    uVar3 = 0;\n    (*(code *)PTR_free_0004dc84)(uVar1);\n  }\n  else {\n    (*(code *)PTR_close_0004da50)(iVar2);\n    uVar3 = uVar1;\n  }" if (parenthesized_expression "(iVar2 == -1)" ( (binary_expression "iVar2 == -1" identifier == number_literal) )) (compound_statement "{\n    uVar3 = 0;\n    (*(code *)PTR_free_0004dc84)(uVar1);\n  }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_free_0004dc84)(uVar1);" (call_expression "(*(code *)PTR_free_0004dc84)(uVar1)" (parenthesized_expression "(*(code *)PTR_free_0004dc84)" ( (pointer_expression "*(code *)PTR_free_0004dc84" * (cast_expression "(code *)PTR_free_0004dc84" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar1)" ( identifier ))) ;) }) (else_clause "else {\n    (*(code *)PTR_close_0004da50)(iVar2);\n    uVar3 = uVar1;\n  }" else (compound_statement "{\n    (*(code *)PTR_close_0004da50)(iVar2);\n    uVar3 = uVar1;\n  }" { (expression_statement "(*(code *)PTR_close_0004da50)(iVar2);" (call_expression "(*(code *)PTR_close_0004da50)(iVar2)" (parenthesized_expression "(*(code *)PTR_close_0004da50)" ( (pointer_expression "*(code *)PTR_close_0004da50" * (cast_expression "(code *)PTR_close_0004da50" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2)" ( identifier ))) ;) (expression_statement "uVar3 = uVar1;" (assignment_expression "uVar3 = uVar1" identifier = identifier) ;) }))) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression 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 ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (return_statement return IDENT ;) })))
(function_definition "undefined4 make_tempname(void)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  uVar1 = FUN_000317e0();\n  iVar2 = (*(code *)PTR_mkstemp64_0004dbdc)(uVar1);\n  if (iVar2 == -1) {\n    uVar3 = 0;\n    (*(code *)PTR_free_0004dc84)(uVar1);\n  }\n  else {\n    (*(code *)PTR_close_0004da50)(iVar2);\n    uVar3 = uVar1;\n  }\n  return uVar3;\n}" (type_identifier "undefined4") (function_declarator "make_tempname(void)" (identifier "make_tempname") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  uVar1 = FUN_000317e0();\n  iVar2 = (*(code *)PTR_mkstemp64_0004dbdc)(uVar1);\n  if (iVar2 == -1) {\n    uVar3 = 0;\n    (*(code *)PTR_free_0004dc84)(uVar1);\n  }\n  else {\n    (*(code *)PTR_close_0004da50)(iVar2);\n    uVar3 = uVar1;\n  }\n  return uVar3;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (expression_statement "uVar1 = FUN_000317e0();" (assignment_expression "uVar1 = FUN_000317e0()" (identifier "uVar1") (= "=") (call_expression "FUN_000317e0()" (identifier "FUN_000317e0") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar2 = (*(code *)PTR_mkstemp64_0004dbdc)(uVar1);" (assignment_expression "iVar2 = (*(code *)PTR_mkstemp64_0004dbdc)(uVar1)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_mkstemp64_0004dbdc)(uVar1)" (parenthesized_expression "(*(code *)PTR_mkstemp64_0004dbdc)" (( "(") (pointer_expression "*(code *)PTR_mkstemp64_0004dbdc" (* "*") (cast_expression "(code *)PTR_mkstemp64_0004dbdc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_mkstemp64_0004dbdc"))) () ")")) (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")")))) (; ";")) (if_statement "if (iVar2 == -1) {\n    uVar3 = 0;\n    (*(code *)PTR_free_0004dc84)(uVar1);\n  }\n  else {\n    (*(code *)PTR_close_0004da50)(iVar2);\n    uVar3 = uVar1;\n  }" (if "if") (parenthesized_expression "(iVar2 == -1)" (( "(") (binary_expression "iVar2 == -1" (identifier "iVar2") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n    uVar3 = 0;\n    (*(code *)PTR_free_0004dc84)(uVar1);\n  }" ({ "{") (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (expression_statement "(*(code *)PTR_free_0004dc84)(uVar1);" (call_expression "(*(code *)PTR_free_0004dc84)(uVar1)" (parenthesized_expression "(*(code *)PTR_free_0004dc84)" (( "(") (pointer_expression "*(code *)PTR_free_0004dc84" (* "*") (cast_expression "(code *)PTR_free_0004dc84" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_0004dc84"))) () ")")) (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")"))) (; ";")) (} "}")) (else_clause "else {\n    (*(code *)PTR_close_0004da50)(iVar2);\n    uVar3 = uVar1;\n  }" (else "else") (compound_statement "{\n    (*(code *)PTR_close_0004da50)(iVar2);\n    uVar3 = uVar1;\n  }" ({ "{") (expression_statement "(*(code *)PTR_close_0004da50)(iVar2);" (call_expression "(*(code *)PTR_close_0004da50)(iVar2)" (parenthesized_expression "(*(code *)PTR_close_0004da50)" (( "(") (pointer_expression "*(code *)PTR_close_0004da50" (* "*") (cast_expression "(code *)PTR_close_0004da50" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_close_0004da50"))) () ")")) (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")"))) (; ";")) (expression_statement "uVar3 = uVar1;" (assignment_expression "uVar3 = uVar1" (identifier "uVar3") (= "=") (identifier "uVar1")) (; ";")) (} "}")))) (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (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 (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_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))))) alternative: (else_clause (compound_statement (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)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))))) (return_statement (identifier)))))

undefined4 MASKED(void)

{
  undefined4 uVar1;
  int iVar2;
  undefined4 uVar3;
  
  uVar1 = FUN_000317e0();
  iVar2 = (*(code *)PTR_mkstemp64_0004dbdc)(uVar1);
  if (iVar2 == -1) {
    uVar3 = 0;
    (*(code *)PTR_free_0004dc84)(uVar1);
  }
  else {
    (*(code *)PTR_close_0004da50)(iVar2);
    uVar3 = uVar1;
  }
  return uVar3;
}

