
mount_entry * get_file_system_list(_Bool need_fs_type)

{
  undefined3 in_register_00000010;
  mount_entry *pmVar1;
  int iVar2;
  int iVar3;
  int in_t9;
  
  iVar2 = *(int *)(in_t9 + 0x54b78);
  pmVar1 = *(mount_entry **)(iVar2 + 0x63f4);
  iVar3 = *(int *)(in_t9 + 0x54b78);
  if (pmVar1 != (mount_entry *)0x0) {
    if (*(char *)(iVar3 + 0x63f0) != '\0') {
      return pmVar1;
    }
    if (CONCAT31(in_register_00000010,need_fs_type) == 0) {
      return pmVar1;
    }
    do {
      pmVar1 = pmVar1->me_next;
      (**(code **)(in_t9 + 0x54d84))();
    } while (pmVar1 != (mount_entry *)0x0);
    *(undefined4 *)(iVar2 + 0x63f4) = 0;
  }
  pmVar1 = (mount_entry *)
           (**(code **)(in_t9 + 0x54d88))(CONCAT31(in_register_00000010,need_fs_type));
  *(_Bool *)(iVar3 + 0x63f0) = need_fs_type;
  *(mount_entry **)(iVar2 + 0x63f4) = pmVar1;
  return pmVar1;
}



int FUN_00020a30(int param_1)

{
  undefined *puVar1;
  int iVar2;
  
  puVar1 = PTR_DAT_000755a8;
  iVar2 = *(int *)(PTR_DAT_000755a8 + 0x63f4);
  if (iVar2 != 0) {
    if (PTR_DAT_000755a8[0x63f0] != '\0') {
      return iVar2;
    }
    if (param_1 == 0) {
      return iVar2;
    }
    do {
      iVar2 = *(int *)(iVar2 + 0x1c);
      (*(code *)PTR_free_mount_entry_000757b4)();
    } while (iVar2 != 0);
    *(undefined4 *)(puVar1 + 0x63f4) = 0;
  }
  iVar2 = (*(code *)PTR_read_file_system_list_000757b8)(param_1);
  puVar1[0x63f0] = (char)param_1;
  *(int *)(puVar1 + 0x63f4) = iVar2;
  return iVar2;
}


lui gp,0x6
addiu gp,gp,-0x34b0
addu gp,gp,t9
addiu sp,sp,-0x30
sw s1,0x20(sp)
sw s3,0x28(sp)
or s3,a0,zero
lw s1,-0x7fd8(gp)
sw gp,0x10(sp)
sw s2,0x24(sp)
sw ra,0x2c(sp)
sw s0,0x1c(sp)
lw a0,0x63f4(s1)
beq a0,zero,0x00020a9c
_lw s2,-0x7fd8(gp)
lbu v0,0x63f0(s2)
bne v0,zero,0x00020ab8
_lw ra,0x2c(sp)
beq s3,zero,0x00020abc
_or v0,a0,zero
lw t9,-0x7dcc(gp)
jalr t9
_lw s0,0x1c(a0)
lw gp,0x10(sp)
bne s0,zero,0x00020a80
_or a0,s0,zero
sw zero,0x63f4(s1)
lw t9,-0x7dc8(gp)
jalr t9
_or a0,s3,zero
or a0,v0,zero
sb s3,0x63f0(s2)
sw v0,0x63f4(s1)
lw ra,0x2c(sp)
or v0,a0,zero
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x30
(translation_unit "int FUN_00020a30(int param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  \n  puVar1 = PTR_DAT_000755a8;\n  iVar2 = *(int *)(PTR_DAT_000755a8 + 0x63f4);\n  if (iVar2 != 0) {\n    if (PTR_DAT_000755a8[0x63f0] != '\0') {\n      return iVar2;\n    }\n    if (param_1 == 0) {\n      return iVar2;\n    }\n    do {\n      iVar2 = *(int *)(iVar2 + 0x1c);\n      (*(code *)PTR_free_mount_entry_000757b4)();\n    } while (iVar2 != 0);\n    *(undefined4 *)(puVar1 + 0x63f4) = 0;\n  }\n  iVar2 = (*(code *)PTR_read_file_system_list_000757b8)(param_1);\n  puVar1[0x63f0] = (char)param_1;\n  *(int *)(puVar1 + 0x63f4) = iVar2;\n  return iVar2;\n}\n\n" (function_definition "int FUN_00020a30(int param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  \n  puVar1 = PTR_DAT_000755a8;\n  iVar2 = *(int *)(PTR_DAT_000755a8 + 0x63f4);\n  if (iVar2 != 0) {\n    if (PTR_DAT_000755a8[0x63f0] != '\0') {\n      return iVar2;\n    }\n    if (param_1 == 0) {\n      return iVar2;\n    }\n    do {\n      iVar2 = *(int *)(iVar2 + 0x1c);\n      (*(code *)PTR_free_mount_entry_000757b4)();\n    } while (iVar2 != 0);\n    *(undefined4 *)(puVar1 + 0x63f4) = 0;\n  }\n  iVar2 = (*(code *)PTR_read_file_system_list_000757b8)(param_1);\n  puVar1[0x63f0] = (char)param_1;\n  *(int *)(puVar1 + 0x63f4) = iVar2;\n  return iVar2;\n}" primitive_type (function_declarator "FUN_00020a30(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  \n  puVar1 = PTR_DAT_000755a8;\n  iVar2 = *(int *)(PTR_DAT_000755a8 + 0x63f4);\n  if (iVar2 != 0) {\n    if (PTR_DAT_000755a8[0x63f0] != '\0') {\n      return iVar2;\n    }\n    if (param_1 == 0) {\n      return iVar2;\n    }\n    do {\n      iVar2 = *(int *)(iVar2 + 0x1c);\n      (*(code *)PTR_free_mount_entry_000757b4)();\n    } while (iVar2 != 0);\n    *(undefined4 *)(puVar1 + 0x63f4) = 0;\n  }\n  iVar2 = (*(code *)PTR_read_file_system_list_000757b8)(param_1);\n  puVar1[0x63f0] = (char)param_1;\n  *(int *)(puVar1 + 0x63f4) = iVar2;\n  return iVar2;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "puVar1 = PTR_DAT_000755a8;" (assignment_expression "puVar1 = PTR_DAT_000755a8" identifier = identifier) ;) (expression_statement "iVar2 = *(int *)(PTR_DAT_000755a8 + 0x63f4);" (assignment_expression "iVar2 = *(int *)(PTR_DAT_000755a8 + 0x63f4)" identifier = (pointer_expression "*(int *)(PTR_DAT_000755a8 + 0x63f4)" * (cast_expression "(int *)(PTR_DAT_000755a8 + 0x63f4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000755a8 + 0x63f4)" ( (binary_expression "PTR_DAT_000755a8 + 0x63f4" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 != 0) {\n    if (PTR_DAT_000755a8[0x63f0] != '\0') {\n      return iVar2;\n    }\n    if (param_1 == 0) {\n      return iVar2;\n    }\n    do {\n      iVar2 = *(int *)(iVar2 + 0x1c);\n      (*(code *)PTR_free_mount_entry_000757b4)();\n    } while (iVar2 != 0);\n    *(undefined4 *)(puVar1 + 0x63f4) = 0;\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    if (PTR_DAT_000755a8[0x63f0] != '\0') {\n      return iVar2;\n    }\n    if (param_1 == 0) {\n      return iVar2;\n    }\n    do {\n      iVar2 = *(int *)(iVar2 + 0x1c);\n      (*(code *)PTR_free_mount_entry_000757b4)();\n    } while (iVar2 != 0);\n    *(undefined4 *)(puVar1 + 0x63f4) = 0;\n  }" { (if_statement "if (PTR_DAT_000755a8[0x63f0] != '\0') {\n      return iVar2;\n    }" if (parenthesized_expression "(PTR_DAT_000755a8[0x63f0] != '\0')" ( (binary_expression "PTR_DAT_000755a8[0x63f0] != '\0'" (subscript_expression "PTR_DAT_000755a8[0x63f0]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      return iVar2;\n    }" { (return_statement "return iVar2;" return identifier ;) })) (if_statement "if (param_1 == 0) {\n      return iVar2;\n    }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n      return iVar2;\n    }" { (return_statement "return iVar2;" return identifier ;) })) (do_statement "do {\n      iVar2 = *(int *)(iVar2 + 0x1c);\n      (*(code *)PTR_free_mount_entry_000757b4)();\n    } while (iVar2 != 0);" do (compound_statement "{\n      iVar2 = *(int *)(iVar2 + 0x1c);\n      (*(code *)PTR_free_mount_entry_000757b4)();\n    }" { (expression_statement "iVar2 = *(int *)(iVar2 + 0x1c);" (assignment_expression "iVar2 = *(int *)(iVar2 + 0x1c)" identifier = (pointer_expression "*(int *)(iVar2 + 0x1c)" * (cast_expression "(int *)(iVar2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "(*(code *)PTR_free_mount_entry_000757b4)();" (call_expression "(*(code *)PTR_free_mount_entry_000757b4)()" (parenthesized_expression "(*(code *)PTR_free_mount_entry_000757b4)" ( (pointer_expression "*(code *)PTR_free_mount_entry_000757b4" * (cast_expression "(code *)PTR_free_mount_entry_000757b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) }) while (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) ;) (expression_statement "*(undefined4 *)(puVar1 + 0x63f4) = 0;" (assignment_expression "*(undefined4 *)(puVar1 + 0x63f4) = 0" (pointer_expression "*(undefined4 *)(puVar1 + 0x63f4)" * (cast_expression "(undefined4 *)(puVar1 + 0x63f4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x63f4)" ( (binary_expression "puVar1 + 0x63f4" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "iVar2 = (*(code *)PTR_read_file_system_list_000757b8)(param_1);" (assignment_expression "iVar2 = (*(code *)PTR_read_file_system_list_000757b8)(param_1)" identifier = (call_expression "(*(code *)PTR_read_file_system_list_000757b8)(param_1)" (parenthesized_expression "(*(code *)PTR_read_file_system_list_000757b8)" ( (pointer_expression "*(code *)PTR_read_file_system_list_000757b8" * (cast_expression "(code *)PTR_read_file_system_list_000757b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "puVar1[0x63f0] = (char)param_1;" (assignment_expression "puVar1[0x63f0] = (char)param_1" (subscript_expression "puVar1[0x63f0]" identifier [ number_literal ]) = (cast_expression "(char)param_1" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "*(int *)(puVar1 + 0x63f4) = iVar2;" (assignment_expression "*(int *)(puVar1 + 0x63f4) = iVar2" (pointer_expression "*(int *)(puVar1 + 0x63f4)" * (cast_expression "(int *)(puVar1 + 0x63f4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x63f4)" ( (binary_expression "puVar1 + 0x63f4" identifier + number_literal) )))) = identifier) ;) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "mount_entry * get_file_system_list(_Bool need_fs_type)\n\n{\n  undefined3 in_register_00000010;\n  mount_entry *pmVar1;\n  int iVar2;\n  int iVar3;\n  int in_t9;\n  \n  iVar2 = *(int *)(in_t9 + 0x54b78);\n  pmVar1 = *(mount_entry **)(iVar2 + 0x63f4);\n  iVar3 = *(int *)(in_t9 + 0x54b78);\n  if (pmVar1 != (mount_entry *)0x0) {\n    if (*(char *)(iVar3 + 0x63f0) != '\0') {\n      return pmVar1;\n    }\n    if (CONCAT31(in_register_00000010,need_fs_type) == 0) {\n      return pmVar1;\n    }\n    do {\n      pmVar1 = pmVar1->me_next;\n      (**(code **)(in_t9 + 0x54d84))();\n    } while (pmVar1 != (mount_entry *)0x0);\n    *(undefined4 *)(iVar2 + 0x63f4) = 0;\n  }\n  pmVar1 = (mount_entry *)\n           (**(code **)(in_t9 + 0x54d88))(CONCAT31(in_register_00000010,need_fs_type));\n  *(_Bool *)(iVar3 + 0x63f0) = need_fs_type;\n  *(mount_entry **)(iVar2 + 0x63f4) = pmVar1;\n  return pmVar1;\n}\n\n" (function_definition "mount_entry * get_file_system_list(_Bool need_fs_type)\n\n{\n  undefined3 in_register_00000010;\n  mount_entry *pmVar1;\n  int iVar2;\n  int iVar3;\n  int in_t9;\n  \n  iVar2 = *(int *)(in_t9 + 0x54b78);\n  pmVar1 = *(mount_entry **)(iVar2 + 0x63f4);\n  iVar3 = *(int *)(in_t9 + 0x54b78);\n  if (pmVar1 != (mount_entry *)0x0) {\n    if (*(char *)(iVar3 + 0x63f0) != '\0') {\n      return pmVar1;\n    }\n    if (CONCAT31(in_register_00000010,need_fs_type) == 0) {\n      return pmVar1;\n    }\n    do {\n      pmVar1 = pmVar1->me_next;\n      (**(code **)(in_t9 + 0x54d84))();\n    } while (pmVar1 != (mount_entry *)0x0);\n    *(undefined4 *)(iVar2 + 0x63f4) = 0;\n  }\n  pmVar1 = (mount_entry *)\n           (**(code **)(in_t9 + 0x54d88))(CONCAT31(in_register_00000010,need_fs_type));\n  *(_Bool *)(iVar3 + 0x63f0) = need_fs_type;\n  *(mount_entry **)(iVar2 + 0x63f4) = pmVar1;\n  return pmVar1;\n}" type_identifier (pointer_declarator "* get_file_system_list(_Bool need_fs_type)" * (function_declarator "get_file_system_list(_Bool need_fs_type)" identifier (parameter_list "(_Bool need_fs_type)" ( (parameter_declaration "_Bool need_fs_type" type_identifier identifier) )))) (compound_statement "{\n  undefined3 in_register_00000010;\n  mount_entry *pmVar1;\n  int iVar2;\n  int iVar3;\n  int in_t9;\n  \n  iVar2 = *(int *)(in_t9 + 0x54b78);\n  pmVar1 = *(mount_entry **)(iVar2 + 0x63f4);\n  iVar3 = *(int *)(in_t9 + 0x54b78);\n  if (pmVar1 != (mount_entry *)0x0) {\n    if (*(char *)(iVar3 + 0x63f0) != '\0') {\n      return pmVar1;\n    }\n    if (CONCAT31(in_register_00000010,need_fs_type) == 0) {\n      return pmVar1;\n    }\n    do {\n      pmVar1 = pmVar1->me_next;\n      (**(code **)(in_t9 + 0x54d84))();\n    } while (pmVar1 != (mount_entry *)0x0);\n    *(undefined4 *)(iVar2 + 0x63f4) = 0;\n  }\n  pmVar1 = (mount_entry *)\n           (**(code **)(in_t9 + 0x54d88))(CONCAT31(in_register_00000010,need_fs_type));\n  *(_Bool *)(iVar3 + 0x63f0) = need_fs_type;\n  *(mount_entry **)(iVar2 + 0x63f4) = pmVar1;\n  return pmVar1;\n}" { (declaration "undefined3 in_register_00000010;" type_identifier identifier ;) (declaration "mount_entry *pmVar1;" type_identifier (pointer_declarator "*pmVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int in_t9;" primitive_type identifier ;) (expression_statement "iVar2 = *(int *)(in_t9 + 0x54b78);" (assignment_expression "iVar2 = *(int *)(in_t9 + 0x54b78)" identifier = (pointer_expression "*(int *)(in_t9 + 0x54b78)" * (cast_expression "(int *)(in_t9 + 0x54b78)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x54b78)" ( (binary_expression "in_t9 + 0x54b78" identifier + number_literal) ))))) ;) (expression_statement "pmVar1 = *(mount_entry **)(iVar2 + 0x63f4);" (assignment_expression "pmVar1 = *(mount_entry **)(iVar2 + 0x63f4)" identifier = (pointer_expression "*(mount_entry **)(iVar2 + 0x63f4)" * (cast_expression "(mount_entry **)(iVar2 + 0x63f4)" ( (type_descriptor "mount_entry **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 0x63f4)" ( (binary_expression "iVar2 + 0x63f4" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = *(int *)(in_t9 + 0x54b78);" (assignment_expression "iVar3 = *(int *)(in_t9 + 0x54b78)" identifier = (pointer_expression "*(int *)(in_t9 + 0x54b78)" * (cast_expression "(int *)(in_t9 + 0x54b78)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_t9 + 0x54b78)" ( (binary_expression "in_t9 + 0x54b78" identifier + number_literal) ))))) ;) (if_statement "if (pmVar1 != (mount_entry *)0x0) {\n    if (*(char *)(iVar3 + 0x63f0) != '\0') {\n      return pmVar1;\n    }\n    if (CONCAT31(in_register_00000010,need_fs_type) == 0) {\n      return pmVar1;\n    }\n    do {\n      pmVar1 = pmVar1->me_next;\n      (**(code **)(in_t9 + 0x54d84))();\n    } while (pmVar1 != (mount_entry *)0x0);\n    *(undefined4 *)(iVar2 + 0x63f4) = 0;\n  }" if (parenthesized_expression "(pmVar1 != (mount_entry *)0x0)" ( (binary_expression "pmVar1 != (mount_entry *)0x0" identifier != (cast_expression "(mount_entry *)0x0" ( (type_descriptor "mount_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (*(char *)(iVar3 + 0x63f0) != '\0') {\n      return pmVar1;\n    }\n    if (CONCAT31(in_register_00000010,need_fs_type) == 0) {\n      return pmVar1;\n    }\n    do {\n      pmVar1 = pmVar1->me_next;\n      (**(code **)(in_t9 + 0x54d84))();\n    } while (pmVar1 != (mount_entry *)0x0);\n    *(undefined4 *)(iVar2 + 0x63f4) = 0;\n  }" { (if_statement "if (*(char *)(iVar3 + 0x63f0) != '\0') {\n      return pmVar1;\n    }" if (parenthesized_expression "(*(char *)(iVar3 + 0x63f0) != '\0')" ( (binary_expression "*(char *)(iVar3 + 0x63f0) != '\0'" (pointer_expression "*(char *)(iVar3 + 0x63f0)" * (cast_expression "(char *)(iVar3 + 0x63f0)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x63f0)" ( (binary_expression "iVar3 + 0x63f0" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      return pmVar1;\n    }" { (return_statement "return pmVar1;" return identifier ;) })) (if_statement "if (CONCAT31(in_register_00000010,need_fs_type) == 0) {\n      return pmVar1;\n    }" if (parenthesized_expression "(CONCAT31(in_register_00000010,need_fs_type) == 0)" ( (binary_expression "CONCAT31(in_register_00000010,need_fs_type) == 0" (call_expression "CONCAT31(in_register_00000010,need_fs_type)" identifier (argument_list "(in_register_00000010,need_fs_type)" ( identifier , identifier ))) == number_literal) )) (compound_statement "{\n      return pmVar1;\n    }" { (return_statement "return pmVar1;" return identifier ;) })) (do_statement "do {\n      pmVar1 = pmVar1->me_next;\n      (**(code **)(in_t9 + 0x54d84))();\n    } while (pmVar1 != (mount_entry *)0x0);" do (compound_statement "{\n      pmVar1 = pmVar1->me_next;\n      (**(code **)(in_t9 + 0x54d84))();\n    }" { (expression_statement "pmVar1 = pmVar1->me_next;" (assignment_expression "pmVar1 = pmVar1->me_next" identifier = (field_expression "pmVar1->me_next" identifier -> field_identifier)) ;) (expression_statement "(**(code **)(in_t9 + 0x54d84))();" (call_expression "(**(code **)(in_t9 + 0x54d84))()" (parenthesized_expression "(**(code **)(in_t9 + 0x54d84))" ( (pointer_expression "**(code **)(in_t9 + 0x54d84)" * (pointer_expression "*(code **)(in_t9 + 0x54d84)" * (cast_expression "(code **)(in_t9 + 0x54d84)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x54d84)" ( (binary_expression "in_t9 + 0x54d84" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) }) while (parenthesized_expression "(pmVar1 != (mount_entry *)0x0)" ( (binary_expression "pmVar1 != (mount_entry *)0x0" identifier != (cast_expression "(mount_entry *)0x0" ( (type_descriptor "mount_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "*(undefined4 *)(iVar2 + 0x63f4) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 0x63f4) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 0x63f4)" * (cast_expression "(undefined4 *)(iVar2 + 0x63f4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x63f4)" ( (binary_expression "iVar2 + 0x63f4" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "pmVar1 = (mount_entry *)\n           (**(code **)(in_t9 + 0x54d88))(CONCAT31(in_register_00000010,need_fs_type));" (assignment_expression "pmVar1 = (mount_entry *)\n           (**(code **)(in_t9 + 0x54d88))(CONCAT31(in_register_00000010,need_fs_type))" identifier = (cast_expression "(mount_entry *)\n           (**(code **)(in_t9 + 0x54d88))(CONCAT31(in_register_00000010,need_fs_type))" ( (type_descriptor "mount_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(in_t9 + 0x54d88))(CONCAT31(in_register_00000010,need_fs_type))" (parenthesized_expression "(**(code **)(in_t9 + 0x54d88))" ( (pointer_expression "**(code **)(in_t9 + 0x54d88)" * (pointer_expression "*(code **)(in_t9 + 0x54d88)" * (cast_expression "(code **)(in_t9 + 0x54d88)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x54d88)" ( (binary_expression "in_t9 + 0x54d88" identifier + number_literal) ))))) )) (argument_list "(CONCAT31(in_register_00000010,need_fs_type))" ( (call_expression "CONCAT31(in_register_00000010,need_fs_type)" identifier (argument_list "(in_register_00000010,need_fs_type)" ( identifier , identifier ))) ))))) ;) (expression_statement "*(_Bool *)(iVar3 + 0x63f0) = need_fs_type;" (assignment_expression "*(_Bool *)(iVar3 + 0x63f0) = need_fs_type" (pointer_expression "*(_Bool *)(iVar3 + 0x63f0)" * (cast_expression "(_Bool *)(iVar3 + 0x63f0)" ( (type_descriptor "_Bool *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x63f0)" ( (binary_expression "iVar3 + 0x63f0" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(mount_entry **)(iVar2 + 0x63f4) = pmVar1;" (assignment_expression "*(mount_entry **)(iVar2 + 0x63f4) = pmVar1" (pointer_expression "*(mount_entry **)(iVar2 + 0x63f4)" * (cast_expression "(mount_entry **)(iVar2 + 0x63f4)" ( (type_descriptor "mount_entry **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 0x63f4)" ( (binary_expression "iVar2 + 0x63f4" identifier + number_literal) )))) = identifier) ;) (return_statement "return pmVar1;" return identifier ;) })))
(translation_unit "int FUN_00020a30(int param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  \n  puVar1 = PTR_DAT_000755a8;\n  iVar2 = *(int *)(PTR_DAT_000755a8 + 0x63f4);\n  if (iVar2 != 0) {\n    if (PTR_DAT_000755a8[0x63f0] != '\0') {\n      return iVar2;\n    }\n    if (param_1 == 0) {\n      return iVar2;\n    }\n    do {\n      iVar2 = *(int *)(iVar2 + 0x1c);\n      (*(code *)PTR_free_mount_entry_000757b4)();\n    } while (iVar2 != 0);\n    *(undefined4 *)(puVar1 + 0x63f4) = 0;\n  }\n  iVar2 = (*(code *)PTR_read_file_system_list_000757b8)(param_1);\n  puVar1[0x63f0] = (char)param_1;\n  *(int *)(puVar1 + 0x63f4) = iVar2;\n  return iVar2;\n}\n\n" (function_definition "int FUN_00020a30(int param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  \n  puVar1 = PTR_DAT_000755a8;\n  iVar2 = *(int *)(PTR_DAT_000755a8 + 0x63f4);\n  if (iVar2 != 0) {\n    if (PTR_DAT_000755a8[0x63f0] != '\0') {\n      return iVar2;\n    }\n    if (param_1 == 0) {\n      return iVar2;\n    }\n    do {\n      iVar2 = *(int *)(iVar2 + 0x1c);\n      (*(code *)PTR_free_mount_entry_000757b4)();\n    } while (iVar2 != 0);\n    *(undefined4 *)(puVar1 + 0x63f4) = 0;\n  }\n  iVar2 = (*(code *)PTR_read_file_system_list_000757b8)(param_1);\n  puVar1[0x63f0] = (char)param_1;\n  *(int *)(puVar1 + 0x63f4) = iVar2;\n  return iVar2;\n}" primitive_type (function_declarator "FUN_00020a30(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  \n  puVar1 = PTR_DAT_000755a8;\n  iVar2 = *(int *)(PTR_DAT_000755a8 + 0x63f4);\n  if (iVar2 != 0) {\n    if (PTR_DAT_000755a8[0x63f0] != '\0') {\n      return iVar2;\n    }\n    if (param_1 == 0) {\n      return iVar2;\n    }\n    do {\n      iVar2 = *(int *)(iVar2 + 0x1c);\n      (*(code *)PTR_free_mount_entry_000757b4)();\n    } while (iVar2 != 0);\n    *(undefined4 *)(puVar1 + 0x63f4) = 0;\n  }\n  iVar2 = (*(code *)PTR_read_file_system_list_000757b8)(param_1);\n  puVar1[0x63f0] = (char)param_1;\n  *(int *)(puVar1 + 0x63f4) = iVar2;\n  return iVar2;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "puVar1 = PTR_DAT_000755a8;" (assignment_expression "puVar1 = PTR_DAT_000755a8" identifier = identifier) ;) (expression_statement "iVar2 = *(int *)(PTR_DAT_000755a8 + 0x63f4);" (assignment_expression "iVar2 = *(int *)(PTR_DAT_000755a8 + 0x63f4)" identifier = (pointer_expression "*(int *)(PTR_DAT_000755a8 + 0x63f4)" * (cast_expression "(int *)(PTR_DAT_000755a8 + 0x63f4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000755a8 + 0x63f4)" ( (binary_expression "PTR_DAT_000755a8 + 0x63f4" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 != 0) {\n    if (PTR_DAT_000755a8[0x63f0] != '\0') {\n      return iVar2;\n    }\n    if (param_1 == 0) {\n      return iVar2;\n    }\n    do {\n      iVar2 = *(int *)(iVar2 + 0x1c);\n      (*(code *)PTR_free_mount_entry_000757b4)();\n    } while (iVar2 != 0);\n    *(undefined4 *)(puVar1 + 0x63f4) = 0;\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    if (PTR_DAT_000755a8[0x63f0] != '\0') {\n      return iVar2;\n    }\n    if (param_1 == 0) {\n      return iVar2;\n    }\n    do {\n      iVar2 = *(int *)(iVar2 + 0x1c);\n      (*(code *)PTR_free_mount_entry_000757b4)();\n    } while (iVar2 != 0);\n    *(undefined4 *)(puVar1 + 0x63f4) = 0;\n  }" { (if_statement "if (PTR_DAT_000755a8[0x63f0] != '\0') {\n      return iVar2;\n    }" if (parenthesized_expression "(PTR_DAT_000755a8[0x63f0] != '\0')" ( (binary_expression "PTR_DAT_000755a8[0x63f0] != '\0'" (subscript_expression "PTR_DAT_000755a8[0x63f0]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      return iVar2;\n    }" { (return_statement "return iVar2;" return identifier ;) })) (if_statement "if (param_1 == 0) {\n      return iVar2;\n    }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n      return iVar2;\n    }" { (return_statement "return iVar2;" return identifier ;) })) (do_statement "do {\n      iVar2 = *(int *)(iVar2 + 0x1c);\n      (*(code *)PTR_free_mount_entry_000757b4)();\n    } while (iVar2 != 0);" do (compound_statement "{\n      iVar2 = *(int *)(iVar2 + 0x1c);\n      (*(code *)PTR_free_mount_entry_000757b4)();\n    }" { (expression_statement "iVar2 = *(int *)(iVar2 + 0x1c);" (assignment_expression "iVar2 = *(int *)(iVar2 + 0x1c)" identifier = (pointer_expression "*(int *)(iVar2 + 0x1c)" * (cast_expression "(int *)(iVar2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "(*(code *)PTR_free_mount_entry_000757b4)();" (call_expression "(*(code *)PTR_free_mount_entry_000757b4)()" (parenthesized_expression "(*(code *)PTR_free_mount_entry_000757b4)" ( (pointer_expression "*(code *)PTR_free_mount_entry_000757b4" * (cast_expression "(code *)PTR_free_mount_entry_000757b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) }) while (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) ;) (expression_statement "*(undefined4 *)(puVar1 + 0x63f4) = 0;" (assignment_expression "*(undefined4 *)(puVar1 + 0x63f4) = 0" (pointer_expression "*(undefined4 *)(puVar1 + 0x63f4)" * (cast_expression "(undefined4 *)(puVar1 + 0x63f4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x63f4)" ( (binary_expression "puVar1 + 0x63f4" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "iVar2 = (*(code *)PTR_read_file_system_list_000757b8)(param_1);" (assignment_expression "iVar2 = (*(code *)PTR_read_file_system_list_000757b8)(param_1)" identifier = (call_expression "(*(code *)PTR_read_file_system_list_000757b8)(param_1)" (parenthesized_expression "(*(code *)PTR_read_file_system_list_000757b8)" ( (pointer_expression "*(code *)PTR_read_file_system_list_000757b8" * (cast_expression "(code *)PTR_read_file_system_list_000757b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "puVar1[0x63f0] = (char)param_1;" (assignment_expression "puVar1[0x63f0] = (char)param_1" (subscript_expression "puVar1[0x63f0]" identifier [ number_literal ]) = (cast_expression "(char)param_1" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "*(int *)(puVar1 + 0x63f4) = iVar2;" (assignment_expression "*(int *)(puVar1 + 0x63f4) = iVar2" (pointer_expression "*(int *)(puVar1 + 0x63f4)" * (cast_expression "(int *)(puVar1 + 0x63f4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x63f4)" ( (binary_expression "puVar1 + 0x63f4" identifier + number_literal) )))) = identifier) ;) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' escape_sequence ')) )) (compound_statement { (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return IDENT ;) })) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return IDENT ;) })))
(function_definition "int FUN_00020a30(int param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  \n  puVar1 = PTR_DAT_000755a8;\n  iVar2 = *(int *)(PTR_DAT_000755a8 + 0x63f4);\n  if (iVar2 != 0) {\n    if (PTR_DAT_000755a8[0x63f0] != '\0') {\n      return iVar2;\n    }\n    if (param_1 == 0) {\n      return iVar2;\n    }\n    do {\n      iVar2 = *(int *)(iVar2 + 0x1c);\n      (*(code *)PTR_free_mount_entry_000757b4)();\n    } while (iVar2 != 0);\n    *(undefined4 *)(puVar1 + 0x63f4) = 0;\n  }\n  iVar2 = (*(code *)PTR_read_file_system_list_000757b8)(param_1);\n  puVar1[0x63f0] = (char)param_1;\n  *(int *)(puVar1 + 0x63f4) = iVar2;\n  return iVar2;\n}" (primitive_type "int") (function_declarator "FUN_00020a30(int param_1)" (identifier "FUN_00020a30") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  \n  puVar1 = PTR_DAT_000755a8;\n  iVar2 = *(int *)(PTR_DAT_000755a8 + 0x63f4);\n  if (iVar2 != 0) {\n    if (PTR_DAT_000755a8[0x63f0] != '\0') {\n      return iVar2;\n    }\n    if (param_1 == 0) {\n      return iVar2;\n    }\n    do {\n      iVar2 = *(int *)(iVar2 + 0x1c);\n      (*(code *)PTR_free_mount_entry_000757b4)();\n    } while (iVar2 != 0);\n    *(undefined4 *)(puVar1 + 0x63f4) = 0;\n  }\n  iVar2 = (*(code *)PTR_read_file_system_list_000757b8)(param_1);\n  puVar1[0x63f0] = (char)param_1;\n  *(int *)(puVar1 + 0x63f4) = iVar2;\n  return iVar2;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (expression_statement "puVar1 = PTR_DAT_000755a8;" (assignment_expression "puVar1 = PTR_DAT_000755a8" (identifier "puVar1") (= "=") (identifier "PTR_DAT_000755a8")) (; ";")) (expression_statement "iVar2 = *(int *)(PTR_DAT_000755a8 + 0x63f4);" (assignment_expression "iVar2 = *(int *)(PTR_DAT_000755a8 + 0x63f4)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(PTR_DAT_000755a8 + 0x63f4)" (* "*") (cast_expression "(int *)(PTR_DAT_000755a8 + 0x63f4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000755a8 + 0x63f4)" (( "(") (binary_expression "PTR_DAT_000755a8 + 0x63f4" (identifier "PTR_DAT_000755a8") (+ "+") (number_literal "0x63f4")) () ")"))))) (; ";")) (if_statement "if (iVar2 != 0) {\n    if (PTR_DAT_000755a8[0x63f0] != '\0') {\n      return iVar2;\n    }\n    if (param_1 == 0) {\n      return iVar2;\n    }\n    do {\n      iVar2 = *(int *)(iVar2 + 0x1c);\n      (*(code *)PTR_free_mount_entry_000757b4)();\n    } while (iVar2 != 0);\n    *(undefined4 *)(puVar1 + 0x63f4) = 0;\n  }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (PTR_DAT_000755a8[0x63f0] != '\0') {\n      return iVar2;\n    }\n    if (param_1 == 0) {\n      return iVar2;\n    }\n    do {\n      iVar2 = *(int *)(iVar2 + 0x1c);\n      (*(code *)PTR_free_mount_entry_000757b4)();\n    } while (iVar2 != 0);\n    *(undefined4 *)(puVar1 + 0x63f4) = 0;\n  }" ({ "{") (if_statement "if (PTR_DAT_000755a8[0x63f0] != '\0') {\n      return iVar2;\n    }" (if "if") (parenthesized_expression "(PTR_DAT_000755a8[0x63f0] != '\0')" (( "(") (binary_expression "PTR_DAT_000755a8[0x63f0] != '\0'" (subscript_expression "PTR_DAT_000755a8[0x63f0]" (identifier "PTR_DAT_000755a8") ([ "[") (number_literal "0x63f0") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      return iVar2;\n    }" ({ "{") (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}"))) (if_statement "if (param_1 == 0) {\n      return iVar2;\n    }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return iVar2;\n    }" ({ "{") (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}"))) (do_statement "do {\n      iVar2 = *(int *)(iVar2 + 0x1c);\n      (*(code *)PTR_free_mount_entry_000757b4)();\n    } while (iVar2 != 0);" (do "do") (compound_statement "{\n      iVar2 = *(int *)(iVar2 + 0x1c);\n      (*(code *)PTR_free_mount_entry_000757b4)();\n    }" ({ "{") (expression_statement "iVar2 = *(int *)(iVar2 + 0x1c);" (assignment_expression "iVar2 = *(int *)(iVar2 + 0x1c)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(iVar2 + 0x1c)" (* "*") (cast_expression "(int *)(iVar2 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x1c)" (( "(") (binary_expression "iVar2 + 0x1c" (identifier "iVar2") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "(*(code *)PTR_free_mount_entry_000757b4)();" (call_expression "(*(code *)PTR_free_mount_entry_000757b4)()" (parenthesized_expression "(*(code *)PTR_free_mount_entry_000757b4)" (( "(") (pointer_expression "*(code *)PTR_free_mount_entry_000757b4" (* "*") (cast_expression "(code *)PTR_free_mount_entry_000757b4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_mount_entry_000757b4"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "*(undefined4 *)(puVar1 + 0x63f4) = 0;" (assignment_expression "*(undefined4 *)(puVar1 + 0x63f4) = 0" (pointer_expression "*(undefined4 *)(puVar1 + 0x63f4)" (* "*") (cast_expression "(undefined4 *)(puVar1 + 0x63f4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + 0x63f4)" (( "(") (binary_expression "puVar1 + 0x63f4" (identifier "puVar1") (+ "+") (number_literal "0x63f4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "iVar2 = (*(code *)PTR_read_file_system_list_000757b8)(param_1);" (assignment_expression "iVar2 = (*(code *)PTR_read_file_system_list_000757b8)(param_1)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_read_file_system_list_000757b8)(param_1)" (parenthesized_expression "(*(code *)PTR_read_file_system_list_000757b8)" (( "(") (pointer_expression "*(code *)PTR_read_file_system_list_000757b8" (* "*") (cast_expression "(code *)PTR_read_file_system_list_000757b8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_read_file_system_list_000757b8"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "puVar1[0x63f0] = (char)param_1;" (assignment_expression "puVar1[0x63f0] = (char)param_1" (subscript_expression "puVar1[0x63f0]" (identifier "puVar1") ([ "[") (number_literal "0x63f0") (] "]")) (= "=") (cast_expression "(char)param_1" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "param_1"))) (; ";")) (expression_statement "*(int *)(puVar1 + 0x63f4) = iVar2;" (assignment_expression "*(int *)(puVar1 + 0x63f4) = iVar2" (pointer_expression "*(int *)(puVar1 + 0x63f4)" (* "*") (cast_expression "(int *)(puVar1 + 0x63f4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + 0x63f4)" (( "(") (binary_expression "puVar1 + 0x63f4" (identifier "puVar1") (+ "+") (number_literal "0x63f4")) () ")")))) (= "=") (identifier "iVar2")) (; ";")) (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}")))

type_1 * function_1(type_2 need_fs_type)

{
  type_3 in_register_00000010;
  type_1 *var_3;
  int var_2;
  int var_4;
  int var_1;
  
  var_2 = *(int *)(var_1 + 0x54b78);
  var_3 = *(type_1 **)(var_2 + 0x63f4);
  var_4 = *(int *)(var_1 + 0x54b78);
  if (var_3 != (type_1 *)0x0) {
    if (*(char *)(var_4 + 0x63f0) != '\0') {
      return var_3;
    }
    if (var_5(in_register_00000010,need_fs_type) == 0) {
      return var_3;
    }
    do {
      var_3 = var_3->me_next;
      (**(type_4 **)(var_1 + 0x54d84))();
    } while (var_3 != (type_1 *)0x0);
    *(type_5 *)(var_2 + 0x63f4) = 0;
  }
  var_3 = (type_1 *)
           (**(type_4 **)(var_1 + 0x54d88))(var_5(in_register_00000010,need_fs_type));
  *(type_2 *)(var_4 + 0x63f0) = need_fs_type;
  *(type_1 **)(var_2 + 0x63f4) = var_3;
  return var_3;
}


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

int MASKED(int param_1)

{
  undefined *puVar1;
  int iVar2;
  
  puVar1 = PTR_DAT_000755a8;
  iVar2 = *(int *)(PTR_DAT_000755a8 + 0x63f4);
  if (iVar2 != 0) {
    if (PTR_DAT_000755a8[0x63f0] != '\0') {
      return iVar2;
    }
    if (param_1 == 0) {
      return iVar2;
    }
    do {
      iVar2 = *(int *)(iVar2 + 0x1c);
      (*(code *)PTR_free_mount_entry_000757b4)();
    } while (iVar2 != 0);
    *(undefined4 *)(puVar1 + 0x63f4) = 0;
  }
  iVar2 = (*(code *)PTR_read_file_system_list_000757b8)(param_1);
  puVar1[0x63f0] = (char)param_1;
  *(int *)(puVar1 + 0x63f4) = iVar2;
  return iVar2;
}

