
char ** all_variables_matching_prefix(char *prefix)

{
  undefined *puVar1;
  SHELL_VAR **ppSVar2;
  int iVar3;
  undefined4 uVar4;
  SHELL_VAR *pSVar5;
  SHELL_VAR **ppSVar6;
  int iVar7;
  int iVar8;
  SHELL_VAR *pSVar9;
  SHELL_VAR *pSVar10;
  char *pcVar11;
  int iVar12;
  
  if ((prefix == (char *)0x0) || (*prefix == '\0')) {
    iVar7 = 0;
  }
  else {
    iVar7 = 1;
    if (prefix[1] != '\0') {
      if (prefix[2] == '\0') {
        iVar7 = 2;
      }
      else {
        iVar7 = (*(code *)PTR_strlen_00146390)();
      }
    }
  }
  ppSVar2 = vapply((sh_var_map_func_t *)(PTR_LAB_00144bd0 + 0x2fd0));
  if (ppSVar2 == (SHELL_VAR **)0x0) {
    pSVar10 = (SHELL_VAR *)0x0;
  }
  else {
    pSVar10 = *ppSVar2;
    if (pSVar10 != (SHELL_VAR *)0x0) {
      iVar8 = 0;
      ppSVar6 = ppSVar2;
      do {
        iVar12 = iVar8;
        ppSVar6 = ppSVar6 + 1;
        iVar8 = iVar12 + 1;
      } while (*ppSVar6 != (SHELL_VAR *)0x0);
      pSVar10 = (SHELL_VAR *)(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2);
      pSVar5 = *ppSVar2;
      pSVar9 = pSVar10;
      if (pSVar5 != (SHELL_VAR *)0x0) {
        ppSVar6 = ppSVar2;
        iVar8 = 0;
        do {
          while( true ) {
            iVar12 = iVar8 + 1;
            pcVar11 = pSVar5->name;
            if ((iVar7 != 0) &&
               ((*prefix != *pcVar11 ||
                (iVar3 = (*(code *)PTR_strncmp_00146254)(prefix,pcVar11,iVar7), iVar3 != 0))))
            break;
            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);
            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);
            pcVar11 = (char *)(*(code *)PTR_strcpy_00146418)(uVar4,(*ppSVar6)->name);
            (&pSVar10->name)[iVar8] = pcVar11;
            pSVar5 = ppSVar6[1];
            ppSVar6 = ppSVar6 + 1;
            iVar8 = iVar12;
            if (pSVar5 == (SHELL_VAR *)0x0) goto LAB_00058424;
          }
          ppSVar6 = ppSVar6 + 1;
          pSVar5 = *ppSVar6;
        } while (pSVar5 != (SHELL_VAR *)0x0);
LAB_00058424:
        pSVar9 = (SHELL_VAR *)(&pSVar10->name + iVar8);
      }
      puVar1 = PTR_free_001464fc;
      pSVar9->name = (char *)0x0;
      (*(code *)puVar1)(ppSVar2);
    }
  }
  return &pSVar10->name;
}



undefined4 * all_variables_matching_prefix(char *param_1)

{
  undefined *puVar1;
  int *piVar2;
  int iVar3;
  undefined4 uVar4;
  undefined4 *puVar5;
  int *piVar6;
  int iVar7;
  int iVar8;
  undefined4 *puVar9;
  undefined4 *puVar10;
  char *pcVar11;
  int iVar12;
  
  if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {
    iVar7 = 0;
  }
  else {
    iVar7 = 1;
    if (param_1[1] != '\0') {
      if (param_1[2] == '\0') {
        iVar7 = 2;
      }
      else {
        iVar7 = (*(code *)PTR_strlen_00146390)();
      }
    }
  }
  piVar2 = (int *)FUN_0005801c(PTR_LAB_00144bd0 + 0x2fd0);
  if (piVar2 == (int *)0x0) {
    puVar10 = (undefined4 *)0x0;
  }
  else {
    puVar10 = (undefined4 *)*piVar2;
    if (puVar10 != (undefined4 *)0x0) {
      iVar8 = 0;
      piVar6 = piVar2;
      do {
        iVar12 = iVar8;
        piVar6 = piVar6 + 1;
        iVar8 = iVar12 + 1;
      } while (*piVar6 != 0);
      puVar10 = (undefined4 *)(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2);
      puVar5 = (undefined4 *)*piVar2;
      puVar9 = puVar10;
      if (puVar5 != (undefined4 *)0x0) {
        piVar6 = piVar2;
        iVar8 = 0;
        do {
          while( true ) {
            iVar12 = iVar8 + 1;
            pcVar11 = (char *)*puVar5;
            if ((iVar7 != 0) &&
               ((*param_1 != *pcVar11 ||
                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))
            break;
            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);
            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);
            uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6);
            puVar10[iVar8] = uVar4;
            puVar5 = (undefined4 *)piVar6[1];
            piVar6 = piVar6 + 1;
            iVar8 = iVar12;
            if (puVar5 == (undefined4 *)0x0) goto LAB_00058424;
          }
          piVar6 = piVar6 + 1;
          puVar5 = (undefined4 *)*piVar6;
        } while (puVar5 != (undefined4 *)0x0);
LAB_00058424:
        puVar9 = puVar10 + iVar8;
      }
      puVar1 = PTR_free_001464fc;
      *puVar9 = 0;
      (*(code *)puVar1)(piVar2);
    }
  }
  return puVar10;
}


lui gp,0xf
addiu gp,gp,0x4260
addu gp,gp,t9
addiu sp,sp,-0x40
sw gp,0x10(sp)
sw s1,0x20(sp)
or s1,a0,zero
sw ra,0x3c(sp)
sw s7,0x38(sp)
sw s6,0x34(sp)
sw s5,0x30(sp)
sw s4,0x2c(sp)
sw s3,0x28(sp)
sw s2,0x24(sp)
beq a0,zero,0x0005832c
_sw s0,0x1c(sp)
lb v0,0x0(a0)
bne v0,zero,0x0005848c
_nop
or s2,zero,zero
lw a0,-0x7970(gp)
lw t9,-0x7550(gp)
addiu t9,t9,-0x7fe4
bal 0x0005801c
_addiu a0,a0,0x2fd0
lw gp,0x10(sp)
beq v0,zero,0x000584c0
_or s3,v0,zero
lw s5,0x0(v0)
beq s5,zero,0x0005843c
_addiu v0,v0,0x4
b 0x00058368
_or a0,zero,zero
or a0,a1,zero
addiu v0,v0,0x4
lw v1,-0x4(v0)
bne v1,zero,0x00058364
_addiu a1,a0,0x1
lw t9,-0x7a64(gp)
jalr t9
_addiu a0,a0,0x2
lw v1,0x0(s3)
or s5,v0,zero
lw gp,0x10(sp)
beq v1,zero,0x0005842c
_or s4,v0,zero
or s4,zero,zero
b 0x000583c4
_or s0,s3,zero
lb v1,0x0(s1)
lb v0,0x0(s6)
beq v1,v0,0x0005846c
_lw t9,-0x62ec(gp)
addiu s0,s0,0x4
lw v1,0x0(s0)
beq v1,zero,0x00058424
_nop
addiu s7,s4,0x1
bne s2,zero,0x000583a4
_lw s6,0x0(v1)
lw t9,-0x61b0(gp)
or a0,s6,zero
jalr t9
_addiu s0,s0,0x4
lw gp,0x10(sp)
lw t9,-0x7f90(gp)
jalr t9
_addiu a0,v0,0x1
lw v1,-0x4(s0)
or a0,v0,zero
lw gp,0x10(sp)
lw t9,-0x6128(gp)
jalr t9
_lw a1,0x0(v1)
sll v1,s4,0x2
lw gp,0x10(sp)
addu v1,s5,v1
sw v0,0x0(v1)
lw v1,0x0(s0)
bne v1,zero,0x000583c4
_or s4,s7,zero
sll s4,s4,0x2
addu s4,s5,s4
lw t9,-0x6044(gp)
or a0,s3,zero
jalr t9
_sw zero,0x0(s4)
lw ra,0x3c(sp)
or v0,s5,zero
lw s7,0x38(sp)
lw s6,0x34(sp)
lw s5,0x30(sp)
lw s4,0x2c(sp)
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x40
or a0,s1,zero
or a1,s6,zero
jalr t9
_or a2,s2,zero
bne v0,zero,0x000583b4
_lw gp,0x10(sp)
b 0x000583d4
_lw t9,-0x61b0(gp)
lb v0,0x1(a0)
beq v0,zero,0x00058330
_li s2,0x1
lb v0,0x2(a0)
beq v0,zero,0x000584b8
_lw t9,-0x61b0(gp)
jalr t9
_nop
lw gp,0x10(sp)
b 0x00058330
_or s2,v0,zero
b 0x00058330
_li s2,0x2
b 0x0005843c
_or s5,zero,zero
(translation_unit "undefined4 * all_variables_matching_prefix(char *param_1)\n\n{\n  undefined *puVar1;\n  int *piVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  int *piVar6;\n  int iVar7;\n  int iVar8;\n  undefined4 *puVar9;\n  undefined4 *puVar10;\n  char *pcVar11;\n  int iVar12;\n  \n  if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {\n    iVar7 = 0;\n  }\n  else {\n    iVar7 = 1;\n    if (param_1[1] != '\0') {\n      if (param_1[2] == '\0') {\n        iVar7 = 2;\n      }\n      else {\n        iVar7 = (*(code *)PTR_strlen_00146390)();\n      }\n    }\n  }\n  piVar2 = (int *)FUN_0005801c(PTR_LAB_00144bd0 + 0x2fd0);\n  if (piVar2 == (int *)0x0) {\n    puVar10 = (undefined4 *)0x0;\n  }\n  else {\n    puVar10 = (undefined4 *)*piVar2;\n    if (puVar10 != (undefined4 *)0x0) {\n      iVar8 = 0;\n      piVar6 = piVar2;\n      do {\n        iVar12 = iVar8;\n        piVar6 = piVar6 + 1;\n        iVar8 = iVar12 + 1;\n      } while (*piVar6 != 0);\n      puVar10 = (undefined4 *)(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2);\n      puVar5 = (undefined4 *)*piVar2;\n      puVar9 = puVar10;\n      if (puVar5 != (undefined4 *)0x0) {\n        piVar6 = piVar2;\n        iVar8 = 0;\n        do {\n          while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = (char *)*puVar5;\n            if ((iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6);\n            puVar10[iVar8] = uVar4;\n            puVar5 = (undefined4 *)piVar6[1];\n            piVar6 = piVar6 + 1;\n            iVar8 = iVar12;\n            if (puVar5 == (undefined4 *)0x0) goto LAB_00058424;\n          }\n          piVar6 = piVar6 + 1;\n          puVar5 = (undefined4 *)*piVar6;\n        } while (puVar5 != (undefined4 *)0x0);\nLAB_00058424:\n        puVar9 = puVar10 + iVar8;\n      }\n      puVar1 = PTR_free_001464fc;\n      *puVar9 = 0;\n      (*(code *)puVar1)(piVar2);\n    }\n  }\n  return puVar10;\n}\n\n" (function_definition "undefined4 * all_variables_matching_prefix(char *param_1)\n\n{\n  undefined *puVar1;\n  int *piVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  int *piVar6;\n  int iVar7;\n  int iVar8;\n  undefined4 *puVar9;\n  undefined4 *puVar10;\n  char *pcVar11;\n  int iVar12;\n  \n  if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {\n    iVar7 = 0;\n  }\n  else {\n    iVar7 = 1;\n    if (param_1[1] != '\0') {\n      if (param_1[2] == '\0') {\n        iVar7 = 2;\n      }\n      else {\n        iVar7 = (*(code *)PTR_strlen_00146390)();\n      }\n    }\n  }\n  piVar2 = (int *)FUN_0005801c(PTR_LAB_00144bd0 + 0x2fd0);\n  if (piVar2 == (int *)0x0) {\n    puVar10 = (undefined4 *)0x0;\n  }\n  else {\n    puVar10 = (undefined4 *)*piVar2;\n    if (puVar10 != (undefined4 *)0x0) {\n      iVar8 = 0;\n      piVar6 = piVar2;\n      do {\n        iVar12 = iVar8;\n        piVar6 = piVar6 + 1;\n        iVar8 = iVar12 + 1;\n      } while (*piVar6 != 0);\n      puVar10 = (undefined4 *)(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2);\n      puVar5 = (undefined4 *)*piVar2;\n      puVar9 = puVar10;\n      if (puVar5 != (undefined4 *)0x0) {\n        piVar6 = piVar2;\n        iVar8 = 0;\n        do {\n          while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = (char *)*puVar5;\n            if ((iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6);\n            puVar10[iVar8] = uVar4;\n            puVar5 = (undefined4 *)piVar6[1];\n            piVar6 = piVar6 + 1;\n            iVar8 = iVar12;\n            if (puVar5 == (undefined4 *)0x0) goto LAB_00058424;\n          }\n          piVar6 = piVar6 + 1;\n          puVar5 = (undefined4 *)*piVar6;\n        } while (puVar5 != (undefined4 *)0x0);\nLAB_00058424:\n        puVar9 = puVar10 + iVar8;\n      }\n      puVar1 = PTR_free_001464fc;\n      *puVar9 = 0;\n      (*(code *)puVar1)(piVar2);\n    }\n  }\n  return puVar10;\n}" type_identifier (pointer_declarator "* all_variables_matching_prefix(char *param_1)" * (function_declarator "all_variables_matching_prefix(char *param_1)" identifier (parameter_list "(char *param_1)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) )))) (compound_statement "{\n  undefined *puVar1;\n  int *piVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  int *piVar6;\n  int iVar7;\n  int iVar8;\n  undefined4 *puVar9;\n  undefined4 *puVar10;\n  char *pcVar11;\n  int iVar12;\n  \n  if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {\n    iVar7 = 0;\n  }\n  else {\n    iVar7 = 1;\n    if (param_1[1] != '\0') {\n      if (param_1[2] == '\0') {\n        iVar7 = 2;\n      }\n      else {\n        iVar7 = (*(code *)PTR_strlen_00146390)();\n      }\n    }\n  }\n  piVar2 = (int *)FUN_0005801c(PTR_LAB_00144bd0 + 0x2fd0);\n  if (piVar2 == (int *)0x0) {\n    puVar10 = (undefined4 *)0x0;\n  }\n  else {\n    puVar10 = (undefined4 *)*piVar2;\n    if (puVar10 != (undefined4 *)0x0) {\n      iVar8 = 0;\n      piVar6 = piVar2;\n      do {\n        iVar12 = iVar8;\n        piVar6 = piVar6 + 1;\n        iVar8 = iVar12 + 1;\n      } while (*piVar6 != 0);\n      puVar10 = (undefined4 *)(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2);\n      puVar5 = (undefined4 *)*piVar2;\n      puVar9 = puVar10;\n      if (puVar5 != (undefined4 *)0x0) {\n        piVar6 = piVar2;\n        iVar8 = 0;\n        do {\n          while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = (char *)*puVar5;\n            if ((iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6);\n            puVar10[iVar8] = uVar4;\n            puVar5 = (undefined4 *)piVar6[1];\n            piVar6 = piVar6 + 1;\n            iVar8 = iVar12;\n            if (puVar5 == (undefined4 *)0x0) goto LAB_00058424;\n          }\n          piVar6 = piVar6 + 1;\n          puVar5 = (undefined4 *)*piVar6;\n        } while (puVar5 != (undefined4 *)0x0);\nLAB_00058424:\n        puVar9 = puVar10 + iVar8;\n      }\n      puVar1 = PTR_free_001464fc;\n      *puVar9 = 0;\n      (*(code *)puVar1)(piVar2);\n    }\n  }\n  return puVar10;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "undefined4 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "undefined4 *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "char *pcVar11;" primitive_type (pointer_declarator "*pcVar11" * identifier) ;) (declaration "int iVar12;" primitive_type identifier ;) (if_statement "if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {\n    iVar7 = 0;\n  }\n  else {\n    iVar7 = 1;\n    if (param_1[1] != '\0') {\n      if (param_1[2] == '\0') {\n        iVar7 = 2;\n      }\n      else {\n        iVar7 = (*(code *)PTR_strlen_00146390)();\n      }\n    }\n  }" if (parenthesized_expression "((param_1 == (char *)0x0) || (*param_1 == '\0'))" ( (binary_expression "(param_1 == (char *)0x0) || (*param_1 == '\0')" (parenthesized_expression "(param_1 == (char *)0x0)" ( (binary_expression "param_1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(*param_1 == '\0')" ( (binary_expression "*param_1 == '\0'" (pointer_expression "*param_1" * identifier) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    iVar7 = 0;\n  }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    iVar7 = 1;\n    if (param_1[1] != '\0') {\n      if (param_1[2] == '\0') {\n        iVar7 = 2;\n      }\n      else {\n        iVar7 = (*(code *)PTR_strlen_00146390)();\n      }\n    }\n  }" else (compound_statement "{\n    iVar7 = 1;\n    if (param_1[1] != '\0') {\n      if (param_1[2] == '\0') {\n        iVar7 = 2;\n      }\n      else {\n        iVar7 = (*(code *)PTR_strlen_00146390)();\n      }\n    }\n  }" { (expression_statement "iVar7 = 1;" (assignment_expression "iVar7 = 1" identifier = number_literal) ;) (if_statement "if (param_1[1] != '\0') {\n      if (param_1[2] == '\0') {\n        iVar7 = 2;\n      }\n      else {\n        iVar7 = (*(code *)PTR_strlen_00146390)();\n      }\n    }" if (parenthesized_expression "(param_1[1] != '\0')" ( (binary_expression "param_1[1] != '\0'" (subscript_expression "param_1[1]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      if (param_1[2] == '\0') {\n        iVar7 = 2;\n      }\n      else {\n        iVar7 = (*(code *)PTR_strlen_00146390)();\n      }\n    }" { (if_statement "if (param_1[2] == '\0') {\n        iVar7 = 2;\n      }\n      else {\n        iVar7 = (*(code *)PTR_strlen_00146390)();\n      }" if (parenthesized_expression "(param_1[2] == '\0')" ( (binary_expression "param_1[2] == '\0'" (subscript_expression "param_1[2]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar7 = 2;\n      }" { (expression_statement "iVar7 = 2;" (assignment_expression "iVar7 = 2" identifier = number_literal) ;) }) (else_clause "else {\n        iVar7 = (*(code *)PTR_strlen_00146390)();\n      }" else (compound_statement "{\n        iVar7 = (*(code *)PTR_strlen_00146390)();\n      }" { (expression_statement "iVar7 = (*(code *)PTR_strlen_00146390)();" (assignment_expression "iVar7 = (*(code *)PTR_strlen_00146390)()" identifier = (call_expression "(*(code *)PTR_strlen_00146390)()" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) }))) })) }))) (expression_statement "piVar2 = (int *)FUN_0005801c(PTR_LAB_00144bd0 + 0x2fd0);" (assignment_expression "piVar2 = (int *)FUN_0005801c(PTR_LAB_00144bd0 + 0x2fd0)" identifier = (cast_expression "(int *)FUN_0005801c(PTR_LAB_00144bd0 + 0x2fd0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0005801c(PTR_LAB_00144bd0 + 0x2fd0)" identifier (argument_list "(PTR_LAB_00144bd0 + 0x2fd0)" ( (binary_expression "PTR_LAB_00144bd0 + 0x2fd0" identifier + number_literal) ))))) ;) (if_statement "if (piVar2 == (int *)0x0) {\n    puVar10 = (undefined4 *)0x0;\n  }\n  else {\n    puVar10 = (undefined4 *)*piVar2;\n    if (puVar10 != (undefined4 *)0x0) {\n      iVar8 = 0;\n      piVar6 = piVar2;\n      do {\n        iVar12 = iVar8;\n        piVar6 = piVar6 + 1;\n        iVar8 = iVar12 + 1;\n      } while (*piVar6 != 0);\n      puVar10 = (undefined4 *)(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2);\n      puVar5 = (undefined4 *)*piVar2;\n      puVar9 = puVar10;\n      if (puVar5 != (undefined4 *)0x0) {\n        piVar6 = piVar2;\n        iVar8 = 0;\n        do {\n          while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = (char *)*puVar5;\n            if ((iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6);\n            puVar10[iVar8] = uVar4;\n            puVar5 = (undefined4 *)piVar6[1];\n            piVar6 = piVar6 + 1;\n            iVar8 = iVar12;\n            if (puVar5 == (undefined4 *)0x0) goto LAB_00058424;\n          }\n          piVar6 = piVar6 + 1;\n          puVar5 = (undefined4 *)*piVar6;\n        } while (puVar5 != (undefined4 *)0x0);\nLAB_00058424:\n        puVar9 = puVar10 + iVar8;\n      }\n      puVar1 = PTR_free_001464fc;\n      *puVar9 = 0;\n      (*(code *)puVar1)(piVar2);\n    }\n  }" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar10 = (undefined4 *)0x0;\n  }" { (expression_statement "puVar10 = (undefined4 *)0x0;" (assignment_expression "puVar10 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    puVar10 = (undefined4 *)*piVar2;\n    if (puVar10 != (undefined4 *)0x0) {\n      iVar8 = 0;\n      piVar6 = piVar2;\n      do {\n        iVar12 = iVar8;\n        piVar6 = piVar6 + 1;\n        iVar8 = iVar12 + 1;\n      } while (*piVar6 != 0);\n      puVar10 = (undefined4 *)(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2);\n      puVar5 = (undefined4 *)*piVar2;\n      puVar9 = puVar10;\n      if (puVar5 != (undefined4 *)0x0) {\n        piVar6 = piVar2;\n        iVar8 = 0;\n        do {\n          while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = (char *)*puVar5;\n            if ((iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6);\n            puVar10[iVar8] = uVar4;\n            puVar5 = (undefined4 *)piVar6[1];\n            piVar6 = piVar6 + 1;\n            iVar8 = iVar12;\n            if (puVar5 == (undefined4 *)0x0) goto LAB_00058424;\n          }\n          piVar6 = piVar6 + 1;\n          puVar5 = (undefined4 *)*piVar6;\n        } while (puVar5 != (undefined4 *)0x0);\nLAB_00058424:\n        puVar9 = puVar10 + iVar8;\n      }\n      puVar1 = PTR_free_001464fc;\n      *puVar9 = 0;\n      (*(code *)puVar1)(piVar2);\n    }\n  }" else (compound_statement "{\n    puVar10 = (undefined4 *)*piVar2;\n    if (puVar10 != (undefined4 *)0x0) {\n      iVar8 = 0;\n      piVar6 = piVar2;\n      do {\n        iVar12 = iVar8;\n        piVar6 = piVar6 + 1;\n        iVar8 = iVar12 + 1;\n      } while (*piVar6 != 0);\n      puVar10 = (undefined4 *)(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2);\n      puVar5 = (undefined4 *)*piVar2;\n      puVar9 = puVar10;\n      if (puVar5 != (undefined4 *)0x0) {\n        piVar6 = piVar2;\n        iVar8 = 0;\n        do {\n          while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = (char *)*puVar5;\n            if ((iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6);\n            puVar10[iVar8] = uVar4;\n            puVar5 = (undefined4 *)piVar6[1];\n            piVar6 = piVar6 + 1;\n            iVar8 = iVar12;\n            if (puVar5 == (undefined4 *)0x0) goto LAB_00058424;\n          }\n          piVar6 = piVar6 + 1;\n          puVar5 = (undefined4 *)*piVar6;\n        } while (puVar5 != (undefined4 *)0x0);\nLAB_00058424:\n        puVar9 = puVar10 + iVar8;\n      }\n      puVar1 = PTR_free_001464fc;\n      *puVar9 = 0;\n      (*(code *)puVar1)(piVar2);\n    }\n  }" { (expression_statement "puVar10 = (undefined4 *)*piVar2;" (assignment_expression "puVar10 = (undefined4 *)*piVar2" identifier = (cast_expression "(undefined4 *)*piVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier))) ;) (if_statement "if (puVar10 != (undefined4 *)0x0) {\n      iVar8 = 0;\n      piVar6 = piVar2;\n      do {\n        iVar12 = iVar8;\n        piVar6 = piVar6 + 1;\n        iVar8 = iVar12 + 1;\n      } while (*piVar6 != 0);\n      puVar10 = (undefined4 *)(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2);\n      puVar5 = (undefined4 *)*piVar2;\n      puVar9 = puVar10;\n      if (puVar5 != (undefined4 *)0x0) {\n        piVar6 = piVar2;\n        iVar8 = 0;\n        do {\n          while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = (char *)*puVar5;\n            if ((iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6);\n            puVar10[iVar8] = uVar4;\n            puVar5 = (undefined4 *)piVar6[1];\n            piVar6 = piVar6 + 1;\n            iVar8 = iVar12;\n            if (puVar5 == (undefined4 *)0x0) goto LAB_00058424;\n          }\n          piVar6 = piVar6 + 1;\n          puVar5 = (undefined4 *)*piVar6;\n        } while (puVar5 != (undefined4 *)0x0);\nLAB_00058424:\n        puVar9 = puVar10 + iVar8;\n      }\n      puVar1 = PTR_free_001464fc;\n      *puVar9 = 0;\n      (*(code *)puVar1)(piVar2);\n    }" if (parenthesized_expression "(puVar10 != (undefined4 *)0x0)" ( (binary_expression "puVar10 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar8 = 0;\n      piVar6 = piVar2;\n      do {\n        iVar12 = iVar8;\n        piVar6 = piVar6 + 1;\n        iVar8 = iVar12 + 1;\n      } while (*piVar6 != 0);\n      puVar10 = (undefined4 *)(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2);\n      puVar5 = (undefined4 *)*piVar2;\n      puVar9 = puVar10;\n      if (puVar5 != (undefined4 *)0x0) {\n        piVar6 = piVar2;\n        iVar8 = 0;\n        do {\n          while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = (char *)*puVar5;\n            if ((iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6);\n            puVar10[iVar8] = uVar4;\n            puVar5 = (undefined4 *)piVar6[1];\n            piVar6 = piVar6 + 1;\n            iVar8 = iVar12;\n            if (puVar5 == (undefined4 *)0x0) goto LAB_00058424;\n          }\n          piVar6 = piVar6 + 1;\n          puVar5 = (undefined4 *)*piVar6;\n        } while (puVar5 != (undefined4 *)0x0);\nLAB_00058424:\n        puVar9 = puVar10 + iVar8;\n      }\n      puVar1 = PTR_free_001464fc;\n      *puVar9 = 0;\n      (*(code *)puVar1)(piVar2);\n    }" { (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (expression_statement "piVar6 = piVar2;" (assignment_expression "piVar6 = piVar2" identifier = identifier) ;) (do_statement "do {\n        iVar12 = iVar8;\n        piVar6 = piVar6 + 1;\n        iVar8 = iVar12 + 1;\n      } while (*piVar6 != 0);" do (compound_statement "{\n        iVar12 = iVar8;\n        piVar6 = piVar6 + 1;\n        iVar8 = iVar12 + 1;\n      }" { (expression_statement "iVar12 = iVar8;" (assignment_expression "iVar12 = iVar8" identifier = identifier) ;) (expression_statement "piVar6 = piVar6 + 1;" (assignment_expression "piVar6 = piVar6 + 1" identifier = (binary_expression "piVar6 + 1" identifier + number_literal)) ;) (expression_statement "iVar8 = iVar12 + 1;" (assignment_expression "iVar8 = iVar12 + 1" identifier = (binary_expression "iVar12 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*piVar6 != 0)" ( (binary_expression "*piVar6 != 0" (pointer_expression "*piVar6" * identifier) != number_literal) )) ;) (expression_statement "puVar10 = (undefined4 *)(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2);" (assignment_expression "puVar10 = (undefined4 *)(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2)" (parenthesized_expression "(*(code *)PTR_strvec_create_00144adc)" ( (pointer_expression "*(code *)PTR_strvec_create_00144adc" * (cast_expression "(code *)PTR_strvec_create_00144adc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar12 + 2)" ( (binary_expression "iVar12 + 2" identifier + number_literal) ))))) ;) (expression_statement "puVar5 = (undefined4 *)*piVar2;" (assignment_expression "puVar5 = (undefined4 *)*piVar2" identifier = (cast_expression "(undefined4 *)*piVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier))) ;) (expression_statement "puVar9 = puVar10;" (assignment_expression "puVar9 = puVar10" identifier = identifier) ;) (if_statement "if (puVar5 != (undefined4 *)0x0) {\n        piVar6 = piVar2;\n        iVar8 = 0;\n        do {\n          while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = (char *)*puVar5;\n            if ((iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6);\n            puVar10[iVar8] = uVar4;\n            puVar5 = (undefined4 *)piVar6[1];\n            piVar6 = piVar6 + 1;\n            iVar8 = iVar12;\n            if (puVar5 == (undefined4 *)0x0) goto LAB_00058424;\n          }\n          piVar6 = piVar6 + 1;\n          puVar5 = (undefined4 *)*piVar6;\n        } while (puVar5 != (undefined4 *)0x0);\nLAB_00058424:\n        puVar9 = puVar10 + iVar8;\n      }" if (parenthesized_expression "(puVar5 != (undefined4 *)0x0)" ( (binary_expression "puVar5 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        piVar6 = piVar2;\n        iVar8 = 0;\n        do {\n          while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = (char *)*puVar5;\n            if ((iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6);\n            puVar10[iVar8] = uVar4;\n            puVar5 = (undefined4 *)piVar6[1];\n            piVar6 = piVar6 + 1;\n            iVar8 = iVar12;\n            if (puVar5 == (undefined4 *)0x0) goto LAB_00058424;\n          }\n          piVar6 = piVar6 + 1;\n          puVar5 = (undefined4 *)*piVar6;\n        } while (puVar5 != (undefined4 *)0x0);\nLAB_00058424:\n        puVar9 = puVar10 + iVar8;\n      }" { (expression_statement "piVar6 = piVar2;" (assignment_expression "piVar6 = piVar2" identifier = identifier) ;) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (do_statement "do {\n          while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = (char *)*puVar5;\n            if ((iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6);\n            puVar10[iVar8] = uVar4;\n            puVar5 = (undefined4 *)piVar6[1];\n            piVar6 = piVar6 + 1;\n            iVar8 = iVar12;\n            if (puVar5 == (undefined4 *)0x0) goto LAB_00058424;\n          }\n          piVar6 = piVar6 + 1;\n          puVar5 = (undefined4 *)*piVar6;\n        } while (puVar5 != (undefined4 *)0x0);" do (compound_statement "{\n          while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = (char *)*puVar5;\n            if ((iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6);\n            puVar10[iVar8] = uVar4;\n            puVar5 = (undefined4 *)piVar6[1];\n            piVar6 = piVar6 + 1;\n            iVar8 = iVar12;\n            if (puVar5 == (undefined4 *)0x0) goto LAB_00058424;\n          }\n          piVar6 = piVar6 + 1;\n          puVar5 = (undefined4 *)*piVar6;\n        }" { (while_statement "while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = (char *)*puVar5;\n            if ((iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6);\n            puVar10[iVar8] = uVar4;\n            puVar5 = (undefined4 *)piVar6[1];\n            piVar6 = piVar6 + 1;\n            iVar8 = iVar12;\n            if (puVar5 == (undefined4 *)0x0) goto LAB_00058424;\n          }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n            iVar12 = iVar8 + 1;\n            pcVar11 = (char *)*puVar5;\n            if ((iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6);\n            puVar10[iVar8] = uVar4;\n            puVar5 = (undefined4 *)piVar6[1];\n            piVar6 = piVar6 + 1;\n            iVar8 = iVar12;\n            if (puVar5 == (undefined4 *)0x0) goto LAB_00058424;\n          }" { (expression_statement "iVar12 = iVar8 + 1;" (assignment_expression "iVar12 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (expression_statement "pcVar11 = (char *)*puVar5;" (assignment_expression "pcVar11 = (char *)*puVar5" identifier = (cast_expression "(char *)*puVar5" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier))) ;) (if_statement "if ((iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))\n            break;" if (parenthesized_expression "((iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))" ( (binary_expression "(iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0)))" (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) && (parenthesized_expression "((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0)))" ( (parenthesized_expression "(*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))" ( (binary_expression "*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0)" (binary_expression "*param_1 != *pcVar11" (pointer_expression "*param_1" * identifier) != (pointer_expression "*pcVar11" * identifier)) || (parenthesized_expression "(iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0)" ( (comma_expression "iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0" (assignment_expression "iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7)" identifier = (call_expression "(*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7)" (parenthesized_expression "(*(code *)PTR_strncmp_00146254)" ( (pointer_expression "*(code *)PTR_strncmp_00146254" * (cast_expression "(code *)PTR_strncmp_00146254" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,pcVar11,iVar7)" ( identifier , identifier , identifier )))) , (binary_expression "iVar3 != 0" identifier != number_literal)) ))) )) ))) )) (break_statement "break;" break ;)) (expression_statement "iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11)" identifier = (call_expression "(*(code *)PTR_strlen_00146390)(pcVar11)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar11)" ( identifier )))) ;) (expression_statement "uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);" (assignment_expression "uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1)" identifier = (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar3 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3 + 1)" ( (binary_expression "iVar3 + 1" identifier + number_literal) )))) ;) (expression_statement "uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6);" (assignment_expression "uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6)" identifier = (call_expression "(*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" ( (pointer_expression "*(code *)PTR_strcpy_00146418" * (cast_expression "(code *)PTR_strcpy_00146418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4,*(undefined4 *)*piVar6)" ( identifier , (pointer_expression "*(undefined4 *)*piVar6" * (cast_expression "(undefined4 *)*piVar6" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar6" * identifier))) )))) ;) (expression_statement "puVar10[iVar8] = uVar4;" (assignment_expression "puVar10[iVar8] = uVar4" (subscript_expression "puVar10[iVar8]" identifier [ identifier ]) = identifier) ;) (expression_statement "puVar5 = (undefined4 *)piVar6[1];" (assignment_expression "puVar5 = (undefined4 *)piVar6[1]" identifier = (cast_expression "(undefined4 *)piVar6[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar6[1]" identifier [ number_literal ]))) ;) (expression_statement "piVar6 = piVar6 + 1;" (assignment_expression "piVar6 = piVar6 + 1" identifier = (binary_expression "piVar6 + 1" identifier + number_literal)) ;) (expression_statement "iVar8 = iVar12;" (assignment_expression "iVar8 = iVar12" identifier = identifier) ;) (if_statement "if (puVar5 == (undefined4 *)0x0) goto LAB_00058424;" if (parenthesized_expression "(puVar5 == (undefined4 *)0x0)" ( (binary_expression "puVar5 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00058424;" goto statement_identifier ;)) })) (expression_statement "piVar6 = piVar6 + 1;" (assignment_expression "piVar6 = piVar6 + 1" identifier = (binary_expression "piVar6 + 1" identifier + number_literal)) ;) (expression_statement "puVar5 = (undefined4 *)*piVar6;" (assignment_expression "puVar5 = (undefined4 *)*piVar6" identifier = (cast_expression "(undefined4 *)*piVar6" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar6" * identifier))) ;) }) while (parenthesized_expression "(puVar5 != (undefined4 *)0x0)" ( (binary_expression "puVar5 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (labeled_statement "LAB_00058424:\n        puVar9 = puVar10 + iVar8;" statement_identifier : (expression_statement "puVar9 = puVar10 + iVar8;" (assignment_expression "puVar9 = puVar10 + iVar8" identifier = (binary_expression "puVar10 + iVar8" identifier + identifier)) ;)) })) (expression_statement "puVar1 = PTR_free_001464fc;" (assignment_expression "puVar1 = PTR_free_001464fc" identifier = identifier) ;) (expression_statement "*puVar9 = 0;" (assignment_expression "*puVar9 = 0" (pointer_expression "*puVar9" * identifier) = number_literal) ;) (expression_statement "(*(code *)puVar1)(piVar2);" (call_expression "(*(code *)puVar1)(piVar2)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar2)" ( identifier ))) ;) })) }))) (return_statement "return puVar10;" return identifier ;) })))
(translation_unit "char ** all_variables_matching_prefix(char *prefix)\n\n{\n  undefined *puVar1;\n  SHELL_VAR **ppSVar2;\n  int iVar3;\n  undefined4 uVar4;\n  SHELL_VAR *pSVar5;\n  SHELL_VAR **ppSVar6;\n  int iVar7;\n  int iVar8;\n  SHELL_VAR *pSVar9;\n  SHELL_VAR *pSVar10;\n  char *pcVar11;\n  int iVar12;\n  \n  if ((prefix == (char *)0x0) || (*prefix == '\0')) {\n    iVar7 = 0;\n  }\n  else {\n    iVar7 = 1;\n    if (prefix[1] != '\0') {\n      if (prefix[2] == '\0') {\n        iVar7 = 2;\n      }\n      else {\n        iVar7 = (*(code *)PTR_strlen_00146390)();\n      }\n    }\n  }\n  ppSVar2 = vapply((sh_var_map_func_t *)(PTR_LAB_00144bd0 + 0x2fd0));\n  if (ppSVar2 == (SHELL_VAR **)0x0) {\n    pSVar10 = (SHELL_VAR *)0x0;\n  }\n  else {\n    pSVar10 = *ppSVar2;\n    if (pSVar10 != (SHELL_VAR *)0x0) {\n      iVar8 = 0;\n      ppSVar6 = ppSVar2;\n      do {\n        iVar12 = iVar8;\n        ppSVar6 = ppSVar6 + 1;\n        iVar8 = iVar12 + 1;\n      } while (*ppSVar6 != (SHELL_VAR *)0x0);\n      pSVar10 = (SHELL_VAR *)(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2);\n      pSVar5 = *ppSVar2;\n      pSVar9 = pSVar10;\n      if (pSVar5 != (SHELL_VAR *)0x0) {\n        ppSVar6 = ppSVar2;\n        iVar8 = 0;\n        do {\n          while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = pSVar5->name;\n            if ((iVar7 != 0) &&\n               ((*prefix != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(prefix,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            pcVar11 = (char *)(*(code *)PTR_strcpy_00146418)(uVar4,(*ppSVar6)->name);\n            (&pSVar10->name)[iVar8] = pcVar11;\n            pSVar5 = ppSVar6[1];\n            ppSVar6 = ppSVar6 + 1;\n            iVar8 = iVar12;\n            if (pSVar5 == (SHELL_VAR *)0x0) goto LAB_00058424;\n          }\n          ppSVar6 = ppSVar6 + 1;\n          pSVar5 = *ppSVar6;\n        } while (pSVar5 != (SHELL_VAR *)0x0);\nLAB_00058424:\n        pSVar9 = (SHELL_VAR *)(&pSVar10->name + iVar8);\n      }\n      puVar1 = PTR_free_001464fc;\n      pSVar9->name = (char *)0x0;\n      (*(code *)puVar1)(ppSVar2);\n    }\n  }\n  return &pSVar10->name;\n}\n\n" (function_definition "char ** all_variables_matching_prefix(char *prefix)\n\n{\n  undefined *puVar1;\n  SHELL_VAR **ppSVar2;\n  int iVar3;\n  undefined4 uVar4;\n  SHELL_VAR *pSVar5;\n  SHELL_VAR **ppSVar6;\n  int iVar7;\n  int iVar8;\n  SHELL_VAR *pSVar9;\n  SHELL_VAR *pSVar10;\n  char *pcVar11;\n  int iVar12;\n  \n  if ((prefix == (char *)0x0) || (*prefix == '\0')) {\n    iVar7 = 0;\n  }\n  else {\n    iVar7 = 1;\n    if (prefix[1] != '\0') {\n      if (prefix[2] == '\0') {\n        iVar7 = 2;\n      }\n      else {\n        iVar7 = (*(code *)PTR_strlen_00146390)();\n      }\n    }\n  }\n  ppSVar2 = vapply((sh_var_map_func_t *)(PTR_LAB_00144bd0 + 0x2fd0));\n  if (ppSVar2 == (SHELL_VAR **)0x0) {\n    pSVar10 = (SHELL_VAR *)0x0;\n  }\n  else {\n    pSVar10 = *ppSVar2;\n    if (pSVar10 != (SHELL_VAR *)0x0) {\n      iVar8 = 0;\n      ppSVar6 = ppSVar2;\n      do {\n        iVar12 = iVar8;\n        ppSVar6 = ppSVar6 + 1;\n        iVar8 = iVar12 + 1;\n      } while (*ppSVar6 != (SHELL_VAR *)0x0);\n      pSVar10 = (SHELL_VAR *)(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2);\n      pSVar5 = *ppSVar2;\n      pSVar9 = pSVar10;\n      if (pSVar5 != (SHELL_VAR *)0x0) {\n        ppSVar6 = ppSVar2;\n        iVar8 = 0;\n        do {\n          while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = pSVar5->name;\n            if ((iVar7 != 0) &&\n               ((*prefix != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(prefix,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            pcVar11 = (char *)(*(code *)PTR_strcpy_00146418)(uVar4,(*ppSVar6)->name);\n            (&pSVar10->name)[iVar8] = pcVar11;\n            pSVar5 = ppSVar6[1];\n            ppSVar6 = ppSVar6 + 1;\n            iVar8 = iVar12;\n            if (pSVar5 == (SHELL_VAR *)0x0) goto LAB_00058424;\n          }\n          ppSVar6 = ppSVar6 + 1;\n          pSVar5 = *ppSVar6;\n        } while (pSVar5 != (SHELL_VAR *)0x0);\nLAB_00058424:\n        pSVar9 = (SHELL_VAR *)(&pSVar10->name + iVar8);\n      }\n      puVar1 = PTR_free_001464fc;\n      pSVar9->name = (char *)0x0;\n      (*(code *)puVar1)(ppSVar2);\n    }\n  }\n  return &pSVar10->name;\n}" primitive_type (pointer_declarator "** all_variables_matching_prefix(char *prefix)" * (pointer_declarator "* all_variables_matching_prefix(char *prefix)" * (function_declarator "all_variables_matching_prefix(char *prefix)" identifier (parameter_list "(char *prefix)" ( (parameter_declaration "char *prefix" primitive_type (pointer_declarator "*prefix" * identifier)) ))))) (compound_statement "{\n  undefined *puVar1;\n  SHELL_VAR **ppSVar2;\n  int iVar3;\n  undefined4 uVar4;\n  SHELL_VAR *pSVar5;\n  SHELL_VAR **ppSVar6;\n  int iVar7;\n  int iVar8;\n  SHELL_VAR *pSVar9;\n  SHELL_VAR *pSVar10;\n  char *pcVar11;\n  int iVar12;\n  \n  if ((prefix == (char *)0x0) || (*prefix == '\0')) {\n    iVar7 = 0;\n  }\n  else {\n    iVar7 = 1;\n    if (prefix[1] != '\0') {\n      if (prefix[2] == '\0') {\n        iVar7 = 2;\n      }\n      else {\n        iVar7 = (*(code *)PTR_strlen_00146390)();\n      }\n    }\n  }\n  ppSVar2 = vapply((sh_var_map_func_t *)(PTR_LAB_00144bd0 + 0x2fd0));\n  if (ppSVar2 == (SHELL_VAR **)0x0) {\n    pSVar10 = (SHELL_VAR *)0x0;\n  }\n  else {\n    pSVar10 = *ppSVar2;\n    if (pSVar10 != (SHELL_VAR *)0x0) {\n      iVar8 = 0;\n      ppSVar6 = ppSVar2;\n      do {\n        iVar12 = iVar8;\n        ppSVar6 = ppSVar6 + 1;\n        iVar8 = iVar12 + 1;\n      } while (*ppSVar6 != (SHELL_VAR *)0x0);\n      pSVar10 = (SHELL_VAR *)(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2);\n      pSVar5 = *ppSVar2;\n      pSVar9 = pSVar10;\n      if (pSVar5 != (SHELL_VAR *)0x0) {\n        ppSVar6 = ppSVar2;\n        iVar8 = 0;\n        do {\n          while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = pSVar5->name;\n            if ((iVar7 != 0) &&\n               ((*prefix != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(prefix,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            pcVar11 = (char *)(*(code *)PTR_strcpy_00146418)(uVar4,(*ppSVar6)->name);\n            (&pSVar10->name)[iVar8] = pcVar11;\n            pSVar5 = ppSVar6[1];\n            ppSVar6 = ppSVar6 + 1;\n            iVar8 = iVar12;\n            if (pSVar5 == (SHELL_VAR *)0x0) goto LAB_00058424;\n          }\n          ppSVar6 = ppSVar6 + 1;\n          pSVar5 = *ppSVar6;\n        } while (pSVar5 != (SHELL_VAR *)0x0);\nLAB_00058424:\n        pSVar9 = (SHELL_VAR *)(&pSVar10->name + iVar8);\n      }\n      puVar1 = PTR_free_001464fc;\n      pSVar9->name = (char *)0x0;\n      (*(code *)puVar1)(ppSVar2);\n    }\n  }\n  return &pSVar10->name;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "SHELL_VAR **ppSVar2;" type_identifier (pointer_declarator "**ppSVar2" * (pointer_declarator "*ppSVar2" * identifier)) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "SHELL_VAR *pSVar5;" type_identifier (pointer_declarator "*pSVar5" * identifier) ;) (declaration "SHELL_VAR **ppSVar6;" type_identifier (pointer_declarator "**ppSVar6" * (pointer_declarator "*ppSVar6" * identifier)) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "SHELL_VAR *pSVar9;" type_identifier (pointer_declarator "*pSVar9" * identifier) ;) (declaration "SHELL_VAR *pSVar10;" type_identifier (pointer_declarator "*pSVar10" * identifier) ;) (declaration "char *pcVar11;" primitive_type (pointer_declarator "*pcVar11" * identifier) ;) (declaration "int iVar12;" primitive_type identifier ;) (if_statement "if ((prefix == (char *)0x0) || (*prefix == '\0')) {\n    iVar7 = 0;\n  }\n  else {\n    iVar7 = 1;\n    if (prefix[1] != '\0') {\n      if (prefix[2] == '\0') {\n        iVar7 = 2;\n      }\n      else {\n        iVar7 = (*(code *)PTR_strlen_00146390)();\n      }\n    }\n  }" if (parenthesized_expression "((prefix == (char *)0x0) || (*prefix == '\0'))" ( (binary_expression "(prefix == (char *)0x0) || (*prefix == '\0')" (parenthesized_expression "(prefix == (char *)0x0)" ( (binary_expression "prefix == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(*prefix == '\0')" ( (binary_expression "*prefix == '\0'" (pointer_expression "*prefix" * identifier) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    iVar7 = 0;\n  }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    iVar7 = 1;\n    if (prefix[1] != '\0') {\n      if (prefix[2] == '\0') {\n        iVar7 = 2;\n      }\n      else {\n        iVar7 = (*(code *)PTR_strlen_00146390)();\n      }\n    }\n  }" else (compound_statement "{\n    iVar7 = 1;\n    if (prefix[1] != '\0') {\n      if (prefix[2] == '\0') {\n        iVar7 = 2;\n      }\n      else {\n        iVar7 = (*(code *)PTR_strlen_00146390)();\n      }\n    }\n  }" { (expression_statement "iVar7 = 1;" (assignment_expression "iVar7 = 1" identifier = number_literal) ;) (if_statement "if (prefix[1] != '\0') {\n      if (prefix[2] == '\0') {\n        iVar7 = 2;\n      }\n      else {\n        iVar7 = (*(code *)PTR_strlen_00146390)();\n      }\n    }" if (parenthesized_expression "(prefix[1] != '\0')" ( (binary_expression "prefix[1] != '\0'" (subscript_expression "prefix[1]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      if (prefix[2] == '\0') {\n        iVar7 = 2;\n      }\n      else {\n        iVar7 = (*(code *)PTR_strlen_00146390)();\n      }\n    }" { (if_statement "if (prefix[2] == '\0') {\n        iVar7 = 2;\n      }\n      else {\n        iVar7 = (*(code *)PTR_strlen_00146390)();\n      }" if (parenthesized_expression "(prefix[2] == '\0')" ( (binary_expression "prefix[2] == '\0'" (subscript_expression "prefix[2]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar7 = 2;\n      }" { (expression_statement "iVar7 = 2;" (assignment_expression "iVar7 = 2" identifier = number_literal) ;) }) (else_clause "else {\n        iVar7 = (*(code *)PTR_strlen_00146390)();\n      }" else (compound_statement "{\n        iVar7 = (*(code *)PTR_strlen_00146390)();\n      }" { (expression_statement "iVar7 = (*(code *)PTR_strlen_00146390)();" (assignment_expression "iVar7 = (*(code *)PTR_strlen_00146390)()" identifier = (call_expression "(*(code *)PTR_strlen_00146390)()" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) }))) })) }))) (expression_statement "ppSVar2 = vapply((sh_var_map_func_t *)(PTR_LAB_00144bd0 + 0x2fd0));" (assignment_expression "ppSVar2 = vapply((sh_var_map_func_t *)(PTR_LAB_00144bd0 + 0x2fd0))" identifier = (call_expression "vapply((sh_var_map_func_t *)(PTR_LAB_00144bd0 + 0x2fd0))" identifier (argument_list "((sh_var_map_func_t *)(PTR_LAB_00144bd0 + 0x2fd0))" ( (cast_expression "(sh_var_map_func_t *)(PTR_LAB_00144bd0 + 0x2fd0)" ( (type_descriptor "sh_var_map_func_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00144bd0 + 0x2fd0)" ( (binary_expression "PTR_LAB_00144bd0 + 0x2fd0" identifier + number_literal) ))) )))) ;) (if_statement "if (ppSVar2 == (SHELL_VAR **)0x0) {\n    pSVar10 = (SHELL_VAR *)0x0;\n  }\n  else {\n    pSVar10 = *ppSVar2;\n    if (pSVar10 != (SHELL_VAR *)0x0) {\n      iVar8 = 0;\n      ppSVar6 = ppSVar2;\n      do {\n        iVar12 = iVar8;\n        ppSVar6 = ppSVar6 + 1;\n        iVar8 = iVar12 + 1;\n      } while (*ppSVar6 != (SHELL_VAR *)0x0);\n      pSVar10 = (SHELL_VAR *)(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2);\n      pSVar5 = *ppSVar2;\n      pSVar9 = pSVar10;\n      if (pSVar5 != (SHELL_VAR *)0x0) {\n        ppSVar6 = ppSVar2;\n        iVar8 = 0;\n        do {\n          while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = pSVar5->name;\n            if ((iVar7 != 0) &&\n               ((*prefix != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(prefix,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            pcVar11 = (char *)(*(code *)PTR_strcpy_00146418)(uVar4,(*ppSVar6)->name);\n            (&pSVar10->name)[iVar8] = pcVar11;\n            pSVar5 = ppSVar6[1];\n            ppSVar6 = ppSVar6 + 1;\n            iVar8 = iVar12;\n            if (pSVar5 == (SHELL_VAR *)0x0) goto LAB_00058424;\n          }\n          ppSVar6 = ppSVar6 + 1;\n          pSVar5 = *ppSVar6;\n        } while (pSVar5 != (SHELL_VAR *)0x0);\nLAB_00058424:\n        pSVar9 = (SHELL_VAR *)(&pSVar10->name + iVar8);\n      }\n      puVar1 = PTR_free_001464fc;\n      pSVar9->name = (char *)0x0;\n      (*(code *)puVar1)(ppSVar2);\n    }\n  }" if (parenthesized_expression "(ppSVar2 == (SHELL_VAR **)0x0)" ( (binary_expression "ppSVar2 == (SHELL_VAR **)0x0" identifier == (cast_expression "(SHELL_VAR **)0x0" ( (type_descriptor "SHELL_VAR **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n    pSVar10 = (SHELL_VAR *)0x0;\n  }" { (expression_statement "pSVar10 = (SHELL_VAR *)0x0;" (assignment_expression "pSVar10 = (SHELL_VAR *)0x0" identifier = (cast_expression "(SHELL_VAR *)0x0" ( (type_descriptor "SHELL_VAR *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    pSVar10 = *ppSVar2;\n    if (pSVar10 != (SHELL_VAR *)0x0) {\n      iVar8 = 0;\n      ppSVar6 = ppSVar2;\n      do {\n        iVar12 = iVar8;\n        ppSVar6 = ppSVar6 + 1;\n        iVar8 = iVar12 + 1;\n      } while (*ppSVar6 != (SHELL_VAR *)0x0);\n      pSVar10 = (SHELL_VAR *)(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2);\n      pSVar5 = *ppSVar2;\n      pSVar9 = pSVar10;\n      if (pSVar5 != (SHELL_VAR *)0x0) {\n        ppSVar6 = ppSVar2;\n        iVar8 = 0;\n        do {\n          while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = pSVar5->name;\n            if ((iVar7 != 0) &&\n               ((*prefix != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(prefix,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            pcVar11 = (char *)(*(code *)PTR_strcpy_00146418)(uVar4,(*ppSVar6)->name);\n            (&pSVar10->name)[iVar8] = pcVar11;\n            pSVar5 = ppSVar6[1];\n            ppSVar6 = ppSVar6 + 1;\n            iVar8 = iVar12;\n            if (pSVar5 == (SHELL_VAR *)0x0) goto LAB_00058424;\n          }\n          ppSVar6 = ppSVar6 + 1;\n          pSVar5 = *ppSVar6;\n        } while (pSVar5 != (SHELL_VAR *)0x0);\nLAB_00058424:\n        pSVar9 = (SHELL_VAR *)(&pSVar10->name + iVar8);\n      }\n      puVar1 = PTR_free_001464fc;\n      pSVar9->name = (char *)0x0;\n      (*(code *)puVar1)(ppSVar2);\n    }\n  }" else (compound_statement "{\n    pSVar10 = *ppSVar2;\n    if (pSVar10 != (SHELL_VAR *)0x0) {\n      iVar8 = 0;\n      ppSVar6 = ppSVar2;\n      do {\n        iVar12 = iVar8;\n        ppSVar6 = ppSVar6 + 1;\n        iVar8 = iVar12 + 1;\n      } while (*ppSVar6 != (SHELL_VAR *)0x0);\n      pSVar10 = (SHELL_VAR *)(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2);\n      pSVar5 = *ppSVar2;\n      pSVar9 = pSVar10;\n      if (pSVar5 != (SHELL_VAR *)0x0) {\n        ppSVar6 = ppSVar2;\n        iVar8 = 0;\n        do {\n          while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = pSVar5->name;\n            if ((iVar7 != 0) &&\n               ((*prefix != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(prefix,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            pcVar11 = (char *)(*(code *)PTR_strcpy_00146418)(uVar4,(*ppSVar6)->name);\n            (&pSVar10->name)[iVar8] = pcVar11;\n            pSVar5 = ppSVar6[1];\n            ppSVar6 = ppSVar6 + 1;\n            iVar8 = iVar12;\n            if (pSVar5 == (SHELL_VAR *)0x0) goto LAB_00058424;\n          }\n          ppSVar6 = ppSVar6 + 1;\n          pSVar5 = *ppSVar6;\n        } while (pSVar5 != (SHELL_VAR *)0x0);\nLAB_00058424:\n        pSVar9 = (SHELL_VAR *)(&pSVar10->name + iVar8);\n      }\n      puVar1 = PTR_free_001464fc;\n      pSVar9->name = (char *)0x0;\n      (*(code *)puVar1)(ppSVar2);\n    }\n  }" { (expression_statement "pSVar10 = *ppSVar2;" (assignment_expression "pSVar10 = *ppSVar2" identifier = (pointer_expression "*ppSVar2" * identifier)) ;) (if_statement "if (pSVar10 != (SHELL_VAR *)0x0) {\n      iVar8 = 0;\n      ppSVar6 = ppSVar2;\n      do {\n        iVar12 = iVar8;\n        ppSVar6 = ppSVar6 + 1;\n        iVar8 = iVar12 + 1;\n      } while (*ppSVar6 != (SHELL_VAR *)0x0);\n      pSVar10 = (SHELL_VAR *)(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2);\n      pSVar5 = *ppSVar2;\n      pSVar9 = pSVar10;\n      if (pSVar5 != (SHELL_VAR *)0x0) {\n        ppSVar6 = ppSVar2;\n        iVar8 = 0;\n        do {\n          while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = pSVar5->name;\n            if ((iVar7 != 0) &&\n               ((*prefix != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(prefix,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            pcVar11 = (char *)(*(code *)PTR_strcpy_00146418)(uVar4,(*ppSVar6)->name);\n            (&pSVar10->name)[iVar8] = pcVar11;\n            pSVar5 = ppSVar6[1];\n            ppSVar6 = ppSVar6 + 1;\n            iVar8 = iVar12;\n            if (pSVar5 == (SHELL_VAR *)0x0) goto LAB_00058424;\n          }\n          ppSVar6 = ppSVar6 + 1;\n          pSVar5 = *ppSVar6;\n        } while (pSVar5 != (SHELL_VAR *)0x0);\nLAB_00058424:\n        pSVar9 = (SHELL_VAR *)(&pSVar10->name + iVar8);\n      }\n      puVar1 = PTR_free_001464fc;\n      pSVar9->name = (char *)0x0;\n      (*(code *)puVar1)(ppSVar2);\n    }" if (parenthesized_expression "(pSVar10 != (SHELL_VAR *)0x0)" ( (binary_expression "pSVar10 != (SHELL_VAR *)0x0" identifier != (cast_expression "(SHELL_VAR *)0x0" ( (type_descriptor "SHELL_VAR *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar8 = 0;\n      ppSVar6 = ppSVar2;\n      do {\n        iVar12 = iVar8;\n        ppSVar6 = ppSVar6 + 1;\n        iVar8 = iVar12 + 1;\n      } while (*ppSVar6 != (SHELL_VAR *)0x0);\n      pSVar10 = (SHELL_VAR *)(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2);\n      pSVar5 = *ppSVar2;\n      pSVar9 = pSVar10;\n      if (pSVar5 != (SHELL_VAR *)0x0) {\n        ppSVar6 = ppSVar2;\n        iVar8 = 0;\n        do {\n          while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = pSVar5->name;\n            if ((iVar7 != 0) &&\n               ((*prefix != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(prefix,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            pcVar11 = (char *)(*(code *)PTR_strcpy_00146418)(uVar4,(*ppSVar6)->name);\n            (&pSVar10->name)[iVar8] = pcVar11;\n            pSVar5 = ppSVar6[1];\n            ppSVar6 = ppSVar6 + 1;\n            iVar8 = iVar12;\n            if (pSVar5 == (SHELL_VAR *)0x0) goto LAB_00058424;\n          }\n          ppSVar6 = ppSVar6 + 1;\n          pSVar5 = *ppSVar6;\n        } while (pSVar5 != (SHELL_VAR *)0x0);\nLAB_00058424:\n        pSVar9 = (SHELL_VAR *)(&pSVar10->name + iVar8);\n      }\n      puVar1 = PTR_free_001464fc;\n      pSVar9->name = (char *)0x0;\n      (*(code *)puVar1)(ppSVar2);\n    }" { (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (expression_statement "ppSVar6 = ppSVar2;" (assignment_expression "ppSVar6 = ppSVar2" identifier = identifier) ;) (do_statement "do {\n        iVar12 = iVar8;\n        ppSVar6 = ppSVar6 + 1;\n        iVar8 = iVar12 + 1;\n      } while (*ppSVar6 != (SHELL_VAR *)0x0);" do (compound_statement "{\n        iVar12 = iVar8;\n        ppSVar6 = ppSVar6 + 1;\n        iVar8 = iVar12 + 1;\n      }" { (expression_statement "iVar12 = iVar8;" (assignment_expression "iVar12 = iVar8" identifier = identifier) ;) (expression_statement "ppSVar6 = ppSVar6 + 1;" (assignment_expression "ppSVar6 = ppSVar6 + 1" identifier = (binary_expression "ppSVar6 + 1" identifier + number_literal)) ;) (expression_statement "iVar8 = iVar12 + 1;" (assignment_expression "iVar8 = iVar12 + 1" identifier = (binary_expression "iVar12 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*ppSVar6 != (SHELL_VAR *)0x0)" ( (binary_expression "*ppSVar6 != (SHELL_VAR *)0x0" (pointer_expression "*ppSVar6" * identifier) != (cast_expression "(SHELL_VAR *)0x0" ( (type_descriptor "SHELL_VAR *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "pSVar10 = (SHELL_VAR *)(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2);" (assignment_expression "pSVar10 = (SHELL_VAR *)(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2)" identifier = (cast_expression "(SHELL_VAR *)(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2)" ( (type_descriptor "SHELL_VAR *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2)" (parenthesized_expression "(*(code *)PTR_strvec_create_00144adc)" ( (pointer_expression "*(code *)PTR_strvec_create_00144adc" * (cast_expression "(code *)PTR_strvec_create_00144adc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar12 + 2)" ( (binary_expression "iVar12 + 2" identifier + number_literal) ))))) ;) (expression_statement "pSVar5 = *ppSVar2;" (assignment_expression "pSVar5 = *ppSVar2" identifier = (pointer_expression "*ppSVar2" * identifier)) ;) (expression_statement "pSVar9 = pSVar10;" (assignment_expression "pSVar9 = pSVar10" identifier = identifier) ;) (if_statement "if (pSVar5 != (SHELL_VAR *)0x0) {\n        ppSVar6 = ppSVar2;\n        iVar8 = 0;\n        do {\n          while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = pSVar5->name;\n            if ((iVar7 != 0) &&\n               ((*prefix != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(prefix,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            pcVar11 = (char *)(*(code *)PTR_strcpy_00146418)(uVar4,(*ppSVar6)->name);\n            (&pSVar10->name)[iVar8] = pcVar11;\n            pSVar5 = ppSVar6[1];\n            ppSVar6 = ppSVar6 + 1;\n            iVar8 = iVar12;\n            if (pSVar5 == (SHELL_VAR *)0x0) goto LAB_00058424;\n          }\n          ppSVar6 = ppSVar6 + 1;\n          pSVar5 = *ppSVar6;\n        } while (pSVar5 != (SHELL_VAR *)0x0);\nLAB_00058424:\n        pSVar9 = (SHELL_VAR *)(&pSVar10->name + iVar8);\n      }" if (parenthesized_expression "(pSVar5 != (SHELL_VAR *)0x0)" ( (binary_expression "pSVar5 != (SHELL_VAR *)0x0" identifier != (cast_expression "(SHELL_VAR *)0x0" ( (type_descriptor "SHELL_VAR *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        ppSVar6 = ppSVar2;\n        iVar8 = 0;\n        do {\n          while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = pSVar5->name;\n            if ((iVar7 != 0) &&\n               ((*prefix != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(prefix,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            pcVar11 = (char *)(*(code *)PTR_strcpy_00146418)(uVar4,(*ppSVar6)->name);\n            (&pSVar10->name)[iVar8] = pcVar11;\n            pSVar5 = ppSVar6[1];\n            ppSVar6 = ppSVar6 + 1;\n            iVar8 = iVar12;\n            if (pSVar5 == (SHELL_VAR *)0x0) goto LAB_00058424;\n          }\n          ppSVar6 = ppSVar6 + 1;\n          pSVar5 = *ppSVar6;\n        } while (pSVar5 != (SHELL_VAR *)0x0);\nLAB_00058424:\n        pSVar9 = (SHELL_VAR *)(&pSVar10->name + iVar8);\n      }" { (expression_statement "ppSVar6 = ppSVar2;" (assignment_expression "ppSVar6 = ppSVar2" identifier = identifier) ;) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (do_statement "do {\n          while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = pSVar5->name;\n            if ((iVar7 != 0) &&\n               ((*prefix != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(prefix,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            pcVar11 = (char *)(*(code *)PTR_strcpy_00146418)(uVar4,(*ppSVar6)->name);\n            (&pSVar10->name)[iVar8] = pcVar11;\n            pSVar5 = ppSVar6[1];\n            ppSVar6 = ppSVar6 + 1;\n            iVar8 = iVar12;\n            if (pSVar5 == (SHELL_VAR *)0x0) goto LAB_00058424;\n          }\n          ppSVar6 = ppSVar6 + 1;\n          pSVar5 = *ppSVar6;\n        } while (pSVar5 != (SHELL_VAR *)0x0);" do (compound_statement "{\n          while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = pSVar5->name;\n            if ((iVar7 != 0) &&\n               ((*prefix != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(prefix,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            pcVar11 = (char *)(*(code *)PTR_strcpy_00146418)(uVar4,(*ppSVar6)->name);\n            (&pSVar10->name)[iVar8] = pcVar11;\n            pSVar5 = ppSVar6[1];\n            ppSVar6 = ppSVar6 + 1;\n            iVar8 = iVar12;\n            if (pSVar5 == (SHELL_VAR *)0x0) goto LAB_00058424;\n          }\n          ppSVar6 = ppSVar6 + 1;\n          pSVar5 = *ppSVar6;\n        }" { (while_statement "while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = pSVar5->name;\n            if ((iVar7 != 0) &&\n               ((*prefix != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(prefix,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            pcVar11 = (char *)(*(code *)PTR_strcpy_00146418)(uVar4,(*ppSVar6)->name);\n            (&pSVar10->name)[iVar8] = pcVar11;\n            pSVar5 = ppSVar6[1];\n            ppSVar6 = ppSVar6 + 1;\n            iVar8 = iVar12;\n            if (pSVar5 == (SHELL_VAR *)0x0) goto LAB_00058424;\n          }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n            iVar12 = iVar8 + 1;\n            pcVar11 = pSVar5->name;\n            if ((iVar7 != 0) &&\n               ((*prefix != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(prefix,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            pcVar11 = (char *)(*(code *)PTR_strcpy_00146418)(uVar4,(*ppSVar6)->name);\n            (&pSVar10->name)[iVar8] = pcVar11;\n            pSVar5 = ppSVar6[1];\n            ppSVar6 = ppSVar6 + 1;\n            iVar8 = iVar12;\n            if (pSVar5 == (SHELL_VAR *)0x0) goto LAB_00058424;\n          }" { (expression_statement "iVar12 = iVar8 + 1;" (assignment_expression "iVar12 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (expression_statement "pcVar11 = pSVar5->name;" (assignment_expression "pcVar11 = pSVar5->name" identifier = (field_expression "pSVar5->name" identifier -> field_identifier)) ;) (if_statement "if ((iVar7 != 0) &&\n               ((*prefix != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(prefix,pcVar11,iVar7), iVar3 != 0))))\n            break;" if (parenthesized_expression "((iVar7 != 0) &&\n               ((*prefix != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(prefix,pcVar11,iVar7), iVar3 != 0))))" ( (binary_expression "(iVar7 != 0) &&\n               ((*prefix != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(prefix,pcVar11,iVar7), iVar3 != 0)))" (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) && (parenthesized_expression "((*prefix != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(prefix,pcVar11,iVar7), iVar3 != 0)))" ( (parenthesized_expression "(*prefix != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(prefix,pcVar11,iVar7), iVar3 != 0))" ( (binary_expression "*prefix != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(prefix,pcVar11,iVar7), iVar3 != 0)" (binary_expression "*prefix != *pcVar11" (pointer_expression "*prefix" * identifier) != (pointer_expression "*pcVar11" * identifier)) || (parenthesized_expression "(iVar3 = (*(code *)PTR_strncmp_00146254)(prefix,pcVar11,iVar7), iVar3 != 0)" ( (comma_expression "iVar3 = (*(code *)PTR_strncmp_00146254)(prefix,pcVar11,iVar7), iVar3 != 0" (assignment_expression "iVar3 = (*(code *)PTR_strncmp_00146254)(prefix,pcVar11,iVar7)" identifier = (call_expression "(*(code *)PTR_strncmp_00146254)(prefix,pcVar11,iVar7)" (parenthesized_expression "(*(code *)PTR_strncmp_00146254)" ( (pointer_expression "*(code *)PTR_strncmp_00146254" * (cast_expression "(code *)PTR_strncmp_00146254" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(prefix,pcVar11,iVar7)" ( identifier , identifier , identifier )))) , (binary_expression "iVar3 != 0" identifier != number_literal)) ))) )) ))) )) (break_statement "break;" break ;)) (expression_statement "iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11)" identifier = (call_expression "(*(code *)PTR_strlen_00146390)(pcVar11)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar11)" ( identifier )))) ;) (expression_statement "uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);" (assignment_expression "uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1)" identifier = (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar3 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3 + 1)" ( (binary_expression "iVar3 + 1" identifier + number_literal) )))) ;) (expression_statement "pcVar11 = (char *)(*(code *)PTR_strcpy_00146418)(uVar4,(*ppSVar6)->name);" (assignment_expression "pcVar11 = (char *)(*(code *)PTR_strcpy_00146418)(uVar4,(*ppSVar6)->name)" identifier = (cast_expression "(char *)(*(code *)PTR_strcpy_00146418)(uVar4,(*ppSVar6)->name)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strcpy_00146418)(uVar4,(*ppSVar6)->name)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" ( (pointer_expression "*(code *)PTR_strcpy_00146418" * (cast_expression "(code *)PTR_strcpy_00146418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4,(*ppSVar6)->name)" ( identifier , (field_expression "(*ppSVar6)->name" (parenthesized_expression "(*ppSVar6)" ( (pointer_expression "*ppSVar6" * identifier) )) -> field_identifier) ))))) ;) (expression_statement "(&pSVar10->name)[iVar8] = pcVar11;" (assignment_expression "(&pSVar10->name)[iVar8] = pcVar11" (subscript_expression "(&pSVar10->name)[iVar8]" (parenthesized_expression "(&pSVar10->name)" ( (pointer_expression "&pSVar10->name" & (field_expression "pSVar10->name" identifier -> field_identifier)) )) [ identifier ]) = identifier) ;) (expression_statement "pSVar5 = ppSVar6[1];" (assignment_expression "pSVar5 = ppSVar6[1]" identifier = (subscript_expression "ppSVar6[1]" identifier [ number_literal ])) ;) (expression_statement "ppSVar6 = ppSVar6 + 1;" (assignment_expression "ppSVar6 = ppSVar6 + 1" identifier = (binary_expression "ppSVar6 + 1" identifier + number_literal)) ;) (expression_statement "iVar8 = iVar12;" (assignment_expression "iVar8 = iVar12" identifier = identifier) ;) (if_statement "if (pSVar5 == (SHELL_VAR *)0x0) goto LAB_00058424;" if (parenthesized_expression "(pSVar5 == (SHELL_VAR *)0x0)" ( (binary_expression "pSVar5 == (SHELL_VAR *)0x0" identifier == (cast_expression "(SHELL_VAR *)0x0" ( (type_descriptor "SHELL_VAR *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00058424;" goto statement_identifier ;)) })) (expression_statement "ppSVar6 = ppSVar6 + 1;" (assignment_expression "ppSVar6 = ppSVar6 + 1" identifier = (binary_expression "ppSVar6 + 1" identifier + number_literal)) ;) (expression_statement "pSVar5 = *ppSVar6;" (assignment_expression "pSVar5 = *ppSVar6" identifier = (pointer_expression "*ppSVar6" * identifier)) ;) }) while (parenthesized_expression "(pSVar5 != (SHELL_VAR *)0x0)" ( (binary_expression "pSVar5 != (SHELL_VAR *)0x0" identifier != (cast_expression "(SHELL_VAR *)0x0" ( (type_descriptor "SHELL_VAR *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (labeled_statement "LAB_00058424:\n        pSVar9 = (SHELL_VAR *)(&pSVar10->name + iVar8);" statement_identifier : (expression_statement "pSVar9 = (SHELL_VAR *)(&pSVar10->name + iVar8);" (assignment_expression "pSVar9 = (SHELL_VAR *)(&pSVar10->name + iVar8)" identifier = (cast_expression "(SHELL_VAR *)(&pSVar10->name + iVar8)" ( (type_descriptor "SHELL_VAR *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&pSVar10->name + iVar8)" ( (binary_expression "&pSVar10->name + iVar8" (pointer_expression "&pSVar10->name" & (field_expression "pSVar10->name" identifier -> field_identifier)) + identifier) )))) ;)) })) (expression_statement "puVar1 = PTR_free_001464fc;" (assignment_expression "puVar1 = PTR_free_001464fc" identifier = identifier) ;) (expression_statement "pSVar9->name = (char *)0x0;" (assignment_expression "pSVar9->name = (char *)0x0" (field_expression "pSVar9->name" identifier -> field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(*(code *)puVar1)(ppSVar2);" (call_expression "(*(code *)puVar1)(ppSVar2)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(ppSVar2)" ( identifier ))) ;) })) }))) (return_statement "return &pSVar10->name;" return (pointer_expression "&pSVar10->name" & (field_expression "pSVar10->name" identifier -> field_identifier)) ;) })))
(translation_unit "undefined4 * all_variables_matching_prefix(char *param_1)\n\n{\n  undefined *puVar1;\n  int *piVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  int *piVar6;\n  int iVar7;\n  int iVar8;\n  undefined4 *puVar9;\n  undefined4 *puVar10;\n  char *pcVar11;\n  int iVar12;\n  \n  if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {\n    iVar7 = 0;\n  }\n  else {\n    iVar7 = 1;\n    if (param_1[1] != '\0') {\n      if (param_1[2] == '\0') {\n        iVar7 = 2;\n      }\n      else {\n        iVar7 = (*(code *)PTR_strlen_00146390)();\n      }\n    }\n  }\n  piVar2 = (int *)FUN_0005801c(PTR_LAB_00144bd0 + 0x2fd0);\n  if (piVar2 == (int *)0x0) {\n    puVar10 = (undefined4 *)0x0;\n  }\n  else {\n    puVar10 = (undefined4 *)*piVar2;\n    if (puVar10 != (undefined4 *)0x0) {\n      iVar8 = 0;\n      piVar6 = piVar2;\n      do {\n        iVar12 = iVar8;\n        piVar6 = piVar6 + 1;\n        iVar8 = iVar12 + 1;\n      } while (*piVar6 != 0);\n      puVar10 = (undefined4 *)(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2);\n      puVar5 = (undefined4 *)*piVar2;\n      puVar9 = puVar10;\n      if (puVar5 != (undefined4 *)0x0) {\n        piVar6 = piVar2;\n        iVar8 = 0;\n        do {\n          while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = (char *)*puVar5;\n            if ((iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6);\n            puVar10[iVar8] = uVar4;\n            puVar5 = (undefined4 *)piVar6[1];\n            piVar6 = piVar6 + 1;\n            iVar8 = iVar12;\n            if (puVar5 == (undefined4 *)0x0) goto LAB_00058424;\n          }\n          piVar6 = piVar6 + 1;\n          puVar5 = (undefined4 *)*piVar6;\n        } while (puVar5 != (undefined4 *)0x0);\nLAB_00058424:\n        puVar9 = puVar10 + iVar8;\n      }\n      puVar1 = PTR_free_001464fc;\n      *puVar9 = 0;\n      (*(code *)puVar1)(piVar2);\n    }\n  }\n  return puVar10;\n}\n\n" (function_definition "undefined4 * all_variables_matching_prefix(char *param_1)\n\n{\n  undefined *puVar1;\n  int *piVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  int *piVar6;\n  int iVar7;\n  int iVar8;\n  undefined4 *puVar9;\n  undefined4 *puVar10;\n  char *pcVar11;\n  int iVar12;\n  \n  if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {\n    iVar7 = 0;\n  }\n  else {\n    iVar7 = 1;\n    if (param_1[1] != '\0') {\n      if (param_1[2] == '\0') {\n        iVar7 = 2;\n      }\n      else {\n        iVar7 = (*(code *)PTR_strlen_00146390)();\n      }\n    }\n  }\n  piVar2 = (int *)FUN_0005801c(PTR_LAB_00144bd0 + 0x2fd0);\n  if (piVar2 == (int *)0x0) {\n    puVar10 = (undefined4 *)0x0;\n  }\n  else {\n    puVar10 = (undefined4 *)*piVar2;\n    if (puVar10 != (undefined4 *)0x0) {\n      iVar8 = 0;\n      piVar6 = piVar2;\n      do {\n        iVar12 = iVar8;\n        piVar6 = piVar6 + 1;\n        iVar8 = iVar12 + 1;\n      } while (*piVar6 != 0);\n      puVar10 = (undefined4 *)(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2);\n      puVar5 = (undefined4 *)*piVar2;\n      puVar9 = puVar10;\n      if (puVar5 != (undefined4 *)0x0) {\n        piVar6 = piVar2;\n        iVar8 = 0;\n        do {\n          while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = (char *)*puVar5;\n            if ((iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6);\n            puVar10[iVar8] = uVar4;\n            puVar5 = (undefined4 *)piVar6[1];\n            piVar6 = piVar6 + 1;\n            iVar8 = iVar12;\n            if (puVar5 == (undefined4 *)0x0) goto LAB_00058424;\n          }\n          piVar6 = piVar6 + 1;\n          puVar5 = (undefined4 *)*piVar6;\n        } while (puVar5 != (undefined4 *)0x0);\nLAB_00058424:\n        puVar9 = puVar10 + iVar8;\n      }\n      puVar1 = PTR_free_001464fc;\n      *puVar9 = 0;\n      (*(code *)puVar1)(piVar2);\n    }\n  }\n  return puVar10;\n}" type_identifier (pointer_declarator "* all_variables_matching_prefix(char *param_1)" * (function_declarator "all_variables_matching_prefix(char *param_1)" identifier (parameter_list "(char *param_1)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) )))) (compound_statement "{\n  undefined *puVar1;\n  int *piVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  int *piVar6;\n  int iVar7;\n  int iVar8;\n  undefined4 *puVar9;\n  undefined4 *puVar10;\n  char *pcVar11;\n  int iVar12;\n  \n  if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {\n    iVar7 = 0;\n  }\n  else {\n    iVar7 = 1;\n    if (param_1[1] != '\0') {\n      if (param_1[2] == '\0') {\n        iVar7 = 2;\n      }\n      else {\n        iVar7 = (*(code *)PTR_strlen_00146390)();\n      }\n    }\n  }\n  piVar2 = (int *)FUN_0005801c(PTR_LAB_00144bd0 + 0x2fd0);\n  if (piVar2 == (int *)0x0) {\n    puVar10 = (undefined4 *)0x0;\n  }\n  else {\n    puVar10 = (undefined4 *)*piVar2;\n    if (puVar10 != (undefined4 *)0x0) {\n      iVar8 = 0;\n      piVar6 = piVar2;\n      do {\n        iVar12 = iVar8;\n        piVar6 = piVar6 + 1;\n        iVar8 = iVar12 + 1;\n      } while (*piVar6 != 0);\n      puVar10 = (undefined4 *)(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2);\n      puVar5 = (undefined4 *)*piVar2;\n      puVar9 = puVar10;\n      if (puVar5 != (undefined4 *)0x0) {\n        piVar6 = piVar2;\n        iVar8 = 0;\n        do {\n          while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = (char *)*puVar5;\n            if ((iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6);\n            puVar10[iVar8] = uVar4;\n            puVar5 = (undefined4 *)piVar6[1];\n            piVar6 = piVar6 + 1;\n            iVar8 = iVar12;\n            if (puVar5 == (undefined4 *)0x0) goto LAB_00058424;\n          }\n          piVar6 = piVar6 + 1;\n          puVar5 = (undefined4 *)*piVar6;\n        } while (puVar5 != (undefined4 *)0x0);\nLAB_00058424:\n        puVar9 = puVar10 + iVar8;\n      }\n      puVar1 = PTR_free_001464fc;\n      *puVar9 = 0;\n      (*(code *)puVar1)(piVar2);\n    }\n  }\n  return puVar10;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "undefined4 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "undefined4 *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "char *pcVar11;" primitive_type (pointer_declarator "*pcVar11" * identifier) ;) (declaration "int iVar12;" primitive_type identifier ;) (if_statement "if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {\n    iVar7 = 0;\n  }\n  else {\n    iVar7 = 1;\n    if (param_1[1] != '\0') {\n      if (param_1[2] == '\0') {\n        iVar7 = 2;\n      }\n      else {\n        iVar7 = (*(code *)PTR_strlen_00146390)();\n      }\n    }\n  }" if (parenthesized_expression "((param_1 == (char *)0x0) || (*param_1 == '\0'))" ( (binary_expression "(param_1 == (char *)0x0) || (*param_1 == '\0')" (parenthesized_expression "(param_1 == (char *)0x0)" ( (binary_expression "param_1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(*param_1 == '\0')" ( (binary_expression "*param_1 == '\0'" (pointer_expression "*param_1" * identifier) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    iVar7 = 0;\n  }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    iVar7 = 1;\n    if (param_1[1] != '\0') {\n      if (param_1[2] == '\0') {\n        iVar7 = 2;\n      }\n      else {\n        iVar7 = (*(code *)PTR_strlen_00146390)();\n      }\n    }\n  }" else (compound_statement "{\n    iVar7 = 1;\n    if (param_1[1] != '\0') {\n      if (param_1[2] == '\0') {\n        iVar7 = 2;\n      }\n      else {\n        iVar7 = (*(code *)PTR_strlen_00146390)();\n      }\n    }\n  }" { (expression_statement "iVar7 = 1;" (assignment_expression "iVar7 = 1" identifier = number_literal) ;) (if_statement "if (param_1[1] != '\0') {\n      if (param_1[2] == '\0') {\n        iVar7 = 2;\n      }\n      else {\n        iVar7 = (*(code *)PTR_strlen_00146390)();\n      }\n    }" if (parenthesized_expression "(param_1[1] != '\0')" ( (binary_expression "param_1[1] != '\0'" (subscript_expression "param_1[1]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      if (param_1[2] == '\0') {\n        iVar7 = 2;\n      }\n      else {\n        iVar7 = (*(code *)PTR_strlen_00146390)();\n      }\n    }" { (if_statement "if (param_1[2] == '\0') {\n        iVar7 = 2;\n      }\n      else {\n        iVar7 = (*(code *)PTR_strlen_00146390)();\n      }" if (parenthesized_expression "(param_1[2] == '\0')" ( (binary_expression "param_1[2] == '\0'" (subscript_expression "param_1[2]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar7 = 2;\n      }" { (expression_statement "iVar7 = 2;" (assignment_expression "iVar7 = 2" identifier = number_literal) ;) }) (else_clause "else {\n        iVar7 = (*(code *)PTR_strlen_00146390)();\n      }" else (compound_statement "{\n        iVar7 = (*(code *)PTR_strlen_00146390)();\n      }" { (expression_statement "iVar7 = (*(code *)PTR_strlen_00146390)();" (assignment_expression "iVar7 = (*(code *)PTR_strlen_00146390)()" identifier = (call_expression "(*(code *)PTR_strlen_00146390)()" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) }))) })) }))) (expression_statement "piVar2 = (int *)FUN_0005801c(PTR_LAB_00144bd0 + 0x2fd0);" (assignment_expression "piVar2 = (int *)FUN_0005801c(PTR_LAB_00144bd0 + 0x2fd0)" identifier = (cast_expression "(int *)FUN_0005801c(PTR_LAB_00144bd0 + 0x2fd0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0005801c(PTR_LAB_00144bd0 + 0x2fd0)" identifier (argument_list "(PTR_LAB_00144bd0 + 0x2fd0)" ( (binary_expression "PTR_LAB_00144bd0 + 0x2fd0" identifier + number_literal) ))))) ;) (if_statement "if (piVar2 == (int *)0x0) {\n    puVar10 = (undefined4 *)0x0;\n  }\n  else {\n    puVar10 = (undefined4 *)*piVar2;\n    if (puVar10 != (undefined4 *)0x0) {\n      iVar8 = 0;\n      piVar6 = piVar2;\n      do {\n        iVar12 = iVar8;\n        piVar6 = piVar6 + 1;\n        iVar8 = iVar12 + 1;\n      } while (*piVar6 != 0);\n      puVar10 = (undefined4 *)(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2);\n      puVar5 = (undefined4 *)*piVar2;\n      puVar9 = puVar10;\n      if (puVar5 != (undefined4 *)0x0) {\n        piVar6 = piVar2;\n        iVar8 = 0;\n        do {\n          while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = (char *)*puVar5;\n            if ((iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6);\n            puVar10[iVar8] = uVar4;\n            puVar5 = (undefined4 *)piVar6[1];\n            piVar6 = piVar6 + 1;\n            iVar8 = iVar12;\n            if (puVar5 == (undefined4 *)0x0) goto LAB_00058424;\n          }\n          piVar6 = piVar6 + 1;\n          puVar5 = (undefined4 *)*piVar6;\n        } while (puVar5 != (undefined4 *)0x0);\nLAB_00058424:\n        puVar9 = puVar10 + iVar8;\n      }\n      puVar1 = PTR_free_001464fc;\n      *puVar9 = 0;\n      (*(code *)puVar1)(piVar2);\n    }\n  }" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar10 = (undefined4 *)0x0;\n  }" { (expression_statement "puVar10 = (undefined4 *)0x0;" (assignment_expression "puVar10 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    puVar10 = (undefined4 *)*piVar2;\n    if (puVar10 != (undefined4 *)0x0) {\n      iVar8 = 0;\n      piVar6 = piVar2;\n      do {\n        iVar12 = iVar8;\n        piVar6 = piVar6 + 1;\n        iVar8 = iVar12 + 1;\n      } while (*piVar6 != 0);\n      puVar10 = (undefined4 *)(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2);\n      puVar5 = (undefined4 *)*piVar2;\n      puVar9 = puVar10;\n      if (puVar5 != (undefined4 *)0x0) {\n        piVar6 = piVar2;\n        iVar8 = 0;\n        do {\n          while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = (char *)*puVar5;\n            if ((iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6);\n            puVar10[iVar8] = uVar4;\n            puVar5 = (undefined4 *)piVar6[1];\n            piVar6 = piVar6 + 1;\n            iVar8 = iVar12;\n            if (puVar5 == (undefined4 *)0x0) goto LAB_00058424;\n          }\n          piVar6 = piVar6 + 1;\n          puVar5 = (undefined4 *)*piVar6;\n        } while (puVar5 != (undefined4 *)0x0);\nLAB_00058424:\n        puVar9 = puVar10 + iVar8;\n      }\n      puVar1 = PTR_free_001464fc;\n      *puVar9 = 0;\n      (*(code *)puVar1)(piVar2);\n    }\n  }" else (compound_statement "{\n    puVar10 = (undefined4 *)*piVar2;\n    if (puVar10 != (undefined4 *)0x0) {\n      iVar8 = 0;\n      piVar6 = piVar2;\n      do {\n        iVar12 = iVar8;\n        piVar6 = piVar6 + 1;\n        iVar8 = iVar12 + 1;\n      } while (*piVar6 != 0);\n      puVar10 = (undefined4 *)(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2);\n      puVar5 = (undefined4 *)*piVar2;\n      puVar9 = puVar10;\n      if (puVar5 != (undefined4 *)0x0) {\n        piVar6 = piVar2;\n        iVar8 = 0;\n        do {\n          while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = (char *)*puVar5;\n            if ((iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6);\n            puVar10[iVar8] = uVar4;\n            puVar5 = (undefined4 *)piVar6[1];\n            piVar6 = piVar6 + 1;\n            iVar8 = iVar12;\n            if (puVar5 == (undefined4 *)0x0) goto LAB_00058424;\n          }\n          piVar6 = piVar6 + 1;\n          puVar5 = (undefined4 *)*piVar6;\n        } while (puVar5 != (undefined4 *)0x0);\nLAB_00058424:\n        puVar9 = puVar10 + iVar8;\n      }\n      puVar1 = PTR_free_001464fc;\n      *puVar9 = 0;\n      (*(code *)puVar1)(piVar2);\n    }\n  }" { (expression_statement "puVar10 = (undefined4 *)*piVar2;" (assignment_expression "puVar10 = (undefined4 *)*piVar2" identifier = (cast_expression "(undefined4 *)*piVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier))) ;) (if_statement "if (puVar10 != (undefined4 *)0x0) {\n      iVar8 = 0;\n      piVar6 = piVar2;\n      do {\n        iVar12 = iVar8;\n        piVar6 = piVar6 + 1;\n        iVar8 = iVar12 + 1;\n      } while (*piVar6 != 0);\n      puVar10 = (undefined4 *)(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2);\n      puVar5 = (undefined4 *)*piVar2;\n      puVar9 = puVar10;\n      if (puVar5 != (undefined4 *)0x0) {\n        piVar6 = piVar2;\n        iVar8 = 0;\n        do {\n          while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = (char *)*puVar5;\n            if ((iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6);\n            puVar10[iVar8] = uVar4;\n            puVar5 = (undefined4 *)piVar6[1];\n            piVar6 = piVar6 + 1;\n            iVar8 = iVar12;\n            if (puVar5 == (undefined4 *)0x0) goto LAB_00058424;\n          }\n          piVar6 = piVar6 + 1;\n          puVar5 = (undefined4 *)*piVar6;\n        } while (puVar5 != (undefined4 *)0x0);\nLAB_00058424:\n        puVar9 = puVar10 + iVar8;\n      }\n      puVar1 = PTR_free_001464fc;\n      *puVar9 = 0;\n      (*(code *)puVar1)(piVar2);\n    }" if (parenthesized_expression "(puVar10 != (undefined4 *)0x0)" ( (binary_expression "puVar10 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar8 = 0;\n      piVar6 = piVar2;\n      do {\n        iVar12 = iVar8;\n        piVar6 = piVar6 + 1;\n        iVar8 = iVar12 + 1;\n      } while (*piVar6 != 0);\n      puVar10 = (undefined4 *)(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2);\n      puVar5 = (undefined4 *)*piVar2;\n      puVar9 = puVar10;\n      if (puVar5 != (undefined4 *)0x0) {\n        piVar6 = piVar2;\n        iVar8 = 0;\n        do {\n          while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = (char *)*puVar5;\n            if ((iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6);\n            puVar10[iVar8] = uVar4;\n            puVar5 = (undefined4 *)piVar6[1];\n            piVar6 = piVar6 + 1;\n            iVar8 = iVar12;\n            if (puVar5 == (undefined4 *)0x0) goto LAB_00058424;\n          }\n          piVar6 = piVar6 + 1;\n          puVar5 = (undefined4 *)*piVar6;\n        } while (puVar5 != (undefined4 *)0x0);\nLAB_00058424:\n        puVar9 = puVar10 + iVar8;\n      }\n      puVar1 = PTR_free_001464fc;\n      *puVar9 = 0;\n      (*(code *)puVar1)(piVar2);\n    }" { (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (expression_statement "piVar6 = piVar2;" (assignment_expression "piVar6 = piVar2" identifier = identifier) ;) (do_statement "do {\n        iVar12 = iVar8;\n        piVar6 = piVar6 + 1;\n        iVar8 = iVar12 + 1;\n      } while (*piVar6 != 0);" do (compound_statement "{\n        iVar12 = iVar8;\n        piVar6 = piVar6 + 1;\n        iVar8 = iVar12 + 1;\n      }" { (expression_statement "iVar12 = iVar8;" (assignment_expression "iVar12 = iVar8" identifier = identifier) ;) (expression_statement "piVar6 = piVar6 + 1;" (assignment_expression "piVar6 = piVar6 + 1" identifier = (binary_expression "piVar6 + 1" identifier + number_literal)) ;) (expression_statement "iVar8 = iVar12 + 1;" (assignment_expression "iVar8 = iVar12 + 1" identifier = (binary_expression "iVar12 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*piVar6 != 0)" ( (binary_expression "*piVar6 != 0" (pointer_expression "*piVar6" * identifier) != number_literal) )) ;) (expression_statement "puVar10 = (undefined4 *)(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2);" (assignment_expression "puVar10 = (undefined4 *)(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2)" (parenthesized_expression "(*(code *)PTR_strvec_create_00144adc)" ( (pointer_expression "*(code *)PTR_strvec_create_00144adc" * (cast_expression "(code *)PTR_strvec_create_00144adc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar12 + 2)" ( (binary_expression "iVar12 + 2" identifier + number_literal) ))))) ;) (expression_statement "puVar5 = (undefined4 *)*piVar2;" (assignment_expression "puVar5 = (undefined4 *)*piVar2" identifier = (cast_expression "(undefined4 *)*piVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier))) ;) (expression_statement "puVar9 = puVar10;" (assignment_expression "puVar9 = puVar10" identifier = identifier) ;) (if_statement "if (puVar5 != (undefined4 *)0x0) {\n        piVar6 = piVar2;\n        iVar8 = 0;\n        do {\n          while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = (char *)*puVar5;\n            if ((iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6);\n            puVar10[iVar8] = uVar4;\n            puVar5 = (undefined4 *)piVar6[1];\n            piVar6 = piVar6 + 1;\n            iVar8 = iVar12;\n            if (puVar5 == (undefined4 *)0x0) goto LAB_00058424;\n          }\n          piVar6 = piVar6 + 1;\n          puVar5 = (undefined4 *)*piVar6;\n        } while (puVar5 != (undefined4 *)0x0);\nLAB_00058424:\n        puVar9 = puVar10 + iVar8;\n      }" if (parenthesized_expression "(puVar5 != (undefined4 *)0x0)" ( (binary_expression "puVar5 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        piVar6 = piVar2;\n        iVar8 = 0;\n        do {\n          while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = (char *)*puVar5;\n            if ((iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6);\n            puVar10[iVar8] = uVar4;\n            puVar5 = (undefined4 *)piVar6[1];\n            piVar6 = piVar6 + 1;\n            iVar8 = iVar12;\n            if (puVar5 == (undefined4 *)0x0) goto LAB_00058424;\n          }\n          piVar6 = piVar6 + 1;\n          puVar5 = (undefined4 *)*piVar6;\n        } while (puVar5 != (undefined4 *)0x0);\nLAB_00058424:\n        puVar9 = puVar10 + iVar8;\n      }" { (expression_statement "piVar6 = piVar2;" (assignment_expression "piVar6 = piVar2" identifier = identifier) ;) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (do_statement "do {\n          while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = (char *)*puVar5;\n            if ((iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6);\n            puVar10[iVar8] = uVar4;\n            puVar5 = (undefined4 *)piVar6[1];\n            piVar6 = piVar6 + 1;\n            iVar8 = iVar12;\n            if (puVar5 == (undefined4 *)0x0) goto LAB_00058424;\n          }\n          piVar6 = piVar6 + 1;\n          puVar5 = (undefined4 *)*piVar6;\n        } while (puVar5 != (undefined4 *)0x0);" do (compound_statement "{\n          while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = (char *)*puVar5;\n            if ((iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6);\n            puVar10[iVar8] = uVar4;\n            puVar5 = (undefined4 *)piVar6[1];\n            piVar6 = piVar6 + 1;\n            iVar8 = iVar12;\n            if (puVar5 == (undefined4 *)0x0) goto LAB_00058424;\n          }\n          piVar6 = piVar6 + 1;\n          puVar5 = (undefined4 *)*piVar6;\n        }" { (while_statement "while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = (char *)*puVar5;\n            if ((iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6);\n            puVar10[iVar8] = uVar4;\n            puVar5 = (undefined4 *)piVar6[1];\n            piVar6 = piVar6 + 1;\n            iVar8 = iVar12;\n            if (puVar5 == (undefined4 *)0x0) goto LAB_00058424;\n          }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n            iVar12 = iVar8 + 1;\n            pcVar11 = (char *)*puVar5;\n            if ((iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6);\n            puVar10[iVar8] = uVar4;\n            puVar5 = (undefined4 *)piVar6[1];\n            piVar6 = piVar6 + 1;\n            iVar8 = iVar12;\n            if (puVar5 == (undefined4 *)0x0) goto LAB_00058424;\n          }" { (expression_statement "iVar12 = iVar8 + 1;" (assignment_expression "iVar12 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (expression_statement "pcVar11 = (char *)*puVar5;" (assignment_expression "pcVar11 = (char *)*puVar5" identifier = (cast_expression "(char *)*puVar5" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier))) ;) (if_statement "if ((iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))\n            break;" if (parenthesized_expression "((iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))" ( (binary_expression "(iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0)))" (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) && (parenthesized_expression "((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0)))" ( (parenthesized_expression "(*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))" ( (binary_expression "*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0)" (binary_expression "*param_1 != *pcVar11" (pointer_expression "*param_1" * identifier) != (pointer_expression "*pcVar11" * identifier)) || (parenthesized_expression "(iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0)" ( (comma_expression "iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0" (assignment_expression "iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7)" identifier = (call_expression "(*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7)" (parenthesized_expression "(*(code *)PTR_strncmp_00146254)" ( (pointer_expression "*(code *)PTR_strncmp_00146254" * (cast_expression "(code *)PTR_strncmp_00146254" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,pcVar11,iVar7)" ( identifier , identifier , identifier )))) , (binary_expression "iVar3 != 0" identifier != number_literal)) ))) )) ))) )) (break_statement "break;" break ;)) (expression_statement "iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11)" identifier = (call_expression "(*(code *)PTR_strlen_00146390)(pcVar11)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" ( (pointer_expression "*(code *)PTR_strlen_00146390" * (cast_expression "(code *)PTR_strlen_00146390" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar11)" ( identifier )))) ;) (expression_statement "uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);" (assignment_expression "uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1)" identifier = (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar3 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3 + 1)" ( (binary_expression "iVar3 + 1" identifier + number_literal) )))) ;) (expression_statement "uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6);" (assignment_expression "uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6)" identifier = (call_expression "(*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" ( (pointer_expression "*(code *)PTR_strcpy_00146418" * (cast_expression "(code *)PTR_strcpy_00146418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4,*(undefined4 *)*piVar6)" ( identifier , (pointer_expression "*(undefined4 *)*piVar6" * (cast_expression "(undefined4 *)*piVar6" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar6" * identifier))) )))) ;) (expression_statement "puVar10[iVar8] = uVar4;" (assignment_expression "puVar10[iVar8] = uVar4" (subscript_expression "puVar10[iVar8]" identifier [ identifier ]) = identifier) ;) (expression_statement "puVar5 = (undefined4 *)piVar6[1];" (assignment_expression "puVar5 = (undefined4 *)piVar6[1]" identifier = (cast_expression "(undefined4 *)piVar6[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar6[1]" identifier [ number_literal ]))) ;) (expression_statement "piVar6 = piVar6 + 1;" (assignment_expression "piVar6 = piVar6 + 1" identifier = (binary_expression "piVar6 + 1" identifier + number_literal)) ;) (expression_statement "iVar8 = iVar12;" (assignment_expression "iVar8 = iVar12" identifier = identifier) ;) (if_statement "if (puVar5 == (undefined4 *)0x0) goto LAB_00058424;" if (parenthesized_expression "(puVar5 == (undefined4 *)0x0)" ( (binary_expression "puVar5 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00058424;" goto statement_identifier ;)) })) (expression_statement "piVar6 = piVar6 + 1;" (assignment_expression "piVar6 = piVar6 + 1" identifier = (binary_expression "piVar6 + 1" identifier + number_literal)) ;) (expression_statement "puVar5 = (undefined4 *)*piVar6;" (assignment_expression "puVar5 = (undefined4 *)*piVar6" identifier = (cast_expression "(undefined4 *)*piVar6" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar6" * identifier))) ;) }) while (parenthesized_expression "(puVar5 != (undefined4 *)0x0)" ( (binary_expression "puVar5 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (labeled_statement "LAB_00058424:\n        puVar9 = puVar10 + iVar8;" statement_identifier : (expression_statement "puVar9 = puVar10 + iVar8;" (assignment_expression "puVar9 = puVar10 + iVar8" identifier = (binary_expression "puVar10 + iVar8" identifier + identifier)) ;)) })) (expression_statement "puVar1 = PTR_free_001464fc;" (assignment_expression "puVar1 = PTR_free_001464fc" identifier = identifier) ;) (expression_statement "*puVar9 = 0;" (assignment_expression "*puVar9 = 0" (pointer_expression "*puVar9" * identifier) = number_literal) ;) (expression_statement "(*(code *)puVar1)(piVar2);" (call_expression "(*(code *)puVar1)(piVar2)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar2)" ( identifier ))) ;) })) }))) (return_statement "return puVar10;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) || (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' escape_sequence ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) }))) })) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * IDENT) != (pointer_expression * IDENT)) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT )))) , (binary_expression IDENT != LIT)) ))) )) ))) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;)) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_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 IDENT ;) })))
(function_definition "undefined4 * all_variables_matching_prefix(char *param_1)\n\n{\n  undefined *puVar1;\n  int *piVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  int *piVar6;\n  int iVar7;\n  int iVar8;\n  undefined4 *puVar9;\n  undefined4 *puVar10;\n  char *pcVar11;\n  int iVar12;\n  \n  if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {\n    iVar7 = 0;\n  }\n  else {\n    iVar7 = 1;\n    if (param_1[1] != '\0') {\n      if (param_1[2] == '\0') {\n        iVar7 = 2;\n      }\n      else {\n        iVar7 = (*(code *)PTR_strlen_00146390)();\n      }\n    }\n  }\n  piVar2 = (int *)FUN_0005801c(PTR_LAB_00144bd0 + 0x2fd0);\n  if (piVar2 == (int *)0x0) {\n    puVar10 = (undefined4 *)0x0;\n  }\n  else {\n    puVar10 = (undefined4 *)*piVar2;\n    if (puVar10 != (undefined4 *)0x0) {\n      iVar8 = 0;\n      piVar6 = piVar2;\n      do {\n        iVar12 = iVar8;\n        piVar6 = piVar6 + 1;\n        iVar8 = iVar12 + 1;\n      } while (*piVar6 != 0);\n      puVar10 = (undefined4 *)(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2);\n      puVar5 = (undefined4 *)*piVar2;\n      puVar9 = puVar10;\n      if (puVar5 != (undefined4 *)0x0) {\n        piVar6 = piVar2;\n        iVar8 = 0;\n        do {\n          while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = (char *)*puVar5;\n            if ((iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6);\n            puVar10[iVar8] = uVar4;\n            puVar5 = (undefined4 *)piVar6[1];\n            piVar6 = piVar6 + 1;\n            iVar8 = iVar12;\n            if (puVar5 == (undefined4 *)0x0) goto LAB_00058424;\n          }\n          piVar6 = piVar6 + 1;\n          puVar5 = (undefined4 *)*piVar6;\n        } while (puVar5 != (undefined4 *)0x0);\nLAB_00058424:\n        puVar9 = puVar10 + iVar8;\n      }\n      puVar1 = PTR_free_001464fc;\n      *puVar9 = 0;\n      (*(code *)puVar1)(piVar2);\n    }\n  }\n  return puVar10;\n}" (type_identifier "undefined4") (pointer_declarator "* all_variables_matching_prefix(char *param_1)" (* "*") (function_declarator "all_variables_matching_prefix(char *param_1)" (identifier "all_variables_matching_prefix") (parameter_list "(char *param_1)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")")))) (compound_statement "{\n  undefined *puVar1;\n  int *piVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 *puVar5;\n  int *piVar6;\n  int iVar7;\n  int iVar8;\n  undefined4 *puVar9;\n  undefined4 *puVar10;\n  char *pcVar11;\n  int iVar12;\n  \n  if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {\n    iVar7 = 0;\n  }\n  else {\n    iVar7 = 1;\n    if (param_1[1] != '\0') {\n      if (param_1[2] == '\0') {\n        iVar7 = 2;\n      }\n      else {\n        iVar7 = (*(code *)PTR_strlen_00146390)();\n      }\n    }\n  }\n  piVar2 = (int *)FUN_0005801c(PTR_LAB_00144bd0 + 0x2fd0);\n  if (piVar2 == (int *)0x0) {\n    puVar10 = (undefined4 *)0x0;\n  }\n  else {\n    puVar10 = (undefined4 *)*piVar2;\n    if (puVar10 != (undefined4 *)0x0) {\n      iVar8 = 0;\n      piVar6 = piVar2;\n      do {\n        iVar12 = iVar8;\n        piVar6 = piVar6 + 1;\n        iVar8 = iVar12 + 1;\n      } while (*piVar6 != 0);\n      puVar10 = (undefined4 *)(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2);\n      puVar5 = (undefined4 *)*piVar2;\n      puVar9 = puVar10;\n      if (puVar5 != (undefined4 *)0x0) {\n        piVar6 = piVar2;\n        iVar8 = 0;\n        do {\n          while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = (char *)*puVar5;\n            if ((iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6);\n            puVar10[iVar8] = uVar4;\n            puVar5 = (undefined4 *)piVar6[1];\n            piVar6 = piVar6 + 1;\n            iVar8 = iVar12;\n            if (puVar5 == (undefined4 *)0x0) goto LAB_00058424;\n          }\n          piVar6 = piVar6 + 1;\n          puVar5 = (undefined4 *)*piVar6;\n        } while (puVar5 != (undefined4 *)0x0);\nLAB_00058424:\n        puVar9 = puVar10 + iVar8;\n      }\n      puVar1 = PTR_free_001464fc;\n      *puVar9 = 0;\n      (*(code *)puVar1)(piVar2);\n    }\n  }\n  return puVar10;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "undefined4 *puVar5;" (type_identifier "undefined4") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "int *piVar6;" (primitive_type "int") (pointer_declarator "*piVar6" (* "*") (identifier "piVar6")) (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "undefined4 *puVar9;" (type_identifier "undefined4") (pointer_declarator "*puVar9" (* "*") (identifier "puVar9")) (; ";")) (declaration "undefined4 *puVar10;" (type_identifier "undefined4") (pointer_declarator "*puVar10" (* "*") (identifier "puVar10")) (; ";")) (declaration "char *pcVar11;" (primitive_type "char") (pointer_declarator "*pcVar11" (* "*") (identifier "pcVar11")) (; ";")) (declaration "int iVar12;" (primitive_type "int") (identifier "iVar12") (; ";")) (if_statement "if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {\n    iVar7 = 0;\n  }\n  else {\n    iVar7 = 1;\n    if (param_1[1] != '\0') {\n      if (param_1[2] == '\0') {\n        iVar7 = 2;\n      }\n      else {\n        iVar7 = (*(code *)PTR_strlen_00146390)();\n      }\n    }\n  }" (if "if") (parenthesized_expression "((param_1 == (char *)0x0) || (*param_1 == '\0'))" (( "(") (binary_expression "(param_1 == (char *)0x0) || (*param_1 == '\0')" (parenthesized_expression "(param_1 == (char *)0x0)" (( "(") (binary_expression "param_1 == (char *)0x0" (identifier "param_1") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (|| "||") (parenthesized_expression "(*param_1 == '\0')" (( "(") (binary_expression "*param_1 == '\0'" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    iVar7 = 0;\n  }" ({ "{") (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    iVar7 = 1;\n    if (param_1[1] != '\0') {\n      if (param_1[2] == '\0') {\n        iVar7 = 2;\n      }\n      else {\n        iVar7 = (*(code *)PTR_strlen_00146390)();\n      }\n    }\n  }" (else "else") (compound_statement "{\n    iVar7 = 1;\n    if (param_1[1] != '\0') {\n      if (param_1[2] == '\0') {\n        iVar7 = 2;\n      }\n      else {\n        iVar7 = (*(code *)PTR_strlen_00146390)();\n      }\n    }\n  }" ({ "{") (expression_statement "iVar7 = 1;" (assignment_expression "iVar7 = 1" (identifier "iVar7") (= "=") (number_literal "1")) (; ";")) (if_statement "if (param_1[1] != '\0') {\n      if (param_1[2] == '\0') {\n        iVar7 = 2;\n      }\n      else {\n        iVar7 = (*(code *)PTR_strlen_00146390)();\n      }\n    }" (if "if") (parenthesized_expression "(param_1[1] != '\0')" (( "(") (binary_expression "param_1[1] != '\0'" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      if (param_1[2] == '\0') {\n        iVar7 = 2;\n      }\n      else {\n        iVar7 = (*(code *)PTR_strlen_00146390)();\n      }\n    }" ({ "{") (if_statement "if (param_1[2] == '\0') {\n        iVar7 = 2;\n      }\n      else {\n        iVar7 = (*(code *)PTR_strlen_00146390)();\n      }" (if "if") (parenthesized_expression "(param_1[2] == '\0')" (( "(") (binary_expression "param_1[2] == '\0'" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        iVar7 = 2;\n      }" ({ "{") (expression_statement "iVar7 = 2;" (assignment_expression "iVar7 = 2" (identifier "iVar7") (= "=") (number_literal "2")) (; ";")) (} "}")) (else_clause "else {\n        iVar7 = (*(code *)PTR_strlen_00146390)();\n      }" (else "else") (compound_statement "{\n        iVar7 = (*(code *)PTR_strlen_00146390)();\n      }" ({ "{") (expression_statement "iVar7 = (*(code *)PTR_strlen_00146390)();" (assignment_expression "iVar7 = (*(code *)PTR_strlen_00146390)()" (identifier "iVar7") (= "=") (call_expression "(*(code *)PTR_strlen_00146390)()" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" (( "(") (pointer_expression "*(code *)PTR_strlen_00146390" (* "*") (cast_expression "(code *)PTR_strlen_00146390" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00146390"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (} "}")))) (} "}"))) (} "}")))) (expression_statement "piVar2 = (int *)FUN_0005801c(PTR_LAB_00144bd0 + 0x2fd0);" (assignment_expression "piVar2 = (int *)FUN_0005801c(PTR_LAB_00144bd0 + 0x2fd0)" (identifier "piVar2") (= "=") (cast_expression "(int *)FUN_0005801c(PTR_LAB_00144bd0 + 0x2fd0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0005801c(PTR_LAB_00144bd0 + 0x2fd0)" (identifier "FUN_0005801c") (argument_list "(PTR_LAB_00144bd0 + 0x2fd0)" (( "(") (binary_expression "PTR_LAB_00144bd0 + 0x2fd0" (identifier "PTR_LAB_00144bd0") (+ "+") (number_literal "0x2fd0")) () ")"))))) (; ";")) (if_statement "if (piVar2 == (int *)0x0) {\n    puVar10 = (undefined4 *)0x0;\n  }\n  else {\n    puVar10 = (undefined4 *)*piVar2;\n    if (puVar10 != (undefined4 *)0x0) {\n      iVar8 = 0;\n      piVar6 = piVar2;\n      do {\n        iVar12 = iVar8;\n        piVar6 = piVar6 + 1;\n        iVar8 = iVar12 + 1;\n      } while (*piVar6 != 0);\n      puVar10 = (undefined4 *)(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2);\n      puVar5 = (undefined4 *)*piVar2;\n      puVar9 = puVar10;\n      if (puVar5 != (undefined4 *)0x0) {\n        piVar6 = piVar2;\n        iVar8 = 0;\n        do {\n          while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = (char *)*puVar5;\n            if ((iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6);\n            puVar10[iVar8] = uVar4;\n            puVar5 = (undefined4 *)piVar6[1];\n            piVar6 = piVar6 + 1;\n            iVar8 = iVar12;\n            if (puVar5 == (undefined4 *)0x0) goto LAB_00058424;\n          }\n          piVar6 = piVar6 + 1;\n          puVar5 = (undefined4 *)*piVar6;\n        } while (puVar5 != (undefined4 *)0x0);\nLAB_00058424:\n        puVar9 = puVar10 + iVar8;\n      }\n      puVar1 = PTR_free_001464fc;\n      *puVar9 = 0;\n      (*(code *)puVar1)(piVar2);\n    }\n  }" (if "if") (parenthesized_expression "(piVar2 == (int *)0x0)" (( "(") (binary_expression "piVar2 == (int *)0x0" (identifier "piVar2") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    puVar10 = (undefined4 *)0x0;\n  }" ({ "{") (expression_statement "puVar10 = (undefined4 *)0x0;" (assignment_expression "puVar10 = (undefined4 *)0x0" (identifier "puVar10") (= "=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")) (else_clause "else {\n    puVar10 = (undefined4 *)*piVar2;\n    if (puVar10 != (undefined4 *)0x0) {\n      iVar8 = 0;\n      piVar6 = piVar2;\n      do {\n        iVar12 = iVar8;\n        piVar6 = piVar6 + 1;\n        iVar8 = iVar12 + 1;\n      } while (*piVar6 != 0);\n      puVar10 = (undefined4 *)(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2);\n      puVar5 = (undefined4 *)*piVar2;\n      puVar9 = puVar10;\n      if (puVar5 != (undefined4 *)0x0) {\n        piVar6 = piVar2;\n        iVar8 = 0;\n        do {\n          while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = (char *)*puVar5;\n            if ((iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6);\n            puVar10[iVar8] = uVar4;\n            puVar5 = (undefined4 *)piVar6[1];\n            piVar6 = piVar6 + 1;\n            iVar8 = iVar12;\n            if (puVar5 == (undefined4 *)0x0) goto LAB_00058424;\n          }\n          piVar6 = piVar6 + 1;\n          puVar5 = (undefined4 *)*piVar6;\n        } while (puVar5 != (undefined4 *)0x0);\nLAB_00058424:\n        puVar9 = puVar10 + iVar8;\n      }\n      puVar1 = PTR_free_001464fc;\n      *puVar9 = 0;\n      (*(code *)puVar1)(piVar2);\n    }\n  }" (else "else") (compound_statement "{\n    puVar10 = (undefined4 *)*piVar2;\n    if (puVar10 != (undefined4 *)0x0) {\n      iVar8 = 0;\n      piVar6 = piVar2;\n      do {\n        iVar12 = iVar8;\n        piVar6 = piVar6 + 1;\n        iVar8 = iVar12 + 1;\n      } while (*piVar6 != 0);\n      puVar10 = (undefined4 *)(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2);\n      puVar5 = (undefined4 *)*piVar2;\n      puVar9 = puVar10;\n      if (puVar5 != (undefined4 *)0x0) {\n        piVar6 = piVar2;\n        iVar8 = 0;\n        do {\n          while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = (char *)*puVar5;\n            if ((iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6);\n            puVar10[iVar8] = uVar4;\n            puVar5 = (undefined4 *)piVar6[1];\n            piVar6 = piVar6 + 1;\n            iVar8 = iVar12;\n            if (puVar5 == (undefined4 *)0x0) goto LAB_00058424;\n          }\n          piVar6 = piVar6 + 1;\n          puVar5 = (undefined4 *)*piVar6;\n        } while (puVar5 != (undefined4 *)0x0);\nLAB_00058424:\n        puVar9 = puVar10 + iVar8;\n      }\n      puVar1 = PTR_free_001464fc;\n      *puVar9 = 0;\n      (*(code *)puVar1)(piVar2);\n    }\n  }" ({ "{") (expression_statement "puVar10 = (undefined4 *)*piVar2;" (assignment_expression "puVar10 = (undefined4 *)*piVar2" (identifier "puVar10") (= "=") (cast_expression "(undefined4 *)*piVar2" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar2" (* "*") (identifier "piVar2")))) (; ";")) (if_statement "if (puVar10 != (undefined4 *)0x0) {\n      iVar8 = 0;\n      piVar6 = piVar2;\n      do {\n        iVar12 = iVar8;\n        piVar6 = piVar6 + 1;\n        iVar8 = iVar12 + 1;\n      } while (*piVar6 != 0);\n      puVar10 = (undefined4 *)(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2);\n      puVar5 = (undefined4 *)*piVar2;\n      puVar9 = puVar10;\n      if (puVar5 != (undefined4 *)0x0) {\n        piVar6 = piVar2;\n        iVar8 = 0;\n        do {\n          while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = (char *)*puVar5;\n            if ((iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6);\n            puVar10[iVar8] = uVar4;\n            puVar5 = (undefined4 *)piVar6[1];\n            piVar6 = piVar6 + 1;\n            iVar8 = iVar12;\n            if (puVar5 == (undefined4 *)0x0) goto LAB_00058424;\n          }\n          piVar6 = piVar6 + 1;\n          puVar5 = (undefined4 *)*piVar6;\n        } while (puVar5 != (undefined4 *)0x0);\nLAB_00058424:\n        puVar9 = puVar10 + iVar8;\n      }\n      puVar1 = PTR_free_001464fc;\n      *puVar9 = 0;\n      (*(code *)puVar1)(piVar2);\n    }" (if "if") (parenthesized_expression "(puVar10 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar10 != (undefined4 *)0x0" (identifier "puVar10") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      iVar8 = 0;\n      piVar6 = piVar2;\n      do {\n        iVar12 = iVar8;\n        piVar6 = piVar6 + 1;\n        iVar8 = iVar12 + 1;\n      } while (*piVar6 != 0);\n      puVar10 = (undefined4 *)(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2);\n      puVar5 = (undefined4 *)*piVar2;\n      puVar9 = puVar10;\n      if (puVar5 != (undefined4 *)0x0) {\n        piVar6 = piVar2;\n        iVar8 = 0;\n        do {\n          while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = (char *)*puVar5;\n            if ((iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6);\n            puVar10[iVar8] = uVar4;\n            puVar5 = (undefined4 *)piVar6[1];\n            piVar6 = piVar6 + 1;\n            iVar8 = iVar12;\n            if (puVar5 == (undefined4 *)0x0) goto LAB_00058424;\n          }\n          piVar6 = piVar6 + 1;\n          puVar5 = (undefined4 *)*piVar6;\n        } while (puVar5 != (undefined4 *)0x0);\nLAB_00058424:\n        puVar9 = puVar10 + iVar8;\n      }\n      puVar1 = PTR_free_001464fc;\n      *puVar9 = 0;\n      (*(code *)puVar1)(piVar2);\n    }" ({ "{") (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" (identifier "iVar8") (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar6 = piVar2;" (assignment_expression "piVar6 = piVar2" (identifier "piVar6") (= "=") (identifier "piVar2")) (; ";")) (do_statement "do {\n        iVar12 = iVar8;\n        piVar6 = piVar6 + 1;\n        iVar8 = iVar12 + 1;\n      } while (*piVar6 != 0);" (do "do") (compound_statement "{\n        iVar12 = iVar8;\n        piVar6 = piVar6 + 1;\n        iVar8 = iVar12 + 1;\n      }" ({ "{") (expression_statement "iVar12 = iVar8;" (assignment_expression "iVar12 = iVar8" (identifier "iVar12") (= "=") (identifier "iVar8")) (; ";")) (expression_statement "piVar6 = piVar6 + 1;" (assignment_expression "piVar6 = piVar6 + 1" (identifier "piVar6") (= "=") (binary_expression "piVar6 + 1" (identifier "piVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar8 = iVar12 + 1;" (assignment_expression "iVar8 = iVar12 + 1" (identifier "iVar8") (= "=") (binary_expression "iVar12 + 1" (identifier "iVar12") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*piVar6 != 0)" (( "(") (binary_expression "*piVar6 != 0" (pointer_expression "*piVar6" (* "*") (identifier "piVar6")) (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "puVar10 = (undefined4 *)(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2);" (assignment_expression "puVar10 = (undefined4 *)(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2)" (identifier "puVar10") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2)" (parenthesized_expression "(*(code *)PTR_strvec_create_00144adc)" (( "(") (pointer_expression "*(code *)PTR_strvec_create_00144adc" (* "*") (cast_expression "(code *)PTR_strvec_create_00144adc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strvec_create_00144adc"))) () ")")) (argument_list "(iVar12 + 2)" (( "(") (binary_expression "iVar12 + 2" (identifier "iVar12") (+ "+") (number_literal "2")) () ")"))))) (; ";")) (expression_statement "puVar5 = (undefined4 *)*piVar2;" (assignment_expression "puVar5 = (undefined4 *)*piVar2" (identifier "puVar5") (= "=") (cast_expression "(undefined4 *)*piVar2" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar2" (* "*") (identifier "piVar2")))) (; ";")) (expression_statement "puVar9 = puVar10;" (assignment_expression "puVar9 = puVar10" (identifier "puVar9") (= "=") (identifier "puVar10")) (; ";")) (if_statement "if (puVar5 != (undefined4 *)0x0) {\n        piVar6 = piVar2;\n        iVar8 = 0;\n        do {\n          while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = (char *)*puVar5;\n            if ((iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6);\n            puVar10[iVar8] = uVar4;\n            puVar5 = (undefined4 *)piVar6[1];\n            piVar6 = piVar6 + 1;\n            iVar8 = iVar12;\n            if (puVar5 == (undefined4 *)0x0) goto LAB_00058424;\n          }\n          piVar6 = piVar6 + 1;\n          puVar5 = (undefined4 *)*piVar6;\n        } while (puVar5 != (undefined4 *)0x0);\nLAB_00058424:\n        puVar9 = puVar10 + iVar8;\n      }" (if "if") (parenthesized_expression "(puVar5 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar5 != (undefined4 *)0x0" (identifier "puVar5") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        piVar6 = piVar2;\n        iVar8 = 0;\n        do {\n          while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = (char *)*puVar5;\n            if ((iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6);\n            puVar10[iVar8] = uVar4;\n            puVar5 = (undefined4 *)piVar6[1];\n            piVar6 = piVar6 + 1;\n            iVar8 = iVar12;\n            if (puVar5 == (undefined4 *)0x0) goto LAB_00058424;\n          }\n          piVar6 = piVar6 + 1;\n          puVar5 = (undefined4 *)*piVar6;\n        } while (puVar5 != (undefined4 *)0x0);\nLAB_00058424:\n        puVar9 = puVar10 + iVar8;\n      }" ({ "{") (expression_statement "piVar6 = piVar2;" (assignment_expression "piVar6 = piVar2" (identifier "piVar6") (= "=") (identifier "piVar2")) (; ";")) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" (identifier "iVar8") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n          while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = (char *)*puVar5;\n            if ((iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6);\n            puVar10[iVar8] = uVar4;\n            puVar5 = (undefined4 *)piVar6[1];\n            piVar6 = piVar6 + 1;\n            iVar8 = iVar12;\n            if (puVar5 == (undefined4 *)0x0) goto LAB_00058424;\n          }\n          piVar6 = piVar6 + 1;\n          puVar5 = (undefined4 *)*piVar6;\n        } while (puVar5 != (undefined4 *)0x0);" (do "do") (compound_statement "{\n          while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = (char *)*puVar5;\n            if ((iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6);\n            puVar10[iVar8] = uVar4;\n            puVar5 = (undefined4 *)piVar6[1];\n            piVar6 = piVar6 + 1;\n            iVar8 = iVar12;\n            if (puVar5 == (undefined4 *)0x0) goto LAB_00058424;\n          }\n          piVar6 = piVar6 + 1;\n          puVar5 = (undefined4 *)*piVar6;\n        }" ({ "{") (while_statement "while( true ) {\n            iVar12 = iVar8 + 1;\n            pcVar11 = (char *)*puVar5;\n            if ((iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6);\n            puVar10[iVar8] = uVar4;\n            puVar5 = (undefined4 *)piVar6[1];\n            piVar6 = piVar6 + 1;\n            iVar8 = iVar12;\n            if (puVar5 == (undefined4 *)0x0) goto LAB_00058424;\n          }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n            iVar12 = iVar8 + 1;\n            pcVar11 = (char *)*puVar5;\n            if ((iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))\n            break;\n            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);\n            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);\n            uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6);\n            puVar10[iVar8] = uVar4;\n            puVar5 = (undefined4 *)piVar6[1];\n            piVar6 = piVar6 + 1;\n            iVar8 = iVar12;\n            if (puVar5 == (undefined4 *)0x0) goto LAB_00058424;\n          }" ({ "{") (expression_statement "iVar12 = iVar8 + 1;" (assignment_expression "iVar12 = iVar8 + 1" (identifier "iVar12") (= "=") (binary_expression "iVar8 + 1" (identifier "iVar8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pcVar11 = (char *)*puVar5;" (assignment_expression "pcVar11 = (char *)*puVar5" (identifier "pcVar11") (= "=") (cast_expression "(char *)*puVar5" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar5" (* "*") (identifier "puVar5")))) (; ";")) (if_statement "if ((iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))\n            break;" (if "if") (parenthesized_expression "((iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))" (( "(") (binary_expression "(iVar7 != 0) &&\n               ((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0)))" (parenthesized_expression "(iVar7 != 0)" (( "(") (binary_expression "iVar7 != 0" (identifier "iVar7") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0)))" (( "(") (parenthesized_expression "(*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))" (( "(") (binary_expression "*param_1 != *pcVar11 ||\n                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0)" (binary_expression "*param_1 != *pcVar11" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (!= "!=") (pointer_expression "*pcVar11" (* "*") (identifier "pcVar11"))) (|| "||") (parenthesized_expression "(iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0)" (( "(") (comma_expression "iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0" (assignment_expression "iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7)" (parenthesized_expression "(*(code *)PTR_strncmp_00146254)" (( "(") (pointer_expression "*(code *)PTR_strncmp_00146254" (* "*") (cast_expression "(code *)PTR_strncmp_00146254" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strncmp_00146254"))) () ")")) (argument_list "(param_1,pcVar11,iVar7)" (( "(") (identifier "param_1") (, ",") (identifier "pcVar11") (, ",") (identifier "iVar7") () ")")))) (, ",") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0"))) () ")"))) () ")")) () ")"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_strlen_00146390)(pcVar11)" (parenthesized_expression "(*(code *)PTR_strlen_00146390)" (( "(") (pointer_expression "*(code *)PTR_strlen_00146390" (* "*") (cast_expression "(code *)PTR_strlen_00146390" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00146390"))) () ")")) (argument_list "(pcVar11)" (( "(") (identifier "pcVar11") () ")")))) (; ";")) (expression_statement "uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);" (assignment_expression "uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1)" (identifier "uVar4") (= "=") (call_expression "(*(code *)PTR_xmalloc_001445b0)(iVar3 + 1)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" (( "(") (pointer_expression "*(code *)PTR_xmalloc_001445b0" (* "*") (cast_expression "(code *)PTR_xmalloc_001445b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xmalloc_001445b0"))) () ")")) (argument_list "(iVar3 + 1)" (( "(") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6);" (assignment_expression "uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6)" (identifier "uVar4") (= "=") (call_expression "(*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6)" (parenthesized_expression "(*(code *)PTR_strcpy_00146418)" (( "(") (pointer_expression "*(code *)PTR_strcpy_00146418" (* "*") (cast_expression "(code *)PTR_strcpy_00146418" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcpy_00146418"))) () ")")) (argument_list "(uVar4,*(undefined4 *)*piVar6)" (( "(") (identifier "uVar4") (, ",") (pointer_expression "*(undefined4 *)*piVar6" (* "*") (cast_expression "(undefined4 *)*piVar6" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar6" (* "*") (identifier "piVar6")))) () ")")))) (; ";")) (expression_statement "puVar10[iVar8] = uVar4;" (assignment_expression "puVar10[iVar8] = uVar4" (subscript_expression "puVar10[iVar8]" (identifier "puVar10") ([ "[") (identifier "iVar8") (] "]")) (= "=") (identifier "uVar4")) (; ";")) (expression_statement "puVar5 = (undefined4 *)piVar6[1];" (assignment_expression "puVar5 = (undefined4 *)piVar6[1]" (identifier "puVar5") (= "=") (cast_expression "(undefined4 *)piVar6[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar6[1]" (identifier "piVar6") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "piVar6 = piVar6 + 1;" (assignment_expression "piVar6 = piVar6 + 1" (identifier "piVar6") (= "=") (binary_expression "piVar6 + 1" (identifier "piVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar8 = iVar12;" (assignment_expression "iVar8 = iVar12" (identifier "iVar8") (= "=") (identifier "iVar12")) (; ";")) (if_statement "if (puVar5 == (undefined4 *)0x0) goto LAB_00058424;" (if "if") (parenthesized_expression "(puVar5 == (undefined4 *)0x0)" (( "(") (binary_expression "puVar5 == (undefined4 *)0x0" (identifier "puVar5") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00058424;" (goto "goto") (statement_identifier "LAB_00058424") (; ";"))) (} "}"))) (expression_statement "piVar6 = piVar6 + 1;" (assignment_expression "piVar6 = piVar6 + 1" (identifier "piVar6") (= "=") (binary_expression "piVar6 + 1" (identifier "piVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar5 = (undefined4 *)*piVar6;" (assignment_expression "puVar5 = (undefined4 *)*piVar6" (identifier "puVar5") (= "=") (cast_expression "(undefined4 *)*piVar6" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar6" (* "*") (identifier "piVar6")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar5 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar5 != (undefined4 *)0x0" (identifier "puVar5") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (labeled_statement "LAB_00058424:\n        puVar9 = puVar10 + iVar8;" (statement_identifier "LAB_00058424") (: ":") (expression_statement "puVar9 = puVar10 + iVar8;" (assignment_expression "puVar9 = puVar10 + iVar8" (identifier "puVar9") (= "=") (binary_expression "puVar10 + iVar8" (identifier "puVar10") (+ "+") (identifier "iVar8"))) (; ";"))) (} "}"))) (expression_statement "puVar1 = PTR_free_001464fc;" (assignment_expression "puVar1 = PTR_free_001464fc" (identifier "puVar1") (= "=") (identifier "PTR_free_001464fc")) (; ";")) (expression_statement "*puVar9 = 0;" (assignment_expression "*puVar9 = 0" (pointer_expression "*puVar9" (* "*") (identifier "puVar9")) (= "=") (number_literal "0")) (; ";")) (expression_statement "(*(code *)puVar1)(piVar2);" (call_expression "(*(code *)puVar1)(piVar2)" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "(piVar2)" (( "(") (identifier "piVar2") () ")"))) (; ";")) (} "}"))) (} "}")))) (return_statement "return puVar10;" (return "return") (identifier "puVar10") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator 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: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list)))))))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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))))) condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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 (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier) (identifier)))) right: (binary_expression left: (identifier) right: (number_literal))))))))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))))))) (return_statement (identifier)))))

undefined4 * MASKED(char *param_1)

{
  undefined *puVar1;
  int *piVar2;
  int iVar3;
  undefined4 uVar4;
  undefined4 *puVar5;
  int *piVar6;
  int iVar7;
  int iVar8;
  undefined4 *puVar9;
  undefined4 *puVar10;
  char *pcVar11;
  int iVar12;
  
  if ((param_1 == (char *)0x0) || (*param_1 == '\0')) {
    iVar7 = 0;
  }
  else {
    iVar7 = 1;
    if (param_1[1] != '\0') {
      if (param_1[2] == '\0') {
        iVar7 = 2;
      }
      else {
        iVar7 = (*(code *)PTR_strlen_00146390)();
      }
    }
  }
  piVar2 = (int *)FUN_0005801c(PTR_LAB_00144bd0 + 0x2fd0);
  if (piVar2 == (int *)0x0) {
    puVar10 = (undefined4 *)0x0;
  }
  else {
    puVar10 = (undefined4 *)*piVar2;
    if (puVar10 != (undefined4 *)0x0) {
      iVar8 = 0;
      piVar6 = piVar2;
      do {
        iVar12 = iVar8;
        piVar6 = piVar6 + 1;
        iVar8 = iVar12 + 1;
      } while (*piVar6 != 0);
      puVar10 = (undefined4 *)(*(code *)PTR_strvec_create_00144adc)(iVar12 + 2);
      puVar5 = (undefined4 *)*piVar2;
      puVar9 = puVar10;
      if (puVar5 != (undefined4 *)0x0) {
        piVar6 = piVar2;
        iVar8 = 0;
        do {
          while( true ) {
            iVar12 = iVar8 + 1;
            pcVar11 = (char *)*puVar5;
            if ((iVar7 != 0) &&
               ((*param_1 != *pcVar11 ||
                (iVar3 = (*(code *)PTR_strncmp_00146254)(param_1,pcVar11,iVar7), iVar3 != 0))))
            break;
            iVar3 = (*(code *)PTR_strlen_00146390)(pcVar11);
            uVar4 = (*(code *)PTR_xmalloc_001445b0)(iVar3 + 1);
            uVar4 = (*(code *)PTR_strcpy_00146418)(uVar4,*(undefined4 *)*piVar6);
            puVar10[iVar8] = uVar4;
            puVar5 = (undefined4 *)piVar6[1];
            piVar6 = piVar6 + 1;
            iVar8 = iVar12;
            if (puVar5 == (undefined4 *)0x0) goto LAB_00058424;
          }
          piVar6 = piVar6 + 1;
          puVar5 = (undefined4 *)*piVar6;
        } while (puVar5 != (undefined4 *)0x0);
LAB_00058424:
        puVar9 = puVar10 + iVar8;
      }
      puVar1 = PTR_free_001464fc;
      *puVar9 = 0;
      (*(code *)puVar1)(piVar2);
    }
  }
  return puVar10;
}

