
void glob_cleanup(URLGlob *glob)

{
  uint uVar1;
  char **ppcVar2;
  int iVar3;
  int iVar4;
  URLGlob *pUVar5;
  uint uVar6;
  
  uVar1 = glob->size;
  if (uVar1 != 0) {
    uVar6 = 0;
    pUVar5 = glob;
    do {
      while ((pUVar5->pattern[0].type != UPTSet ||
             (ppcVar2 = pUVar5->pattern[0].content.Set.elements, ppcVar2 == (char **)0x0))) {
        uVar6 = uVar6 + 1;
        pUVar5 = (URLGlob *)(pUVar5->pattern + 1);
        if (uVar1 <= uVar6) goto LAB_00027730;
      }
      iVar3 = pUVar5->pattern[0].content.Set.size + -1;
      if (-1 < iVar3) {
        do {
          iVar4 = iVar3 + -1;
          (*(code *)PTR_free_000542cc)(ppcVar2[iVar3]);
          ppcVar2 = pUVar5->pattern[0].content.Set.elements;
          ppcVar2[iVar3] = (char *)0x0;
          iVar3 = iVar4;
        } while (iVar4 != -1);
      }
      uVar6 = uVar6 + 1;
      (*(code *)PTR_free_000542cc)();
      pUVar5->pattern[0].content.Set.elements = (char **)0x0;
      uVar1 = glob->size;
      pUVar5 = (URLGlob *)(pUVar5->pattern + 1);
    } while (uVar6 < uVar1);
  }
LAB_00027730:
  (*(code *)PTR_free_000542cc)(glob->glob_buffer);
                    /* WARNING: Could not recover jumptable at 0x00027768. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(code *)PTR_free_000542cc)(glob);
  return;
}



void glob_cleanup(int *param_1)

{
  uint uVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  int *piVar5;
  uint uVar6;
  
  uVar1 = param_1[700];
  if (uVar1 != 0) {
    uVar6 = 0;
    piVar5 = param_1;
    do {
      while ((*piVar5 != 1 || (iVar2 = piVar5[2], iVar2 == 0))) {
        uVar6 = uVar6 + 1;
        piVar5 = piVar5 + 7;
        if (uVar1 <= uVar6) goto LAB_00027730;
      }
      iVar4 = piVar5[3] + -1;
      if (-1 < iVar4) {
        do {
          iVar3 = iVar4 * 4;
          iVar4 = iVar4 + -1;
          (*(code *)PTR_free_000542cc)(*(undefined4 *)(iVar2 + iVar3));
          iVar2 = piVar5[2];
          *(undefined4 *)(iVar2 + iVar3) = 0;
        } while (iVar4 != -1);
      }
      uVar6 = uVar6 + 1;
      (*(code *)PTR_free_000542cc)();
      piVar5[2] = 0;
      uVar1 = param_1[700];
      piVar5 = piVar5 + 7;
    } while (uVar6 < uVar1);
  }
LAB_00027730:
  (*(code *)PTR_free_000542cc)(param_1[0x2be]);
                    /* WARNING: Could not recover jumptable at 0x00027768. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(code *)PTR_free_000542cc)(param_1);
  return;
}


lui gp,0x3
addiu gp,gp,0x49c0
addu gp,gp,t9
addiu sp,sp,-0x38
lw v1,0xaf0(a0)
sw gp,0x10(sp)
sw s4,0x28(sp)
or s4,a0,zero
sw ra,0x34(sp)
sw s6,0x30(sp)
sw s5,0x2c(sp)
sw s3,0x24(sp)
sw s2,0x20(sp)
sw s1,0x1c(sp)
beq v1,zero,0x00027730
_sw s0,0x18(sp)
or s6,zero,zero
li s3,0x1
li s2,-0x1
b 0x000276b4
_or s5,a0,zero
addiu s6,s6,0x1
sltu v0,s6,v1
beq v0,zero,0x00027730
_addiu s5,s5,0x1c
lw v0,0x0(s5)
bne v0,s3,0x000276a4
_nop
lw a0,0x8(s5)
beq a0,zero,0x000276a4
_nop
lw s1,0xc(s5)
addiu s1,s1,-0x1
bltz s1,0x0002770c
_lw t9,-0x7d44(gp)
sll s0,s1,0x2
lw t9,-0x7d44(gp)
addiu s1,s1,-0x1
addu a0,a0,s0
jalr t9
_lw a0,0x0(a0)
lw a0,0x8(s5)
lw gp,0x10(sp)
addu s0,a0,s0
bne s1,s2,0x000276dc
_sw zero,0x0(s0)
lw t9,-0x7d44(gp)
addiu s6,s6,0x1
jalr t9
_addiu s5,s5,0x1c
lw gp,0x10(sp)
sw zero,-0x14(s5)
lw v1,0xaf0(s4)
sltu v0,s6,v1
bne v0,zero,0x000276b4
_nop
lw t9,-0x7d44(gp)
jalr t9
_lw a0,0xaf8(s4)
or a0,s4,zero
lw gp,0x10(sp)
lw ra,0x34(sp)
lw s6,0x30(sp)
lw s5,0x2c(sp)
lw s4,0x28(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
lw t9,-0x7d44(gp)
jr t9
_addiu sp,sp,0x38
(translation_unit "void glob_cleanup(int *param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int *piVar5;\n  uint uVar6;\n  \n  uVar1 = param_1[700];\n  if (uVar1 != 0) {\n    uVar6 = 0;\n    piVar5 = param_1;\n    do {\n      while ((*piVar5 != 1 || (iVar2 = piVar5[2], iVar2 == 0))) {\n        uVar6 = uVar6 + 1;\n        piVar5 = piVar5 + 7;\n        if (uVar1 <= uVar6) goto LAB_00027730;\n      }\n      iVar4 = piVar5[3] + -1;\n      if (-1 < iVar4) {\n        do {\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + -1;\n          (*(code *)PTR_free_000542cc)(*(undefined4 *)(iVar2 + iVar3));\n          iVar2 = piVar5[2];\n          *(undefined4 *)(iVar2 + iVar3) = 0;\n        } while (iVar4 != -1);\n      }\n      uVar6 = uVar6 + 1;\n      (*(code *)PTR_free_000542cc)();\n      piVar5[2] = 0;\n      uVar1 = param_1[700];\n      piVar5 = piVar5 + 7;\n    } while (uVar6 < uVar1);\n  }\nLAB_00027730:\n  (*(code *)PTR_free_000542cc)(param_1[0x2be]);\n                    /* WARNING: Could not recover jumptable at 0x00027768. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_free_000542cc)(param_1);\n  return;\n}\n\n" (function_definition "void glob_cleanup(int *param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int *piVar5;\n  uint uVar6;\n  \n  uVar1 = param_1[700];\n  if (uVar1 != 0) {\n    uVar6 = 0;\n    piVar5 = param_1;\n    do {\n      while ((*piVar5 != 1 || (iVar2 = piVar5[2], iVar2 == 0))) {\n        uVar6 = uVar6 + 1;\n        piVar5 = piVar5 + 7;\n        if (uVar1 <= uVar6) goto LAB_00027730;\n      }\n      iVar4 = piVar5[3] + -1;\n      if (-1 < iVar4) {\n        do {\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + -1;\n          (*(code *)PTR_free_000542cc)(*(undefined4 *)(iVar2 + iVar3));\n          iVar2 = piVar5[2];\n          *(undefined4 *)(iVar2 + iVar3) = 0;\n        } while (iVar4 != -1);\n      }\n      uVar6 = uVar6 + 1;\n      (*(code *)PTR_free_000542cc)();\n      piVar5[2] = 0;\n      uVar1 = param_1[700];\n      piVar5 = piVar5 + 7;\n    } while (uVar6 < uVar1);\n  }\nLAB_00027730:\n  (*(code *)PTR_free_000542cc)(param_1[0x2be]);\n                    /* WARNING: Could not recover jumptable at 0x00027768. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_free_000542cc)(param_1);\n  return;\n}" primitive_type (function_declarator "glob_cleanup(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int *piVar5;\n  uint uVar6;\n  \n  uVar1 = param_1[700];\n  if (uVar1 != 0) {\n    uVar6 = 0;\n    piVar5 = param_1;\n    do {\n      while ((*piVar5 != 1 || (iVar2 = piVar5[2], iVar2 == 0))) {\n        uVar6 = uVar6 + 1;\n        piVar5 = piVar5 + 7;\n        if (uVar1 <= uVar6) goto LAB_00027730;\n      }\n      iVar4 = piVar5[3] + -1;\n      if (-1 < iVar4) {\n        do {\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + -1;\n          (*(code *)PTR_free_000542cc)(*(undefined4 *)(iVar2 + iVar3));\n          iVar2 = piVar5[2];\n          *(undefined4 *)(iVar2 + iVar3) = 0;\n        } while (iVar4 != -1);\n      }\n      uVar6 = uVar6 + 1;\n      (*(code *)PTR_free_000542cc)();\n      piVar5[2] = 0;\n      uVar1 = param_1[700];\n      piVar5 = piVar5 + 7;\n    } while (uVar6 < uVar1);\n  }\nLAB_00027730:\n  (*(code *)PTR_free_000542cc)(param_1[0x2be]);\n                    /* WARNING: Could not recover jumptable at 0x00027768. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_free_000542cc)(param_1);\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (expression_statement "uVar1 = param_1[700];" (assignment_expression "uVar1 = param_1[700]" identifier = (subscript_expression "param_1[700]" identifier [ number_literal ])) ;) (if_statement "if (uVar1 != 0) {\n    uVar6 = 0;\n    piVar5 = param_1;\n    do {\n      while ((*piVar5 != 1 || (iVar2 = piVar5[2], iVar2 == 0))) {\n        uVar6 = uVar6 + 1;\n        piVar5 = piVar5 + 7;\n        if (uVar1 <= uVar6) goto LAB_00027730;\n      }\n      iVar4 = piVar5[3] + -1;\n      if (-1 < iVar4) {\n        do {\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + -1;\n          (*(code *)PTR_free_000542cc)(*(undefined4 *)(iVar2 + iVar3));\n          iVar2 = piVar5[2];\n          *(undefined4 *)(iVar2 + iVar3) = 0;\n        } while (iVar4 != -1);\n      }\n      uVar6 = uVar6 + 1;\n      (*(code *)PTR_free_000542cc)();\n      piVar5[2] = 0;\n      uVar1 = param_1[700];\n      piVar5 = piVar5 + 7;\n    } while (uVar6 < uVar1);\n  }" if (parenthesized_expression "(uVar1 != 0)" ( (binary_expression "uVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar6 = 0;\n    piVar5 = param_1;\n    do {\n      while ((*piVar5 != 1 || (iVar2 = piVar5[2], iVar2 == 0))) {\n        uVar6 = uVar6 + 1;\n        piVar5 = piVar5 + 7;\n        if (uVar1 <= uVar6) goto LAB_00027730;\n      }\n      iVar4 = piVar5[3] + -1;\n      if (-1 < iVar4) {\n        do {\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + -1;\n          (*(code *)PTR_free_000542cc)(*(undefined4 *)(iVar2 + iVar3));\n          iVar2 = piVar5[2];\n          *(undefined4 *)(iVar2 + iVar3) = 0;\n        } while (iVar4 != -1);\n      }\n      uVar6 = uVar6 + 1;\n      (*(code *)PTR_free_000542cc)();\n      piVar5[2] = 0;\n      uVar1 = param_1[700];\n      piVar5 = piVar5 + 7;\n    } while (uVar6 < uVar1);\n  }" { (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (expression_statement "piVar5 = param_1;" (assignment_expression "piVar5 = param_1" identifier = identifier) ;) (do_statement "do {\n      while ((*piVar5 != 1 || (iVar2 = piVar5[2], iVar2 == 0))) {\n        uVar6 = uVar6 + 1;\n        piVar5 = piVar5 + 7;\n        if (uVar1 <= uVar6) goto LAB_00027730;\n      }\n      iVar4 = piVar5[3] + -1;\n      if (-1 < iVar4) {\n        do {\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + -1;\n          (*(code *)PTR_free_000542cc)(*(undefined4 *)(iVar2 + iVar3));\n          iVar2 = piVar5[2];\n          *(undefined4 *)(iVar2 + iVar3) = 0;\n        } while (iVar4 != -1);\n      }\n      uVar6 = uVar6 + 1;\n      (*(code *)PTR_free_000542cc)();\n      piVar5[2] = 0;\n      uVar1 = param_1[700];\n      piVar5 = piVar5 + 7;\n    } while (uVar6 < uVar1);" do (compound_statement "{\n      while ((*piVar5 != 1 || (iVar2 = piVar5[2], iVar2 == 0))) {\n        uVar6 = uVar6 + 1;\n        piVar5 = piVar5 + 7;\n        if (uVar1 <= uVar6) goto LAB_00027730;\n      }\n      iVar4 = piVar5[3] + -1;\n      if (-1 < iVar4) {\n        do {\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + -1;\n          (*(code *)PTR_free_000542cc)(*(undefined4 *)(iVar2 + iVar3));\n          iVar2 = piVar5[2];\n          *(undefined4 *)(iVar2 + iVar3) = 0;\n        } while (iVar4 != -1);\n      }\n      uVar6 = uVar6 + 1;\n      (*(code *)PTR_free_000542cc)();\n      piVar5[2] = 0;\n      uVar1 = param_1[700];\n      piVar5 = piVar5 + 7;\n    }" { (while_statement "while ((*piVar5 != 1 || (iVar2 = piVar5[2], iVar2 == 0))) {\n        uVar6 = uVar6 + 1;\n        piVar5 = piVar5 + 7;\n        if (uVar1 <= uVar6) goto LAB_00027730;\n      }" while (parenthesized_expression "((*piVar5 != 1 || (iVar2 = piVar5[2], iVar2 == 0)))" ( (parenthesized_expression "(*piVar5 != 1 || (iVar2 = piVar5[2], iVar2 == 0))" ( (binary_expression "*piVar5 != 1 || (iVar2 = piVar5[2], iVar2 == 0)" (binary_expression "*piVar5 != 1" (pointer_expression "*piVar5" * identifier) != number_literal) || (parenthesized_expression "(iVar2 = piVar5[2], iVar2 == 0)" ( (comma_expression "iVar2 = piVar5[2], iVar2 == 0" (assignment_expression "iVar2 = piVar5[2]" identifier = (subscript_expression "piVar5[2]" identifier [ number_literal ])) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) )) (compound_statement "{\n        uVar6 = uVar6 + 1;\n        piVar5 = piVar5 + 7;\n        if (uVar1 <= uVar6) goto LAB_00027730;\n      }" { (expression_statement "uVar6 = uVar6 + 1;" (assignment_expression "uVar6 = uVar6 + 1" identifier = (binary_expression "uVar6 + 1" identifier + number_literal)) ;) (expression_statement "piVar5 = piVar5 + 7;" (assignment_expression "piVar5 = piVar5 + 7" identifier = (binary_expression "piVar5 + 7" identifier + number_literal)) ;) (if_statement "if (uVar1 <= uVar6) goto LAB_00027730;" if (parenthesized_expression "(uVar1 <= uVar6)" ( (binary_expression "uVar1 <= uVar6" identifier <= identifier) )) (goto_statement "goto LAB_00027730;" goto statement_identifier ;)) })) (expression_statement "iVar4 = piVar5[3] + -1;" (assignment_expression "iVar4 = piVar5[3] + -1" identifier = (binary_expression "piVar5[3] + -1" (subscript_expression "piVar5[3]" identifier [ number_literal ]) + number_literal)) ;) (if_statement "if (-1 < iVar4) {\n        do {\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + -1;\n          (*(code *)PTR_free_000542cc)(*(undefined4 *)(iVar2 + iVar3));\n          iVar2 = piVar5[2];\n          *(undefined4 *)(iVar2 + iVar3) = 0;\n        } while (iVar4 != -1);\n      }" if (parenthesized_expression "(-1 < iVar4)" ( (binary_expression "-1 < iVar4" number_literal < identifier) )) (compound_statement "{\n        do {\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + -1;\n          (*(code *)PTR_free_000542cc)(*(undefined4 *)(iVar2 + iVar3));\n          iVar2 = piVar5[2];\n          *(undefined4 *)(iVar2 + iVar3) = 0;\n        } while (iVar4 != -1);\n      }" { (do_statement "do {\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + -1;\n          (*(code *)PTR_free_000542cc)(*(undefined4 *)(iVar2 + iVar3));\n          iVar2 = piVar5[2];\n          *(undefined4 *)(iVar2 + iVar3) = 0;\n        } while (iVar4 != -1);" do (compound_statement "{\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + -1;\n          (*(code *)PTR_free_000542cc)(*(undefined4 *)(iVar2 + iVar3));\n          iVar2 = piVar5[2];\n          *(undefined4 *)(iVar2 + iVar3) = 0;\n        }" { (expression_statement "iVar3 = iVar4 * 4;" (assignment_expression "iVar3 = iVar4 * 4" identifier = (binary_expression "iVar4 * 4" identifier * number_literal)) ;) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_free_000542cc)(*(undefined4 *)(iVar2 + iVar3));" (call_expression "(*(code *)PTR_free_000542cc)(*(undefined4 *)(iVar2 + iVar3))" (parenthesized_expression "(*(code *)PTR_free_000542cc)" ( (pointer_expression "*(code *)PTR_free_000542cc" * (cast_expression "(code *)PTR_free_000542cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(iVar2 + iVar3))" ( (pointer_expression "*(undefined4 *)(iVar2 + iVar3)" * (cast_expression "(undefined4 *)(iVar2 + iVar3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + iVar3)" ( (binary_expression "iVar2 + iVar3" identifier + identifier) )))) ))) ;) (expression_statement "iVar2 = piVar5[2];" (assignment_expression "iVar2 = piVar5[2]" identifier = (subscript_expression "piVar5[2]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(iVar2 + iVar3) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + iVar3) = 0" (pointer_expression "*(undefined4 *)(iVar2 + iVar3)" * (cast_expression "(undefined4 *)(iVar2 + iVar3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + iVar3)" ( (binary_expression "iVar2 + iVar3" identifier + identifier) )))) = number_literal) ;) }) while (parenthesized_expression "(iVar4 != -1)" ( (binary_expression "iVar4 != -1" identifier != number_literal) )) ;) })) (expression_statement "uVar6 = uVar6 + 1;" (assignment_expression "uVar6 = uVar6 + 1" identifier = (binary_expression "uVar6 + 1" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_free_000542cc)();" (call_expression "(*(code *)PTR_free_000542cc)()" (parenthesized_expression "(*(code *)PTR_free_000542cc)" ( (pointer_expression "*(code *)PTR_free_000542cc" * (cast_expression "(code *)PTR_free_000542cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "piVar5[2] = 0;" (assignment_expression "piVar5[2] = 0" (subscript_expression "piVar5[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "uVar1 = param_1[700];" (assignment_expression "uVar1 = param_1[700]" identifier = (subscript_expression "param_1[700]" identifier [ number_literal ])) ;) (expression_statement "piVar5 = piVar5 + 7;" (assignment_expression "piVar5 = piVar5 + 7" identifier = (binary_expression "piVar5 + 7" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar6 < uVar1)" ( (binary_expression "uVar6 < uVar1" identifier < identifier) )) ;) })) (labeled_statement "LAB_00027730:\n  (*(code *)PTR_free_000542cc)(param_1[0x2be]);" statement_identifier : (expression_statement "(*(code *)PTR_free_000542cc)(param_1[0x2be]);" (call_expression "(*(code *)PTR_free_000542cc)(param_1[0x2be])" (parenthesized_expression "(*(code *)PTR_free_000542cc)" ( (pointer_expression "*(code *)PTR_free_000542cc" * (cast_expression "(code *)PTR_free_000542cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[0x2be])" ( (subscript_expression "param_1[0x2be]" identifier [ number_literal ]) ))) ;)) comment comment (expression_statement "(*(code *)PTR_free_000542cc)(param_1);" (call_expression "(*(code *)PTR_free_000542cc)(param_1)" (parenthesized_expression "(*(code *)PTR_free_000542cc)" ( (pointer_expression "*(code *)PTR_free_000542cc" * (cast_expression "(code *)PTR_free_000542cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void glob_cleanup(URLGlob *glob)\n\n{\n  uint uVar1;\n  char **ppcVar2;\n  int iVar3;\n  int iVar4;\n  URLGlob *pUVar5;\n  uint uVar6;\n  \n  uVar1 = glob->size;\n  if (uVar1 != 0) {\n    uVar6 = 0;\n    pUVar5 = glob;\n    do {\n      while ((pUVar5->pattern[0].type != UPTSet ||\n             (ppcVar2 = pUVar5->pattern[0].content.Set.elements, ppcVar2 == (char **)0x0))) {\n        uVar6 = uVar6 + 1;\n        pUVar5 = (URLGlob *)(pUVar5->pattern + 1);\n        if (uVar1 <= uVar6) goto LAB_00027730;\n      }\n      iVar3 = pUVar5->pattern[0].content.Set.size + -1;\n      if (-1 < iVar3) {\n        do {\n          iVar4 = iVar3 + -1;\n          (*(code *)PTR_free_000542cc)(ppcVar2[iVar3]);\n          ppcVar2 = pUVar5->pattern[0].content.Set.elements;\n          ppcVar2[iVar3] = (char *)0x0;\n          iVar3 = iVar4;\n        } while (iVar4 != -1);\n      }\n      uVar6 = uVar6 + 1;\n      (*(code *)PTR_free_000542cc)();\n      pUVar5->pattern[0].content.Set.elements = (char **)0x0;\n      uVar1 = glob->size;\n      pUVar5 = (URLGlob *)(pUVar5->pattern + 1);\n    } while (uVar6 < uVar1);\n  }\nLAB_00027730:\n  (*(code *)PTR_free_000542cc)(glob->glob_buffer);\n                    /* WARNING: Could not recover jumptable at 0x00027768. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_free_000542cc)(glob);\n  return;\n}\n\n" (function_definition "void glob_cleanup(URLGlob *glob)\n\n{\n  uint uVar1;\n  char **ppcVar2;\n  int iVar3;\n  int iVar4;\n  URLGlob *pUVar5;\n  uint uVar6;\n  \n  uVar1 = glob->size;\n  if (uVar1 != 0) {\n    uVar6 = 0;\n    pUVar5 = glob;\n    do {\n      while ((pUVar5->pattern[0].type != UPTSet ||\n             (ppcVar2 = pUVar5->pattern[0].content.Set.elements, ppcVar2 == (char **)0x0))) {\n        uVar6 = uVar6 + 1;\n        pUVar5 = (URLGlob *)(pUVar5->pattern + 1);\n        if (uVar1 <= uVar6) goto LAB_00027730;\n      }\n      iVar3 = pUVar5->pattern[0].content.Set.size + -1;\n      if (-1 < iVar3) {\n        do {\n          iVar4 = iVar3 + -1;\n          (*(code *)PTR_free_000542cc)(ppcVar2[iVar3]);\n          ppcVar2 = pUVar5->pattern[0].content.Set.elements;\n          ppcVar2[iVar3] = (char *)0x0;\n          iVar3 = iVar4;\n        } while (iVar4 != -1);\n      }\n      uVar6 = uVar6 + 1;\n      (*(code *)PTR_free_000542cc)();\n      pUVar5->pattern[0].content.Set.elements = (char **)0x0;\n      uVar1 = glob->size;\n      pUVar5 = (URLGlob *)(pUVar5->pattern + 1);\n    } while (uVar6 < uVar1);\n  }\nLAB_00027730:\n  (*(code *)PTR_free_000542cc)(glob->glob_buffer);\n                    /* WARNING: Could not recover jumptable at 0x00027768. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_free_000542cc)(glob);\n  return;\n}" primitive_type (function_declarator "glob_cleanup(URLGlob *glob)" identifier (parameter_list "(URLGlob *glob)" ( (parameter_declaration "URLGlob *glob" type_identifier (pointer_declarator "*glob" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  char **ppcVar2;\n  int iVar3;\n  int iVar4;\n  URLGlob *pUVar5;\n  uint uVar6;\n  \n  uVar1 = glob->size;\n  if (uVar1 != 0) {\n    uVar6 = 0;\n    pUVar5 = glob;\n    do {\n      while ((pUVar5->pattern[0].type != UPTSet ||\n             (ppcVar2 = pUVar5->pattern[0].content.Set.elements, ppcVar2 == (char **)0x0))) {\n        uVar6 = uVar6 + 1;\n        pUVar5 = (URLGlob *)(pUVar5->pattern + 1);\n        if (uVar1 <= uVar6) goto LAB_00027730;\n      }\n      iVar3 = pUVar5->pattern[0].content.Set.size + -1;\n      if (-1 < iVar3) {\n        do {\n          iVar4 = iVar3 + -1;\n          (*(code *)PTR_free_000542cc)(ppcVar2[iVar3]);\n          ppcVar2 = pUVar5->pattern[0].content.Set.elements;\n          ppcVar2[iVar3] = (char *)0x0;\n          iVar3 = iVar4;\n        } while (iVar4 != -1);\n      }\n      uVar6 = uVar6 + 1;\n      (*(code *)PTR_free_000542cc)();\n      pUVar5->pattern[0].content.Set.elements = (char **)0x0;\n      uVar1 = glob->size;\n      pUVar5 = (URLGlob *)(pUVar5->pattern + 1);\n    } while (uVar6 < uVar1);\n  }\nLAB_00027730:\n  (*(code *)PTR_free_000542cc)(glob->glob_buffer);\n                    /* WARNING: Could not recover jumptable at 0x00027768. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_free_000542cc)(glob);\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "char **ppcVar2;" primitive_type (pointer_declarator "**ppcVar2" * (pointer_declarator "*ppcVar2" * identifier)) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "URLGlob *pUVar5;" type_identifier (pointer_declarator "*pUVar5" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (expression_statement "uVar1 = glob->size;" (assignment_expression "uVar1 = glob->size" identifier = (field_expression "glob->size" identifier -> field_identifier)) ;) (if_statement "if (uVar1 != 0) {\n    uVar6 = 0;\n    pUVar5 = glob;\n    do {\n      while ((pUVar5->pattern[0].type != UPTSet ||\n             (ppcVar2 = pUVar5->pattern[0].content.Set.elements, ppcVar2 == (char **)0x0))) {\n        uVar6 = uVar6 + 1;\n        pUVar5 = (URLGlob *)(pUVar5->pattern + 1);\n        if (uVar1 <= uVar6) goto LAB_00027730;\n      }\n      iVar3 = pUVar5->pattern[0].content.Set.size + -1;\n      if (-1 < iVar3) {\n        do {\n          iVar4 = iVar3 + -1;\n          (*(code *)PTR_free_000542cc)(ppcVar2[iVar3]);\n          ppcVar2 = pUVar5->pattern[0].content.Set.elements;\n          ppcVar2[iVar3] = (char *)0x0;\n          iVar3 = iVar4;\n        } while (iVar4 != -1);\n      }\n      uVar6 = uVar6 + 1;\n      (*(code *)PTR_free_000542cc)();\n      pUVar5->pattern[0].content.Set.elements = (char **)0x0;\n      uVar1 = glob->size;\n      pUVar5 = (URLGlob *)(pUVar5->pattern + 1);\n    } while (uVar6 < uVar1);\n  }" if (parenthesized_expression "(uVar1 != 0)" ( (binary_expression "uVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar6 = 0;\n    pUVar5 = glob;\n    do {\n      while ((pUVar5->pattern[0].type != UPTSet ||\n             (ppcVar2 = pUVar5->pattern[0].content.Set.elements, ppcVar2 == (char **)0x0))) {\n        uVar6 = uVar6 + 1;\n        pUVar5 = (URLGlob *)(pUVar5->pattern + 1);\n        if (uVar1 <= uVar6) goto LAB_00027730;\n      }\n      iVar3 = pUVar5->pattern[0].content.Set.size + -1;\n      if (-1 < iVar3) {\n        do {\n          iVar4 = iVar3 + -1;\n          (*(code *)PTR_free_000542cc)(ppcVar2[iVar3]);\n          ppcVar2 = pUVar5->pattern[0].content.Set.elements;\n          ppcVar2[iVar3] = (char *)0x0;\n          iVar3 = iVar4;\n        } while (iVar4 != -1);\n      }\n      uVar6 = uVar6 + 1;\n      (*(code *)PTR_free_000542cc)();\n      pUVar5->pattern[0].content.Set.elements = (char **)0x0;\n      uVar1 = glob->size;\n      pUVar5 = (URLGlob *)(pUVar5->pattern + 1);\n    } while (uVar6 < uVar1);\n  }" { (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (expression_statement "pUVar5 = glob;" (assignment_expression "pUVar5 = glob" identifier = identifier) ;) (do_statement "do {\n      while ((pUVar5->pattern[0].type != UPTSet ||\n             (ppcVar2 = pUVar5->pattern[0].content.Set.elements, ppcVar2 == (char **)0x0))) {\n        uVar6 = uVar6 + 1;\n        pUVar5 = (URLGlob *)(pUVar5->pattern + 1);\n        if (uVar1 <= uVar6) goto LAB_00027730;\n      }\n      iVar3 = pUVar5->pattern[0].content.Set.size + -1;\n      if (-1 < iVar3) {\n        do {\n          iVar4 = iVar3 + -1;\n          (*(code *)PTR_free_000542cc)(ppcVar2[iVar3]);\n          ppcVar2 = pUVar5->pattern[0].content.Set.elements;\n          ppcVar2[iVar3] = (char *)0x0;\n          iVar3 = iVar4;\n        } while (iVar4 != -1);\n      }\n      uVar6 = uVar6 + 1;\n      (*(code *)PTR_free_000542cc)();\n      pUVar5->pattern[0].content.Set.elements = (char **)0x0;\n      uVar1 = glob->size;\n      pUVar5 = (URLGlob *)(pUVar5->pattern + 1);\n    } while (uVar6 < uVar1);" do (compound_statement "{\n      while ((pUVar5->pattern[0].type != UPTSet ||\n             (ppcVar2 = pUVar5->pattern[0].content.Set.elements, ppcVar2 == (char **)0x0))) {\n        uVar6 = uVar6 + 1;\n        pUVar5 = (URLGlob *)(pUVar5->pattern + 1);\n        if (uVar1 <= uVar6) goto LAB_00027730;\n      }\n      iVar3 = pUVar5->pattern[0].content.Set.size + -1;\n      if (-1 < iVar3) {\n        do {\n          iVar4 = iVar3 + -1;\n          (*(code *)PTR_free_000542cc)(ppcVar2[iVar3]);\n          ppcVar2 = pUVar5->pattern[0].content.Set.elements;\n          ppcVar2[iVar3] = (char *)0x0;\n          iVar3 = iVar4;\n        } while (iVar4 != -1);\n      }\n      uVar6 = uVar6 + 1;\n      (*(code *)PTR_free_000542cc)();\n      pUVar5->pattern[0].content.Set.elements = (char **)0x0;\n      uVar1 = glob->size;\n      pUVar5 = (URLGlob *)(pUVar5->pattern + 1);\n    }" { (while_statement "while ((pUVar5->pattern[0].type != UPTSet ||\n             (ppcVar2 = pUVar5->pattern[0].content.Set.elements, ppcVar2 == (char **)0x0))) {\n        uVar6 = uVar6 + 1;\n        pUVar5 = (URLGlob *)(pUVar5->pattern + 1);\n        if (uVar1 <= uVar6) goto LAB_00027730;\n      }" while (parenthesized_expression "((pUVar5->pattern[0].type != UPTSet ||\n             (ppcVar2 = pUVar5->pattern[0].content.Set.elements, ppcVar2 == (char **)0x0)))" ( (parenthesized_expression "(pUVar5->pattern[0].type != UPTSet ||\n             (ppcVar2 = pUVar5->pattern[0].content.Set.elements, ppcVar2 == (char **)0x0))" ( (binary_expression "pUVar5->pattern[0].type != UPTSet ||\n             (ppcVar2 = pUVar5->pattern[0].content.Set.elements, ppcVar2 == (char **)0x0)" (binary_expression "pUVar5->pattern[0].type != UPTSet" (field_expression "pUVar5->pattern[0].type" (subscript_expression "pUVar5->pattern[0]" (field_expression "pUVar5->pattern" identifier -> field_identifier) [ number_literal ]) . field_identifier) != identifier) || (parenthesized_expression "(ppcVar2 = pUVar5->pattern[0].content.Set.elements, ppcVar2 == (char **)0x0)" ( (comma_expression "ppcVar2 = pUVar5->pattern[0].content.Set.elements, ppcVar2 == (char **)0x0" (assignment_expression "ppcVar2 = pUVar5->pattern[0].content.Set.elements" identifier = (field_expression "pUVar5->pattern[0].content.Set.elements" (field_expression "pUVar5->pattern[0].content.Set" (field_expression "pUVar5->pattern[0].content" (subscript_expression "pUVar5->pattern[0]" (field_expression "pUVar5->pattern" identifier -> field_identifier) [ number_literal ]) . field_identifier) . field_identifier) . field_identifier)) , (binary_expression "ppcVar2 == (char **)0x0" identifier == (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal))) ))) )) )) (compound_statement "{\n        uVar6 = uVar6 + 1;\n        pUVar5 = (URLGlob *)(pUVar5->pattern + 1);\n        if (uVar1 <= uVar6) goto LAB_00027730;\n      }" { (expression_statement "uVar6 = uVar6 + 1;" (assignment_expression "uVar6 = uVar6 + 1" identifier = (binary_expression "uVar6 + 1" identifier + number_literal)) ;) (expression_statement "pUVar5 = (URLGlob *)(pUVar5->pattern + 1);" (assignment_expression "pUVar5 = (URLGlob *)(pUVar5->pattern + 1)" identifier = (cast_expression "(URLGlob *)(pUVar5->pattern + 1)" ( (type_descriptor "URLGlob *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pUVar5->pattern + 1)" ( (binary_expression "pUVar5->pattern + 1" (field_expression "pUVar5->pattern" identifier -> field_identifier) + number_literal) )))) ;) (if_statement "if (uVar1 <= uVar6) goto LAB_00027730;" if (parenthesized_expression "(uVar1 <= uVar6)" ( (binary_expression "uVar1 <= uVar6" identifier <= identifier) )) (goto_statement "goto LAB_00027730;" goto statement_identifier ;)) })) (expression_statement "iVar3 = pUVar5->pattern[0].content.Set.size + -1;" (assignment_expression "iVar3 = pUVar5->pattern[0].content.Set.size + -1" identifier = (binary_expression "pUVar5->pattern[0].content.Set.size + -1" (field_expression "pUVar5->pattern[0].content.Set.size" (field_expression "pUVar5->pattern[0].content.Set" (field_expression "pUVar5->pattern[0].content" (subscript_expression "pUVar5->pattern[0]" (field_expression "pUVar5->pattern" identifier -> field_identifier) [ number_literal ]) . field_identifier) . field_identifier) . field_identifier) + number_literal)) ;) (if_statement "if (-1 < iVar3) {\n        do {\n          iVar4 = iVar3 + -1;\n          (*(code *)PTR_free_000542cc)(ppcVar2[iVar3]);\n          ppcVar2 = pUVar5->pattern[0].content.Set.elements;\n          ppcVar2[iVar3] = (char *)0x0;\n          iVar3 = iVar4;\n        } while (iVar4 != -1);\n      }" if (parenthesized_expression "(-1 < iVar3)" ( (binary_expression "-1 < iVar3" number_literal < identifier) )) (compound_statement "{\n        do {\n          iVar4 = iVar3 + -1;\n          (*(code *)PTR_free_000542cc)(ppcVar2[iVar3]);\n          ppcVar2 = pUVar5->pattern[0].content.Set.elements;\n          ppcVar2[iVar3] = (char *)0x0;\n          iVar3 = iVar4;\n        } while (iVar4 != -1);\n      }" { (do_statement "do {\n          iVar4 = iVar3 + -1;\n          (*(code *)PTR_free_000542cc)(ppcVar2[iVar3]);\n          ppcVar2 = pUVar5->pattern[0].content.Set.elements;\n          ppcVar2[iVar3] = (char *)0x0;\n          iVar3 = iVar4;\n        } while (iVar4 != -1);" do (compound_statement "{\n          iVar4 = iVar3 + -1;\n          (*(code *)PTR_free_000542cc)(ppcVar2[iVar3]);\n          ppcVar2 = pUVar5->pattern[0].content.Set.elements;\n          ppcVar2[iVar3] = (char *)0x0;\n          iVar3 = iVar4;\n        }" { (expression_statement "iVar4 = iVar3 + -1;" (assignment_expression "iVar4 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_free_000542cc)(ppcVar2[iVar3]);" (call_expression "(*(code *)PTR_free_000542cc)(ppcVar2[iVar3])" (parenthesized_expression "(*(code *)PTR_free_000542cc)" ( (pointer_expression "*(code *)PTR_free_000542cc" * (cast_expression "(code *)PTR_free_000542cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(ppcVar2[iVar3])" ( (subscript_expression "ppcVar2[iVar3]" identifier [ identifier ]) ))) ;) (expression_statement "ppcVar2 = pUVar5->pattern[0].content.Set.elements;" (assignment_expression "ppcVar2 = pUVar5->pattern[0].content.Set.elements" identifier = (field_expression "pUVar5->pattern[0].content.Set.elements" (field_expression "pUVar5->pattern[0].content.Set" (field_expression "pUVar5->pattern[0].content" (subscript_expression "pUVar5->pattern[0]" (field_expression "pUVar5->pattern" identifier -> field_identifier) [ number_literal ]) . field_identifier) . field_identifier) . field_identifier)) ;) (expression_statement "ppcVar2[iVar3] = (char *)0x0;" (assignment_expression "ppcVar2[iVar3] = (char *)0x0" (subscript_expression "ppcVar2[iVar3]" identifier [ identifier ]) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar3 = iVar4;" (assignment_expression "iVar3 = iVar4" identifier = identifier) ;) }) while (parenthesized_expression "(iVar4 != -1)" ( (binary_expression "iVar4 != -1" identifier != number_literal) )) ;) })) (expression_statement "uVar6 = uVar6 + 1;" (assignment_expression "uVar6 = uVar6 + 1" identifier = (binary_expression "uVar6 + 1" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_free_000542cc)();" (call_expression "(*(code *)PTR_free_000542cc)()" (parenthesized_expression "(*(code *)PTR_free_000542cc)" ( (pointer_expression "*(code *)PTR_free_000542cc" * (cast_expression "(code *)PTR_free_000542cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "pUVar5->pattern[0].content.Set.elements = (char **)0x0;" (assignment_expression "pUVar5->pattern[0].content.Set.elements = (char **)0x0" (field_expression "pUVar5->pattern[0].content.Set.elements" (field_expression "pUVar5->pattern[0].content.Set" (field_expression "pUVar5->pattern[0].content" (subscript_expression "pUVar5->pattern[0]" (field_expression "pUVar5->pattern" identifier -> field_identifier) [ number_literal ]) . field_identifier) . field_identifier) . field_identifier) = (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) ;) (expression_statement "uVar1 = glob->size;" (assignment_expression "uVar1 = glob->size" identifier = (field_expression "glob->size" identifier -> field_identifier)) ;) (expression_statement "pUVar5 = (URLGlob *)(pUVar5->pattern + 1);" (assignment_expression "pUVar5 = (URLGlob *)(pUVar5->pattern + 1)" identifier = (cast_expression "(URLGlob *)(pUVar5->pattern + 1)" ( (type_descriptor "URLGlob *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pUVar5->pattern + 1)" ( (binary_expression "pUVar5->pattern + 1" (field_expression "pUVar5->pattern" identifier -> field_identifier) + number_literal) )))) ;) }) while (parenthesized_expression "(uVar6 < uVar1)" ( (binary_expression "uVar6 < uVar1" identifier < identifier) )) ;) })) (labeled_statement "LAB_00027730:\n  (*(code *)PTR_free_000542cc)(glob->glob_buffer);" statement_identifier : (expression_statement "(*(code *)PTR_free_000542cc)(glob->glob_buffer);" (call_expression "(*(code *)PTR_free_000542cc)(glob->glob_buffer)" (parenthesized_expression "(*(code *)PTR_free_000542cc)" ( (pointer_expression "*(code *)PTR_free_000542cc" * (cast_expression "(code *)PTR_free_000542cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(glob->glob_buffer)" ( (field_expression "glob->glob_buffer" identifier -> field_identifier) ))) ;)) comment comment (expression_statement "(*(code *)PTR_free_000542cc)(glob);" (call_expression "(*(code *)PTR_free_000542cc)(glob)" (parenthesized_expression "(*(code *)PTR_free_000542cc)" ( (pointer_expression "*(code *)PTR_free_000542cc" * (cast_expression "(code *)PTR_free_000542cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(glob)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void glob_cleanup(int *param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int *piVar5;\n  uint uVar6;\n  \n  uVar1 = param_1[700];\n  if (uVar1 != 0) {\n    uVar6 = 0;\n    piVar5 = param_1;\n    do {\n      while ((*piVar5 != 1 || (iVar2 = piVar5[2], iVar2 == 0))) {\n        uVar6 = uVar6 + 1;\n        piVar5 = piVar5 + 7;\n        if (uVar1 <= uVar6) goto LAB_00027730;\n      }\n      iVar4 = piVar5[3] + -1;\n      if (-1 < iVar4) {\n        do {\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + -1;\n          (*(code *)PTR_free_000542cc)(*(undefined4 *)(iVar2 + iVar3));\n          iVar2 = piVar5[2];\n          *(undefined4 *)(iVar2 + iVar3) = 0;\n        } while (iVar4 != -1);\n      }\n      uVar6 = uVar6 + 1;\n      (*(code *)PTR_free_000542cc)();\n      piVar5[2] = 0;\n      uVar1 = param_1[700];\n      piVar5 = piVar5 + 7;\n    } while (uVar6 < uVar1);\n  }\nLAB_00027730:\n  (*(code *)PTR_free_000542cc)(param_1[0x2be]);\n                    \n                    \n  (*(code *)PTR_free_000542cc)(param_1);\n  return;\n}\n\n" (function_definition "void glob_cleanup(int *param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int *piVar5;\n  uint uVar6;\n  \n  uVar1 = param_1[700];\n  if (uVar1 != 0) {\n    uVar6 = 0;\n    piVar5 = param_1;\n    do {\n      while ((*piVar5 != 1 || (iVar2 = piVar5[2], iVar2 == 0))) {\n        uVar6 = uVar6 + 1;\n        piVar5 = piVar5 + 7;\n        if (uVar1 <= uVar6) goto LAB_00027730;\n      }\n      iVar4 = piVar5[3] + -1;\n      if (-1 < iVar4) {\n        do {\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + -1;\n          (*(code *)PTR_free_000542cc)(*(undefined4 *)(iVar2 + iVar3));\n          iVar2 = piVar5[2];\n          *(undefined4 *)(iVar2 + iVar3) = 0;\n        } while (iVar4 != -1);\n      }\n      uVar6 = uVar6 + 1;\n      (*(code *)PTR_free_000542cc)();\n      piVar5[2] = 0;\n      uVar1 = param_1[700];\n      piVar5 = piVar5 + 7;\n    } while (uVar6 < uVar1);\n  }\nLAB_00027730:\n  (*(code *)PTR_free_000542cc)(param_1[0x2be]);\n                    \n                    \n  (*(code *)PTR_free_000542cc)(param_1);\n  return;\n}" primitive_type (function_declarator "glob_cleanup(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int *piVar5;\n  uint uVar6;\n  \n  uVar1 = param_1[700];\n  if (uVar1 != 0) {\n    uVar6 = 0;\n    piVar5 = param_1;\n    do {\n      while ((*piVar5 != 1 || (iVar2 = piVar5[2], iVar2 == 0))) {\n        uVar6 = uVar6 + 1;\n        piVar5 = piVar5 + 7;\n        if (uVar1 <= uVar6) goto LAB_00027730;\n      }\n      iVar4 = piVar5[3] + -1;\n      if (-1 < iVar4) {\n        do {\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + -1;\n          (*(code *)PTR_free_000542cc)(*(undefined4 *)(iVar2 + iVar3));\n          iVar2 = piVar5[2];\n          *(undefined4 *)(iVar2 + iVar3) = 0;\n        } while (iVar4 != -1);\n      }\n      uVar6 = uVar6 + 1;\n      (*(code *)PTR_free_000542cc)();\n      piVar5[2] = 0;\n      uVar1 = param_1[700];\n      piVar5 = piVar5 + 7;\n    } while (uVar6 < uVar1);\n  }\nLAB_00027730:\n  (*(code *)PTR_free_000542cc)(param_1[0x2be]);\n                    \n                    \n  (*(code *)PTR_free_000542cc)(param_1);\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (expression_statement "uVar1 = param_1[700];" (assignment_expression "uVar1 = param_1[700]" identifier = (subscript_expression "param_1[700]" identifier [ number_literal ])) ;) (if_statement "if (uVar1 != 0) {\n    uVar6 = 0;\n    piVar5 = param_1;\n    do {\n      while ((*piVar5 != 1 || (iVar2 = piVar5[2], iVar2 == 0))) {\n        uVar6 = uVar6 + 1;\n        piVar5 = piVar5 + 7;\n        if (uVar1 <= uVar6) goto LAB_00027730;\n      }\n      iVar4 = piVar5[3] + -1;\n      if (-1 < iVar4) {\n        do {\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + -1;\n          (*(code *)PTR_free_000542cc)(*(undefined4 *)(iVar2 + iVar3));\n          iVar2 = piVar5[2];\n          *(undefined4 *)(iVar2 + iVar3) = 0;\n        } while (iVar4 != -1);\n      }\n      uVar6 = uVar6 + 1;\n      (*(code *)PTR_free_000542cc)();\n      piVar5[2] = 0;\n      uVar1 = param_1[700];\n      piVar5 = piVar5 + 7;\n    } while (uVar6 < uVar1);\n  }" if (parenthesized_expression "(uVar1 != 0)" ( (binary_expression "uVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar6 = 0;\n    piVar5 = param_1;\n    do {\n      while ((*piVar5 != 1 || (iVar2 = piVar5[2], iVar2 == 0))) {\n        uVar6 = uVar6 + 1;\n        piVar5 = piVar5 + 7;\n        if (uVar1 <= uVar6) goto LAB_00027730;\n      }\n      iVar4 = piVar5[3] + -1;\n      if (-1 < iVar4) {\n        do {\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + -1;\n          (*(code *)PTR_free_000542cc)(*(undefined4 *)(iVar2 + iVar3));\n          iVar2 = piVar5[2];\n          *(undefined4 *)(iVar2 + iVar3) = 0;\n        } while (iVar4 != -1);\n      }\n      uVar6 = uVar6 + 1;\n      (*(code *)PTR_free_000542cc)();\n      piVar5[2] = 0;\n      uVar1 = param_1[700];\n      piVar5 = piVar5 + 7;\n    } while (uVar6 < uVar1);\n  }" { (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (expression_statement "piVar5 = param_1;" (assignment_expression "piVar5 = param_1" identifier = identifier) ;) (do_statement "do {\n      while ((*piVar5 != 1 || (iVar2 = piVar5[2], iVar2 == 0))) {\n        uVar6 = uVar6 + 1;\n        piVar5 = piVar5 + 7;\n        if (uVar1 <= uVar6) goto LAB_00027730;\n      }\n      iVar4 = piVar5[3] + -1;\n      if (-1 < iVar4) {\n        do {\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + -1;\n          (*(code *)PTR_free_000542cc)(*(undefined4 *)(iVar2 + iVar3));\n          iVar2 = piVar5[2];\n          *(undefined4 *)(iVar2 + iVar3) = 0;\n        } while (iVar4 != -1);\n      }\n      uVar6 = uVar6 + 1;\n      (*(code *)PTR_free_000542cc)();\n      piVar5[2] = 0;\n      uVar1 = param_1[700];\n      piVar5 = piVar5 + 7;\n    } while (uVar6 < uVar1);" do (compound_statement "{\n      while ((*piVar5 != 1 || (iVar2 = piVar5[2], iVar2 == 0))) {\n        uVar6 = uVar6 + 1;\n        piVar5 = piVar5 + 7;\n        if (uVar1 <= uVar6) goto LAB_00027730;\n      }\n      iVar4 = piVar5[3] + -1;\n      if (-1 < iVar4) {\n        do {\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + -1;\n          (*(code *)PTR_free_000542cc)(*(undefined4 *)(iVar2 + iVar3));\n          iVar2 = piVar5[2];\n          *(undefined4 *)(iVar2 + iVar3) = 0;\n        } while (iVar4 != -1);\n      }\n      uVar6 = uVar6 + 1;\n      (*(code *)PTR_free_000542cc)();\n      piVar5[2] = 0;\n      uVar1 = param_1[700];\n      piVar5 = piVar5 + 7;\n    }" { (while_statement "while ((*piVar5 != 1 || (iVar2 = piVar5[2], iVar2 == 0))) {\n        uVar6 = uVar6 + 1;\n        piVar5 = piVar5 + 7;\n        if (uVar1 <= uVar6) goto LAB_00027730;\n      }" while (parenthesized_expression "((*piVar5 != 1 || (iVar2 = piVar5[2], iVar2 == 0)))" ( (parenthesized_expression "(*piVar5 != 1 || (iVar2 = piVar5[2], iVar2 == 0))" ( (binary_expression "*piVar5 != 1 || (iVar2 = piVar5[2], iVar2 == 0)" (binary_expression "*piVar5 != 1" (pointer_expression "*piVar5" * identifier) != number_literal) || (parenthesized_expression "(iVar2 = piVar5[2], iVar2 == 0)" ( (comma_expression "iVar2 = piVar5[2], iVar2 == 0" (assignment_expression "iVar2 = piVar5[2]" identifier = (subscript_expression "piVar5[2]" identifier [ number_literal ])) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) )) (compound_statement "{\n        uVar6 = uVar6 + 1;\n        piVar5 = piVar5 + 7;\n        if (uVar1 <= uVar6) goto LAB_00027730;\n      }" { (expression_statement "uVar6 = uVar6 + 1;" (assignment_expression "uVar6 = uVar6 + 1" identifier = (binary_expression "uVar6 + 1" identifier + number_literal)) ;) (expression_statement "piVar5 = piVar5 + 7;" (assignment_expression "piVar5 = piVar5 + 7" identifier = (binary_expression "piVar5 + 7" identifier + number_literal)) ;) (if_statement "if (uVar1 <= uVar6) goto LAB_00027730;" if (parenthesized_expression "(uVar1 <= uVar6)" ( (binary_expression "uVar1 <= uVar6" identifier <= identifier) )) (goto_statement "goto LAB_00027730;" goto statement_identifier ;)) })) (expression_statement "iVar4 = piVar5[3] + -1;" (assignment_expression "iVar4 = piVar5[3] + -1" identifier = (binary_expression "piVar5[3] + -1" (subscript_expression "piVar5[3]" identifier [ number_literal ]) + number_literal)) ;) (if_statement "if (-1 < iVar4) {\n        do {\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + -1;\n          (*(code *)PTR_free_000542cc)(*(undefined4 *)(iVar2 + iVar3));\n          iVar2 = piVar5[2];\n          *(undefined4 *)(iVar2 + iVar3) = 0;\n        } while (iVar4 != -1);\n      }" if (parenthesized_expression "(-1 < iVar4)" ( (binary_expression "-1 < iVar4" number_literal < identifier) )) (compound_statement "{\n        do {\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + -1;\n          (*(code *)PTR_free_000542cc)(*(undefined4 *)(iVar2 + iVar3));\n          iVar2 = piVar5[2];\n          *(undefined4 *)(iVar2 + iVar3) = 0;\n        } while (iVar4 != -1);\n      }" { (do_statement "do {\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + -1;\n          (*(code *)PTR_free_000542cc)(*(undefined4 *)(iVar2 + iVar3));\n          iVar2 = piVar5[2];\n          *(undefined4 *)(iVar2 + iVar3) = 0;\n        } while (iVar4 != -1);" do (compound_statement "{\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + -1;\n          (*(code *)PTR_free_000542cc)(*(undefined4 *)(iVar2 + iVar3));\n          iVar2 = piVar5[2];\n          *(undefined4 *)(iVar2 + iVar3) = 0;\n        }" { (expression_statement "iVar3 = iVar4 * 4;" (assignment_expression "iVar3 = iVar4 * 4" identifier = (binary_expression "iVar4 * 4" identifier * number_literal)) ;) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_free_000542cc)(*(undefined4 *)(iVar2 + iVar3));" (call_expression "(*(code *)PTR_free_000542cc)(*(undefined4 *)(iVar2 + iVar3))" (parenthesized_expression "(*(code *)PTR_free_000542cc)" ( (pointer_expression "*(code *)PTR_free_000542cc" * (cast_expression "(code *)PTR_free_000542cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(iVar2 + iVar3))" ( (pointer_expression "*(undefined4 *)(iVar2 + iVar3)" * (cast_expression "(undefined4 *)(iVar2 + iVar3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + iVar3)" ( (binary_expression "iVar2 + iVar3" identifier + identifier) )))) ))) ;) (expression_statement "iVar2 = piVar5[2];" (assignment_expression "iVar2 = piVar5[2]" identifier = (subscript_expression "piVar5[2]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(iVar2 + iVar3) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + iVar3) = 0" (pointer_expression "*(undefined4 *)(iVar2 + iVar3)" * (cast_expression "(undefined4 *)(iVar2 + iVar3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + iVar3)" ( (binary_expression "iVar2 + iVar3" identifier + identifier) )))) = number_literal) ;) }) while (parenthesized_expression "(iVar4 != -1)" ( (binary_expression "iVar4 != -1" identifier != number_literal) )) ;) })) (expression_statement "uVar6 = uVar6 + 1;" (assignment_expression "uVar6 = uVar6 + 1" identifier = (binary_expression "uVar6 + 1" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_free_000542cc)();" (call_expression "(*(code *)PTR_free_000542cc)()" (parenthesized_expression "(*(code *)PTR_free_000542cc)" ( (pointer_expression "*(code *)PTR_free_000542cc" * (cast_expression "(code *)PTR_free_000542cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "piVar5[2] = 0;" (assignment_expression "piVar5[2] = 0" (subscript_expression "piVar5[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "uVar1 = param_1[700];" (assignment_expression "uVar1 = param_1[700]" identifier = (subscript_expression "param_1[700]" identifier [ number_literal ])) ;) (expression_statement "piVar5 = piVar5 + 7;" (assignment_expression "piVar5 = piVar5 + 7" identifier = (binary_expression "piVar5 + 7" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar6 < uVar1)" ( (binary_expression "uVar6 < uVar1" identifier < identifier) )) ;) })) (labeled_statement "LAB_00027730:\n  (*(code *)PTR_free_000542cc)(param_1[0x2be]);" statement_identifier : (expression_statement "(*(code *)PTR_free_000542cc)(param_1[0x2be]);" (call_expression "(*(code *)PTR_free_000542cc)(param_1[0x2be])" (parenthesized_expression "(*(code *)PTR_free_000542cc)" ( (pointer_expression "*(code *)PTR_free_000542cc" * (cast_expression "(code *)PTR_free_000542cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[0x2be])" ( (subscript_expression "param_1[0x2be]" identifier [ number_literal ]) ))) ;)) (expression_statement "(*(code *)PTR_free_000542cc)(param_1);" (call_expression "(*(code *)PTR_free_000542cc)(param_1)" (parenthesized_expression "(*(code *)PTR_free_000542cc)" ( (pointer_expression "*(code *)PTR_free_000542cc" * (cast_expression "(code *)PTR_free_000542cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( 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 ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * IDENT) != LIT) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) , (binary_expression IDENT == LIT)) ))) )) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) = LIT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) })) (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;)) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void glob_cleanup(int *param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int *piVar5;\n  uint uVar6;\n  \n  uVar1 = param_1[700];\n  if (uVar1 != 0) {\n    uVar6 = 0;\n    piVar5 = param_1;\n    do {\n      while ((*piVar5 != 1 || (iVar2 = piVar5[2], iVar2 == 0))) {\n        uVar6 = uVar6 + 1;\n        piVar5 = piVar5 + 7;\n        if (uVar1 <= uVar6) goto LAB_00027730;\n      }\n      iVar4 = piVar5[3] + -1;\n      if (-1 < iVar4) {\n        do {\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + -1;\n          (*(code *)PTR_free_000542cc)(*(undefined4 *)(iVar2 + iVar3));\n          iVar2 = piVar5[2];\n          *(undefined4 *)(iVar2 + iVar3) = 0;\n        } while (iVar4 != -1);\n      }\n      uVar6 = uVar6 + 1;\n      (*(code *)PTR_free_000542cc)();\n      piVar5[2] = 0;\n      uVar1 = param_1[700];\n      piVar5 = piVar5 + 7;\n    } while (uVar6 < uVar1);\n  }\nLAB_00027730:\n  (*(code *)PTR_free_000542cc)(param_1[0x2be]);\n                    \n                    \n  (*(code *)PTR_free_000542cc)(param_1);\n  return;\n}" (primitive_type "void") (function_declarator "glob_cleanup(int *param_1)" (identifier "glob_cleanup") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int *piVar5;\n  uint uVar6;\n  \n  uVar1 = param_1[700];\n  if (uVar1 != 0) {\n    uVar6 = 0;\n    piVar5 = param_1;\n    do {\n      while ((*piVar5 != 1 || (iVar2 = piVar5[2], iVar2 == 0))) {\n        uVar6 = uVar6 + 1;\n        piVar5 = piVar5 + 7;\n        if (uVar1 <= uVar6) goto LAB_00027730;\n      }\n      iVar4 = piVar5[3] + -1;\n      if (-1 < iVar4) {\n        do {\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + -1;\n          (*(code *)PTR_free_000542cc)(*(undefined4 *)(iVar2 + iVar3));\n          iVar2 = piVar5[2];\n          *(undefined4 *)(iVar2 + iVar3) = 0;\n        } while (iVar4 != -1);\n      }\n      uVar6 = uVar6 + 1;\n      (*(code *)PTR_free_000542cc)();\n      piVar5[2] = 0;\n      uVar1 = param_1[700];\n      piVar5 = piVar5 + 7;\n    } while (uVar6 < uVar1);\n  }\nLAB_00027730:\n  (*(code *)PTR_free_000542cc)(param_1[0x2be]);\n                    \n                    \n  (*(code *)PTR_free_000542cc)(param_1);\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int *piVar5;" (primitive_type "int") (pointer_declarator "*piVar5" (* "*") (identifier "piVar5")) (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (expression_statement "uVar1 = param_1[700];" (assignment_expression "uVar1 = param_1[700]" (identifier "uVar1") (= "=") (subscript_expression "param_1[700]" (identifier "param_1") ([ "[") (number_literal "700") (] "]"))) (; ";")) (if_statement "if (uVar1 != 0) {\n    uVar6 = 0;\n    piVar5 = param_1;\n    do {\n      while ((*piVar5 != 1 || (iVar2 = piVar5[2], iVar2 == 0))) {\n        uVar6 = uVar6 + 1;\n        piVar5 = piVar5 + 7;\n        if (uVar1 <= uVar6) goto LAB_00027730;\n      }\n      iVar4 = piVar5[3] + -1;\n      if (-1 < iVar4) {\n        do {\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + -1;\n          (*(code *)PTR_free_000542cc)(*(undefined4 *)(iVar2 + iVar3));\n          iVar2 = piVar5[2];\n          *(undefined4 *)(iVar2 + iVar3) = 0;\n        } while (iVar4 != -1);\n      }\n      uVar6 = uVar6 + 1;\n      (*(code *)PTR_free_000542cc)();\n      piVar5[2] = 0;\n      uVar1 = param_1[700];\n      piVar5 = piVar5 + 7;\n    } while (uVar6 < uVar1);\n  }" (if "if") (parenthesized_expression "(uVar1 != 0)" (( "(") (binary_expression "uVar1 != 0" (identifier "uVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar6 = 0;\n    piVar5 = param_1;\n    do {\n      while ((*piVar5 != 1 || (iVar2 = piVar5[2], iVar2 == 0))) {\n        uVar6 = uVar6 + 1;\n        piVar5 = piVar5 + 7;\n        if (uVar1 <= uVar6) goto LAB_00027730;\n      }\n      iVar4 = piVar5[3] + -1;\n      if (-1 < iVar4) {\n        do {\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + -1;\n          (*(code *)PTR_free_000542cc)(*(undefined4 *)(iVar2 + iVar3));\n          iVar2 = piVar5[2];\n          *(undefined4 *)(iVar2 + iVar3) = 0;\n        } while (iVar4 != -1);\n      }\n      uVar6 = uVar6 + 1;\n      (*(code *)PTR_free_000542cc)();\n      piVar5[2] = 0;\n      uVar1 = param_1[700];\n      piVar5 = piVar5 + 7;\n    } while (uVar6 < uVar1);\n  }" ({ "{") (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" (identifier "uVar6") (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar5 = param_1;" (assignment_expression "piVar5 = param_1" (identifier "piVar5") (= "=") (identifier "param_1")) (; ";")) (do_statement "do {\n      while ((*piVar5 != 1 || (iVar2 = piVar5[2], iVar2 == 0))) {\n        uVar6 = uVar6 + 1;\n        piVar5 = piVar5 + 7;\n        if (uVar1 <= uVar6) goto LAB_00027730;\n      }\n      iVar4 = piVar5[3] + -1;\n      if (-1 < iVar4) {\n        do {\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + -1;\n          (*(code *)PTR_free_000542cc)(*(undefined4 *)(iVar2 + iVar3));\n          iVar2 = piVar5[2];\n          *(undefined4 *)(iVar2 + iVar3) = 0;\n        } while (iVar4 != -1);\n      }\n      uVar6 = uVar6 + 1;\n      (*(code *)PTR_free_000542cc)();\n      piVar5[2] = 0;\n      uVar1 = param_1[700];\n      piVar5 = piVar5 + 7;\n    } while (uVar6 < uVar1);" (do "do") (compound_statement "{\n      while ((*piVar5 != 1 || (iVar2 = piVar5[2], iVar2 == 0))) {\n        uVar6 = uVar6 + 1;\n        piVar5 = piVar5 + 7;\n        if (uVar1 <= uVar6) goto LAB_00027730;\n      }\n      iVar4 = piVar5[3] + -1;\n      if (-1 < iVar4) {\n        do {\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + -1;\n          (*(code *)PTR_free_000542cc)(*(undefined4 *)(iVar2 + iVar3));\n          iVar2 = piVar5[2];\n          *(undefined4 *)(iVar2 + iVar3) = 0;\n        } while (iVar4 != -1);\n      }\n      uVar6 = uVar6 + 1;\n      (*(code *)PTR_free_000542cc)();\n      piVar5[2] = 0;\n      uVar1 = param_1[700];\n      piVar5 = piVar5 + 7;\n    }" ({ "{") (while_statement "while ((*piVar5 != 1 || (iVar2 = piVar5[2], iVar2 == 0))) {\n        uVar6 = uVar6 + 1;\n        piVar5 = piVar5 + 7;\n        if (uVar1 <= uVar6) goto LAB_00027730;\n      }" (while "while") (parenthesized_expression "((*piVar5 != 1 || (iVar2 = piVar5[2], iVar2 == 0)))" (( "(") (parenthesized_expression "(*piVar5 != 1 || (iVar2 = piVar5[2], iVar2 == 0))" (( "(") (binary_expression "*piVar5 != 1 || (iVar2 = piVar5[2], iVar2 == 0)" (binary_expression "*piVar5 != 1" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (!= "!=") (number_literal "1")) (|| "||") (parenthesized_expression "(iVar2 = piVar5[2], iVar2 == 0)" (( "(") (comma_expression "iVar2 = piVar5[2], iVar2 == 0" (assignment_expression "iVar2 = piVar5[2]" (identifier "iVar2") (= "=") (subscript_expression "piVar5[2]" (identifier "piVar5") ([ "[") (number_literal "2") (] "]"))) (, ",") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0"))) () ")"))) () ")")) () ")")) (compound_statement "{\n        uVar6 = uVar6 + 1;\n        piVar5 = piVar5 + 7;\n        if (uVar1 <= uVar6) goto LAB_00027730;\n      }" ({ "{") (expression_statement "uVar6 = uVar6 + 1;" (assignment_expression "uVar6 = uVar6 + 1" (identifier "uVar6") (= "=") (binary_expression "uVar6 + 1" (identifier "uVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar5 = piVar5 + 7;" (assignment_expression "piVar5 = piVar5 + 7" (identifier "piVar5") (= "=") (binary_expression "piVar5 + 7" (identifier "piVar5") (+ "+") (number_literal "7"))) (; ";")) (if_statement "if (uVar1 <= uVar6) goto LAB_00027730;" (if "if") (parenthesized_expression "(uVar1 <= uVar6)" (( "(") (binary_expression "uVar1 <= uVar6" (identifier "uVar1") (<= "<=") (identifier "uVar6")) () ")")) (goto_statement "goto LAB_00027730;" (goto "goto") (statement_identifier "LAB_00027730") (; ";"))) (} "}"))) (expression_statement "iVar4 = piVar5[3] + -1;" (assignment_expression "iVar4 = piVar5[3] + -1" (identifier "iVar4") (= "=") (binary_expression "piVar5[3] + -1" (subscript_expression "piVar5[3]" (identifier "piVar5") ([ "[") (number_literal "3") (] "]")) (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (-1 < iVar4) {\n        do {\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + -1;\n          (*(code *)PTR_free_000542cc)(*(undefined4 *)(iVar2 + iVar3));\n          iVar2 = piVar5[2];\n          *(undefined4 *)(iVar2 + iVar3) = 0;\n        } while (iVar4 != -1);\n      }" (if "if") (parenthesized_expression "(-1 < iVar4)" (( "(") (binary_expression "-1 < iVar4" (number_literal "-1") (< "<") (identifier "iVar4")) () ")")) (compound_statement "{\n        do {\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + -1;\n          (*(code *)PTR_free_000542cc)(*(undefined4 *)(iVar2 + iVar3));\n          iVar2 = piVar5[2];\n          *(undefined4 *)(iVar2 + iVar3) = 0;\n        } while (iVar4 != -1);\n      }" ({ "{") (do_statement "do {\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + -1;\n          (*(code *)PTR_free_000542cc)(*(undefined4 *)(iVar2 + iVar3));\n          iVar2 = piVar5[2];\n          *(undefined4 *)(iVar2 + iVar3) = 0;\n        } while (iVar4 != -1);" (do "do") (compound_statement "{\n          iVar3 = iVar4 * 4;\n          iVar4 = iVar4 + -1;\n          (*(code *)PTR_free_000542cc)(*(undefined4 *)(iVar2 + iVar3));\n          iVar2 = piVar5[2];\n          *(undefined4 *)(iVar2 + iVar3) = 0;\n        }" ({ "{") (expression_statement "iVar3 = iVar4 * 4;" (assignment_expression "iVar3 = iVar4 * 4" (identifier "iVar3") (= "=") (binary_expression "iVar4 * 4" (identifier "iVar4") (* "*") (number_literal "4"))) (; ";")) (expression_statement "iVar4 = iVar4 + -1;" (assignment_expression "iVar4 = iVar4 + -1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + -1" (identifier "iVar4") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "(*(code *)PTR_free_000542cc)(*(undefined4 *)(iVar2 + iVar3));" (call_expression "(*(code *)PTR_free_000542cc)(*(undefined4 *)(iVar2 + iVar3))" (parenthesized_expression "(*(code *)PTR_free_000542cc)" (( "(") (pointer_expression "*(code *)PTR_free_000542cc" (* "*") (cast_expression "(code *)PTR_free_000542cc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_000542cc"))) () ")")) (argument_list "(*(undefined4 *)(iVar2 + iVar3))" (( "(") (pointer_expression "*(undefined4 *)(iVar2 + iVar3)" (* "*") (cast_expression "(undefined4 *)(iVar2 + iVar3)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + iVar3)" (( "(") (binary_expression "iVar2 + iVar3" (identifier "iVar2") (+ "+") (identifier "iVar3")) () ")")))) () ")"))) (; ";")) (expression_statement "iVar2 = piVar5[2];" (assignment_expression "iVar2 = piVar5[2]" (identifier "iVar2") (= "=") (subscript_expression "piVar5[2]" (identifier "piVar5") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "*(undefined4 *)(iVar2 + iVar3) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + iVar3) = 0" (pointer_expression "*(undefined4 *)(iVar2 + iVar3)" (* "*") (cast_expression "(undefined4 *)(iVar2 + iVar3)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + iVar3)" (( "(") (binary_expression "iVar2 + iVar3" (identifier "iVar2") (+ "+") (identifier "iVar3")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar4 != -1)" (( "(") (binary_expression "iVar4 != -1" (identifier "iVar4") (!= "!=") (number_literal "-1")) () ")")) (; ";")) (} "}"))) (expression_statement "uVar6 = uVar6 + 1;" (assignment_expression "uVar6 = uVar6 + 1" (identifier "uVar6") (= "=") (binary_expression "uVar6 + 1" (identifier "uVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "(*(code *)PTR_free_000542cc)();" (call_expression "(*(code *)PTR_free_000542cc)()" (parenthesized_expression "(*(code *)PTR_free_000542cc)" (( "(") (pointer_expression "*(code *)PTR_free_000542cc" (* "*") (cast_expression "(code *)PTR_free_000542cc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_000542cc"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "piVar5[2] = 0;" (assignment_expression "piVar5[2] = 0" (subscript_expression "piVar5[2]" (identifier "piVar5") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar1 = param_1[700];" (assignment_expression "uVar1 = param_1[700]" (identifier "uVar1") (= "=") (subscript_expression "param_1[700]" (identifier "param_1") ([ "[") (number_literal "700") (] "]"))) (; ";")) (expression_statement "piVar5 = piVar5 + 7;" (assignment_expression "piVar5 = piVar5 + 7" (identifier "piVar5") (= "=") (binary_expression "piVar5 + 7" (identifier "piVar5") (+ "+") (number_literal "7"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar6 < uVar1)" (( "(") (binary_expression "uVar6 < uVar1" (identifier "uVar6") (< "<") (identifier "uVar1")) () ")")) (; ";")) (} "}"))) (labeled_statement "LAB_00027730:\n  (*(code *)PTR_free_000542cc)(param_1[0x2be]);" (statement_identifier "LAB_00027730") (: ":") (expression_statement "(*(code *)PTR_free_000542cc)(param_1[0x2be]);" (call_expression "(*(code *)PTR_free_000542cc)(param_1[0x2be])" (parenthesized_expression "(*(code *)PTR_free_000542cc)" (( "(") (pointer_expression "*(code *)PTR_free_000542cc" (* "*") (cast_expression "(code *)PTR_free_000542cc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_000542cc"))) () ")")) (argument_list "(param_1[0x2be])" (( "(") (subscript_expression "param_1[0x2be]" (identifier "param_1") ([ "[") (number_literal "0x2be") (] "]")) () ")"))) (; ";"))) (expression_statement "(*(code *)PTR_free_000542cc)(param_1);" (call_expression "(*(code *)PTR_free_000542cc)(param_1)" (parenthesized_expression "(*(code *)PTR_free_000542cc)" (( "(") (pointer_expression "*(code *)PTR_free_000542cc" (* "*") (cast_expression "(code *)PTR_free_000542cc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_000542cc"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *glob)

{
  type_2 var_1;
  char **var_3;
  int var_5;
  int var_6;
  type_1 *pUVar5;
  type_2 var_4;
  
  var_1 = glob->size;
  if (var_1 != 0) {
    var_4 = 0;
    pUVar5 = glob;
    do {
      while ((pUVar5->pattern[0].type != var_2 ||
             (var_3 = pUVar5->pattern[0].content.Set.elements, var_3 == (char **)0x0))) {
        var_4 = var_4 + 1;
        pUVar5 = (type_1 *)(pUVar5->pattern + 1);
        if (var_1 <= var_4) goto LAB_00027730;
      }
      var_5 = pUVar5->pattern[0].content.Set.size + -1;
      if (-1 < var_5) {
        do {
          var_6 = var_5 + -1;
          (*(type_3 *)PTR_free_000542cc)(var_3[var_5]);
          var_3 = pUVar5->pattern[0].content.Set.elements;
          var_3[var_5] = (char *)0x0;
          var_5 = var_6;
        } while (var_6 != -1);
      }
      var_4 = var_4 + 1;
      (*(type_3 *)PTR_free_000542cc)();
      pUVar5->pattern[0].content.Set.elements = (char **)0x0;
      var_1 = glob->size;
      pUVar5 = (type_1 *)(pUVar5->pattern + 1);
    } while (var_4 < var_1);
  }
LAB_00027730:
  (*(type_3 *)PTR_free_000542cc)(glob->glob_buffer);
                    /* WARNING: Could not recover jumptable at 0x00027768. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(type_3 *)PTR_free_000542cc)(glob);
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (while_statement condition: (parenthesized_expression (parenthesized_expression (binary_expression left: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))) right: (binary_expression left: (identifier) right: (number_literal))))))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (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: (identifier))))) right: (number_literal)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (return_statement))))

void MASKED(int *param_1)

{
  uint uVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  int *piVar5;
  uint uVar6;
  
  uVar1 = param_1[700];
  if (uVar1 != 0) {
    uVar6 = 0;
    piVar5 = param_1;
    do {
      while ((*piVar5 != 1 || (iVar2 = piVar5[2], iVar2 == 0))) {
        uVar6 = uVar6 + 1;
        piVar5 = piVar5 + 7;
        if (uVar1 <= uVar6) goto LAB_00027730;
      }
      iVar4 = piVar5[3] + -1;
      if (-1 < iVar4) {
        do {
          iVar3 = iVar4 * 4;
          iVar4 = iVar4 + -1;
          (*(code *)PTR_free_000542cc)(*(undefined4 *)(iVar2 + iVar3));
          iVar2 = piVar5[2];
          *(undefined4 *)(iVar2 + iVar3) = 0;
        } while (iVar4 != -1);
      }
      uVar6 = uVar6 + 1;
      (*(code *)PTR_free_000542cc)();
      piVar5[2] = 0;
      uVar1 = param_1[700];
      piVar5 = piVar5 + 7;
    } while (uVar6 < uVar1);
  }
LAB_00027730:
  (*(code *)PTR_free_000542cc)(param_1[0x2be]);
                    /* WARNING: Could not recover jumptable at 0x00027768. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(code *)PTR_free_000542cc)(param_1);
  return;
}

