
void xfclose(FILE *ptr)

{
  int iVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  
  if (ptr == (FILE *)0x0) {
    return;
  }
  if ((ptr->_flags & 0x20U) == 0) {
    iVar1 = (*(code *)PTR_fclose_0008de7c)(ptr);
  }
  else {
    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e08,5);
    (*(code *)PTR_error_0008df28)(1,0,uVar2);
    iVar1 = (*(code *)PTR_fclose_0008de7c)(ptr);
  }
  if (iVar1 == 0) {
    return;
  }
  uVar2 = (*(code *)PTR_get_errno_0008d87c)();
  uVar3 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e1c,5);
                    /* WARNING: Could not recover jumptable at 0x0001ffa4. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(code *)PTR_error_0008df28)(1,uVar2,uVar3);
  return;
}



void xfclose(uint *param_1)

{
  int iVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  
  if (param_1 == (uint *)0x0) {
    return;
  }
  if ((*param_1 & 0x20) == 0) {
    iVar1 = (*(code *)PTR_fclose_0008de7c)(param_1);
  }
  else {
    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e08,5);
    (*(code *)PTR_error_0008df28)(1,0,uVar2);
    iVar1 = (*(code *)PTR_fclose_0008de7c)(param_1);
  }
  if (iVar1 == 0) {
    return;
  }
  uVar2 = (*(code *)PTR_get_errno_0008d87c)();
  uVar3 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e1c,5);
                    /* WARNING: Could not recover jumptable at 0x0001ffa4. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(code *)PTR_error_0008df28)(1,uVar2,uVar3);
  return;
}


lui gp,0x7
addiu gp,gp,0x5734
addu gp,gp,t9
beq a0,zero,0x0001ffac
_nop
addiu sp,sp,-0x20
lw v0,0x0(a0)
andi v0,v0,0x20
sw gp,0x10(sp)
sw s0,0x18(sp)
or s0,a0,zero
bne v0,zero,0x0001ff14
_sw ra,0x1c(sp)
lw t9,-0x7774(gp)
jalr t9
_or a0,s0,zero
bne v0,zero,0x0001ff5c
_lw gp,0x10(sp)
lw ra,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
lw a1,-0x7fc8(gp)
li a2,0x5
lw t9,-0x7680(gp)
or a0,zero,zero
jalr t9
_addiu a1,a1,0x1e08
or a1,zero,zero
lw gp,0x10(sp)
li a0,0x1
lw t9,-0x76c8(gp)
jalr t9
_or a2,v0,zero
lw gp,0x10(sp)
lw t9,-0x7774(gp)
jalr t9
_or a0,s0,zero
beq v0,zero,0x0001ff04
_lw gp,0x10(sp)
lw t9,-0x7d74(gp)
jalr t9
_nop
li a2,0x5
lw gp,0x10(sp)
or a0,zero,zero
or s0,v0,zero
lw a1,-0x7fc8(gp)
lw t9,-0x7680(gp)
jalr t9
_addiu a1,a1,0x1e1c
or a1,s0,zero
lw gp,0x10(sp)
li a0,0x1
lw ra,0x1c(sp)
or a2,v0,zero
lw s0,0x18(sp)
lw t9,-0x76c8(gp)
jr t9
_addiu sp,sp,0x20
jr ra
_nop
(translation_unit "void xfclose(uint *param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  if (param_1 == (uint *)0x0) {\n    return;\n  }\n  if ((*param_1 & 0x20) == 0) {\n    iVar1 = (*(code *)PTR_fclose_0008de7c)(param_1);\n  }\n  else {\n    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e08,5);\n    (*(code *)PTR_error_0008df28)(1,0,uVar2);\n    iVar1 = (*(code *)PTR_fclose_0008de7c)(param_1);\n  }\n  if (iVar1 == 0) {\n    return;\n  }\n  uVar2 = (*(code *)PTR_get_errno_0008d87c)();\n  uVar3 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e1c,5);\n                    /* WARNING: Could not recover jumptable at 0x0001ffa4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_error_0008df28)(1,uVar2,uVar3);\n  return;\n}\n\n" (function_definition "void xfclose(uint *param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  if (param_1 == (uint *)0x0) {\n    return;\n  }\n  if ((*param_1 & 0x20) == 0) {\n    iVar1 = (*(code *)PTR_fclose_0008de7c)(param_1);\n  }\n  else {\n    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e08,5);\n    (*(code *)PTR_error_0008df28)(1,0,uVar2);\n    iVar1 = (*(code *)PTR_fclose_0008de7c)(param_1);\n  }\n  if (iVar1 == 0) {\n    return;\n  }\n  uVar2 = (*(code *)PTR_get_errno_0008d87c)();\n  uVar3 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e1c,5);\n                    /* WARNING: Could not recover jumptable at 0x0001ffa4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_error_0008df28)(1,uVar2,uVar3);\n  return;\n}" primitive_type (function_declarator "xfclose(uint *param_1)" identifier (parameter_list "(uint *param_1)" ( (parameter_declaration "uint *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  if (param_1 == (uint *)0x0) {\n    return;\n  }\n  if ((*param_1 & 0x20) == 0) {\n    iVar1 = (*(code *)PTR_fclose_0008de7c)(param_1);\n  }\n  else {\n    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e08,5);\n    (*(code *)PTR_error_0008df28)(1,0,uVar2);\n    iVar1 = (*(code *)PTR_fclose_0008de7c)(param_1);\n  }\n  if (iVar1 == 0) {\n    return;\n  }\n  uVar2 = (*(code *)PTR_get_errno_0008d87c)();\n  uVar3 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e1c,5);\n                    /* WARNING: Could not recover jumptable at 0x0001ffa4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_error_0008df28)(1,uVar2,uVar3);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (if_statement "if (param_1 == (uint *)0x0) {\n    return;\n  }" if (parenthesized_expression "(param_1 == (uint *)0x0)" ( (binary_expression "param_1 == (uint *)0x0" identifier == (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (if_statement "if ((*param_1 & 0x20) == 0) {\n    iVar1 = (*(code *)PTR_fclose_0008de7c)(param_1);\n  }\n  else {\n    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e08,5);\n    (*(code *)PTR_error_0008df28)(1,0,uVar2);\n    iVar1 = (*(code *)PTR_fclose_0008de7c)(param_1);\n  }" if (parenthesized_expression "((*param_1 & 0x20) == 0)" ( (binary_expression "(*param_1 & 0x20) == 0" (parenthesized_expression "(*param_1 & 0x20)" ( (binary_expression "*param_1 & 0x20" (pointer_expression "*param_1" * identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n    iVar1 = (*(code *)PTR_fclose_0008de7c)(param_1);\n  }" { (expression_statement "iVar1 = (*(code *)PTR_fclose_0008de7c)(param_1);" (assignment_expression "iVar1 = (*(code *)PTR_fclose_0008de7c)(param_1)" identifier = (call_expression "(*(code *)PTR_fclose_0008de7c)(param_1)" (parenthesized_expression "(*(code *)PTR_fclose_0008de7c)" ( (pointer_expression "*(code *)PTR_fclose_0008de7c" * (cast_expression "(code *)PTR_fclose_0008de7c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) }) (else_clause "else {\n    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e08,5);\n    (*(code *)PTR_error_0008df28)(1,0,uVar2);\n    iVar1 = (*(code *)PTR_fclose_0008de7c)(param_1);\n  }" else (compound_statement "{\n    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e08,5);\n    (*(code *)PTR_error_0008df28)(1,0,uVar2);\n    iVar1 = (*(code *)PTR_fclose_0008de7c)(param_1);\n  }" { (expression_statement "uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e08,5);" (assignment_expression "uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e08,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e08,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0008df70)" ( (pointer_expression "*(code *)PTR_dcgettext_0008df70" * (cast_expression "(code *)PTR_dcgettext_0008df70" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_LAB_0008d628 + 0x1e08,5)" ( number_literal , (binary_expression "PTR_LAB_0008d628 + 0x1e08" identifier + number_literal) , number_literal )))) ;) (expression_statement "(*(code *)PTR_error_0008df28)(1,0,uVar2);" (call_expression "(*(code *)PTR_error_0008df28)(1,0,uVar2)" (parenthesized_expression "(*(code *)PTR_error_0008df28)" ( (pointer_expression "*(code *)PTR_error_0008df28" * (cast_expression "(code *)PTR_error_0008df28" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,0,uVar2)" ( number_literal , number_literal , identifier ))) ;) (expression_statement "iVar1 = (*(code *)PTR_fclose_0008de7c)(param_1);" (assignment_expression "iVar1 = (*(code *)PTR_fclose_0008de7c)(param_1)" identifier = (call_expression "(*(code *)PTR_fclose_0008de7c)(param_1)" (parenthesized_expression "(*(code *)PTR_fclose_0008de7c)" ( (pointer_expression "*(code *)PTR_fclose_0008de7c" * (cast_expression "(code *)PTR_fclose_0008de7c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) }))) (if_statement "if (iVar1 == 0) {\n    return;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "uVar2 = (*(code *)PTR_get_errno_0008d87c)();" (assignment_expression "uVar2 = (*(code *)PTR_get_errno_0008d87c)()" identifier = (call_expression "(*(code *)PTR_get_errno_0008d87c)()" (parenthesized_expression "(*(code *)PTR_get_errno_0008d87c)" ( (pointer_expression "*(code *)PTR_get_errno_0008d87c" * (cast_expression "(code *)PTR_get_errno_0008d87c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "uVar3 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e1c,5);" (assignment_expression "uVar3 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e1c,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e1c,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0008df70)" ( (pointer_expression "*(code *)PTR_dcgettext_0008df70" * (cast_expression "(code *)PTR_dcgettext_0008df70" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_LAB_0008d628 + 0x1e1c,5)" ( number_literal , (binary_expression "PTR_LAB_0008d628 + 0x1e1c" identifier + number_literal) , number_literal )))) ;) comment comment (expression_statement "(*(code *)PTR_error_0008df28)(1,uVar2,uVar3);" (call_expression "(*(code *)PTR_error_0008df28)(1,uVar2,uVar3)" (parenthesized_expression "(*(code *)PTR_error_0008df28)" ( (pointer_expression "*(code *)PTR_error_0008df28" * (cast_expression "(code *)PTR_error_0008df28" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,uVar2,uVar3)" ( number_literal , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void xfclose(FILE *ptr)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  if (ptr == (FILE *)0x0) {\n    return;\n  }\n  if ((ptr->_flags & 0x20U) == 0) {\n    iVar1 = (*(code *)PTR_fclose_0008de7c)(ptr);\n  }\n  else {\n    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e08,5);\n    (*(code *)PTR_error_0008df28)(1,0,uVar2);\n    iVar1 = (*(code *)PTR_fclose_0008de7c)(ptr);\n  }\n  if (iVar1 == 0) {\n    return;\n  }\n  uVar2 = (*(code *)PTR_get_errno_0008d87c)();\n  uVar3 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e1c,5);\n                    /* WARNING: Could not recover jumptable at 0x0001ffa4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_error_0008df28)(1,uVar2,uVar3);\n  return;\n}\n\n" (function_definition "void xfclose(FILE *ptr)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  if (ptr == (FILE *)0x0) {\n    return;\n  }\n  if ((ptr->_flags & 0x20U) == 0) {\n    iVar1 = (*(code *)PTR_fclose_0008de7c)(ptr);\n  }\n  else {\n    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e08,5);\n    (*(code *)PTR_error_0008df28)(1,0,uVar2);\n    iVar1 = (*(code *)PTR_fclose_0008de7c)(ptr);\n  }\n  if (iVar1 == 0) {\n    return;\n  }\n  uVar2 = (*(code *)PTR_get_errno_0008d87c)();\n  uVar3 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e1c,5);\n                    /* WARNING: Could not recover jumptable at 0x0001ffa4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_error_0008df28)(1,uVar2,uVar3);\n  return;\n}" primitive_type (function_declarator "xfclose(FILE *ptr)" identifier (parameter_list "(FILE *ptr)" ( (parameter_declaration "FILE *ptr" type_identifier (pointer_declarator "*ptr" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  if (ptr == (FILE *)0x0) {\n    return;\n  }\n  if ((ptr->_flags & 0x20U) == 0) {\n    iVar1 = (*(code *)PTR_fclose_0008de7c)(ptr);\n  }\n  else {\n    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e08,5);\n    (*(code *)PTR_error_0008df28)(1,0,uVar2);\n    iVar1 = (*(code *)PTR_fclose_0008de7c)(ptr);\n  }\n  if (iVar1 == 0) {\n    return;\n  }\n  uVar2 = (*(code *)PTR_get_errno_0008d87c)();\n  uVar3 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e1c,5);\n                    /* WARNING: Could not recover jumptable at 0x0001ffa4. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_error_0008df28)(1,uVar2,uVar3);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (if_statement "if (ptr == (FILE *)0x0) {\n    return;\n  }" if (parenthesized_expression "(ptr == (FILE *)0x0)" ( (binary_expression "ptr == (FILE *)0x0" identifier == (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (if_statement "if ((ptr->_flags & 0x20U) == 0) {\n    iVar1 = (*(code *)PTR_fclose_0008de7c)(ptr);\n  }\n  else {\n    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e08,5);\n    (*(code *)PTR_error_0008df28)(1,0,uVar2);\n    iVar1 = (*(code *)PTR_fclose_0008de7c)(ptr);\n  }" if (parenthesized_expression "((ptr->_flags & 0x20U) == 0)" ( (binary_expression "(ptr->_flags & 0x20U) == 0" (parenthesized_expression "(ptr->_flags & 0x20U)" ( (binary_expression "ptr->_flags & 0x20U" (field_expression "ptr->_flags" identifier -> field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n    iVar1 = (*(code *)PTR_fclose_0008de7c)(ptr);\n  }" { (expression_statement "iVar1 = (*(code *)PTR_fclose_0008de7c)(ptr);" (assignment_expression "iVar1 = (*(code *)PTR_fclose_0008de7c)(ptr)" identifier = (call_expression "(*(code *)PTR_fclose_0008de7c)(ptr)" (parenthesized_expression "(*(code *)PTR_fclose_0008de7c)" ( (pointer_expression "*(code *)PTR_fclose_0008de7c" * (cast_expression "(code *)PTR_fclose_0008de7c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(ptr)" ( identifier )))) ;) }) (else_clause "else {\n    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e08,5);\n    (*(code *)PTR_error_0008df28)(1,0,uVar2);\n    iVar1 = (*(code *)PTR_fclose_0008de7c)(ptr);\n  }" else (compound_statement "{\n    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e08,5);\n    (*(code *)PTR_error_0008df28)(1,0,uVar2);\n    iVar1 = (*(code *)PTR_fclose_0008de7c)(ptr);\n  }" { (expression_statement "uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e08,5);" (assignment_expression "uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e08,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e08,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0008df70)" ( (pointer_expression "*(code *)PTR_dcgettext_0008df70" * (cast_expression "(code *)PTR_dcgettext_0008df70" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_LAB_0008d628 + 0x1e08,5)" ( number_literal , (binary_expression "PTR_LAB_0008d628 + 0x1e08" identifier + number_literal) , number_literal )))) ;) (expression_statement "(*(code *)PTR_error_0008df28)(1,0,uVar2);" (call_expression "(*(code *)PTR_error_0008df28)(1,0,uVar2)" (parenthesized_expression "(*(code *)PTR_error_0008df28)" ( (pointer_expression "*(code *)PTR_error_0008df28" * (cast_expression "(code *)PTR_error_0008df28" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,0,uVar2)" ( number_literal , number_literal , identifier ))) ;) (expression_statement "iVar1 = (*(code *)PTR_fclose_0008de7c)(ptr);" (assignment_expression "iVar1 = (*(code *)PTR_fclose_0008de7c)(ptr)" identifier = (call_expression "(*(code *)PTR_fclose_0008de7c)(ptr)" (parenthesized_expression "(*(code *)PTR_fclose_0008de7c)" ( (pointer_expression "*(code *)PTR_fclose_0008de7c" * (cast_expression "(code *)PTR_fclose_0008de7c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(ptr)" ( identifier )))) ;) }))) (if_statement "if (iVar1 == 0) {\n    return;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "uVar2 = (*(code *)PTR_get_errno_0008d87c)();" (assignment_expression "uVar2 = (*(code *)PTR_get_errno_0008d87c)()" identifier = (call_expression "(*(code *)PTR_get_errno_0008d87c)()" (parenthesized_expression "(*(code *)PTR_get_errno_0008d87c)" ( (pointer_expression "*(code *)PTR_get_errno_0008d87c" * (cast_expression "(code *)PTR_get_errno_0008d87c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "uVar3 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e1c,5);" (assignment_expression "uVar3 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e1c,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e1c,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0008df70)" ( (pointer_expression "*(code *)PTR_dcgettext_0008df70" * (cast_expression "(code *)PTR_dcgettext_0008df70" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_LAB_0008d628 + 0x1e1c,5)" ( number_literal , (binary_expression "PTR_LAB_0008d628 + 0x1e1c" identifier + number_literal) , number_literal )))) ;) comment comment (expression_statement "(*(code *)PTR_error_0008df28)(1,uVar2,uVar3);" (call_expression "(*(code *)PTR_error_0008df28)(1,uVar2,uVar3)" (parenthesized_expression "(*(code *)PTR_error_0008df28)" ( (pointer_expression "*(code *)PTR_error_0008df28" * (cast_expression "(code *)PTR_error_0008df28" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,uVar2,uVar3)" ( number_literal , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void xfclose(uint *param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  if (param_1 == (uint *)0x0) {\n    return;\n  }\n  if ((*param_1 & 0x20) == 0) {\n    iVar1 = (*(code *)PTR_fclose_0008de7c)(param_1);\n  }\n  else {\n    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e08,5);\n    (*(code *)PTR_error_0008df28)(1,0,uVar2);\n    iVar1 = (*(code *)PTR_fclose_0008de7c)(param_1);\n  }\n  if (iVar1 == 0) {\n    return;\n  }\n  uVar2 = (*(code *)PTR_get_errno_0008d87c)();\n  uVar3 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e1c,5);\n                    \n                    \n  (*(code *)PTR_error_0008df28)(1,uVar2,uVar3);\n  return;\n}\n\n" (function_definition "void xfclose(uint *param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  if (param_1 == (uint *)0x0) {\n    return;\n  }\n  if ((*param_1 & 0x20) == 0) {\n    iVar1 = (*(code *)PTR_fclose_0008de7c)(param_1);\n  }\n  else {\n    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e08,5);\n    (*(code *)PTR_error_0008df28)(1,0,uVar2);\n    iVar1 = (*(code *)PTR_fclose_0008de7c)(param_1);\n  }\n  if (iVar1 == 0) {\n    return;\n  }\n  uVar2 = (*(code *)PTR_get_errno_0008d87c)();\n  uVar3 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e1c,5);\n                    \n                    \n  (*(code *)PTR_error_0008df28)(1,uVar2,uVar3);\n  return;\n}" primitive_type (function_declarator "xfclose(uint *param_1)" identifier (parameter_list "(uint *param_1)" ( (parameter_declaration "uint *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  if (param_1 == (uint *)0x0) {\n    return;\n  }\n  if ((*param_1 & 0x20) == 0) {\n    iVar1 = (*(code *)PTR_fclose_0008de7c)(param_1);\n  }\n  else {\n    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e08,5);\n    (*(code *)PTR_error_0008df28)(1,0,uVar2);\n    iVar1 = (*(code *)PTR_fclose_0008de7c)(param_1);\n  }\n  if (iVar1 == 0) {\n    return;\n  }\n  uVar2 = (*(code *)PTR_get_errno_0008d87c)();\n  uVar3 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e1c,5);\n                    \n                    \n  (*(code *)PTR_error_0008df28)(1,uVar2,uVar3);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (if_statement "if (param_1 == (uint *)0x0) {\n    return;\n  }" if (parenthesized_expression "(param_1 == (uint *)0x0)" ( (binary_expression "param_1 == (uint *)0x0" identifier == (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (if_statement "if ((*param_1 & 0x20) == 0) {\n    iVar1 = (*(code *)PTR_fclose_0008de7c)(param_1);\n  }\n  else {\n    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e08,5);\n    (*(code *)PTR_error_0008df28)(1,0,uVar2);\n    iVar1 = (*(code *)PTR_fclose_0008de7c)(param_1);\n  }" if (parenthesized_expression "((*param_1 & 0x20) == 0)" ( (binary_expression "(*param_1 & 0x20) == 0" (parenthesized_expression "(*param_1 & 0x20)" ( (binary_expression "*param_1 & 0x20" (pointer_expression "*param_1" * identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n    iVar1 = (*(code *)PTR_fclose_0008de7c)(param_1);\n  }" { (expression_statement "iVar1 = (*(code *)PTR_fclose_0008de7c)(param_1);" (assignment_expression "iVar1 = (*(code *)PTR_fclose_0008de7c)(param_1)" identifier = (call_expression "(*(code *)PTR_fclose_0008de7c)(param_1)" (parenthesized_expression "(*(code *)PTR_fclose_0008de7c)" ( (pointer_expression "*(code *)PTR_fclose_0008de7c" * (cast_expression "(code *)PTR_fclose_0008de7c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) }) (else_clause "else {\n    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e08,5);\n    (*(code *)PTR_error_0008df28)(1,0,uVar2);\n    iVar1 = (*(code *)PTR_fclose_0008de7c)(param_1);\n  }" else (compound_statement "{\n    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e08,5);\n    (*(code *)PTR_error_0008df28)(1,0,uVar2);\n    iVar1 = (*(code *)PTR_fclose_0008de7c)(param_1);\n  }" { (expression_statement "uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e08,5);" (assignment_expression "uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e08,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e08,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0008df70)" ( (pointer_expression "*(code *)PTR_dcgettext_0008df70" * (cast_expression "(code *)PTR_dcgettext_0008df70" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_LAB_0008d628 + 0x1e08,5)" ( number_literal , (binary_expression "PTR_LAB_0008d628 + 0x1e08" identifier + number_literal) , number_literal )))) ;) (expression_statement "(*(code *)PTR_error_0008df28)(1,0,uVar2);" (call_expression "(*(code *)PTR_error_0008df28)(1,0,uVar2)" (parenthesized_expression "(*(code *)PTR_error_0008df28)" ( (pointer_expression "*(code *)PTR_error_0008df28" * (cast_expression "(code *)PTR_error_0008df28" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,0,uVar2)" ( number_literal , number_literal , identifier ))) ;) (expression_statement "iVar1 = (*(code *)PTR_fclose_0008de7c)(param_1);" (assignment_expression "iVar1 = (*(code *)PTR_fclose_0008de7c)(param_1)" identifier = (call_expression "(*(code *)PTR_fclose_0008de7c)(param_1)" (parenthesized_expression "(*(code *)PTR_fclose_0008de7c)" ( (pointer_expression "*(code *)PTR_fclose_0008de7c" * (cast_expression "(code *)PTR_fclose_0008de7c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) }))) (if_statement "if (iVar1 == 0) {\n    return;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "uVar2 = (*(code *)PTR_get_errno_0008d87c)();" (assignment_expression "uVar2 = (*(code *)PTR_get_errno_0008d87c)()" identifier = (call_expression "(*(code *)PTR_get_errno_0008d87c)()" (parenthesized_expression "(*(code *)PTR_get_errno_0008d87c)" ( (pointer_expression "*(code *)PTR_get_errno_0008d87c" * (cast_expression "(code *)PTR_get_errno_0008d87c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "uVar3 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e1c,5);" (assignment_expression "uVar3 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e1c,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e1c,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0008df70)" ( (pointer_expression "*(code *)PTR_dcgettext_0008df70" * (cast_expression "(code *)PTR_dcgettext_0008df70" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_LAB_0008d628 + 0x1e1c,5)" ( number_literal , (binary_expression "PTR_LAB_0008d628 + 0x1e1c" identifier + number_literal) , number_literal )))) ;) (expression_statement "(*(code *)PTR_error_0008df28)(1,uVar2,uVar3);" (call_expression "(*(code *)PTR_error_0008df28)(1,uVar2,uVar3)" (parenthesized_expression "(*(code *)PTR_error_0008df28)" ( (pointer_expression "*(code *)PTR_error_0008df28" * (cast_expression "(code *)PTR_error_0008df28" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,uVar2,uVar3)" ( number_literal , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) & LIT) )) == LIT) )) (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 )))) ;) }) (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 ( LIT , (binary_expression IDENT + LIT) , LIT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , LIT , IDENT ))) ;) (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 { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (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 ( LIT , (binary_expression IDENT + LIT) , LIT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void xfclose(uint *param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  if (param_1 == (uint *)0x0) {\n    return;\n  }\n  if ((*param_1 & 0x20) == 0) {\n    iVar1 = (*(code *)PTR_fclose_0008de7c)(param_1);\n  }\n  else {\n    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e08,5);\n    (*(code *)PTR_error_0008df28)(1,0,uVar2);\n    iVar1 = (*(code *)PTR_fclose_0008de7c)(param_1);\n  }\n  if (iVar1 == 0) {\n    return;\n  }\n  uVar2 = (*(code *)PTR_get_errno_0008d87c)();\n  uVar3 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e1c,5);\n                    \n                    \n  (*(code *)PTR_error_0008df28)(1,uVar2,uVar3);\n  return;\n}" (primitive_type "void") (function_declarator "xfclose(uint *param_1)" (identifier "xfclose") (parameter_list "(uint *param_1)" (( "(") (parameter_declaration "uint *param_1" (type_identifier "uint") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  if (param_1 == (uint *)0x0) {\n    return;\n  }\n  if ((*param_1 & 0x20) == 0) {\n    iVar1 = (*(code *)PTR_fclose_0008de7c)(param_1);\n  }\n  else {\n    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e08,5);\n    (*(code *)PTR_error_0008df28)(1,0,uVar2);\n    iVar1 = (*(code *)PTR_fclose_0008de7c)(param_1);\n  }\n  if (iVar1 == 0) {\n    return;\n  }\n  uVar2 = (*(code *)PTR_get_errno_0008d87c)();\n  uVar3 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e1c,5);\n                    \n                    \n  (*(code *)PTR_error_0008df28)(1,uVar2,uVar3);\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (if_statement "if (param_1 == (uint *)0x0) {\n    return;\n  }" (if "if") (parenthesized_expression "(param_1 == (uint *)0x0)" (( "(") (binary_expression "param_1 == (uint *)0x0" (identifier "param_1") (== "==") (cast_expression "(uint *)0x0" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if ((*param_1 & 0x20) == 0) {\n    iVar1 = (*(code *)PTR_fclose_0008de7c)(param_1);\n  }\n  else {\n    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e08,5);\n    (*(code *)PTR_error_0008df28)(1,0,uVar2);\n    iVar1 = (*(code *)PTR_fclose_0008de7c)(param_1);\n  }" (if "if") (parenthesized_expression "((*param_1 & 0x20) == 0)" (( "(") (binary_expression "(*param_1 & 0x20) == 0" (parenthesized_expression "(*param_1 & 0x20)" (( "(") (binary_expression "*param_1 & 0x20" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (& "&") (number_literal "0x20")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = (*(code *)PTR_fclose_0008de7c)(param_1);\n  }" ({ "{") (expression_statement "iVar1 = (*(code *)PTR_fclose_0008de7c)(param_1);" (assignment_expression "iVar1 = (*(code *)PTR_fclose_0008de7c)(param_1)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_fclose_0008de7c)(param_1)" (parenthesized_expression "(*(code *)PTR_fclose_0008de7c)" (( "(") (pointer_expression "*(code *)PTR_fclose_0008de7c" (* "*") (cast_expression "(code *)PTR_fclose_0008de7c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fclose_0008de7c"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (} "}")) (else_clause "else {\n    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e08,5);\n    (*(code *)PTR_error_0008df28)(1,0,uVar2);\n    iVar1 = (*(code *)PTR_fclose_0008de7c)(param_1);\n  }" (else "else") (compound_statement "{\n    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e08,5);\n    (*(code *)PTR_error_0008df28)(1,0,uVar2);\n    iVar1 = (*(code *)PTR_fclose_0008de7c)(param_1);\n  }" ({ "{") (expression_statement "uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e08,5);" (assignment_expression "uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e08,5)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e08,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0008df70)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_0008df70" (* "*") (cast_expression "(code *)PTR_dcgettext_0008df70" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_0008df70"))) () ")")) (argument_list "(0,PTR_LAB_0008d628 + 0x1e08,5)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_LAB_0008d628 + 0x1e08" (identifier "PTR_LAB_0008d628") (+ "+") (number_literal "0x1e08")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "(*(code *)PTR_error_0008df28)(1,0,uVar2);" (call_expression "(*(code *)PTR_error_0008df28)(1,0,uVar2)" (parenthesized_expression "(*(code *)PTR_error_0008df28)" (( "(") (pointer_expression "*(code *)PTR_error_0008df28" (* "*") (cast_expression "(code *)PTR_error_0008df28" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_error_0008df28"))) () ")")) (argument_list "(1,0,uVar2)" (( "(") (number_literal "1") (, ",") (number_literal "0") (, ",") (identifier "uVar2") () ")"))) (; ";")) (expression_statement "iVar1 = (*(code *)PTR_fclose_0008de7c)(param_1);" (assignment_expression "iVar1 = (*(code *)PTR_fclose_0008de7c)(param_1)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_fclose_0008de7c)(param_1)" (parenthesized_expression "(*(code *)PTR_fclose_0008de7c)" (( "(") (pointer_expression "*(code *)PTR_fclose_0008de7c" (* "*") (cast_expression "(code *)PTR_fclose_0008de7c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fclose_0008de7c"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (} "}")))) (if_statement "if (iVar1 == 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar2 = (*(code *)PTR_get_errno_0008d87c)();" (assignment_expression "uVar2 = (*(code *)PTR_get_errno_0008d87c)()" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_get_errno_0008d87c)()" (parenthesized_expression "(*(code *)PTR_get_errno_0008d87c)" (( "(") (pointer_expression "*(code *)PTR_get_errno_0008d87c" (* "*") (cast_expression "(code *)PTR_get_errno_0008d87c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_get_errno_0008d87c"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar3 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e1c,5);" (assignment_expression "uVar3 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e1c,5)" (identifier "uVar3") (= "=") (call_expression "(*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e1c,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_0008df70)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_0008df70" (* "*") (cast_expression "(code *)PTR_dcgettext_0008df70" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_0008df70"))) () ")")) (argument_list "(0,PTR_LAB_0008d628 + 0x1e1c,5)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_LAB_0008d628 + 0x1e1c" (identifier "PTR_LAB_0008d628") (+ "+") (number_literal "0x1e1c")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "(*(code *)PTR_error_0008df28)(1,uVar2,uVar3);" (call_expression "(*(code *)PTR_error_0008df28)(1,uVar2,uVar3)" (parenthesized_expression "(*(code *)PTR_error_0008df28)" (( "(") (pointer_expression "*(code *)PTR_error_0008df28" (* "*") (cast_expression "(code *)PTR_error_0008df28" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_error_0008df28"))) () ")")) (argument_list "(1,uVar2,uVar3)" (( "(") (number_literal "1") (, ",") (identifier "uVar2") (, ",") (identifier "uVar3") () ")"))) (; ";")) (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: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (return_statement))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) right: (number_literal))) consequence: (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)))))) 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 (number_literal) (binary_expression left: (identifier) right: (number_literal)) (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 (number_literal) (number_literal) (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)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_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)))) (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 (number_literal) (binary_expression left: (identifier) right: (number_literal)) (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 (number_literal) (identifier) (identifier)))) (return_statement))))

void MASKED(uint *param_1)

{
  int iVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  
  if (param_1 == (uint *)0x0) {
    return;
  }
  if ((*param_1 & 0x20) == 0) {
    iVar1 = (*(code *)PTR_fclose_0008de7c)(param_1);
  }
  else {
    uVar2 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e08,5);
    (*(code *)PTR_error_0008df28)(1,0,uVar2);
    iVar1 = (*(code *)PTR_fclose_0008de7c)(param_1);
  }
  if (iVar1 == 0) {
    return;
  }
  uVar2 = (*(code *)PTR_get_errno_0008d87c)();
  uVar3 = (*(code *)PTR_dcgettext_0008df70)(0,PTR_LAB_0008d628 + 0x1e1c,5);
                    /* WARNING: Could not recover jumptable at 0x0001ffa4. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(code *)PTR_error_0008df28)(1,uVar2,uVar3);
  return;
}

