
void fts_lfree(FTSENT *head)

{
  FTSENT *p;
  _ftsent *p_Var1;
  
  if (head == (FTSENT *)0x0) {
    return;
  }
  do {
    p_Var1 = head->fts_link;
    if (head->fts_dirp != (DIR *)0x0) {
      (*(code *)PTR_closedir_000759e4)();
    }
    (*(code *)PTR_free_00075bfc)(head);
    head = p_Var1;
  } while (p_Var1 != (_ftsent *)0x0);
  return;
}



void FUN_0003eccc(int param_1)

{
  int iVar1;
  
  if (param_1 == 0) {
    return;
  }
  do {
    iVar1 = *(int *)(param_1 + 8);
    if (*(int *)(param_1 + 0xc) != 0) {
      (*(code *)PTR_closedir_000759e4)();
    }
    (*(code *)PTR_free_00075bfc)(param_1);
    param_1 = iVar1;
  } while (iVar1 != 0);
  return;
}


lui gp,0x4
addiu gp,gp,-0x174c
addu gp,gp,t9
beq a0,zero,0x0003ed40
_nop
addiu sp,sp,-0x28
sw s0,0x1c(sp)
or s0,a0,zero
sw gp,0x10(sp)
sw ra,0x24(sp)
sw s1,0x20(sp)
lw a0,0xc(s0)
lw t9,-0x7b9c(gp)
beq a0,zero,0x0003ed14
_lw s1,0x8(s0)
jalr t9
_nop
lw gp,0x10(sp)
lw t9,-0x7984(gp)
or a0,s0,zero
jalr t9
_or s0,s1,zero
bne s1,zero,0x0003ecf8
_lw gp,0x10(sp)
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
jr ra
_nop
(translation_unit "void FUN_0003eccc(int param_1)\n\n{\n  int iVar1;\n  \n  if (param_1 == 0) {\n    return;\n  }\n  do {\n    iVar1 = *(int *)(param_1 + 8);\n    if (*(int *)(param_1 + 0xc) != 0) {\n      (*(code *)PTR_closedir_000759e4)();\n    }\n    (*(code *)PTR_free_00075bfc)(param_1);\n    param_1 = iVar1;\n  } while (iVar1 != 0);\n  return;\n}\n\n" (function_definition "void FUN_0003eccc(int param_1)\n\n{\n  int iVar1;\n  \n  if (param_1 == 0) {\n    return;\n  }\n  do {\n    iVar1 = *(int *)(param_1 + 8);\n    if (*(int *)(param_1 + 0xc) != 0) {\n      (*(code *)PTR_closedir_000759e4)();\n    }\n    (*(code *)PTR_free_00075bfc)(param_1);\n    param_1 = iVar1;\n  } while (iVar1 != 0);\n  return;\n}" primitive_type (function_declarator "FUN_0003eccc(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (param_1 == 0) {\n    return;\n  }\n  do {\n    iVar1 = *(int *)(param_1 + 8);\n    if (*(int *)(param_1 + 0xc) != 0) {\n      (*(code *)PTR_closedir_000759e4)();\n    }\n    (*(code *)PTR_free_00075bfc)(param_1);\n    param_1 = iVar1;\n  } while (iVar1 != 0);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (param_1 == 0) {\n    return;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (do_statement "do {\n    iVar1 = *(int *)(param_1 + 8);\n    if (*(int *)(param_1 + 0xc) != 0) {\n      (*(code *)PTR_closedir_000759e4)();\n    }\n    (*(code *)PTR_free_00075bfc)(param_1);\n    param_1 = iVar1;\n  } while (iVar1 != 0);" do (compound_statement "{\n    iVar1 = *(int *)(param_1 + 8);\n    if (*(int *)(param_1 + 0xc) != 0) {\n      (*(code *)PTR_closedir_000759e4)();\n    }\n    (*(code *)PTR_free_00075bfc)(param_1);\n    param_1 = iVar1;\n  }" { (expression_statement "iVar1 = *(int *)(param_1 + 8);" (assignment_expression "iVar1 = *(int *)(param_1 + 8)" identifier = (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(param_1 + 0xc) != 0) {\n      (*(code *)PTR_closedir_000759e4)();\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0xc) != 0)" ( (binary_expression "*(int *)(param_1 + 0xc) != 0" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      (*(code *)PTR_closedir_000759e4)();\n    }" { (expression_statement "(*(code *)PTR_closedir_000759e4)();" (call_expression "(*(code *)PTR_closedir_000759e4)()" (parenthesized_expression "(*(code *)PTR_closedir_000759e4)" ( (pointer_expression "*(code *)PTR_closedir_000759e4" * (cast_expression "(code *)PTR_closedir_000759e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "(*(code *)PTR_free_00075bfc)(param_1);" (call_expression "(*(code *)PTR_free_00075bfc)(param_1)" (parenthesized_expression "(*(code *)PTR_free_00075bfc)" ( (pointer_expression "*(code *)PTR_free_00075bfc" * (cast_expression "(code *)PTR_free_00075bfc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "param_1 = iVar1;" (assignment_expression "param_1 = iVar1" identifier = identifier) ;) }) while (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) ;) (return_statement "return;" return ;) })))
(translation_unit "void fts_lfree(FTSENT *head)\n\n{\n  FTSENT *p;\n  _ftsent *p_Var1;\n  \n  if (head == (FTSENT *)0x0) {\n    return;\n  }\n  do {\n    p_Var1 = head->fts_link;\n    if (head->fts_dirp != (DIR *)0x0) {\n      (*(code *)PTR_closedir_000759e4)();\n    }\n    (*(code *)PTR_free_00075bfc)(head);\n    head = p_Var1;\n  } while (p_Var1 != (_ftsent *)0x0);\n  return;\n}\n\n" (function_definition "void fts_lfree(FTSENT *head)\n\n{\n  FTSENT *p;\n  _ftsent *p_Var1;\n  \n  if (head == (FTSENT *)0x0) {\n    return;\n  }\n  do {\n    p_Var1 = head->fts_link;\n    if (head->fts_dirp != (DIR *)0x0) {\n      (*(code *)PTR_closedir_000759e4)();\n    }\n    (*(code *)PTR_free_00075bfc)(head);\n    head = p_Var1;\n  } while (p_Var1 != (_ftsent *)0x0);\n  return;\n}" primitive_type (function_declarator "fts_lfree(FTSENT *head)" identifier (parameter_list "(FTSENT *head)" ( (parameter_declaration "FTSENT *head" type_identifier (pointer_declarator "*head" * identifier)) ))) (compound_statement "{\n  FTSENT *p;\n  _ftsent *p_Var1;\n  \n  if (head == (FTSENT *)0x0) {\n    return;\n  }\n  do {\n    p_Var1 = head->fts_link;\n    if (head->fts_dirp != (DIR *)0x0) {\n      (*(code *)PTR_closedir_000759e4)();\n    }\n    (*(code *)PTR_free_00075bfc)(head);\n    head = p_Var1;\n  } while (p_Var1 != (_ftsent *)0x0);\n  return;\n}" { (declaration "FTSENT *p;" type_identifier (pointer_declarator "*p" * identifier) ;) (declaration "_ftsent *p_Var1;" type_identifier (pointer_declarator "*p_Var1" * identifier) ;) (if_statement "if (head == (FTSENT *)0x0) {\n    return;\n  }" if (parenthesized_expression "(head == (FTSENT *)0x0)" ( (binary_expression "head == (FTSENT *)0x0" identifier == (cast_expression "(FTSENT *)0x0" ( (type_descriptor "FTSENT *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (do_statement "do {\n    p_Var1 = head->fts_link;\n    if (head->fts_dirp != (DIR *)0x0) {\n      (*(code *)PTR_closedir_000759e4)();\n    }\n    (*(code *)PTR_free_00075bfc)(head);\n    head = p_Var1;\n  } while (p_Var1 != (_ftsent *)0x0);" do (compound_statement "{\n    p_Var1 = head->fts_link;\n    if (head->fts_dirp != (DIR *)0x0) {\n      (*(code *)PTR_closedir_000759e4)();\n    }\n    (*(code *)PTR_free_00075bfc)(head);\n    head = p_Var1;\n  }" { (expression_statement "p_Var1 = head->fts_link;" (assignment_expression "p_Var1 = head->fts_link" identifier = (field_expression "head->fts_link" identifier -> field_identifier)) ;) (if_statement "if (head->fts_dirp != (DIR *)0x0) {\n      (*(code *)PTR_closedir_000759e4)();\n    }" if (parenthesized_expression "(head->fts_dirp != (DIR *)0x0)" ( (binary_expression "head->fts_dirp != (DIR *)0x0" (field_expression "head->fts_dirp" identifier -> field_identifier) != (cast_expression "(DIR *)0x0" ( (type_descriptor "DIR *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      (*(code *)PTR_closedir_000759e4)();\n    }" { (expression_statement "(*(code *)PTR_closedir_000759e4)();" (call_expression "(*(code *)PTR_closedir_000759e4)()" (parenthesized_expression "(*(code *)PTR_closedir_000759e4)" ( (pointer_expression "*(code *)PTR_closedir_000759e4" * (cast_expression "(code *)PTR_closedir_000759e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "(*(code *)PTR_free_00075bfc)(head);" (call_expression "(*(code *)PTR_free_00075bfc)(head)" (parenthesized_expression "(*(code *)PTR_free_00075bfc)" ( (pointer_expression "*(code *)PTR_free_00075bfc" * (cast_expression "(code *)PTR_free_00075bfc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(head)" ( identifier ))) ;) (expression_statement "head = p_Var1;" (assignment_expression "head = p_Var1" identifier = identifier) ;) }) while (parenthesized_expression "(p_Var1 != (_ftsent *)0x0)" ( (binary_expression "p_Var1 != (_ftsent *)0x0" identifier != (cast_expression "(_ftsent *)0x0" ( (type_descriptor "_ftsent *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0003eccc(int param_1)\n\n{\n  int iVar1;\n  \n  if (param_1 == 0) {\n    return;\n  }\n  do {\n    iVar1 = *(int *)(param_1 + 8);\n    if (*(int *)(param_1 + 0xc) != 0) {\n      (*(code *)PTR_closedir_000759e4)();\n    }\n    (*(code *)PTR_free_00075bfc)(param_1);\n    param_1 = iVar1;\n  } while (iVar1 != 0);\n  return;\n}\n\n" (function_definition "void FUN_0003eccc(int param_1)\n\n{\n  int iVar1;\n  \n  if (param_1 == 0) {\n    return;\n  }\n  do {\n    iVar1 = *(int *)(param_1 + 8);\n    if (*(int *)(param_1 + 0xc) != 0) {\n      (*(code *)PTR_closedir_000759e4)();\n    }\n    (*(code *)PTR_free_00075bfc)(param_1);\n    param_1 = iVar1;\n  } while (iVar1 != 0);\n  return;\n}" primitive_type (function_declarator "FUN_0003eccc(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (param_1 == 0) {\n    return;\n  }\n  do {\n    iVar1 = *(int *)(param_1 + 8);\n    if (*(int *)(param_1 + 0xc) != 0) {\n      (*(code *)PTR_closedir_000759e4)();\n    }\n    (*(code *)PTR_free_00075bfc)(param_1);\n    param_1 = iVar1;\n  } while (iVar1 != 0);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (param_1 == 0) {\n    return;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (do_statement "do {\n    iVar1 = *(int *)(param_1 + 8);\n    if (*(int *)(param_1 + 0xc) != 0) {\n      (*(code *)PTR_closedir_000759e4)();\n    }\n    (*(code *)PTR_free_00075bfc)(param_1);\n    param_1 = iVar1;\n  } while (iVar1 != 0);" do (compound_statement "{\n    iVar1 = *(int *)(param_1 + 8);\n    if (*(int *)(param_1 + 0xc) != 0) {\n      (*(code *)PTR_closedir_000759e4)();\n    }\n    (*(code *)PTR_free_00075bfc)(param_1);\n    param_1 = iVar1;\n  }" { (expression_statement "iVar1 = *(int *)(param_1 + 8);" (assignment_expression "iVar1 = *(int *)(param_1 + 8)" identifier = (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(param_1 + 0xc) != 0) {\n      (*(code *)PTR_closedir_000759e4)();\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0xc) != 0)" ( (binary_expression "*(int *)(param_1 + 0xc) != 0" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      (*(code *)PTR_closedir_000759e4)();\n    }" { (expression_statement "(*(code *)PTR_closedir_000759e4)();" (call_expression "(*(code *)PTR_closedir_000759e4)()" (parenthesized_expression "(*(code *)PTR_closedir_000759e4)" ( (pointer_expression "*(code *)PTR_closedir_000759e4" * (cast_expression "(code *)PTR_closedir_000759e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "(*(code *)PTR_free_00075bfc)(param_1);" (call_expression "(*(code *)PTR_free_00075bfc)(param_1)" (parenthesized_expression "(*(code *)PTR_free_00075bfc)" ( (pointer_expression "*(code *)PTR_free_00075bfc" * (cast_expression "(code *)PTR_free_00075bfc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "param_1 = iVar1;" (assignment_expression "param_1 = iVar1" identifier = identifier) ;) }) while (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return ;) })) (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) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) (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) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (return_statement return ;) })))
(function_definition "void FUN_0003eccc(int param_1)\n\n{\n  int iVar1;\n  \n  if (param_1 == 0) {\n    return;\n  }\n  do {\n    iVar1 = *(int *)(param_1 + 8);\n    if (*(int *)(param_1 + 0xc) != 0) {\n      (*(code *)PTR_closedir_000759e4)();\n    }\n    (*(code *)PTR_free_00075bfc)(param_1);\n    param_1 = iVar1;\n  } while (iVar1 != 0);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0003eccc(int param_1)" (identifier "FUN_0003eccc") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  if (param_1 == 0) {\n    return;\n  }\n  do {\n    iVar1 = *(int *)(param_1 + 8);\n    if (*(int *)(param_1 + 0xc) != 0) {\n      (*(code *)PTR_closedir_000759e4)();\n    }\n    (*(code *)PTR_free_00075bfc)(param_1);\n    param_1 = iVar1;\n  } while (iVar1 != 0);\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (if_statement "if (param_1 == 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (do_statement "do {\n    iVar1 = *(int *)(param_1 + 8);\n    if (*(int *)(param_1 + 0xc) != 0) {\n      (*(code *)PTR_closedir_000759e4)();\n    }\n    (*(code *)PTR_free_00075bfc)(param_1);\n    param_1 = iVar1;\n  } while (iVar1 != 0);" (do "do") (compound_statement "{\n    iVar1 = *(int *)(param_1 + 8);\n    if (*(int *)(param_1 + 0xc) != 0) {\n      (*(code *)PTR_closedir_000759e4)();\n    }\n    (*(code *)PTR_free_00075bfc)(param_1);\n    param_1 = iVar1;\n  }" ({ "{") (expression_statement "iVar1 = *(int *)(param_1 + 8);" (assignment_expression "iVar1 = *(int *)(param_1 + 8)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (*(int *)(param_1 + 0xc) != 0) {\n      (*(code *)PTR_closedir_000759e4)();\n    }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0xc) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0xc) != 0" (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      (*(code *)PTR_closedir_000759e4)();\n    }" ({ "{") (expression_statement "(*(code *)PTR_closedir_000759e4)();" (call_expression "(*(code *)PTR_closedir_000759e4)()" (parenthesized_expression "(*(code *)PTR_closedir_000759e4)" (( "(") (pointer_expression "*(code *)PTR_closedir_000759e4" (* "*") (cast_expression "(code *)PTR_closedir_000759e4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_closedir_000759e4"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_free_00075bfc)(param_1);" (call_expression "(*(code *)PTR_free_00075bfc)(param_1)" (parenthesized_expression "(*(code *)PTR_free_00075bfc)" (( "(") (pointer_expression "*(code *)PTR_free_00075bfc" (* "*") (cast_expression "(code *)PTR_free_00075bfc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_00075bfc"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "param_1 = iVar1;" (assignment_expression "param_1 = iVar1" (identifier "param_1") (= "=") (identifier "iVar1")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *var_1)

{
  type_1 *p;
  type_2 *var_2;
  
  if (var_1 == (type_1 *)0x0) {
    return;
  }
  do {
    var_2 = var_1->fts_link;
    if (var_1->fts_dirp != (type_3 *)0x0) {
      (*(type_4 *)PTR_closedir_000759e4)();
    }
    (*(type_4 *)PTR_free_00075bfc)(var_1);
    var_1 = var_2;
  } while (var_2 != (type_2 *)0x0);
  return;
}


(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: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement))) (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))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (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))))) (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)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (return_statement))))

void MASKED(int param_1)

{
  int iVar1;
  
  if (param_1 == 0) {
    return;
  }
  do {
    iVar1 = *(int *)(param_1 + 8);
    if (*(int *)(param_1 + 0xc) != 0) {
      (*(code *)PTR_closedir_000759e4)();
    }
    (*(code *)PTR_free_00075bfc)(param_1);
    param_1 = iVar1;
  } while (iVar1 != 0);
  return;
}

