
void _ignore_completion_names(char **names,sh_ignore_func_t *name_func)

{
  undefined *puVar1;
  undefined4 *puVar2;
  int iVar3;
  char *pcVar4;
  char **ppcVar5;
  char **ppcVar6;
  int iVar7;
  int unaff_s4;
  int iVar8;
  
  if (names[1] == (char *)0x0) {
    if ((*(int *)PTR_force_fignore_00157610 != 0) && (iVar7 = (*name_func)(*names), iVar7 == 0)) {
      (*(code *)PTR_free_001585ac)(*names);
      return;
    }
    return;
  }
  ppcVar6 = names + 1;
  ppcVar5 = names + 2;
  iVar7 = 1;
  do {
    iVar8 = iVar7;
    pcVar4 = *ppcVar5;
    ppcVar5 = ppcVar5 + 1;
    iVar7 = iVar8 + 1;
  } while (pcVar4 != (char *)0x0);
  puVar2 = (undefined4 *)(*(code *)PTR_strvec_create_00156b00)(iVar8 + 2);
  if (*(int *)PTR_force_fignore_00157610 == 0) {
    unaff_s4 = (*(code *)PTR_strvec_create_00156b00)(iVar8);
  }
  *puVar2 = *names;
  puVar1 = PTR_force_fignore_00157610;
  pcVar4 = names[1];
  iVar7 = 0;
  if (pcVar4 == (char *)0x0) {
    puVar2[1] = 0;
  }
  else {
    iVar8 = 1;
    do {
      iVar3 = (*name_func)(pcVar4);
      if (iVar3 == 0) {
        if (*(int *)puVar1 != 0) {
          (*(code *)PTR_free_001585ac)(*ppcVar6);
          return;
        }
        *(char **)(unaff_s4 + iVar7 * 4) = *ppcVar6;
        iVar7 = iVar7 + 1;
      }
      else {
        puVar2[iVar8] = *ppcVar6;
        iVar8 = iVar8 + 1;
      }
      ppcVar6 = ppcVar6 + 1;
      pcVar4 = *ppcVar6;
    } while (pcVar4 != (char *)0x0);
    puVar2[iVar8] = 0;
    if (iVar8 != 1) {
      if (*(int *)PTR_force_fignore_00157610 != 0) {
        if (iVar8 == 2) {
          (*(code *)PTR_free_001585ac)(*names);
          return;
        }
        pcVar4 = (char *)puVar2[1];
        iVar7 = 4;
        if (pcVar4 != (char *)0x0) {
          ppcVar5 = names + 1;
          do {
            *ppcVar5 = pcVar4;
            iVar7 = iVar7 + 4;
            pcVar4 = *(char **)((int)puVar2 + iVar7);
            ppcVar5 = (char **)((int)names + iVar7);
          } while (pcVar4 != (char *)0x0);
        }
        *(undefined4 *)((int)names + iVar7) = 0;
        (*(code *)PTR_free_001585ac)(puVar2);
        return;
      }
      if (iVar7 == 0) {
        (*(code *)PTR_free_001585ac)(unaff_s4);
        return;
      }
      (*(code *)PTR_free_001585ac)(*(undefined4 *)(unaff_s4 + iVar7 * 4 + -4));
      return;
    }
  }
  if (*(int *)PTR_force_fignore_00157610 == 0) {
    (*(code *)PTR_free_001585ac)(unaff_s4);
    return;
  }
  (*(code *)PTR_free_001585ac)(*names);
  return;
}



void FUN_000a39c0(undefined4 *param_1,code *param_2)

{
  undefined *puVar1;
  undefined4 *puVar2;
  int iVar3;
  int iVar4;
  int *piVar5;
  int *piVar6;
  int iVar7;
  int unaff_s4;
  
  if (param_1[1] == 0) {
    if ((*(int *)PTR_force_fignore_00157610 != 0) && (iVar7 = (*param_2)(*param_1), iVar7 == 0)) {
      (*(code *)PTR_free_001585ac)(*param_1);
      *param_1 = 0;
    }
  }
  else {
    piVar6 = param_1 + 1;
    piVar5 = param_1 + 2;
    iVar7 = 1;
    do {
      iVar3 = iVar7;
      iVar4 = *piVar5;
      piVar5 = piVar5 + 1;
      iVar7 = iVar3 + 1;
    } while (iVar4 != 0);
    puVar2 = (undefined4 *)(*(code *)PTR_strvec_create_00156b00)(iVar3 + 2);
    if (*(int *)PTR_force_fignore_00157610 == 0) {
      unaff_s4 = (*(code *)PTR_strvec_create_00156b00)(iVar3);
    }
    *puVar2 = *param_1;
    puVar1 = PTR_force_fignore_00157610;
    iVar7 = 0;
    if (param_1[1] == 0) {
      puVar2[1] = 0;
    }
    else {
      iVar4 = 1;
      do {
        iVar3 = (*param_2)();
        if (iVar3 == 0) {
          if (*(int *)puVar1 == 0) {
            *(int *)(unaff_s4 + iVar7 * 4) = *piVar6;
            iVar7 = iVar7 + 1;
          }
          else {
            (*(code *)PTR_free_001585ac)(*piVar6);
          }
        }
        else {
          puVar2[iVar4] = *piVar6;
          iVar4 = iVar4 + 1;
        }
        piVar6 = piVar6 + 1;
      } while (*piVar6 != 0);
      puVar2[iVar4] = 0;
      if (iVar4 != 1) {
        if (*(int *)PTR_force_fignore_00157610 == 0) {
          if (iVar7 != 0) {
            iVar7 = unaff_s4 + iVar7 * 4;
            do {
              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));
              iVar7 = iVar7 + -4;
            } while (unaff_s4 != iVar7);
          }
          (*(code *)PTR_free_001585ac)(unaff_s4);
        }
        if (iVar4 != 2) {
          iVar4 = puVar2[1];
          iVar7 = 4;
          if (iVar4 != 0) {
            piVar5 = param_1 + 1;
            do {
              *piVar5 = iVar4;
              iVar7 = iVar7 + 4;
              iVar4 = *(int *)((int)puVar2 + iVar7);
              piVar5 = (int *)((int)param_1 + iVar7);
            } while (iVar4 != 0);
          }
          *(undefined4 *)((int)param_1 + iVar7) = 0;
          (*(code *)PTR_free_001585ac)(puVar2);
          return;
        }
        (*(code *)PTR_free_001585ac)(*param_1);
        *param_1 = puVar2[1];
        param_1[1] = 0;
        (*(code *)PTR_free_001585ac)(puVar2);
        return;
      }
    }
    if (*(int *)PTR_force_fignore_00157610 == 0) {
      (*(code *)PTR_free_001585ac)(unaff_s4);
    }
    else {
      (*(code *)PTR_free_001585ac)(*param_1);
      *param_1 = 0;
    }
    (*(code *)PTR_free_001585ac)(puVar2);
  }
  return;
}


lui gp,0xc
addiu gp,gp,-0x5480
addu gp,gp,t9
addiu sp,sp,-0x40
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)
sw s1,0x20(sp)
sw s0,0x1c(sp)
sw gp,0x10(sp)
or s3,a0,zero
lw v0,0x4(a0)
beq v0,zero,0x000a3a18
_or s6,a1,zero
addiu s0,a0,0x4
addiu v0,a0,0x8
b 0x000a3a64
_li s1,0x1
lw v0,-0x6f30(gp)
lw v0,0x0(v0)
beq v0,zero,0x000a3c00
_lw ra,0x3c(sp)
lw a0,0x0(a0)
or t9,a1,zero
jalr t9
_nop
lw gp,0x10(sp)
bne v0,zero,0x000a3c00
_lw ra,0x3c(sp)
lw a0,0x0(s3)
lw t9,-0x5f94(gp)
jalr t9
_nop
lw gp,0x10(sp)
b 0x000a3bfc
_sw zero,0x0(s3)
or s1,a0,zero
addiu v0,v0,0x4
lw v1,-0x4(v0)
bne v1,zero,0x000a3a60
_addiu a0,s1,0x1
addiu a0,s1,0x2
lw t9,-0x7a40(gp)
jalr t9
_nop
lw gp,0x10(sp)
or s2,v0,zero
lw v0,-0x6f30(gp)
lw v0,0x0(v0)
beq v0,zero,0x000a3abc
_or a0,s1,zero
lw v0,0x0(s3)
sw v0,0x0(s2)
lw a0,0x4(s3)
beq a0,zero,0x000a3c78
_or s1,zero,zero
li s5,0x1
b 0x000a3b00
_lw s7,-0x6f30(gp)
lw t9,-0x7a40(gp)
jalr t9
_nop
lw gp,0x10(sp)
b 0x000a3a9c
_or s4,v0,zero
lw v0,0x0(s7)
bne v0,zero,0x000a3b2c
_sll v0,s1,0x2
lw v1,0x0(s0)
addu v0,s4,v0
sw v1,0x0(v0)
addiu s1,s1,0x1
addiu s0,s0,0x4
lw a0,0x0(s0)
beq a0,zero,0x000a3b48
_sll v0,s5,0x2
or t9,s6,zero
jalr t9
_nop
lw gp,0x10(sp)
beq v0,zero,0x000a3ad4
_sll v0,s5,0x2
lw v1,0x0(s0)
addu v0,s2,v0
sw v1,0x0(v0)
b 0x000a3af0
_addiu s5,s5,0x1
lw a0,0x0(s0)
lw t9,-0x5f94(gp)
jalr t9
_nop
lw gp,0x10(sp)
b 0x000a3af4
_addiu s0,s0,0x4
addu v0,s2,v0
sw zero,0x0(v0)
li v0,0x1
beq s5,v0,0x000a3c7c
_lw v0,-0x6f30(gp)
lw v0,0x0(v0)
bne v0,zero,0x000a3bb0
_li v0,0x2
beq s1,zero,0x000a3b9c
_or a0,s4,zero
sll s0,s1,0x2
addu s0,s4,s0
or s1,s4,zero
lw a0,-0x4(s0)
lw t9,-0x5f94(gp)
jalr t9
_nop
lw gp,0x10(sp)
addiu s0,s0,-0x4
bne s1,s0,0x000a3b7c
_or a0,s4,zero
lw t9,-0x5f94(gp)
jalr t9
_nop
lw gp,0x10(sp)
li v0,0x2
beq s5,v0,0x000a3c40
_lw t9,-0x5f94(gp)
lw v1,0x4(s2)
beq v1,zero,0x000a3be0
_li v0,0x4
addu a0,s3,v0
sw v1,0x0(a0)
addiu v0,v0,0x4
addu v1,s2,v0
lw v1,0x0(v1)
bne v1,zero,0x000a3bc8
_addu a0,s3,v0
addu v0,s3,v0
sw zero,0x0(v0)
or a0,s2,zero
lw t9,-0x5f94(gp)
jalr t9
_nop
lw gp,0x10(sp)
lw ra,0x3c(sp)
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
lw t9,-0x5f94(gp)
jalr t9
_nop
lw gp,0x10(sp)
b 0x000a3ca8
_or a0,s2,zero
lw a0,0x0(s3)
jalr t9
_nop
lw gp,0x10(sp)
lw v0,0x4(s2)
sw v0,0x0(s3)
sw zero,0x4(s3)
or a0,s2,zero
lw t9,-0x5f94(gp)
jalr t9
_nop
lw gp,0x10(sp)
b 0x000a3c00
_lw ra,0x3c(sp)
sw zero,0x4(s2)
lw v0,-0x6f30(gp)
lw v0,0x0(v0)
beq v0,zero,0x000a3c28
_or a0,s4,zero
lw a0,0x0(s3)
lw t9,-0x5f94(gp)
jalr t9
_nop
lw gp,0x10(sp)
sw zero,0x0(s3)
or a0,s2,zero
lw t9,-0x5f94(gp)
jalr t9
_nop
lw gp,0x10(sp)
b 0x000a3c00
_lw ra,0x3c(sp)
(translation_unit "void FUN_000a39c0(undefined4 *param_1,code *param_2)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  int iVar4;\n  int *piVar5;\n  int *piVar6;\n  int iVar7;\n  int unaff_s4;\n  \n  if (param_1[1] == 0) {\n    if ((*(int *)PTR_force_fignore_00157610 != 0) && (iVar7 = (*param_2)(*param_1), iVar7 == 0)) {\n      (*(code *)PTR_free_001585ac)(*param_1);\n      *param_1 = 0;\n    }\n  }\n  else {\n    piVar6 = param_1 + 1;\n    piVar5 = param_1 + 2;\n    iVar7 = 1;\n    do {\n      iVar3 = iVar7;\n      iVar4 = *piVar5;\n      piVar5 = piVar5 + 1;\n      iVar7 = iVar3 + 1;\n    } while (iVar4 != 0);\n    puVar2 = (undefined4 *)(*(code *)PTR_strvec_create_00156b00)(iVar3 + 2);\n    if (*(int *)PTR_force_fignore_00157610 == 0) {\n      unaff_s4 = (*(code *)PTR_strvec_create_00156b00)(iVar3);\n    }\n    *puVar2 = *param_1;\n    puVar1 = PTR_force_fignore_00157610;\n    iVar7 = 0;\n    if (param_1[1] == 0) {\n      puVar2[1] = 0;\n    }\n    else {\n      iVar4 = 1;\n      do {\n        iVar3 = (*param_2)();\n        if (iVar3 == 0) {\n          if (*(int *)puVar1 == 0) {\n            *(int *)(unaff_s4 + iVar7 * 4) = *piVar6;\n            iVar7 = iVar7 + 1;\n          }\n          else {\n            (*(code *)PTR_free_001585ac)(*piVar6);\n          }\n        }\n        else {\n          puVar2[iVar4] = *piVar6;\n          iVar4 = iVar4 + 1;\n        }\n        piVar6 = piVar6 + 1;\n      } while (*piVar6 != 0);\n      puVar2[iVar4] = 0;\n      if (iVar4 != 1) {\n        if (*(int *)PTR_force_fignore_00157610 == 0) {\n          if (iVar7 != 0) {\n            iVar7 = unaff_s4 + iVar7 * 4;\n            do {\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            } while (unaff_s4 != iVar7);\n          }\n          (*(code *)PTR_free_001585ac)(unaff_s4);\n        }\n        if (iVar4 != 2) {\n          iVar4 = puVar2[1];\n          iVar7 = 4;\n          if (iVar4 != 0) {\n            piVar5 = param_1 + 1;\n            do {\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            } while (iVar4 != 0);\n          }\n          *(undefined4 *)((int)param_1 + iVar7) = 0;\n          (*(code *)PTR_free_001585ac)(puVar2);\n          return;\n        }\n        (*(code *)PTR_free_001585ac)(*param_1);\n        *param_1 = puVar2[1];\n        param_1[1] = 0;\n        (*(code *)PTR_free_001585ac)(puVar2);\n        return;\n      }\n    }\n    if (*(int *)PTR_force_fignore_00157610 == 0) {\n      (*(code *)PTR_free_001585ac)(unaff_s4);\n    }\n    else {\n      (*(code *)PTR_free_001585ac)(*param_1);\n      *param_1 = 0;\n    }\n    (*(code *)PTR_free_001585ac)(puVar2);\n  }\n  return;\n}\n\n" (function_definition "void FUN_000a39c0(undefined4 *param_1,code *param_2)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  int iVar4;\n  int *piVar5;\n  int *piVar6;\n  int iVar7;\n  int unaff_s4;\n  \n  if (param_1[1] == 0) {\n    if ((*(int *)PTR_force_fignore_00157610 != 0) && (iVar7 = (*param_2)(*param_1), iVar7 == 0)) {\n      (*(code *)PTR_free_001585ac)(*param_1);\n      *param_1 = 0;\n    }\n  }\n  else {\n    piVar6 = param_1 + 1;\n    piVar5 = param_1 + 2;\n    iVar7 = 1;\n    do {\n      iVar3 = iVar7;\n      iVar4 = *piVar5;\n      piVar5 = piVar5 + 1;\n      iVar7 = iVar3 + 1;\n    } while (iVar4 != 0);\n    puVar2 = (undefined4 *)(*(code *)PTR_strvec_create_00156b00)(iVar3 + 2);\n    if (*(int *)PTR_force_fignore_00157610 == 0) {\n      unaff_s4 = (*(code *)PTR_strvec_create_00156b00)(iVar3);\n    }\n    *puVar2 = *param_1;\n    puVar1 = PTR_force_fignore_00157610;\n    iVar7 = 0;\n    if (param_1[1] == 0) {\n      puVar2[1] = 0;\n    }\n    else {\n      iVar4 = 1;\n      do {\n        iVar3 = (*param_2)();\n        if (iVar3 == 0) {\n          if (*(int *)puVar1 == 0) {\n            *(int *)(unaff_s4 + iVar7 * 4) = *piVar6;\n            iVar7 = iVar7 + 1;\n          }\n          else {\n            (*(code *)PTR_free_001585ac)(*piVar6);\n          }\n        }\n        else {\n          puVar2[iVar4] = *piVar6;\n          iVar4 = iVar4 + 1;\n        }\n        piVar6 = piVar6 + 1;\n      } while (*piVar6 != 0);\n      puVar2[iVar4] = 0;\n      if (iVar4 != 1) {\n        if (*(int *)PTR_force_fignore_00157610 == 0) {\n          if (iVar7 != 0) {\n            iVar7 = unaff_s4 + iVar7 * 4;\n            do {\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            } while (unaff_s4 != iVar7);\n          }\n          (*(code *)PTR_free_001585ac)(unaff_s4);\n        }\n        if (iVar4 != 2) {\n          iVar4 = puVar2[1];\n          iVar7 = 4;\n          if (iVar4 != 0) {\n            piVar5 = param_1 + 1;\n            do {\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            } while (iVar4 != 0);\n          }\n          *(undefined4 *)((int)param_1 + iVar7) = 0;\n          (*(code *)PTR_free_001585ac)(puVar2);\n          return;\n        }\n        (*(code *)PTR_free_001585ac)(*param_1);\n        *param_1 = puVar2[1];\n        param_1[1] = 0;\n        (*(code *)PTR_free_001585ac)(puVar2);\n        return;\n      }\n    }\n    if (*(int *)PTR_force_fignore_00157610 == 0) {\n      (*(code *)PTR_free_001585ac)(unaff_s4);\n    }\n    else {\n      (*(code *)PTR_free_001585ac)(*param_1);\n      *param_1 = 0;\n    }\n    (*(code *)PTR_free_001585ac)(puVar2);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000a39c0(undefined4 *param_1,code *param_2)" identifier (parameter_list "(undefined4 *param_1,code *param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "code *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  int iVar4;\n  int *piVar5;\n  int *piVar6;\n  int iVar7;\n  int unaff_s4;\n  \n  if (param_1[1] == 0) {\n    if ((*(int *)PTR_force_fignore_00157610 != 0) && (iVar7 = (*param_2)(*param_1), iVar7 == 0)) {\n      (*(code *)PTR_free_001585ac)(*param_1);\n      *param_1 = 0;\n    }\n  }\n  else {\n    piVar6 = param_1 + 1;\n    piVar5 = param_1 + 2;\n    iVar7 = 1;\n    do {\n      iVar3 = iVar7;\n      iVar4 = *piVar5;\n      piVar5 = piVar5 + 1;\n      iVar7 = iVar3 + 1;\n    } while (iVar4 != 0);\n    puVar2 = (undefined4 *)(*(code *)PTR_strvec_create_00156b00)(iVar3 + 2);\n    if (*(int *)PTR_force_fignore_00157610 == 0) {\n      unaff_s4 = (*(code *)PTR_strvec_create_00156b00)(iVar3);\n    }\n    *puVar2 = *param_1;\n    puVar1 = PTR_force_fignore_00157610;\n    iVar7 = 0;\n    if (param_1[1] == 0) {\n      puVar2[1] = 0;\n    }\n    else {\n      iVar4 = 1;\n      do {\n        iVar3 = (*param_2)();\n        if (iVar3 == 0) {\n          if (*(int *)puVar1 == 0) {\n            *(int *)(unaff_s4 + iVar7 * 4) = *piVar6;\n            iVar7 = iVar7 + 1;\n          }\n          else {\n            (*(code *)PTR_free_001585ac)(*piVar6);\n          }\n        }\n        else {\n          puVar2[iVar4] = *piVar6;\n          iVar4 = iVar4 + 1;\n        }\n        piVar6 = piVar6 + 1;\n      } while (*piVar6 != 0);\n      puVar2[iVar4] = 0;\n      if (iVar4 != 1) {\n        if (*(int *)PTR_force_fignore_00157610 == 0) {\n          if (iVar7 != 0) {\n            iVar7 = unaff_s4 + iVar7 * 4;\n            do {\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            } while (unaff_s4 != iVar7);\n          }\n          (*(code *)PTR_free_001585ac)(unaff_s4);\n        }\n        if (iVar4 != 2) {\n          iVar4 = puVar2[1];\n          iVar7 = 4;\n          if (iVar4 != 0) {\n            piVar5 = param_1 + 1;\n            do {\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            } while (iVar4 != 0);\n          }\n          *(undefined4 *)((int)param_1 + iVar7) = 0;\n          (*(code *)PTR_free_001585ac)(puVar2);\n          return;\n        }\n        (*(code *)PTR_free_001585ac)(*param_1);\n        *param_1 = puVar2[1];\n        param_1[1] = 0;\n        (*(code *)PTR_free_001585ac)(puVar2);\n        return;\n      }\n    }\n    if (*(int *)PTR_force_fignore_00157610 == 0) {\n      (*(code *)PTR_free_001585ac)(unaff_s4);\n    }\n    else {\n      (*(code *)PTR_free_001585ac)(*param_1);\n      *param_1 = 0;\n    }\n    (*(code *)PTR_free_001585ac)(puVar2);\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int unaff_s4;" primitive_type identifier ;) (if_statement "if (param_1[1] == 0) {\n    if ((*(int *)PTR_force_fignore_00157610 != 0) && (iVar7 = (*param_2)(*param_1), iVar7 == 0)) {\n      (*(code *)PTR_free_001585ac)(*param_1);\n      *param_1 = 0;\n    }\n  }\n  else {\n    piVar6 = param_1 + 1;\n    piVar5 = param_1 + 2;\n    iVar7 = 1;\n    do {\n      iVar3 = iVar7;\n      iVar4 = *piVar5;\n      piVar5 = piVar5 + 1;\n      iVar7 = iVar3 + 1;\n    } while (iVar4 != 0);\n    puVar2 = (undefined4 *)(*(code *)PTR_strvec_create_00156b00)(iVar3 + 2);\n    if (*(int *)PTR_force_fignore_00157610 == 0) {\n      unaff_s4 = (*(code *)PTR_strvec_create_00156b00)(iVar3);\n    }\n    *puVar2 = *param_1;\n    puVar1 = PTR_force_fignore_00157610;\n    iVar7 = 0;\n    if (param_1[1] == 0) {\n      puVar2[1] = 0;\n    }\n    else {\n      iVar4 = 1;\n      do {\n        iVar3 = (*param_2)();\n        if (iVar3 == 0) {\n          if (*(int *)puVar1 == 0) {\n            *(int *)(unaff_s4 + iVar7 * 4) = *piVar6;\n            iVar7 = iVar7 + 1;\n          }\n          else {\n            (*(code *)PTR_free_001585ac)(*piVar6);\n          }\n        }\n        else {\n          puVar2[iVar4] = *piVar6;\n          iVar4 = iVar4 + 1;\n        }\n        piVar6 = piVar6 + 1;\n      } while (*piVar6 != 0);\n      puVar2[iVar4] = 0;\n      if (iVar4 != 1) {\n        if (*(int *)PTR_force_fignore_00157610 == 0) {\n          if (iVar7 != 0) {\n            iVar7 = unaff_s4 + iVar7 * 4;\n            do {\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            } while (unaff_s4 != iVar7);\n          }\n          (*(code *)PTR_free_001585ac)(unaff_s4);\n        }\n        if (iVar4 != 2) {\n          iVar4 = puVar2[1];\n          iVar7 = 4;\n          if (iVar4 != 0) {\n            piVar5 = param_1 + 1;\n            do {\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            } while (iVar4 != 0);\n          }\n          *(undefined4 *)((int)param_1 + iVar7) = 0;\n          (*(code *)PTR_free_001585ac)(puVar2);\n          return;\n        }\n        (*(code *)PTR_free_001585ac)(*param_1);\n        *param_1 = puVar2[1];\n        param_1[1] = 0;\n        (*(code *)PTR_free_001585ac)(puVar2);\n        return;\n      }\n    }\n    if (*(int *)PTR_force_fignore_00157610 == 0) {\n      (*(code *)PTR_free_001585ac)(unaff_s4);\n    }\n    else {\n      (*(code *)PTR_free_001585ac)(*param_1);\n      *param_1 = 0;\n    }\n    (*(code *)PTR_free_001585ac)(puVar2);\n  }" if (parenthesized_expression "(param_1[1] == 0)" ( (binary_expression "param_1[1] == 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    if ((*(int *)PTR_force_fignore_00157610 != 0) && (iVar7 = (*param_2)(*param_1), iVar7 == 0)) {\n      (*(code *)PTR_free_001585ac)(*param_1);\n      *param_1 = 0;\n    }\n  }" { (if_statement "if ((*(int *)PTR_force_fignore_00157610 != 0) && (iVar7 = (*param_2)(*param_1), iVar7 == 0)) {\n      (*(code *)PTR_free_001585ac)(*param_1);\n      *param_1 = 0;\n    }" if (parenthesized_expression "((*(int *)PTR_force_fignore_00157610 != 0) && (iVar7 = (*param_2)(*param_1), iVar7 == 0))" ( (binary_expression "(*(int *)PTR_force_fignore_00157610 != 0) && (iVar7 = (*param_2)(*param_1), iVar7 == 0)" (parenthesized_expression "(*(int *)PTR_force_fignore_00157610 != 0)" ( (binary_expression "*(int *)PTR_force_fignore_00157610 != 0" (pointer_expression "*(int *)PTR_force_fignore_00157610" * (cast_expression "(int *)PTR_force_fignore_00157610" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) && (parenthesized_expression "(iVar7 = (*param_2)(*param_1), iVar7 == 0)" ( (comma_expression "iVar7 = (*param_2)(*param_1), iVar7 == 0" (assignment_expression "iVar7 = (*param_2)(*param_1)" identifier = (call_expression "(*param_2)(*param_1)" (parenthesized_expression "(*param_2)" ( (pointer_expression "*param_2" * identifier) )) (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) )))) , (binary_expression "iVar7 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      (*(code *)PTR_free_001585ac)(*param_1);\n      *param_1 = 0;\n    }" { (expression_statement "(*(code *)PTR_free_001585ac)(*param_1);" (call_expression "(*(code *)PTR_free_001585ac)(*param_1)" (parenthesized_expression "(*(code *)PTR_free_001585ac)" ( (pointer_expression "*(code *)PTR_free_001585ac" * (cast_expression "(code *)PTR_free_001585ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))) ;) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) })) }) (else_clause "else {\n    piVar6 = param_1 + 1;\n    piVar5 = param_1 + 2;\n    iVar7 = 1;\n    do {\n      iVar3 = iVar7;\n      iVar4 = *piVar5;\n      piVar5 = piVar5 + 1;\n      iVar7 = iVar3 + 1;\n    } while (iVar4 != 0);\n    puVar2 = (undefined4 *)(*(code *)PTR_strvec_create_00156b00)(iVar3 + 2);\n    if (*(int *)PTR_force_fignore_00157610 == 0) {\n      unaff_s4 = (*(code *)PTR_strvec_create_00156b00)(iVar3);\n    }\n    *puVar2 = *param_1;\n    puVar1 = PTR_force_fignore_00157610;\n    iVar7 = 0;\n    if (param_1[1] == 0) {\n      puVar2[1] = 0;\n    }\n    else {\n      iVar4 = 1;\n      do {\n        iVar3 = (*param_2)();\n        if (iVar3 == 0) {\n          if (*(int *)puVar1 == 0) {\n            *(int *)(unaff_s4 + iVar7 * 4) = *piVar6;\n            iVar7 = iVar7 + 1;\n          }\n          else {\n            (*(code *)PTR_free_001585ac)(*piVar6);\n          }\n        }\n        else {\n          puVar2[iVar4] = *piVar6;\n          iVar4 = iVar4 + 1;\n        }\n        piVar6 = piVar6 + 1;\n      } while (*piVar6 != 0);\n      puVar2[iVar4] = 0;\n      if (iVar4 != 1) {\n        if (*(int *)PTR_force_fignore_00157610 == 0) {\n          if (iVar7 != 0) {\n            iVar7 = unaff_s4 + iVar7 * 4;\n            do {\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            } while (unaff_s4 != iVar7);\n          }\n          (*(code *)PTR_free_001585ac)(unaff_s4);\n        }\n        if (iVar4 != 2) {\n          iVar4 = puVar2[1];\n          iVar7 = 4;\n          if (iVar4 != 0) {\n            piVar5 = param_1 + 1;\n            do {\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            } while (iVar4 != 0);\n          }\n          *(undefined4 *)((int)param_1 + iVar7) = 0;\n          (*(code *)PTR_free_001585ac)(puVar2);\n          return;\n        }\n        (*(code *)PTR_free_001585ac)(*param_1);\n        *param_1 = puVar2[1];\n        param_1[1] = 0;\n        (*(code *)PTR_free_001585ac)(puVar2);\n        return;\n      }\n    }\n    if (*(int *)PTR_force_fignore_00157610 == 0) {\n      (*(code *)PTR_free_001585ac)(unaff_s4);\n    }\n    else {\n      (*(code *)PTR_free_001585ac)(*param_1);\n      *param_1 = 0;\n    }\n    (*(code *)PTR_free_001585ac)(puVar2);\n  }" else (compound_statement "{\n    piVar6 = param_1 + 1;\n    piVar5 = param_1 + 2;\n    iVar7 = 1;\n    do {\n      iVar3 = iVar7;\n      iVar4 = *piVar5;\n      piVar5 = piVar5 + 1;\n      iVar7 = iVar3 + 1;\n    } while (iVar4 != 0);\n    puVar2 = (undefined4 *)(*(code *)PTR_strvec_create_00156b00)(iVar3 + 2);\n    if (*(int *)PTR_force_fignore_00157610 == 0) {\n      unaff_s4 = (*(code *)PTR_strvec_create_00156b00)(iVar3);\n    }\n    *puVar2 = *param_1;\n    puVar1 = PTR_force_fignore_00157610;\n    iVar7 = 0;\n    if (param_1[1] == 0) {\n      puVar2[1] = 0;\n    }\n    else {\n      iVar4 = 1;\n      do {\n        iVar3 = (*param_2)();\n        if (iVar3 == 0) {\n          if (*(int *)puVar1 == 0) {\n            *(int *)(unaff_s4 + iVar7 * 4) = *piVar6;\n            iVar7 = iVar7 + 1;\n          }\n          else {\n            (*(code *)PTR_free_001585ac)(*piVar6);\n          }\n        }\n        else {\n          puVar2[iVar4] = *piVar6;\n          iVar4 = iVar4 + 1;\n        }\n        piVar6 = piVar6 + 1;\n      } while (*piVar6 != 0);\n      puVar2[iVar4] = 0;\n      if (iVar4 != 1) {\n        if (*(int *)PTR_force_fignore_00157610 == 0) {\n          if (iVar7 != 0) {\n            iVar7 = unaff_s4 + iVar7 * 4;\n            do {\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            } while (unaff_s4 != iVar7);\n          }\n          (*(code *)PTR_free_001585ac)(unaff_s4);\n        }\n        if (iVar4 != 2) {\n          iVar4 = puVar2[1];\n          iVar7 = 4;\n          if (iVar4 != 0) {\n            piVar5 = param_1 + 1;\n            do {\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            } while (iVar4 != 0);\n          }\n          *(undefined4 *)((int)param_1 + iVar7) = 0;\n          (*(code *)PTR_free_001585ac)(puVar2);\n          return;\n        }\n        (*(code *)PTR_free_001585ac)(*param_1);\n        *param_1 = puVar2[1];\n        param_1[1] = 0;\n        (*(code *)PTR_free_001585ac)(puVar2);\n        return;\n      }\n    }\n    if (*(int *)PTR_force_fignore_00157610 == 0) {\n      (*(code *)PTR_free_001585ac)(unaff_s4);\n    }\n    else {\n      (*(code *)PTR_free_001585ac)(*param_1);\n      *param_1 = 0;\n    }\n    (*(code *)PTR_free_001585ac)(puVar2);\n  }" { (expression_statement "piVar6 = param_1 + 1;" (assignment_expression "piVar6 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "piVar5 = param_1 + 2;" (assignment_expression "piVar5 = param_1 + 2" identifier = (binary_expression "param_1 + 2" identifier + number_literal)) ;) (expression_statement "iVar7 = 1;" (assignment_expression "iVar7 = 1" identifier = number_literal) ;) (do_statement "do {\n      iVar3 = iVar7;\n      iVar4 = *piVar5;\n      piVar5 = piVar5 + 1;\n      iVar7 = iVar3 + 1;\n    } while (iVar4 != 0);" do (compound_statement "{\n      iVar3 = iVar7;\n      iVar4 = *piVar5;\n      piVar5 = piVar5 + 1;\n      iVar7 = iVar3 + 1;\n    }" { (expression_statement "iVar3 = iVar7;" (assignment_expression "iVar3 = iVar7" identifier = identifier) ;) (expression_statement "iVar4 = *piVar5;" (assignment_expression "iVar4 = *piVar5" identifier = (pointer_expression "*piVar5" * identifier)) ;) (expression_statement "piVar5 = piVar5 + 1;" (assignment_expression "piVar5 = piVar5 + 1" identifier = (binary_expression "piVar5 + 1" identifier + number_literal)) ;) (expression_statement "iVar7 = iVar3 + 1;" (assignment_expression "iVar7 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "puVar2 = (undefined4 *)(*(code *)PTR_strvec_create_00156b00)(iVar3 + 2);" (assignment_expression "puVar2 = (undefined4 *)(*(code *)PTR_strvec_create_00156b00)(iVar3 + 2)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_strvec_create_00156b00)(iVar3 + 2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strvec_create_00156b00)(iVar3 + 2)" (parenthesized_expression "(*(code *)PTR_strvec_create_00156b00)" ( (pointer_expression "*(code *)PTR_strvec_create_00156b00" * (cast_expression "(code *)PTR_strvec_create_00156b00" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3 + 2)" ( (binary_expression "iVar3 + 2" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)PTR_force_fignore_00157610 == 0) {\n      unaff_s4 = (*(code *)PTR_strvec_create_00156b00)(iVar3);\n    }" if (parenthesized_expression "(*(int *)PTR_force_fignore_00157610 == 0)" ( (binary_expression "*(int *)PTR_force_fignore_00157610 == 0" (pointer_expression "*(int *)PTR_force_fignore_00157610" * (cast_expression "(int *)PTR_force_fignore_00157610" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n      unaff_s4 = (*(code *)PTR_strvec_create_00156b00)(iVar3);\n    }" { (expression_statement "unaff_s4 = (*(code *)PTR_strvec_create_00156b00)(iVar3);" (assignment_expression "unaff_s4 = (*(code *)PTR_strvec_create_00156b00)(iVar3)" identifier = (call_expression "(*(code *)PTR_strvec_create_00156b00)(iVar3)" (parenthesized_expression "(*(code *)PTR_strvec_create_00156b00)" ( (pointer_expression "*(code *)PTR_strvec_create_00156b00" * (cast_expression "(code *)PTR_strvec_create_00156b00" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3)" ( identifier )))) ;) })) (expression_statement "*puVar2 = *param_1;" (assignment_expression "*puVar2 = *param_1" (pointer_expression "*puVar2" * identifier) = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "puVar1 = PTR_force_fignore_00157610;" (assignment_expression "puVar1 = PTR_force_fignore_00157610" identifier = identifier) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (if_statement "if (param_1[1] == 0) {\n      puVar2[1] = 0;\n    }\n    else {\n      iVar4 = 1;\n      do {\n        iVar3 = (*param_2)();\n        if (iVar3 == 0) {\n          if (*(int *)puVar1 == 0) {\n            *(int *)(unaff_s4 + iVar7 * 4) = *piVar6;\n            iVar7 = iVar7 + 1;\n          }\n          else {\n            (*(code *)PTR_free_001585ac)(*piVar6);\n          }\n        }\n        else {\n          puVar2[iVar4] = *piVar6;\n          iVar4 = iVar4 + 1;\n        }\n        piVar6 = piVar6 + 1;\n      } while (*piVar6 != 0);\n      puVar2[iVar4] = 0;\n      if (iVar4 != 1) {\n        if (*(int *)PTR_force_fignore_00157610 == 0) {\n          if (iVar7 != 0) {\n            iVar7 = unaff_s4 + iVar7 * 4;\n            do {\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            } while (unaff_s4 != iVar7);\n          }\n          (*(code *)PTR_free_001585ac)(unaff_s4);\n        }\n        if (iVar4 != 2) {\n          iVar4 = puVar2[1];\n          iVar7 = 4;\n          if (iVar4 != 0) {\n            piVar5 = param_1 + 1;\n            do {\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            } while (iVar4 != 0);\n          }\n          *(undefined4 *)((int)param_1 + iVar7) = 0;\n          (*(code *)PTR_free_001585ac)(puVar2);\n          return;\n        }\n        (*(code *)PTR_free_001585ac)(*param_1);\n        *param_1 = puVar2[1];\n        param_1[1] = 0;\n        (*(code *)PTR_free_001585ac)(puVar2);\n        return;\n      }\n    }" if (parenthesized_expression "(param_1[1] == 0)" ( (binary_expression "param_1[1] == 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n      puVar2[1] = 0;\n    }" { (expression_statement "puVar2[1] = 0;" (assignment_expression "puVar2[1] = 0" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else {\n      iVar4 = 1;\n      do {\n        iVar3 = (*param_2)();\n        if (iVar3 == 0) {\n          if (*(int *)puVar1 == 0) {\n            *(int *)(unaff_s4 + iVar7 * 4) = *piVar6;\n            iVar7 = iVar7 + 1;\n          }\n          else {\n            (*(code *)PTR_free_001585ac)(*piVar6);\n          }\n        }\n        else {\n          puVar2[iVar4] = *piVar6;\n          iVar4 = iVar4 + 1;\n        }\n        piVar6 = piVar6 + 1;\n      } while (*piVar6 != 0);\n      puVar2[iVar4] = 0;\n      if (iVar4 != 1) {\n        if (*(int *)PTR_force_fignore_00157610 == 0) {\n          if (iVar7 != 0) {\n            iVar7 = unaff_s4 + iVar7 * 4;\n            do {\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            } while (unaff_s4 != iVar7);\n          }\n          (*(code *)PTR_free_001585ac)(unaff_s4);\n        }\n        if (iVar4 != 2) {\n          iVar4 = puVar2[1];\n          iVar7 = 4;\n          if (iVar4 != 0) {\n            piVar5 = param_1 + 1;\n            do {\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            } while (iVar4 != 0);\n          }\n          *(undefined4 *)((int)param_1 + iVar7) = 0;\n          (*(code *)PTR_free_001585ac)(puVar2);\n          return;\n        }\n        (*(code *)PTR_free_001585ac)(*param_1);\n        *param_1 = puVar2[1];\n        param_1[1] = 0;\n        (*(code *)PTR_free_001585ac)(puVar2);\n        return;\n      }\n    }" else (compound_statement "{\n      iVar4 = 1;\n      do {\n        iVar3 = (*param_2)();\n        if (iVar3 == 0) {\n          if (*(int *)puVar1 == 0) {\n            *(int *)(unaff_s4 + iVar7 * 4) = *piVar6;\n            iVar7 = iVar7 + 1;\n          }\n          else {\n            (*(code *)PTR_free_001585ac)(*piVar6);\n          }\n        }\n        else {\n          puVar2[iVar4] = *piVar6;\n          iVar4 = iVar4 + 1;\n        }\n        piVar6 = piVar6 + 1;\n      } while (*piVar6 != 0);\n      puVar2[iVar4] = 0;\n      if (iVar4 != 1) {\n        if (*(int *)PTR_force_fignore_00157610 == 0) {\n          if (iVar7 != 0) {\n            iVar7 = unaff_s4 + iVar7 * 4;\n            do {\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            } while (unaff_s4 != iVar7);\n          }\n          (*(code *)PTR_free_001585ac)(unaff_s4);\n        }\n        if (iVar4 != 2) {\n          iVar4 = puVar2[1];\n          iVar7 = 4;\n          if (iVar4 != 0) {\n            piVar5 = param_1 + 1;\n            do {\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            } while (iVar4 != 0);\n          }\n          *(undefined4 *)((int)param_1 + iVar7) = 0;\n          (*(code *)PTR_free_001585ac)(puVar2);\n          return;\n        }\n        (*(code *)PTR_free_001585ac)(*param_1);\n        *param_1 = puVar2[1];\n        param_1[1] = 0;\n        (*(code *)PTR_free_001585ac)(puVar2);\n        return;\n      }\n    }" { (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;) (do_statement "do {\n        iVar3 = (*param_2)();\n        if (iVar3 == 0) {\n          if (*(int *)puVar1 == 0) {\n            *(int *)(unaff_s4 + iVar7 * 4) = *piVar6;\n            iVar7 = iVar7 + 1;\n          }\n          else {\n            (*(code *)PTR_free_001585ac)(*piVar6);\n          }\n        }\n        else {\n          puVar2[iVar4] = *piVar6;\n          iVar4 = iVar4 + 1;\n        }\n        piVar6 = piVar6 + 1;\n      } while (*piVar6 != 0);" do (compound_statement "{\n        iVar3 = (*param_2)();\n        if (iVar3 == 0) {\n          if (*(int *)puVar1 == 0) {\n            *(int *)(unaff_s4 + iVar7 * 4) = *piVar6;\n            iVar7 = iVar7 + 1;\n          }\n          else {\n            (*(code *)PTR_free_001585ac)(*piVar6);\n          }\n        }\n        else {\n          puVar2[iVar4] = *piVar6;\n          iVar4 = iVar4 + 1;\n        }\n        piVar6 = piVar6 + 1;\n      }" { (expression_statement "iVar3 = (*param_2)();" (assignment_expression "iVar3 = (*param_2)()" identifier = (call_expression "(*param_2)()" (parenthesized_expression "(*param_2)" ( (pointer_expression "*param_2" * identifier) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar3 == 0) {\n          if (*(int *)puVar1 == 0) {\n            *(int *)(unaff_s4 + iVar7 * 4) = *piVar6;\n            iVar7 = iVar7 + 1;\n          }\n          else {\n            (*(code *)PTR_free_001585ac)(*piVar6);\n          }\n        }\n        else {\n          puVar2[iVar4] = *piVar6;\n          iVar4 = iVar4 + 1;\n        }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n          if (*(int *)puVar1 == 0) {\n            *(int *)(unaff_s4 + iVar7 * 4) = *piVar6;\n            iVar7 = iVar7 + 1;\n          }\n          else {\n            (*(code *)PTR_free_001585ac)(*piVar6);\n          }\n        }" { (if_statement "if (*(int *)puVar1 == 0) {\n            *(int *)(unaff_s4 + iVar7 * 4) = *piVar6;\n            iVar7 = iVar7 + 1;\n          }\n          else {\n            (*(code *)PTR_free_001585ac)(*piVar6);\n          }" if (parenthesized_expression "(*(int *)puVar1 == 0)" ( (binary_expression "*(int *)puVar1 == 0" (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n            *(int *)(unaff_s4 + iVar7 * 4) = *piVar6;\n            iVar7 = iVar7 + 1;\n          }" { (expression_statement "*(int *)(unaff_s4 + iVar7 * 4) = *piVar6;" (assignment_expression "*(int *)(unaff_s4 + iVar7 * 4) = *piVar6" (pointer_expression "*(int *)(unaff_s4 + iVar7 * 4)" * (cast_expression "(int *)(unaff_s4 + iVar7 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s4 + iVar7 * 4)" ( (binary_expression "unaff_s4 + iVar7 * 4" identifier + (binary_expression "iVar7 * 4" identifier * number_literal)) )))) = (pointer_expression "*piVar6" * identifier)) ;) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n            (*(code *)PTR_free_001585ac)(*piVar6);\n          }" else (compound_statement "{\n            (*(code *)PTR_free_001585ac)(*piVar6);\n          }" { (expression_statement "(*(code *)PTR_free_001585ac)(*piVar6);" (call_expression "(*(code *)PTR_free_001585ac)(*piVar6)" (parenthesized_expression "(*(code *)PTR_free_001585ac)" ( (pointer_expression "*(code *)PTR_free_001585ac" * (cast_expression "(code *)PTR_free_001585ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*piVar6)" ( (pointer_expression "*piVar6" * identifier) ))) ;) }))) }) (else_clause "else {\n          puVar2[iVar4] = *piVar6;\n          iVar4 = iVar4 + 1;\n        }" else (compound_statement "{\n          puVar2[iVar4] = *piVar6;\n          iVar4 = iVar4 + 1;\n        }" { (expression_statement "puVar2[iVar4] = *piVar6;" (assignment_expression "puVar2[iVar4] = *piVar6" (subscript_expression "puVar2[iVar4]" identifier [ identifier ]) = (pointer_expression "*piVar6" * identifier)) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) }))) (expression_statement "piVar6 = piVar6 + 1;" (assignment_expression "piVar6 = piVar6 + 1" identifier = (binary_expression "piVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*piVar6 != 0)" ( (binary_expression "*piVar6 != 0" (pointer_expression "*piVar6" * identifier) != number_literal) )) ;) (expression_statement "puVar2[iVar4] = 0;" (assignment_expression "puVar2[iVar4] = 0" (subscript_expression "puVar2[iVar4]" identifier [ identifier ]) = number_literal) ;) (if_statement "if (iVar4 != 1) {\n        if (*(int *)PTR_force_fignore_00157610 == 0) {\n          if (iVar7 != 0) {\n            iVar7 = unaff_s4 + iVar7 * 4;\n            do {\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            } while (unaff_s4 != iVar7);\n          }\n          (*(code *)PTR_free_001585ac)(unaff_s4);\n        }\n        if (iVar4 != 2) {\n          iVar4 = puVar2[1];\n          iVar7 = 4;\n          if (iVar4 != 0) {\n            piVar5 = param_1 + 1;\n            do {\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            } while (iVar4 != 0);\n          }\n          *(undefined4 *)((int)param_1 + iVar7) = 0;\n          (*(code *)PTR_free_001585ac)(puVar2);\n          return;\n        }\n        (*(code *)PTR_free_001585ac)(*param_1);\n        *param_1 = puVar2[1];\n        param_1[1] = 0;\n        (*(code *)PTR_free_001585ac)(puVar2);\n        return;\n      }" if (parenthesized_expression "(iVar4 != 1)" ( (binary_expression "iVar4 != 1" identifier != number_literal) )) (compound_statement "{\n        if (*(int *)PTR_force_fignore_00157610 == 0) {\n          if (iVar7 != 0) {\n            iVar7 = unaff_s4 + iVar7 * 4;\n            do {\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            } while (unaff_s4 != iVar7);\n          }\n          (*(code *)PTR_free_001585ac)(unaff_s4);\n        }\n        if (iVar4 != 2) {\n          iVar4 = puVar2[1];\n          iVar7 = 4;\n          if (iVar4 != 0) {\n            piVar5 = param_1 + 1;\n            do {\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            } while (iVar4 != 0);\n          }\n          *(undefined4 *)((int)param_1 + iVar7) = 0;\n          (*(code *)PTR_free_001585ac)(puVar2);\n          return;\n        }\n        (*(code *)PTR_free_001585ac)(*param_1);\n        *param_1 = puVar2[1];\n        param_1[1] = 0;\n        (*(code *)PTR_free_001585ac)(puVar2);\n        return;\n      }" { (if_statement "if (*(int *)PTR_force_fignore_00157610 == 0) {\n          if (iVar7 != 0) {\n            iVar7 = unaff_s4 + iVar7 * 4;\n            do {\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            } while (unaff_s4 != iVar7);\n          }\n          (*(code *)PTR_free_001585ac)(unaff_s4);\n        }" if (parenthesized_expression "(*(int *)PTR_force_fignore_00157610 == 0)" ( (binary_expression "*(int *)PTR_force_fignore_00157610 == 0" (pointer_expression "*(int *)PTR_force_fignore_00157610" * (cast_expression "(int *)PTR_force_fignore_00157610" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n          if (iVar7 != 0) {\n            iVar7 = unaff_s4 + iVar7 * 4;\n            do {\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            } while (unaff_s4 != iVar7);\n          }\n          (*(code *)PTR_free_001585ac)(unaff_s4);\n        }" { (if_statement "if (iVar7 != 0) {\n            iVar7 = unaff_s4 + iVar7 * 4;\n            do {\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            } while (unaff_s4 != iVar7);\n          }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\n            iVar7 = unaff_s4 + iVar7 * 4;\n            do {\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            } while (unaff_s4 != iVar7);\n          }" { (expression_statement "iVar7 = unaff_s4 + iVar7 * 4;" (assignment_expression "iVar7 = unaff_s4 + iVar7 * 4" identifier = (binary_expression "unaff_s4 + iVar7 * 4" identifier + (binary_expression "iVar7 * 4" identifier * number_literal))) ;) (do_statement "do {\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            } while (unaff_s4 != iVar7);" do (compound_statement "{\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            }" { (expression_statement "(*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));" (call_expression "(*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4))" (parenthesized_expression "(*(code *)PTR_free_001585ac)" ( (pointer_expression "*(code *)PTR_free_001585ac" * (cast_expression "(code *)PTR_free_001585ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(iVar7 + -4))" ( (pointer_expression "*(undefined4 *)(iVar7 + -4)" * (cast_expression "(undefined4 *)(iVar7 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + -4)" ( (binary_expression "iVar7 + -4" identifier + number_literal) )))) ))) ;) (expression_statement "iVar7 = iVar7 + -4;" (assignment_expression "iVar7 = iVar7 + -4" identifier = (binary_expression "iVar7 + -4" identifier + number_literal)) ;) }) while (parenthesized_expression "(unaff_s4 != iVar7)" ( (binary_expression "unaff_s4 != iVar7" identifier != identifier) )) ;) })) (expression_statement "(*(code *)PTR_free_001585ac)(unaff_s4);" (call_expression "(*(code *)PTR_free_001585ac)(unaff_s4)" (parenthesized_expression "(*(code *)PTR_free_001585ac)" ( (pointer_expression "*(code *)PTR_free_001585ac" * (cast_expression "(code *)PTR_free_001585ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s4)" ( identifier ))) ;) })) (if_statement "if (iVar4 != 2) {\n          iVar4 = puVar2[1];\n          iVar7 = 4;\n          if (iVar4 != 0) {\n            piVar5 = param_1 + 1;\n            do {\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            } while (iVar4 != 0);\n          }\n          *(undefined4 *)((int)param_1 + iVar7) = 0;\n          (*(code *)PTR_free_001585ac)(puVar2);\n          return;\n        }" if (parenthesized_expression "(iVar4 != 2)" ( (binary_expression "iVar4 != 2" identifier != number_literal) )) (compound_statement "{\n          iVar4 = puVar2[1];\n          iVar7 = 4;\n          if (iVar4 != 0) {\n            piVar5 = param_1 + 1;\n            do {\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            } while (iVar4 != 0);\n          }\n          *(undefined4 *)((int)param_1 + iVar7) = 0;\n          (*(code *)PTR_free_001585ac)(puVar2);\n          return;\n        }" { (expression_statement "iVar4 = puVar2[1];" (assignment_expression "iVar4 = puVar2[1]" identifier = (subscript_expression "puVar2[1]" identifier [ number_literal ])) ;) (expression_statement "iVar7 = 4;" (assignment_expression "iVar7 = 4" identifier = number_literal) ;) (if_statement "if (iVar4 != 0) {\n            piVar5 = param_1 + 1;\n            do {\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            } while (iVar4 != 0);\n          }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n            piVar5 = param_1 + 1;\n            do {\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            } while (iVar4 != 0);\n          }" { (expression_statement "piVar5 = param_1 + 1;" (assignment_expression "piVar5 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (do_statement "do {\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            } while (iVar4 != 0);" do (compound_statement "{\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            }" { (expression_statement "*piVar5 = iVar4;" (assignment_expression "*piVar5 = iVar4" (pointer_expression "*piVar5" * identifier) = identifier) ;) (expression_statement "iVar7 = iVar7 + 4;" (assignment_expression "iVar7 = iVar7 + 4" identifier = (binary_expression "iVar7 + 4" identifier + number_literal)) ;) (expression_statement "iVar4 = *(int *)((int)puVar2 + iVar7);" (assignment_expression "iVar4 = *(int *)((int)puVar2 + iVar7)" identifier = (pointer_expression "*(int *)((int)puVar2 + iVar7)" * (cast_expression "(int *)((int)puVar2 + iVar7)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar2 + iVar7)" ( (binary_expression "(int)puVar2 + iVar7" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) ))))) ;) (expression_statement "piVar5 = (int *)((int)param_1 + iVar7);" (assignment_expression "piVar5 = (int *)((int)param_1 + iVar7)" identifier = (cast_expression "(int *)((int)param_1 + iVar7)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + iVar7)" ( (binary_expression "(int)param_1 + iVar7" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) })) (expression_statement "*(undefined4 *)((int)param_1 + iVar7) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + iVar7) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + iVar7)" * (cast_expression "(undefined4 *)((int)param_1 + iVar7)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + iVar7)" ( (binary_expression "(int)param_1 + iVar7" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = number_literal) ;) (expression_statement "(*(code *)PTR_free_001585ac)(puVar2);" (call_expression "(*(code *)PTR_free_001585ac)(puVar2)" (parenthesized_expression "(*(code *)PTR_free_001585ac)" ( (pointer_expression "*(code *)PTR_free_001585ac" * (cast_expression "(code *)PTR_free_001585ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar2)" ( identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR_free_001585ac)(*param_1);" (call_expression "(*(code *)PTR_free_001585ac)(*param_1)" (parenthesized_expression "(*(code *)PTR_free_001585ac)" ( (pointer_expression "*(code *)PTR_free_001585ac" * (cast_expression "(code *)PTR_free_001585ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))) ;) (expression_statement "*param_1 = puVar2[1];" (assignment_expression "*param_1 = puVar2[1]" (pointer_expression "*param_1" * identifier) = (subscript_expression "puVar2[1]" identifier [ number_literal ])) ;) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "(*(code *)PTR_free_001585ac)(puVar2);" (call_expression "(*(code *)PTR_free_001585ac)(puVar2)" (parenthesized_expression "(*(code *)PTR_free_001585ac)" ( (pointer_expression "*(code *)PTR_free_001585ac" * (cast_expression "(code *)PTR_free_001585ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar2)" ( identifier ))) ;) (return_statement "return;" return ;) })) }))) (if_statement "if (*(int *)PTR_force_fignore_00157610 == 0) {\n      (*(code *)PTR_free_001585ac)(unaff_s4);\n    }\n    else {\n      (*(code *)PTR_free_001585ac)(*param_1);\n      *param_1 = 0;\n    }" if (parenthesized_expression "(*(int *)PTR_force_fignore_00157610 == 0)" ( (binary_expression "*(int *)PTR_force_fignore_00157610 == 0" (pointer_expression "*(int *)PTR_force_fignore_00157610" * (cast_expression "(int *)PTR_force_fignore_00157610" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n      (*(code *)PTR_free_001585ac)(unaff_s4);\n    }" { (expression_statement "(*(code *)PTR_free_001585ac)(unaff_s4);" (call_expression "(*(code *)PTR_free_001585ac)(unaff_s4)" (parenthesized_expression "(*(code *)PTR_free_001585ac)" ( (pointer_expression "*(code *)PTR_free_001585ac" * (cast_expression "(code *)PTR_free_001585ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s4)" ( identifier ))) ;) }) (else_clause "else {\n      (*(code *)PTR_free_001585ac)(*param_1);\n      *param_1 = 0;\n    }" else (compound_statement "{\n      (*(code *)PTR_free_001585ac)(*param_1);\n      *param_1 = 0;\n    }" { (expression_statement "(*(code *)PTR_free_001585ac)(*param_1);" (call_expression "(*(code *)PTR_free_001585ac)(*param_1)" (parenthesized_expression "(*(code *)PTR_free_001585ac)" ( (pointer_expression "*(code *)PTR_free_001585ac" * (cast_expression "(code *)PTR_free_001585ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))) ;) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) }))) (expression_statement "(*(code *)PTR_free_001585ac)(puVar2);" (call_expression "(*(code *)PTR_free_001585ac)(puVar2)" (parenthesized_expression "(*(code *)PTR_free_001585ac)" ( (pointer_expression "*(code *)PTR_free_001585ac" * (cast_expression "(code *)PTR_free_001585ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar2)" ( identifier ))) ;) }))) (return_statement "return;" return ;) })))
(translation_unit "void _ignore_completion_names(char **names,sh_ignore_func_t *name_func)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  char *pcVar4;\n  char **ppcVar5;\n  char **ppcVar6;\n  int iVar7;\n  int unaff_s4;\n  int iVar8;\n  \n  if (names[1] == (char *)0x0) {\n    if ((*(int *)PTR_force_fignore_00157610 != 0) && (iVar7 = (*name_func)(*names), iVar7 == 0)) {\n      (*(code *)PTR_free_001585ac)(*names);\n      return;\n    }\n    return;\n  }\n  ppcVar6 = names + 1;\n  ppcVar5 = names + 2;\n  iVar7 = 1;\n  do {\n    iVar8 = iVar7;\n    pcVar4 = *ppcVar5;\n    ppcVar5 = ppcVar5 + 1;\n    iVar7 = iVar8 + 1;\n  } while (pcVar4 != (char *)0x0);\n  puVar2 = (undefined4 *)(*(code *)PTR_strvec_create_00156b00)(iVar8 + 2);\n  if (*(int *)PTR_force_fignore_00157610 == 0) {\n    unaff_s4 = (*(code *)PTR_strvec_create_00156b00)(iVar8);\n  }\n  *puVar2 = *names;\n  puVar1 = PTR_force_fignore_00157610;\n  pcVar4 = names[1];\n  iVar7 = 0;\n  if (pcVar4 == (char *)0x0) {\n    puVar2[1] = 0;\n  }\n  else {\n    iVar8 = 1;\n    do {\n      iVar3 = (*name_func)(pcVar4);\n      if (iVar3 == 0) {\n        if (*(int *)puVar1 != 0) {\n          (*(code *)PTR_free_001585ac)(*ppcVar6);\n          return;\n        }\n        *(char **)(unaff_s4 + iVar7 * 4) = *ppcVar6;\n        iVar7 = iVar7 + 1;\n      }\n      else {\n        puVar2[iVar8] = *ppcVar6;\n        iVar8 = iVar8 + 1;\n      }\n      ppcVar6 = ppcVar6 + 1;\n      pcVar4 = *ppcVar6;\n    } while (pcVar4 != (char *)0x0);\n    puVar2[iVar8] = 0;\n    if (iVar8 != 1) {\n      if (*(int *)PTR_force_fignore_00157610 != 0) {\n        if (iVar8 == 2) {\n          (*(code *)PTR_free_001585ac)(*names);\n          return;\n        }\n        pcVar4 = (char *)puVar2[1];\n        iVar7 = 4;\n        if (pcVar4 != (char *)0x0) {\n          ppcVar5 = names + 1;\n          do {\n            *ppcVar5 = pcVar4;\n            iVar7 = iVar7 + 4;\n            pcVar4 = *(char **)((int)puVar2 + iVar7);\n            ppcVar5 = (char **)((int)names + iVar7);\n          } while (pcVar4 != (char *)0x0);\n        }\n        *(undefined4 *)((int)names + iVar7) = 0;\n        (*(code *)PTR_free_001585ac)(puVar2);\n        return;\n      }\n      if (iVar7 == 0) {\n        (*(code *)PTR_free_001585ac)(unaff_s4);\n        return;\n      }\n      (*(code *)PTR_free_001585ac)(*(undefined4 *)(unaff_s4 + iVar7 * 4 + -4));\n      return;\n    }\n  }\n  if (*(int *)PTR_force_fignore_00157610 == 0) {\n    (*(code *)PTR_free_001585ac)(unaff_s4);\n    return;\n  }\n  (*(code *)PTR_free_001585ac)(*names);\n  return;\n}\n\n" (function_definition "void _ignore_completion_names(char **names,sh_ignore_func_t *name_func)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  char *pcVar4;\n  char **ppcVar5;\n  char **ppcVar6;\n  int iVar7;\n  int unaff_s4;\n  int iVar8;\n  \n  if (names[1] == (char *)0x0) {\n    if ((*(int *)PTR_force_fignore_00157610 != 0) && (iVar7 = (*name_func)(*names), iVar7 == 0)) {\n      (*(code *)PTR_free_001585ac)(*names);\n      return;\n    }\n    return;\n  }\n  ppcVar6 = names + 1;\n  ppcVar5 = names + 2;\n  iVar7 = 1;\n  do {\n    iVar8 = iVar7;\n    pcVar4 = *ppcVar5;\n    ppcVar5 = ppcVar5 + 1;\n    iVar7 = iVar8 + 1;\n  } while (pcVar4 != (char *)0x0);\n  puVar2 = (undefined4 *)(*(code *)PTR_strvec_create_00156b00)(iVar8 + 2);\n  if (*(int *)PTR_force_fignore_00157610 == 0) {\n    unaff_s4 = (*(code *)PTR_strvec_create_00156b00)(iVar8);\n  }\n  *puVar2 = *names;\n  puVar1 = PTR_force_fignore_00157610;\n  pcVar4 = names[1];\n  iVar7 = 0;\n  if (pcVar4 == (char *)0x0) {\n    puVar2[1] = 0;\n  }\n  else {\n    iVar8 = 1;\n    do {\n      iVar3 = (*name_func)(pcVar4);\n      if (iVar3 == 0) {\n        if (*(int *)puVar1 != 0) {\n          (*(code *)PTR_free_001585ac)(*ppcVar6);\n          return;\n        }\n        *(char **)(unaff_s4 + iVar7 * 4) = *ppcVar6;\n        iVar7 = iVar7 + 1;\n      }\n      else {\n        puVar2[iVar8] = *ppcVar6;\n        iVar8 = iVar8 + 1;\n      }\n      ppcVar6 = ppcVar6 + 1;\n      pcVar4 = *ppcVar6;\n    } while (pcVar4 != (char *)0x0);\n    puVar2[iVar8] = 0;\n    if (iVar8 != 1) {\n      if (*(int *)PTR_force_fignore_00157610 != 0) {\n        if (iVar8 == 2) {\n          (*(code *)PTR_free_001585ac)(*names);\n          return;\n        }\n        pcVar4 = (char *)puVar2[1];\n        iVar7 = 4;\n        if (pcVar4 != (char *)0x0) {\n          ppcVar5 = names + 1;\n          do {\n            *ppcVar5 = pcVar4;\n            iVar7 = iVar7 + 4;\n            pcVar4 = *(char **)((int)puVar2 + iVar7);\n            ppcVar5 = (char **)((int)names + iVar7);\n          } while (pcVar4 != (char *)0x0);\n        }\n        *(undefined4 *)((int)names + iVar7) = 0;\n        (*(code *)PTR_free_001585ac)(puVar2);\n        return;\n      }\n      if (iVar7 == 0) {\n        (*(code *)PTR_free_001585ac)(unaff_s4);\n        return;\n      }\n      (*(code *)PTR_free_001585ac)(*(undefined4 *)(unaff_s4 + iVar7 * 4 + -4));\n      return;\n    }\n  }\n  if (*(int *)PTR_force_fignore_00157610 == 0) {\n    (*(code *)PTR_free_001585ac)(unaff_s4);\n    return;\n  }\n  (*(code *)PTR_free_001585ac)(*names);\n  return;\n}" primitive_type (function_declarator "_ignore_completion_names(char **names,sh_ignore_func_t *name_func)" identifier (parameter_list "(char **names,sh_ignore_func_t *name_func)" ( (parameter_declaration "char **names" primitive_type (pointer_declarator "**names" * (pointer_declarator "*names" * identifier))) , (parameter_declaration "sh_ignore_func_t *name_func" type_identifier (pointer_declarator "*name_func" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  char *pcVar4;\n  char **ppcVar5;\n  char **ppcVar6;\n  int iVar7;\n  int unaff_s4;\n  int iVar8;\n  \n  if (names[1] == (char *)0x0) {\n    if ((*(int *)PTR_force_fignore_00157610 != 0) && (iVar7 = (*name_func)(*names), iVar7 == 0)) {\n      (*(code *)PTR_free_001585ac)(*names);\n      return;\n    }\n    return;\n  }\n  ppcVar6 = names + 1;\n  ppcVar5 = names + 2;\n  iVar7 = 1;\n  do {\n    iVar8 = iVar7;\n    pcVar4 = *ppcVar5;\n    ppcVar5 = ppcVar5 + 1;\n    iVar7 = iVar8 + 1;\n  } while (pcVar4 != (char *)0x0);\n  puVar2 = (undefined4 *)(*(code *)PTR_strvec_create_00156b00)(iVar8 + 2);\n  if (*(int *)PTR_force_fignore_00157610 == 0) {\n    unaff_s4 = (*(code *)PTR_strvec_create_00156b00)(iVar8);\n  }\n  *puVar2 = *names;\n  puVar1 = PTR_force_fignore_00157610;\n  pcVar4 = names[1];\n  iVar7 = 0;\n  if (pcVar4 == (char *)0x0) {\n    puVar2[1] = 0;\n  }\n  else {\n    iVar8 = 1;\n    do {\n      iVar3 = (*name_func)(pcVar4);\n      if (iVar3 == 0) {\n        if (*(int *)puVar1 != 0) {\n          (*(code *)PTR_free_001585ac)(*ppcVar6);\n          return;\n        }\n        *(char **)(unaff_s4 + iVar7 * 4) = *ppcVar6;\n        iVar7 = iVar7 + 1;\n      }\n      else {\n        puVar2[iVar8] = *ppcVar6;\n        iVar8 = iVar8 + 1;\n      }\n      ppcVar6 = ppcVar6 + 1;\n      pcVar4 = *ppcVar6;\n    } while (pcVar4 != (char *)0x0);\n    puVar2[iVar8] = 0;\n    if (iVar8 != 1) {\n      if (*(int *)PTR_force_fignore_00157610 != 0) {\n        if (iVar8 == 2) {\n          (*(code *)PTR_free_001585ac)(*names);\n          return;\n        }\n        pcVar4 = (char *)puVar2[1];\n        iVar7 = 4;\n        if (pcVar4 != (char *)0x0) {\n          ppcVar5 = names + 1;\n          do {\n            *ppcVar5 = pcVar4;\n            iVar7 = iVar7 + 4;\n            pcVar4 = *(char **)((int)puVar2 + iVar7);\n            ppcVar5 = (char **)((int)names + iVar7);\n          } while (pcVar4 != (char *)0x0);\n        }\n        *(undefined4 *)((int)names + iVar7) = 0;\n        (*(code *)PTR_free_001585ac)(puVar2);\n        return;\n      }\n      if (iVar7 == 0) {\n        (*(code *)PTR_free_001585ac)(unaff_s4);\n        return;\n      }\n      (*(code *)PTR_free_001585ac)(*(undefined4 *)(unaff_s4 + iVar7 * 4 + -4));\n      return;\n    }\n  }\n  if (*(int *)PTR_force_fignore_00157610 == 0) {\n    (*(code *)PTR_free_001585ac)(unaff_s4);\n    return;\n  }\n  (*(code *)PTR_free_001585ac)(*names);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "char **ppcVar5;" primitive_type (pointer_declarator "**ppcVar5" * (pointer_declarator "*ppcVar5" * identifier)) ;) (declaration "char **ppcVar6;" primitive_type (pointer_declarator "**ppcVar6" * (pointer_declarator "*ppcVar6" * identifier)) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int unaff_s4;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (if_statement "if (names[1] == (char *)0x0) {\n    if ((*(int *)PTR_force_fignore_00157610 != 0) && (iVar7 = (*name_func)(*names), iVar7 == 0)) {\n      (*(code *)PTR_free_001585ac)(*names);\n      return;\n    }\n    return;\n  }" if (parenthesized_expression "(names[1] == (char *)0x0)" ( (binary_expression "names[1] == (char *)0x0" (subscript_expression "names[1]" identifier [ number_literal ]) == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if ((*(int *)PTR_force_fignore_00157610 != 0) && (iVar7 = (*name_func)(*names), iVar7 == 0)) {\n      (*(code *)PTR_free_001585ac)(*names);\n      return;\n    }\n    return;\n  }" { (if_statement "if ((*(int *)PTR_force_fignore_00157610 != 0) && (iVar7 = (*name_func)(*names), iVar7 == 0)) {\n      (*(code *)PTR_free_001585ac)(*names);\n      return;\n    }" if (parenthesized_expression "((*(int *)PTR_force_fignore_00157610 != 0) && (iVar7 = (*name_func)(*names), iVar7 == 0))" ( (binary_expression "(*(int *)PTR_force_fignore_00157610 != 0) && (iVar7 = (*name_func)(*names), iVar7 == 0)" (parenthesized_expression "(*(int *)PTR_force_fignore_00157610 != 0)" ( (binary_expression "*(int *)PTR_force_fignore_00157610 != 0" (pointer_expression "*(int *)PTR_force_fignore_00157610" * (cast_expression "(int *)PTR_force_fignore_00157610" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) && (parenthesized_expression "(iVar7 = (*name_func)(*names), iVar7 == 0)" ( (comma_expression "iVar7 = (*name_func)(*names), iVar7 == 0" (assignment_expression "iVar7 = (*name_func)(*names)" identifier = (call_expression "(*name_func)(*names)" (parenthesized_expression "(*name_func)" ( (pointer_expression "*name_func" * identifier) )) (argument_list "(*names)" ( (pointer_expression "*names" * identifier) )))) , (binary_expression "iVar7 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      (*(code *)PTR_free_001585ac)(*names);\n      return;\n    }" { (expression_statement "(*(code *)PTR_free_001585ac)(*names);" (call_expression "(*(code *)PTR_free_001585ac)(*names)" (parenthesized_expression "(*(code *)PTR_free_001585ac)" ( (pointer_expression "*(code *)PTR_free_001585ac" * (cast_expression "(code *)PTR_free_001585ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*names)" ( (pointer_expression "*names" * identifier) ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })) (expression_statement "ppcVar6 = names + 1;" (assignment_expression "ppcVar6 = names + 1" identifier = (binary_expression "names + 1" identifier + number_literal)) ;) (expression_statement "ppcVar5 = names + 2;" (assignment_expression "ppcVar5 = names + 2" identifier = (binary_expression "names + 2" identifier + number_literal)) ;) (expression_statement "iVar7 = 1;" (assignment_expression "iVar7 = 1" identifier = number_literal) ;) (do_statement "do {\n    iVar8 = iVar7;\n    pcVar4 = *ppcVar5;\n    ppcVar5 = ppcVar5 + 1;\n    iVar7 = iVar8 + 1;\n  } while (pcVar4 != (char *)0x0);" do (compound_statement "{\n    iVar8 = iVar7;\n    pcVar4 = *ppcVar5;\n    ppcVar5 = ppcVar5 + 1;\n    iVar7 = iVar8 + 1;\n  }" { (expression_statement "iVar8 = iVar7;" (assignment_expression "iVar8 = iVar7" identifier = identifier) ;) (expression_statement "pcVar4 = *ppcVar5;" (assignment_expression "pcVar4 = *ppcVar5" identifier = (pointer_expression "*ppcVar5" * identifier)) ;) (expression_statement "ppcVar5 = ppcVar5 + 1;" (assignment_expression "ppcVar5 = ppcVar5 + 1" identifier = (binary_expression "ppcVar5 + 1" identifier + number_literal)) ;) (expression_statement "iVar7 = iVar8 + 1;" (assignment_expression "iVar7 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pcVar4 != (char *)0x0)" ( (binary_expression "pcVar4 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "puVar2 = (undefined4 *)(*(code *)PTR_strvec_create_00156b00)(iVar8 + 2);" (assignment_expression "puVar2 = (undefined4 *)(*(code *)PTR_strvec_create_00156b00)(iVar8 + 2)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_strvec_create_00156b00)(iVar8 + 2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strvec_create_00156b00)(iVar8 + 2)" (parenthesized_expression "(*(code *)PTR_strvec_create_00156b00)" ( (pointer_expression "*(code *)PTR_strvec_create_00156b00" * (cast_expression "(code *)PTR_strvec_create_00156b00" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar8 + 2)" ( (binary_expression "iVar8 + 2" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)PTR_force_fignore_00157610 == 0) {\n    unaff_s4 = (*(code *)PTR_strvec_create_00156b00)(iVar8);\n  }" if (parenthesized_expression "(*(int *)PTR_force_fignore_00157610 == 0)" ( (binary_expression "*(int *)PTR_force_fignore_00157610 == 0" (pointer_expression "*(int *)PTR_force_fignore_00157610" * (cast_expression "(int *)PTR_force_fignore_00157610" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n    unaff_s4 = (*(code *)PTR_strvec_create_00156b00)(iVar8);\n  }" { (expression_statement "unaff_s4 = (*(code *)PTR_strvec_create_00156b00)(iVar8);" (assignment_expression "unaff_s4 = (*(code *)PTR_strvec_create_00156b00)(iVar8)" identifier = (call_expression "(*(code *)PTR_strvec_create_00156b00)(iVar8)" (parenthesized_expression "(*(code *)PTR_strvec_create_00156b00)" ( (pointer_expression "*(code *)PTR_strvec_create_00156b00" * (cast_expression "(code *)PTR_strvec_create_00156b00" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar8)" ( identifier )))) ;) })) (expression_statement "*puVar2 = *names;" (assignment_expression "*puVar2 = *names" (pointer_expression "*puVar2" * identifier) = (pointer_expression "*names" * identifier)) ;) (expression_statement "puVar1 = PTR_force_fignore_00157610;" (assignment_expression "puVar1 = PTR_force_fignore_00157610" identifier = identifier) ;) (expression_statement "pcVar4 = names[1];" (assignment_expression "pcVar4 = names[1]" identifier = (subscript_expression "names[1]" identifier [ number_literal ])) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (if_statement "if (pcVar4 == (char *)0x0) {\n    puVar2[1] = 0;\n  }\n  else {\n    iVar8 = 1;\n    do {\n      iVar3 = (*name_func)(pcVar4);\n      if (iVar3 == 0) {\n        if (*(int *)puVar1 != 0) {\n          (*(code *)PTR_free_001585ac)(*ppcVar6);\n          return;\n        }\n        *(char **)(unaff_s4 + iVar7 * 4) = *ppcVar6;\n        iVar7 = iVar7 + 1;\n      }\n      else {\n        puVar2[iVar8] = *ppcVar6;\n        iVar8 = iVar8 + 1;\n      }\n      ppcVar6 = ppcVar6 + 1;\n      pcVar4 = *ppcVar6;\n    } while (pcVar4 != (char *)0x0);\n    puVar2[iVar8] = 0;\n    if (iVar8 != 1) {\n      if (*(int *)PTR_force_fignore_00157610 != 0) {\n        if (iVar8 == 2) {\n          (*(code *)PTR_free_001585ac)(*names);\n          return;\n        }\n        pcVar4 = (char *)puVar2[1];\n        iVar7 = 4;\n        if (pcVar4 != (char *)0x0) {\n          ppcVar5 = names + 1;\n          do {\n            *ppcVar5 = pcVar4;\n            iVar7 = iVar7 + 4;\n            pcVar4 = *(char **)((int)puVar2 + iVar7);\n            ppcVar5 = (char **)((int)names + iVar7);\n          } while (pcVar4 != (char *)0x0);\n        }\n        *(undefined4 *)((int)names + iVar7) = 0;\n        (*(code *)PTR_free_001585ac)(puVar2);\n        return;\n      }\n      if (iVar7 == 0) {\n        (*(code *)PTR_free_001585ac)(unaff_s4);\n        return;\n      }\n      (*(code *)PTR_free_001585ac)(*(undefined4 *)(unaff_s4 + iVar7 * 4 + -4));\n      return;\n    }\n  }" if (parenthesized_expression "(pcVar4 == (char *)0x0)" ( (binary_expression "pcVar4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar2[1] = 0;\n  }" { (expression_statement "puVar2[1] = 0;" (assignment_expression "puVar2[1] = 0" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else {\n    iVar8 = 1;\n    do {\n      iVar3 = (*name_func)(pcVar4);\n      if (iVar3 == 0) {\n        if (*(int *)puVar1 != 0) {\n          (*(code *)PTR_free_001585ac)(*ppcVar6);\n          return;\n        }\n        *(char **)(unaff_s4 + iVar7 * 4) = *ppcVar6;\n        iVar7 = iVar7 + 1;\n      }\n      else {\n        puVar2[iVar8] = *ppcVar6;\n        iVar8 = iVar8 + 1;\n      }\n      ppcVar6 = ppcVar6 + 1;\n      pcVar4 = *ppcVar6;\n    } while (pcVar4 != (char *)0x0);\n    puVar2[iVar8] = 0;\n    if (iVar8 != 1) {\n      if (*(int *)PTR_force_fignore_00157610 != 0) {\n        if (iVar8 == 2) {\n          (*(code *)PTR_free_001585ac)(*names);\n          return;\n        }\n        pcVar4 = (char *)puVar2[1];\n        iVar7 = 4;\n        if (pcVar4 != (char *)0x0) {\n          ppcVar5 = names + 1;\n          do {\n            *ppcVar5 = pcVar4;\n            iVar7 = iVar7 + 4;\n            pcVar4 = *(char **)((int)puVar2 + iVar7);\n            ppcVar5 = (char **)((int)names + iVar7);\n          } while (pcVar4 != (char *)0x0);\n        }\n        *(undefined4 *)((int)names + iVar7) = 0;\n        (*(code *)PTR_free_001585ac)(puVar2);\n        return;\n      }\n      if (iVar7 == 0) {\n        (*(code *)PTR_free_001585ac)(unaff_s4);\n        return;\n      }\n      (*(code *)PTR_free_001585ac)(*(undefined4 *)(unaff_s4 + iVar7 * 4 + -4));\n      return;\n    }\n  }" else (compound_statement "{\n    iVar8 = 1;\n    do {\n      iVar3 = (*name_func)(pcVar4);\n      if (iVar3 == 0) {\n        if (*(int *)puVar1 != 0) {\n          (*(code *)PTR_free_001585ac)(*ppcVar6);\n          return;\n        }\n        *(char **)(unaff_s4 + iVar7 * 4) = *ppcVar6;\n        iVar7 = iVar7 + 1;\n      }\n      else {\n        puVar2[iVar8] = *ppcVar6;\n        iVar8 = iVar8 + 1;\n      }\n      ppcVar6 = ppcVar6 + 1;\n      pcVar4 = *ppcVar6;\n    } while (pcVar4 != (char *)0x0);\n    puVar2[iVar8] = 0;\n    if (iVar8 != 1) {\n      if (*(int *)PTR_force_fignore_00157610 != 0) {\n        if (iVar8 == 2) {\n          (*(code *)PTR_free_001585ac)(*names);\n          return;\n        }\n        pcVar4 = (char *)puVar2[1];\n        iVar7 = 4;\n        if (pcVar4 != (char *)0x0) {\n          ppcVar5 = names + 1;\n          do {\n            *ppcVar5 = pcVar4;\n            iVar7 = iVar7 + 4;\n            pcVar4 = *(char **)((int)puVar2 + iVar7);\n            ppcVar5 = (char **)((int)names + iVar7);\n          } while (pcVar4 != (char *)0x0);\n        }\n        *(undefined4 *)((int)names + iVar7) = 0;\n        (*(code *)PTR_free_001585ac)(puVar2);\n        return;\n      }\n      if (iVar7 == 0) {\n        (*(code *)PTR_free_001585ac)(unaff_s4);\n        return;\n      }\n      (*(code *)PTR_free_001585ac)(*(undefined4 *)(unaff_s4 + iVar7 * 4 + -4));\n      return;\n    }\n  }" { (expression_statement "iVar8 = 1;" (assignment_expression "iVar8 = 1" identifier = number_literal) ;) (do_statement "do {\n      iVar3 = (*name_func)(pcVar4);\n      if (iVar3 == 0) {\n        if (*(int *)puVar1 != 0) {\n          (*(code *)PTR_free_001585ac)(*ppcVar6);\n          return;\n        }\n        *(char **)(unaff_s4 + iVar7 * 4) = *ppcVar6;\n        iVar7 = iVar7 + 1;\n      }\n      else {\n        puVar2[iVar8] = *ppcVar6;\n        iVar8 = iVar8 + 1;\n      }\n      ppcVar6 = ppcVar6 + 1;\n      pcVar4 = *ppcVar6;\n    } while (pcVar4 != (char *)0x0);" do (compound_statement "{\n      iVar3 = (*name_func)(pcVar4);\n      if (iVar3 == 0) {\n        if (*(int *)puVar1 != 0) {\n          (*(code *)PTR_free_001585ac)(*ppcVar6);\n          return;\n        }\n        *(char **)(unaff_s4 + iVar7 * 4) = *ppcVar6;\n        iVar7 = iVar7 + 1;\n      }\n      else {\n        puVar2[iVar8] = *ppcVar6;\n        iVar8 = iVar8 + 1;\n      }\n      ppcVar6 = ppcVar6 + 1;\n      pcVar4 = *ppcVar6;\n    }" { (expression_statement "iVar3 = (*name_func)(pcVar4);" (assignment_expression "iVar3 = (*name_func)(pcVar4)" identifier = (call_expression "(*name_func)(pcVar4)" (parenthesized_expression "(*name_func)" ( (pointer_expression "*name_func" * identifier) )) (argument_list "(pcVar4)" ( identifier )))) ;) (if_statement "if (iVar3 == 0) {\n        if (*(int *)puVar1 != 0) {\n          (*(code *)PTR_free_001585ac)(*ppcVar6);\n          return;\n        }\n        *(char **)(unaff_s4 + iVar7 * 4) = *ppcVar6;\n        iVar7 = iVar7 + 1;\n      }\n      else {\n        puVar2[iVar8] = *ppcVar6;\n        iVar8 = iVar8 + 1;\n      }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n        if (*(int *)puVar1 != 0) {\n          (*(code *)PTR_free_001585ac)(*ppcVar6);\n          return;\n        }\n        *(char **)(unaff_s4 + iVar7 * 4) = *ppcVar6;\n        iVar7 = iVar7 + 1;\n      }" { (if_statement "if (*(int *)puVar1 != 0) {\n          (*(code *)PTR_free_001585ac)(*ppcVar6);\n          return;\n        }" if (parenthesized_expression "(*(int *)puVar1 != 0)" ( (binary_expression "*(int *)puVar1 != 0" (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) (compound_statement "{\n          (*(code *)PTR_free_001585ac)(*ppcVar6);\n          return;\n        }" { (expression_statement "(*(code *)PTR_free_001585ac)(*ppcVar6);" (call_expression "(*(code *)PTR_free_001585ac)(*ppcVar6)" (parenthesized_expression "(*(code *)PTR_free_001585ac)" ( (pointer_expression "*(code *)PTR_free_001585ac" * (cast_expression "(code *)PTR_free_001585ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*ppcVar6)" ( (pointer_expression "*ppcVar6" * identifier) ))) ;) (return_statement "return;" return ;) })) (expression_statement "*(char **)(unaff_s4 + iVar7 * 4) = *ppcVar6;" (assignment_expression "*(char **)(unaff_s4 + iVar7 * 4) = *ppcVar6" (pointer_expression "*(char **)(unaff_s4 + iVar7 * 4)" * (cast_expression "(char **)(unaff_s4 + iVar7 * 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_s4 + iVar7 * 4)" ( (binary_expression "unaff_s4 + iVar7 * 4" identifier + (binary_expression "iVar7 * 4" identifier * number_literal)) )))) = (pointer_expression "*ppcVar6" * identifier)) ;) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n        puVar2[iVar8] = *ppcVar6;\n        iVar8 = iVar8 + 1;\n      }" else (compound_statement "{\n        puVar2[iVar8] = *ppcVar6;\n        iVar8 = iVar8 + 1;\n      }" { (expression_statement "puVar2[iVar8] = *ppcVar6;" (assignment_expression "puVar2[iVar8] = *ppcVar6" (subscript_expression "puVar2[iVar8]" identifier [ identifier ]) = (pointer_expression "*ppcVar6" * identifier)) ;) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) }))) (expression_statement "ppcVar6 = ppcVar6 + 1;" (assignment_expression "ppcVar6 = ppcVar6 + 1" identifier = (binary_expression "ppcVar6 + 1" identifier + number_literal)) ;) (expression_statement "pcVar4 = *ppcVar6;" (assignment_expression "pcVar4 = *ppcVar6" identifier = (pointer_expression "*ppcVar6" * identifier)) ;) }) while (parenthesized_expression "(pcVar4 != (char *)0x0)" ( (binary_expression "pcVar4 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "puVar2[iVar8] = 0;" (assignment_expression "puVar2[iVar8] = 0" (subscript_expression "puVar2[iVar8]" identifier [ identifier ]) = number_literal) ;) (if_statement "if (iVar8 != 1) {\n      if (*(int *)PTR_force_fignore_00157610 != 0) {\n        if (iVar8 == 2) {\n          (*(code *)PTR_free_001585ac)(*names);\n          return;\n        }\n        pcVar4 = (char *)puVar2[1];\n        iVar7 = 4;\n        if (pcVar4 != (char *)0x0) {\n          ppcVar5 = names + 1;\n          do {\n            *ppcVar5 = pcVar4;\n            iVar7 = iVar7 + 4;\n            pcVar4 = *(char **)((int)puVar2 + iVar7);\n            ppcVar5 = (char **)((int)names + iVar7);\n          } while (pcVar4 != (char *)0x0);\n        }\n        *(undefined4 *)((int)names + iVar7) = 0;\n        (*(code *)PTR_free_001585ac)(puVar2);\n        return;\n      }\n      if (iVar7 == 0) {\n        (*(code *)PTR_free_001585ac)(unaff_s4);\n        return;\n      }\n      (*(code *)PTR_free_001585ac)(*(undefined4 *)(unaff_s4 + iVar7 * 4 + -4));\n      return;\n    }" if (parenthesized_expression "(iVar8 != 1)" ( (binary_expression "iVar8 != 1" identifier != number_literal) )) (compound_statement "{\n      if (*(int *)PTR_force_fignore_00157610 != 0) {\n        if (iVar8 == 2) {\n          (*(code *)PTR_free_001585ac)(*names);\n          return;\n        }\n        pcVar4 = (char *)puVar2[1];\n        iVar7 = 4;\n        if (pcVar4 != (char *)0x0) {\n          ppcVar5 = names + 1;\n          do {\n            *ppcVar5 = pcVar4;\n            iVar7 = iVar7 + 4;\n            pcVar4 = *(char **)((int)puVar2 + iVar7);\n            ppcVar5 = (char **)((int)names + iVar7);\n          } while (pcVar4 != (char *)0x0);\n        }\n        *(undefined4 *)((int)names + iVar7) = 0;\n        (*(code *)PTR_free_001585ac)(puVar2);\n        return;\n      }\n      if (iVar7 == 0) {\n        (*(code *)PTR_free_001585ac)(unaff_s4);\n        return;\n      }\n      (*(code *)PTR_free_001585ac)(*(undefined4 *)(unaff_s4 + iVar7 * 4 + -4));\n      return;\n    }" { (if_statement "if (*(int *)PTR_force_fignore_00157610 != 0) {\n        if (iVar8 == 2) {\n          (*(code *)PTR_free_001585ac)(*names);\n          return;\n        }\n        pcVar4 = (char *)puVar2[1];\n        iVar7 = 4;\n        if (pcVar4 != (char *)0x0) {\n          ppcVar5 = names + 1;\n          do {\n            *ppcVar5 = pcVar4;\n            iVar7 = iVar7 + 4;\n            pcVar4 = *(char **)((int)puVar2 + iVar7);\n            ppcVar5 = (char **)((int)names + iVar7);\n          } while (pcVar4 != (char *)0x0);\n        }\n        *(undefined4 *)((int)names + iVar7) = 0;\n        (*(code *)PTR_free_001585ac)(puVar2);\n        return;\n      }" if (parenthesized_expression "(*(int *)PTR_force_fignore_00157610 != 0)" ( (binary_expression "*(int *)PTR_force_fignore_00157610 != 0" (pointer_expression "*(int *)PTR_force_fignore_00157610" * (cast_expression "(int *)PTR_force_fignore_00157610" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) (compound_statement "{\n        if (iVar8 == 2) {\n          (*(code *)PTR_free_001585ac)(*names);\n          return;\n        }\n        pcVar4 = (char *)puVar2[1];\n        iVar7 = 4;\n        if (pcVar4 != (char *)0x0) {\n          ppcVar5 = names + 1;\n          do {\n            *ppcVar5 = pcVar4;\n            iVar7 = iVar7 + 4;\n            pcVar4 = *(char **)((int)puVar2 + iVar7);\n            ppcVar5 = (char **)((int)names + iVar7);\n          } while (pcVar4 != (char *)0x0);\n        }\n        *(undefined4 *)((int)names + iVar7) = 0;\n        (*(code *)PTR_free_001585ac)(puVar2);\n        return;\n      }" { (if_statement "if (iVar8 == 2) {\n          (*(code *)PTR_free_001585ac)(*names);\n          return;\n        }" if (parenthesized_expression "(iVar8 == 2)" ( (binary_expression "iVar8 == 2" identifier == number_literal) )) (compound_statement "{\n          (*(code *)PTR_free_001585ac)(*names);\n          return;\n        }" { (expression_statement "(*(code *)PTR_free_001585ac)(*names);" (call_expression "(*(code *)PTR_free_001585ac)(*names)" (parenthesized_expression "(*(code *)PTR_free_001585ac)" ( (pointer_expression "*(code *)PTR_free_001585ac" * (cast_expression "(code *)PTR_free_001585ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*names)" ( (pointer_expression "*names" * identifier) ))) ;) (return_statement "return;" return ;) })) (expression_statement "pcVar4 = (char *)puVar2[1];" (assignment_expression "pcVar4 = (char *)puVar2[1]" identifier = (cast_expression "(char *)puVar2[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar2[1]" identifier [ number_literal ]))) ;) (expression_statement "iVar7 = 4;" (assignment_expression "iVar7 = 4" identifier = number_literal) ;) (if_statement "if (pcVar4 != (char *)0x0) {\n          ppcVar5 = names + 1;\n          do {\n            *ppcVar5 = pcVar4;\n            iVar7 = iVar7 + 4;\n            pcVar4 = *(char **)((int)puVar2 + iVar7);\n            ppcVar5 = (char **)((int)names + iVar7);\n          } while (pcVar4 != (char *)0x0);\n        }" if (parenthesized_expression "(pcVar4 != (char *)0x0)" ( (binary_expression "pcVar4 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          ppcVar5 = names + 1;\n          do {\n            *ppcVar5 = pcVar4;\n            iVar7 = iVar7 + 4;\n            pcVar4 = *(char **)((int)puVar2 + iVar7);\n            ppcVar5 = (char **)((int)names + iVar7);\n          } while (pcVar4 != (char *)0x0);\n        }" { (expression_statement "ppcVar5 = names + 1;" (assignment_expression "ppcVar5 = names + 1" identifier = (binary_expression "names + 1" identifier + number_literal)) ;) (do_statement "do {\n            *ppcVar5 = pcVar4;\n            iVar7 = iVar7 + 4;\n            pcVar4 = *(char **)((int)puVar2 + iVar7);\n            ppcVar5 = (char **)((int)names + iVar7);\n          } while (pcVar4 != (char *)0x0);" do (compound_statement "{\n            *ppcVar5 = pcVar4;\n            iVar7 = iVar7 + 4;\n            pcVar4 = *(char **)((int)puVar2 + iVar7);\n            ppcVar5 = (char **)((int)names + iVar7);\n          }" { (expression_statement "*ppcVar5 = pcVar4;" (assignment_expression "*ppcVar5 = pcVar4" (pointer_expression "*ppcVar5" * identifier) = identifier) ;) (expression_statement "iVar7 = iVar7 + 4;" (assignment_expression "iVar7 = iVar7 + 4" identifier = (binary_expression "iVar7 + 4" identifier + number_literal)) ;) (expression_statement "pcVar4 = *(char **)((int)puVar2 + iVar7);" (assignment_expression "pcVar4 = *(char **)((int)puVar2 + iVar7)" identifier = (pointer_expression "*(char **)((int)puVar2 + iVar7)" * (cast_expression "(char **)((int)puVar2 + iVar7)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar2 + iVar7)" ( (binary_expression "(int)puVar2 + iVar7" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) ))))) ;) (expression_statement "ppcVar5 = (char **)((int)names + iVar7);" (assignment_expression "ppcVar5 = (char **)((int)names + iVar7)" identifier = (cast_expression "(char **)((int)names + iVar7)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)names + iVar7)" ( (binary_expression "(int)names + iVar7" (cast_expression "(int)names" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) }) while (parenthesized_expression "(pcVar4 != (char *)0x0)" ( (binary_expression "pcVar4 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (expression_statement "*(undefined4 *)((int)names + iVar7) = 0;" (assignment_expression "*(undefined4 *)((int)names + iVar7) = 0" (pointer_expression "*(undefined4 *)((int)names + iVar7)" * (cast_expression "(undefined4 *)((int)names + iVar7)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)names + iVar7)" ( (binary_expression "(int)names + iVar7" (cast_expression "(int)names" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = number_literal) ;) (expression_statement "(*(code *)PTR_free_001585ac)(puVar2);" (call_expression "(*(code *)PTR_free_001585ac)(puVar2)" (parenthesized_expression "(*(code *)PTR_free_001585ac)" ( (pointer_expression "*(code *)PTR_free_001585ac" * (cast_expression "(code *)PTR_free_001585ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar2)" ( identifier ))) ;) (return_statement "return;" return ;) })) (if_statement "if (iVar7 == 0) {\n        (*(code *)PTR_free_001585ac)(unaff_s4);\n        return;\n      }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n        (*(code *)PTR_free_001585ac)(unaff_s4);\n        return;\n      }" { (expression_statement "(*(code *)PTR_free_001585ac)(unaff_s4);" (call_expression "(*(code *)PTR_free_001585ac)(unaff_s4)" (parenthesized_expression "(*(code *)PTR_free_001585ac)" ( (pointer_expression "*(code *)PTR_free_001585ac" * (cast_expression "(code *)PTR_free_001585ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s4)" ( identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR_free_001585ac)(*(undefined4 *)(unaff_s4 + iVar7 * 4 + -4));" (call_expression "(*(code *)PTR_free_001585ac)(*(undefined4 *)(unaff_s4 + iVar7 * 4 + -4))" (parenthesized_expression "(*(code *)PTR_free_001585ac)" ( (pointer_expression "*(code *)PTR_free_001585ac" * (cast_expression "(code *)PTR_free_001585ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(unaff_s4 + iVar7 * 4 + -4))" ( (pointer_expression "*(undefined4 *)(unaff_s4 + iVar7 * 4 + -4)" * (cast_expression "(undefined4 *)(unaff_s4 + iVar7 * 4 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s4 + iVar7 * 4 + -4)" ( (binary_expression "unaff_s4 + iVar7 * 4 + -4" (binary_expression "unaff_s4 + iVar7 * 4" identifier + (binary_expression "iVar7 * 4" identifier * number_literal)) + number_literal) )))) ))) ;) (return_statement "return;" return ;) })) }))) (if_statement "if (*(int *)PTR_force_fignore_00157610 == 0) {\n    (*(code *)PTR_free_001585ac)(unaff_s4);\n    return;\n  }" if (parenthesized_expression "(*(int *)PTR_force_fignore_00157610 == 0)" ( (binary_expression "*(int *)PTR_force_fignore_00157610 == 0" (pointer_expression "*(int *)PTR_force_fignore_00157610" * (cast_expression "(int *)PTR_force_fignore_00157610" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n    (*(code *)PTR_free_001585ac)(unaff_s4);\n    return;\n  }" { (expression_statement "(*(code *)PTR_free_001585ac)(unaff_s4);" (call_expression "(*(code *)PTR_free_001585ac)(unaff_s4)" (parenthesized_expression "(*(code *)PTR_free_001585ac)" ( (pointer_expression "*(code *)PTR_free_001585ac" * (cast_expression "(code *)PTR_free_001585ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s4)" ( identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR_free_001585ac)(*names);" (call_expression "(*(code *)PTR_free_001585ac)(*names)" (parenthesized_expression "(*(code *)PTR_free_001585ac)" ( (pointer_expression "*(code *)PTR_free_001585ac" * (cast_expression "(code *)PTR_free_001585ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*names)" ( (pointer_expression "*names" * identifier) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000a39c0(undefined4 *param_1,code *param_2)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  int iVar4;\n  int *piVar5;\n  int *piVar6;\n  int iVar7;\n  int unaff_s4;\n  \n  if (param_1[1] == 0) {\n    if ((*(int *)PTR_force_fignore_00157610 != 0) && (iVar7 = (*param_2)(*param_1), iVar7 == 0)) {\n      (*(code *)PTR_free_001585ac)(*param_1);\n      *param_1 = 0;\n    }\n  }\n  else {\n    piVar6 = param_1 + 1;\n    piVar5 = param_1 + 2;\n    iVar7 = 1;\n    do {\n      iVar3 = iVar7;\n      iVar4 = *piVar5;\n      piVar5 = piVar5 + 1;\n      iVar7 = iVar3 + 1;\n    } while (iVar4 != 0);\n    puVar2 = (undefined4 *)(*(code *)PTR_strvec_create_00156b00)(iVar3 + 2);\n    if (*(int *)PTR_force_fignore_00157610 == 0) {\n      unaff_s4 = (*(code *)PTR_strvec_create_00156b00)(iVar3);\n    }\n    *puVar2 = *param_1;\n    puVar1 = PTR_force_fignore_00157610;\n    iVar7 = 0;\n    if (param_1[1] == 0) {\n      puVar2[1] = 0;\n    }\n    else {\n      iVar4 = 1;\n      do {\n        iVar3 = (*param_2)();\n        if (iVar3 == 0) {\n          if (*(int *)puVar1 == 0) {\n            *(int *)(unaff_s4 + iVar7 * 4) = *piVar6;\n            iVar7 = iVar7 + 1;\n          }\n          else {\n            (*(code *)PTR_free_001585ac)(*piVar6);\n          }\n        }\n        else {\n          puVar2[iVar4] = *piVar6;\n          iVar4 = iVar4 + 1;\n        }\n        piVar6 = piVar6 + 1;\n      } while (*piVar6 != 0);\n      puVar2[iVar4] = 0;\n      if (iVar4 != 1) {\n        if (*(int *)PTR_force_fignore_00157610 == 0) {\n          if (iVar7 != 0) {\n            iVar7 = unaff_s4 + iVar7 * 4;\n            do {\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            } while (unaff_s4 != iVar7);\n          }\n          (*(code *)PTR_free_001585ac)(unaff_s4);\n        }\n        if (iVar4 != 2) {\n          iVar4 = puVar2[1];\n          iVar7 = 4;\n          if (iVar4 != 0) {\n            piVar5 = param_1 + 1;\n            do {\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            } while (iVar4 != 0);\n          }\n          *(undefined4 *)((int)param_1 + iVar7) = 0;\n          (*(code *)PTR_free_001585ac)(puVar2);\n          return;\n        }\n        (*(code *)PTR_free_001585ac)(*param_1);\n        *param_1 = puVar2[1];\n        param_1[1] = 0;\n        (*(code *)PTR_free_001585ac)(puVar2);\n        return;\n      }\n    }\n    if (*(int *)PTR_force_fignore_00157610 == 0) {\n      (*(code *)PTR_free_001585ac)(unaff_s4);\n    }\n    else {\n      (*(code *)PTR_free_001585ac)(*param_1);\n      *param_1 = 0;\n    }\n    (*(code *)PTR_free_001585ac)(puVar2);\n  }\n  return;\n}\n\n" (function_definition "void FUN_000a39c0(undefined4 *param_1,code *param_2)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  int iVar4;\n  int *piVar5;\n  int *piVar6;\n  int iVar7;\n  int unaff_s4;\n  \n  if (param_1[1] == 0) {\n    if ((*(int *)PTR_force_fignore_00157610 != 0) && (iVar7 = (*param_2)(*param_1), iVar7 == 0)) {\n      (*(code *)PTR_free_001585ac)(*param_1);\n      *param_1 = 0;\n    }\n  }\n  else {\n    piVar6 = param_1 + 1;\n    piVar5 = param_1 + 2;\n    iVar7 = 1;\n    do {\n      iVar3 = iVar7;\n      iVar4 = *piVar5;\n      piVar5 = piVar5 + 1;\n      iVar7 = iVar3 + 1;\n    } while (iVar4 != 0);\n    puVar2 = (undefined4 *)(*(code *)PTR_strvec_create_00156b00)(iVar3 + 2);\n    if (*(int *)PTR_force_fignore_00157610 == 0) {\n      unaff_s4 = (*(code *)PTR_strvec_create_00156b00)(iVar3);\n    }\n    *puVar2 = *param_1;\n    puVar1 = PTR_force_fignore_00157610;\n    iVar7 = 0;\n    if (param_1[1] == 0) {\n      puVar2[1] = 0;\n    }\n    else {\n      iVar4 = 1;\n      do {\n        iVar3 = (*param_2)();\n        if (iVar3 == 0) {\n          if (*(int *)puVar1 == 0) {\n            *(int *)(unaff_s4 + iVar7 * 4) = *piVar6;\n            iVar7 = iVar7 + 1;\n          }\n          else {\n            (*(code *)PTR_free_001585ac)(*piVar6);\n          }\n        }\n        else {\n          puVar2[iVar4] = *piVar6;\n          iVar4 = iVar4 + 1;\n        }\n        piVar6 = piVar6 + 1;\n      } while (*piVar6 != 0);\n      puVar2[iVar4] = 0;\n      if (iVar4 != 1) {\n        if (*(int *)PTR_force_fignore_00157610 == 0) {\n          if (iVar7 != 0) {\n            iVar7 = unaff_s4 + iVar7 * 4;\n            do {\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            } while (unaff_s4 != iVar7);\n          }\n          (*(code *)PTR_free_001585ac)(unaff_s4);\n        }\n        if (iVar4 != 2) {\n          iVar4 = puVar2[1];\n          iVar7 = 4;\n          if (iVar4 != 0) {\n            piVar5 = param_1 + 1;\n            do {\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            } while (iVar4 != 0);\n          }\n          *(undefined4 *)((int)param_1 + iVar7) = 0;\n          (*(code *)PTR_free_001585ac)(puVar2);\n          return;\n        }\n        (*(code *)PTR_free_001585ac)(*param_1);\n        *param_1 = puVar2[1];\n        param_1[1] = 0;\n        (*(code *)PTR_free_001585ac)(puVar2);\n        return;\n      }\n    }\n    if (*(int *)PTR_force_fignore_00157610 == 0) {\n      (*(code *)PTR_free_001585ac)(unaff_s4);\n    }\n    else {\n      (*(code *)PTR_free_001585ac)(*param_1);\n      *param_1 = 0;\n    }\n    (*(code *)PTR_free_001585ac)(puVar2);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000a39c0(undefined4 *param_1,code *param_2)" identifier (parameter_list "(undefined4 *param_1,code *param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "code *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  int iVar4;\n  int *piVar5;\n  int *piVar6;\n  int iVar7;\n  int unaff_s4;\n  \n  if (param_1[1] == 0) {\n    if ((*(int *)PTR_force_fignore_00157610 != 0) && (iVar7 = (*param_2)(*param_1), iVar7 == 0)) {\n      (*(code *)PTR_free_001585ac)(*param_1);\n      *param_1 = 0;\n    }\n  }\n  else {\n    piVar6 = param_1 + 1;\n    piVar5 = param_1 + 2;\n    iVar7 = 1;\n    do {\n      iVar3 = iVar7;\n      iVar4 = *piVar5;\n      piVar5 = piVar5 + 1;\n      iVar7 = iVar3 + 1;\n    } while (iVar4 != 0);\n    puVar2 = (undefined4 *)(*(code *)PTR_strvec_create_00156b00)(iVar3 + 2);\n    if (*(int *)PTR_force_fignore_00157610 == 0) {\n      unaff_s4 = (*(code *)PTR_strvec_create_00156b00)(iVar3);\n    }\n    *puVar2 = *param_1;\n    puVar1 = PTR_force_fignore_00157610;\n    iVar7 = 0;\n    if (param_1[1] == 0) {\n      puVar2[1] = 0;\n    }\n    else {\n      iVar4 = 1;\n      do {\n        iVar3 = (*param_2)();\n        if (iVar3 == 0) {\n          if (*(int *)puVar1 == 0) {\n            *(int *)(unaff_s4 + iVar7 * 4) = *piVar6;\n            iVar7 = iVar7 + 1;\n          }\n          else {\n            (*(code *)PTR_free_001585ac)(*piVar6);\n          }\n        }\n        else {\n          puVar2[iVar4] = *piVar6;\n          iVar4 = iVar4 + 1;\n        }\n        piVar6 = piVar6 + 1;\n      } while (*piVar6 != 0);\n      puVar2[iVar4] = 0;\n      if (iVar4 != 1) {\n        if (*(int *)PTR_force_fignore_00157610 == 0) {\n          if (iVar7 != 0) {\n            iVar7 = unaff_s4 + iVar7 * 4;\n            do {\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            } while (unaff_s4 != iVar7);\n          }\n          (*(code *)PTR_free_001585ac)(unaff_s4);\n        }\n        if (iVar4 != 2) {\n          iVar4 = puVar2[1];\n          iVar7 = 4;\n          if (iVar4 != 0) {\n            piVar5 = param_1 + 1;\n            do {\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            } while (iVar4 != 0);\n          }\n          *(undefined4 *)((int)param_1 + iVar7) = 0;\n          (*(code *)PTR_free_001585ac)(puVar2);\n          return;\n        }\n        (*(code *)PTR_free_001585ac)(*param_1);\n        *param_1 = puVar2[1];\n        param_1[1] = 0;\n        (*(code *)PTR_free_001585ac)(puVar2);\n        return;\n      }\n    }\n    if (*(int *)PTR_force_fignore_00157610 == 0) {\n      (*(code *)PTR_free_001585ac)(unaff_s4);\n    }\n    else {\n      (*(code *)PTR_free_001585ac)(*param_1);\n      *param_1 = 0;\n    }\n    (*(code *)PTR_free_001585ac)(puVar2);\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int unaff_s4;" primitive_type identifier ;) (if_statement "if (param_1[1] == 0) {\n    if ((*(int *)PTR_force_fignore_00157610 != 0) && (iVar7 = (*param_2)(*param_1), iVar7 == 0)) {\n      (*(code *)PTR_free_001585ac)(*param_1);\n      *param_1 = 0;\n    }\n  }\n  else {\n    piVar6 = param_1 + 1;\n    piVar5 = param_1 + 2;\n    iVar7 = 1;\n    do {\n      iVar3 = iVar7;\n      iVar4 = *piVar5;\n      piVar5 = piVar5 + 1;\n      iVar7 = iVar3 + 1;\n    } while (iVar4 != 0);\n    puVar2 = (undefined4 *)(*(code *)PTR_strvec_create_00156b00)(iVar3 + 2);\n    if (*(int *)PTR_force_fignore_00157610 == 0) {\n      unaff_s4 = (*(code *)PTR_strvec_create_00156b00)(iVar3);\n    }\n    *puVar2 = *param_1;\n    puVar1 = PTR_force_fignore_00157610;\n    iVar7 = 0;\n    if (param_1[1] == 0) {\n      puVar2[1] = 0;\n    }\n    else {\n      iVar4 = 1;\n      do {\n        iVar3 = (*param_2)();\n        if (iVar3 == 0) {\n          if (*(int *)puVar1 == 0) {\n            *(int *)(unaff_s4 + iVar7 * 4) = *piVar6;\n            iVar7 = iVar7 + 1;\n          }\n          else {\n            (*(code *)PTR_free_001585ac)(*piVar6);\n          }\n        }\n        else {\n          puVar2[iVar4] = *piVar6;\n          iVar4 = iVar4 + 1;\n        }\n        piVar6 = piVar6 + 1;\n      } while (*piVar6 != 0);\n      puVar2[iVar4] = 0;\n      if (iVar4 != 1) {\n        if (*(int *)PTR_force_fignore_00157610 == 0) {\n          if (iVar7 != 0) {\n            iVar7 = unaff_s4 + iVar7 * 4;\n            do {\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            } while (unaff_s4 != iVar7);\n          }\n          (*(code *)PTR_free_001585ac)(unaff_s4);\n        }\n        if (iVar4 != 2) {\n          iVar4 = puVar2[1];\n          iVar7 = 4;\n          if (iVar4 != 0) {\n            piVar5 = param_1 + 1;\n            do {\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            } while (iVar4 != 0);\n          }\n          *(undefined4 *)((int)param_1 + iVar7) = 0;\n          (*(code *)PTR_free_001585ac)(puVar2);\n          return;\n        }\n        (*(code *)PTR_free_001585ac)(*param_1);\n        *param_1 = puVar2[1];\n        param_1[1] = 0;\n        (*(code *)PTR_free_001585ac)(puVar2);\n        return;\n      }\n    }\n    if (*(int *)PTR_force_fignore_00157610 == 0) {\n      (*(code *)PTR_free_001585ac)(unaff_s4);\n    }\n    else {\n      (*(code *)PTR_free_001585ac)(*param_1);\n      *param_1 = 0;\n    }\n    (*(code *)PTR_free_001585ac)(puVar2);\n  }" if (parenthesized_expression "(param_1[1] == 0)" ( (binary_expression "param_1[1] == 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    if ((*(int *)PTR_force_fignore_00157610 != 0) && (iVar7 = (*param_2)(*param_1), iVar7 == 0)) {\n      (*(code *)PTR_free_001585ac)(*param_1);\n      *param_1 = 0;\n    }\n  }" { (if_statement "if ((*(int *)PTR_force_fignore_00157610 != 0) && (iVar7 = (*param_2)(*param_1), iVar7 == 0)) {\n      (*(code *)PTR_free_001585ac)(*param_1);\n      *param_1 = 0;\n    }" if (parenthesized_expression "((*(int *)PTR_force_fignore_00157610 != 0) && (iVar7 = (*param_2)(*param_1), iVar7 == 0))" ( (binary_expression "(*(int *)PTR_force_fignore_00157610 != 0) && (iVar7 = (*param_2)(*param_1), iVar7 == 0)" (parenthesized_expression "(*(int *)PTR_force_fignore_00157610 != 0)" ( (binary_expression "*(int *)PTR_force_fignore_00157610 != 0" (pointer_expression "*(int *)PTR_force_fignore_00157610" * (cast_expression "(int *)PTR_force_fignore_00157610" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) && (parenthesized_expression "(iVar7 = (*param_2)(*param_1), iVar7 == 0)" ( (comma_expression "iVar7 = (*param_2)(*param_1), iVar7 == 0" (assignment_expression "iVar7 = (*param_2)(*param_1)" identifier = (call_expression "(*param_2)(*param_1)" (parenthesized_expression "(*param_2)" ( (pointer_expression "*param_2" * identifier) )) (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) )))) , (binary_expression "iVar7 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      (*(code *)PTR_free_001585ac)(*param_1);\n      *param_1 = 0;\n    }" { (expression_statement "(*(code *)PTR_free_001585ac)(*param_1);" (call_expression "(*(code *)PTR_free_001585ac)(*param_1)" (parenthesized_expression "(*(code *)PTR_free_001585ac)" ( (pointer_expression "*(code *)PTR_free_001585ac" * (cast_expression "(code *)PTR_free_001585ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))) ;) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) })) }) (else_clause "else {\n    piVar6 = param_1 + 1;\n    piVar5 = param_1 + 2;\n    iVar7 = 1;\n    do {\n      iVar3 = iVar7;\n      iVar4 = *piVar5;\n      piVar5 = piVar5 + 1;\n      iVar7 = iVar3 + 1;\n    } while (iVar4 != 0);\n    puVar2 = (undefined4 *)(*(code *)PTR_strvec_create_00156b00)(iVar3 + 2);\n    if (*(int *)PTR_force_fignore_00157610 == 0) {\n      unaff_s4 = (*(code *)PTR_strvec_create_00156b00)(iVar3);\n    }\n    *puVar2 = *param_1;\n    puVar1 = PTR_force_fignore_00157610;\n    iVar7 = 0;\n    if (param_1[1] == 0) {\n      puVar2[1] = 0;\n    }\n    else {\n      iVar4 = 1;\n      do {\n        iVar3 = (*param_2)();\n        if (iVar3 == 0) {\n          if (*(int *)puVar1 == 0) {\n            *(int *)(unaff_s4 + iVar7 * 4) = *piVar6;\n            iVar7 = iVar7 + 1;\n          }\n          else {\n            (*(code *)PTR_free_001585ac)(*piVar6);\n          }\n        }\n        else {\n          puVar2[iVar4] = *piVar6;\n          iVar4 = iVar4 + 1;\n        }\n        piVar6 = piVar6 + 1;\n      } while (*piVar6 != 0);\n      puVar2[iVar4] = 0;\n      if (iVar4 != 1) {\n        if (*(int *)PTR_force_fignore_00157610 == 0) {\n          if (iVar7 != 0) {\n            iVar7 = unaff_s4 + iVar7 * 4;\n            do {\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            } while (unaff_s4 != iVar7);\n          }\n          (*(code *)PTR_free_001585ac)(unaff_s4);\n        }\n        if (iVar4 != 2) {\n          iVar4 = puVar2[1];\n          iVar7 = 4;\n          if (iVar4 != 0) {\n            piVar5 = param_1 + 1;\n            do {\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            } while (iVar4 != 0);\n          }\n          *(undefined4 *)((int)param_1 + iVar7) = 0;\n          (*(code *)PTR_free_001585ac)(puVar2);\n          return;\n        }\n        (*(code *)PTR_free_001585ac)(*param_1);\n        *param_1 = puVar2[1];\n        param_1[1] = 0;\n        (*(code *)PTR_free_001585ac)(puVar2);\n        return;\n      }\n    }\n    if (*(int *)PTR_force_fignore_00157610 == 0) {\n      (*(code *)PTR_free_001585ac)(unaff_s4);\n    }\n    else {\n      (*(code *)PTR_free_001585ac)(*param_1);\n      *param_1 = 0;\n    }\n    (*(code *)PTR_free_001585ac)(puVar2);\n  }" else (compound_statement "{\n    piVar6 = param_1 + 1;\n    piVar5 = param_1 + 2;\n    iVar7 = 1;\n    do {\n      iVar3 = iVar7;\n      iVar4 = *piVar5;\n      piVar5 = piVar5 + 1;\n      iVar7 = iVar3 + 1;\n    } while (iVar4 != 0);\n    puVar2 = (undefined4 *)(*(code *)PTR_strvec_create_00156b00)(iVar3 + 2);\n    if (*(int *)PTR_force_fignore_00157610 == 0) {\n      unaff_s4 = (*(code *)PTR_strvec_create_00156b00)(iVar3);\n    }\n    *puVar2 = *param_1;\n    puVar1 = PTR_force_fignore_00157610;\n    iVar7 = 0;\n    if (param_1[1] == 0) {\n      puVar2[1] = 0;\n    }\n    else {\n      iVar4 = 1;\n      do {\n        iVar3 = (*param_2)();\n        if (iVar3 == 0) {\n          if (*(int *)puVar1 == 0) {\n            *(int *)(unaff_s4 + iVar7 * 4) = *piVar6;\n            iVar7 = iVar7 + 1;\n          }\n          else {\n            (*(code *)PTR_free_001585ac)(*piVar6);\n          }\n        }\n        else {\n          puVar2[iVar4] = *piVar6;\n          iVar4 = iVar4 + 1;\n        }\n        piVar6 = piVar6 + 1;\n      } while (*piVar6 != 0);\n      puVar2[iVar4] = 0;\n      if (iVar4 != 1) {\n        if (*(int *)PTR_force_fignore_00157610 == 0) {\n          if (iVar7 != 0) {\n            iVar7 = unaff_s4 + iVar7 * 4;\n            do {\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            } while (unaff_s4 != iVar7);\n          }\n          (*(code *)PTR_free_001585ac)(unaff_s4);\n        }\n        if (iVar4 != 2) {\n          iVar4 = puVar2[1];\n          iVar7 = 4;\n          if (iVar4 != 0) {\n            piVar5 = param_1 + 1;\n            do {\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            } while (iVar4 != 0);\n          }\n          *(undefined4 *)((int)param_1 + iVar7) = 0;\n          (*(code *)PTR_free_001585ac)(puVar2);\n          return;\n        }\n        (*(code *)PTR_free_001585ac)(*param_1);\n        *param_1 = puVar2[1];\n        param_1[1] = 0;\n        (*(code *)PTR_free_001585ac)(puVar2);\n        return;\n      }\n    }\n    if (*(int *)PTR_force_fignore_00157610 == 0) {\n      (*(code *)PTR_free_001585ac)(unaff_s4);\n    }\n    else {\n      (*(code *)PTR_free_001585ac)(*param_1);\n      *param_1 = 0;\n    }\n    (*(code *)PTR_free_001585ac)(puVar2);\n  }" { (expression_statement "piVar6 = param_1 + 1;" (assignment_expression "piVar6 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "piVar5 = param_1 + 2;" (assignment_expression "piVar5 = param_1 + 2" identifier = (binary_expression "param_1 + 2" identifier + number_literal)) ;) (expression_statement "iVar7 = 1;" (assignment_expression "iVar7 = 1" identifier = number_literal) ;) (do_statement "do {\n      iVar3 = iVar7;\n      iVar4 = *piVar5;\n      piVar5 = piVar5 + 1;\n      iVar7 = iVar3 + 1;\n    } while (iVar4 != 0);" do (compound_statement "{\n      iVar3 = iVar7;\n      iVar4 = *piVar5;\n      piVar5 = piVar5 + 1;\n      iVar7 = iVar3 + 1;\n    }" { (expression_statement "iVar3 = iVar7;" (assignment_expression "iVar3 = iVar7" identifier = identifier) ;) (expression_statement "iVar4 = *piVar5;" (assignment_expression "iVar4 = *piVar5" identifier = (pointer_expression "*piVar5" * identifier)) ;) (expression_statement "piVar5 = piVar5 + 1;" (assignment_expression "piVar5 = piVar5 + 1" identifier = (binary_expression "piVar5 + 1" identifier + number_literal)) ;) (expression_statement "iVar7 = iVar3 + 1;" (assignment_expression "iVar7 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "puVar2 = (undefined4 *)(*(code *)PTR_strvec_create_00156b00)(iVar3 + 2);" (assignment_expression "puVar2 = (undefined4 *)(*(code *)PTR_strvec_create_00156b00)(iVar3 + 2)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_strvec_create_00156b00)(iVar3 + 2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strvec_create_00156b00)(iVar3 + 2)" (parenthesized_expression "(*(code *)PTR_strvec_create_00156b00)" ( (pointer_expression "*(code *)PTR_strvec_create_00156b00" * (cast_expression "(code *)PTR_strvec_create_00156b00" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3 + 2)" ( (binary_expression "iVar3 + 2" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)PTR_force_fignore_00157610 == 0) {\n      unaff_s4 = (*(code *)PTR_strvec_create_00156b00)(iVar3);\n    }" if (parenthesized_expression "(*(int *)PTR_force_fignore_00157610 == 0)" ( (binary_expression "*(int *)PTR_force_fignore_00157610 == 0" (pointer_expression "*(int *)PTR_force_fignore_00157610" * (cast_expression "(int *)PTR_force_fignore_00157610" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n      unaff_s4 = (*(code *)PTR_strvec_create_00156b00)(iVar3);\n    }" { (expression_statement "unaff_s4 = (*(code *)PTR_strvec_create_00156b00)(iVar3);" (assignment_expression "unaff_s4 = (*(code *)PTR_strvec_create_00156b00)(iVar3)" identifier = (call_expression "(*(code *)PTR_strvec_create_00156b00)(iVar3)" (parenthesized_expression "(*(code *)PTR_strvec_create_00156b00)" ( (pointer_expression "*(code *)PTR_strvec_create_00156b00" * (cast_expression "(code *)PTR_strvec_create_00156b00" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3)" ( identifier )))) ;) })) (expression_statement "*puVar2 = *param_1;" (assignment_expression "*puVar2 = *param_1" (pointer_expression "*puVar2" * identifier) = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "puVar1 = PTR_force_fignore_00157610;" (assignment_expression "puVar1 = PTR_force_fignore_00157610" identifier = identifier) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (if_statement "if (param_1[1] == 0) {\n      puVar2[1] = 0;\n    }\n    else {\n      iVar4 = 1;\n      do {\n        iVar3 = (*param_2)();\n        if (iVar3 == 0) {\n          if (*(int *)puVar1 == 0) {\n            *(int *)(unaff_s4 + iVar7 * 4) = *piVar6;\n            iVar7 = iVar7 + 1;\n          }\n          else {\n            (*(code *)PTR_free_001585ac)(*piVar6);\n          }\n        }\n        else {\n          puVar2[iVar4] = *piVar6;\n          iVar4 = iVar4 + 1;\n        }\n        piVar6 = piVar6 + 1;\n      } while (*piVar6 != 0);\n      puVar2[iVar4] = 0;\n      if (iVar4 != 1) {\n        if (*(int *)PTR_force_fignore_00157610 == 0) {\n          if (iVar7 != 0) {\n            iVar7 = unaff_s4 + iVar7 * 4;\n            do {\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            } while (unaff_s4 != iVar7);\n          }\n          (*(code *)PTR_free_001585ac)(unaff_s4);\n        }\n        if (iVar4 != 2) {\n          iVar4 = puVar2[1];\n          iVar7 = 4;\n          if (iVar4 != 0) {\n            piVar5 = param_1 + 1;\n            do {\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            } while (iVar4 != 0);\n          }\n          *(undefined4 *)((int)param_1 + iVar7) = 0;\n          (*(code *)PTR_free_001585ac)(puVar2);\n          return;\n        }\n        (*(code *)PTR_free_001585ac)(*param_1);\n        *param_1 = puVar2[1];\n        param_1[1] = 0;\n        (*(code *)PTR_free_001585ac)(puVar2);\n        return;\n      }\n    }" if (parenthesized_expression "(param_1[1] == 0)" ( (binary_expression "param_1[1] == 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n      puVar2[1] = 0;\n    }" { (expression_statement "puVar2[1] = 0;" (assignment_expression "puVar2[1] = 0" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else {\n      iVar4 = 1;\n      do {\n        iVar3 = (*param_2)();\n        if (iVar3 == 0) {\n          if (*(int *)puVar1 == 0) {\n            *(int *)(unaff_s4 + iVar7 * 4) = *piVar6;\n            iVar7 = iVar7 + 1;\n          }\n          else {\n            (*(code *)PTR_free_001585ac)(*piVar6);\n          }\n        }\n        else {\n          puVar2[iVar4] = *piVar6;\n          iVar4 = iVar4 + 1;\n        }\n        piVar6 = piVar6 + 1;\n      } while (*piVar6 != 0);\n      puVar2[iVar4] = 0;\n      if (iVar4 != 1) {\n        if (*(int *)PTR_force_fignore_00157610 == 0) {\n          if (iVar7 != 0) {\n            iVar7 = unaff_s4 + iVar7 * 4;\n            do {\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            } while (unaff_s4 != iVar7);\n          }\n          (*(code *)PTR_free_001585ac)(unaff_s4);\n        }\n        if (iVar4 != 2) {\n          iVar4 = puVar2[1];\n          iVar7 = 4;\n          if (iVar4 != 0) {\n            piVar5 = param_1 + 1;\n            do {\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            } while (iVar4 != 0);\n          }\n          *(undefined4 *)((int)param_1 + iVar7) = 0;\n          (*(code *)PTR_free_001585ac)(puVar2);\n          return;\n        }\n        (*(code *)PTR_free_001585ac)(*param_1);\n        *param_1 = puVar2[1];\n        param_1[1] = 0;\n        (*(code *)PTR_free_001585ac)(puVar2);\n        return;\n      }\n    }" else (compound_statement "{\n      iVar4 = 1;\n      do {\n        iVar3 = (*param_2)();\n        if (iVar3 == 0) {\n          if (*(int *)puVar1 == 0) {\n            *(int *)(unaff_s4 + iVar7 * 4) = *piVar6;\n            iVar7 = iVar7 + 1;\n          }\n          else {\n            (*(code *)PTR_free_001585ac)(*piVar6);\n          }\n        }\n        else {\n          puVar2[iVar4] = *piVar6;\n          iVar4 = iVar4 + 1;\n        }\n        piVar6 = piVar6 + 1;\n      } while (*piVar6 != 0);\n      puVar2[iVar4] = 0;\n      if (iVar4 != 1) {\n        if (*(int *)PTR_force_fignore_00157610 == 0) {\n          if (iVar7 != 0) {\n            iVar7 = unaff_s4 + iVar7 * 4;\n            do {\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            } while (unaff_s4 != iVar7);\n          }\n          (*(code *)PTR_free_001585ac)(unaff_s4);\n        }\n        if (iVar4 != 2) {\n          iVar4 = puVar2[1];\n          iVar7 = 4;\n          if (iVar4 != 0) {\n            piVar5 = param_1 + 1;\n            do {\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            } while (iVar4 != 0);\n          }\n          *(undefined4 *)((int)param_1 + iVar7) = 0;\n          (*(code *)PTR_free_001585ac)(puVar2);\n          return;\n        }\n        (*(code *)PTR_free_001585ac)(*param_1);\n        *param_1 = puVar2[1];\n        param_1[1] = 0;\n        (*(code *)PTR_free_001585ac)(puVar2);\n        return;\n      }\n    }" { (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;) (do_statement "do {\n        iVar3 = (*param_2)();\n        if (iVar3 == 0) {\n          if (*(int *)puVar1 == 0) {\n            *(int *)(unaff_s4 + iVar7 * 4) = *piVar6;\n            iVar7 = iVar7 + 1;\n          }\n          else {\n            (*(code *)PTR_free_001585ac)(*piVar6);\n          }\n        }\n        else {\n          puVar2[iVar4] = *piVar6;\n          iVar4 = iVar4 + 1;\n        }\n        piVar6 = piVar6 + 1;\n      } while (*piVar6 != 0);" do (compound_statement "{\n        iVar3 = (*param_2)();\n        if (iVar3 == 0) {\n          if (*(int *)puVar1 == 0) {\n            *(int *)(unaff_s4 + iVar7 * 4) = *piVar6;\n            iVar7 = iVar7 + 1;\n          }\n          else {\n            (*(code *)PTR_free_001585ac)(*piVar6);\n          }\n        }\n        else {\n          puVar2[iVar4] = *piVar6;\n          iVar4 = iVar4 + 1;\n        }\n        piVar6 = piVar6 + 1;\n      }" { (expression_statement "iVar3 = (*param_2)();" (assignment_expression "iVar3 = (*param_2)()" identifier = (call_expression "(*param_2)()" (parenthesized_expression "(*param_2)" ( (pointer_expression "*param_2" * identifier) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar3 == 0) {\n          if (*(int *)puVar1 == 0) {\n            *(int *)(unaff_s4 + iVar7 * 4) = *piVar6;\n            iVar7 = iVar7 + 1;\n          }\n          else {\n            (*(code *)PTR_free_001585ac)(*piVar6);\n          }\n        }\n        else {\n          puVar2[iVar4] = *piVar6;\n          iVar4 = iVar4 + 1;\n        }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n          if (*(int *)puVar1 == 0) {\n            *(int *)(unaff_s4 + iVar7 * 4) = *piVar6;\n            iVar7 = iVar7 + 1;\n          }\n          else {\n            (*(code *)PTR_free_001585ac)(*piVar6);\n          }\n        }" { (if_statement "if (*(int *)puVar1 == 0) {\n            *(int *)(unaff_s4 + iVar7 * 4) = *piVar6;\n            iVar7 = iVar7 + 1;\n          }\n          else {\n            (*(code *)PTR_free_001585ac)(*piVar6);\n          }" if (parenthesized_expression "(*(int *)puVar1 == 0)" ( (binary_expression "*(int *)puVar1 == 0" (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n            *(int *)(unaff_s4 + iVar7 * 4) = *piVar6;\n            iVar7 = iVar7 + 1;\n          }" { (expression_statement "*(int *)(unaff_s4 + iVar7 * 4) = *piVar6;" (assignment_expression "*(int *)(unaff_s4 + iVar7 * 4) = *piVar6" (pointer_expression "*(int *)(unaff_s4 + iVar7 * 4)" * (cast_expression "(int *)(unaff_s4 + iVar7 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s4 + iVar7 * 4)" ( (binary_expression "unaff_s4 + iVar7 * 4" identifier + (binary_expression "iVar7 * 4" identifier * number_literal)) )))) = (pointer_expression "*piVar6" * identifier)) ;) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n            (*(code *)PTR_free_001585ac)(*piVar6);\n          }" else (compound_statement "{\n            (*(code *)PTR_free_001585ac)(*piVar6);\n          }" { (expression_statement "(*(code *)PTR_free_001585ac)(*piVar6);" (call_expression "(*(code *)PTR_free_001585ac)(*piVar6)" (parenthesized_expression "(*(code *)PTR_free_001585ac)" ( (pointer_expression "*(code *)PTR_free_001585ac" * (cast_expression "(code *)PTR_free_001585ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*piVar6)" ( (pointer_expression "*piVar6" * identifier) ))) ;) }))) }) (else_clause "else {\n          puVar2[iVar4] = *piVar6;\n          iVar4 = iVar4 + 1;\n        }" else (compound_statement "{\n          puVar2[iVar4] = *piVar6;\n          iVar4 = iVar4 + 1;\n        }" { (expression_statement "puVar2[iVar4] = *piVar6;" (assignment_expression "puVar2[iVar4] = *piVar6" (subscript_expression "puVar2[iVar4]" identifier [ identifier ]) = (pointer_expression "*piVar6" * identifier)) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) }))) (expression_statement "piVar6 = piVar6 + 1;" (assignment_expression "piVar6 = piVar6 + 1" identifier = (binary_expression "piVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*piVar6 != 0)" ( (binary_expression "*piVar6 != 0" (pointer_expression "*piVar6" * identifier) != number_literal) )) ;) (expression_statement "puVar2[iVar4] = 0;" (assignment_expression "puVar2[iVar4] = 0" (subscript_expression "puVar2[iVar4]" identifier [ identifier ]) = number_literal) ;) (if_statement "if (iVar4 != 1) {\n        if (*(int *)PTR_force_fignore_00157610 == 0) {\n          if (iVar7 != 0) {\n            iVar7 = unaff_s4 + iVar7 * 4;\n            do {\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            } while (unaff_s4 != iVar7);\n          }\n          (*(code *)PTR_free_001585ac)(unaff_s4);\n        }\n        if (iVar4 != 2) {\n          iVar4 = puVar2[1];\n          iVar7 = 4;\n          if (iVar4 != 0) {\n            piVar5 = param_1 + 1;\n            do {\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            } while (iVar4 != 0);\n          }\n          *(undefined4 *)((int)param_1 + iVar7) = 0;\n          (*(code *)PTR_free_001585ac)(puVar2);\n          return;\n        }\n        (*(code *)PTR_free_001585ac)(*param_1);\n        *param_1 = puVar2[1];\n        param_1[1] = 0;\n        (*(code *)PTR_free_001585ac)(puVar2);\n        return;\n      }" if (parenthesized_expression "(iVar4 != 1)" ( (binary_expression "iVar4 != 1" identifier != number_literal) )) (compound_statement "{\n        if (*(int *)PTR_force_fignore_00157610 == 0) {\n          if (iVar7 != 0) {\n            iVar7 = unaff_s4 + iVar7 * 4;\n            do {\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            } while (unaff_s4 != iVar7);\n          }\n          (*(code *)PTR_free_001585ac)(unaff_s4);\n        }\n        if (iVar4 != 2) {\n          iVar4 = puVar2[1];\n          iVar7 = 4;\n          if (iVar4 != 0) {\n            piVar5 = param_1 + 1;\n            do {\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            } while (iVar4 != 0);\n          }\n          *(undefined4 *)((int)param_1 + iVar7) = 0;\n          (*(code *)PTR_free_001585ac)(puVar2);\n          return;\n        }\n        (*(code *)PTR_free_001585ac)(*param_1);\n        *param_1 = puVar2[1];\n        param_1[1] = 0;\n        (*(code *)PTR_free_001585ac)(puVar2);\n        return;\n      }" { (if_statement "if (*(int *)PTR_force_fignore_00157610 == 0) {\n          if (iVar7 != 0) {\n            iVar7 = unaff_s4 + iVar7 * 4;\n            do {\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            } while (unaff_s4 != iVar7);\n          }\n          (*(code *)PTR_free_001585ac)(unaff_s4);\n        }" if (parenthesized_expression "(*(int *)PTR_force_fignore_00157610 == 0)" ( (binary_expression "*(int *)PTR_force_fignore_00157610 == 0" (pointer_expression "*(int *)PTR_force_fignore_00157610" * (cast_expression "(int *)PTR_force_fignore_00157610" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n          if (iVar7 != 0) {\n            iVar7 = unaff_s4 + iVar7 * 4;\n            do {\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            } while (unaff_s4 != iVar7);\n          }\n          (*(code *)PTR_free_001585ac)(unaff_s4);\n        }" { (if_statement "if (iVar7 != 0) {\n            iVar7 = unaff_s4 + iVar7 * 4;\n            do {\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            } while (unaff_s4 != iVar7);\n          }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\n            iVar7 = unaff_s4 + iVar7 * 4;\n            do {\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            } while (unaff_s4 != iVar7);\n          }" { (expression_statement "iVar7 = unaff_s4 + iVar7 * 4;" (assignment_expression "iVar7 = unaff_s4 + iVar7 * 4" identifier = (binary_expression "unaff_s4 + iVar7 * 4" identifier + (binary_expression "iVar7 * 4" identifier * number_literal))) ;) (do_statement "do {\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            } while (unaff_s4 != iVar7);" do (compound_statement "{\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            }" { (expression_statement "(*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));" (call_expression "(*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4))" (parenthesized_expression "(*(code *)PTR_free_001585ac)" ( (pointer_expression "*(code *)PTR_free_001585ac" * (cast_expression "(code *)PTR_free_001585ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(iVar7 + -4))" ( (pointer_expression "*(undefined4 *)(iVar7 + -4)" * (cast_expression "(undefined4 *)(iVar7 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + -4)" ( (binary_expression "iVar7 + -4" identifier + number_literal) )))) ))) ;) (expression_statement "iVar7 = iVar7 + -4;" (assignment_expression "iVar7 = iVar7 + -4" identifier = (binary_expression "iVar7 + -4" identifier + number_literal)) ;) }) while (parenthesized_expression "(unaff_s4 != iVar7)" ( (binary_expression "unaff_s4 != iVar7" identifier != identifier) )) ;) })) (expression_statement "(*(code *)PTR_free_001585ac)(unaff_s4);" (call_expression "(*(code *)PTR_free_001585ac)(unaff_s4)" (parenthesized_expression "(*(code *)PTR_free_001585ac)" ( (pointer_expression "*(code *)PTR_free_001585ac" * (cast_expression "(code *)PTR_free_001585ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s4)" ( identifier ))) ;) })) (if_statement "if (iVar4 != 2) {\n          iVar4 = puVar2[1];\n          iVar7 = 4;\n          if (iVar4 != 0) {\n            piVar5 = param_1 + 1;\n            do {\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            } while (iVar4 != 0);\n          }\n          *(undefined4 *)((int)param_1 + iVar7) = 0;\n          (*(code *)PTR_free_001585ac)(puVar2);\n          return;\n        }" if (parenthesized_expression "(iVar4 != 2)" ( (binary_expression "iVar4 != 2" identifier != number_literal) )) (compound_statement "{\n          iVar4 = puVar2[1];\n          iVar7 = 4;\n          if (iVar4 != 0) {\n            piVar5 = param_1 + 1;\n            do {\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            } while (iVar4 != 0);\n          }\n          *(undefined4 *)((int)param_1 + iVar7) = 0;\n          (*(code *)PTR_free_001585ac)(puVar2);\n          return;\n        }" { (expression_statement "iVar4 = puVar2[1];" (assignment_expression "iVar4 = puVar2[1]" identifier = (subscript_expression "puVar2[1]" identifier [ number_literal ])) ;) (expression_statement "iVar7 = 4;" (assignment_expression "iVar7 = 4" identifier = number_literal) ;) (if_statement "if (iVar4 != 0) {\n            piVar5 = param_1 + 1;\n            do {\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            } while (iVar4 != 0);\n          }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n            piVar5 = param_1 + 1;\n            do {\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            } while (iVar4 != 0);\n          }" { (expression_statement "piVar5 = param_1 + 1;" (assignment_expression "piVar5 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (do_statement "do {\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            } while (iVar4 != 0);" do (compound_statement "{\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            }" { (expression_statement "*piVar5 = iVar4;" (assignment_expression "*piVar5 = iVar4" (pointer_expression "*piVar5" * identifier) = identifier) ;) (expression_statement "iVar7 = iVar7 + 4;" (assignment_expression "iVar7 = iVar7 + 4" identifier = (binary_expression "iVar7 + 4" identifier + number_literal)) ;) (expression_statement "iVar4 = *(int *)((int)puVar2 + iVar7);" (assignment_expression "iVar4 = *(int *)((int)puVar2 + iVar7)" identifier = (pointer_expression "*(int *)((int)puVar2 + iVar7)" * (cast_expression "(int *)((int)puVar2 + iVar7)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar2 + iVar7)" ( (binary_expression "(int)puVar2 + iVar7" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) ))))) ;) (expression_statement "piVar5 = (int *)((int)param_1 + iVar7);" (assignment_expression "piVar5 = (int *)((int)param_1 + iVar7)" identifier = (cast_expression "(int *)((int)param_1 + iVar7)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + iVar7)" ( (binary_expression "(int)param_1 + iVar7" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) })) (expression_statement "*(undefined4 *)((int)param_1 + iVar7) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + iVar7) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + iVar7)" * (cast_expression "(undefined4 *)((int)param_1 + iVar7)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + iVar7)" ( (binary_expression "(int)param_1 + iVar7" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = number_literal) ;) (expression_statement "(*(code *)PTR_free_001585ac)(puVar2);" (call_expression "(*(code *)PTR_free_001585ac)(puVar2)" (parenthesized_expression "(*(code *)PTR_free_001585ac)" ( (pointer_expression "*(code *)PTR_free_001585ac" * (cast_expression "(code *)PTR_free_001585ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar2)" ( identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR_free_001585ac)(*param_1);" (call_expression "(*(code *)PTR_free_001585ac)(*param_1)" (parenthesized_expression "(*(code *)PTR_free_001585ac)" ( (pointer_expression "*(code *)PTR_free_001585ac" * (cast_expression "(code *)PTR_free_001585ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))) ;) (expression_statement "*param_1 = puVar2[1];" (assignment_expression "*param_1 = puVar2[1]" (pointer_expression "*param_1" * identifier) = (subscript_expression "puVar2[1]" identifier [ number_literal ])) ;) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "(*(code *)PTR_free_001585ac)(puVar2);" (call_expression "(*(code *)PTR_free_001585ac)(puVar2)" (parenthesized_expression "(*(code *)PTR_free_001585ac)" ( (pointer_expression "*(code *)PTR_free_001585ac" * (cast_expression "(code *)PTR_free_001585ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar2)" ( identifier ))) ;) (return_statement "return;" return ;) })) }))) (if_statement "if (*(int *)PTR_force_fignore_00157610 == 0) {\n      (*(code *)PTR_free_001585ac)(unaff_s4);\n    }\n    else {\n      (*(code *)PTR_free_001585ac)(*param_1);\n      *param_1 = 0;\n    }" if (parenthesized_expression "(*(int *)PTR_force_fignore_00157610 == 0)" ( (binary_expression "*(int *)PTR_force_fignore_00157610 == 0" (pointer_expression "*(int *)PTR_force_fignore_00157610" * (cast_expression "(int *)PTR_force_fignore_00157610" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n      (*(code *)PTR_free_001585ac)(unaff_s4);\n    }" { (expression_statement "(*(code *)PTR_free_001585ac)(unaff_s4);" (call_expression "(*(code *)PTR_free_001585ac)(unaff_s4)" (parenthesized_expression "(*(code *)PTR_free_001585ac)" ( (pointer_expression "*(code *)PTR_free_001585ac" * (cast_expression "(code *)PTR_free_001585ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s4)" ( identifier ))) ;) }) (else_clause "else {\n      (*(code *)PTR_free_001585ac)(*param_1);\n      *param_1 = 0;\n    }" else (compound_statement "{\n      (*(code *)PTR_free_001585ac)(*param_1);\n      *param_1 = 0;\n    }" { (expression_statement "(*(code *)PTR_free_001585ac)(*param_1);" (call_expression "(*(code *)PTR_free_001585ac)(*param_1)" (parenthesized_expression "(*(code *)PTR_free_001585ac)" ( (pointer_expression "*(code *)PTR_free_001585ac" * (cast_expression "(code *)PTR_free_001585ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))) ;) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) }))) (expression_statement "(*(code *)PTR_free_001585ac)(puVar2);" (call_expression "(*(code *)PTR_free_001585ac)(puVar2)" (parenthesized_expression "(*(code *)PTR_free_001585ac)" ( (pointer_expression "*(code *)PTR_free_001585ac" * (cast_expression "(code *)PTR_free_001585ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar2)" ( identifier ))) ;) }))) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (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 ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression * IDENT) )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * IDENT) ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_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) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * IDENT) ))) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = (pointer_expression * 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 (subscript_expression IDENT [ IDENT ]) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * LIT))) ;) (do_statement do (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + 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 ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * IDENT) ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (return_statement return ;) })) }))) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * 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 ;) })))
(function_definition "void FUN_000a39c0(undefined4 *param_1,code *param_2)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  int iVar4;\n  int *piVar5;\n  int *piVar6;\n  int iVar7;\n  int unaff_s4;\n  \n  if (param_1[1] == 0) {\n    if ((*(int *)PTR_force_fignore_00157610 != 0) && (iVar7 = (*param_2)(*param_1), iVar7 == 0)) {\n      (*(code *)PTR_free_001585ac)(*param_1);\n      *param_1 = 0;\n    }\n  }\n  else {\n    piVar6 = param_1 + 1;\n    piVar5 = param_1 + 2;\n    iVar7 = 1;\n    do {\n      iVar3 = iVar7;\n      iVar4 = *piVar5;\n      piVar5 = piVar5 + 1;\n      iVar7 = iVar3 + 1;\n    } while (iVar4 != 0);\n    puVar2 = (undefined4 *)(*(code *)PTR_strvec_create_00156b00)(iVar3 + 2);\n    if (*(int *)PTR_force_fignore_00157610 == 0) {\n      unaff_s4 = (*(code *)PTR_strvec_create_00156b00)(iVar3);\n    }\n    *puVar2 = *param_1;\n    puVar1 = PTR_force_fignore_00157610;\n    iVar7 = 0;\n    if (param_1[1] == 0) {\n      puVar2[1] = 0;\n    }\n    else {\n      iVar4 = 1;\n      do {\n        iVar3 = (*param_2)();\n        if (iVar3 == 0) {\n          if (*(int *)puVar1 == 0) {\n            *(int *)(unaff_s4 + iVar7 * 4) = *piVar6;\n            iVar7 = iVar7 + 1;\n          }\n          else {\n            (*(code *)PTR_free_001585ac)(*piVar6);\n          }\n        }\n        else {\n          puVar2[iVar4] = *piVar6;\n          iVar4 = iVar4 + 1;\n        }\n        piVar6 = piVar6 + 1;\n      } while (*piVar6 != 0);\n      puVar2[iVar4] = 0;\n      if (iVar4 != 1) {\n        if (*(int *)PTR_force_fignore_00157610 == 0) {\n          if (iVar7 != 0) {\n            iVar7 = unaff_s4 + iVar7 * 4;\n            do {\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            } while (unaff_s4 != iVar7);\n          }\n          (*(code *)PTR_free_001585ac)(unaff_s4);\n        }\n        if (iVar4 != 2) {\n          iVar4 = puVar2[1];\n          iVar7 = 4;\n          if (iVar4 != 0) {\n            piVar5 = param_1 + 1;\n            do {\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            } while (iVar4 != 0);\n          }\n          *(undefined4 *)((int)param_1 + iVar7) = 0;\n          (*(code *)PTR_free_001585ac)(puVar2);\n          return;\n        }\n        (*(code *)PTR_free_001585ac)(*param_1);\n        *param_1 = puVar2[1];\n        param_1[1] = 0;\n        (*(code *)PTR_free_001585ac)(puVar2);\n        return;\n      }\n    }\n    if (*(int *)PTR_force_fignore_00157610 == 0) {\n      (*(code *)PTR_free_001585ac)(unaff_s4);\n    }\n    else {\n      (*(code *)PTR_free_001585ac)(*param_1);\n      *param_1 = 0;\n    }\n    (*(code *)PTR_free_001585ac)(puVar2);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000a39c0(undefined4 *param_1,code *param_2)" (identifier "FUN_000a39c0") (parameter_list "(undefined4 *param_1,code *param_2)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "code *param_2" (type_identifier "code") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  int iVar4;\n  int *piVar5;\n  int *piVar6;\n  int iVar7;\n  int unaff_s4;\n  \n  if (param_1[1] == 0) {\n    if ((*(int *)PTR_force_fignore_00157610 != 0) && (iVar7 = (*param_2)(*param_1), iVar7 == 0)) {\n      (*(code *)PTR_free_001585ac)(*param_1);\n      *param_1 = 0;\n    }\n  }\n  else {\n    piVar6 = param_1 + 1;\n    piVar5 = param_1 + 2;\n    iVar7 = 1;\n    do {\n      iVar3 = iVar7;\n      iVar4 = *piVar5;\n      piVar5 = piVar5 + 1;\n      iVar7 = iVar3 + 1;\n    } while (iVar4 != 0);\n    puVar2 = (undefined4 *)(*(code *)PTR_strvec_create_00156b00)(iVar3 + 2);\n    if (*(int *)PTR_force_fignore_00157610 == 0) {\n      unaff_s4 = (*(code *)PTR_strvec_create_00156b00)(iVar3);\n    }\n    *puVar2 = *param_1;\n    puVar1 = PTR_force_fignore_00157610;\n    iVar7 = 0;\n    if (param_1[1] == 0) {\n      puVar2[1] = 0;\n    }\n    else {\n      iVar4 = 1;\n      do {\n        iVar3 = (*param_2)();\n        if (iVar3 == 0) {\n          if (*(int *)puVar1 == 0) {\n            *(int *)(unaff_s4 + iVar7 * 4) = *piVar6;\n            iVar7 = iVar7 + 1;\n          }\n          else {\n            (*(code *)PTR_free_001585ac)(*piVar6);\n          }\n        }\n        else {\n          puVar2[iVar4] = *piVar6;\n          iVar4 = iVar4 + 1;\n        }\n        piVar6 = piVar6 + 1;\n      } while (*piVar6 != 0);\n      puVar2[iVar4] = 0;\n      if (iVar4 != 1) {\n        if (*(int *)PTR_force_fignore_00157610 == 0) {\n          if (iVar7 != 0) {\n            iVar7 = unaff_s4 + iVar7 * 4;\n            do {\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            } while (unaff_s4 != iVar7);\n          }\n          (*(code *)PTR_free_001585ac)(unaff_s4);\n        }\n        if (iVar4 != 2) {\n          iVar4 = puVar2[1];\n          iVar7 = 4;\n          if (iVar4 != 0) {\n            piVar5 = param_1 + 1;\n            do {\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            } while (iVar4 != 0);\n          }\n          *(undefined4 *)((int)param_1 + iVar7) = 0;\n          (*(code *)PTR_free_001585ac)(puVar2);\n          return;\n        }\n        (*(code *)PTR_free_001585ac)(*param_1);\n        *param_1 = puVar2[1];\n        param_1[1] = 0;\n        (*(code *)PTR_free_001585ac)(puVar2);\n        return;\n      }\n    }\n    if (*(int *)PTR_force_fignore_00157610 == 0) {\n      (*(code *)PTR_free_001585ac)(unaff_s4);\n    }\n    else {\n      (*(code *)PTR_free_001585ac)(*param_1);\n      *param_1 = 0;\n    }\n    (*(code *)PTR_free_001585ac)(puVar2);\n  }\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int *piVar5;" (primitive_type "int") (pointer_declarator "*piVar5" (* "*") (identifier "piVar5")) (; ";")) (declaration "int *piVar6;" (primitive_type "int") (pointer_declarator "*piVar6" (* "*") (identifier "piVar6")) (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "int unaff_s4;" (primitive_type "int") (identifier "unaff_s4") (; ";")) (if_statement "if (param_1[1] == 0) {\n    if ((*(int *)PTR_force_fignore_00157610 != 0) && (iVar7 = (*param_2)(*param_1), iVar7 == 0)) {\n      (*(code *)PTR_free_001585ac)(*param_1);\n      *param_1 = 0;\n    }\n  }\n  else {\n    piVar6 = param_1 + 1;\n    piVar5 = param_1 + 2;\n    iVar7 = 1;\n    do {\n      iVar3 = iVar7;\n      iVar4 = *piVar5;\n      piVar5 = piVar5 + 1;\n      iVar7 = iVar3 + 1;\n    } while (iVar4 != 0);\n    puVar2 = (undefined4 *)(*(code *)PTR_strvec_create_00156b00)(iVar3 + 2);\n    if (*(int *)PTR_force_fignore_00157610 == 0) {\n      unaff_s4 = (*(code *)PTR_strvec_create_00156b00)(iVar3);\n    }\n    *puVar2 = *param_1;\n    puVar1 = PTR_force_fignore_00157610;\n    iVar7 = 0;\n    if (param_1[1] == 0) {\n      puVar2[1] = 0;\n    }\n    else {\n      iVar4 = 1;\n      do {\n        iVar3 = (*param_2)();\n        if (iVar3 == 0) {\n          if (*(int *)puVar1 == 0) {\n            *(int *)(unaff_s4 + iVar7 * 4) = *piVar6;\n            iVar7 = iVar7 + 1;\n          }\n          else {\n            (*(code *)PTR_free_001585ac)(*piVar6);\n          }\n        }\n        else {\n          puVar2[iVar4] = *piVar6;\n          iVar4 = iVar4 + 1;\n        }\n        piVar6 = piVar6 + 1;\n      } while (*piVar6 != 0);\n      puVar2[iVar4] = 0;\n      if (iVar4 != 1) {\n        if (*(int *)PTR_force_fignore_00157610 == 0) {\n          if (iVar7 != 0) {\n            iVar7 = unaff_s4 + iVar7 * 4;\n            do {\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            } while (unaff_s4 != iVar7);\n          }\n          (*(code *)PTR_free_001585ac)(unaff_s4);\n        }\n        if (iVar4 != 2) {\n          iVar4 = puVar2[1];\n          iVar7 = 4;\n          if (iVar4 != 0) {\n            piVar5 = param_1 + 1;\n            do {\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            } while (iVar4 != 0);\n          }\n          *(undefined4 *)((int)param_1 + iVar7) = 0;\n          (*(code *)PTR_free_001585ac)(puVar2);\n          return;\n        }\n        (*(code *)PTR_free_001585ac)(*param_1);\n        *param_1 = puVar2[1];\n        param_1[1] = 0;\n        (*(code *)PTR_free_001585ac)(puVar2);\n        return;\n      }\n    }\n    if (*(int *)PTR_force_fignore_00157610 == 0) {\n      (*(code *)PTR_free_001585ac)(unaff_s4);\n    }\n    else {\n      (*(code *)PTR_free_001585ac)(*param_1);\n      *param_1 = 0;\n    }\n    (*(code *)PTR_free_001585ac)(puVar2);\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") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if ((*(int *)PTR_force_fignore_00157610 != 0) && (iVar7 = (*param_2)(*param_1), iVar7 == 0)) {\n      (*(code *)PTR_free_001585ac)(*param_1);\n      *param_1 = 0;\n    }\n  }" ({ "{") (if_statement "if ((*(int *)PTR_force_fignore_00157610 != 0) && (iVar7 = (*param_2)(*param_1), iVar7 == 0)) {\n      (*(code *)PTR_free_001585ac)(*param_1);\n      *param_1 = 0;\n    }" (if "if") (parenthesized_expression "((*(int *)PTR_force_fignore_00157610 != 0) && (iVar7 = (*param_2)(*param_1), iVar7 == 0))" (( "(") (binary_expression "(*(int *)PTR_force_fignore_00157610 != 0) && (iVar7 = (*param_2)(*param_1), iVar7 == 0)" (parenthesized_expression "(*(int *)PTR_force_fignore_00157610 != 0)" (( "(") (binary_expression "*(int *)PTR_force_fignore_00157610 != 0" (pointer_expression "*(int *)PTR_force_fignore_00157610" (* "*") (cast_expression "(int *)PTR_force_fignore_00157610" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_force_fignore_00157610"))) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar7 = (*param_2)(*param_1), iVar7 == 0)" (( "(") (comma_expression "iVar7 = (*param_2)(*param_1), iVar7 == 0" (assignment_expression "iVar7 = (*param_2)(*param_1)" (identifier "iVar7") (= "=") (call_expression "(*param_2)(*param_1)" (parenthesized_expression "(*param_2)" (( "(") (pointer_expression "*param_2" (* "*") (identifier "param_2")) () ")")) (argument_list "(*param_1)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")")))) (, ",") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n      (*(code *)PTR_free_001585ac)(*param_1);\n      *param_1 = 0;\n    }" ({ "{") (expression_statement "(*(code *)PTR_free_001585ac)(*param_1);" (call_expression "(*(code *)PTR_free_001585ac)(*param_1)" (parenthesized_expression "(*(code *)PTR_free_001585ac)" (( "(") (pointer_expression "*(code *)PTR_free_001585ac" (* "*") (cast_expression "(code *)PTR_free_001585ac" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_001585ac"))) () ")")) (argument_list "(*param_1)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")"))) (; ";")) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "0")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    piVar6 = param_1 + 1;\n    piVar5 = param_1 + 2;\n    iVar7 = 1;\n    do {\n      iVar3 = iVar7;\n      iVar4 = *piVar5;\n      piVar5 = piVar5 + 1;\n      iVar7 = iVar3 + 1;\n    } while (iVar4 != 0);\n    puVar2 = (undefined4 *)(*(code *)PTR_strvec_create_00156b00)(iVar3 + 2);\n    if (*(int *)PTR_force_fignore_00157610 == 0) {\n      unaff_s4 = (*(code *)PTR_strvec_create_00156b00)(iVar3);\n    }\n    *puVar2 = *param_1;\n    puVar1 = PTR_force_fignore_00157610;\n    iVar7 = 0;\n    if (param_1[1] == 0) {\n      puVar2[1] = 0;\n    }\n    else {\n      iVar4 = 1;\n      do {\n        iVar3 = (*param_2)();\n        if (iVar3 == 0) {\n          if (*(int *)puVar1 == 0) {\n            *(int *)(unaff_s4 + iVar7 * 4) = *piVar6;\n            iVar7 = iVar7 + 1;\n          }\n          else {\n            (*(code *)PTR_free_001585ac)(*piVar6);\n          }\n        }\n        else {\n          puVar2[iVar4] = *piVar6;\n          iVar4 = iVar4 + 1;\n        }\n        piVar6 = piVar6 + 1;\n      } while (*piVar6 != 0);\n      puVar2[iVar4] = 0;\n      if (iVar4 != 1) {\n        if (*(int *)PTR_force_fignore_00157610 == 0) {\n          if (iVar7 != 0) {\n            iVar7 = unaff_s4 + iVar7 * 4;\n            do {\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            } while (unaff_s4 != iVar7);\n          }\n          (*(code *)PTR_free_001585ac)(unaff_s4);\n        }\n        if (iVar4 != 2) {\n          iVar4 = puVar2[1];\n          iVar7 = 4;\n          if (iVar4 != 0) {\n            piVar5 = param_1 + 1;\n            do {\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            } while (iVar4 != 0);\n          }\n          *(undefined4 *)((int)param_1 + iVar7) = 0;\n          (*(code *)PTR_free_001585ac)(puVar2);\n          return;\n        }\n        (*(code *)PTR_free_001585ac)(*param_1);\n        *param_1 = puVar2[1];\n        param_1[1] = 0;\n        (*(code *)PTR_free_001585ac)(puVar2);\n        return;\n      }\n    }\n    if (*(int *)PTR_force_fignore_00157610 == 0) {\n      (*(code *)PTR_free_001585ac)(unaff_s4);\n    }\n    else {\n      (*(code *)PTR_free_001585ac)(*param_1);\n      *param_1 = 0;\n    }\n    (*(code *)PTR_free_001585ac)(puVar2);\n  }" (else "else") (compound_statement "{\n    piVar6 = param_1 + 1;\n    piVar5 = param_1 + 2;\n    iVar7 = 1;\n    do {\n      iVar3 = iVar7;\n      iVar4 = *piVar5;\n      piVar5 = piVar5 + 1;\n      iVar7 = iVar3 + 1;\n    } while (iVar4 != 0);\n    puVar2 = (undefined4 *)(*(code *)PTR_strvec_create_00156b00)(iVar3 + 2);\n    if (*(int *)PTR_force_fignore_00157610 == 0) {\n      unaff_s4 = (*(code *)PTR_strvec_create_00156b00)(iVar3);\n    }\n    *puVar2 = *param_1;\n    puVar1 = PTR_force_fignore_00157610;\n    iVar7 = 0;\n    if (param_1[1] == 0) {\n      puVar2[1] = 0;\n    }\n    else {\n      iVar4 = 1;\n      do {\n        iVar3 = (*param_2)();\n        if (iVar3 == 0) {\n          if (*(int *)puVar1 == 0) {\n            *(int *)(unaff_s4 + iVar7 * 4) = *piVar6;\n            iVar7 = iVar7 + 1;\n          }\n          else {\n            (*(code *)PTR_free_001585ac)(*piVar6);\n          }\n        }\n        else {\n          puVar2[iVar4] = *piVar6;\n          iVar4 = iVar4 + 1;\n        }\n        piVar6 = piVar6 + 1;\n      } while (*piVar6 != 0);\n      puVar2[iVar4] = 0;\n      if (iVar4 != 1) {\n        if (*(int *)PTR_force_fignore_00157610 == 0) {\n          if (iVar7 != 0) {\n            iVar7 = unaff_s4 + iVar7 * 4;\n            do {\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            } while (unaff_s4 != iVar7);\n          }\n          (*(code *)PTR_free_001585ac)(unaff_s4);\n        }\n        if (iVar4 != 2) {\n          iVar4 = puVar2[1];\n          iVar7 = 4;\n          if (iVar4 != 0) {\n            piVar5 = param_1 + 1;\n            do {\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            } while (iVar4 != 0);\n          }\n          *(undefined4 *)((int)param_1 + iVar7) = 0;\n          (*(code *)PTR_free_001585ac)(puVar2);\n          return;\n        }\n        (*(code *)PTR_free_001585ac)(*param_1);\n        *param_1 = puVar2[1];\n        param_1[1] = 0;\n        (*(code *)PTR_free_001585ac)(puVar2);\n        return;\n      }\n    }\n    if (*(int *)PTR_force_fignore_00157610 == 0) {\n      (*(code *)PTR_free_001585ac)(unaff_s4);\n    }\n    else {\n      (*(code *)PTR_free_001585ac)(*param_1);\n      *param_1 = 0;\n    }\n    (*(code *)PTR_free_001585ac)(puVar2);\n  }" ({ "{") (expression_statement "piVar6 = param_1 + 1;" (assignment_expression "piVar6 = param_1 + 1" (identifier "piVar6") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar5 = param_1 + 2;" (assignment_expression "piVar5 = param_1 + 2" (identifier "piVar5") (= "=") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "iVar7 = 1;" (assignment_expression "iVar7 = 1" (identifier "iVar7") (= "=") (number_literal "1")) (; ";")) (do_statement "do {\n      iVar3 = iVar7;\n      iVar4 = *piVar5;\n      piVar5 = piVar5 + 1;\n      iVar7 = iVar3 + 1;\n    } while (iVar4 != 0);" (do "do") (compound_statement "{\n      iVar3 = iVar7;\n      iVar4 = *piVar5;\n      piVar5 = piVar5 + 1;\n      iVar7 = iVar3 + 1;\n    }" ({ "{") (expression_statement "iVar3 = iVar7;" (assignment_expression "iVar3 = iVar7" (identifier "iVar3") (= "=") (identifier "iVar7")) (; ";")) (expression_statement "iVar4 = *piVar5;" (assignment_expression "iVar4 = *piVar5" (identifier "iVar4") (= "=") (pointer_expression "*piVar5" (* "*") (identifier "piVar5"))) (; ";")) (expression_statement "piVar5 = piVar5 + 1;" (assignment_expression "piVar5 = piVar5 + 1" (identifier "piVar5") (= "=") (binary_expression "piVar5 + 1" (identifier "piVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar7 = iVar3 + 1;" (assignment_expression "iVar7 = iVar3 + 1" (identifier "iVar7") (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "puVar2 = (undefined4 *)(*(code *)PTR_strvec_create_00156b00)(iVar3 + 2);" (assignment_expression "puVar2 = (undefined4 *)(*(code *)PTR_strvec_create_00156b00)(iVar3 + 2)" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR_strvec_create_00156b00)(iVar3 + 2)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_strvec_create_00156b00)(iVar3 + 2)" (parenthesized_expression "(*(code *)PTR_strvec_create_00156b00)" (( "(") (pointer_expression "*(code *)PTR_strvec_create_00156b00" (* "*") (cast_expression "(code *)PTR_strvec_create_00156b00" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strvec_create_00156b00"))) () ")")) (argument_list "(iVar3 + 2)" (( "(") (binary_expression "iVar3 + 2" (identifier "iVar3") (+ "+") (number_literal "2")) () ")"))))) (; ";")) (if_statement "if (*(int *)PTR_force_fignore_00157610 == 0) {\n      unaff_s4 = (*(code *)PTR_strvec_create_00156b00)(iVar3);\n    }" (if "if") (parenthesized_expression "(*(int *)PTR_force_fignore_00157610 == 0)" (( "(") (binary_expression "*(int *)PTR_force_fignore_00157610 == 0" (pointer_expression "*(int *)PTR_force_fignore_00157610" (* "*") (cast_expression "(int *)PTR_force_fignore_00157610" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_force_fignore_00157610"))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      unaff_s4 = (*(code *)PTR_strvec_create_00156b00)(iVar3);\n    }" ({ "{") (expression_statement "unaff_s4 = (*(code *)PTR_strvec_create_00156b00)(iVar3);" (assignment_expression "unaff_s4 = (*(code *)PTR_strvec_create_00156b00)(iVar3)" (identifier "unaff_s4") (= "=") (call_expression "(*(code *)PTR_strvec_create_00156b00)(iVar3)" (parenthesized_expression "(*(code *)PTR_strvec_create_00156b00)" (( "(") (pointer_expression "*(code *)PTR_strvec_create_00156b00" (* "*") (cast_expression "(code *)PTR_strvec_create_00156b00" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strvec_create_00156b00"))) () ")")) (argument_list "(iVar3)" (( "(") (identifier "iVar3") () ")")))) (; ";")) (} "}"))) (expression_statement "*puVar2 = *param_1;" (assignment_expression "*puVar2 = *param_1" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "puVar1 = PTR_force_fignore_00157610;" (assignment_expression "puVar1 = PTR_force_fignore_00157610" (identifier "puVar1") (= "=") (identifier "PTR_force_fignore_00157610")) (; ";")) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (if_statement "if (param_1[1] == 0) {\n      puVar2[1] = 0;\n    }\n    else {\n      iVar4 = 1;\n      do {\n        iVar3 = (*param_2)();\n        if (iVar3 == 0) {\n          if (*(int *)puVar1 == 0) {\n            *(int *)(unaff_s4 + iVar7 * 4) = *piVar6;\n            iVar7 = iVar7 + 1;\n          }\n          else {\n            (*(code *)PTR_free_001585ac)(*piVar6);\n          }\n        }\n        else {\n          puVar2[iVar4] = *piVar6;\n          iVar4 = iVar4 + 1;\n        }\n        piVar6 = piVar6 + 1;\n      } while (*piVar6 != 0);\n      puVar2[iVar4] = 0;\n      if (iVar4 != 1) {\n        if (*(int *)PTR_force_fignore_00157610 == 0) {\n          if (iVar7 != 0) {\n            iVar7 = unaff_s4 + iVar7 * 4;\n            do {\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            } while (unaff_s4 != iVar7);\n          }\n          (*(code *)PTR_free_001585ac)(unaff_s4);\n        }\n        if (iVar4 != 2) {\n          iVar4 = puVar2[1];\n          iVar7 = 4;\n          if (iVar4 != 0) {\n            piVar5 = param_1 + 1;\n            do {\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            } while (iVar4 != 0);\n          }\n          *(undefined4 *)((int)param_1 + iVar7) = 0;\n          (*(code *)PTR_free_001585ac)(puVar2);\n          return;\n        }\n        (*(code *)PTR_free_001585ac)(*param_1);\n        *param_1 = puVar2[1];\n        param_1[1] = 0;\n        (*(code *)PTR_free_001585ac)(puVar2);\n        return;\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") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      puVar2[1] = 0;\n    }" ({ "{") (expression_statement "puVar2[1] = 0;" (assignment_expression "puVar2[1] = 0" (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n      iVar4 = 1;\n      do {\n        iVar3 = (*param_2)();\n        if (iVar3 == 0) {\n          if (*(int *)puVar1 == 0) {\n            *(int *)(unaff_s4 + iVar7 * 4) = *piVar6;\n            iVar7 = iVar7 + 1;\n          }\n          else {\n            (*(code *)PTR_free_001585ac)(*piVar6);\n          }\n        }\n        else {\n          puVar2[iVar4] = *piVar6;\n          iVar4 = iVar4 + 1;\n        }\n        piVar6 = piVar6 + 1;\n      } while (*piVar6 != 0);\n      puVar2[iVar4] = 0;\n      if (iVar4 != 1) {\n        if (*(int *)PTR_force_fignore_00157610 == 0) {\n          if (iVar7 != 0) {\n            iVar7 = unaff_s4 + iVar7 * 4;\n            do {\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            } while (unaff_s4 != iVar7);\n          }\n          (*(code *)PTR_free_001585ac)(unaff_s4);\n        }\n        if (iVar4 != 2) {\n          iVar4 = puVar2[1];\n          iVar7 = 4;\n          if (iVar4 != 0) {\n            piVar5 = param_1 + 1;\n            do {\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            } while (iVar4 != 0);\n          }\n          *(undefined4 *)((int)param_1 + iVar7) = 0;\n          (*(code *)PTR_free_001585ac)(puVar2);\n          return;\n        }\n        (*(code *)PTR_free_001585ac)(*param_1);\n        *param_1 = puVar2[1];\n        param_1[1] = 0;\n        (*(code *)PTR_free_001585ac)(puVar2);\n        return;\n      }\n    }" (else "else") (compound_statement "{\n      iVar4 = 1;\n      do {\n        iVar3 = (*param_2)();\n        if (iVar3 == 0) {\n          if (*(int *)puVar1 == 0) {\n            *(int *)(unaff_s4 + iVar7 * 4) = *piVar6;\n            iVar7 = iVar7 + 1;\n          }\n          else {\n            (*(code *)PTR_free_001585ac)(*piVar6);\n          }\n        }\n        else {\n          puVar2[iVar4] = *piVar6;\n          iVar4 = iVar4 + 1;\n        }\n        piVar6 = piVar6 + 1;\n      } while (*piVar6 != 0);\n      puVar2[iVar4] = 0;\n      if (iVar4 != 1) {\n        if (*(int *)PTR_force_fignore_00157610 == 0) {\n          if (iVar7 != 0) {\n            iVar7 = unaff_s4 + iVar7 * 4;\n            do {\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            } while (unaff_s4 != iVar7);\n          }\n          (*(code *)PTR_free_001585ac)(unaff_s4);\n        }\n        if (iVar4 != 2) {\n          iVar4 = puVar2[1];\n          iVar7 = 4;\n          if (iVar4 != 0) {\n            piVar5 = param_1 + 1;\n            do {\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            } while (iVar4 != 0);\n          }\n          *(undefined4 *)((int)param_1 + iVar7) = 0;\n          (*(code *)PTR_free_001585ac)(puVar2);\n          return;\n        }\n        (*(code *)PTR_free_001585ac)(*param_1);\n        *param_1 = puVar2[1];\n        param_1[1] = 0;\n        (*(code *)PTR_free_001585ac)(puVar2);\n        return;\n      }\n    }" ({ "{") (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" (identifier "iVar4") (= "=") (number_literal "1")) (; ";")) (do_statement "do {\n        iVar3 = (*param_2)();\n        if (iVar3 == 0) {\n          if (*(int *)puVar1 == 0) {\n            *(int *)(unaff_s4 + iVar7 * 4) = *piVar6;\n            iVar7 = iVar7 + 1;\n          }\n          else {\n            (*(code *)PTR_free_001585ac)(*piVar6);\n          }\n        }\n        else {\n          puVar2[iVar4] = *piVar6;\n          iVar4 = iVar4 + 1;\n        }\n        piVar6 = piVar6 + 1;\n      } while (*piVar6 != 0);" (do "do") (compound_statement "{\n        iVar3 = (*param_2)();\n        if (iVar3 == 0) {\n          if (*(int *)puVar1 == 0) {\n            *(int *)(unaff_s4 + iVar7 * 4) = *piVar6;\n            iVar7 = iVar7 + 1;\n          }\n          else {\n            (*(code *)PTR_free_001585ac)(*piVar6);\n          }\n        }\n        else {\n          puVar2[iVar4] = *piVar6;\n          iVar4 = iVar4 + 1;\n        }\n        piVar6 = piVar6 + 1;\n      }" ({ "{") (expression_statement "iVar3 = (*param_2)();" (assignment_expression "iVar3 = (*param_2)()" (identifier "iVar3") (= "=") (call_expression "(*param_2)()" (parenthesized_expression "(*param_2)" (( "(") (pointer_expression "*param_2" (* "*") (identifier "param_2")) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n          if (*(int *)puVar1 == 0) {\n            *(int *)(unaff_s4 + iVar7 * 4) = *piVar6;\n            iVar7 = iVar7 + 1;\n          }\n          else {\n            (*(code *)PTR_free_001585ac)(*piVar6);\n          }\n        }\n        else {\n          puVar2[iVar4] = *piVar6;\n          iVar4 = iVar4 + 1;\n        }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          if (*(int *)puVar1 == 0) {\n            *(int *)(unaff_s4 + iVar7 * 4) = *piVar6;\n            iVar7 = iVar7 + 1;\n          }\n          else {\n            (*(code *)PTR_free_001585ac)(*piVar6);\n          }\n        }" ({ "{") (if_statement "if (*(int *)puVar1 == 0) {\n            *(int *)(unaff_s4 + iVar7 * 4) = *piVar6;\n            iVar7 = iVar7 + 1;\n          }\n          else {\n            (*(code *)PTR_free_001585ac)(*piVar6);\n          }" (if "if") (parenthesized_expression "(*(int *)puVar1 == 0)" (( "(") (binary_expression "*(int *)puVar1 == 0" (pointer_expression "*(int *)puVar1" (* "*") (cast_expression "(int *)puVar1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            *(int *)(unaff_s4 + iVar7 * 4) = *piVar6;\n            iVar7 = iVar7 + 1;\n          }" ({ "{") (expression_statement "*(int *)(unaff_s4 + iVar7 * 4) = *piVar6;" (assignment_expression "*(int *)(unaff_s4 + iVar7 * 4) = *piVar6" (pointer_expression "*(int *)(unaff_s4 + iVar7 * 4)" (* "*") (cast_expression "(int *)(unaff_s4 + iVar7 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s4 + iVar7 * 4)" (( "(") (binary_expression "unaff_s4 + iVar7 * 4" (identifier "unaff_s4") (+ "+") (binary_expression "iVar7 * 4" (identifier "iVar7") (* "*") (number_literal "4"))) () ")")))) (= "=") (pointer_expression "*piVar6" (* "*") (identifier "piVar6"))) (; ";")) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" (identifier "iVar7") (= "=") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (else_clause "else {\n            (*(code *)PTR_free_001585ac)(*piVar6);\n          }" (else "else") (compound_statement "{\n            (*(code *)PTR_free_001585ac)(*piVar6);\n          }" ({ "{") (expression_statement "(*(code *)PTR_free_001585ac)(*piVar6);" (call_expression "(*(code *)PTR_free_001585ac)(*piVar6)" (parenthesized_expression "(*(code *)PTR_free_001585ac)" (( "(") (pointer_expression "*(code *)PTR_free_001585ac" (* "*") (cast_expression "(code *)PTR_free_001585ac" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_001585ac"))) () ")")) (argument_list "(*piVar6)" (( "(") (pointer_expression "*piVar6" (* "*") (identifier "piVar6")) () ")"))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n          puVar2[iVar4] = *piVar6;\n          iVar4 = iVar4 + 1;\n        }" (else "else") (compound_statement "{\n          puVar2[iVar4] = *piVar6;\n          iVar4 = iVar4 + 1;\n        }" ({ "{") (expression_statement "puVar2[iVar4] = *piVar6;" (assignment_expression "puVar2[iVar4] = *piVar6" (subscript_expression "puVar2[iVar4]" (identifier "puVar2") ([ "[") (identifier "iVar4") (] "]")) (= "=") (pointer_expression "*piVar6" (* "*") (identifier "piVar6"))) (; ";")) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (expression_statement "piVar6 = piVar6 + 1;" (assignment_expression "piVar6 = piVar6 + 1" (identifier "piVar6") (= "=") (binary_expression "piVar6 + 1" (identifier "piVar6") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*piVar6 != 0)" (( "(") (binary_expression "*piVar6 != 0" (pointer_expression "*piVar6" (* "*") (identifier "piVar6")) (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "puVar2[iVar4] = 0;" (assignment_expression "puVar2[iVar4] = 0" (subscript_expression "puVar2[iVar4]" (identifier "puVar2") ([ "[") (identifier "iVar4") (] "]")) (= "=") (number_literal "0")) (; ";")) (if_statement "if (iVar4 != 1) {\n        if (*(int *)PTR_force_fignore_00157610 == 0) {\n          if (iVar7 != 0) {\n            iVar7 = unaff_s4 + iVar7 * 4;\n            do {\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            } while (unaff_s4 != iVar7);\n          }\n          (*(code *)PTR_free_001585ac)(unaff_s4);\n        }\n        if (iVar4 != 2) {\n          iVar4 = puVar2[1];\n          iVar7 = 4;\n          if (iVar4 != 0) {\n            piVar5 = param_1 + 1;\n            do {\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            } while (iVar4 != 0);\n          }\n          *(undefined4 *)((int)param_1 + iVar7) = 0;\n          (*(code *)PTR_free_001585ac)(puVar2);\n          return;\n        }\n        (*(code *)PTR_free_001585ac)(*param_1);\n        *param_1 = puVar2[1];\n        param_1[1] = 0;\n        (*(code *)PTR_free_001585ac)(puVar2);\n        return;\n      }" (if "if") (parenthesized_expression "(iVar4 != 1)" (( "(") (binary_expression "iVar4 != 1" (identifier "iVar4") (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n        if (*(int *)PTR_force_fignore_00157610 == 0) {\n          if (iVar7 != 0) {\n            iVar7 = unaff_s4 + iVar7 * 4;\n            do {\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            } while (unaff_s4 != iVar7);\n          }\n          (*(code *)PTR_free_001585ac)(unaff_s4);\n        }\n        if (iVar4 != 2) {\n          iVar4 = puVar2[1];\n          iVar7 = 4;\n          if (iVar4 != 0) {\n            piVar5 = param_1 + 1;\n            do {\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            } while (iVar4 != 0);\n          }\n          *(undefined4 *)((int)param_1 + iVar7) = 0;\n          (*(code *)PTR_free_001585ac)(puVar2);\n          return;\n        }\n        (*(code *)PTR_free_001585ac)(*param_1);\n        *param_1 = puVar2[1];\n        param_1[1] = 0;\n        (*(code *)PTR_free_001585ac)(puVar2);\n        return;\n      }" ({ "{") (if_statement "if (*(int *)PTR_force_fignore_00157610 == 0) {\n          if (iVar7 != 0) {\n            iVar7 = unaff_s4 + iVar7 * 4;\n            do {\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            } while (unaff_s4 != iVar7);\n          }\n          (*(code *)PTR_free_001585ac)(unaff_s4);\n        }" (if "if") (parenthesized_expression "(*(int *)PTR_force_fignore_00157610 == 0)" (( "(") (binary_expression "*(int *)PTR_force_fignore_00157610 == 0" (pointer_expression "*(int *)PTR_force_fignore_00157610" (* "*") (cast_expression "(int *)PTR_force_fignore_00157610" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_force_fignore_00157610"))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          if (iVar7 != 0) {\n            iVar7 = unaff_s4 + iVar7 * 4;\n            do {\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            } while (unaff_s4 != iVar7);\n          }\n          (*(code *)PTR_free_001585ac)(unaff_s4);\n        }" ({ "{") (if_statement "if (iVar7 != 0) {\n            iVar7 = unaff_s4 + iVar7 * 4;\n            do {\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            } while (unaff_s4 != iVar7);\n          }" (if "if") (parenthesized_expression "(iVar7 != 0)" (( "(") (binary_expression "iVar7 != 0" (identifier "iVar7") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            iVar7 = unaff_s4 + iVar7 * 4;\n            do {\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            } while (unaff_s4 != iVar7);\n          }" ({ "{") (expression_statement "iVar7 = unaff_s4 + iVar7 * 4;" (assignment_expression "iVar7 = unaff_s4 + iVar7 * 4" (identifier "iVar7") (= "=") (binary_expression "unaff_s4 + iVar7 * 4" (identifier "unaff_s4") (+ "+") (binary_expression "iVar7 * 4" (identifier "iVar7") (* "*") (number_literal "4")))) (; ";")) (do_statement "do {\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            } while (unaff_s4 != iVar7);" (do "do") (compound_statement "{\n              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));\n              iVar7 = iVar7 + -4;\n            }" ({ "{") (expression_statement "(*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));" (call_expression "(*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4))" (parenthesized_expression "(*(code *)PTR_free_001585ac)" (( "(") (pointer_expression "*(code *)PTR_free_001585ac" (* "*") (cast_expression "(code *)PTR_free_001585ac" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_001585ac"))) () ")")) (argument_list "(*(undefined4 *)(iVar7 + -4))" (( "(") (pointer_expression "*(undefined4 *)(iVar7 + -4)" (* "*") (cast_expression "(undefined4 *)(iVar7 + -4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + -4)" (( "(") (binary_expression "iVar7 + -4" (identifier "iVar7") (+ "+") (number_literal "-4")) () ")")))) () ")"))) (; ";")) (expression_statement "iVar7 = iVar7 + -4;" (assignment_expression "iVar7 = iVar7 + -4" (identifier "iVar7") (= "=") (binary_expression "iVar7 + -4" (identifier "iVar7") (+ "+") (number_literal "-4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(unaff_s4 != iVar7)" (( "(") (binary_expression "unaff_s4 != iVar7" (identifier "unaff_s4") (!= "!=") (identifier "iVar7")) () ")")) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_free_001585ac)(unaff_s4);" (call_expression "(*(code *)PTR_free_001585ac)(unaff_s4)" (parenthesized_expression "(*(code *)PTR_free_001585ac)" (( "(") (pointer_expression "*(code *)PTR_free_001585ac" (* "*") (cast_expression "(code *)PTR_free_001585ac" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_001585ac"))) () ")")) (argument_list "(unaff_s4)" (( "(") (identifier "unaff_s4") () ")"))) (; ";")) (} "}"))) (if_statement "if (iVar4 != 2) {\n          iVar4 = puVar2[1];\n          iVar7 = 4;\n          if (iVar4 != 0) {\n            piVar5 = param_1 + 1;\n            do {\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            } while (iVar4 != 0);\n          }\n          *(undefined4 *)((int)param_1 + iVar7) = 0;\n          (*(code *)PTR_free_001585ac)(puVar2);\n          return;\n        }" (if "if") (parenthesized_expression "(iVar4 != 2)" (( "(") (binary_expression "iVar4 != 2" (identifier "iVar4") (!= "!=") (number_literal "2")) () ")")) (compound_statement "{\n          iVar4 = puVar2[1];\n          iVar7 = 4;\n          if (iVar4 != 0) {\n            piVar5 = param_1 + 1;\n            do {\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            } while (iVar4 != 0);\n          }\n          *(undefined4 *)((int)param_1 + iVar7) = 0;\n          (*(code *)PTR_free_001585ac)(puVar2);\n          return;\n        }" ({ "{") (expression_statement "iVar4 = puVar2[1];" (assignment_expression "iVar4 = puVar2[1]" (identifier "iVar4") (= "=") (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar7 = 4;" (assignment_expression "iVar7 = 4" (identifier "iVar7") (= "=") (number_literal "4")) (; ";")) (if_statement "if (iVar4 != 0) {\n            piVar5 = param_1 + 1;\n            do {\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            } while (iVar4 != 0);\n          }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            piVar5 = param_1 + 1;\n            do {\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            } while (iVar4 != 0);\n          }" ({ "{") (expression_statement "piVar5 = param_1 + 1;" (assignment_expression "piVar5 = param_1 + 1" (identifier "piVar5") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (do_statement "do {\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            } while (iVar4 != 0);" (do "do") (compound_statement "{\n              *piVar5 = iVar4;\n              iVar7 = iVar7 + 4;\n              iVar4 = *(int *)((int)puVar2 + iVar7);\n              piVar5 = (int *)((int)param_1 + iVar7);\n            }" ({ "{") (expression_statement "*piVar5 = iVar4;" (assignment_expression "*piVar5 = iVar4" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "iVar7 = iVar7 + 4;" (assignment_expression "iVar7 = iVar7 + 4" (identifier "iVar7") (= "=") (binary_expression "iVar7 + 4" (identifier "iVar7") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "iVar4 = *(int *)((int)puVar2 + iVar7);" (assignment_expression "iVar4 = *(int *)((int)puVar2 + iVar7)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)((int)puVar2 + iVar7)" (* "*") (cast_expression "(int *)((int)puVar2 + iVar7)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar2 + iVar7)" (( "(") (binary_expression "(int)puVar2 + iVar7" (cast_expression "(int)puVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar2")) (+ "+") (identifier "iVar7")) () ")"))))) (; ";")) (expression_statement "piVar5 = (int *)((int)param_1 + iVar7);" (assignment_expression "piVar5 = (int *)((int)param_1 + iVar7)" (identifier "piVar5") (= "=") (cast_expression "(int *)((int)param_1 + iVar7)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + iVar7)" (( "(") (binary_expression "(int)param_1 + iVar7" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (identifier "iVar7")) () ")")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}"))) (expression_statement "*(undefined4 *)((int)param_1 + iVar7) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + iVar7) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + iVar7)" (* "*") (cast_expression "(undefined4 *)((int)param_1 + iVar7)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + iVar7)" (( "(") (binary_expression "(int)param_1 + iVar7" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (identifier "iVar7")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "(*(code *)PTR_free_001585ac)(puVar2);" (call_expression "(*(code *)PTR_free_001585ac)(puVar2)" (parenthesized_expression "(*(code *)PTR_free_001585ac)" (( "(") (pointer_expression "*(code *)PTR_free_001585ac" (* "*") (cast_expression "(code *)PTR_free_001585ac" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_001585ac"))) () ")")) (argument_list "(puVar2)" (( "(") (identifier "puVar2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_free_001585ac)(*param_1);" (call_expression "(*(code *)PTR_free_001585ac)(*param_1)" (parenthesized_expression "(*(code *)PTR_free_001585ac)" (( "(") (pointer_expression "*(code *)PTR_free_001585ac" (* "*") (cast_expression "(code *)PTR_free_001585ac" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_001585ac"))) () ")")) (argument_list "(*param_1)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")"))) (; ";")) (expression_statement "*param_1 = puVar2[1];" (assignment_expression "*param_1 = puVar2[1]" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "(*(code *)PTR_free_001585ac)(puVar2);" (call_expression "(*(code *)PTR_free_001585ac)(puVar2)" (parenthesized_expression "(*(code *)PTR_free_001585ac)" (( "(") (pointer_expression "*(code *)PTR_free_001585ac" (* "*") (cast_expression "(code *)PTR_free_001585ac" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_001585ac"))) () ")")) (argument_list "(puVar2)" (( "(") (identifier "puVar2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}")))) (if_statement "if (*(int *)PTR_force_fignore_00157610 == 0) {\n      (*(code *)PTR_free_001585ac)(unaff_s4);\n    }\n    else {\n      (*(code *)PTR_free_001585ac)(*param_1);\n      *param_1 = 0;\n    }" (if "if") (parenthesized_expression "(*(int *)PTR_force_fignore_00157610 == 0)" (( "(") (binary_expression "*(int *)PTR_force_fignore_00157610 == 0" (pointer_expression "*(int *)PTR_force_fignore_00157610" (* "*") (cast_expression "(int *)PTR_force_fignore_00157610" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_force_fignore_00157610"))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      (*(code *)PTR_free_001585ac)(unaff_s4);\n    }" ({ "{") (expression_statement "(*(code *)PTR_free_001585ac)(unaff_s4);" (call_expression "(*(code *)PTR_free_001585ac)(unaff_s4)" (parenthesized_expression "(*(code *)PTR_free_001585ac)" (( "(") (pointer_expression "*(code *)PTR_free_001585ac" (* "*") (cast_expression "(code *)PTR_free_001585ac" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_001585ac"))) () ")")) (argument_list "(unaff_s4)" (( "(") (identifier "unaff_s4") () ")"))) (; ";")) (} "}")) (else_clause "else {\n      (*(code *)PTR_free_001585ac)(*param_1);\n      *param_1 = 0;\n    }" (else "else") (compound_statement "{\n      (*(code *)PTR_free_001585ac)(*param_1);\n      *param_1 = 0;\n    }" ({ "{") (expression_statement "(*(code *)PTR_free_001585ac)(*param_1);" (call_expression "(*(code *)PTR_free_001585ac)(*param_1)" (parenthesized_expression "(*(code *)PTR_free_001585ac)" (( "(") (pointer_expression "*(code *)PTR_free_001585ac" (* "*") (cast_expression "(code *)PTR_free_001585ac" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_001585ac"))) () ")")) (argument_list "(*param_1)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")"))) (; ";")) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "0")) (; ";")) (} "}")))) (expression_statement "(*(code *)PTR_free_001585ac)(puVar2);" (call_expression "(*(code *)PTR_free_001585ac)(puVar2)" (parenthesized_expression "(*(code *)PTR_free_001585ac)" (( "(") (pointer_expression "*(code *)PTR_free_001585ac" (* "*") (cast_expression "(code *)PTR_free_001585ac" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_001585ac"))) () ")")) (argument_list "(puVar2)" (( "(") (identifier "puVar2") () ")"))) (; ";")) (} "}")))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(char **var_2,type_1 *name_func)

{
  type_2 *puVar1;
  type_3 *puVar2;
  int var_6;
  char *var_5;
  char **var_3;
  char **var_8;
  int var_1;
  int var_7;
  int var_4;
  
  if (var_2[1] == (char *)0x0) {
    if ((*(int *)PTR_force_fignore_00157610 != 0) && (var_1 = (*name_func)(*var_2), var_1 == 0)) {
      (*(type_4 *)PTR_free_001585ac)(*var_2);
      return;
    }
    return;
  }
  var_8 = var_2 + 1;
  var_3 = var_2 + 2;
  var_1 = 1;
  do {
    var_4 = var_1;
    var_5 = *var_3;
    var_3 = var_3 + 1;
    var_1 = var_4 + 1;
  } while (var_5 != (char *)0x0);
  puVar2 = (type_3 *)(*(type_4 *)PTR_strvec_create_00156b00)(var_4 + 2);
  if (*(int *)PTR_force_fignore_00157610 == 0) {
    var_7 = (*(type_4 *)PTR_strvec_create_00156b00)(var_4);
  }
  *puVar2 = *var_2;
  puVar1 = PTR_force_fignore_00157610;
  var_5 = var_2[1];
  var_1 = 0;
  if (var_5 == (char *)0x0) {
    puVar2[1] = 0;
  }
  else {
    var_4 = 1;
    do {
      var_6 = (*name_func)(var_5);
      if (var_6 == 0) {
        if (*(int *)puVar1 != 0) {
          (*(type_4 *)PTR_free_001585ac)(*var_8);
          return;
        }
        *(char **)(var_7 + var_1 * 4) = *var_8;
        var_1 = var_1 + 1;
      }
      else {
        puVar2[var_4] = *var_8;
        var_4 = var_4 + 1;
      }
      var_8 = var_8 + 1;
      var_5 = *var_8;
    } while (var_5 != (char *)0x0);
    puVar2[var_4] = 0;
    if (var_4 != 1) {
      if (*(int *)PTR_force_fignore_00157610 != 0) {
        if (var_4 == 2) {
          (*(type_4 *)PTR_free_001585ac)(*var_2);
          return;
        }
        var_5 = (char *)puVar2[1];
        var_1 = 4;
        if (var_5 != (char *)0x0) {
          var_3 = var_2 + 1;
          do {
            *var_3 = var_5;
            var_1 = var_1 + 4;
            var_5 = *(char **)((int)puVar2 + var_1);
            var_3 = (char **)((int)var_2 + var_1);
          } while (var_5 != (char *)0x0);
        }
        *(type_3 *)((int)var_2 + var_1) = 0;
        (*(type_4 *)PTR_free_001585ac)(puVar2);
        return;
      }
      if (var_1 == 0) {
        (*(type_4 *)PTR_free_001585ac)(var_7);
        return;
      }
      (*(type_4 *)PTR_free_001585ac)(*(type_3 *)(var_7 + var_1 * 4 + -4));
      return;
    }
  }
  if (*(int *)PTR_force_fignore_00157610 == 0) {
    (*(type_4 *)PTR_free_001585ac)(var_7);
    return;
  }
  (*(type_4 *)PTR_free_001585ac)(*var_2);
  return;
}


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

void MASKED(undefined4 *param_1,code *param_2)

{
  undefined *puVar1;
  undefined4 *puVar2;
  int iVar3;
  int iVar4;
  int *piVar5;
  int *piVar6;
  int iVar7;
  int unaff_s4;
  
  if (param_1[1] == 0) {
    if ((*(int *)PTR_force_fignore_00157610 != 0) && (iVar7 = (*param_2)(*param_1), iVar7 == 0)) {
      (*(code *)PTR_free_001585ac)(*param_1);
      *param_1 = 0;
    }
  }
  else {
    piVar6 = param_1 + 1;
    piVar5 = param_1 + 2;
    iVar7 = 1;
    do {
      iVar3 = iVar7;
      iVar4 = *piVar5;
      piVar5 = piVar5 + 1;
      iVar7 = iVar3 + 1;
    } while (iVar4 != 0);
    puVar2 = (undefined4 *)(*(code *)PTR_strvec_create_00156b00)(iVar3 + 2);
    if (*(int *)PTR_force_fignore_00157610 == 0) {
      unaff_s4 = (*(code *)PTR_strvec_create_00156b00)(iVar3);
    }
    *puVar2 = *param_1;
    puVar1 = PTR_force_fignore_00157610;
    iVar7 = 0;
    if (param_1[1] == 0) {
      puVar2[1] = 0;
    }
    else {
      iVar4 = 1;
      do {
        iVar3 = (*param_2)();
        if (iVar3 == 0) {
          if (*(int *)puVar1 == 0) {
            *(int *)(unaff_s4 + iVar7 * 4) = *piVar6;
            iVar7 = iVar7 + 1;
          }
          else {
            (*(code *)PTR_free_001585ac)(*piVar6);
          }
        }
        else {
          puVar2[iVar4] = *piVar6;
          iVar4 = iVar4 + 1;
        }
        piVar6 = piVar6 + 1;
      } while (*piVar6 != 0);
      puVar2[iVar4] = 0;
      if (iVar4 != 1) {
        if (*(int *)PTR_force_fignore_00157610 == 0) {
          if (iVar7 != 0) {
            iVar7 = unaff_s4 + iVar7 * 4;
            do {
              (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar7 + -4));
              iVar7 = iVar7 + -4;
            } while (unaff_s4 != iVar7);
          }
          (*(code *)PTR_free_001585ac)(unaff_s4);
        }
        if (iVar4 != 2) {
          iVar4 = puVar2[1];
          iVar7 = 4;
          if (iVar4 != 0) {
            piVar5 = param_1 + 1;
            do {
              *piVar5 = iVar4;
              iVar7 = iVar7 + 4;
              iVar4 = *(int *)((int)puVar2 + iVar7);
              piVar5 = (int *)((int)param_1 + iVar7);
            } while (iVar4 != 0);
          }
          *(undefined4 *)((int)param_1 + iVar7) = 0;
          (*(code *)PTR_free_001585ac)(puVar2);
          return;
        }
        (*(code *)PTR_free_001585ac)(*param_1);
        *param_1 = puVar2[1];
        param_1[1] = 0;
        (*(code *)PTR_free_001585ac)(puVar2);
        return;
      }
    }
    if (*(int *)PTR_force_fignore_00157610 == 0) {
      (*(code *)PTR_free_001585ac)(unaff_s4);
    }
    else {
      (*(code *)PTR_free_001585ac)(*param_1);
      *param_1 = 0;
    }
    (*(code *)PTR_free_001585ac)(puVar2);
  }
  return;
}

