
ParameterError file2string(char **bufp,FILE *file)

{
  int *piVar1;
  FILE *pFVar2;
  int iVar3;
  undefined1 *puVar4;
  ParameterError PVar5;
  int iVar6;
  int iVar7;
  FILE *pFVar8;
  FILE *in_a2;
  int iVar9;
  int iVar10;
  FILE *pFVar11;
  undefined *puVar12;
  char buffer [256];
  
  piVar1 = *(int **)PTR___stack_chk_guard_000553cc;
  pFVar8 = file;
  pFVar11 = file;
  if (file != (FILE *)0x0) {
    iVar10 = 0;
    pFVar11 = (FILE *)0x0;
    while( true ) {
      in_a2 = file;
      iVar3 = (*(code *)PTR_fgets_000553a0)(buffer,0x100);
      pFVar8 = (FILE *)0xd;
      if (iVar3 == 0) break;
      puVar4 = (undefined1 *)(*(code *)PTR_strchr_00055320)(buffer);
      if (puVar4 != (undefined1 *)0x0) {
        *puVar4 = 0;
      }
      puVar4 = (undefined1 *)(*(code *)PTR_strchr_00055320)(buffer,10);
      if (puVar4 != (undefined1 *)0x0) {
        *puVar4 = 0;
      }
      iVar3 = (*(code *)PTR_strlen_00055384)(buffer);
      pFVar8 = (FILE *)(iVar10 + iVar3 + 1);
      pFVar2 = (FILE *)(*(code *)PTR_realloc_00055208)(pFVar11);
      if (pFVar2 == (FILE *)0x0) {
        (*(code *)PTR_free_000552cc)(pFVar11);
        PVar5 = PARAM_NO_MEM;
        goto LAB_00025bfc;
      }
      (*(code *)PTR_strcpy_00055220)(pFVar2->_shortbuf + iVar10 + -0x47,buffer);
      iVar10 = iVar10 + iVar3;
      pFVar11 = pFVar2;
    }
  }
  *bufp = (char *)pFVar11;
  PVar5 = PARAM_OK;
LAB_00025bfc:
  if (piVar1 == *(int **)PTR___stack_chk_guard_000553cc) {
    return PVar5;
  }
  puVar12 = PTR___stack_chk_fail_000552ec;
  (*(code *)PTR___stack_chk_fail_000552ec)();
  if (in_a2 == (FILE *)0x0) {
    iVar3 = 0;
    iVar10 = 0;
  }
  else {
    iVar9 = 0x200;
    iVar3 = 0;
    iVar10 = 0;
    do {
      iVar7 = iVar9 + 1;
      if ((iVar10 == 0) || (iVar6 = iVar10, iVar3 == iVar9)) {
        iVar9 = iVar9 * 2;
        if (iVar7 < 0) {
          (**(code **)(puVar12 + 0x2f68c))(iVar10);
          return PARAM_NO_MEM;
        }
        iVar6 = (**(code **)(puVar12 + 0x2f5c8))(iVar10,iVar9 + 1);
        if (iVar6 == 0) {
          (**(code **)(puVar12 + 0x2f68c))(iVar10);
          return PARAM_NO_MEM;
        }
      }
      iVar7 = (**(code **)(puVar12 + 0x2f7bc))(iVar6 + iVar3,1,iVar9 - iVar3,in_a2);
      iVar3 = iVar3 + iVar7;
      iVar10 = iVar6;
    } while (iVar7 != 0);
    *(undefined1 *)(iVar6 + iVar3) = 0;
    if ((iVar9 != iVar3) &&
       (iVar10 = (**(code **)(puVar12 + 0x2f5c8))(iVar6,iVar3 + 1), iVar10 == 0)) {
      (**(code **)(puVar12 + 0x2f68c))(iVar6);
      return PARAM_NO_MEM;
    }
    if (iVar3 == 0) {
      (**(code **)(puVar12 + 0x2f68c))(iVar10);
      iVar10 = 0;
    }
  }
  pFVar8->_flags = iVar3;
  *piVar1 = iVar10;
  return PARAM_OK;
}



undefined4 file2string(int *param_1,int *param_2,int *param_3)

{
  int *piVar1;
  int iVar2;
  undefined1 *puVar3;
  undefined4 uVar4;
  int iVar5;
  int iVar6;
  int *piVar7;
  int *piVar8;
  int iVar9;
  int iVar10;
  undefined *puVar11;
  undefined1 auStack_124 [256];
  int *local_24;
  
  local_24 = *(int **)PTR___stack_chk_guard_000553cc;
  piVar8 = param_2;
  piVar7 = param_2;
  if (param_2 != (int *)0x0) {
    iVar10 = 0;
    piVar7 = (int *)0x0;
    while( true ) {
      param_3 = param_2;
      iVar2 = (*(code *)PTR_fgets_000553a0)(auStack_124,0x100);
      piVar8 = (int *)0xd;
      if (iVar2 == 0) break;
      puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124);
      if (puVar3 != (undefined1 *)0x0) {
        *puVar3 = 0;
      }
      puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124,10);
      if (puVar3 != (undefined1 *)0x0) {
        *puVar3 = 0;
      }
      iVar2 = (*(code *)PTR_strlen_00055384)(auStack_124);
      piVar8 = (int *)(iVar10 + iVar2 + 1);
      piVar1 = (int *)(*(code *)PTR_realloc_00055208)(piVar7);
      if (piVar1 == (int *)0x0) {
        (*(code *)PTR_free_000552cc)(piVar7);
        uVar4 = 0xe;
        goto LAB_00025bfc;
      }
      (*(code *)PTR_strcpy_00055220)((int)piVar1 + iVar10,auStack_124);
      iVar10 = iVar10 + iVar2;
      piVar7 = piVar1;
    }
  }
  *param_1 = (int)piVar7;
  uVar4 = 0;
LAB_00025bfc:
  if (local_24 == *(int **)PTR___stack_chk_guard_000553cc) {
    return uVar4;
  }
  piVar7 = local_24;
  puVar11 = PTR___stack_chk_fail_000552ec;
  (*(code *)PTR___stack_chk_fail_000552ec)();
  if (param_3 == (int *)0x0) {
    iVar2 = 0;
    iVar10 = 0;
  }
  else {
    iVar9 = 0x200;
    iVar2 = 0;
    iVar10 = 0;
    do {
      iVar6 = iVar9 + 1;
      if ((iVar10 == 0) || (iVar5 = iVar10, iVar2 == iVar9)) {
        iVar9 = iVar9 * 2;
        if (iVar6 < 0) {
          (**(code **)(puVar11 + 0x2f68c))(iVar10);
          return 0xe;
        }
        iVar5 = (**(code **)(puVar11 + 0x2f5c8))(iVar10,iVar9 + 1);
        if (iVar5 == 0) {
          (**(code **)(puVar11 + 0x2f68c))(iVar10);
          return 0xe;
        }
      }
      iVar6 = (**(code **)(puVar11 + 0x2f7bc))(iVar5 + iVar2,1,iVar9 - iVar2,param_3);
      iVar2 = iVar2 + iVar6;
      iVar10 = iVar5;
    } while (iVar6 != 0);
    *(undefined1 *)(iVar5 + iVar2) = 0;
    if ((iVar9 != iVar2) &&
       (iVar10 = (**(code **)(puVar11 + 0x2f5c8))(iVar5,iVar2 + 1), iVar10 == 0)) {
      (**(code **)(puVar11 + 0x2f68c))(iVar5);
      return 0xe;
    }
    if (iVar2 == 0) {
      (**(code **)(puVar11 + 0x2f68c))(iVar10);
      iVar10 = 0;
    }
  }
  *piVar8 = iVar2;
  *piVar7 = iVar10;
  return 0;
}


lui gp,0x3
addiu gp,gp,0x7554
addu gp,gp,t9
addiu sp,sp,-0x140
sw ra,0x13c(sp)
sw s6,0x138(sp)
sw s5,0x134(sp)
sw s4,0x130(sp)
sw s3,0x12c(sp)
sw s2,0x128(sp)
sw s1,0x124(sp)
sw s0,0x120(sp)
sw gp,0x10(sp)
or s6,a0,zero
or s5,a1,zero
lw v0,-0x7c44(gp)
lw v0,0x0(v0)
sw v0,0x11c(sp)
beq a1,zero,0x00025bf4
_or s2,zero,zero
or s4,zero,zero
b 0x00025b6c
_addiu s0,sp,0x1c
lw t9,-0x7c8c(gp)
jalr t9
_nop
lw gp,0x10(sp)
addu s3,s2,v0
addiu a1,s3,0x1
or a0,s4,zero
lw t9,-0x7e08(gp)
jalr t9
_nop
lw gp,0x10(sp)
beq v0,zero,0x00025bd4
_or s1,v0,zero
or a1,s0,zero
addu a0,v0,s2
lw t9,-0x7df0(gp)
jalr t9
_nop
lw gp,0x10(sp)
or s2,s3,zero
or s4,s1,zero
or a2,s5,zero
li a1,0x100
or a0,s0,zero
lw t9,-0x7c70(gp)
jalr t9
_nop
lw gp,0x10(sp)
beq v0,zero,0x00025bf0
_li a1,0xd
or a0,s0,zero
lw t9,-0x7cf0(gp)
jalr t9
_nop
lw gp,0x10(sp)
beq v0,zero,0x00025bb0
_li a1,0xa
sb zero,0x0(v0)
or a0,s0,zero
lw t9,-0x7cf0(gp)
jalr t9
_nop
lw gp,0x10(sp)
beq v0,zero,0x00025b18
_or a0,s0,zero
b 0x00025b18
_sb zero,0x0(v0)
or a0,s4,zero
lw t9,-0x7d44(gp)
jalr t9
_nop
lw gp,0x10(sp)
b 0x00025bfc
_li v0,0xe
or s5,s4,zero
sw s5,0x0(s6)
or v0,zero,zero
lw a0,0x11c(sp)
lw v1,-0x7c44(gp)
lw v1,0x0(v1)
bne a0,v1,0x00025c34
_lw ra,0x13c(sp)
lw s6,0x138(sp)
lw s5,0x134(sp)
lw s4,0x130(sp)
lw s3,0x12c(sp)
lw s2,0x128(sp)
lw s1,0x124(sp)
lw s0,0x120(sp)
jr ra
_addiu sp,sp,0x140
lw t9,-0x7d24(gp)
jalr t9
_nop
(translation_unit "undefined4 file2string(int *param_1,int *param_2,int *param_3)\n\n{\n  int *piVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int iVar6;\n  int *piVar7;\n  int *piVar8;\n  int iVar9;\n  int iVar10;\n  undefined *puVar11;\n  undefined1 auStack_124 [256];\n  int *local_24;\n  \n  local_24 = *(int **)PTR___stack_chk_guard_000553cc;\n  piVar8 = param_2;\n  piVar7 = param_2;\n  if (param_2 != (int *)0x0) {\n    iVar10 = 0;\n    piVar7 = (int *)0x0;\n    while( true ) {\n      param_3 = param_2;\n      iVar2 = (*(code *)PTR_fgets_000553a0)(auStack_124,0x100);\n      piVar8 = (int *)0xd;\n      if (iVar2 == 0) break;\n      puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124);\n      if (puVar3 != (undefined1 *)0x0) {\n        *puVar3 = 0;\n      }\n      puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124,10);\n      if (puVar3 != (undefined1 *)0x0) {\n        *puVar3 = 0;\n      }\n      iVar2 = (*(code *)PTR_strlen_00055384)(auStack_124);\n      piVar8 = (int *)(iVar10 + iVar2 + 1);\n      piVar1 = (int *)(*(code *)PTR_realloc_00055208)(piVar7);\n      if (piVar1 == (int *)0x0) {\n        (*(code *)PTR_free_000552cc)(piVar7);\n        uVar4 = 0xe;\n        goto LAB_00025bfc;\n      }\n      (*(code *)PTR_strcpy_00055220)((int)piVar1 + iVar10,auStack_124);\n      iVar10 = iVar10 + iVar2;\n      piVar7 = piVar1;\n    }\n  }\n  *param_1 = (int)piVar7;\n  uVar4 = 0;\nLAB_00025bfc:\n  if (local_24 == *(int **)PTR___stack_chk_guard_000553cc) {\n    return uVar4;\n  }\n  piVar7 = local_24;\n  puVar11 = PTR___stack_chk_fail_000552ec;\n  (*(code *)PTR___stack_chk_fail_000552ec)();\n  if (param_3 == (int *)0x0) {\n    iVar2 = 0;\n    iVar10 = 0;\n  }\n  else {\n    iVar9 = 0x200;\n    iVar2 = 0;\n    iVar10 = 0;\n    do {\n      iVar6 = iVar9 + 1;\n      if ((iVar10 == 0) || (iVar5 = iVar10, iVar2 == iVar9)) {\n        iVar9 = iVar9 * 2;\n        if (iVar6 < 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n        iVar5 = (**(code **)(puVar11 + 0x2f5c8))(iVar10,iVar9 + 1);\n        if (iVar5 == 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n      }\n      iVar6 = (**(code **)(puVar11 + 0x2f7bc))(iVar5 + iVar2,1,iVar9 - iVar2,param_3);\n      iVar2 = iVar2 + iVar6;\n      iVar10 = iVar5;\n    } while (iVar6 != 0);\n    *(undefined1 *)(iVar5 + iVar2) = 0;\n    if ((iVar9 != iVar2) &&\n       (iVar10 = (**(code **)(puVar11 + 0x2f5c8))(iVar5,iVar2 + 1), iVar10 == 0)) {\n      (**(code **)(puVar11 + 0x2f68c))(iVar5);\n      return 0xe;\n    }\n    if (iVar2 == 0) {\n      (**(code **)(puVar11 + 0x2f68c))(iVar10);\n      iVar10 = 0;\n    }\n  }\n  *piVar8 = iVar2;\n  *piVar7 = iVar10;\n  return 0;\n}\n\n" (function_definition "undefined4 file2string(int *param_1,int *param_2,int *param_3)\n\n{\n  int *piVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int iVar6;\n  int *piVar7;\n  int *piVar8;\n  int iVar9;\n  int iVar10;\n  undefined *puVar11;\n  undefined1 auStack_124 [256];\n  int *local_24;\n  \n  local_24 = *(int **)PTR___stack_chk_guard_000553cc;\n  piVar8 = param_2;\n  piVar7 = param_2;\n  if (param_2 != (int *)0x0) {\n    iVar10 = 0;\n    piVar7 = (int *)0x0;\n    while( true ) {\n      param_3 = param_2;\n      iVar2 = (*(code *)PTR_fgets_000553a0)(auStack_124,0x100);\n      piVar8 = (int *)0xd;\n      if (iVar2 == 0) break;\n      puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124);\n      if (puVar3 != (undefined1 *)0x0) {\n        *puVar3 = 0;\n      }\n      puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124,10);\n      if (puVar3 != (undefined1 *)0x0) {\n        *puVar3 = 0;\n      }\n      iVar2 = (*(code *)PTR_strlen_00055384)(auStack_124);\n      piVar8 = (int *)(iVar10 + iVar2 + 1);\n      piVar1 = (int *)(*(code *)PTR_realloc_00055208)(piVar7);\n      if (piVar1 == (int *)0x0) {\n        (*(code *)PTR_free_000552cc)(piVar7);\n        uVar4 = 0xe;\n        goto LAB_00025bfc;\n      }\n      (*(code *)PTR_strcpy_00055220)((int)piVar1 + iVar10,auStack_124);\n      iVar10 = iVar10 + iVar2;\n      piVar7 = piVar1;\n    }\n  }\n  *param_1 = (int)piVar7;\n  uVar4 = 0;\nLAB_00025bfc:\n  if (local_24 == *(int **)PTR___stack_chk_guard_000553cc) {\n    return uVar4;\n  }\n  piVar7 = local_24;\n  puVar11 = PTR___stack_chk_fail_000552ec;\n  (*(code *)PTR___stack_chk_fail_000552ec)();\n  if (param_3 == (int *)0x0) {\n    iVar2 = 0;\n    iVar10 = 0;\n  }\n  else {\n    iVar9 = 0x200;\n    iVar2 = 0;\n    iVar10 = 0;\n    do {\n      iVar6 = iVar9 + 1;\n      if ((iVar10 == 0) || (iVar5 = iVar10, iVar2 == iVar9)) {\n        iVar9 = iVar9 * 2;\n        if (iVar6 < 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n        iVar5 = (**(code **)(puVar11 + 0x2f5c8))(iVar10,iVar9 + 1);\n        if (iVar5 == 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n      }\n      iVar6 = (**(code **)(puVar11 + 0x2f7bc))(iVar5 + iVar2,1,iVar9 - iVar2,param_3);\n      iVar2 = iVar2 + iVar6;\n      iVar10 = iVar5;\n    } while (iVar6 != 0);\n    *(undefined1 *)(iVar5 + iVar2) = 0;\n    if ((iVar9 != iVar2) &&\n       (iVar10 = (**(code **)(puVar11 + 0x2f5c8))(iVar5,iVar2 + 1), iVar10 == 0)) {\n      (**(code **)(puVar11 + 0x2f68c))(iVar5);\n      return 0xe;\n    }\n    if (iVar2 == 0) {\n      (**(code **)(puVar11 + 0x2f68c))(iVar10);\n      iVar10 = 0;\n    }\n  }\n  *piVar8 = iVar2;\n  *piVar7 = iVar10;\n  return 0;\n}" type_identifier (function_declarator "file2string(int *param_1,int *param_2,int *param_3)" identifier (parameter_list "(int *param_1,int *param_2,int *param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int iVar6;\n  int *piVar7;\n  int *piVar8;\n  int iVar9;\n  int iVar10;\n  undefined *puVar11;\n  undefined1 auStack_124 [256];\n  int *local_24;\n  \n  local_24 = *(int **)PTR___stack_chk_guard_000553cc;\n  piVar8 = param_2;\n  piVar7 = param_2;\n  if (param_2 != (int *)0x0) {\n    iVar10 = 0;\n    piVar7 = (int *)0x0;\n    while( true ) {\n      param_3 = param_2;\n      iVar2 = (*(code *)PTR_fgets_000553a0)(auStack_124,0x100);\n      piVar8 = (int *)0xd;\n      if (iVar2 == 0) break;\n      puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124);\n      if (puVar3 != (undefined1 *)0x0) {\n        *puVar3 = 0;\n      }\n      puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124,10);\n      if (puVar3 != (undefined1 *)0x0) {\n        *puVar3 = 0;\n      }\n      iVar2 = (*(code *)PTR_strlen_00055384)(auStack_124);\n      piVar8 = (int *)(iVar10 + iVar2 + 1);\n      piVar1 = (int *)(*(code *)PTR_realloc_00055208)(piVar7);\n      if (piVar1 == (int *)0x0) {\n        (*(code *)PTR_free_000552cc)(piVar7);\n        uVar4 = 0xe;\n        goto LAB_00025bfc;\n      }\n      (*(code *)PTR_strcpy_00055220)((int)piVar1 + iVar10,auStack_124);\n      iVar10 = iVar10 + iVar2;\n      piVar7 = piVar1;\n    }\n  }\n  *param_1 = (int)piVar7;\n  uVar4 = 0;\nLAB_00025bfc:\n  if (local_24 == *(int **)PTR___stack_chk_guard_000553cc) {\n    return uVar4;\n  }\n  piVar7 = local_24;\n  puVar11 = PTR___stack_chk_fail_000552ec;\n  (*(code *)PTR___stack_chk_fail_000552ec)();\n  if (param_3 == (int *)0x0) {\n    iVar2 = 0;\n    iVar10 = 0;\n  }\n  else {\n    iVar9 = 0x200;\n    iVar2 = 0;\n    iVar10 = 0;\n    do {\n      iVar6 = iVar9 + 1;\n      if ((iVar10 == 0) || (iVar5 = iVar10, iVar2 == iVar9)) {\n        iVar9 = iVar9 * 2;\n        if (iVar6 < 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n        iVar5 = (**(code **)(puVar11 + 0x2f5c8))(iVar10,iVar9 + 1);\n        if (iVar5 == 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n      }\n      iVar6 = (**(code **)(puVar11 + 0x2f7bc))(iVar5 + iVar2,1,iVar9 - iVar2,param_3);\n      iVar2 = iVar2 + iVar6;\n      iVar10 = iVar5;\n    } while (iVar6 != 0);\n    *(undefined1 *)(iVar5 + iVar2) = 0;\n    if ((iVar9 != iVar2) &&\n       (iVar10 = (**(code **)(puVar11 + 0x2f5c8))(iVar5,iVar2 + 1), iVar10 == 0)) {\n      (**(code **)(puVar11 + 0x2f68c))(iVar5);\n      return 0xe;\n    }\n    if (iVar2 == 0) {\n      (**(code **)(puVar11 + 0x2f68c))(iVar10);\n      iVar10 = 0;\n    }\n  }\n  *piVar8 = iVar2;\n  *piVar7 = iVar10;\n  return 0;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined1 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "undefined *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "undefined1 auStack_124 [256];" type_identifier (array_declarator "auStack_124 [256]" identifier [ number_literal ]) ;) (declaration "int *local_24;" primitive_type (pointer_declarator "*local_24" * identifier) ;) (expression_statement "local_24 = *(int **)PTR___stack_chk_guard_000553cc;" (assignment_expression "local_24 = *(int **)PTR___stack_chk_guard_000553cc" identifier = (pointer_expression "*(int **)PTR___stack_chk_guard_000553cc" * (cast_expression "(int **)PTR___stack_chk_guard_000553cc" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "piVar8 = param_2;" (assignment_expression "piVar8 = param_2" identifier = identifier) ;) (expression_statement "piVar7 = param_2;" (assignment_expression "piVar7 = param_2" identifier = identifier) ;) (if_statement "if (param_2 != (int *)0x0) {\n    iVar10 = 0;\n    piVar7 = (int *)0x0;\n    while( true ) {\n      param_3 = param_2;\n      iVar2 = (*(code *)PTR_fgets_000553a0)(auStack_124,0x100);\n      piVar8 = (int *)0xd;\n      if (iVar2 == 0) break;\n      puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124);\n      if (puVar3 != (undefined1 *)0x0) {\n        *puVar3 = 0;\n      }\n      puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124,10);\n      if (puVar3 != (undefined1 *)0x0) {\n        *puVar3 = 0;\n      }\n      iVar2 = (*(code *)PTR_strlen_00055384)(auStack_124);\n      piVar8 = (int *)(iVar10 + iVar2 + 1);\n      piVar1 = (int *)(*(code *)PTR_realloc_00055208)(piVar7);\n      if (piVar1 == (int *)0x0) {\n        (*(code *)PTR_free_000552cc)(piVar7);\n        uVar4 = 0xe;\n        goto LAB_00025bfc;\n      }\n      (*(code *)PTR_strcpy_00055220)((int)piVar1 + iVar10,auStack_124);\n      iVar10 = iVar10 + iVar2;\n      piVar7 = piVar1;\n    }\n  }" if (parenthesized_expression "(param_2 != (int *)0x0)" ( (binary_expression "param_2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar10 = 0;\n    piVar7 = (int *)0x0;\n    while( true ) {\n      param_3 = param_2;\n      iVar2 = (*(code *)PTR_fgets_000553a0)(auStack_124,0x100);\n      piVar8 = (int *)0xd;\n      if (iVar2 == 0) break;\n      puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124);\n      if (puVar3 != (undefined1 *)0x0) {\n        *puVar3 = 0;\n      }\n      puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124,10);\n      if (puVar3 != (undefined1 *)0x0) {\n        *puVar3 = 0;\n      }\n      iVar2 = (*(code *)PTR_strlen_00055384)(auStack_124);\n      piVar8 = (int *)(iVar10 + iVar2 + 1);\n      piVar1 = (int *)(*(code *)PTR_realloc_00055208)(piVar7);\n      if (piVar1 == (int *)0x0) {\n        (*(code *)PTR_free_000552cc)(piVar7);\n        uVar4 = 0xe;\n        goto LAB_00025bfc;\n      }\n      (*(code *)PTR_strcpy_00055220)((int)piVar1 + iVar10,auStack_124);\n      iVar10 = iVar10 + iVar2;\n      piVar7 = piVar1;\n    }\n  }" { (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (expression_statement "piVar7 = (int *)0x0;" (assignment_expression "piVar7 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (while_statement "while( true ) {\n      param_3 = param_2;\n      iVar2 = (*(code *)PTR_fgets_000553a0)(auStack_124,0x100);\n      piVar8 = (int *)0xd;\n      if (iVar2 == 0) break;\n      puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124);\n      if (puVar3 != (undefined1 *)0x0) {\n        *puVar3 = 0;\n      }\n      puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124,10);\n      if (puVar3 != (undefined1 *)0x0) {\n        *puVar3 = 0;\n      }\n      iVar2 = (*(code *)PTR_strlen_00055384)(auStack_124);\n      piVar8 = (int *)(iVar10 + iVar2 + 1);\n      piVar1 = (int *)(*(code *)PTR_realloc_00055208)(piVar7);\n      if (piVar1 == (int *)0x0) {\n        (*(code *)PTR_free_000552cc)(piVar7);\n        uVar4 = 0xe;\n        goto LAB_00025bfc;\n      }\n      (*(code *)PTR_strcpy_00055220)((int)piVar1 + iVar10,auStack_124);\n      iVar10 = iVar10 + iVar2;\n      piVar7 = piVar1;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      param_3 = param_2;\n      iVar2 = (*(code *)PTR_fgets_000553a0)(auStack_124,0x100);\n      piVar8 = (int *)0xd;\n      if (iVar2 == 0) break;\n      puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124);\n      if (puVar3 != (undefined1 *)0x0) {\n        *puVar3 = 0;\n      }\n      puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124,10);\n      if (puVar3 != (undefined1 *)0x0) {\n        *puVar3 = 0;\n      }\n      iVar2 = (*(code *)PTR_strlen_00055384)(auStack_124);\n      piVar8 = (int *)(iVar10 + iVar2 + 1);\n      piVar1 = (int *)(*(code *)PTR_realloc_00055208)(piVar7);\n      if (piVar1 == (int *)0x0) {\n        (*(code *)PTR_free_000552cc)(piVar7);\n        uVar4 = 0xe;\n        goto LAB_00025bfc;\n      }\n      (*(code *)PTR_strcpy_00055220)((int)piVar1 + iVar10,auStack_124);\n      iVar10 = iVar10 + iVar2;\n      piVar7 = piVar1;\n    }" { (expression_statement "param_3 = param_2;" (assignment_expression "param_3 = param_2" identifier = identifier) ;) (expression_statement "iVar2 = (*(code *)PTR_fgets_000553a0)(auStack_124,0x100);" (assignment_expression "iVar2 = (*(code *)PTR_fgets_000553a0)(auStack_124,0x100)" identifier = (call_expression "(*(code *)PTR_fgets_000553a0)(auStack_124,0x100)" (parenthesized_expression "(*(code *)PTR_fgets_000553a0)" ( (pointer_expression "*(code *)PTR_fgets_000553a0" * (cast_expression "(code *)PTR_fgets_000553a0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_124,0x100)" ( identifier , number_literal )))) ;) (expression_statement "piVar8 = (int *)0xd;" (assignment_expression "piVar8 = (int *)0xd" identifier = (cast_expression "(int *)0xd" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (iVar2 == 0) break;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124);" (assignment_expression "puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strchr_00055320)(auStack_124)" (parenthesized_expression "(*(code *)PTR_strchr_00055320)" ( (pointer_expression "*(code *)PTR_strchr_00055320" * (cast_expression "(code *)PTR_strchr_00055320" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_124)" ( identifier ))))) ;) (if_statement "if (puVar3 != (undefined1 *)0x0) {\n        *puVar3 = 0;\n      }" if (parenthesized_expression "(puVar3 != (undefined1 *)0x0)" ( (binary_expression "puVar3 != (undefined1 *)0x0" identifier != (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        *puVar3 = 0;\n      }" { (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" * identifier) = number_literal) ;) })) (expression_statement "puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124,10);" (assignment_expression "puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124,10)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124,10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strchr_00055320)(auStack_124,10)" (parenthesized_expression "(*(code *)PTR_strchr_00055320)" ( (pointer_expression "*(code *)PTR_strchr_00055320" * (cast_expression "(code *)PTR_strchr_00055320" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_124,10)" ( identifier , number_literal ))))) ;) (if_statement "if (puVar3 != (undefined1 *)0x0) {\n        *puVar3 = 0;\n      }" if (parenthesized_expression "(puVar3 != (undefined1 *)0x0)" ( (binary_expression "puVar3 != (undefined1 *)0x0" identifier != (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        *puVar3 = 0;\n      }" { (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" * identifier) = number_literal) ;) })) (expression_statement "iVar2 = (*(code *)PTR_strlen_00055384)(auStack_124);" (assignment_expression "iVar2 = (*(code *)PTR_strlen_00055384)(auStack_124)" identifier = (call_expression "(*(code *)PTR_strlen_00055384)(auStack_124)" (parenthesized_expression "(*(code *)PTR_strlen_00055384)" ( (pointer_expression "*(code *)PTR_strlen_00055384" * (cast_expression "(code *)PTR_strlen_00055384" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_124)" ( identifier )))) ;) (expression_statement "piVar8 = (int *)(iVar10 + iVar2 + 1);" (assignment_expression "piVar8 = (int *)(iVar10 + iVar2 + 1)" identifier = (cast_expression "(int *)(iVar10 + iVar2 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + iVar2 + 1)" ( (binary_expression "iVar10 + iVar2 + 1" (binary_expression "iVar10 + iVar2" identifier + identifier) + number_literal) )))) ;) (expression_statement "piVar1 = (int *)(*(code *)PTR_realloc_00055208)(piVar7);" (assignment_expression "piVar1 = (int *)(*(code *)PTR_realloc_00055208)(piVar7)" identifier = (cast_expression "(int *)(*(code *)PTR_realloc_00055208)(piVar7)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_realloc_00055208)(piVar7)" (parenthesized_expression "(*(code *)PTR_realloc_00055208)" ( (pointer_expression "*(code *)PTR_realloc_00055208" * (cast_expression "(code *)PTR_realloc_00055208" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar7)" ( identifier ))))) ;) (if_statement "if (piVar1 == (int *)0x0) {\n        (*(code *)PTR_free_000552cc)(piVar7);\n        uVar4 = 0xe;\n        goto LAB_00025bfc;\n      }" if (parenthesized_expression "(piVar1 == (int *)0x0)" ( (binary_expression "piVar1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        (*(code *)PTR_free_000552cc)(piVar7);\n        uVar4 = 0xe;\n        goto LAB_00025bfc;\n      }" { (expression_statement "(*(code *)PTR_free_000552cc)(piVar7);" (call_expression "(*(code *)PTR_free_000552cc)(piVar7)" (parenthesized_expression "(*(code *)PTR_free_000552cc)" ( (pointer_expression "*(code *)PTR_free_000552cc" * (cast_expression "(code *)PTR_free_000552cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar7)" ( identifier ))) ;) (expression_statement "uVar4 = 0xe;" (assignment_expression "uVar4 = 0xe" identifier = number_literal) ;) (goto_statement "goto LAB_00025bfc;" goto statement_identifier ;) })) (expression_statement "(*(code *)PTR_strcpy_00055220)((int)piVar1 + iVar10,auStack_124);" (call_expression "(*(code *)PTR_strcpy_00055220)((int)piVar1 + iVar10,auStack_124)" (parenthesized_expression "(*(code *)PTR_strcpy_00055220)" ( (pointer_expression "*(code *)PTR_strcpy_00055220" * (cast_expression "(code *)PTR_strcpy_00055220" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((int)piVar1 + iVar10,auStack_124)" ( (binary_expression "(int)piVar1 + iVar10" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) , identifier ))) ;) (expression_statement "iVar10 = iVar10 + iVar2;" (assignment_expression "iVar10 = iVar10 + iVar2" identifier = (binary_expression "iVar10 + iVar2" identifier + identifier)) ;) (expression_statement "piVar7 = piVar1;" (assignment_expression "piVar7 = piVar1" identifier = identifier) ;) })) })) (expression_statement "*param_1 = (int)piVar7;" (assignment_expression "*param_1 = (int)piVar7" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)piVar7" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (labeled_statement "LAB_00025bfc:\n  if (local_24 == *(int **)PTR___stack_chk_guard_000553cc) {\n    return uVar4;\n  }" statement_identifier : (if_statement "if (local_24 == *(int **)PTR___stack_chk_guard_000553cc) {\n    return uVar4;\n  }" if (parenthesized_expression "(local_24 == *(int **)PTR___stack_chk_guard_000553cc)" ( (binary_expression "local_24 == *(int **)PTR___stack_chk_guard_000553cc" identifier == (pointer_expression "*(int **)PTR___stack_chk_guard_000553cc" * (cast_expression "(int **)PTR___stack_chk_guard_000553cc" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return uVar4;\n  }" { (return_statement "return uVar4;" return identifier ;) }))) (expression_statement "piVar7 = local_24;" (assignment_expression "piVar7 = local_24" identifier = identifier) ;) (expression_statement "puVar11 = PTR___stack_chk_fail_000552ec;" (assignment_expression "puVar11 = PTR___stack_chk_fail_000552ec" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000552ec)();" (call_expression "(*(code *)PTR___stack_chk_fail_000552ec)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000552ec)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000552ec" * (cast_expression "(code *)PTR___stack_chk_fail_000552ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (param_3 == (int *)0x0) {\n    iVar2 = 0;\n    iVar10 = 0;\n  }\n  else {\n    iVar9 = 0x200;\n    iVar2 = 0;\n    iVar10 = 0;\n    do {\n      iVar6 = iVar9 + 1;\n      if ((iVar10 == 0) || (iVar5 = iVar10, iVar2 == iVar9)) {\n        iVar9 = iVar9 * 2;\n        if (iVar6 < 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n        iVar5 = (**(code **)(puVar11 + 0x2f5c8))(iVar10,iVar9 + 1);\n        if (iVar5 == 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n      }\n      iVar6 = (**(code **)(puVar11 + 0x2f7bc))(iVar5 + iVar2,1,iVar9 - iVar2,param_3);\n      iVar2 = iVar2 + iVar6;\n      iVar10 = iVar5;\n    } while (iVar6 != 0);\n    *(undefined1 *)(iVar5 + iVar2) = 0;\n    if ((iVar9 != iVar2) &&\n       (iVar10 = (**(code **)(puVar11 + 0x2f5c8))(iVar5,iVar2 + 1), iVar10 == 0)) {\n      (**(code **)(puVar11 + 0x2f68c))(iVar5);\n      return 0xe;\n    }\n    if (iVar2 == 0) {\n      (**(code **)(puVar11 + 0x2f68c))(iVar10);\n      iVar10 = 0;\n    }\n  }" if (parenthesized_expression "(param_3 == (int *)0x0)" ( (binary_expression "param_3 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar2 = 0;\n    iVar10 = 0;\n  }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    iVar9 = 0x200;\n    iVar2 = 0;\n    iVar10 = 0;\n    do {\n      iVar6 = iVar9 + 1;\n      if ((iVar10 == 0) || (iVar5 = iVar10, iVar2 == iVar9)) {\n        iVar9 = iVar9 * 2;\n        if (iVar6 < 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n        iVar5 = (**(code **)(puVar11 + 0x2f5c8))(iVar10,iVar9 + 1);\n        if (iVar5 == 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n      }\n      iVar6 = (**(code **)(puVar11 + 0x2f7bc))(iVar5 + iVar2,1,iVar9 - iVar2,param_3);\n      iVar2 = iVar2 + iVar6;\n      iVar10 = iVar5;\n    } while (iVar6 != 0);\n    *(undefined1 *)(iVar5 + iVar2) = 0;\n    if ((iVar9 != iVar2) &&\n       (iVar10 = (**(code **)(puVar11 + 0x2f5c8))(iVar5,iVar2 + 1), iVar10 == 0)) {\n      (**(code **)(puVar11 + 0x2f68c))(iVar5);\n      return 0xe;\n    }\n    if (iVar2 == 0) {\n      (**(code **)(puVar11 + 0x2f68c))(iVar10);\n      iVar10 = 0;\n    }\n  }" else (compound_statement "{\n    iVar9 = 0x200;\n    iVar2 = 0;\n    iVar10 = 0;\n    do {\n      iVar6 = iVar9 + 1;\n      if ((iVar10 == 0) || (iVar5 = iVar10, iVar2 == iVar9)) {\n        iVar9 = iVar9 * 2;\n        if (iVar6 < 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n        iVar5 = (**(code **)(puVar11 + 0x2f5c8))(iVar10,iVar9 + 1);\n        if (iVar5 == 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n      }\n      iVar6 = (**(code **)(puVar11 + 0x2f7bc))(iVar5 + iVar2,1,iVar9 - iVar2,param_3);\n      iVar2 = iVar2 + iVar6;\n      iVar10 = iVar5;\n    } while (iVar6 != 0);\n    *(undefined1 *)(iVar5 + iVar2) = 0;\n    if ((iVar9 != iVar2) &&\n       (iVar10 = (**(code **)(puVar11 + 0x2f5c8))(iVar5,iVar2 + 1), iVar10 == 0)) {\n      (**(code **)(puVar11 + 0x2f68c))(iVar5);\n      return 0xe;\n    }\n    if (iVar2 == 0) {\n      (**(code **)(puVar11 + 0x2f68c))(iVar10);\n      iVar10 = 0;\n    }\n  }" { (expression_statement "iVar9 = 0x200;" (assignment_expression "iVar9 = 0x200" identifier = number_literal) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar6 = iVar9 + 1;\n      if ((iVar10 == 0) || (iVar5 = iVar10, iVar2 == iVar9)) {\n        iVar9 = iVar9 * 2;\n        if (iVar6 < 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n        iVar5 = (**(code **)(puVar11 + 0x2f5c8))(iVar10,iVar9 + 1);\n        if (iVar5 == 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n      }\n      iVar6 = (**(code **)(puVar11 + 0x2f7bc))(iVar5 + iVar2,1,iVar9 - iVar2,param_3);\n      iVar2 = iVar2 + iVar6;\n      iVar10 = iVar5;\n    } while (iVar6 != 0);" do (compound_statement "{\n      iVar6 = iVar9 + 1;\n      if ((iVar10 == 0) || (iVar5 = iVar10, iVar2 == iVar9)) {\n        iVar9 = iVar9 * 2;\n        if (iVar6 < 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n        iVar5 = (**(code **)(puVar11 + 0x2f5c8))(iVar10,iVar9 + 1);\n        if (iVar5 == 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n      }\n      iVar6 = (**(code **)(puVar11 + 0x2f7bc))(iVar5 + iVar2,1,iVar9 - iVar2,param_3);\n      iVar2 = iVar2 + iVar6;\n      iVar10 = iVar5;\n    }" { (expression_statement "iVar6 = iVar9 + 1;" (assignment_expression "iVar6 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) (if_statement "if ((iVar10 == 0) || (iVar5 = iVar10, iVar2 == iVar9)) {\n        iVar9 = iVar9 * 2;\n        if (iVar6 < 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n        iVar5 = (**(code **)(puVar11 + 0x2f5c8))(iVar10,iVar9 + 1);\n        if (iVar5 == 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n      }" if (parenthesized_expression "((iVar10 == 0) || (iVar5 = iVar10, iVar2 == iVar9))" ( (binary_expression "(iVar10 == 0) || (iVar5 = iVar10, iVar2 == iVar9)" (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar5 = iVar10, iVar2 == iVar9)" ( (comma_expression "iVar5 = iVar10, iVar2 == iVar9" (assignment_expression "iVar5 = iVar10" identifier = identifier) , (binary_expression "iVar2 == iVar9" identifier == identifier)) ))) )) (compound_statement "{\n        iVar9 = iVar9 * 2;\n        if (iVar6 < 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n        iVar5 = (**(code **)(puVar11 + 0x2f5c8))(iVar10,iVar9 + 1);\n        if (iVar5 == 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n      }" { (expression_statement "iVar9 = iVar9 * 2;" (assignment_expression "iVar9 = iVar9 * 2" identifier = (binary_expression "iVar9 * 2" identifier * number_literal)) ;) (if_statement "if (iVar6 < 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }" if (parenthesized_expression "(iVar6 < 0)" ( (binary_expression "iVar6 < 0" identifier < number_literal) )) (compound_statement "{\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }" { (expression_statement "(**(code **)(puVar11 + 0x2f68c))(iVar10);" (call_expression "(**(code **)(puVar11 + 0x2f68c))(iVar10)" (parenthesized_expression "(**(code **)(puVar11 + 0x2f68c))" ( (pointer_expression "**(code **)(puVar11 + 0x2f68c)" * (pointer_expression "*(code **)(puVar11 + 0x2f68c)" * (cast_expression "(code **)(puVar11 + 0x2f68c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0x2f68c)" ( (binary_expression "puVar11 + 0x2f68c" identifier + number_literal) ))))) )) (argument_list "(iVar10)" ( identifier ))) ;) (return_statement "return 0xe;" return number_literal ;) })) (expression_statement "iVar5 = (**(code **)(puVar11 + 0x2f5c8))(iVar10,iVar9 + 1);" (assignment_expression "iVar5 = (**(code **)(puVar11 + 0x2f5c8))(iVar10,iVar9 + 1)" identifier = (call_expression "(**(code **)(puVar11 + 0x2f5c8))(iVar10,iVar9 + 1)" (parenthesized_expression "(**(code **)(puVar11 + 0x2f5c8))" ( (pointer_expression "**(code **)(puVar11 + 0x2f5c8)" * (pointer_expression "*(code **)(puVar11 + 0x2f5c8)" * (cast_expression "(code **)(puVar11 + 0x2f5c8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0x2f5c8)" ( (binary_expression "puVar11 + 0x2f5c8" identifier + number_literal) ))))) )) (argument_list "(iVar10,iVar9 + 1)" ( identifier , (binary_expression "iVar9 + 1" identifier + number_literal) )))) ;) (if_statement "if (iVar5 == 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }" { (expression_statement "(**(code **)(puVar11 + 0x2f68c))(iVar10);" (call_expression "(**(code **)(puVar11 + 0x2f68c))(iVar10)" (parenthesized_expression "(**(code **)(puVar11 + 0x2f68c))" ( (pointer_expression "**(code **)(puVar11 + 0x2f68c)" * (pointer_expression "*(code **)(puVar11 + 0x2f68c)" * (cast_expression "(code **)(puVar11 + 0x2f68c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0x2f68c)" ( (binary_expression "puVar11 + 0x2f68c" identifier + number_literal) ))))) )) (argument_list "(iVar10)" ( identifier ))) ;) (return_statement "return 0xe;" return number_literal ;) })) })) (expression_statement "iVar6 = (**(code **)(puVar11 + 0x2f7bc))(iVar5 + iVar2,1,iVar9 - iVar2,param_3);" (assignment_expression "iVar6 = (**(code **)(puVar11 + 0x2f7bc))(iVar5 + iVar2,1,iVar9 - iVar2,param_3)" identifier = (call_expression "(**(code **)(puVar11 + 0x2f7bc))(iVar5 + iVar2,1,iVar9 - iVar2,param_3)" (parenthesized_expression "(**(code **)(puVar11 + 0x2f7bc))" ( (pointer_expression "**(code **)(puVar11 + 0x2f7bc)" * (pointer_expression "*(code **)(puVar11 + 0x2f7bc)" * (cast_expression "(code **)(puVar11 + 0x2f7bc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0x2f7bc)" ( (binary_expression "puVar11 + 0x2f7bc" identifier + number_literal) ))))) )) (argument_list "(iVar5 + iVar2,1,iVar9 - iVar2,param_3)" ( (binary_expression "iVar5 + iVar2" identifier + identifier) , number_literal , (binary_expression "iVar9 - iVar2" identifier - identifier) , identifier )))) ;) (expression_statement "iVar2 = iVar2 + iVar6;" (assignment_expression "iVar2 = iVar2 + iVar6" identifier = (binary_expression "iVar2 + iVar6" identifier + identifier)) ;) (expression_statement "iVar10 = iVar5;" (assignment_expression "iVar10 = iVar5" identifier = identifier) ;) }) while (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) ;) (expression_statement "*(undefined1 *)(iVar5 + iVar2) = 0;" (assignment_expression "*(undefined1 *)(iVar5 + iVar2) = 0" (pointer_expression "*(undefined1 *)(iVar5 + iVar2)" * (cast_expression "(undefined1 *)(iVar5 + iVar2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + iVar2)" ( (binary_expression "iVar5 + iVar2" identifier + identifier) )))) = number_literal) ;) (if_statement "if ((iVar9 != iVar2) &&\n       (iVar10 = (**(code **)(puVar11 + 0x2f5c8))(iVar5,iVar2 + 1), iVar10 == 0)) {\n      (**(code **)(puVar11 + 0x2f68c))(iVar5);\n      return 0xe;\n    }" if (parenthesized_expression "((iVar9 != iVar2) &&\n       (iVar10 = (**(code **)(puVar11 + 0x2f5c8))(iVar5,iVar2 + 1), iVar10 == 0))" ( (binary_expression "(iVar9 != iVar2) &&\n       (iVar10 = (**(code **)(puVar11 + 0x2f5c8))(iVar5,iVar2 + 1), iVar10 == 0)" (parenthesized_expression "(iVar9 != iVar2)" ( (binary_expression "iVar9 != iVar2" identifier != identifier) )) && (parenthesized_expression "(iVar10 = (**(code **)(puVar11 + 0x2f5c8))(iVar5,iVar2 + 1), iVar10 == 0)" ( (comma_expression "iVar10 = (**(code **)(puVar11 + 0x2f5c8))(iVar5,iVar2 + 1), iVar10 == 0" (assignment_expression "iVar10 = (**(code **)(puVar11 + 0x2f5c8))(iVar5,iVar2 + 1)" identifier = (call_expression "(**(code **)(puVar11 + 0x2f5c8))(iVar5,iVar2 + 1)" (parenthesized_expression "(**(code **)(puVar11 + 0x2f5c8))" ( (pointer_expression "**(code **)(puVar11 + 0x2f5c8)" * (pointer_expression "*(code **)(puVar11 + 0x2f5c8)" * (cast_expression "(code **)(puVar11 + 0x2f5c8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0x2f5c8)" ( (binary_expression "puVar11 + 0x2f5c8" identifier + number_literal) ))))) )) (argument_list "(iVar5,iVar2 + 1)" ( identifier , (binary_expression "iVar2 + 1" identifier + number_literal) )))) , (binary_expression "iVar10 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      (**(code **)(puVar11 + 0x2f68c))(iVar5);\n      return 0xe;\n    }" { (expression_statement "(**(code **)(puVar11 + 0x2f68c))(iVar5);" (call_expression "(**(code **)(puVar11 + 0x2f68c))(iVar5)" (parenthesized_expression "(**(code **)(puVar11 + 0x2f68c))" ( (pointer_expression "**(code **)(puVar11 + 0x2f68c)" * (pointer_expression "*(code **)(puVar11 + 0x2f68c)" * (cast_expression "(code **)(puVar11 + 0x2f68c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0x2f68c)" ( (binary_expression "puVar11 + 0x2f68c" identifier + number_literal) ))))) )) (argument_list "(iVar5)" ( identifier ))) ;) (return_statement "return 0xe;" return number_literal ;) })) (if_statement "if (iVar2 == 0) {\n      (**(code **)(puVar11 + 0x2f68c))(iVar10);\n      iVar10 = 0;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      (**(code **)(puVar11 + 0x2f68c))(iVar10);\n      iVar10 = 0;\n    }" { (expression_statement "(**(code **)(puVar11 + 0x2f68c))(iVar10);" (call_expression "(**(code **)(puVar11 + 0x2f68c))(iVar10)" (parenthesized_expression "(**(code **)(puVar11 + 0x2f68c))" ( (pointer_expression "**(code **)(puVar11 + 0x2f68c)" * (pointer_expression "*(code **)(puVar11 + 0x2f68c)" * (cast_expression "(code **)(puVar11 + 0x2f68c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0x2f68c)" ( (binary_expression "puVar11 + 0x2f68c" identifier + number_literal) ))))) )) (argument_list "(iVar10)" ( identifier ))) ;) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) })) }))) (expression_statement "*piVar8 = iVar2;" (assignment_expression "*piVar8 = iVar2" (pointer_expression "*piVar8" * identifier) = identifier) ;) (expression_statement "*piVar7 = iVar10;" (assignment_expression "*piVar7 = iVar10" (pointer_expression "*piVar7" * identifier) = identifier) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "ParameterError file2string(char **bufp,FILE *file)\n\n{\n  int *piVar1;\n  FILE *pFVar2;\n  int iVar3;\n  undefined1 *puVar4;\n  ParameterError PVar5;\n  int iVar6;\n  int iVar7;\n  FILE *pFVar8;\n  FILE *in_a2;\n  int iVar9;\n  int iVar10;\n  FILE *pFVar11;\n  undefined *puVar12;\n  char buffer [256];\n  \n  piVar1 = *(int **)PTR___stack_chk_guard_000553cc;\n  pFVar8 = file;\n  pFVar11 = file;\n  if (file != (FILE *)0x0) {\n    iVar10 = 0;\n    pFVar11 = (FILE *)0x0;\n    while( true ) {\n      in_a2 = file;\n      iVar3 = (*(code *)PTR_fgets_000553a0)(buffer,0x100);\n      pFVar8 = (FILE *)0xd;\n      if (iVar3 == 0) break;\n      puVar4 = (undefined1 *)(*(code *)PTR_strchr_00055320)(buffer);\n      if (puVar4 != (undefined1 *)0x0) {\n        *puVar4 = 0;\n      }\n      puVar4 = (undefined1 *)(*(code *)PTR_strchr_00055320)(buffer,10);\n      if (puVar4 != (undefined1 *)0x0) {\n        *puVar4 = 0;\n      }\n      iVar3 = (*(code *)PTR_strlen_00055384)(buffer);\n      pFVar8 = (FILE *)(iVar10 + iVar3 + 1);\n      pFVar2 = (FILE *)(*(code *)PTR_realloc_00055208)(pFVar11);\n      if (pFVar2 == (FILE *)0x0) {\n        (*(code *)PTR_free_000552cc)(pFVar11);\n        PVar5 = PARAM_NO_MEM;\n        goto LAB_00025bfc;\n      }\n      (*(code *)PTR_strcpy_00055220)(pFVar2->_shortbuf + iVar10 + -0x47,buffer);\n      iVar10 = iVar10 + iVar3;\n      pFVar11 = pFVar2;\n    }\n  }\n  *bufp = (char *)pFVar11;\n  PVar5 = PARAM_OK;\nLAB_00025bfc:\n  if (piVar1 == *(int **)PTR___stack_chk_guard_000553cc) {\n    return PVar5;\n  }\n  puVar12 = PTR___stack_chk_fail_000552ec;\n  (*(code *)PTR___stack_chk_fail_000552ec)();\n  if (in_a2 == (FILE *)0x0) {\n    iVar3 = 0;\n    iVar10 = 0;\n  }\n  else {\n    iVar9 = 0x200;\n    iVar3 = 0;\n    iVar10 = 0;\n    do {\n      iVar7 = iVar9 + 1;\n      if ((iVar10 == 0) || (iVar6 = iVar10, iVar3 == iVar9)) {\n        iVar9 = iVar9 * 2;\n        if (iVar7 < 0) {\n          (**(code **)(puVar12 + 0x2f68c))(iVar10);\n          return PARAM_NO_MEM;\n        }\n        iVar6 = (**(code **)(puVar12 + 0x2f5c8))(iVar10,iVar9 + 1);\n        if (iVar6 == 0) {\n          (**(code **)(puVar12 + 0x2f68c))(iVar10);\n          return PARAM_NO_MEM;\n        }\n      }\n      iVar7 = (**(code **)(puVar12 + 0x2f7bc))(iVar6 + iVar3,1,iVar9 - iVar3,in_a2);\n      iVar3 = iVar3 + iVar7;\n      iVar10 = iVar6;\n    } while (iVar7 != 0);\n    *(undefined1 *)(iVar6 + iVar3) = 0;\n    if ((iVar9 != iVar3) &&\n       (iVar10 = (**(code **)(puVar12 + 0x2f5c8))(iVar6,iVar3 + 1), iVar10 == 0)) {\n      (**(code **)(puVar12 + 0x2f68c))(iVar6);\n      return PARAM_NO_MEM;\n    }\n    if (iVar3 == 0) {\n      (**(code **)(puVar12 + 0x2f68c))(iVar10);\n      iVar10 = 0;\n    }\n  }\n  pFVar8->_flags = iVar3;\n  *piVar1 = iVar10;\n  return PARAM_OK;\n}\n\n" (function_definition "ParameterError file2string(char **bufp,FILE *file)\n\n{\n  int *piVar1;\n  FILE *pFVar2;\n  int iVar3;\n  undefined1 *puVar4;\n  ParameterError PVar5;\n  int iVar6;\n  int iVar7;\n  FILE *pFVar8;\n  FILE *in_a2;\n  int iVar9;\n  int iVar10;\n  FILE *pFVar11;\n  undefined *puVar12;\n  char buffer [256];\n  \n  piVar1 = *(int **)PTR___stack_chk_guard_000553cc;\n  pFVar8 = file;\n  pFVar11 = file;\n  if (file != (FILE *)0x0) {\n    iVar10 = 0;\n    pFVar11 = (FILE *)0x0;\n    while( true ) {\n      in_a2 = file;\n      iVar3 = (*(code *)PTR_fgets_000553a0)(buffer,0x100);\n      pFVar8 = (FILE *)0xd;\n      if (iVar3 == 0) break;\n      puVar4 = (undefined1 *)(*(code *)PTR_strchr_00055320)(buffer);\n      if (puVar4 != (undefined1 *)0x0) {\n        *puVar4 = 0;\n      }\n      puVar4 = (undefined1 *)(*(code *)PTR_strchr_00055320)(buffer,10);\n      if (puVar4 != (undefined1 *)0x0) {\n        *puVar4 = 0;\n      }\n      iVar3 = (*(code *)PTR_strlen_00055384)(buffer);\n      pFVar8 = (FILE *)(iVar10 + iVar3 + 1);\n      pFVar2 = (FILE *)(*(code *)PTR_realloc_00055208)(pFVar11);\n      if (pFVar2 == (FILE *)0x0) {\n        (*(code *)PTR_free_000552cc)(pFVar11);\n        PVar5 = PARAM_NO_MEM;\n        goto LAB_00025bfc;\n      }\n      (*(code *)PTR_strcpy_00055220)(pFVar2->_shortbuf + iVar10 + -0x47,buffer);\n      iVar10 = iVar10 + iVar3;\n      pFVar11 = pFVar2;\n    }\n  }\n  *bufp = (char *)pFVar11;\n  PVar5 = PARAM_OK;\nLAB_00025bfc:\n  if (piVar1 == *(int **)PTR___stack_chk_guard_000553cc) {\n    return PVar5;\n  }\n  puVar12 = PTR___stack_chk_fail_000552ec;\n  (*(code *)PTR___stack_chk_fail_000552ec)();\n  if (in_a2 == (FILE *)0x0) {\n    iVar3 = 0;\n    iVar10 = 0;\n  }\n  else {\n    iVar9 = 0x200;\n    iVar3 = 0;\n    iVar10 = 0;\n    do {\n      iVar7 = iVar9 + 1;\n      if ((iVar10 == 0) || (iVar6 = iVar10, iVar3 == iVar9)) {\n        iVar9 = iVar9 * 2;\n        if (iVar7 < 0) {\n          (**(code **)(puVar12 + 0x2f68c))(iVar10);\n          return PARAM_NO_MEM;\n        }\n        iVar6 = (**(code **)(puVar12 + 0x2f5c8))(iVar10,iVar9 + 1);\n        if (iVar6 == 0) {\n          (**(code **)(puVar12 + 0x2f68c))(iVar10);\n          return PARAM_NO_MEM;\n        }\n      }\n      iVar7 = (**(code **)(puVar12 + 0x2f7bc))(iVar6 + iVar3,1,iVar9 - iVar3,in_a2);\n      iVar3 = iVar3 + iVar7;\n      iVar10 = iVar6;\n    } while (iVar7 != 0);\n    *(undefined1 *)(iVar6 + iVar3) = 0;\n    if ((iVar9 != iVar3) &&\n       (iVar10 = (**(code **)(puVar12 + 0x2f5c8))(iVar6,iVar3 + 1), iVar10 == 0)) {\n      (**(code **)(puVar12 + 0x2f68c))(iVar6);\n      return PARAM_NO_MEM;\n    }\n    if (iVar3 == 0) {\n      (**(code **)(puVar12 + 0x2f68c))(iVar10);\n      iVar10 = 0;\n    }\n  }\n  pFVar8->_flags = iVar3;\n  *piVar1 = iVar10;\n  return PARAM_OK;\n}" type_identifier (function_declarator "file2string(char **bufp,FILE *file)" identifier (parameter_list "(char **bufp,FILE *file)" ( (parameter_declaration "char **bufp" primitive_type (pointer_declarator "**bufp" * (pointer_declarator "*bufp" * identifier))) , (parameter_declaration "FILE *file" type_identifier (pointer_declarator "*file" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  FILE *pFVar2;\n  int iVar3;\n  undefined1 *puVar4;\n  ParameterError PVar5;\n  int iVar6;\n  int iVar7;\n  FILE *pFVar8;\n  FILE *in_a2;\n  int iVar9;\n  int iVar10;\n  FILE *pFVar11;\n  undefined *puVar12;\n  char buffer [256];\n  \n  piVar1 = *(int **)PTR___stack_chk_guard_000553cc;\n  pFVar8 = file;\n  pFVar11 = file;\n  if (file != (FILE *)0x0) {\n    iVar10 = 0;\n    pFVar11 = (FILE *)0x0;\n    while( true ) {\n      in_a2 = file;\n      iVar3 = (*(code *)PTR_fgets_000553a0)(buffer,0x100);\n      pFVar8 = (FILE *)0xd;\n      if (iVar3 == 0) break;\n      puVar4 = (undefined1 *)(*(code *)PTR_strchr_00055320)(buffer);\n      if (puVar4 != (undefined1 *)0x0) {\n        *puVar4 = 0;\n      }\n      puVar4 = (undefined1 *)(*(code *)PTR_strchr_00055320)(buffer,10);\n      if (puVar4 != (undefined1 *)0x0) {\n        *puVar4 = 0;\n      }\n      iVar3 = (*(code *)PTR_strlen_00055384)(buffer);\n      pFVar8 = (FILE *)(iVar10 + iVar3 + 1);\n      pFVar2 = (FILE *)(*(code *)PTR_realloc_00055208)(pFVar11);\n      if (pFVar2 == (FILE *)0x0) {\n        (*(code *)PTR_free_000552cc)(pFVar11);\n        PVar5 = PARAM_NO_MEM;\n        goto LAB_00025bfc;\n      }\n      (*(code *)PTR_strcpy_00055220)(pFVar2->_shortbuf + iVar10 + -0x47,buffer);\n      iVar10 = iVar10 + iVar3;\n      pFVar11 = pFVar2;\n    }\n  }\n  *bufp = (char *)pFVar11;\n  PVar5 = PARAM_OK;\nLAB_00025bfc:\n  if (piVar1 == *(int **)PTR___stack_chk_guard_000553cc) {\n    return PVar5;\n  }\n  puVar12 = PTR___stack_chk_fail_000552ec;\n  (*(code *)PTR___stack_chk_fail_000552ec)();\n  if (in_a2 == (FILE *)0x0) {\n    iVar3 = 0;\n    iVar10 = 0;\n  }\n  else {\n    iVar9 = 0x200;\n    iVar3 = 0;\n    iVar10 = 0;\n    do {\n      iVar7 = iVar9 + 1;\n      if ((iVar10 == 0) || (iVar6 = iVar10, iVar3 == iVar9)) {\n        iVar9 = iVar9 * 2;\n        if (iVar7 < 0) {\n          (**(code **)(puVar12 + 0x2f68c))(iVar10);\n          return PARAM_NO_MEM;\n        }\n        iVar6 = (**(code **)(puVar12 + 0x2f5c8))(iVar10,iVar9 + 1);\n        if (iVar6 == 0) {\n          (**(code **)(puVar12 + 0x2f68c))(iVar10);\n          return PARAM_NO_MEM;\n        }\n      }\n      iVar7 = (**(code **)(puVar12 + 0x2f7bc))(iVar6 + iVar3,1,iVar9 - iVar3,in_a2);\n      iVar3 = iVar3 + iVar7;\n      iVar10 = iVar6;\n    } while (iVar7 != 0);\n    *(undefined1 *)(iVar6 + iVar3) = 0;\n    if ((iVar9 != iVar3) &&\n       (iVar10 = (**(code **)(puVar12 + 0x2f5c8))(iVar6,iVar3 + 1), iVar10 == 0)) {\n      (**(code **)(puVar12 + 0x2f68c))(iVar6);\n      return PARAM_NO_MEM;\n    }\n    if (iVar3 == 0) {\n      (**(code **)(puVar12 + 0x2f68c))(iVar10);\n      iVar10 = 0;\n    }\n  }\n  pFVar8->_flags = iVar3;\n  *piVar1 = iVar10;\n  return PARAM_OK;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "FILE *pFVar2;" type_identifier (pointer_declarator "*pFVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined1 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "ParameterError PVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "FILE *pFVar8;" type_identifier (pointer_declarator "*pFVar8" * identifier) ;) (declaration "FILE *in_a2;" type_identifier (pointer_declarator "*in_a2" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "FILE *pFVar11;" type_identifier (pointer_declarator "*pFVar11" * identifier) ;) (declaration "undefined *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "char buffer [256];" primitive_type (array_declarator "buffer [256]" identifier [ number_literal ]) ;) (expression_statement "piVar1 = *(int **)PTR___stack_chk_guard_000553cc;" (assignment_expression "piVar1 = *(int **)PTR___stack_chk_guard_000553cc" identifier = (pointer_expression "*(int **)PTR___stack_chk_guard_000553cc" * (cast_expression "(int **)PTR___stack_chk_guard_000553cc" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "pFVar8 = file;" (assignment_expression "pFVar8 = file" identifier = identifier) ;) (expression_statement "pFVar11 = file;" (assignment_expression "pFVar11 = file" identifier = identifier) ;) (if_statement "if (file != (FILE *)0x0) {\n    iVar10 = 0;\n    pFVar11 = (FILE *)0x0;\n    while( true ) {\n      in_a2 = file;\n      iVar3 = (*(code *)PTR_fgets_000553a0)(buffer,0x100);\n      pFVar8 = (FILE *)0xd;\n      if (iVar3 == 0) break;\n      puVar4 = (undefined1 *)(*(code *)PTR_strchr_00055320)(buffer);\n      if (puVar4 != (undefined1 *)0x0) {\n        *puVar4 = 0;\n      }\n      puVar4 = (undefined1 *)(*(code *)PTR_strchr_00055320)(buffer,10);\n      if (puVar4 != (undefined1 *)0x0) {\n        *puVar4 = 0;\n      }\n      iVar3 = (*(code *)PTR_strlen_00055384)(buffer);\n      pFVar8 = (FILE *)(iVar10 + iVar3 + 1);\n      pFVar2 = (FILE *)(*(code *)PTR_realloc_00055208)(pFVar11);\n      if (pFVar2 == (FILE *)0x0) {\n        (*(code *)PTR_free_000552cc)(pFVar11);\n        PVar5 = PARAM_NO_MEM;\n        goto LAB_00025bfc;\n      }\n      (*(code *)PTR_strcpy_00055220)(pFVar2->_shortbuf + iVar10 + -0x47,buffer);\n      iVar10 = iVar10 + iVar3;\n      pFVar11 = pFVar2;\n    }\n  }" if (parenthesized_expression "(file != (FILE *)0x0)" ( (binary_expression "file != (FILE *)0x0" identifier != (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar10 = 0;\n    pFVar11 = (FILE *)0x0;\n    while( true ) {\n      in_a2 = file;\n      iVar3 = (*(code *)PTR_fgets_000553a0)(buffer,0x100);\n      pFVar8 = (FILE *)0xd;\n      if (iVar3 == 0) break;\n      puVar4 = (undefined1 *)(*(code *)PTR_strchr_00055320)(buffer);\n      if (puVar4 != (undefined1 *)0x0) {\n        *puVar4 = 0;\n      }\n      puVar4 = (undefined1 *)(*(code *)PTR_strchr_00055320)(buffer,10);\n      if (puVar4 != (undefined1 *)0x0) {\n        *puVar4 = 0;\n      }\n      iVar3 = (*(code *)PTR_strlen_00055384)(buffer);\n      pFVar8 = (FILE *)(iVar10 + iVar3 + 1);\n      pFVar2 = (FILE *)(*(code *)PTR_realloc_00055208)(pFVar11);\n      if (pFVar2 == (FILE *)0x0) {\n        (*(code *)PTR_free_000552cc)(pFVar11);\n        PVar5 = PARAM_NO_MEM;\n        goto LAB_00025bfc;\n      }\n      (*(code *)PTR_strcpy_00055220)(pFVar2->_shortbuf + iVar10 + -0x47,buffer);\n      iVar10 = iVar10 + iVar3;\n      pFVar11 = pFVar2;\n    }\n  }" { (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (expression_statement "pFVar11 = (FILE *)0x0;" (assignment_expression "pFVar11 = (FILE *)0x0" identifier = (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (while_statement "while( true ) {\n      in_a2 = file;\n      iVar3 = (*(code *)PTR_fgets_000553a0)(buffer,0x100);\n      pFVar8 = (FILE *)0xd;\n      if (iVar3 == 0) break;\n      puVar4 = (undefined1 *)(*(code *)PTR_strchr_00055320)(buffer);\n      if (puVar4 != (undefined1 *)0x0) {\n        *puVar4 = 0;\n      }\n      puVar4 = (undefined1 *)(*(code *)PTR_strchr_00055320)(buffer,10);\n      if (puVar4 != (undefined1 *)0x0) {\n        *puVar4 = 0;\n      }\n      iVar3 = (*(code *)PTR_strlen_00055384)(buffer);\n      pFVar8 = (FILE *)(iVar10 + iVar3 + 1);\n      pFVar2 = (FILE *)(*(code *)PTR_realloc_00055208)(pFVar11);\n      if (pFVar2 == (FILE *)0x0) {\n        (*(code *)PTR_free_000552cc)(pFVar11);\n        PVar5 = PARAM_NO_MEM;\n        goto LAB_00025bfc;\n      }\n      (*(code *)PTR_strcpy_00055220)(pFVar2->_shortbuf + iVar10 + -0x47,buffer);\n      iVar10 = iVar10 + iVar3;\n      pFVar11 = pFVar2;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      in_a2 = file;\n      iVar3 = (*(code *)PTR_fgets_000553a0)(buffer,0x100);\n      pFVar8 = (FILE *)0xd;\n      if (iVar3 == 0) break;\n      puVar4 = (undefined1 *)(*(code *)PTR_strchr_00055320)(buffer);\n      if (puVar4 != (undefined1 *)0x0) {\n        *puVar4 = 0;\n      }\n      puVar4 = (undefined1 *)(*(code *)PTR_strchr_00055320)(buffer,10);\n      if (puVar4 != (undefined1 *)0x0) {\n        *puVar4 = 0;\n      }\n      iVar3 = (*(code *)PTR_strlen_00055384)(buffer);\n      pFVar8 = (FILE *)(iVar10 + iVar3 + 1);\n      pFVar2 = (FILE *)(*(code *)PTR_realloc_00055208)(pFVar11);\n      if (pFVar2 == (FILE *)0x0) {\n        (*(code *)PTR_free_000552cc)(pFVar11);\n        PVar5 = PARAM_NO_MEM;\n        goto LAB_00025bfc;\n      }\n      (*(code *)PTR_strcpy_00055220)(pFVar2->_shortbuf + iVar10 + -0x47,buffer);\n      iVar10 = iVar10 + iVar3;\n      pFVar11 = pFVar2;\n    }" { (expression_statement "in_a2 = file;" (assignment_expression "in_a2 = file" identifier = identifier) ;) (expression_statement "iVar3 = (*(code *)PTR_fgets_000553a0)(buffer,0x100);" (assignment_expression "iVar3 = (*(code *)PTR_fgets_000553a0)(buffer,0x100)" identifier = (call_expression "(*(code *)PTR_fgets_000553a0)(buffer,0x100)" (parenthesized_expression "(*(code *)PTR_fgets_000553a0)" ( (pointer_expression "*(code *)PTR_fgets_000553a0" * (cast_expression "(code *)PTR_fgets_000553a0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(buffer,0x100)" ( identifier , number_literal )))) ;) (expression_statement "pFVar8 = (FILE *)0xd;" (assignment_expression "pFVar8 = (FILE *)0xd" identifier = (cast_expression "(FILE *)0xd" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (iVar3 == 0) break;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_strchr_00055320)(buffer);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_strchr_00055320)(buffer)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_strchr_00055320)(buffer)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strchr_00055320)(buffer)" (parenthesized_expression "(*(code *)PTR_strchr_00055320)" ( (pointer_expression "*(code *)PTR_strchr_00055320" * (cast_expression "(code *)PTR_strchr_00055320" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(buffer)" ( identifier ))))) ;) (if_statement "if (puVar4 != (undefined1 *)0x0) {\n        *puVar4 = 0;\n      }" if (parenthesized_expression "(puVar4 != (undefined1 *)0x0)" ( (binary_expression "puVar4 != (undefined1 *)0x0" identifier != (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        *puVar4 = 0;\n      }" { (expression_statement "*puVar4 = 0;" (assignment_expression "*puVar4 = 0" (pointer_expression "*puVar4" * identifier) = number_literal) ;) })) (expression_statement "puVar4 = (undefined1 *)(*(code *)PTR_strchr_00055320)(buffer,10);" (assignment_expression "puVar4 = (undefined1 *)(*(code *)PTR_strchr_00055320)(buffer,10)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_strchr_00055320)(buffer,10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strchr_00055320)(buffer,10)" (parenthesized_expression "(*(code *)PTR_strchr_00055320)" ( (pointer_expression "*(code *)PTR_strchr_00055320" * (cast_expression "(code *)PTR_strchr_00055320" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(buffer,10)" ( identifier , number_literal ))))) ;) (if_statement "if (puVar4 != (undefined1 *)0x0) {\n        *puVar4 = 0;\n      }" if (parenthesized_expression "(puVar4 != (undefined1 *)0x0)" ( (binary_expression "puVar4 != (undefined1 *)0x0" identifier != (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        *puVar4 = 0;\n      }" { (expression_statement "*puVar4 = 0;" (assignment_expression "*puVar4 = 0" (pointer_expression "*puVar4" * identifier) = number_literal) ;) })) (expression_statement "iVar3 = (*(code *)PTR_strlen_00055384)(buffer);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_00055384)(buffer)" identifier = (call_expression "(*(code *)PTR_strlen_00055384)(buffer)" (parenthesized_expression "(*(code *)PTR_strlen_00055384)" ( (pointer_expression "*(code *)PTR_strlen_00055384" * (cast_expression "(code *)PTR_strlen_00055384" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(buffer)" ( identifier )))) ;) (expression_statement "pFVar8 = (FILE *)(iVar10 + iVar3 + 1);" (assignment_expression "pFVar8 = (FILE *)(iVar10 + iVar3 + 1)" identifier = (cast_expression "(FILE *)(iVar10 + iVar3 + 1)" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + iVar3 + 1)" ( (binary_expression "iVar10 + iVar3 + 1" (binary_expression "iVar10 + iVar3" identifier + identifier) + number_literal) )))) ;) (expression_statement "pFVar2 = (FILE *)(*(code *)PTR_realloc_00055208)(pFVar11);" (assignment_expression "pFVar2 = (FILE *)(*(code *)PTR_realloc_00055208)(pFVar11)" identifier = (cast_expression "(FILE *)(*(code *)PTR_realloc_00055208)(pFVar11)" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_realloc_00055208)(pFVar11)" (parenthesized_expression "(*(code *)PTR_realloc_00055208)" ( (pointer_expression "*(code *)PTR_realloc_00055208" * (cast_expression "(code *)PTR_realloc_00055208" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pFVar11)" ( identifier ))))) ;) (if_statement "if (pFVar2 == (FILE *)0x0) {\n        (*(code *)PTR_free_000552cc)(pFVar11);\n        PVar5 = PARAM_NO_MEM;\n        goto LAB_00025bfc;\n      }" if (parenthesized_expression "(pFVar2 == (FILE *)0x0)" ( (binary_expression "pFVar2 == (FILE *)0x0" identifier == (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        (*(code *)PTR_free_000552cc)(pFVar11);\n        PVar5 = PARAM_NO_MEM;\n        goto LAB_00025bfc;\n      }" { (expression_statement "(*(code *)PTR_free_000552cc)(pFVar11);" (call_expression "(*(code *)PTR_free_000552cc)(pFVar11)" (parenthesized_expression "(*(code *)PTR_free_000552cc)" ( (pointer_expression "*(code *)PTR_free_000552cc" * (cast_expression "(code *)PTR_free_000552cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pFVar11)" ( identifier ))) ;) (expression_statement "PVar5 = PARAM_NO_MEM;" (assignment_expression "PVar5 = PARAM_NO_MEM" identifier = identifier) ;) (goto_statement "goto LAB_00025bfc;" goto statement_identifier ;) })) (expression_statement "(*(code *)PTR_strcpy_00055220)(pFVar2->_shortbuf + iVar10 + -0x47,buffer);" (call_expression "(*(code *)PTR_strcpy_00055220)(pFVar2->_shortbuf + iVar10 + -0x47,buffer)" (parenthesized_expression "(*(code *)PTR_strcpy_00055220)" ( (pointer_expression "*(code *)PTR_strcpy_00055220" * (cast_expression "(code *)PTR_strcpy_00055220" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pFVar2->_shortbuf + iVar10 + -0x47,buffer)" ( (binary_expression "pFVar2->_shortbuf + iVar10 + -0x47" (binary_expression "pFVar2->_shortbuf + iVar10" (field_expression "pFVar2->_shortbuf" identifier -> field_identifier) + identifier) + number_literal) , identifier ))) ;) (expression_statement "iVar10 = iVar10 + iVar3;" (assignment_expression "iVar10 = iVar10 + iVar3" identifier = (binary_expression "iVar10 + iVar3" identifier + identifier)) ;) (expression_statement "pFVar11 = pFVar2;" (assignment_expression "pFVar11 = pFVar2" identifier = identifier) ;) })) })) (expression_statement "*bufp = (char *)pFVar11;" (assignment_expression "*bufp = (char *)pFVar11" (pointer_expression "*bufp" * identifier) = (cast_expression "(char *)pFVar11" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "PVar5 = PARAM_OK;" (assignment_expression "PVar5 = PARAM_OK" identifier = identifier) ;) (labeled_statement "LAB_00025bfc:\n  if (piVar1 == *(int **)PTR___stack_chk_guard_000553cc) {\n    return PVar5;\n  }" statement_identifier : (if_statement "if (piVar1 == *(int **)PTR___stack_chk_guard_000553cc) {\n    return PVar5;\n  }" if (parenthesized_expression "(piVar1 == *(int **)PTR___stack_chk_guard_000553cc)" ( (binary_expression "piVar1 == *(int **)PTR___stack_chk_guard_000553cc" identifier == (pointer_expression "*(int **)PTR___stack_chk_guard_000553cc" * (cast_expression "(int **)PTR___stack_chk_guard_000553cc" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return PVar5;\n  }" { (return_statement "return PVar5;" return identifier ;) }))) (expression_statement "puVar12 = PTR___stack_chk_fail_000552ec;" (assignment_expression "puVar12 = PTR___stack_chk_fail_000552ec" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000552ec)();" (call_expression "(*(code *)PTR___stack_chk_fail_000552ec)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000552ec)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000552ec" * (cast_expression "(code *)PTR___stack_chk_fail_000552ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (in_a2 == (FILE *)0x0) {\n    iVar3 = 0;\n    iVar10 = 0;\n  }\n  else {\n    iVar9 = 0x200;\n    iVar3 = 0;\n    iVar10 = 0;\n    do {\n      iVar7 = iVar9 + 1;\n      if ((iVar10 == 0) || (iVar6 = iVar10, iVar3 == iVar9)) {\n        iVar9 = iVar9 * 2;\n        if (iVar7 < 0) {\n          (**(code **)(puVar12 + 0x2f68c))(iVar10);\n          return PARAM_NO_MEM;\n        }\n        iVar6 = (**(code **)(puVar12 + 0x2f5c8))(iVar10,iVar9 + 1);\n        if (iVar6 == 0) {\n          (**(code **)(puVar12 + 0x2f68c))(iVar10);\n          return PARAM_NO_MEM;\n        }\n      }\n      iVar7 = (**(code **)(puVar12 + 0x2f7bc))(iVar6 + iVar3,1,iVar9 - iVar3,in_a2);\n      iVar3 = iVar3 + iVar7;\n      iVar10 = iVar6;\n    } while (iVar7 != 0);\n    *(undefined1 *)(iVar6 + iVar3) = 0;\n    if ((iVar9 != iVar3) &&\n       (iVar10 = (**(code **)(puVar12 + 0x2f5c8))(iVar6,iVar3 + 1), iVar10 == 0)) {\n      (**(code **)(puVar12 + 0x2f68c))(iVar6);\n      return PARAM_NO_MEM;\n    }\n    if (iVar3 == 0) {\n      (**(code **)(puVar12 + 0x2f68c))(iVar10);\n      iVar10 = 0;\n    }\n  }" if (parenthesized_expression "(in_a2 == (FILE *)0x0)" ( (binary_expression "in_a2 == (FILE *)0x0" identifier == (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar3 = 0;\n    iVar10 = 0;\n  }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    iVar9 = 0x200;\n    iVar3 = 0;\n    iVar10 = 0;\n    do {\n      iVar7 = iVar9 + 1;\n      if ((iVar10 == 0) || (iVar6 = iVar10, iVar3 == iVar9)) {\n        iVar9 = iVar9 * 2;\n        if (iVar7 < 0) {\n          (**(code **)(puVar12 + 0x2f68c))(iVar10);\n          return PARAM_NO_MEM;\n        }\n        iVar6 = (**(code **)(puVar12 + 0x2f5c8))(iVar10,iVar9 + 1);\n        if (iVar6 == 0) {\n          (**(code **)(puVar12 + 0x2f68c))(iVar10);\n          return PARAM_NO_MEM;\n        }\n      }\n      iVar7 = (**(code **)(puVar12 + 0x2f7bc))(iVar6 + iVar3,1,iVar9 - iVar3,in_a2);\n      iVar3 = iVar3 + iVar7;\n      iVar10 = iVar6;\n    } while (iVar7 != 0);\n    *(undefined1 *)(iVar6 + iVar3) = 0;\n    if ((iVar9 != iVar3) &&\n       (iVar10 = (**(code **)(puVar12 + 0x2f5c8))(iVar6,iVar3 + 1), iVar10 == 0)) {\n      (**(code **)(puVar12 + 0x2f68c))(iVar6);\n      return PARAM_NO_MEM;\n    }\n    if (iVar3 == 0) {\n      (**(code **)(puVar12 + 0x2f68c))(iVar10);\n      iVar10 = 0;\n    }\n  }" else (compound_statement "{\n    iVar9 = 0x200;\n    iVar3 = 0;\n    iVar10 = 0;\n    do {\n      iVar7 = iVar9 + 1;\n      if ((iVar10 == 0) || (iVar6 = iVar10, iVar3 == iVar9)) {\n        iVar9 = iVar9 * 2;\n        if (iVar7 < 0) {\n          (**(code **)(puVar12 + 0x2f68c))(iVar10);\n          return PARAM_NO_MEM;\n        }\n        iVar6 = (**(code **)(puVar12 + 0x2f5c8))(iVar10,iVar9 + 1);\n        if (iVar6 == 0) {\n          (**(code **)(puVar12 + 0x2f68c))(iVar10);\n          return PARAM_NO_MEM;\n        }\n      }\n      iVar7 = (**(code **)(puVar12 + 0x2f7bc))(iVar6 + iVar3,1,iVar9 - iVar3,in_a2);\n      iVar3 = iVar3 + iVar7;\n      iVar10 = iVar6;\n    } while (iVar7 != 0);\n    *(undefined1 *)(iVar6 + iVar3) = 0;\n    if ((iVar9 != iVar3) &&\n       (iVar10 = (**(code **)(puVar12 + 0x2f5c8))(iVar6,iVar3 + 1), iVar10 == 0)) {\n      (**(code **)(puVar12 + 0x2f68c))(iVar6);\n      return PARAM_NO_MEM;\n    }\n    if (iVar3 == 0) {\n      (**(code **)(puVar12 + 0x2f68c))(iVar10);\n      iVar10 = 0;\n    }\n  }" { (expression_statement "iVar9 = 0x200;" (assignment_expression "iVar9 = 0x200" identifier = number_literal) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar7 = iVar9 + 1;\n      if ((iVar10 == 0) || (iVar6 = iVar10, iVar3 == iVar9)) {\n        iVar9 = iVar9 * 2;\n        if (iVar7 < 0) {\n          (**(code **)(puVar12 + 0x2f68c))(iVar10);\n          return PARAM_NO_MEM;\n        }\n        iVar6 = (**(code **)(puVar12 + 0x2f5c8))(iVar10,iVar9 + 1);\n        if (iVar6 == 0) {\n          (**(code **)(puVar12 + 0x2f68c))(iVar10);\n          return PARAM_NO_MEM;\n        }\n      }\n      iVar7 = (**(code **)(puVar12 + 0x2f7bc))(iVar6 + iVar3,1,iVar9 - iVar3,in_a2);\n      iVar3 = iVar3 + iVar7;\n      iVar10 = iVar6;\n    } while (iVar7 != 0);" do (compound_statement "{\n      iVar7 = iVar9 + 1;\n      if ((iVar10 == 0) || (iVar6 = iVar10, iVar3 == iVar9)) {\n        iVar9 = iVar9 * 2;\n        if (iVar7 < 0) {\n          (**(code **)(puVar12 + 0x2f68c))(iVar10);\n          return PARAM_NO_MEM;\n        }\n        iVar6 = (**(code **)(puVar12 + 0x2f5c8))(iVar10,iVar9 + 1);\n        if (iVar6 == 0) {\n          (**(code **)(puVar12 + 0x2f68c))(iVar10);\n          return PARAM_NO_MEM;\n        }\n      }\n      iVar7 = (**(code **)(puVar12 + 0x2f7bc))(iVar6 + iVar3,1,iVar9 - iVar3,in_a2);\n      iVar3 = iVar3 + iVar7;\n      iVar10 = iVar6;\n    }" { (expression_statement "iVar7 = iVar9 + 1;" (assignment_expression "iVar7 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) (if_statement "if ((iVar10 == 0) || (iVar6 = iVar10, iVar3 == iVar9)) {\n        iVar9 = iVar9 * 2;\n        if (iVar7 < 0) {\n          (**(code **)(puVar12 + 0x2f68c))(iVar10);\n          return PARAM_NO_MEM;\n        }\n        iVar6 = (**(code **)(puVar12 + 0x2f5c8))(iVar10,iVar9 + 1);\n        if (iVar6 == 0) {\n          (**(code **)(puVar12 + 0x2f68c))(iVar10);\n          return PARAM_NO_MEM;\n        }\n      }" if (parenthesized_expression "((iVar10 == 0) || (iVar6 = iVar10, iVar3 == iVar9))" ( (binary_expression "(iVar10 == 0) || (iVar6 = iVar10, iVar3 == iVar9)" (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar6 = iVar10, iVar3 == iVar9)" ( (comma_expression "iVar6 = iVar10, iVar3 == iVar9" (assignment_expression "iVar6 = iVar10" identifier = identifier) , (binary_expression "iVar3 == iVar9" identifier == identifier)) ))) )) (compound_statement "{\n        iVar9 = iVar9 * 2;\n        if (iVar7 < 0) {\n          (**(code **)(puVar12 + 0x2f68c))(iVar10);\n          return PARAM_NO_MEM;\n        }\n        iVar6 = (**(code **)(puVar12 + 0x2f5c8))(iVar10,iVar9 + 1);\n        if (iVar6 == 0) {\n          (**(code **)(puVar12 + 0x2f68c))(iVar10);\n          return PARAM_NO_MEM;\n        }\n      }" { (expression_statement "iVar9 = iVar9 * 2;" (assignment_expression "iVar9 = iVar9 * 2" identifier = (binary_expression "iVar9 * 2" identifier * number_literal)) ;) (if_statement "if (iVar7 < 0) {\n          (**(code **)(puVar12 + 0x2f68c))(iVar10);\n          return PARAM_NO_MEM;\n        }" if (parenthesized_expression "(iVar7 < 0)" ( (binary_expression "iVar7 < 0" identifier < number_literal) )) (compound_statement "{\n          (**(code **)(puVar12 + 0x2f68c))(iVar10);\n          return PARAM_NO_MEM;\n        }" { (expression_statement "(**(code **)(puVar12 + 0x2f68c))(iVar10);" (call_expression "(**(code **)(puVar12 + 0x2f68c))(iVar10)" (parenthesized_expression "(**(code **)(puVar12 + 0x2f68c))" ( (pointer_expression "**(code **)(puVar12 + 0x2f68c)" * (pointer_expression "*(code **)(puVar12 + 0x2f68c)" * (cast_expression "(code **)(puVar12 + 0x2f68c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x2f68c)" ( (binary_expression "puVar12 + 0x2f68c" identifier + number_literal) ))))) )) (argument_list "(iVar10)" ( identifier ))) ;) (return_statement "return PARAM_NO_MEM;" return identifier ;) })) (expression_statement "iVar6 = (**(code **)(puVar12 + 0x2f5c8))(iVar10,iVar9 + 1);" (assignment_expression "iVar6 = (**(code **)(puVar12 + 0x2f5c8))(iVar10,iVar9 + 1)" identifier = (call_expression "(**(code **)(puVar12 + 0x2f5c8))(iVar10,iVar9 + 1)" (parenthesized_expression "(**(code **)(puVar12 + 0x2f5c8))" ( (pointer_expression "**(code **)(puVar12 + 0x2f5c8)" * (pointer_expression "*(code **)(puVar12 + 0x2f5c8)" * (cast_expression "(code **)(puVar12 + 0x2f5c8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x2f5c8)" ( (binary_expression "puVar12 + 0x2f5c8" identifier + number_literal) ))))) )) (argument_list "(iVar10,iVar9 + 1)" ( identifier , (binary_expression "iVar9 + 1" identifier + number_literal) )))) ;) (if_statement "if (iVar6 == 0) {\n          (**(code **)(puVar12 + 0x2f68c))(iVar10);\n          return PARAM_NO_MEM;\n        }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n          (**(code **)(puVar12 + 0x2f68c))(iVar10);\n          return PARAM_NO_MEM;\n        }" { (expression_statement "(**(code **)(puVar12 + 0x2f68c))(iVar10);" (call_expression "(**(code **)(puVar12 + 0x2f68c))(iVar10)" (parenthesized_expression "(**(code **)(puVar12 + 0x2f68c))" ( (pointer_expression "**(code **)(puVar12 + 0x2f68c)" * (pointer_expression "*(code **)(puVar12 + 0x2f68c)" * (cast_expression "(code **)(puVar12 + 0x2f68c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x2f68c)" ( (binary_expression "puVar12 + 0x2f68c" identifier + number_literal) ))))) )) (argument_list "(iVar10)" ( identifier ))) ;) (return_statement "return PARAM_NO_MEM;" return identifier ;) })) })) (expression_statement "iVar7 = (**(code **)(puVar12 + 0x2f7bc))(iVar6 + iVar3,1,iVar9 - iVar3,in_a2);" (assignment_expression "iVar7 = (**(code **)(puVar12 + 0x2f7bc))(iVar6 + iVar3,1,iVar9 - iVar3,in_a2)" identifier = (call_expression "(**(code **)(puVar12 + 0x2f7bc))(iVar6 + iVar3,1,iVar9 - iVar3,in_a2)" (parenthesized_expression "(**(code **)(puVar12 + 0x2f7bc))" ( (pointer_expression "**(code **)(puVar12 + 0x2f7bc)" * (pointer_expression "*(code **)(puVar12 + 0x2f7bc)" * (cast_expression "(code **)(puVar12 + 0x2f7bc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x2f7bc)" ( (binary_expression "puVar12 + 0x2f7bc" identifier + number_literal) ))))) )) (argument_list "(iVar6 + iVar3,1,iVar9 - iVar3,in_a2)" ( (binary_expression "iVar6 + iVar3" identifier + identifier) , number_literal , (binary_expression "iVar9 - iVar3" identifier - identifier) , identifier )))) ;) (expression_statement "iVar3 = iVar3 + iVar7;" (assignment_expression "iVar3 = iVar3 + iVar7" identifier = (binary_expression "iVar3 + iVar7" identifier + identifier)) ;) (expression_statement "iVar10 = iVar6;" (assignment_expression "iVar10 = iVar6" identifier = identifier) ;) }) while (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) ;) (expression_statement "*(undefined1 *)(iVar6 + iVar3) = 0;" (assignment_expression "*(undefined1 *)(iVar6 + iVar3) = 0" (pointer_expression "*(undefined1 *)(iVar6 + iVar3)" * (cast_expression "(undefined1 *)(iVar6 + iVar3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + iVar3)" ( (binary_expression "iVar6 + iVar3" identifier + identifier) )))) = number_literal) ;) (if_statement "if ((iVar9 != iVar3) &&\n       (iVar10 = (**(code **)(puVar12 + 0x2f5c8))(iVar6,iVar3 + 1), iVar10 == 0)) {\n      (**(code **)(puVar12 + 0x2f68c))(iVar6);\n      return PARAM_NO_MEM;\n    }" if (parenthesized_expression "((iVar9 != iVar3) &&\n       (iVar10 = (**(code **)(puVar12 + 0x2f5c8))(iVar6,iVar3 + 1), iVar10 == 0))" ( (binary_expression "(iVar9 != iVar3) &&\n       (iVar10 = (**(code **)(puVar12 + 0x2f5c8))(iVar6,iVar3 + 1), iVar10 == 0)" (parenthesized_expression "(iVar9 != iVar3)" ( (binary_expression "iVar9 != iVar3" identifier != identifier) )) && (parenthesized_expression "(iVar10 = (**(code **)(puVar12 + 0x2f5c8))(iVar6,iVar3 + 1), iVar10 == 0)" ( (comma_expression "iVar10 = (**(code **)(puVar12 + 0x2f5c8))(iVar6,iVar3 + 1), iVar10 == 0" (assignment_expression "iVar10 = (**(code **)(puVar12 + 0x2f5c8))(iVar6,iVar3 + 1)" identifier = (call_expression "(**(code **)(puVar12 + 0x2f5c8))(iVar6,iVar3 + 1)" (parenthesized_expression "(**(code **)(puVar12 + 0x2f5c8))" ( (pointer_expression "**(code **)(puVar12 + 0x2f5c8)" * (pointer_expression "*(code **)(puVar12 + 0x2f5c8)" * (cast_expression "(code **)(puVar12 + 0x2f5c8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x2f5c8)" ( (binary_expression "puVar12 + 0x2f5c8" identifier + number_literal) ))))) )) (argument_list "(iVar6,iVar3 + 1)" ( identifier , (binary_expression "iVar3 + 1" identifier + number_literal) )))) , (binary_expression "iVar10 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      (**(code **)(puVar12 + 0x2f68c))(iVar6);\n      return PARAM_NO_MEM;\n    }" { (expression_statement "(**(code **)(puVar12 + 0x2f68c))(iVar6);" (call_expression "(**(code **)(puVar12 + 0x2f68c))(iVar6)" (parenthesized_expression "(**(code **)(puVar12 + 0x2f68c))" ( (pointer_expression "**(code **)(puVar12 + 0x2f68c)" * (pointer_expression "*(code **)(puVar12 + 0x2f68c)" * (cast_expression "(code **)(puVar12 + 0x2f68c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x2f68c)" ( (binary_expression "puVar12 + 0x2f68c" identifier + number_literal) ))))) )) (argument_list "(iVar6)" ( identifier ))) ;) (return_statement "return PARAM_NO_MEM;" return identifier ;) })) (if_statement "if (iVar3 == 0) {\n      (**(code **)(puVar12 + 0x2f68c))(iVar10);\n      iVar10 = 0;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      (**(code **)(puVar12 + 0x2f68c))(iVar10);\n      iVar10 = 0;\n    }" { (expression_statement "(**(code **)(puVar12 + 0x2f68c))(iVar10);" (call_expression "(**(code **)(puVar12 + 0x2f68c))(iVar10)" (parenthesized_expression "(**(code **)(puVar12 + 0x2f68c))" ( (pointer_expression "**(code **)(puVar12 + 0x2f68c)" * (pointer_expression "*(code **)(puVar12 + 0x2f68c)" * (cast_expression "(code **)(puVar12 + 0x2f68c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x2f68c)" ( (binary_expression "puVar12 + 0x2f68c" identifier + number_literal) ))))) )) (argument_list "(iVar10)" ( identifier ))) ;) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) })) }))) (expression_statement "pFVar8->_flags = iVar3;" (assignment_expression "pFVar8->_flags = iVar3" (field_expression "pFVar8->_flags" identifier -> field_identifier) = identifier) ;) (expression_statement "*piVar1 = iVar10;" (assignment_expression "*piVar1 = iVar10" (pointer_expression "*piVar1" * identifier) = identifier) ;) (return_statement "return PARAM_OK;" return identifier ;) })))
(translation_unit "undefined4 file2string(int *param_1,int *param_2,int *param_3)\n\n{\n  int *piVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int iVar6;\n  int *piVar7;\n  int *piVar8;\n  int iVar9;\n  int iVar10;\n  undefined *puVar11;\n  undefined1 auStack_124 [256];\n  int *local_24;\n  \n  local_24 = *(int **)PTR___stack_chk_guard_000553cc;\n  piVar8 = param_2;\n  piVar7 = param_2;\n  if (param_2 != (int *)0x0) {\n    iVar10 = 0;\n    piVar7 = (int *)0x0;\n    while( true ) {\n      param_3 = param_2;\n      iVar2 = (*(code *)PTR_fgets_000553a0)(auStack_124,0x100);\n      piVar8 = (int *)0xd;\n      if (iVar2 == 0) break;\n      puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124);\n      if (puVar3 != (undefined1 *)0x0) {\n        *puVar3 = 0;\n      }\n      puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124,10);\n      if (puVar3 != (undefined1 *)0x0) {\n        *puVar3 = 0;\n      }\n      iVar2 = (*(code *)PTR_strlen_00055384)(auStack_124);\n      piVar8 = (int *)(iVar10 + iVar2 + 1);\n      piVar1 = (int *)(*(code *)PTR_realloc_00055208)(piVar7);\n      if (piVar1 == (int *)0x0) {\n        (*(code *)PTR_free_000552cc)(piVar7);\n        uVar4 = 0xe;\n        goto LAB_00025bfc;\n      }\n      (*(code *)PTR_strcpy_00055220)((int)piVar1 + iVar10,auStack_124);\n      iVar10 = iVar10 + iVar2;\n      piVar7 = piVar1;\n    }\n  }\n  *param_1 = (int)piVar7;\n  uVar4 = 0;\nLAB_00025bfc:\n  if (local_24 == *(int **)PTR___stack_chk_guard_000553cc) {\n    return uVar4;\n  }\n  piVar7 = local_24;\n  puVar11 = PTR___stack_chk_fail_000552ec;\n  (*(code *)PTR___stack_chk_fail_000552ec)();\n  if (param_3 == (int *)0x0) {\n    iVar2 = 0;\n    iVar10 = 0;\n  }\n  else {\n    iVar9 = 0x200;\n    iVar2 = 0;\n    iVar10 = 0;\n    do {\n      iVar6 = iVar9 + 1;\n      if ((iVar10 == 0) || (iVar5 = iVar10, iVar2 == iVar9)) {\n        iVar9 = iVar9 * 2;\n        if (iVar6 < 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n        iVar5 = (**(code **)(puVar11 + 0x2f5c8))(iVar10,iVar9 + 1);\n        if (iVar5 == 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n      }\n      iVar6 = (**(code **)(puVar11 + 0x2f7bc))(iVar5 + iVar2,1,iVar9 - iVar2,param_3);\n      iVar2 = iVar2 + iVar6;\n      iVar10 = iVar5;\n    } while (iVar6 != 0);\n    *(undefined1 *)(iVar5 + iVar2) = 0;\n    if ((iVar9 != iVar2) &&\n       (iVar10 = (**(code **)(puVar11 + 0x2f5c8))(iVar5,iVar2 + 1), iVar10 == 0)) {\n      (**(code **)(puVar11 + 0x2f68c))(iVar5);\n      return 0xe;\n    }\n    if (iVar2 == 0) {\n      (**(code **)(puVar11 + 0x2f68c))(iVar10);\n      iVar10 = 0;\n    }\n  }\n  *piVar8 = iVar2;\n  *piVar7 = iVar10;\n  return 0;\n}\n\n" (function_definition "undefined4 file2string(int *param_1,int *param_2,int *param_3)\n\n{\n  int *piVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int iVar6;\n  int *piVar7;\n  int *piVar8;\n  int iVar9;\n  int iVar10;\n  undefined *puVar11;\n  undefined1 auStack_124 [256];\n  int *local_24;\n  \n  local_24 = *(int **)PTR___stack_chk_guard_000553cc;\n  piVar8 = param_2;\n  piVar7 = param_2;\n  if (param_2 != (int *)0x0) {\n    iVar10 = 0;\n    piVar7 = (int *)0x0;\n    while( true ) {\n      param_3 = param_2;\n      iVar2 = (*(code *)PTR_fgets_000553a0)(auStack_124,0x100);\n      piVar8 = (int *)0xd;\n      if (iVar2 == 0) break;\n      puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124);\n      if (puVar3 != (undefined1 *)0x0) {\n        *puVar3 = 0;\n      }\n      puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124,10);\n      if (puVar3 != (undefined1 *)0x0) {\n        *puVar3 = 0;\n      }\n      iVar2 = (*(code *)PTR_strlen_00055384)(auStack_124);\n      piVar8 = (int *)(iVar10 + iVar2 + 1);\n      piVar1 = (int *)(*(code *)PTR_realloc_00055208)(piVar7);\n      if (piVar1 == (int *)0x0) {\n        (*(code *)PTR_free_000552cc)(piVar7);\n        uVar4 = 0xe;\n        goto LAB_00025bfc;\n      }\n      (*(code *)PTR_strcpy_00055220)((int)piVar1 + iVar10,auStack_124);\n      iVar10 = iVar10 + iVar2;\n      piVar7 = piVar1;\n    }\n  }\n  *param_1 = (int)piVar7;\n  uVar4 = 0;\nLAB_00025bfc:\n  if (local_24 == *(int **)PTR___stack_chk_guard_000553cc) {\n    return uVar4;\n  }\n  piVar7 = local_24;\n  puVar11 = PTR___stack_chk_fail_000552ec;\n  (*(code *)PTR___stack_chk_fail_000552ec)();\n  if (param_3 == (int *)0x0) {\n    iVar2 = 0;\n    iVar10 = 0;\n  }\n  else {\n    iVar9 = 0x200;\n    iVar2 = 0;\n    iVar10 = 0;\n    do {\n      iVar6 = iVar9 + 1;\n      if ((iVar10 == 0) || (iVar5 = iVar10, iVar2 == iVar9)) {\n        iVar9 = iVar9 * 2;\n        if (iVar6 < 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n        iVar5 = (**(code **)(puVar11 + 0x2f5c8))(iVar10,iVar9 + 1);\n        if (iVar5 == 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n      }\n      iVar6 = (**(code **)(puVar11 + 0x2f7bc))(iVar5 + iVar2,1,iVar9 - iVar2,param_3);\n      iVar2 = iVar2 + iVar6;\n      iVar10 = iVar5;\n    } while (iVar6 != 0);\n    *(undefined1 *)(iVar5 + iVar2) = 0;\n    if ((iVar9 != iVar2) &&\n       (iVar10 = (**(code **)(puVar11 + 0x2f5c8))(iVar5,iVar2 + 1), iVar10 == 0)) {\n      (**(code **)(puVar11 + 0x2f68c))(iVar5);\n      return 0xe;\n    }\n    if (iVar2 == 0) {\n      (**(code **)(puVar11 + 0x2f68c))(iVar10);\n      iVar10 = 0;\n    }\n  }\n  *piVar8 = iVar2;\n  *piVar7 = iVar10;\n  return 0;\n}" type_identifier (function_declarator "file2string(int *param_1,int *param_2,int *param_3)" identifier (parameter_list "(int *param_1,int *param_2,int *param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int iVar6;\n  int *piVar7;\n  int *piVar8;\n  int iVar9;\n  int iVar10;\n  undefined *puVar11;\n  undefined1 auStack_124 [256];\n  int *local_24;\n  \n  local_24 = *(int **)PTR___stack_chk_guard_000553cc;\n  piVar8 = param_2;\n  piVar7 = param_2;\n  if (param_2 != (int *)0x0) {\n    iVar10 = 0;\n    piVar7 = (int *)0x0;\n    while( true ) {\n      param_3 = param_2;\n      iVar2 = (*(code *)PTR_fgets_000553a0)(auStack_124,0x100);\n      piVar8 = (int *)0xd;\n      if (iVar2 == 0) break;\n      puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124);\n      if (puVar3 != (undefined1 *)0x0) {\n        *puVar3 = 0;\n      }\n      puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124,10);\n      if (puVar3 != (undefined1 *)0x0) {\n        *puVar3 = 0;\n      }\n      iVar2 = (*(code *)PTR_strlen_00055384)(auStack_124);\n      piVar8 = (int *)(iVar10 + iVar2 + 1);\n      piVar1 = (int *)(*(code *)PTR_realloc_00055208)(piVar7);\n      if (piVar1 == (int *)0x0) {\n        (*(code *)PTR_free_000552cc)(piVar7);\n        uVar4 = 0xe;\n        goto LAB_00025bfc;\n      }\n      (*(code *)PTR_strcpy_00055220)((int)piVar1 + iVar10,auStack_124);\n      iVar10 = iVar10 + iVar2;\n      piVar7 = piVar1;\n    }\n  }\n  *param_1 = (int)piVar7;\n  uVar4 = 0;\nLAB_00025bfc:\n  if (local_24 == *(int **)PTR___stack_chk_guard_000553cc) {\n    return uVar4;\n  }\n  piVar7 = local_24;\n  puVar11 = PTR___stack_chk_fail_000552ec;\n  (*(code *)PTR___stack_chk_fail_000552ec)();\n  if (param_3 == (int *)0x0) {\n    iVar2 = 0;\n    iVar10 = 0;\n  }\n  else {\n    iVar9 = 0x200;\n    iVar2 = 0;\n    iVar10 = 0;\n    do {\n      iVar6 = iVar9 + 1;\n      if ((iVar10 == 0) || (iVar5 = iVar10, iVar2 == iVar9)) {\n        iVar9 = iVar9 * 2;\n        if (iVar6 < 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n        iVar5 = (**(code **)(puVar11 + 0x2f5c8))(iVar10,iVar9 + 1);\n        if (iVar5 == 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n      }\n      iVar6 = (**(code **)(puVar11 + 0x2f7bc))(iVar5 + iVar2,1,iVar9 - iVar2,param_3);\n      iVar2 = iVar2 + iVar6;\n      iVar10 = iVar5;\n    } while (iVar6 != 0);\n    *(undefined1 *)(iVar5 + iVar2) = 0;\n    if ((iVar9 != iVar2) &&\n       (iVar10 = (**(code **)(puVar11 + 0x2f5c8))(iVar5,iVar2 + 1), iVar10 == 0)) {\n      (**(code **)(puVar11 + 0x2f68c))(iVar5);\n      return 0xe;\n    }\n    if (iVar2 == 0) {\n      (**(code **)(puVar11 + 0x2f68c))(iVar10);\n      iVar10 = 0;\n    }\n  }\n  *piVar8 = iVar2;\n  *piVar7 = iVar10;\n  return 0;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined1 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "undefined *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "undefined1 auStack_124 [256];" type_identifier (array_declarator "auStack_124 [256]" identifier [ number_literal ]) ;) (declaration "int *local_24;" primitive_type (pointer_declarator "*local_24" * identifier) ;) (expression_statement "local_24 = *(int **)PTR___stack_chk_guard_000553cc;" (assignment_expression "local_24 = *(int **)PTR___stack_chk_guard_000553cc" identifier = (pointer_expression "*(int **)PTR___stack_chk_guard_000553cc" * (cast_expression "(int **)PTR___stack_chk_guard_000553cc" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "piVar8 = param_2;" (assignment_expression "piVar8 = param_2" identifier = identifier) ;) (expression_statement "piVar7 = param_2;" (assignment_expression "piVar7 = param_2" identifier = identifier) ;) (if_statement "if (param_2 != (int *)0x0) {\n    iVar10 = 0;\n    piVar7 = (int *)0x0;\n    while( true ) {\n      param_3 = param_2;\n      iVar2 = (*(code *)PTR_fgets_000553a0)(auStack_124,0x100);\n      piVar8 = (int *)0xd;\n      if (iVar2 == 0) break;\n      puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124);\n      if (puVar3 != (undefined1 *)0x0) {\n        *puVar3 = 0;\n      }\n      puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124,10);\n      if (puVar3 != (undefined1 *)0x0) {\n        *puVar3 = 0;\n      }\n      iVar2 = (*(code *)PTR_strlen_00055384)(auStack_124);\n      piVar8 = (int *)(iVar10 + iVar2 + 1);\n      piVar1 = (int *)(*(code *)PTR_realloc_00055208)(piVar7);\n      if (piVar1 == (int *)0x0) {\n        (*(code *)PTR_free_000552cc)(piVar7);\n        uVar4 = 0xe;\n        goto LAB_00025bfc;\n      }\n      (*(code *)PTR_strcpy_00055220)((int)piVar1 + iVar10,auStack_124);\n      iVar10 = iVar10 + iVar2;\n      piVar7 = piVar1;\n    }\n  }" if (parenthesized_expression "(param_2 != (int *)0x0)" ( (binary_expression "param_2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar10 = 0;\n    piVar7 = (int *)0x0;\n    while( true ) {\n      param_3 = param_2;\n      iVar2 = (*(code *)PTR_fgets_000553a0)(auStack_124,0x100);\n      piVar8 = (int *)0xd;\n      if (iVar2 == 0) break;\n      puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124);\n      if (puVar3 != (undefined1 *)0x0) {\n        *puVar3 = 0;\n      }\n      puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124,10);\n      if (puVar3 != (undefined1 *)0x0) {\n        *puVar3 = 0;\n      }\n      iVar2 = (*(code *)PTR_strlen_00055384)(auStack_124);\n      piVar8 = (int *)(iVar10 + iVar2 + 1);\n      piVar1 = (int *)(*(code *)PTR_realloc_00055208)(piVar7);\n      if (piVar1 == (int *)0x0) {\n        (*(code *)PTR_free_000552cc)(piVar7);\n        uVar4 = 0xe;\n        goto LAB_00025bfc;\n      }\n      (*(code *)PTR_strcpy_00055220)((int)piVar1 + iVar10,auStack_124);\n      iVar10 = iVar10 + iVar2;\n      piVar7 = piVar1;\n    }\n  }" { (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (expression_statement "piVar7 = (int *)0x0;" (assignment_expression "piVar7 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (while_statement "while( true ) {\n      param_3 = param_2;\n      iVar2 = (*(code *)PTR_fgets_000553a0)(auStack_124,0x100);\n      piVar8 = (int *)0xd;\n      if (iVar2 == 0) break;\n      puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124);\n      if (puVar3 != (undefined1 *)0x0) {\n        *puVar3 = 0;\n      }\n      puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124,10);\n      if (puVar3 != (undefined1 *)0x0) {\n        *puVar3 = 0;\n      }\n      iVar2 = (*(code *)PTR_strlen_00055384)(auStack_124);\n      piVar8 = (int *)(iVar10 + iVar2 + 1);\n      piVar1 = (int *)(*(code *)PTR_realloc_00055208)(piVar7);\n      if (piVar1 == (int *)0x0) {\n        (*(code *)PTR_free_000552cc)(piVar7);\n        uVar4 = 0xe;\n        goto LAB_00025bfc;\n      }\n      (*(code *)PTR_strcpy_00055220)((int)piVar1 + iVar10,auStack_124);\n      iVar10 = iVar10 + iVar2;\n      piVar7 = piVar1;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      param_3 = param_2;\n      iVar2 = (*(code *)PTR_fgets_000553a0)(auStack_124,0x100);\n      piVar8 = (int *)0xd;\n      if (iVar2 == 0) break;\n      puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124);\n      if (puVar3 != (undefined1 *)0x0) {\n        *puVar3 = 0;\n      }\n      puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124,10);\n      if (puVar3 != (undefined1 *)0x0) {\n        *puVar3 = 0;\n      }\n      iVar2 = (*(code *)PTR_strlen_00055384)(auStack_124);\n      piVar8 = (int *)(iVar10 + iVar2 + 1);\n      piVar1 = (int *)(*(code *)PTR_realloc_00055208)(piVar7);\n      if (piVar1 == (int *)0x0) {\n        (*(code *)PTR_free_000552cc)(piVar7);\n        uVar4 = 0xe;\n        goto LAB_00025bfc;\n      }\n      (*(code *)PTR_strcpy_00055220)((int)piVar1 + iVar10,auStack_124);\n      iVar10 = iVar10 + iVar2;\n      piVar7 = piVar1;\n    }" { (expression_statement "param_3 = param_2;" (assignment_expression "param_3 = param_2" identifier = identifier) ;) (expression_statement "iVar2 = (*(code *)PTR_fgets_000553a0)(auStack_124,0x100);" (assignment_expression "iVar2 = (*(code *)PTR_fgets_000553a0)(auStack_124,0x100)" identifier = (call_expression "(*(code *)PTR_fgets_000553a0)(auStack_124,0x100)" (parenthesized_expression "(*(code *)PTR_fgets_000553a0)" ( (pointer_expression "*(code *)PTR_fgets_000553a0" * (cast_expression "(code *)PTR_fgets_000553a0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_124,0x100)" ( identifier , number_literal )))) ;) (expression_statement "piVar8 = (int *)0xd;" (assignment_expression "piVar8 = (int *)0xd" identifier = (cast_expression "(int *)0xd" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (iVar2 == 0) break;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124);" (assignment_expression "puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strchr_00055320)(auStack_124)" (parenthesized_expression "(*(code *)PTR_strchr_00055320)" ( (pointer_expression "*(code *)PTR_strchr_00055320" * (cast_expression "(code *)PTR_strchr_00055320" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_124)" ( identifier ))))) ;) (if_statement "if (puVar3 != (undefined1 *)0x0) {\n        *puVar3 = 0;\n      }" if (parenthesized_expression "(puVar3 != (undefined1 *)0x0)" ( (binary_expression "puVar3 != (undefined1 *)0x0" identifier != (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        *puVar3 = 0;\n      }" { (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" * identifier) = number_literal) ;) })) (expression_statement "puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124,10);" (assignment_expression "puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124,10)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124,10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_strchr_00055320)(auStack_124,10)" (parenthesized_expression "(*(code *)PTR_strchr_00055320)" ( (pointer_expression "*(code *)PTR_strchr_00055320" * (cast_expression "(code *)PTR_strchr_00055320" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_124,10)" ( identifier , number_literal ))))) ;) (if_statement "if (puVar3 != (undefined1 *)0x0) {\n        *puVar3 = 0;\n      }" if (parenthesized_expression "(puVar3 != (undefined1 *)0x0)" ( (binary_expression "puVar3 != (undefined1 *)0x0" identifier != (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        *puVar3 = 0;\n      }" { (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" * identifier) = number_literal) ;) })) (expression_statement "iVar2 = (*(code *)PTR_strlen_00055384)(auStack_124);" (assignment_expression "iVar2 = (*(code *)PTR_strlen_00055384)(auStack_124)" identifier = (call_expression "(*(code *)PTR_strlen_00055384)(auStack_124)" (parenthesized_expression "(*(code *)PTR_strlen_00055384)" ( (pointer_expression "*(code *)PTR_strlen_00055384" * (cast_expression "(code *)PTR_strlen_00055384" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_124)" ( identifier )))) ;) (expression_statement "piVar8 = (int *)(iVar10 + iVar2 + 1);" (assignment_expression "piVar8 = (int *)(iVar10 + iVar2 + 1)" identifier = (cast_expression "(int *)(iVar10 + iVar2 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + iVar2 + 1)" ( (binary_expression "iVar10 + iVar2 + 1" (binary_expression "iVar10 + iVar2" identifier + identifier) + number_literal) )))) ;) (expression_statement "piVar1 = (int *)(*(code *)PTR_realloc_00055208)(piVar7);" (assignment_expression "piVar1 = (int *)(*(code *)PTR_realloc_00055208)(piVar7)" identifier = (cast_expression "(int *)(*(code *)PTR_realloc_00055208)(piVar7)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_realloc_00055208)(piVar7)" (parenthesized_expression "(*(code *)PTR_realloc_00055208)" ( (pointer_expression "*(code *)PTR_realloc_00055208" * (cast_expression "(code *)PTR_realloc_00055208" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar7)" ( identifier ))))) ;) (if_statement "if (piVar1 == (int *)0x0) {\n        (*(code *)PTR_free_000552cc)(piVar7);\n        uVar4 = 0xe;\n        goto LAB_00025bfc;\n      }" if (parenthesized_expression "(piVar1 == (int *)0x0)" ( (binary_expression "piVar1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        (*(code *)PTR_free_000552cc)(piVar7);\n        uVar4 = 0xe;\n        goto LAB_00025bfc;\n      }" { (expression_statement "(*(code *)PTR_free_000552cc)(piVar7);" (call_expression "(*(code *)PTR_free_000552cc)(piVar7)" (parenthesized_expression "(*(code *)PTR_free_000552cc)" ( (pointer_expression "*(code *)PTR_free_000552cc" * (cast_expression "(code *)PTR_free_000552cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar7)" ( identifier ))) ;) (expression_statement "uVar4 = 0xe;" (assignment_expression "uVar4 = 0xe" identifier = number_literal) ;) (goto_statement "goto LAB_00025bfc;" goto statement_identifier ;) })) (expression_statement "(*(code *)PTR_strcpy_00055220)((int)piVar1 + iVar10,auStack_124);" (call_expression "(*(code *)PTR_strcpy_00055220)((int)piVar1 + iVar10,auStack_124)" (parenthesized_expression "(*(code *)PTR_strcpy_00055220)" ( (pointer_expression "*(code *)PTR_strcpy_00055220" * (cast_expression "(code *)PTR_strcpy_00055220" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((int)piVar1 + iVar10,auStack_124)" ( (binary_expression "(int)piVar1 + iVar10" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) , identifier ))) ;) (expression_statement "iVar10 = iVar10 + iVar2;" (assignment_expression "iVar10 = iVar10 + iVar2" identifier = (binary_expression "iVar10 + iVar2" identifier + identifier)) ;) (expression_statement "piVar7 = piVar1;" (assignment_expression "piVar7 = piVar1" identifier = identifier) ;) })) })) (expression_statement "*param_1 = (int)piVar7;" (assignment_expression "*param_1 = (int)piVar7" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)piVar7" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (labeled_statement "LAB_00025bfc:\n  if (local_24 == *(int **)PTR___stack_chk_guard_000553cc) {\n    return uVar4;\n  }" statement_identifier : (if_statement "if (local_24 == *(int **)PTR___stack_chk_guard_000553cc) {\n    return uVar4;\n  }" if (parenthesized_expression "(local_24 == *(int **)PTR___stack_chk_guard_000553cc)" ( (binary_expression "local_24 == *(int **)PTR___stack_chk_guard_000553cc" identifier == (pointer_expression "*(int **)PTR___stack_chk_guard_000553cc" * (cast_expression "(int **)PTR___stack_chk_guard_000553cc" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return uVar4;\n  }" { (return_statement "return uVar4;" return identifier ;) }))) (expression_statement "piVar7 = local_24;" (assignment_expression "piVar7 = local_24" identifier = identifier) ;) (expression_statement "puVar11 = PTR___stack_chk_fail_000552ec;" (assignment_expression "puVar11 = PTR___stack_chk_fail_000552ec" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000552ec)();" (call_expression "(*(code *)PTR___stack_chk_fail_000552ec)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000552ec)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000552ec" * (cast_expression "(code *)PTR___stack_chk_fail_000552ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (param_3 == (int *)0x0) {\n    iVar2 = 0;\n    iVar10 = 0;\n  }\n  else {\n    iVar9 = 0x200;\n    iVar2 = 0;\n    iVar10 = 0;\n    do {\n      iVar6 = iVar9 + 1;\n      if ((iVar10 == 0) || (iVar5 = iVar10, iVar2 == iVar9)) {\n        iVar9 = iVar9 * 2;\n        if (iVar6 < 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n        iVar5 = (**(code **)(puVar11 + 0x2f5c8))(iVar10,iVar9 + 1);\n        if (iVar5 == 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n      }\n      iVar6 = (**(code **)(puVar11 + 0x2f7bc))(iVar5 + iVar2,1,iVar9 - iVar2,param_3);\n      iVar2 = iVar2 + iVar6;\n      iVar10 = iVar5;\n    } while (iVar6 != 0);\n    *(undefined1 *)(iVar5 + iVar2) = 0;\n    if ((iVar9 != iVar2) &&\n       (iVar10 = (**(code **)(puVar11 + 0x2f5c8))(iVar5,iVar2 + 1), iVar10 == 0)) {\n      (**(code **)(puVar11 + 0x2f68c))(iVar5);\n      return 0xe;\n    }\n    if (iVar2 == 0) {\n      (**(code **)(puVar11 + 0x2f68c))(iVar10);\n      iVar10 = 0;\n    }\n  }" if (parenthesized_expression "(param_3 == (int *)0x0)" ( (binary_expression "param_3 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar2 = 0;\n    iVar10 = 0;\n  }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    iVar9 = 0x200;\n    iVar2 = 0;\n    iVar10 = 0;\n    do {\n      iVar6 = iVar9 + 1;\n      if ((iVar10 == 0) || (iVar5 = iVar10, iVar2 == iVar9)) {\n        iVar9 = iVar9 * 2;\n        if (iVar6 < 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n        iVar5 = (**(code **)(puVar11 + 0x2f5c8))(iVar10,iVar9 + 1);\n        if (iVar5 == 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n      }\n      iVar6 = (**(code **)(puVar11 + 0x2f7bc))(iVar5 + iVar2,1,iVar9 - iVar2,param_3);\n      iVar2 = iVar2 + iVar6;\n      iVar10 = iVar5;\n    } while (iVar6 != 0);\n    *(undefined1 *)(iVar5 + iVar2) = 0;\n    if ((iVar9 != iVar2) &&\n       (iVar10 = (**(code **)(puVar11 + 0x2f5c8))(iVar5,iVar2 + 1), iVar10 == 0)) {\n      (**(code **)(puVar11 + 0x2f68c))(iVar5);\n      return 0xe;\n    }\n    if (iVar2 == 0) {\n      (**(code **)(puVar11 + 0x2f68c))(iVar10);\n      iVar10 = 0;\n    }\n  }" else (compound_statement "{\n    iVar9 = 0x200;\n    iVar2 = 0;\n    iVar10 = 0;\n    do {\n      iVar6 = iVar9 + 1;\n      if ((iVar10 == 0) || (iVar5 = iVar10, iVar2 == iVar9)) {\n        iVar9 = iVar9 * 2;\n        if (iVar6 < 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n        iVar5 = (**(code **)(puVar11 + 0x2f5c8))(iVar10,iVar9 + 1);\n        if (iVar5 == 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n      }\n      iVar6 = (**(code **)(puVar11 + 0x2f7bc))(iVar5 + iVar2,1,iVar9 - iVar2,param_3);\n      iVar2 = iVar2 + iVar6;\n      iVar10 = iVar5;\n    } while (iVar6 != 0);\n    *(undefined1 *)(iVar5 + iVar2) = 0;\n    if ((iVar9 != iVar2) &&\n       (iVar10 = (**(code **)(puVar11 + 0x2f5c8))(iVar5,iVar2 + 1), iVar10 == 0)) {\n      (**(code **)(puVar11 + 0x2f68c))(iVar5);\n      return 0xe;\n    }\n    if (iVar2 == 0) {\n      (**(code **)(puVar11 + 0x2f68c))(iVar10);\n      iVar10 = 0;\n    }\n  }" { (expression_statement "iVar9 = 0x200;" (assignment_expression "iVar9 = 0x200" identifier = number_literal) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar6 = iVar9 + 1;\n      if ((iVar10 == 0) || (iVar5 = iVar10, iVar2 == iVar9)) {\n        iVar9 = iVar9 * 2;\n        if (iVar6 < 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n        iVar5 = (**(code **)(puVar11 + 0x2f5c8))(iVar10,iVar9 + 1);\n        if (iVar5 == 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n      }\n      iVar6 = (**(code **)(puVar11 + 0x2f7bc))(iVar5 + iVar2,1,iVar9 - iVar2,param_3);\n      iVar2 = iVar2 + iVar6;\n      iVar10 = iVar5;\n    } while (iVar6 != 0);" do (compound_statement "{\n      iVar6 = iVar9 + 1;\n      if ((iVar10 == 0) || (iVar5 = iVar10, iVar2 == iVar9)) {\n        iVar9 = iVar9 * 2;\n        if (iVar6 < 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n        iVar5 = (**(code **)(puVar11 + 0x2f5c8))(iVar10,iVar9 + 1);\n        if (iVar5 == 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n      }\n      iVar6 = (**(code **)(puVar11 + 0x2f7bc))(iVar5 + iVar2,1,iVar9 - iVar2,param_3);\n      iVar2 = iVar2 + iVar6;\n      iVar10 = iVar5;\n    }" { (expression_statement "iVar6 = iVar9 + 1;" (assignment_expression "iVar6 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) (if_statement "if ((iVar10 == 0) || (iVar5 = iVar10, iVar2 == iVar9)) {\n        iVar9 = iVar9 * 2;\n        if (iVar6 < 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n        iVar5 = (**(code **)(puVar11 + 0x2f5c8))(iVar10,iVar9 + 1);\n        if (iVar5 == 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n      }" if (parenthesized_expression "((iVar10 == 0) || (iVar5 = iVar10, iVar2 == iVar9))" ( (binary_expression "(iVar10 == 0) || (iVar5 = iVar10, iVar2 == iVar9)" (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar5 = iVar10, iVar2 == iVar9)" ( (comma_expression "iVar5 = iVar10, iVar2 == iVar9" (assignment_expression "iVar5 = iVar10" identifier = identifier) , (binary_expression "iVar2 == iVar9" identifier == identifier)) ))) )) (compound_statement "{\n        iVar9 = iVar9 * 2;\n        if (iVar6 < 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n        iVar5 = (**(code **)(puVar11 + 0x2f5c8))(iVar10,iVar9 + 1);\n        if (iVar5 == 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n      }" { (expression_statement "iVar9 = iVar9 * 2;" (assignment_expression "iVar9 = iVar9 * 2" identifier = (binary_expression "iVar9 * 2" identifier * number_literal)) ;) (if_statement "if (iVar6 < 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }" if (parenthesized_expression "(iVar6 < 0)" ( (binary_expression "iVar6 < 0" identifier < number_literal) )) (compound_statement "{\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }" { (expression_statement "(**(code **)(puVar11 + 0x2f68c))(iVar10);" (call_expression "(**(code **)(puVar11 + 0x2f68c))(iVar10)" (parenthesized_expression "(**(code **)(puVar11 + 0x2f68c))" ( (pointer_expression "**(code **)(puVar11 + 0x2f68c)" * (pointer_expression "*(code **)(puVar11 + 0x2f68c)" * (cast_expression "(code **)(puVar11 + 0x2f68c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0x2f68c)" ( (binary_expression "puVar11 + 0x2f68c" identifier + number_literal) ))))) )) (argument_list "(iVar10)" ( identifier ))) ;) (return_statement "return 0xe;" return number_literal ;) })) (expression_statement "iVar5 = (**(code **)(puVar11 + 0x2f5c8))(iVar10,iVar9 + 1);" (assignment_expression "iVar5 = (**(code **)(puVar11 + 0x2f5c8))(iVar10,iVar9 + 1)" identifier = (call_expression "(**(code **)(puVar11 + 0x2f5c8))(iVar10,iVar9 + 1)" (parenthesized_expression "(**(code **)(puVar11 + 0x2f5c8))" ( (pointer_expression "**(code **)(puVar11 + 0x2f5c8)" * (pointer_expression "*(code **)(puVar11 + 0x2f5c8)" * (cast_expression "(code **)(puVar11 + 0x2f5c8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0x2f5c8)" ( (binary_expression "puVar11 + 0x2f5c8" identifier + number_literal) ))))) )) (argument_list "(iVar10,iVar9 + 1)" ( identifier , (binary_expression "iVar9 + 1" identifier + number_literal) )))) ;) (if_statement "if (iVar5 == 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }" { (expression_statement "(**(code **)(puVar11 + 0x2f68c))(iVar10);" (call_expression "(**(code **)(puVar11 + 0x2f68c))(iVar10)" (parenthesized_expression "(**(code **)(puVar11 + 0x2f68c))" ( (pointer_expression "**(code **)(puVar11 + 0x2f68c)" * (pointer_expression "*(code **)(puVar11 + 0x2f68c)" * (cast_expression "(code **)(puVar11 + 0x2f68c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0x2f68c)" ( (binary_expression "puVar11 + 0x2f68c" identifier + number_literal) ))))) )) (argument_list "(iVar10)" ( identifier ))) ;) (return_statement "return 0xe;" return number_literal ;) })) })) (expression_statement "iVar6 = (**(code **)(puVar11 + 0x2f7bc))(iVar5 + iVar2,1,iVar9 - iVar2,param_3);" (assignment_expression "iVar6 = (**(code **)(puVar11 + 0x2f7bc))(iVar5 + iVar2,1,iVar9 - iVar2,param_3)" identifier = (call_expression "(**(code **)(puVar11 + 0x2f7bc))(iVar5 + iVar2,1,iVar9 - iVar2,param_3)" (parenthesized_expression "(**(code **)(puVar11 + 0x2f7bc))" ( (pointer_expression "**(code **)(puVar11 + 0x2f7bc)" * (pointer_expression "*(code **)(puVar11 + 0x2f7bc)" * (cast_expression "(code **)(puVar11 + 0x2f7bc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0x2f7bc)" ( (binary_expression "puVar11 + 0x2f7bc" identifier + number_literal) ))))) )) (argument_list "(iVar5 + iVar2,1,iVar9 - iVar2,param_3)" ( (binary_expression "iVar5 + iVar2" identifier + identifier) , number_literal , (binary_expression "iVar9 - iVar2" identifier - identifier) , identifier )))) ;) (expression_statement "iVar2 = iVar2 + iVar6;" (assignment_expression "iVar2 = iVar2 + iVar6" identifier = (binary_expression "iVar2 + iVar6" identifier + identifier)) ;) (expression_statement "iVar10 = iVar5;" (assignment_expression "iVar10 = iVar5" identifier = identifier) ;) }) while (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) ;) (expression_statement "*(undefined1 *)(iVar5 + iVar2) = 0;" (assignment_expression "*(undefined1 *)(iVar5 + iVar2) = 0" (pointer_expression "*(undefined1 *)(iVar5 + iVar2)" * (cast_expression "(undefined1 *)(iVar5 + iVar2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + iVar2)" ( (binary_expression "iVar5 + iVar2" identifier + identifier) )))) = number_literal) ;) (if_statement "if ((iVar9 != iVar2) &&\n       (iVar10 = (**(code **)(puVar11 + 0x2f5c8))(iVar5,iVar2 + 1), iVar10 == 0)) {\n      (**(code **)(puVar11 + 0x2f68c))(iVar5);\n      return 0xe;\n    }" if (parenthesized_expression "((iVar9 != iVar2) &&\n       (iVar10 = (**(code **)(puVar11 + 0x2f5c8))(iVar5,iVar2 + 1), iVar10 == 0))" ( (binary_expression "(iVar9 != iVar2) &&\n       (iVar10 = (**(code **)(puVar11 + 0x2f5c8))(iVar5,iVar2 + 1), iVar10 == 0)" (parenthesized_expression "(iVar9 != iVar2)" ( (binary_expression "iVar9 != iVar2" identifier != identifier) )) && (parenthesized_expression "(iVar10 = (**(code **)(puVar11 + 0x2f5c8))(iVar5,iVar2 + 1), iVar10 == 0)" ( (comma_expression "iVar10 = (**(code **)(puVar11 + 0x2f5c8))(iVar5,iVar2 + 1), iVar10 == 0" (assignment_expression "iVar10 = (**(code **)(puVar11 + 0x2f5c8))(iVar5,iVar2 + 1)" identifier = (call_expression "(**(code **)(puVar11 + 0x2f5c8))(iVar5,iVar2 + 1)" (parenthesized_expression "(**(code **)(puVar11 + 0x2f5c8))" ( (pointer_expression "**(code **)(puVar11 + 0x2f5c8)" * (pointer_expression "*(code **)(puVar11 + 0x2f5c8)" * (cast_expression "(code **)(puVar11 + 0x2f5c8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0x2f5c8)" ( (binary_expression "puVar11 + 0x2f5c8" identifier + number_literal) ))))) )) (argument_list "(iVar5,iVar2 + 1)" ( identifier , (binary_expression "iVar2 + 1" identifier + number_literal) )))) , (binary_expression "iVar10 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      (**(code **)(puVar11 + 0x2f68c))(iVar5);\n      return 0xe;\n    }" { (expression_statement "(**(code **)(puVar11 + 0x2f68c))(iVar5);" (call_expression "(**(code **)(puVar11 + 0x2f68c))(iVar5)" (parenthesized_expression "(**(code **)(puVar11 + 0x2f68c))" ( (pointer_expression "**(code **)(puVar11 + 0x2f68c)" * (pointer_expression "*(code **)(puVar11 + 0x2f68c)" * (cast_expression "(code **)(puVar11 + 0x2f68c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0x2f68c)" ( (binary_expression "puVar11 + 0x2f68c" identifier + number_literal) ))))) )) (argument_list "(iVar5)" ( identifier ))) ;) (return_statement "return 0xe;" return number_literal ;) })) (if_statement "if (iVar2 == 0) {\n      (**(code **)(puVar11 + 0x2f68c))(iVar10);\n      iVar10 = 0;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      (**(code **)(puVar11 + 0x2f68c))(iVar10);\n      iVar10 = 0;\n    }" { (expression_statement "(**(code **)(puVar11 + 0x2f68c))(iVar10);" (call_expression "(**(code **)(puVar11 + 0x2f68c))(iVar10)" (parenthesized_expression "(**(code **)(puVar11 + 0x2f68c))" ( (pointer_expression "**(code **)(puVar11 + 0x2f68c)" * (pointer_expression "*(code **)(puVar11 + 0x2f68c)" * (cast_expression "(code **)(puVar11 + 0x2f68c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0x2f68c)" ( (binary_expression "puVar11 + 0x2f68c" identifier + number_literal) ))))) )) (argument_list "(iVar10)" ( identifier ))) ;) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) })) }))) (expression_statement "*piVar8 = iVar2;" (assignment_expression "*piVar8 = iVar2" (pointer_expression "*piVar8" * identifier) = identifier) ;) (expression_statement "*piVar7 = iVar10;" (assignment_expression "*piVar7 = iVar10" (pointer_expression "*piVar7" * identifier) = identifier) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (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 ( IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + 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 ( IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (compound_statement { (return_statement return IDENT ;) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT == IDENT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT ))) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT ))) ;) (return_statement return LIT ;) })) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression IDENT + IDENT) , LIT , (binary_expression IDENT - IDENT) , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression 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 IDENT + IDENT) )))) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != IDENT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT ))) ;) (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) })) }))) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 file2string(int *param_1,int *param_2,int *param_3)\n\n{\n  int *piVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int iVar6;\n  int *piVar7;\n  int *piVar8;\n  int iVar9;\n  int iVar10;\n  undefined *puVar11;\n  undefined1 auStack_124 [256];\n  int *local_24;\n  \n  local_24 = *(int **)PTR___stack_chk_guard_000553cc;\n  piVar8 = param_2;\n  piVar7 = param_2;\n  if (param_2 != (int *)0x0) {\n    iVar10 = 0;\n    piVar7 = (int *)0x0;\n    while( true ) {\n      param_3 = param_2;\n      iVar2 = (*(code *)PTR_fgets_000553a0)(auStack_124,0x100);\n      piVar8 = (int *)0xd;\n      if (iVar2 == 0) break;\n      puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124);\n      if (puVar3 != (undefined1 *)0x0) {\n        *puVar3 = 0;\n      }\n      puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124,10);\n      if (puVar3 != (undefined1 *)0x0) {\n        *puVar3 = 0;\n      }\n      iVar2 = (*(code *)PTR_strlen_00055384)(auStack_124);\n      piVar8 = (int *)(iVar10 + iVar2 + 1);\n      piVar1 = (int *)(*(code *)PTR_realloc_00055208)(piVar7);\n      if (piVar1 == (int *)0x0) {\n        (*(code *)PTR_free_000552cc)(piVar7);\n        uVar4 = 0xe;\n        goto LAB_00025bfc;\n      }\n      (*(code *)PTR_strcpy_00055220)((int)piVar1 + iVar10,auStack_124);\n      iVar10 = iVar10 + iVar2;\n      piVar7 = piVar1;\n    }\n  }\n  *param_1 = (int)piVar7;\n  uVar4 = 0;\nLAB_00025bfc:\n  if (local_24 == *(int **)PTR___stack_chk_guard_000553cc) {\n    return uVar4;\n  }\n  piVar7 = local_24;\n  puVar11 = PTR___stack_chk_fail_000552ec;\n  (*(code *)PTR___stack_chk_fail_000552ec)();\n  if (param_3 == (int *)0x0) {\n    iVar2 = 0;\n    iVar10 = 0;\n  }\n  else {\n    iVar9 = 0x200;\n    iVar2 = 0;\n    iVar10 = 0;\n    do {\n      iVar6 = iVar9 + 1;\n      if ((iVar10 == 0) || (iVar5 = iVar10, iVar2 == iVar9)) {\n        iVar9 = iVar9 * 2;\n        if (iVar6 < 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n        iVar5 = (**(code **)(puVar11 + 0x2f5c8))(iVar10,iVar9 + 1);\n        if (iVar5 == 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n      }\n      iVar6 = (**(code **)(puVar11 + 0x2f7bc))(iVar5 + iVar2,1,iVar9 - iVar2,param_3);\n      iVar2 = iVar2 + iVar6;\n      iVar10 = iVar5;\n    } while (iVar6 != 0);\n    *(undefined1 *)(iVar5 + iVar2) = 0;\n    if ((iVar9 != iVar2) &&\n       (iVar10 = (**(code **)(puVar11 + 0x2f5c8))(iVar5,iVar2 + 1), iVar10 == 0)) {\n      (**(code **)(puVar11 + 0x2f68c))(iVar5);\n      return 0xe;\n    }\n    if (iVar2 == 0) {\n      (**(code **)(puVar11 + 0x2f68c))(iVar10);\n      iVar10 = 0;\n    }\n  }\n  *piVar8 = iVar2;\n  *piVar7 = iVar10;\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "file2string(int *param_1,int *param_2,int *param_3)" (identifier "file2string") (parameter_list "(int *param_1,int *param_2,int *param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int iVar6;\n  int *piVar7;\n  int *piVar8;\n  int iVar9;\n  int iVar10;\n  undefined *puVar11;\n  undefined1 auStack_124 [256];\n  int *local_24;\n  \n  local_24 = *(int **)PTR___stack_chk_guard_000553cc;\n  piVar8 = param_2;\n  piVar7 = param_2;\n  if (param_2 != (int *)0x0) {\n    iVar10 = 0;\n    piVar7 = (int *)0x0;\n    while( true ) {\n      param_3 = param_2;\n      iVar2 = (*(code *)PTR_fgets_000553a0)(auStack_124,0x100);\n      piVar8 = (int *)0xd;\n      if (iVar2 == 0) break;\n      puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124);\n      if (puVar3 != (undefined1 *)0x0) {\n        *puVar3 = 0;\n      }\n      puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124,10);\n      if (puVar3 != (undefined1 *)0x0) {\n        *puVar3 = 0;\n      }\n      iVar2 = (*(code *)PTR_strlen_00055384)(auStack_124);\n      piVar8 = (int *)(iVar10 + iVar2 + 1);\n      piVar1 = (int *)(*(code *)PTR_realloc_00055208)(piVar7);\n      if (piVar1 == (int *)0x0) {\n        (*(code *)PTR_free_000552cc)(piVar7);\n        uVar4 = 0xe;\n        goto LAB_00025bfc;\n      }\n      (*(code *)PTR_strcpy_00055220)((int)piVar1 + iVar10,auStack_124);\n      iVar10 = iVar10 + iVar2;\n      piVar7 = piVar1;\n    }\n  }\n  *param_1 = (int)piVar7;\n  uVar4 = 0;\nLAB_00025bfc:\n  if (local_24 == *(int **)PTR___stack_chk_guard_000553cc) {\n    return uVar4;\n  }\n  piVar7 = local_24;\n  puVar11 = PTR___stack_chk_fail_000552ec;\n  (*(code *)PTR___stack_chk_fail_000552ec)();\n  if (param_3 == (int *)0x0) {\n    iVar2 = 0;\n    iVar10 = 0;\n  }\n  else {\n    iVar9 = 0x200;\n    iVar2 = 0;\n    iVar10 = 0;\n    do {\n      iVar6 = iVar9 + 1;\n      if ((iVar10 == 0) || (iVar5 = iVar10, iVar2 == iVar9)) {\n        iVar9 = iVar9 * 2;\n        if (iVar6 < 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n        iVar5 = (**(code **)(puVar11 + 0x2f5c8))(iVar10,iVar9 + 1);\n        if (iVar5 == 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n      }\n      iVar6 = (**(code **)(puVar11 + 0x2f7bc))(iVar5 + iVar2,1,iVar9 - iVar2,param_3);\n      iVar2 = iVar2 + iVar6;\n      iVar10 = iVar5;\n    } while (iVar6 != 0);\n    *(undefined1 *)(iVar5 + iVar2) = 0;\n    if ((iVar9 != iVar2) &&\n       (iVar10 = (**(code **)(puVar11 + 0x2f5c8))(iVar5,iVar2 + 1), iVar10 == 0)) {\n      (**(code **)(puVar11 + 0x2f68c))(iVar5);\n      return 0xe;\n    }\n    if (iVar2 == 0) {\n      (**(code **)(puVar11 + 0x2f68c))(iVar10);\n      iVar10 = 0;\n    }\n  }\n  *piVar8 = iVar2;\n  *piVar7 = iVar10;\n  return 0;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined1 *puVar3;" (type_identifier "undefined1") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int *piVar7;" (primitive_type "int") (pointer_declarator "*piVar7" (* "*") (identifier "piVar7")) (; ";")) (declaration "int *piVar8;" (primitive_type "int") (pointer_declarator "*piVar8" (* "*") (identifier "piVar8")) (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "undefined *puVar11;" (type_identifier "undefined") (pointer_declarator "*puVar11" (* "*") (identifier "puVar11")) (; ";")) (declaration "undefined1 auStack_124 [256];" (type_identifier "undefined1") (array_declarator "auStack_124 [256]" (identifier "auStack_124") ([ "[") (number_literal "256") (] "]")) (; ";")) (declaration "int *local_24;" (primitive_type "int") (pointer_declarator "*local_24" (* "*") (identifier "local_24")) (; ";")) (expression_statement "local_24 = *(int **)PTR___stack_chk_guard_000553cc;" (assignment_expression "local_24 = *(int **)PTR___stack_chk_guard_000553cc" (identifier "local_24") (= "=") (pointer_expression "*(int **)PTR___stack_chk_guard_000553cc" (* "*") (cast_expression "(int **)PTR___stack_chk_guard_000553cc" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR___stack_chk_guard_000553cc")))) (; ";")) (expression_statement "piVar8 = param_2;" (assignment_expression "piVar8 = param_2" (identifier "piVar8") (= "=") (identifier "param_2")) (; ";")) (expression_statement "piVar7 = param_2;" (assignment_expression "piVar7 = param_2" (identifier "piVar7") (= "=") (identifier "param_2")) (; ";")) (if_statement "if (param_2 != (int *)0x0) {\n    iVar10 = 0;\n    piVar7 = (int *)0x0;\n    while( true ) {\n      param_3 = param_2;\n      iVar2 = (*(code *)PTR_fgets_000553a0)(auStack_124,0x100);\n      piVar8 = (int *)0xd;\n      if (iVar2 == 0) break;\n      puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124);\n      if (puVar3 != (undefined1 *)0x0) {\n        *puVar3 = 0;\n      }\n      puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124,10);\n      if (puVar3 != (undefined1 *)0x0) {\n        *puVar3 = 0;\n      }\n      iVar2 = (*(code *)PTR_strlen_00055384)(auStack_124);\n      piVar8 = (int *)(iVar10 + iVar2 + 1);\n      piVar1 = (int *)(*(code *)PTR_realloc_00055208)(piVar7);\n      if (piVar1 == (int *)0x0) {\n        (*(code *)PTR_free_000552cc)(piVar7);\n        uVar4 = 0xe;\n        goto LAB_00025bfc;\n      }\n      (*(code *)PTR_strcpy_00055220)((int)piVar1 + iVar10,auStack_124);\n      iVar10 = iVar10 + iVar2;\n      piVar7 = piVar1;\n    }\n  }" (if "if") (parenthesized_expression "(param_2 != (int *)0x0)" (( "(") (binary_expression "param_2 != (int *)0x0" (identifier "param_2") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    iVar10 = 0;\n    piVar7 = (int *)0x0;\n    while( true ) {\n      param_3 = param_2;\n      iVar2 = (*(code *)PTR_fgets_000553a0)(auStack_124,0x100);\n      piVar8 = (int *)0xd;\n      if (iVar2 == 0) break;\n      puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124);\n      if (puVar3 != (undefined1 *)0x0) {\n        *puVar3 = 0;\n      }\n      puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124,10);\n      if (puVar3 != (undefined1 *)0x0) {\n        *puVar3 = 0;\n      }\n      iVar2 = (*(code *)PTR_strlen_00055384)(auStack_124);\n      piVar8 = (int *)(iVar10 + iVar2 + 1);\n      piVar1 = (int *)(*(code *)PTR_realloc_00055208)(piVar7);\n      if (piVar1 == (int *)0x0) {\n        (*(code *)PTR_free_000552cc)(piVar7);\n        uVar4 = 0xe;\n        goto LAB_00025bfc;\n      }\n      (*(code *)PTR_strcpy_00055220)((int)piVar1 + iVar10,auStack_124);\n      iVar10 = iVar10 + iVar2;\n      piVar7 = piVar1;\n    }\n  }" ({ "{") (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" (identifier "iVar10") (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar7 = (int *)0x0;" (assignment_expression "piVar7 = (int *)0x0" (identifier "piVar7") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (while_statement "while( true ) {\n      param_3 = param_2;\n      iVar2 = (*(code *)PTR_fgets_000553a0)(auStack_124,0x100);\n      piVar8 = (int *)0xd;\n      if (iVar2 == 0) break;\n      puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124);\n      if (puVar3 != (undefined1 *)0x0) {\n        *puVar3 = 0;\n      }\n      puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124,10);\n      if (puVar3 != (undefined1 *)0x0) {\n        *puVar3 = 0;\n      }\n      iVar2 = (*(code *)PTR_strlen_00055384)(auStack_124);\n      piVar8 = (int *)(iVar10 + iVar2 + 1);\n      piVar1 = (int *)(*(code *)PTR_realloc_00055208)(piVar7);\n      if (piVar1 == (int *)0x0) {\n        (*(code *)PTR_free_000552cc)(piVar7);\n        uVar4 = 0xe;\n        goto LAB_00025bfc;\n      }\n      (*(code *)PTR_strcpy_00055220)((int)piVar1 + iVar10,auStack_124);\n      iVar10 = iVar10 + iVar2;\n      piVar7 = piVar1;\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      param_3 = param_2;\n      iVar2 = (*(code *)PTR_fgets_000553a0)(auStack_124,0x100);\n      piVar8 = (int *)0xd;\n      if (iVar2 == 0) break;\n      puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124);\n      if (puVar3 != (undefined1 *)0x0) {\n        *puVar3 = 0;\n      }\n      puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124,10);\n      if (puVar3 != (undefined1 *)0x0) {\n        *puVar3 = 0;\n      }\n      iVar2 = (*(code *)PTR_strlen_00055384)(auStack_124);\n      piVar8 = (int *)(iVar10 + iVar2 + 1);\n      piVar1 = (int *)(*(code *)PTR_realloc_00055208)(piVar7);\n      if (piVar1 == (int *)0x0) {\n        (*(code *)PTR_free_000552cc)(piVar7);\n        uVar4 = 0xe;\n        goto LAB_00025bfc;\n      }\n      (*(code *)PTR_strcpy_00055220)((int)piVar1 + iVar10,auStack_124);\n      iVar10 = iVar10 + iVar2;\n      piVar7 = piVar1;\n    }" ({ "{") (expression_statement "param_3 = param_2;" (assignment_expression "param_3 = param_2" (identifier "param_3") (= "=") (identifier "param_2")) (; ";")) (expression_statement "iVar2 = (*(code *)PTR_fgets_000553a0)(auStack_124,0x100);" (assignment_expression "iVar2 = (*(code *)PTR_fgets_000553a0)(auStack_124,0x100)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_fgets_000553a0)(auStack_124,0x100)" (parenthesized_expression "(*(code *)PTR_fgets_000553a0)" (( "(") (pointer_expression "*(code *)PTR_fgets_000553a0" (* "*") (cast_expression "(code *)PTR_fgets_000553a0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fgets_000553a0"))) () ")")) (argument_list "(auStack_124,0x100)" (( "(") (identifier "auStack_124") (, ",") (number_literal "0x100") () ")")))) (; ";")) (expression_statement "piVar8 = (int *)0xd;" (assignment_expression "piVar8 = (int *)0xd" (identifier "piVar8") (= "=") (cast_expression "(int *)0xd" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0xd"))) (; ";")) (if_statement "if (iVar2 == 0) break;" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124);" (assignment_expression "puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124)" (identifier "puVar3") (= "=") (cast_expression "(undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_strchr_00055320)(auStack_124)" (parenthesized_expression "(*(code *)PTR_strchr_00055320)" (( "(") (pointer_expression "*(code *)PTR_strchr_00055320" (* "*") (cast_expression "(code *)PTR_strchr_00055320" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strchr_00055320"))) () ")")) (argument_list "(auStack_124)" (( "(") (identifier "auStack_124") () ")"))))) (; ";")) (if_statement "if (puVar3 != (undefined1 *)0x0) {\n        *puVar3 = 0;\n      }" (if "if") (parenthesized_expression "(puVar3 != (undefined1 *)0x0)" (( "(") (binary_expression "puVar3 != (undefined1 *)0x0" (identifier "puVar3") (!= "!=") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        *puVar3 = 0;\n      }" ({ "{") (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124,10);" (assignment_expression "puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124,10)" (identifier "puVar3") (= "=") (cast_expression "(undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124,10)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_strchr_00055320)(auStack_124,10)" (parenthesized_expression "(*(code *)PTR_strchr_00055320)" (( "(") (pointer_expression "*(code *)PTR_strchr_00055320" (* "*") (cast_expression "(code *)PTR_strchr_00055320" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strchr_00055320"))) () ")")) (argument_list "(auStack_124,10)" (( "(") (identifier "auStack_124") (, ",") (number_literal "10") () ")"))))) (; ";")) (if_statement "if (puVar3 != (undefined1 *)0x0) {\n        *puVar3 = 0;\n      }" (if "if") (parenthesized_expression "(puVar3 != (undefined1 *)0x0)" (( "(") (binary_expression "puVar3 != (undefined1 *)0x0" (identifier "puVar3") (!= "!=") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        *puVar3 = 0;\n      }" ({ "{") (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "iVar2 = (*(code *)PTR_strlen_00055384)(auStack_124);" (assignment_expression "iVar2 = (*(code *)PTR_strlen_00055384)(auStack_124)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_strlen_00055384)(auStack_124)" (parenthesized_expression "(*(code *)PTR_strlen_00055384)" (( "(") (pointer_expression "*(code *)PTR_strlen_00055384" (* "*") (cast_expression "(code *)PTR_strlen_00055384" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00055384"))) () ")")) (argument_list "(auStack_124)" (( "(") (identifier "auStack_124") () ")")))) (; ";")) (expression_statement "piVar8 = (int *)(iVar10 + iVar2 + 1);" (assignment_expression "piVar8 = (int *)(iVar10 + iVar2 + 1)" (identifier "piVar8") (= "=") (cast_expression "(int *)(iVar10 + iVar2 + 1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + iVar2 + 1)" (( "(") (binary_expression "iVar10 + iVar2 + 1" (binary_expression "iVar10 + iVar2" (identifier "iVar10") (+ "+") (identifier "iVar2")) (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "piVar1 = (int *)(*(code *)PTR_realloc_00055208)(piVar7);" (assignment_expression "piVar1 = (int *)(*(code *)PTR_realloc_00055208)(piVar7)" (identifier "piVar1") (= "=") (cast_expression "(int *)(*(code *)PTR_realloc_00055208)(piVar7)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_realloc_00055208)(piVar7)" (parenthesized_expression "(*(code *)PTR_realloc_00055208)" (( "(") (pointer_expression "*(code *)PTR_realloc_00055208" (* "*") (cast_expression "(code *)PTR_realloc_00055208" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_realloc_00055208"))) () ")")) (argument_list "(piVar7)" (( "(") (identifier "piVar7") () ")"))))) (; ";")) (if_statement "if (piVar1 == (int *)0x0) {\n        (*(code *)PTR_free_000552cc)(piVar7);\n        uVar4 = 0xe;\n        goto LAB_00025bfc;\n      }" (if "if") (parenthesized_expression "(piVar1 == (int *)0x0)" (( "(") (binary_expression "piVar1 == (int *)0x0" (identifier "piVar1") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        (*(code *)PTR_free_000552cc)(piVar7);\n        uVar4 = 0xe;\n        goto LAB_00025bfc;\n      }" ({ "{") (expression_statement "(*(code *)PTR_free_000552cc)(piVar7);" (call_expression "(*(code *)PTR_free_000552cc)(piVar7)" (parenthesized_expression "(*(code *)PTR_free_000552cc)" (( "(") (pointer_expression "*(code *)PTR_free_000552cc" (* "*") (cast_expression "(code *)PTR_free_000552cc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_000552cc"))) () ")")) (argument_list "(piVar7)" (( "(") (identifier "piVar7") () ")"))) (; ";")) (expression_statement "uVar4 = 0xe;" (assignment_expression "uVar4 = 0xe" (identifier "uVar4") (= "=") (number_literal "0xe")) (; ";")) (goto_statement "goto LAB_00025bfc;" (goto "goto") (statement_identifier "LAB_00025bfc") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_strcpy_00055220)((int)piVar1 + iVar10,auStack_124);" (call_expression "(*(code *)PTR_strcpy_00055220)((int)piVar1 + iVar10,auStack_124)" (parenthesized_expression "(*(code *)PTR_strcpy_00055220)" (( "(") (pointer_expression "*(code *)PTR_strcpy_00055220" (* "*") (cast_expression "(code *)PTR_strcpy_00055220" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcpy_00055220"))) () ")")) (argument_list "((int)piVar1 + iVar10,auStack_124)" (( "(") (binary_expression "(int)piVar1 + iVar10" (cast_expression "(int)piVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar1")) (+ "+") (identifier "iVar10")) (, ",") (identifier "auStack_124") () ")"))) (; ";")) (expression_statement "iVar10 = iVar10 + iVar2;" (assignment_expression "iVar10 = iVar10 + iVar2" (identifier "iVar10") (= "=") (binary_expression "iVar10 + iVar2" (identifier "iVar10") (+ "+") (identifier "iVar2"))) (; ";")) (expression_statement "piVar7 = piVar1;" (assignment_expression "piVar7 = piVar1" (identifier "piVar7") (= "=") (identifier "piVar1")) (; ";")) (} "}"))) (} "}"))) (expression_statement "*param_1 = (int)piVar7;" (assignment_expression "*param_1 = (int)piVar7" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(int)piVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar7"))) (; ";")) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (labeled_statement "LAB_00025bfc:\n  if (local_24 == *(int **)PTR___stack_chk_guard_000553cc) {\n    return uVar4;\n  }" (statement_identifier "LAB_00025bfc") (: ":") (if_statement "if (local_24 == *(int **)PTR___stack_chk_guard_000553cc) {\n    return uVar4;\n  }" (if "if") (parenthesized_expression "(local_24 == *(int **)PTR___stack_chk_guard_000553cc)" (( "(") (binary_expression "local_24 == *(int **)PTR___stack_chk_guard_000553cc" (identifier "local_24") (== "==") (pointer_expression "*(int **)PTR___stack_chk_guard_000553cc" (* "*") (cast_expression "(int **)PTR___stack_chk_guard_000553cc" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR___stack_chk_guard_000553cc")))) () ")")) (compound_statement "{\n    return uVar4;\n  }" ({ "{") (return_statement "return uVar4;" (return "return") (identifier "uVar4") (; ";")) (} "}")))) (expression_statement "piVar7 = local_24;" (assignment_expression "piVar7 = local_24" (identifier "piVar7") (= "=") (identifier "local_24")) (; ";")) (expression_statement "puVar11 = PTR___stack_chk_fail_000552ec;" (assignment_expression "puVar11 = PTR___stack_chk_fail_000552ec" (identifier "puVar11") (= "=") (identifier "PTR___stack_chk_fail_000552ec")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_000552ec)();" (call_expression "(*(code *)PTR___stack_chk_fail_000552ec)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000552ec)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_000552ec" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_000552ec" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_000552ec"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (param_3 == (int *)0x0) {\n    iVar2 = 0;\n    iVar10 = 0;\n  }\n  else {\n    iVar9 = 0x200;\n    iVar2 = 0;\n    iVar10 = 0;\n    do {\n      iVar6 = iVar9 + 1;\n      if ((iVar10 == 0) || (iVar5 = iVar10, iVar2 == iVar9)) {\n        iVar9 = iVar9 * 2;\n        if (iVar6 < 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n        iVar5 = (**(code **)(puVar11 + 0x2f5c8))(iVar10,iVar9 + 1);\n        if (iVar5 == 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n      }\n      iVar6 = (**(code **)(puVar11 + 0x2f7bc))(iVar5 + iVar2,1,iVar9 - iVar2,param_3);\n      iVar2 = iVar2 + iVar6;\n      iVar10 = iVar5;\n    } while (iVar6 != 0);\n    *(undefined1 *)(iVar5 + iVar2) = 0;\n    if ((iVar9 != iVar2) &&\n       (iVar10 = (**(code **)(puVar11 + 0x2f5c8))(iVar5,iVar2 + 1), iVar10 == 0)) {\n      (**(code **)(puVar11 + 0x2f68c))(iVar5);\n      return 0xe;\n    }\n    if (iVar2 == 0) {\n      (**(code **)(puVar11 + 0x2f68c))(iVar10);\n      iVar10 = 0;\n    }\n  }" (if "if") (parenthesized_expression "(param_3 == (int *)0x0)" (( "(") (binary_expression "param_3 == (int *)0x0" (identifier "param_3") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    iVar2 = 0;\n    iVar10 = 0;\n  }" ({ "{") (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" (identifier "iVar10") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    iVar9 = 0x200;\n    iVar2 = 0;\n    iVar10 = 0;\n    do {\n      iVar6 = iVar9 + 1;\n      if ((iVar10 == 0) || (iVar5 = iVar10, iVar2 == iVar9)) {\n        iVar9 = iVar9 * 2;\n        if (iVar6 < 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n        iVar5 = (**(code **)(puVar11 + 0x2f5c8))(iVar10,iVar9 + 1);\n        if (iVar5 == 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n      }\n      iVar6 = (**(code **)(puVar11 + 0x2f7bc))(iVar5 + iVar2,1,iVar9 - iVar2,param_3);\n      iVar2 = iVar2 + iVar6;\n      iVar10 = iVar5;\n    } while (iVar6 != 0);\n    *(undefined1 *)(iVar5 + iVar2) = 0;\n    if ((iVar9 != iVar2) &&\n       (iVar10 = (**(code **)(puVar11 + 0x2f5c8))(iVar5,iVar2 + 1), iVar10 == 0)) {\n      (**(code **)(puVar11 + 0x2f68c))(iVar5);\n      return 0xe;\n    }\n    if (iVar2 == 0) {\n      (**(code **)(puVar11 + 0x2f68c))(iVar10);\n      iVar10 = 0;\n    }\n  }" (else "else") (compound_statement "{\n    iVar9 = 0x200;\n    iVar2 = 0;\n    iVar10 = 0;\n    do {\n      iVar6 = iVar9 + 1;\n      if ((iVar10 == 0) || (iVar5 = iVar10, iVar2 == iVar9)) {\n        iVar9 = iVar9 * 2;\n        if (iVar6 < 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n        iVar5 = (**(code **)(puVar11 + 0x2f5c8))(iVar10,iVar9 + 1);\n        if (iVar5 == 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n      }\n      iVar6 = (**(code **)(puVar11 + 0x2f7bc))(iVar5 + iVar2,1,iVar9 - iVar2,param_3);\n      iVar2 = iVar2 + iVar6;\n      iVar10 = iVar5;\n    } while (iVar6 != 0);\n    *(undefined1 *)(iVar5 + iVar2) = 0;\n    if ((iVar9 != iVar2) &&\n       (iVar10 = (**(code **)(puVar11 + 0x2f5c8))(iVar5,iVar2 + 1), iVar10 == 0)) {\n      (**(code **)(puVar11 + 0x2f68c))(iVar5);\n      return 0xe;\n    }\n    if (iVar2 == 0) {\n      (**(code **)(puVar11 + 0x2f68c))(iVar10);\n      iVar10 = 0;\n    }\n  }" ({ "{") (expression_statement "iVar9 = 0x200;" (assignment_expression "iVar9 = 0x200" (identifier "iVar9") (= "=") (number_literal "0x200")) (; ";")) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" (identifier "iVar10") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      iVar6 = iVar9 + 1;\n      if ((iVar10 == 0) || (iVar5 = iVar10, iVar2 == iVar9)) {\n        iVar9 = iVar9 * 2;\n        if (iVar6 < 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n        iVar5 = (**(code **)(puVar11 + 0x2f5c8))(iVar10,iVar9 + 1);\n        if (iVar5 == 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n      }\n      iVar6 = (**(code **)(puVar11 + 0x2f7bc))(iVar5 + iVar2,1,iVar9 - iVar2,param_3);\n      iVar2 = iVar2 + iVar6;\n      iVar10 = iVar5;\n    } while (iVar6 != 0);" (do "do") (compound_statement "{\n      iVar6 = iVar9 + 1;\n      if ((iVar10 == 0) || (iVar5 = iVar10, iVar2 == iVar9)) {\n        iVar9 = iVar9 * 2;\n        if (iVar6 < 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n        iVar5 = (**(code **)(puVar11 + 0x2f5c8))(iVar10,iVar9 + 1);\n        if (iVar5 == 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n      }\n      iVar6 = (**(code **)(puVar11 + 0x2f7bc))(iVar5 + iVar2,1,iVar9 - iVar2,param_3);\n      iVar2 = iVar2 + iVar6;\n      iVar10 = iVar5;\n    }" ({ "{") (expression_statement "iVar6 = iVar9 + 1;" (assignment_expression "iVar6 = iVar9 + 1" (identifier "iVar6") (= "=") (binary_expression "iVar9 + 1" (identifier "iVar9") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if ((iVar10 == 0) || (iVar5 = iVar10, iVar2 == iVar9)) {\n        iVar9 = iVar9 * 2;\n        if (iVar6 < 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n        iVar5 = (**(code **)(puVar11 + 0x2f5c8))(iVar10,iVar9 + 1);\n        if (iVar5 == 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n      }" (if "if") (parenthesized_expression "((iVar10 == 0) || (iVar5 = iVar10, iVar2 == iVar9))" (( "(") (binary_expression "(iVar10 == 0) || (iVar5 = iVar10, iVar2 == iVar9)" (parenthesized_expression "(iVar10 == 0)" (( "(") (binary_expression "iVar10 == 0" (identifier "iVar10") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar5 = iVar10, iVar2 == iVar9)" (( "(") (comma_expression "iVar5 = iVar10, iVar2 == iVar9" (assignment_expression "iVar5 = iVar10" (identifier "iVar5") (= "=") (identifier "iVar10")) (, ",") (binary_expression "iVar2 == iVar9" (identifier "iVar2") (== "==") (identifier "iVar9"))) () ")"))) () ")")) (compound_statement "{\n        iVar9 = iVar9 * 2;\n        if (iVar6 < 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n        iVar5 = (**(code **)(puVar11 + 0x2f5c8))(iVar10,iVar9 + 1);\n        if (iVar5 == 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }\n      }" ({ "{") (expression_statement "iVar9 = iVar9 * 2;" (assignment_expression "iVar9 = iVar9 * 2" (identifier "iVar9") (= "=") (binary_expression "iVar9 * 2" (identifier "iVar9") (* "*") (number_literal "2"))) (; ";")) (if_statement "if (iVar6 < 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }" (if "if") (parenthesized_expression "(iVar6 < 0)" (( "(") (binary_expression "iVar6 < 0" (identifier "iVar6") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }" ({ "{") (expression_statement "(**(code **)(puVar11 + 0x2f68c))(iVar10);" (call_expression "(**(code **)(puVar11 + 0x2f68c))(iVar10)" (parenthesized_expression "(**(code **)(puVar11 + 0x2f68c))" (( "(") (pointer_expression "**(code **)(puVar11 + 0x2f68c)" (* "*") (pointer_expression "*(code **)(puVar11 + 0x2f68c)" (* "*") (cast_expression "(code **)(puVar11 + 0x2f68c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar11 + 0x2f68c)" (( "(") (binary_expression "puVar11 + 0x2f68c" (identifier "puVar11") (+ "+") (number_literal "0x2f68c")) () ")"))))) () ")")) (argument_list "(iVar10)" (( "(") (identifier "iVar10") () ")"))) (; ";")) (return_statement "return 0xe;" (return "return") (number_literal "0xe") (; ";")) (} "}"))) (expression_statement "iVar5 = (**(code **)(puVar11 + 0x2f5c8))(iVar10,iVar9 + 1);" (assignment_expression "iVar5 = (**(code **)(puVar11 + 0x2f5c8))(iVar10,iVar9 + 1)" (identifier "iVar5") (= "=") (call_expression "(**(code **)(puVar11 + 0x2f5c8))(iVar10,iVar9 + 1)" (parenthesized_expression "(**(code **)(puVar11 + 0x2f5c8))" (( "(") (pointer_expression "**(code **)(puVar11 + 0x2f5c8)" (* "*") (pointer_expression "*(code **)(puVar11 + 0x2f5c8)" (* "*") (cast_expression "(code **)(puVar11 + 0x2f5c8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar11 + 0x2f5c8)" (( "(") (binary_expression "puVar11 + 0x2f5c8" (identifier "puVar11") (+ "+") (number_literal "0x2f5c8")) () ")"))))) () ")")) (argument_list "(iVar10,iVar9 + 1)" (( "(") (identifier "iVar10") (, ",") (binary_expression "iVar9 + 1" (identifier "iVar9") (+ "+") (number_literal "1")) () ")")))) (; ";")) (if_statement "if (iVar5 == 0) {\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          (**(code **)(puVar11 + 0x2f68c))(iVar10);\n          return 0xe;\n        }" ({ "{") (expression_statement "(**(code **)(puVar11 + 0x2f68c))(iVar10);" (call_expression "(**(code **)(puVar11 + 0x2f68c))(iVar10)" (parenthesized_expression "(**(code **)(puVar11 + 0x2f68c))" (( "(") (pointer_expression "**(code **)(puVar11 + 0x2f68c)" (* "*") (pointer_expression "*(code **)(puVar11 + 0x2f68c)" (* "*") (cast_expression "(code **)(puVar11 + 0x2f68c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar11 + 0x2f68c)" (( "(") (binary_expression "puVar11 + 0x2f68c" (identifier "puVar11") (+ "+") (number_literal "0x2f68c")) () ")"))))) () ")")) (argument_list "(iVar10)" (( "(") (identifier "iVar10") () ")"))) (; ";")) (return_statement "return 0xe;" (return "return") (number_literal "0xe") (; ";")) (} "}"))) (} "}"))) (expression_statement "iVar6 = (**(code **)(puVar11 + 0x2f7bc))(iVar5 + iVar2,1,iVar9 - iVar2,param_3);" (assignment_expression "iVar6 = (**(code **)(puVar11 + 0x2f7bc))(iVar5 + iVar2,1,iVar9 - iVar2,param_3)" (identifier "iVar6") (= "=") (call_expression "(**(code **)(puVar11 + 0x2f7bc))(iVar5 + iVar2,1,iVar9 - iVar2,param_3)" (parenthesized_expression "(**(code **)(puVar11 + 0x2f7bc))" (( "(") (pointer_expression "**(code **)(puVar11 + 0x2f7bc)" (* "*") (pointer_expression "*(code **)(puVar11 + 0x2f7bc)" (* "*") (cast_expression "(code **)(puVar11 + 0x2f7bc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar11 + 0x2f7bc)" (( "(") (binary_expression "puVar11 + 0x2f7bc" (identifier "puVar11") (+ "+") (number_literal "0x2f7bc")) () ")"))))) () ")")) (argument_list "(iVar5 + iVar2,1,iVar9 - iVar2,param_3)" (( "(") (binary_expression "iVar5 + iVar2" (identifier "iVar5") (+ "+") (identifier "iVar2")) (, ",") (number_literal "1") (, ",") (binary_expression "iVar9 - iVar2" (identifier "iVar9") (- "-") (identifier "iVar2")) (, ",") (identifier "param_3") () ")")))) (; ";")) (expression_statement "iVar2 = iVar2 + iVar6;" (assignment_expression "iVar2 = iVar2 + iVar6" (identifier "iVar2") (= "=") (binary_expression "iVar2 + iVar6" (identifier "iVar2") (+ "+") (identifier "iVar6"))) (; ";")) (expression_statement "iVar10 = iVar5;" (assignment_expression "iVar10 = iVar5" (identifier "iVar10") (= "=") (identifier "iVar5")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "*(undefined1 *)(iVar5 + iVar2) = 0;" (assignment_expression "*(undefined1 *)(iVar5 + iVar2) = 0" (pointer_expression "*(undefined1 *)(iVar5 + iVar2)" (* "*") (cast_expression "(undefined1 *)(iVar5 + iVar2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + iVar2)" (( "(") (binary_expression "iVar5 + iVar2" (identifier "iVar5") (+ "+") (identifier "iVar2")) () ")")))) (= "=") (number_literal "0")) (; ";")) (if_statement "if ((iVar9 != iVar2) &&\n       (iVar10 = (**(code **)(puVar11 + 0x2f5c8))(iVar5,iVar2 + 1), iVar10 == 0)) {\n      (**(code **)(puVar11 + 0x2f68c))(iVar5);\n      return 0xe;\n    }" (if "if") (parenthesized_expression "((iVar9 != iVar2) &&\n       (iVar10 = (**(code **)(puVar11 + 0x2f5c8))(iVar5,iVar2 + 1), iVar10 == 0))" (( "(") (binary_expression "(iVar9 != iVar2) &&\n       (iVar10 = (**(code **)(puVar11 + 0x2f5c8))(iVar5,iVar2 + 1), iVar10 == 0)" (parenthesized_expression "(iVar9 != iVar2)" (( "(") (binary_expression "iVar9 != iVar2" (identifier "iVar9") (!= "!=") (identifier "iVar2")) () ")")) (&& "&&") (parenthesized_expression "(iVar10 = (**(code **)(puVar11 + 0x2f5c8))(iVar5,iVar2 + 1), iVar10 == 0)" (( "(") (comma_expression "iVar10 = (**(code **)(puVar11 + 0x2f5c8))(iVar5,iVar2 + 1), iVar10 == 0" (assignment_expression "iVar10 = (**(code **)(puVar11 + 0x2f5c8))(iVar5,iVar2 + 1)" (identifier "iVar10") (= "=") (call_expression "(**(code **)(puVar11 + 0x2f5c8))(iVar5,iVar2 + 1)" (parenthesized_expression "(**(code **)(puVar11 + 0x2f5c8))" (( "(") (pointer_expression "**(code **)(puVar11 + 0x2f5c8)" (* "*") (pointer_expression "*(code **)(puVar11 + 0x2f5c8)" (* "*") (cast_expression "(code **)(puVar11 + 0x2f5c8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar11 + 0x2f5c8)" (( "(") (binary_expression "puVar11 + 0x2f5c8" (identifier "puVar11") (+ "+") (number_literal "0x2f5c8")) () ")"))))) () ")")) (argument_list "(iVar5,iVar2 + 1)" (( "(") (identifier "iVar5") (, ",") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1")) () ")")))) (, ",") (binary_expression "iVar10 == 0" (identifier "iVar10") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n      (**(code **)(puVar11 + 0x2f68c))(iVar5);\n      return 0xe;\n    }" ({ "{") (expression_statement "(**(code **)(puVar11 + 0x2f68c))(iVar5);" (call_expression "(**(code **)(puVar11 + 0x2f68c))(iVar5)" (parenthesized_expression "(**(code **)(puVar11 + 0x2f68c))" (( "(") (pointer_expression "**(code **)(puVar11 + 0x2f68c)" (* "*") (pointer_expression "*(code **)(puVar11 + 0x2f68c)" (* "*") (cast_expression "(code **)(puVar11 + 0x2f68c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar11 + 0x2f68c)" (( "(") (binary_expression "puVar11 + 0x2f68c" (identifier "puVar11") (+ "+") (number_literal "0x2f68c")) () ")"))))) () ")")) (argument_list "(iVar5)" (( "(") (identifier "iVar5") () ")"))) (; ";")) (return_statement "return 0xe;" (return "return") (number_literal "0xe") (; ";")) (} "}"))) (if_statement "if (iVar2 == 0) {\n      (**(code **)(puVar11 + 0x2f68c))(iVar10);\n      iVar10 = 0;\n    }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      (**(code **)(puVar11 + 0x2f68c))(iVar10);\n      iVar10 = 0;\n    }" ({ "{") (expression_statement "(**(code **)(puVar11 + 0x2f68c))(iVar10);" (call_expression "(**(code **)(puVar11 + 0x2f68c))(iVar10)" (parenthesized_expression "(**(code **)(puVar11 + 0x2f68c))" (( "(") (pointer_expression "**(code **)(puVar11 + 0x2f68c)" (* "*") (pointer_expression "*(code **)(puVar11 + 0x2f68c)" (* "*") (cast_expression "(code **)(puVar11 + 0x2f68c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar11 + 0x2f68c)" (( "(") (binary_expression "puVar11 + 0x2f68c" (identifier "puVar11") (+ "+") (number_literal "0x2f68c")) () ")"))))) () ")")) (argument_list "(iVar10)" (( "(") (identifier "iVar10") () ")"))) (; ";")) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" (identifier "iVar10") (= "=") (number_literal "0")) (; ";")) (} "}"))) (} "}")))) (expression_statement "*piVar8 = iVar2;" (assignment_expression "*piVar8 = iVar2" (pointer_expression "*piVar8" (* "*") (identifier "piVar8")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "*piVar7 = iVar10;" (assignment_expression "*piVar7 = iVar10" (pointer_expression "*piVar7" (* "*") (identifier "piVar7")) (= "=") (identifier "iVar10")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) 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)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (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 (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (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: (binary_expression left: (identifier) right: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) 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 (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))))) consequence: (compound_statement (return_statement (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_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))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_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: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (identifier)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier)))) (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier)))) (return_statement (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)) (number_literal) (binary_expression left: (identifier) right: (identifier)) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (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: (identifier) right: (identifier))))) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier)))) (return_statement (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (return_statement (number_literal)))))

undefined4 MASKED(int *param_1,int *param_2,int *param_3)

{
  int *piVar1;
  int iVar2;
  undefined1 *puVar3;
  undefined4 uVar4;
  int iVar5;
  int iVar6;
  int *piVar7;
  int *piVar8;
  int iVar9;
  int iVar10;
  undefined *puVar11;
  undefined1 auStack_124 [256];
  int *local_24;
  
  local_24 = *(int **)PTR___stack_chk_guard_000553cc;
  piVar8 = param_2;
  piVar7 = param_2;
  if (param_2 != (int *)0x0) {
    iVar10 = 0;
    piVar7 = (int *)0x0;
    while( true ) {
      param_3 = param_2;
      iVar2 = (*(code *)PTR_fgets_000553a0)(auStack_124,0x100);
      piVar8 = (int *)0xd;
      if (iVar2 == 0) break;
      puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124);
      if (puVar3 != (undefined1 *)0x0) {
        *puVar3 = 0;
      }
      puVar3 = (undefined1 *)(*(code *)PTR_strchr_00055320)(auStack_124,10);
      if (puVar3 != (undefined1 *)0x0) {
        *puVar3 = 0;
      }
      iVar2 = (*(code *)PTR_strlen_00055384)(auStack_124);
      piVar8 = (int *)(iVar10 + iVar2 + 1);
      piVar1 = (int *)(*(code *)PTR_realloc_00055208)(piVar7);
      if (piVar1 == (int *)0x0) {
        (*(code *)PTR_free_000552cc)(piVar7);
        uVar4 = 0xe;
        goto LAB_00025bfc;
      }
      (*(code *)PTR_strcpy_00055220)((int)piVar1 + iVar10,auStack_124);
      iVar10 = iVar10 + iVar2;
      piVar7 = piVar1;
    }
  }
  *param_1 = (int)piVar7;
  uVar4 = 0;
LAB_00025bfc:
  if (local_24 == *(int **)PTR___stack_chk_guard_000553cc) {
    return uVar4;
  }
  piVar7 = local_24;
  puVar11 = PTR___stack_chk_fail_000552ec;
  (*(code *)PTR___stack_chk_fail_000552ec)();
  if (param_3 == (int *)0x0) {
    iVar2 = 0;
    iVar10 = 0;
  }
  else {
    iVar9 = 0x200;
    iVar2 = 0;
    iVar10 = 0;
    do {
      iVar6 = iVar9 + 1;
      if ((iVar10 == 0) || (iVar5 = iVar10, iVar2 == iVar9)) {
        iVar9 = iVar9 * 2;
        if (iVar6 < 0) {
          (**(code **)(puVar11 + 0x2f68c))(iVar10);
          return 0xe;
        }
        iVar5 = (**(code **)(puVar11 + 0x2f5c8))(iVar10,iVar9 + 1);
        if (iVar5 == 0) {
          (**(code **)(puVar11 + 0x2f68c))(iVar10);
          return 0xe;
        }
      }
      iVar6 = (**(code **)(puVar11 + 0x2f7bc))(iVar5 + iVar2,1,iVar9 - iVar2,param_3);
      iVar2 = iVar2 + iVar6;
      iVar10 = iVar5;
    } while (iVar6 != 0);
    *(undefined1 *)(iVar5 + iVar2) = 0;
    if ((iVar9 != iVar2) &&
       (iVar10 = (**(code **)(puVar11 + 0x2f5c8))(iVar5,iVar2 + 1), iVar10 == 0)) {
      (**(code **)(puVar11 + 0x2f68c))(iVar5);
      return 0xe;
    }
    if (iVar2 == 0) {
      (**(code **)(puVar11 + 0x2f68c))(iVar10);
      iVar10 = 0;
    }
  }
  *piVar8 = iVar2;
  *piVar7 = iVar10;
  return 0;
}

