
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

void expandargv(int *argcp,char ***argvp)

{
  byte bVar1;
  int iVar2;
  FILE *__stream;
  char **ppcVar3;
  void *__dest;
  char *pcVar4;
  byte *pbVar5;
  undefined1 *puVar6;
  undefined1 *puVar7;
  int iVar8;
  int iVar9;
  undefined1 auStack_ac [4];
  char **local_a8;
  int local_a4;
  stat64 *local_a0;
  undefined *local_9c;
  byte *local_98;
  char **local_94;
  char *local_90;
  char **local_8c;
  char **local_88;
  char **local_84;
  char **local_80;
  stat sb;
  
  puVar7 = auStack_ac;
  local_a4 = 2000;
  local_80 = *argvp;
  iVar2 = *argcp;
  local_a0 = (stat64 *)&sb;
  local_9c = PTR__sch_istable_00016fd0;
  iVar9 = 0;
  do {
    iVar8 = iVar9;
    iVar9 = iVar8 + 1;
    if (iVar2 <= iVar9) {
      return;
    }
    while( true ) {
      local_a8 = (char **)(iVar9 * 4);
      if (*(*argvp)[iVar9] != '@') break;
      local_a4 = local_a4 + -1;
      if (local_a4 == 0) {
        puVar6 = &stack0xffffff4c;
        pcVar4 = "%s: error: too many @-files encountered\n";
        goto LAB_000135d9;
      }
      pcVar4 = (*argvp)[iVar9] + 1;
      iVar2 = __xstat64(3,pcVar4,local_a0);
      if (iVar2 < 0) {
LAB_000133b8:
        iVar2 = *argcp;
        break;
      }
      if ((sb.st_mode & 0xf000) == 0x4000) {
        do {
          puVar6 = puVar7 + -8;
          *(undefined4 *)(puVar7 + -8) = *(undefined4 *)**(undefined4 **)(puVar7 + 0xb4);
          pcVar4 = "%s: error: @-file refers to a directory\n";
LAB_000135d9:
          *(char **)(puVar6 + -4) = pcVar4;
          puVar7 = puVar6 + -8;
          *(undefined4 *)(puVar6 + -8) = *(undefined4 *)PTR_stderr_00016fc8;
          *(undefined4 *)(puVar6 + -0xc) = 0x135e7;
          fprintf(*(FILE **)(puVar6 + -8),*(char **)(puVar6 + -4));
          *(undefined4 *)(puVar6 + -8) = 1;
          *(undefined4 *)(puVar6 + -0xc) = 0x135f3;
          xexit();
        } while( true );
      }
      __stream = fopen64(pcVar4,"r");
      if (__stream == (FILE *)0x0) goto LAB_000133b8;
      iVar2 = fseek(__stream,0,2);
      if (((iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)) &&
         (iVar2 = fseek(__stream,0,0), iVar2 != -1)) {
        local_94 = (char **)local_98;
        local_98 = (byte *)xmalloc(local_98 + 1);
        ppcVar3 = (char **)fread(local_98,1,(size_t)local_94,__stream);
        if ((local_94 == ppcVar3) ||
           (local_94 = ppcVar3, iVar2 = ferror(__stream), ppcVar3 = local_94, iVar2 == 0)) {
          local_98[(int)ppcVar3] = 0;
          if (*local_98 == 0) {
LAB_0001340c:
            local_88 = (char **)xmalloc(4);
            *local_88 = (char *)0x0;
            local_94 = *argvp;
            if (local_80 == local_94) {
              local_94 = dupargv(local_80);
              iVar2 = 0;
              *argvp = local_94;
              local_90 = (char *)0x0;
              local_8c = local_a8;
            }
            else {
LAB_000135b7:
              iVar2 = 0;
              local_90 = (char *)0x0;
              local_8c = local_a8;
            }
          }
          else {
            bVar1 = local_9c[(uint)*local_98 * 2];
            pbVar5 = local_98;
            while ((bVar1 & 0x40) != 0) {
              pbVar5 = pbVar5 + 1;
              if (*pbVar5 == 0) goto LAB_0001340c;
              bVar1 = local_9c[(uint)*pbVar5 * 2];
            }
            local_8c = buildargv((char *)local_98);
            local_94 = *argvp;
            local_90 = *local_8c;
            if (local_94 == local_80) {
              local_94 = dupargv(local_80);
              *argvp = local_94;
            }
            local_88 = local_8c;
            if (local_90 == (char *)0x0) goto LAB_000135b7;
            iVar2 = 0;
            do {
              iVar2 = iVar2 + 1;
              local_90 = (char *)(iVar2 * 4);
            } while (local_8c[iVar2] != (char *)0x0);
            local_8c = (char **)((iVar9 + iVar2) * 4);
          }
          local_84 = local_88;
          local_88 = (char **)iVar2;
          free(*(void **)((int)local_94 + (int)local_a8));
          ppcVar3 = (char **)xrealloc(*argvp,((int)local_88 + 1 + *argcp) * 4);
          *argvp = ppcVar3;
          local_94 = (char **)*argcp;
          memmove((void *)((int)ppcVar3 + (int)local_8c),
                  (void *)((int)(ppcVar3 + 1) + (int)local_a8),((int)local_94 - iVar9) * 4);
          __dest = (void *)((int)local_a8 + (int)*argvp);
          local_a8 = local_84;
          memcpy(__dest,local_84,(size_t)local_90);
          *argcp = (int)local_88 + -1 + *argcp;
          free(local_a8);
          free(local_98);
          iVar9 = iVar8;
        }
      }
      iVar8 = iVar9;
      iVar9 = iVar8 + 1;
      fclose(__stream);
      iVar2 = *argcp;
      if (iVar2 <= iVar9) {
        return;
      }
    }
  } while( true );
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void FUN_00013220(int *param_1,int *param_2)

{
  byte bVar1;
  int iVar2;
  FILE *__stream;
  byte *pbVar3;
  void *__dest;
  char *pcVar4;
  undefined1 *puVar5;
  undefined1 *puVar6;
  int iVar7;
  int iVar8;
  undefined1 auStack_ac [4];
  int *local_a8;
  int local_a4;
  stat64 *local_a0;
  undefined *local_9c;
  byte *local_98;
  byte *local_94;
  size_t local_90;
  int *local_8c;
  int *local_88;
  int *local_84;
  int local_80;
  stat64 local_7c;
  undefined4 uStack_14;
  
  uStack_14 = 0x1322b;
  puVar6 = auStack_ac;
  local_a4 = 2000;
  local_80 = *param_2;
  iVar2 = *param_1;
  local_a0 = &local_7c;
  local_9c = PTR__sch_istable_00016fd0;
  iVar8 = 0;
  do {
    iVar7 = iVar8;
    iVar8 = iVar7 + 1;
    if (iVar2 <= iVar8) {
      return;
    }
    while( true ) {
      local_a8 = (int *)(iVar8 * 4);
      pcVar4 = *(char **)(*param_2 + iVar8 * 4);
      if (*pcVar4 != '@') break;
      local_a4 = local_a4 + -1;
      if (local_a4 == 0) {
        puVar5 = &stack0xffffff4c;
        pcVar4 = "%s: error: too many @-files encountered\n";
        goto LAB_000135d9;
      }
      pcVar4 = pcVar4 + 1;
      iVar2 = __xstat64(3,pcVar4,local_a0);
      if (iVar2 < 0) {
LAB_000133b8:
        iVar2 = *param_1;
        break;
      }
      if ((local_7c.st_mode & 0xf000) == 0x4000) {
        do {
          puVar5 = puVar6 + -8;
          *(undefined4 *)(puVar6 + -8) = *(undefined4 *)**(undefined4 **)(puVar6 + 0xb4);
          pcVar4 = "%s: error: @-file refers to a directory\n";
LAB_000135d9:
          *(char **)(puVar5 + -4) = pcVar4;
          puVar6 = puVar5 + -8;
          *(undefined4 *)(puVar5 + -8) = *(undefined4 *)PTR_stderr_00016fc8;
          *(undefined4 *)(puVar5 + -0xc) = 0x135e7;
          fprintf(*(FILE **)(puVar5 + -8),*(char **)(puVar5 + -4));
          *(undefined4 *)(puVar5 + -8) = 1;
          *(undefined4 *)(puVar5 + -0xc) = 0x135f3;
          xexit();
        } while( true );
      }
      __stream = fopen64(pcVar4,"r");
      if (__stream == (FILE *)0x0) goto LAB_000133b8;
      iVar2 = fseek(__stream,0,2);
      if (((iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)) &&
         (iVar2 = fseek(__stream,0,0), iVar2 != -1)) {
        local_94 = local_98;
        local_98 = (byte *)xmalloc(local_98 + 1);
        pbVar3 = (byte *)fread(local_98,1,(size_t)local_94,__stream);
        if ((local_94 == pbVar3) ||
           (local_94 = pbVar3, iVar2 = ferror(__stream), pbVar3 = local_94, iVar2 == 0)) {
          local_98[(int)pbVar3] = 0;
          if (*local_98 == 0) {
LAB_0001340c:
            local_88 = (int *)xmalloc(4);
            *local_88 = 0;
            local_94 = (byte *)*param_2;
            if ((byte *)local_80 == local_94) {
              local_94 = (byte *)FUN_00012d90(local_80);
              iVar2 = 0;
              *param_2 = (int)local_94;
              local_90 = 0;
              local_8c = local_a8;
            }
            else {
LAB_000135b7:
              iVar2 = 0;
              local_90 = 0;
              local_8c = local_a8;
            }
          }
          else {
            bVar1 = local_9c[(uint)*local_98 * 2];
            pbVar3 = local_98;
            while ((bVar1 & 0x40) != 0) {
              pbVar3 = pbVar3 + 1;
              if (*pbVar3 == 0) goto LAB_0001340c;
              bVar1 = local_9c[(uint)*pbVar3 * 2];
            }
            local_8c = (int *)FUN_00012e80(local_98);
            local_94 = (byte *)*param_2;
            local_90 = *local_8c;
            if (local_94 == (byte *)local_80) {
              local_94 = (byte *)FUN_00012d90(local_80);
              *param_2 = (int)local_94;
            }
            local_88 = local_8c;
            if (local_90 == 0) goto LAB_000135b7;
            iVar2 = 0;
            do {
              iVar2 = iVar2 + 1;
              local_90 = iVar2 * 4;
            } while (local_8c[iVar2] != 0);
            local_8c = (int *)((iVar8 + iVar2) * 4);
          }
          local_84 = local_88;
          local_88 = (int *)iVar2;
          free(*(void **)((int)local_94 + (int)local_a8));
          iVar2 = xrealloc(*param_2,((int)local_88 + 1 + *param_1) * 4);
          *param_2 = iVar2;
          local_94 = (byte *)*param_1;
          memmove((void *)(iVar2 + (int)local_8c),(void *)(iVar2 + 4 + (int)local_a8),
                  ((int)local_94 - iVar8) * 4);
          __dest = (void *)((int)local_a8 + *param_2);
          local_a8 = local_84;
          memcpy(__dest,local_84,local_90);
          *param_1 = (int)local_88 + -1 + *param_1;
          free(local_a8);
          free(local_98);
          iVar8 = iVar7;
        }
      }
      iVar7 = iVar8;
      iVar8 = iVar7 + 1;
      fclose(__stream);
      iVar2 = *param_1;
      if (iVar2 <= iVar8) {
        return;
      }
    }
  } while( true );
}


PUSH EBP
XOR EBP,EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00011840
ADD EBX,0x3dd5
SUB ESP,0x9c
MOV EAX,dword ptr [ESP + 0xb4]
MOV dword ptr [ESP + 0x8],0x7d0
MOV EAX,dword ptr [EAX]
MOV dword ptr [ESP + 0x2c],EAX
MOV EAX,dword ptr [ESP + 0xb0]
MOV ECX,dword ptr [EAX]
LEA EAX,[ESP + 0x30]
MOV dword ptr [ESP + 0xc],EAX
MOV EAX,dword ptr [EBX + 0xffffffd0]
MOV dword ptr [ESP + 0x10],EAX
LEA ESI,[ESI]
NOP
LEA ESI,[EBP + 0x1]
CMP ESI,ECX
JGE 0x000133aa
MOV EAX,dword ptr [ESP + 0xb4]
MOV EDX,dword ptr [EAX]
LEA EAX,[ESI*0x4 + 0x0]
MOV dword ptr [ESP + 0x4],EAX
MOV EAX,dword ptr [EDX + ESI*0x4]
CMP byte ptr [EAX],0x40
JNZ 0x000133c1
SUB dword ptr [ESP + 0x8],0x1
JZ 0x000135ce
SUB ESP,0x4
LEA EDI,[EAX + 0x1]
PUSH dword ptr [ESP + 0x10]
PUSH EDI
PUSH 0x3
CALL 0x000113d0
ADD ESP,0x10
TEST EAX,EAX
JS 0x000133b8
MOV EAX,dword ptr [ESP + 0x40]
AND EAX,0xf000
CMP EAX,0x4000
JZ 0x000135f3
SUB ESP,0x8
LEA EAX,[EBX + 0xffffd931]
PUSH EAX
PUSH EDI
CALL 0x00011170
ADD ESP,0x10
MOV EDI,EAX
TEST EAX,EAX
JZ 0x000133b8
SUB ESP,0x4
PUSH 0x2
PUSH 0x0
PUSH EAX
CALL 0x00011140
ADD ESP,0x10
CMP EAX,-0x1
JZ 0x00013388
SUB ESP,0xc
PUSH EDI
CALL 0x000112b0
ADD ESP,0x10
CMP EAX,-0x1
MOV dword ptr [ESP + 0x14],EAX
JZ 0x00013388
SUB ESP,0x4
PUSH 0x0
PUSH 0x0
PUSH EDI
CALL 0x00011140
ADD ESP,0x10
CMP EAX,-0x1
JZ 0x00013388
SUB ESP,0xc
MOV EDX,dword ptr [ESP + 0x20]
LEA EAX,[EDX + 0x1]
MOV dword ptr [ESP + 0x24],EDX
PUSH EAX
CALL 0x00011190
MOV dword ptr [ESP + 0x24],EAX
PUSH EDI
MOV EDX,dword ptr [ESP + 0x2c]
PUSH EDX
MOV dword ptr [ESP + 0x30],EDX
PUSH 0x1
PUSH EAX
CALL 0x000111c0
ADD ESP,0x20
MOV EDX,dword ptr [ESP + 0x18]
MOV ECX,EAX
CMP EDX,EAX
JZ 0x000133d0
MOV dword ptr [ESP + 0x18],EAX
SUB ESP,0xc
PUSH EDI
CALL 0x000110e0
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0x18]
TEST EAX,EAX
JZ 0x000133d0
LEA ESI,[ESI]
SUB ESP,0xc
MOV EBP,ESI
PUSH EDI
LEA ESI,[EBP + 0x1]
CALL 0x000110f0
MOV EAX,dword ptr [ESP + 0xc0]
ADD ESP,0x10
MOV ECX,dword ptr [EAX]
CMP ESI,ECX
JL 0x0001327b
ADD ESP,0x9c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ESP + 0xb0]
MOV ECX,dword ptr [EAX]
MOV EBP,ESI
JMP 0x00013270
MOV EAX,dword ptr [ESP + 0x14]
MOV byte ptr [EAX + ECX*0x1],0x0
MOVZX EAX,byte ptr [EAX]
TEST AL,AL
JZ 0x0001340c
MOV ECX,dword ptr [ESP + 0x10]
TEST byte ptr [ECX + EAX*0x2],0x40
JZ 0x00013478
MOV EDX,dword ptr [ESP + 0x14]
JMP 0x00013402
MOV ECX,dword ptr [ESP + 0x10]
TEST byte ptr [ECX + EAX*0x2],0x40
JZ 0x00013478
ADD EDX,0x1
MOVZX EAX,byte ptr [EDX]
TEST AL,AL
JNZ 0x000133f8
SUB ESP,0xc
PUSH 0x4
CALL 0x00011190
MOV dword ptr [EAX],0x0
MOV ECX,EAX
MOV EAX,dword ptr [ESP + 0xc4]
MOV EDX,dword ptr [EAX]
MOV dword ptr [ESP + 0x28],EDX
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x2c]
CMP EAX,EDX
JNZ 0x000135b7
MOV dword ptr [ESP + 0x24],ECX
SUB ESP,0xc
PUSH EAX
CALL 0x00012d90
XOR EDX,EDX
MOV dword ptr [ESP + 0x28],EAX
MOV ECX,EAX
MOV EAX,dword ptr [ESP + 0xc4]
ADD ESP,0x10
MOV dword ptr [EAX],ECX
MOV EAX,dword ptr [ESP + 0x4]
MOV dword ptr [ESP + 0x1c],0x0
MOV ECX,dword ptr [ESP + 0x24]
MOV dword ptr [ESP + 0x20],EAX
JMP 0x000134e6
SUB ESP,0xc
PUSH dword ptr [ESP + 0x20]
CALL 0x00012e80
MOV ECX,EAX
MOV EAX,dword ptr [ESP + 0xc4]
MOV EAX,dword ptr [EAX]
MOV dword ptr [ESP + 0x28],EAX
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x2c]
CMP EAX,EDX
MOV EDX,dword ptr [ECX]
JZ 0x00013609
TEST EDX,EDX
JZ 0x000135b7
MOV dword ptr [ESP + 0x20],EBP
MOV EAX,dword ptr [ESP + 0x18]
XOR EDX,EDX
LEA ESI,[ESI]
LEA ESI,[ESI]
ADD EDX,0x1
CMP dword ptr [ECX + EDX*0x4],0x0
LEA EBP,[EDX*0x4 + 0x0]
JNZ 0x000134c0
MOV dword ptr [ESP + 0x18],EAX
LEA EAX,[ESI + EDX*0x1]
SHL EAX,0x2
MOV dword ptr [ESP + 0x1c],EBP
MOV EBP,dword ptr [ESP + 0x20]
MOV dword ptr [ESP + 0x20],EAX
MOV dword ptr [ESP + 0x24],EDX
SUB ESP,0xc
MOV dword ptr [ESP + 0x34],ECX
MOV ECX,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [ESP + 0x24]
PUSH dword ptr [EAX + ECX*0x1]
CALL 0x000110b0
POP EAX
POP EDX
MOV EDX,dword ptr [ESP + 0xb8]
MOV EAX,dword ptr [EDX]
MOV EDX,dword ptr [ESP + 0x2c]
LEA EAX,[EDX + EAX*0x1 + 0x1]
SHL EAX,0x2
PUSH EAX
MOV EDX,dword ptr [ESP + 0xc0]
PUSH dword ptr [EDX]
CALL 0x00011130
MOV EDX,dword ptr [ESP + 0xc4]
ADD ESP,0xc
MOV dword ptr [EDX],EAX
MOV EDX,dword ptr [ESP + 0xb4]
MOV EDX,dword ptr [EDX]
MOV dword ptr [ESP + 0x1c],EDX
SUB EDX,ESI
MOV ESI,EDX
SHL ESI,0x2
PUSH ESI
MOV ECX,dword ptr [ESP + 0xc]
LEA ESI,[EAX + ECX*0x1 + 0x4]
PUSH ESI
ADD EAX,dword ptr [ESP + 0x2c]
PUSH EAX
CALL 0x00011090
MOV ESI,dword ptr [ESP + 0xc4]
MOV EAX,dword ptr [ESP + 0x14]
ADD ESP,0xc
ADD EAX,dword ptr [ESI]
PUSH dword ptr [ESP + 0x20]
MOV ESI,EBP
MOV ECX,dword ptr [ESP + 0x30]
PUSH ECX
MOV dword ptr [ESP + 0x10],ECX
PUSH EAX
CALL 0x000110c0
MOV EAX,dword ptr [ESP + 0xc0]
MOV EDX,dword ptr [ESP + 0x34]
MOV ECX,dword ptr [ESP + 0xc0]
MOV EAX,dword ptr [EAX]
LEA EAX,[EDX + EAX*0x1 + -0x1]
MOV dword ptr [ECX],EAX
MOV ECX,dword ptr [ESP + 0x14]
MOV dword ptr [ESP],ECX
CALL 0x000110b0
POP ECX
PUSH dword ptr [ESP + 0x20]
CALL 0x000110b0
ADD ESP,0x10
JMP 0x00013388
MOV EAX,dword ptr [ESP + 0x4]
XOR EDX,EDX
MOV dword ptr [ESP + 0x1c],0x0
MOV dword ptr [ESP + 0x20],EAX
JMP 0x000134e6
SUB ESP,0x4
PUSH dword ptr [EDX]
LEA EAX,[EBX + 0xffffd8dc]
PUSH EAX
MOV EAX,dword ptr [EBX + 0xffffffc8]
PUSH dword ptr [EAX]
CALL 0x00011290
MOV dword ptr [ESP],0x1
CALL 0x00011360
SUB ESP,0x4
MOV EAX,dword ptr [ESP + 0xb8]
MOV EAX,dword ptr [EAX]
PUSH dword ptr [EAX]
LEA EAX,[EBX + 0xffffd908]
JMP 0x000135d9
MOV dword ptr [ESP + 0x20],ECX
SUB ESP,0xc
MOV dword ptr [ESP + 0x28],EDX
PUSH dword ptr [ESP + 0x38]
CALL 0x00012d90
MOV dword ptr [ESP + 0x28],EAX
MOV ECX,EAX
MOV EAX,dword ptr [ESP + 0xc4]
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x1c]
MOV dword ptr [EAX],ECX
MOV ECX,dword ptr [ESP + 0x20]
JMP 0x000134a4
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00013220(int *param_1,int *param_2)\n\n{\n  byte bVar1;\n  int iVar2;\n  FILE *__stream;\n  byte *pbVar3;\n  void *__dest;\n  char *pcVar4;\n  undefined1 *puVar5;\n  undefined1 *puVar6;\n  int iVar7;\n  int iVar8;\n  undefined1 auStack_ac [4];\n  int *local_a8;\n  int local_a4;\n  stat64 *local_a0;\n  undefined *local_9c;\n  byte *local_98;\n  byte *local_94;\n  size_t local_90;\n  int *local_8c;\n  int *local_88;\n  int *local_84;\n  int local_80;\n  stat64 local_7c;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1322b;\n  puVar6 = auStack_ac;\n  local_a4 = 2000;\n  local_80 = *param_2;\n  iVar2 = *param_1;\n  local_a0 = &local_7c;\n  local_9c = PTR__sch_istable_00016fd0;\n  iVar8 = 0;\n  do {\n    iVar7 = iVar8;\n    iVar8 = iVar7 + 1;\n    if (iVar2 <= iVar8) {\n      return;\n    }\n    while( true ) {\n      local_a8 = (int *)(iVar8 * 4);\n      pcVar4 = *(char **)(*param_2 + iVar8 * 4);\n      if (*pcVar4 != '@') break;\n      local_a4 = local_a4 + -1;\n      if (local_a4 == 0) {\n        puVar5 = &stack0xffffff4c;\n        pcVar4 = "%s: error: too many @-files encountered\n";\n        goto LAB_000135d9;\n      }\n      pcVar4 = pcVar4 + 1;\n      iVar2 = __xstat64(3,pcVar4,local_a0);\n      if (iVar2 < 0) {\nLAB_000133b8:\n        iVar2 = *param_1;\n        break;\n      }\n      if ((local_7c.st_mode & 0xf000) == 0x4000) {\n        do {\n          puVar5 = puVar6 + -8;\n          *(undefined4 *)(puVar6 + -8) = *(undefined4 *)**(undefined4 **)(puVar6 + 0xb4);\n          pcVar4 = "%s: error: @-file refers to a directory\n";\nLAB_000135d9:\n          *(char **)(puVar5 + -4) = pcVar4;\n          puVar6 = puVar5 + -8;\n          *(undefined4 *)(puVar5 + -8) = *(undefined4 *)PTR_stderr_00016fc8;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135e7;\n          fprintf(*(FILE **)(puVar5 + -8),*(char **)(puVar5 + -4));\n          *(undefined4 *)(puVar5 + -8) = 1;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135f3;\n          xexit();\n        } while( true );\n      }\n      __stream = fopen64(pcVar4,"r");\n      if (__stream == (FILE *)0x0) goto LAB_000133b8;\n      iVar2 = fseek(__stream,0,2);\n      if (((iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1)) {\n        local_94 = local_98;\n        local_98 = (byte *)xmalloc(local_98 + 1);\n        pbVar3 = (byte *)fread(local_98,1,(size_t)local_94,__stream);\n        if ((local_94 == pbVar3) ||\n           (local_94 = pbVar3, iVar2 = ferror(__stream), pbVar3 = local_94, iVar2 == 0)) {\n          local_98[(int)pbVar3] = 0;\n          if (*local_98 == 0) {\nLAB_0001340c:\n            local_88 = (int *)xmalloc(4);\n            *local_88 = 0;\n            local_94 = (byte *)*param_2;\n            if ((byte *)local_80 == local_94) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              iVar2 = 0;\n              *param_2 = (int)local_94;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n          }\n          else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar3 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar3 = pbVar3 + 1;\n              if (*pbVar3 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar3 * 2];\n            }\n            local_8c = (int *)FUN_00012e80(local_98);\n            local_94 = (byte *)*param_2;\n            local_90 = *local_8c;\n            if (local_94 == (byte *)local_80) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              *param_2 = (int)local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == 0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = iVar2 * 4;\n            } while (local_8c[iVar2] != 0);\n            local_8c = (int *)((iVar8 + iVar2) * 4);\n          }\n          local_84 = local_88;\n          local_88 = (int *)iVar2;\n          free(*(void **)((int)local_94 + (int)local_a8));\n          iVar2 = xrealloc(*param_2,((int)local_88 + 1 + *param_1) * 4);\n          *param_2 = iVar2;\n          local_94 = (byte *)*param_1;\n          memmove((void *)(iVar2 + (int)local_8c),(void *)(iVar2 + 4 + (int)local_a8),\n                  ((int)local_94 - iVar8) * 4);\n          __dest = (void *)((int)local_a8 + *param_2);\n          local_a8 = local_84;\n          memcpy(__dest,local_84,local_90);\n          *param_1 = (int)local_88 + -1 + *param_1;\n          free(local_a8);\n          free(local_98);\n          iVar8 = iVar7;\n        }\n      }\n      iVar7 = iVar8;\n      iVar8 = iVar7 + 1;\n      fclose(__stream);\n      iVar2 = *param_1;\n      if (iVar2 <= iVar8) {\n        return;\n      }\n    }\n  } while( true );\n}\n\n" comment (function_definition "void FUN_00013220(int *param_1,int *param_2)\n\n{\n  byte bVar1;\n  int iVar2;\n  FILE *__stream;\n  byte *pbVar3;\n  void *__dest;\n  char *pcVar4;\n  undefined1 *puVar5;\n  undefined1 *puVar6;\n  int iVar7;\n  int iVar8;\n  undefined1 auStack_ac [4];\n  int *local_a8;\n  int local_a4;\n  stat64 *local_a0;\n  undefined *local_9c;\n  byte *local_98;\n  byte *local_94;\n  size_t local_90;\n  int *local_8c;\n  int *local_88;\n  int *local_84;\n  int local_80;\n  stat64 local_7c;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1322b;\n  puVar6 = auStack_ac;\n  local_a4 = 2000;\n  local_80 = *param_2;\n  iVar2 = *param_1;\n  local_a0 = &local_7c;\n  local_9c = PTR__sch_istable_00016fd0;\n  iVar8 = 0;\n  do {\n    iVar7 = iVar8;\n    iVar8 = iVar7 + 1;\n    if (iVar2 <= iVar8) {\n      return;\n    }\n    while( true ) {\n      local_a8 = (int *)(iVar8 * 4);\n      pcVar4 = *(char **)(*param_2 + iVar8 * 4);\n      if (*pcVar4 != '@') break;\n      local_a4 = local_a4 + -1;\n      if (local_a4 == 0) {\n        puVar5 = &stack0xffffff4c;\n        pcVar4 = "%s: error: too many @-files encountered\n";\n        goto LAB_000135d9;\n      }\n      pcVar4 = pcVar4 + 1;\n      iVar2 = __xstat64(3,pcVar4,local_a0);\n      if (iVar2 < 0) {\nLAB_000133b8:\n        iVar2 = *param_1;\n        break;\n      }\n      if ((local_7c.st_mode & 0xf000) == 0x4000) {\n        do {\n          puVar5 = puVar6 + -8;\n          *(undefined4 *)(puVar6 + -8) = *(undefined4 *)**(undefined4 **)(puVar6 + 0xb4);\n          pcVar4 = "%s: error: @-file refers to a directory\n";\nLAB_000135d9:\n          *(char **)(puVar5 + -4) = pcVar4;\n          puVar6 = puVar5 + -8;\n          *(undefined4 *)(puVar5 + -8) = *(undefined4 *)PTR_stderr_00016fc8;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135e7;\n          fprintf(*(FILE **)(puVar5 + -8),*(char **)(puVar5 + -4));\n          *(undefined4 *)(puVar5 + -8) = 1;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135f3;\n          xexit();\n        } while( true );\n      }\n      __stream = fopen64(pcVar4,"r");\n      if (__stream == (FILE *)0x0) goto LAB_000133b8;\n      iVar2 = fseek(__stream,0,2);\n      if (((iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1)) {\n        local_94 = local_98;\n        local_98 = (byte *)xmalloc(local_98 + 1);\n        pbVar3 = (byte *)fread(local_98,1,(size_t)local_94,__stream);\n        if ((local_94 == pbVar3) ||\n           (local_94 = pbVar3, iVar2 = ferror(__stream), pbVar3 = local_94, iVar2 == 0)) {\n          local_98[(int)pbVar3] = 0;\n          if (*local_98 == 0) {\nLAB_0001340c:\n            local_88 = (int *)xmalloc(4);\n            *local_88 = 0;\n            local_94 = (byte *)*param_2;\n            if ((byte *)local_80 == local_94) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              iVar2 = 0;\n              *param_2 = (int)local_94;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n          }\n          else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar3 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar3 = pbVar3 + 1;\n              if (*pbVar3 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar3 * 2];\n            }\n            local_8c = (int *)FUN_00012e80(local_98);\n            local_94 = (byte *)*param_2;\n            local_90 = *local_8c;\n            if (local_94 == (byte *)local_80) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              *param_2 = (int)local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == 0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = iVar2 * 4;\n            } while (local_8c[iVar2] != 0);\n            local_8c = (int *)((iVar8 + iVar2) * 4);\n          }\n          local_84 = local_88;\n          local_88 = (int *)iVar2;\n          free(*(void **)((int)local_94 + (int)local_a8));\n          iVar2 = xrealloc(*param_2,((int)local_88 + 1 + *param_1) * 4);\n          *param_2 = iVar2;\n          local_94 = (byte *)*param_1;\n          memmove((void *)(iVar2 + (int)local_8c),(void *)(iVar2 + 4 + (int)local_a8),\n                  ((int)local_94 - iVar8) * 4);\n          __dest = (void *)((int)local_a8 + *param_2);\n          local_a8 = local_84;\n          memcpy(__dest,local_84,local_90);\n          *param_1 = (int)local_88 + -1 + *param_1;\n          free(local_a8);\n          free(local_98);\n          iVar8 = iVar7;\n        }\n      }\n      iVar7 = iVar8;\n      iVar8 = iVar7 + 1;\n      fclose(__stream);\n      iVar2 = *param_1;\n      if (iVar2 <= iVar8) {\n        return;\n      }\n    }\n  } while( true );\n}" primitive_type (function_declarator "FUN_00013220(int *param_1,int *param_2)" identifier (parameter_list "(int *param_1,int *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  FILE *__stream;\n  byte *pbVar3;\n  void *__dest;\n  char *pcVar4;\n  undefined1 *puVar5;\n  undefined1 *puVar6;\n  int iVar7;\n  int iVar8;\n  undefined1 auStack_ac [4];\n  int *local_a8;\n  int local_a4;\n  stat64 *local_a0;\n  undefined *local_9c;\n  byte *local_98;\n  byte *local_94;\n  size_t local_90;\n  int *local_8c;\n  int *local_88;\n  int *local_84;\n  int local_80;\n  stat64 local_7c;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1322b;\n  puVar6 = auStack_ac;\n  local_a4 = 2000;\n  local_80 = *param_2;\n  iVar2 = *param_1;\n  local_a0 = &local_7c;\n  local_9c = PTR__sch_istable_00016fd0;\n  iVar8 = 0;\n  do {\n    iVar7 = iVar8;\n    iVar8 = iVar7 + 1;\n    if (iVar2 <= iVar8) {\n      return;\n    }\n    while( true ) {\n      local_a8 = (int *)(iVar8 * 4);\n      pcVar4 = *(char **)(*param_2 + iVar8 * 4);\n      if (*pcVar4 != '@') break;\n      local_a4 = local_a4 + -1;\n      if (local_a4 == 0) {\n        puVar5 = &stack0xffffff4c;\n        pcVar4 = "%s: error: too many @-files encountered\n";\n        goto LAB_000135d9;\n      }\n      pcVar4 = pcVar4 + 1;\n      iVar2 = __xstat64(3,pcVar4,local_a0);\n      if (iVar2 < 0) {\nLAB_000133b8:\n        iVar2 = *param_1;\n        break;\n      }\n      if ((local_7c.st_mode & 0xf000) == 0x4000) {\n        do {\n          puVar5 = puVar6 + -8;\n          *(undefined4 *)(puVar6 + -8) = *(undefined4 *)**(undefined4 **)(puVar6 + 0xb4);\n          pcVar4 = "%s: error: @-file refers to a directory\n";\nLAB_000135d9:\n          *(char **)(puVar5 + -4) = pcVar4;\n          puVar6 = puVar5 + -8;\n          *(undefined4 *)(puVar5 + -8) = *(undefined4 *)PTR_stderr_00016fc8;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135e7;\n          fprintf(*(FILE **)(puVar5 + -8),*(char **)(puVar5 + -4));\n          *(undefined4 *)(puVar5 + -8) = 1;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135f3;\n          xexit();\n        } while( true );\n      }\n      __stream = fopen64(pcVar4,"r");\n      if (__stream == (FILE *)0x0) goto LAB_000133b8;\n      iVar2 = fseek(__stream,0,2);\n      if (((iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1)) {\n        local_94 = local_98;\n        local_98 = (byte *)xmalloc(local_98 + 1);\n        pbVar3 = (byte *)fread(local_98,1,(size_t)local_94,__stream);\n        if ((local_94 == pbVar3) ||\n           (local_94 = pbVar3, iVar2 = ferror(__stream), pbVar3 = local_94, iVar2 == 0)) {\n          local_98[(int)pbVar3] = 0;\n          if (*local_98 == 0) {\nLAB_0001340c:\n            local_88 = (int *)xmalloc(4);\n            *local_88 = 0;\n            local_94 = (byte *)*param_2;\n            if ((byte *)local_80 == local_94) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              iVar2 = 0;\n              *param_2 = (int)local_94;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n          }\n          else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar3 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar3 = pbVar3 + 1;\n              if (*pbVar3 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar3 * 2];\n            }\n            local_8c = (int *)FUN_00012e80(local_98);\n            local_94 = (byte *)*param_2;\n            local_90 = *local_8c;\n            if (local_94 == (byte *)local_80) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              *param_2 = (int)local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == 0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = iVar2 * 4;\n            } while (local_8c[iVar2] != 0);\n            local_8c = (int *)((iVar8 + iVar2) * 4);\n          }\n          local_84 = local_88;\n          local_88 = (int *)iVar2;\n          free(*(void **)((int)local_94 + (int)local_a8));\n          iVar2 = xrealloc(*param_2,((int)local_88 + 1 + *param_1) * 4);\n          *param_2 = iVar2;\n          local_94 = (byte *)*param_1;\n          memmove((void *)(iVar2 + (int)local_8c),(void *)(iVar2 + 4 + (int)local_a8),\n                  ((int)local_94 - iVar8) * 4);\n          __dest = (void *)((int)local_a8 + *param_2);\n          local_a8 = local_84;\n          memcpy(__dest,local_84,local_90);\n          *param_1 = (int)local_88 + -1 + *param_1;\n          free(local_a8);\n          free(local_98);\n          iVar8 = iVar7;\n        }\n      }\n      iVar7 = iVar8;\n      iVar8 = iVar7 + 1;\n      fclose(__stream);\n      iVar2 = *param_1;\n      if (iVar2 <= iVar8) {\n        return;\n      }\n    }\n  } while( true );\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "FILE *__stream;" type_identifier (pointer_declarator "*__stream" * identifier) ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "void *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "undefined1 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined1 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "undefined1 auStack_ac [4];" type_identifier (array_declarator "auStack_ac [4]" identifier [ number_literal ]) ;) (declaration "int *local_a8;" primitive_type (pointer_declarator "*local_a8" * identifier) ;) (declaration "int local_a4;" primitive_type identifier ;) (declaration "stat64 *local_a0;" type_identifier (pointer_declarator "*local_a0" * identifier) ;) (declaration "undefined *local_9c;" type_identifier (pointer_declarator "*local_9c" * identifier) ;) (declaration "byte *local_98;" type_identifier (pointer_declarator "*local_98" * identifier) ;) (declaration "byte *local_94;" type_identifier (pointer_declarator "*local_94" * identifier) ;) (declaration "size_t local_90;" primitive_type identifier ;) (declaration "int *local_8c;" primitive_type (pointer_declarator "*local_8c" * identifier) ;) (declaration "int *local_88;" primitive_type (pointer_declarator "*local_88" * identifier) ;) (declaration "int *local_84;" primitive_type (pointer_declarator "*local_84" * identifier) ;) (declaration "int local_80;" primitive_type identifier ;) (declaration "stat64 local_7c;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x1322b;" (assignment_expression "uStack_14 = 0x1322b" identifier = number_literal) ;) (expression_statement "puVar6 = auStack_ac;" (assignment_expression "puVar6 = auStack_ac" identifier = identifier) ;) (expression_statement "local_a4 = 2000;" (assignment_expression "local_a4 = 2000" identifier = number_literal) ;) (expression_statement "local_80 = *param_2;" (assignment_expression "local_80 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "local_a0 = &local_7c;" (assignment_expression "local_a0 = &local_7c" identifier = (pointer_expression "&local_7c" & identifier)) ;) (expression_statement "local_9c = PTR__sch_istable_00016fd0;" (assignment_expression "local_9c = PTR__sch_istable_00016fd0" identifier = identifier) ;) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (do_statement "do {\n    iVar7 = iVar8;\n    iVar8 = iVar7 + 1;\n    if (iVar2 <= iVar8) {\n      return;\n    }\n    while( true ) {\n      local_a8 = (int *)(iVar8 * 4);\n      pcVar4 = *(char **)(*param_2 + iVar8 * 4);\n      if (*pcVar4 != '@') break;\n      local_a4 = local_a4 + -1;\n      if (local_a4 == 0) {\n        puVar5 = &stack0xffffff4c;\n        pcVar4 = "%s: error: too many @-files encountered\n";\n        goto LAB_000135d9;\n      }\n      pcVar4 = pcVar4 + 1;\n      iVar2 = __xstat64(3,pcVar4,local_a0);\n      if (iVar2 < 0) {\nLAB_000133b8:\n        iVar2 = *param_1;\n        break;\n      }\n      if ((local_7c.st_mode & 0xf000) == 0x4000) {\n        do {\n          puVar5 = puVar6 + -8;\n          *(undefined4 *)(puVar6 + -8) = *(undefined4 *)**(undefined4 **)(puVar6 + 0xb4);\n          pcVar4 = "%s: error: @-file refers to a directory\n";\nLAB_000135d9:\n          *(char **)(puVar5 + -4) = pcVar4;\n          puVar6 = puVar5 + -8;\n          *(undefined4 *)(puVar5 + -8) = *(undefined4 *)PTR_stderr_00016fc8;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135e7;\n          fprintf(*(FILE **)(puVar5 + -8),*(char **)(puVar5 + -4));\n          *(undefined4 *)(puVar5 + -8) = 1;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135f3;\n          xexit();\n        } while( true );\n      }\n      __stream = fopen64(pcVar4,"r");\n      if (__stream == (FILE *)0x0) goto LAB_000133b8;\n      iVar2 = fseek(__stream,0,2);\n      if (((iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1)) {\n        local_94 = local_98;\n        local_98 = (byte *)xmalloc(local_98 + 1);\n        pbVar3 = (byte *)fread(local_98,1,(size_t)local_94,__stream);\n        if ((local_94 == pbVar3) ||\n           (local_94 = pbVar3, iVar2 = ferror(__stream), pbVar3 = local_94, iVar2 == 0)) {\n          local_98[(int)pbVar3] = 0;\n          if (*local_98 == 0) {\nLAB_0001340c:\n            local_88 = (int *)xmalloc(4);\n            *local_88 = 0;\n            local_94 = (byte *)*param_2;\n            if ((byte *)local_80 == local_94) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              iVar2 = 0;\n              *param_2 = (int)local_94;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n          }\n          else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar3 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar3 = pbVar3 + 1;\n              if (*pbVar3 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar3 * 2];\n            }\n            local_8c = (int *)FUN_00012e80(local_98);\n            local_94 = (byte *)*param_2;\n            local_90 = *local_8c;\n            if (local_94 == (byte *)local_80) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              *param_2 = (int)local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == 0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = iVar2 * 4;\n            } while (local_8c[iVar2] != 0);\n            local_8c = (int *)((iVar8 + iVar2) * 4);\n          }\n          local_84 = local_88;\n          local_88 = (int *)iVar2;\n          free(*(void **)((int)local_94 + (int)local_a8));\n          iVar2 = xrealloc(*param_2,((int)local_88 + 1 + *param_1) * 4);\n          *param_2 = iVar2;\n          local_94 = (byte *)*param_1;\n          memmove((void *)(iVar2 + (int)local_8c),(void *)(iVar2 + 4 + (int)local_a8),\n                  ((int)local_94 - iVar8) * 4);\n          __dest = (void *)((int)local_a8 + *param_2);\n          local_a8 = local_84;\n          memcpy(__dest,local_84,local_90);\n          *param_1 = (int)local_88 + -1 + *param_1;\n          free(local_a8);\n          free(local_98);\n          iVar8 = iVar7;\n        }\n      }\n      iVar7 = iVar8;\n      iVar8 = iVar7 + 1;\n      fclose(__stream);\n      iVar2 = *param_1;\n      if (iVar2 <= iVar8) {\n        return;\n      }\n    }\n  } while( true );" do (compound_statement "{\n    iVar7 = iVar8;\n    iVar8 = iVar7 + 1;\n    if (iVar2 <= iVar8) {\n      return;\n    }\n    while( true ) {\n      local_a8 = (int *)(iVar8 * 4);\n      pcVar4 = *(char **)(*param_2 + iVar8 * 4);\n      if (*pcVar4 != '@') break;\n      local_a4 = local_a4 + -1;\n      if (local_a4 == 0) {\n        puVar5 = &stack0xffffff4c;\n        pcVar4 = "%s: error: too many @-files encountered\n";\n        goto LAB_000135d9;\n      }\n      pcVar4 = pcVar4 + 1;\n      iVar2 = __xstat64(3,pcVar4,local_a0);\n      if (iVar2 < 0) {\nLAB_000133b8:\n        iVar2 = *param_1;\n        break;\n      }\n      if ((local_7c.st_mode & 0xf000) == 0x4000) {\n        do {\n          puVar5 = puVar6 + -8;\n          *(undefined4 *)(puVar6 + -8) = *(undefined4 *)**(undefined4 **)(puVar6 + 0xb4);\n          pcVar4 = "%s: error: @-file refers to a directory\n";\nLAB_000135d9:\n          *(char **)(puVar5 + -4) = pcVar4;\n          puVar6 = puVar5 + -8;\n          *(undefined4 *)(puVar5 + -8) = *(undefined4 *)PTR_stderr_00016fc8;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135e7;\n          fprintf(*(FILE **)(puVar5 + -8),*(char **)(puVar5 + -4));\n          *(undefined4 *)(puVar5 + -8) = 1;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135f3;\n          xexit();\n        } while( true );\n      }\n      __stream = fopen64(pcVar4,"r");\n      if (__stream == (FILE *)0x0) goto LAB_000133b8;\n      iVar2 = fseek(__stream,0,2);\n      if (((iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1)) {\n        local_94 = local_98;\n        local_98 = (byte *)xmalloc(local_98 + 1);\n        pbVar3 = (byte *)fread(local_98,1,(size_t)local_94,__stream);\n        if ((local_94 == pbVar3) ||\n           (local_94 = pbVar3, iVar2 = ferror(__stream), pbVar3 = local_94, iVar2 == 0)) {\n          local_98[(int)pbVar3] = 0;\n          if (*local_98 == 0) {\nLAB_0001340c:\n            local_88 = (int *)xmalloc(4);\n            *local_88 = 0;\n            local_94 = (byte *)*param_2;\n            if ((byte *)local_80 == local_94) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              iVar2 = 0;\n              *param_2 = (int)local_94;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n          }\n          else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar3 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar3 = pbVar3 + 1;\n              if (*pbVar3 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar3 * 2];\n            }\n            local_8c = (int *)FUN_00012e80(local_98);\n            local_94 = (byte *)*param_2;\n            local_90 = *local_8c;\n            if (local_94 == (byte *)local_80) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              *param_2 = (int)local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == 0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = iVar2 * 4;\n            } while (local_8c[iVar2] != 0);\n            local_8c = (int *)((iVar8 + iVar2) * 4);\n          }\n          local_84 = local_88;\n          local_88 = (int *)iVar2;\n          free(*(void **)((int)local_94 + (int)local_a8));\n          iVar2 = xrealloc(*param_2,((int)local_88 + 1 + *param_1) * 4);\n          *param_2 = iVar2;\n          local_94 = (byte *)*param_1;\n          memmove((void *)(iVar2 + (int)local_8c),(void *)(iVar2 + 4 + (int)local_a8),\n                  ((int)local_94 - iVar8) * 4);\n          __dest = (void *)((int)local_a8 + *param_2);\n          local_a8 = local_84;\n          memcpy(__dest,local_84,local_90);\n          *param_1 = (int)local_88 + -1 + *param_1;\n          free(local_a8);\n          free(local_98);\n          iVar8 = iVar7;\n        }\n      }\n      iVar7 = iVar8;\n      iVar8 = iVar7 + 1;\n      fclose(__stream);\n      iVar2 = *param_1;\n      if (iVar2 <= iVar8) {\n        return;\n      }\n    }\n  }" { (expression_statement "iVar7 = iVar8;" (assignment_expression "iVar7 = iVar8" identifier = identifier) ;) (expression_statement "iVar8 = iVar7 + 1;" (assignment_expression "iVar8 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (if_statement "if (iVar2 <= iVar8) {\n      return;\n    }" if (parenthesized_expression "(iVar2 <= iVar8)" ( (binary_expression "iVar2 <= iVar8" identifier <= identifier) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (while_statement "while( true ) {\n      local_a8 = (int *)(iVar8 * 4);\n      pcVar4 = *(char **)(*param_2 + iVar8 * 4);\n      if (*pcVar4 != '@') break;\n      local_a4 = local_a4 + -1;\n      if (local_a4 == 0) {\n        puVar5 = &stack0xffffff4c;\n        pcVar4 = "%s: error: too many @-files encountered\n";\n        goto LAB_000135d9;\n      }\n      pcVar4 = pcVar4 + 1;\n      iVar2 = __xstat64(3,pcVar4,local_a0);\n      if (iVar2 < 0) {\nLAB_000133b8:\n        iVar2 = *param_1;\n        break;\n      }\n      if ((local_7c.st_mode & 0xf000) == 0x4000) {\n        do {\n          puVar5 = puVar6 + -8;\n          *(undefined4 *)(puVar6 + -8) = *(undefined4 *)**(undefined4 **)(puVar6 + 0xb4);\n          pcVar4 = "%s: error: @-file refers to a directory\n";\nLAB_000135d9:\n          *(char **)(puVar5 + -4) = pcVar4;\n          puVar6 = puVar5 + -8;\n          *(undefined4 *)(puVar5 + -8) = *(undefined4 *)PTR_stderr_00016fc8;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135e7;\n          fprintf(*(FILE **)(puVar5 + -8),*(char **)(puVar5 + -4));\n          *(undefined4 *)(puVar5 + -8) = 1;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135f3;\n          xexit();\n        } while( true );\n      }\n      __stream = fopen64(pcVar4,"r");\n      if (__stream == (FILE *)0x0) goto LAB_000133b8;\n      iVar2 = fseek(__stream,0,2);\n      if (((iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1)) {\n        local_94 = local_98;\n        local_98 = (byte *)xmalloc(local_98 + 1);\n        pbVar3 = (byte *)fread(local_98,1,(size_t)local_94,__stream);\n        if ((local_94 == pbVar3) ||\n           (local_94 = pbVar3, iVar2 = ferror(__stream), pbVar3 = local_94, iVar2 == 0)) {\n          local_98[(int)pbVar3] = 0;\n          if (*local_98 == 0) {\nLAB_0001340c:\n            local_88 = (int *)xmalloc(4);\n            *local_88 = 0;\n            local_94 = (byte *)*param_2;\n            if ((byte *)local_80 == local_94) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              iVar2 = 0;\n              *param_2 = (int)local_94;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n          }\n          else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar3 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar3 = pbVar3 + 1;\n              if (*pbVar3 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar3 * 2];\n            }\n            local_8c = (int *)FUN_00012e80(local_98);\n            local_94 = (byte *)*param_2;\n            local_90 = *local_8c;\n            if (local_94 == (byte *)local_80) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              *param_2 = (int)local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == 0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = iVar2 * 4;\n            } while (local_8c[iVar2] != 0);\n            local_8c = (int *)((iVar8 + iVar2) * 4);\n          }\n          local_84 = local_88;\n          local_88 = (int *)iVar2;\n          free(*(void **)((int)local_94 + (int)local_a8));\n          iVar2 = xrealloc(*param_2,((int)local_88 + 1 + *param_1) * 4);\n          *param_2 = iVar2;\n          local_94 = (byte *)*param_1;\n          memmove((void *)(iVar2 + (int)local_8c),(void *)(iVar2 + 4 + (int)local_a8),\n                  ((int)local_94 - iVar8) * 4);\n          __dest = (void *)((int)local_a8 + *param_2);\n          local_a8 = local_84;\n          memcpy(__dest,local_84,local_90);\n          *param_1 = (int)local_88 + -1 + *param_1;\n          free(local_a8);\n          free(local_98);\n          iVar8 = iVar7;\n        }\n      }\n      iVar7 = iVar8;\n      iVar8 = iVar7 + 1;\n      fclose(__stream);\n      iVar2 = *param_1;\n      if (iVar2 <= iVar8) {\n        return;\n      }\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      local_a8 = (int *)(iVar8 * 4);\n      pcVar4 = *(char **)(*param_2 + iVar8 * 4);\n      if (*pcVar4 != '@') break;\n      local_a4 = local_a4 + -1;\n      if (local_a4 == 0) {\n        puVar5 = &stack0xffffff4c;\n        pcVar4 = "%s: error: too many @-files encountered\n";\n        goto LAB_000135d9;\n      }\n      pcVar4 = pcVar4 + 1;\n      iVar2 = __xstat64(3,pcVar4,local_a0);\n      if (iVar2 < 0) {\nLAB_000133b8:\n        iVar2 = *param_1;\n        break;\n      }\n      if ((local_7c.st_mode & 0xf000) == 0x4000) {\n        do {\n          puVar5 = puVar6 + -8;\n          *(undefined4 *)(puVar6 + -8) = *(undefined4 *)**(undefined4 **)(puVar6 + 0xb4);\n          pcVar4 = "%s: error: @-file refers to a directory\n";\nLAB_000135d9:\n          *(char **)(puVar5 + -4) = pcVar4;\n          puVar6 = puVar5 + -8;\n          *(undefined4 *)(puVar5 + -8) = *(undefined4 *)PTR_stderr_00016fc8;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135e7;\n          fprintf(*(FILE **)(puVar5 + -8),*(char **)(puVar5 + -4));\n          *(undefined4 *)(puVar5 + -8) = 1;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135f3;\n          xexit();\n        } while( true );\n      }\n      __stream = fopen64(pcVar4,"r");\n      if (__stream == (FILE *)0x0) goto LAB_000133b8;\n      iVar2 = fseek(__stream,0,2);\n      if (((iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1)) {\n        local_94 = local_98;\n        local_98 = (byte *)xmalloc(local_98 + 1);\n        pbVar3 = (byte *)fread(local_98,1,(size_t)local_94,__stream);\n        if ((local_94 == pbVar3) ||\n           (local_94 = pbVar3, iVar2 = ferror(__stream), pbVar3 = local_94, iVar2 == 0)) {\n          local_98[(int)pbVar3] = 0;\n          if (*local_98 == 0) {\nLAB_0001340c:\n            local_88 = (int *)xmalloc(4);\n            *local_88 = 0;\n            local_94 = (byte *)*param_2;\n            if ((byte *)local_80 == local_94) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              iVar2 = 0;\n              *param_2 = (int)local_94;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n          }\n          else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar3 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar3 = pbVar3 + 1;\n              if (*pbVar3 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar3 * 2];\n            }\n            local_8c = (int *)FUN_00012e80(local_98);\n            local_94 = (byte *)*param_2;\n            local_90 = *local_8c;\n            if (local_94 == (byte *)local_80) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              *param_2 = (int)local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == 0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = iVar2 * 4;\n            } while (local_8c[iVar2] != 0);\n            local_8c = (int *)((iVar8 + iVar2) * 4);\n          }\n          local_84 = local_88;\n          local_88 = (int *)iVar2;\n          free(*(void **)((int)local_94 + (int)local_a8));\n          iVar2 = xrealloc(*param_2,((int)local_88 + 1 + *param_1) * 4);\n          *param_2 = iVar2;\n          local_94 = (byte *)*param_1;\n          memmove((void *)(iVar2 + (int)local_8c),(void *)(iVar2 + 4 + (int)local_a8),\n                  ((int)local_94 - iVar8) * 4);\n          __dest = (void *)((int)local_a8 + *param_2);\n          local_a8 = local_84;\n          memcpy(__dest,local_84,local_90);\n          *param_1 = (int)local_88 + -1 + *param_1;\n          free(local_a8);\n          free(local_98);\n          iVar8 = iVar7;\n        }\n      }\n      iVar7 = iVar8;\n      iVar8 = iVar7 + 1;\n      fclose(__stream);\n      iVar2 = *param_1;\n      if (iVar2 <= iVar8) {\n        return;\n      }\n    }" { (expression_statement "local_a8 = (int *)(iVar8 * 4);" (assignment_expression "local_a8 = (int *)(iVar8 * 4)" identifier = (cast_expression "(int *)(iVar8 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 * 4)" ( (binary_expression "iVar8 * 4" identifier * number_literal) )))) ;) (expression_statement "pcVar4 = *(char **)(*param_2 + iVar8 * 4);" (assignment_expression "pcVar4 = *(char **)(*param_2 + iVar8 * 4)" identifier = (pointer_expression "*(char **)(*param_2 + iVar8 * 4)" * (cast_expression "(char **)(*param_2 + iVar8 * 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + iVar8 * 4)" ( (binary_expression "*param_2 + iVar8 * 4" (pointer_expression "*param_2" * identifier) + (binary_expression "iVar8 * 4" identifier * number_literal)) ))))) ;) (if_statement "if (*pcVar4 != '@') break;" if (parenthesized_expression "(*pcVar4 != '@')" ( (binary_expression "*pcVar4 != '@'" (pointer_expression "*pcVar4" * identifier) != (char_literal "'@'" ' character ')) )) (break_statement "break;" break ;)) (expression_statement "local_a4 = local_a4 + -1;" (assignment_expression "local_a4 = local_a4 + -1" identifier = (binary_expression "local_a4 + -1" identifier + number_literal)) ;) (if_statement "if (local_a4 == 0) {\n        puVar5 = &stack0xffffff4c;\n        pcVar4 = "%s: error: too many @-files encountered\n";\n        goto LAB_000135d9;\n      }" if (parenthesized_expression "(local_a4 == 0)" ( (binary_expression "local_a4 == 0" identifier == number_literal) )) (compound_statement "{\n        puVar5 = &stack0xffffff4c;\n        pcVar4 = "%s: error: too many @-files encountered\n";\n        goto LAB_000135d9;\n      }" { (expression_statement "puVar5 = &stack0xffffff4c;" (assignment_expression "puVar5 = &stack0xffffff4c" identifier = (pointer_expression "&stack0xffffff4c" & identifier)) ;) (expression_statement "pcVar4 = "%s: error: too many @-files encountered\n";" (assignment_expression "pcVar4 = "%s: error: too many @-files encountered\n"" identifier = (string_literal ""%s: error: too many @-files encountered\n"" " string_content escape_sequence ")) ;) (goto_statement "goto LAB_000135d9;" goto statement_identifier ;) })) (expression_statement "pcVar4 = pcVar4 + 1;" (assignment_expression "pcVar4 = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) ;) (expression_statement "iVar2 = __xstat64(3,pcVar4,local_a0);" (assignment_expression "iVar2 = __xstat64(3,pcVar4,local_a0)" identifier = (call_expression "__xstat64(3,pcVar4,local_a0)" identifier (argument_list "(3,pcVar4,local_a0)" ( number_literal , identifier , identifier )))) ;) (if_statement "if (iVar2 < 0) {\nLAB_000133b8:\n        iVar2 = *param_1;\n        break;\n      }" if (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) (compound_statement "{\nLAB_000133b8:\n        iVar2 = *param_1;\n        break;\n      }" { (labeled_statement "LAB_000133b8:\n        iVar2 = *param_1;" statement_identifier : (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;)) (break_statement "break;" break ;) })) (if_statement "if ((local_7c.st_mode & 0xf000) == 0x4000) {\n        do {\n          puVar5 = puVar6 + -8;\n          *(undefined4 *)(puVar6 + -8) = *(undefined4 *)**(undefined4 **)(puVar6 + 0xb4);\n          pcVar4 = "%s: error: @-file refers to a directory\n";\nLAB_000135d9:\n          *(char **)(puVar5 + -4) = pcVar4;\n          puVar6 = puVar5 + -8;\n          *(undefined4 *)(puVar5 + -8) = *(undefined4 *)PTR_stderr_00016fc8;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135e7;\n          fprintf(*(FILE **)(puVar5 + -8),*(char **)(puVar5 + -4));\n          *(undefined4 *)(puVar5 + -8) = 1;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135f3;\n          xexit();\n        } while( true );\n      }" if (parenthesized_expression "((local_7c.st_mode & 0xf000) == 0x4000)" ( (binary_expression "(local_7c.st_mode & 0xf000) == 0x4000" (parenthesized_expression "(local_7c.st_mode & 0xf000)" ( (binary_expression "local_7c.st_mode & 0xf000" (field_expression "local_7c.st_mode" identifier . field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n        do {\n          puVar5 = puVar6 + -8;\n          *(undefined4 *)(puVar6 + -8) = *(undefined4 *)**(undefined4 **)(puVar6 + 0xb4);\n          pcVar4 = "%s: error: @-file refers to a directory\n";\nLAB_000135d9:\n          *(char **)(puVar5 + -4) = pcVar4;\n          puVar6 = puVar5 + -8;\n          *(undefined4 *)(puVar5 + -8) = *(undefined4 *)PTR_stderr_00016fc8;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135e7;\n          fprintf(*(FILE **)(puVar5 + -8),*(char **)(puVar5 + -4));\n          *(undefined4 *)(puVar5 + -8) = 1;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135f3;\n          xexit();\n        } while( true );\n      }" { (do_statement "do {\n          puVar5 = puVar6 + -8;\n          *(undefined4 *)(puVar6 + -8) = *(undefined4 *)**(undefined4 **)(puVar6 + 0xb4);\n          pcVar4 = "%s: error: @-file refers to a directory\n";\nLAB_000135d9:\n          *(char **)(puVar5 + -4) = pcVar4;\n          puVar6 = puVar5 + -8;\n          *(undefined4 *)(puVar5 + -8) = *(undefined4 *)PTR_stderr_00016fc8;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135e7;\n          fprintf(*(FILE **)(puVar5 + -8),*(char **)(puVar5 + -4));\n          *(undefined4 *)(puVar5 + -8) = 1;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135f3;\n          xexit();\n        } while( true );" do (compound_statement "{\n          puVar5 = puVar6 + -8;\n          *(undefined4 *)(puVar6 + -8) = *(undefined4 *)**(undefined4 **)(puVar6 + 0xb4);\n          pcVar4 = "%s: error: @-file refers to a directory\n";\nLAB_000135d9:\n          *(char **)(puVar5 + -4) = pcVar4;\n          puVar6 = puVar5 + -8;\n          *(undefined4 *)(puVar5 + -8) = *(undefined4 *)PTR_stderr_00016fc8;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135e7;\n          fprintf(*(FILE **)(puVar5 + -8),*(char **)(puVar5 + -4));\n          *(undefined4 *)(puVar5 + -8) = 1;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135f3;\n          xexit();\n        }" { (expression_statement "puVar5 = puVar6 + -8;" (assignment_expression "puVar5 = puVar6 + -8" identifier = (binary_expression "puVar6 + -8" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(puVar6 + -8) = *(undefined4 *)**(undefined4 **)(puVar6 + 0xb4);" (assignment_expression "*(undefined4 *)(puVar6 + -8) = *(undefined4 *)**(undefined4 **)(puVar6 + 0xb4)" (pointer_expression "*(undefined4 *)(puVar6 + -8)" * (cast_expression "(undefined4 *)(puVar6 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + -8)" ( (binary_expression "puVar6 + -8" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)**(undefined4 **)(puVar6 + 0xb4)" * (cast_expression "(undefined4 *)**(undefined4 **)(puVar6 + 0xb4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(undefined4 **)(puVar6 + 0xb4)" * (pointer_expression "*(undefined4 **)(puVar6 + 0xb4)" * (cast_expression "(undefined4 **)(puVar6 + 0xb4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0xb4)" ( (binary_expression "puVar6 + 0xb4" identifier + number_literal) )))))))) ;) (expression_statement "pcVar4 = "%s: error: @-file refers to a directory\n";" (assignment_expression "pcVar4 = "%s: error: @-file refers to a directory\n"" identifier = (string_literal ""%s: error: @-file refers to a directory\n"" " string_content escape_sequence ")) ;) (labeled_statement "LAB_000135d9:\n          *(char **)(puVar5 + -4) = pcVar4;" statement_identifier : (expression_statement "*(char **)(puVar5 + -4) = pcVar4;" (assignment_expression "*(char **)(puVar5 + -4) = pcVar4" (pointer_expression "*(char **)(puVar5 + -4)" * (cast_expression "(char **)(puVar5 + -4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + -4)" ( (binary_expression "puVar5 + -4" identifier + number_literal) )))) = identifier) ;)) (expression_statement "puVar6 = puVar5 + -8;" (assignment_expression "puVar6 = puVar5 + -8" identifier = (binary_expression "puVar5 + -8" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(puVar5 + -8) = *(undefined4 *)PTR_stderr_00016fc8;" (assignment_expression "*(undefined4 *)(puVar5 + -8) = *(undefined4 *)PTR_stderr_00016fc8" (pointer_expression "*(undefined4 *)(puVar5 + -8)" * (cast_expression "(undefined4 *)(puVar5 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -8)" ( (binary_expression "puVar5 + -8" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)PTR_stderr_00016fc8" * (cast_expression "(undefined4 *)PTR_stderr_00016fc8" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(undefined4 *)(puVar5 + -0xc) = 0x135e7;" (assignment_expression "*(undefined4 *)(puVar5 + -0xc) = 0x135e7" (pointer_expression "*(undefined4 *)(puVar5 + -0xc)" * (cast_expression "(undefined4 *)(puVar5 + -0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -0xc)" ( (binary_expression "puVar5 + -0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "fprintf(*(FILE **)(puVar5 + -8),*(char **)(puVar5 + -4));" (call_expression "fprintf(*(FILE **)(puVar5 + -8),*(char **)(puVar5 + -4))" identifier (argument_list "(*(FILE **)(puVar5 + -8),*(char **)(puVar5 + -4))" ( (pointer_expression "*(FILE **)(puVar5 + -8)" * (cast_expression "(FILE **)(puVar5 + -8)" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + -8)" ( (binary_expression "puVar5 + -8" identifier + number_literal) )))) , (pointer_expression "*(char **)(puVar5 + -4)" * (cast_expression "(char **)(puVar5 + -4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + -4)" ( (binary_expression "puVar5 + -4" identifier + number_literal) )))) ))) ;) (expression_statement "*(undefined4 *)(puVar5 + -8) = 1;" (assignment_expression "*(undefined4 *)(puVar5 + -8) = 1" (pointer_expression "*(undefined4 *)(puVar5 + -8)" * (cast_expression "(undefined4 *)(puVar5 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -8)" ( (binary_expression "puVar5 + -8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar5 + -0xc) = 0x135f3;" (assignment_expression "*(undefined4 *)(puVar5 + -0xc) = 0x135f3" (pointer_expression "*(undefined4 *)(puVar5 + -0xc)" * (cast_expression "(undefined4 *)(puVar5 + -0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -0xc)" ( (binary_expression "puVar5 + -0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "xexit();" (call_expression "xexit()" identifier (argument_list "()" ( ))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "__stream = fopen64(pcVar4,"r");" (assignment_expression "__stream = fopen64(pcVar4,"r")" identifier = (call_expression "fopen64(pcVar4,"r")" identifier (argument_list "(pcVar4,"r")" ( identifier , (string_literal ""r"" " string_content ") )))) ;) (if_statement "if (__stream == (FILE *)0x0) goto LAB_000133b8;" if (parenthesized_expression "(__stream == (FILE *)0x0)" ( (binary_expression "__stream == (FILE *)0x0" identifier == (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000133b8;" goto statement_identifier ;)) (expression_statement "iVar2 = fseek(__stream,0,2);" (assignment_expression "iVar2 = fseek(__stream,0,2)" identifier = (call_expression "fseek(__stream,0,2)" identifier (argument_list "(__stream,0,2)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if (((iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1)) {\n        local_94 = local_98;\n        local_98 = (byte *)xmalloc(local_98 + 1);\n        pbVar3 = (byte *)fread(local_98,1,(size_t)local_94,__stream);\n        if ((local_94 == pbVar3) ||\n           (local_94 = pbVar3, iVar2 = ferror(__stream), pbVar3 = local_94, iVar2 == 0)) {\n          local_98[(int)pbVar3] = 0;\n          if (*local_98 == 0) {\nLAB_0001340c:\n            local_88 = (int *)xmalloc(4);\n            *local_88 = 0;\n            local_94 = (byte *)*param_2;\n            if ((byte *)local_80 == local_94) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              iVar2 = 0;\n              *param_2 = (int)local_94;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n          }\n          else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar3 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar3 = pbVar3 + 1;\n              if (*pbVar3 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar3 * 2];\n            }\n            local_8c = (int *)FUN_00012e80(local_98);\n            local_94 = (byte *)*param_2;\n            local_90 = *local_8c;\n            if (local_94 == (byte *)local_80) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              *param_2 = (int)local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == 0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = iVar2 * 4;\n            } while (local_8c[iVar2] != 0);\n            local_8c = (int *)((iVar8 + iVar2) * 4);\n          }\n          local_84 = local_88;\n          local_88 = (int *)iVar2;\n          free(*(void **)((int)local_94 + (int)local_a8));\n          iVar2 = xrealloc(*param_2,((int)local_88 + 1 + *param_1) * 4);\n          *param_2 = iVar2;\n          local_94 = (byte *)*param_1;\n          memmove((void *)(iVar2 + (int)local_8c),(void *)(iVar2 + 4 + (int)local_a8),\n                  ((int)local_94 - iVar8) * 4);\n          __dest = (void *)((int)local_a8 + *param_2);\n          local_a8 = local_84;\n          memcpy(__dest,local_84,local_90);\n          *param_1 = (int)local_88 + -1 + *param_1;\n          free(local_a8);\n          free(local_98);\n          iVar8 = iVar7;\n        }\n      }" if (parenthesized_expression "(((iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1))" ( (binary_expression "((iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1)" (parenthesized_expression "((iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff))" ( (binary_expression "(iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)" (parenthesized_expression "(iVar2 != -1)" ( (binary_expression "iVar2 != -1" identifier != number_literal) )) && (parenthesized_expression "(local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)" ( (comma_expression "local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff" (assignment_expression "local_98 = (byte *)ftell(__stream)" identifier = (cast_expression "(byte *)ftell(__stream)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "ftell(__stream)" identifier (argument_list "(__stream)" ( identifier ))))) , (binary_expression "local_98 != (byte *)0xffffffff" identifier != (cast_expression "(byte *)0xffffffff" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) && (parenthesized_expression "(iVar2 = fseek(__stream,0,0), iVar2 != -1)" ( (comma_expression "iVar2 = fseek(__stream,0,0), iVar2 != -1" (assignment_expression "iVar2 = fseek(__stream,0,0)" identifier = (call_expression "fseek(__stream,0,0)" identifier (argument_list "(__stream,0,0)" ( identifier , number_literal , number_literal )))) , (binary_expression "iVar2 != -1" identifier != number_literal)) ))) )) (compound_statement "{\n        local_94 = local_98;\n        local_98 = (byte *)xmalloc(local_98 + 1);\n        pbVar3 = (byte *)fread(local_98,1,(size_t)local_94,__stream);\n        if ((local_94 == pbVar3) ||\n           (local_94 = pbVar3, iVar2 = ferror(__stream), pbVar3 = local_94, iVar2 == 0)) {\n          local_98[(int)pbVar3] = 0;\n          if (*local_98 == 0) {\nLAB_0001340c:\n            local_88 = (int *)xmalloc(4);\n            *local_88 = 0;\n            local_94 = (byte *)*param_2;\n            if ((byte *)local_80 == local_94) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              iVar2 = 0;\n              *param_2 = (int)local_94;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n          }\n          else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar3 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar3 = pbVar3 + 1;\n              if (*pbVar3 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar3 * 2];\n            }\n            local_8c = (int *)FUN_00012e80(local_98);\n            local_94 = (byte *)*param_2;\n            local_90 = *local_8c;\n            if (local_94 == (byte *)local_80) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              *param_2 = (int)local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == 0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = iVar2 * 4;\n            } while (local_8c[iVar2] != 0);\n            local_8c = (int *)((iVar8 + iVar2) * 4);\n          }\n          local_84 = local_88;\n          local_88 = (int *)iVar2;\n          free(*(void **)((int)local_94 + (int)local_a8));\n          iVar2 = xrealloc(*param_2,((int)local_88 + 1 + *param_1) * 4);\n          *param_2 = iVar2;\n          local_94 = (byte *)*param_1;\n          memmove((void *)(iVar2 + (int)local_8c),(void *)(iVar2 + 4 + (int)local_a8),\n                  ((int)local_94 - iVar8) * 4);\n          __dest = (void *)((int)local_a8 + *param_2);\n          local_a8 = local_84;\n          memcpy(__dest,local_84,local_90);\n          *param_1 = (int)local_88 + -1 + *param_1;\n          free(local_a8);\n          free(local_98);\n          iVar8 = iVar7;\n        }\n      }" { (expression_statement "local_94 = local_98;" (assignment_expression "local_94 = local_98" identifier = identifier) ;) (expression_statement "local_98 = (byte *)xmalloc(local_98 + 1);" (assignment_expression "local_98 = (byte *)xmalloc(local_98 + 1)" identifier = (cast_expression "(byte *)xmalloc(local_98 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(local_98 + 1)" identifier (argument_list "(local_98 + 1)" ( (binary_expression "local_98 + 1" identifier + number_literal) ))))) ;) (expression_statement "pbVar3 = (byte *)fread(local_98,1,(size_t)local_94,__stream);" (assignment_expression "pbVar3 = (byte *)fread(local_98,1,(size_t)local_94,__stream)" identifier = (cast_expression "(byte *)fread(local_98,1,(size_t)local_94,__stream)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "fread(local_98,1,(size_t)local_94,__stream)" identifier (argument_list "(local_98,1,(size_t)local_94,__stream)" ( identifier , number_literal , (cast_expression "(size_t)local_94" ( (type_descriptor "size_t" primitive_type) ) identifier) , identifier ))))) ;) (if_statement "if ((local_94 == pbVar3) ||\n           (local_94 = pbVar3, iVar2 = ferror(__stream), pbVar3 = local_94, iVar2 == 0)) {\n          local_98[(int)pbVar3] = 0;\n          if (*local_98 == 0) {\nLAB_0001340c:\n            local_88 = (int *)xmalloc(4);\n            *local_88 = 0;\n            local_94 = (byte *)*param_2;\n            if ((byte *)local_80 == local_94) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              iVar2 = 0;\n              *param_2 = (int)local_94;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n          }\n          else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar3 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar3 = pbVar3 + 1;\n              if (*pbVar3 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar3 * 2];\n            }\n            local_8c = (int *)FUN_00012e80(local_98);\n            local_94 = (byte *)*param_2;\n            local_90 = *local_8c;\n            if (local_94 == (byte *)local_80) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              *param_2 = (int)local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == 0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = iVar2 * 4;\n            } while (local_8c[iVar2] != 0);\n            local_8c = (int *)((iVar8 + iVar2) * 4);\n          }\n          local_84 = local_88;\n          local_88 = (int *)iVar2;\n          free(*(void **)((int)local_94 + (int)local_a8));\n          iVar2 = xrealloc(*param_2,((int)local_88 + 1 + *param_1) * 4);\n          *param_2 = iVar2;\n          local_94 = (byte *)*param_1;\n          memmove((void *)(iVar2 + (int)local_8c),(void *)(iVar2 + 4 + (int)local_a8),\n                  ((int)local_94 - iVar8) * 4);\n          __dest = (void *)((int)local_a8 + *param_2);\n          local_a8 = local_84;\n          memcpy(__dest,local_84,local_90);\n          *param_1 = (int)local_88 + -1 + *param_1;\n          free(local_a8);\n          free(local_98);\n          iVar8 = iVar7;\n        }" if (parenthesized_expression "((local_94 == pbVar3) ||\n           (local_94 = pbVar3, iVar2 = ferror(__stream), pbVar3 = local_94, iVar2 == 0))" ( (binary_expression "(local_94 == pbVar3) ||\n           (local_94 = pbVar3, iVar2 = ferror(__stream), pbVar3 = local_94, iVar2 == 0)" (parenthesized_expression "(local_94 == pbVar3)" ( (binary_expression "local_94 == pbVar3" identifier == identifier) )) || (parenthesized_expression "(local_94 = pbVar3, iVar2 = ferror(__stream), pbVar3 = local_94, iVar2 == 0)" ( (comma_expression "local_94 = pbVar3, iVar2 = ferror(__stream), pbVar3 = local_94, iVar2 == 0" (assignment_expression "local_94 = pbVar3" identifier = identifier) , (comma_expression "iVar2 = ferror(__stream), pbVar3 = local_94, iVar2 == 0" (assignment_expression "iVar2 = ferror(__stream)" identifier = (call_expression "ferror(__stream)" identifier (argument_list "(__stream)" ( identifier )))) , (comma_expression "pbVar3 = local_94, iVar2 == 0" (assignment_expression "pbVar3 = local_94" identifier = identifier) , (binary_expression "iVar2 == 0" identifier == number_literal)))) ))) )) (compound_statement "{\n          local_98[(int)pbVar3] = 0;\n          if (*local_98 == 0) {\nLAB_0001340c:\n            local_88 = (int *)xmalloc(4);\n            *local_88 = 0;\n            local_94 = (byte *)*param_2;\n            if ((byte *)local_80 == local_94) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              iVar2 = 0;\n              *param_2 = (int)local_94;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n          }\n          else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar3 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar3 = pbVar3 + 1;\n              if (*pbVar3 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar3 * 2];\n            }\n            local_8c = (int *)FUN_00012e80(local_98);\n            local_94 = (byte *)*param_2;\n            local_90 = *local_8c;\n            if (local_94 == (byte *)local_80) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              *param_2 = (int)local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == 0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = iVar2 * 4;\n            } while (local_8c[iVar2] != 0);\n            local_8c = (int *)((iVar8 + iVar2) * 4);\n          }\n          local_84 = local_88;\n          local_88 = (int *)iVar2;\n          free(*(void **)((int)local_94 + (int)local_a8));\n          iVar2 = xrealloc(*param_2,((int)local_88 + 1 + *param_1) * 4);\n          *param_2 = iVar2;\n          local_94 = (byte *)*param_1;\n          memmove((void *)(iVar2 + (int)local_8c),(void *)(iVar2 + 4 + (int)local_a8),\n                  ((int)local_94 - iVar8) * 4);\n          __dest = (void *)((int)local_a8 + *param_2);\n          local_a8 = local_84;\n          memcpy(__dest,local_84,local_90);\n          *param_1 = (int)local_88 + -1 + *param_1;\n          free(local_a8);\n          free(local_98);\n          iVar8 = iVar7;\n        }" { (expression_statement "local_98[(int)pbVar3] = 0;" (assignment_expression "local_98[(int)pbVar3] = 0" (subscript_expression "local_98[(int)pbVar3]" identifier [ (cast_expression "(int)pbVar3" ( (type_descriptor "int" primitive_type) ) identifier) ]) = number_literal) ;) (if_statement "if (*local_98 == 0) {\nLAB_0001340c:\n            local_88 = (int *)xmalloc(4);\n            *local_88 = 0;\n            local_94 = (byte *)*param_2;\n            if ((byte *)local_80 == local_94) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              iVar2 = 0;\n              *param_2 = (int)local_94;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n          }\n          else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar3 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar3 = pbVar3 + 1;\n              if (*pbVar3 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar3 * 2];\n            }\n            local_8c = (int *)FUN_00012e80(local_98);\n            local_94 = (byte *)*param_2;\n            local_90 = *local_8c;\n            if (local_94 == (byte *)local_80) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              *param_2 = (int)local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == 0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = iVar2 * 4;\n            } while (local_8c[iVar2] != 0);\n            local_8c = (int *)((iVar8 + iVar2) * 4);\n          }" if (parenthesized_expression "(*local_98 == 0)" ( (binary_expression "*local_98 == 0" (pointer_expression "*local_98" * identifier) == number_literal) )) (compound_statement "{\nLAB_0001340c:\n            local_88 = (int *)xmalloc(4);\n            *local_88 = 0;\n            local_94 = (byte *)*param_2;\n            if ((byte *)local_80 == local_94) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              iVar2 = 0;\n              *param_2 = (int)local_94;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n          }" { (labeled_statement "LAB_0001340c:\n            local_88 = (int *)xmalloc(4);" statement_identifier : (expression_statement "local_88 = (int *)xmalloc(4);" (assignment_expression "local_88 = (int *)xmalloc(4)" identifier = (cast_expression "(int *)xmalloc(4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(4)" identifier (argument_list "(4)" ( number_literal ))))) ;)) (expression_statement "*local_88 = 0;" (assignment_expression "*local_88 = 0" (pointer_expression "*local_88" * identifier) = number_literal) ;) (expression_statement "local_94 = (byte *)*param_2;" (assignment_expression "local_94 = (byte *)*param_2" identifier = (cast_expression "(byte *)*param_2" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (if_statement "if ((byte *)local_80 == local_94) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              iVar2 = 0;\n              *param_2 = (int)local_94;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = 0;\n              local_8c = local_a8;\n            }" if (parenthesized_expression "((byte *)local_80 == local_94)" ( (binary_expression "(byte *)local_80 == local_94" (cast_expression "(byte *)local_80" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) == identifier) )) (compound_statement "{\n              local_94 = (byte *)FUN_00012d90(local_80);\n              iVar2 = 0;\n              *param_2 = (int)local_94;\n              local_90 = 0;\n              local_8c = local_a8;\n            }" { (expression_statement "local_94 = (byte *)FUN_00012d90(local_80);" (assignment_expression "local_94 = (byte *)FUN_00012d90(local_80)" identifier = (cast_expression "(byte *)FUN_00012d90(local_80)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00012d90(local_80)" identifier (argument_list "(local_80)" ( identifier ))))) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "*param_2 = (int)local_94;" (assignment_expression "*param_2 = (int)local_94" (pointer_expression "*param_2" * identifier) = (cast_expression "(int)local_94" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "local_90 = 0;" (assignment_expression "local_90 = 0" identifier = number_literal) ;) (expression_statement "local_8c = local_a8;" (assignment_expression "local_8c = local_a8" identifier = identifier) ;) }) (else_clause "else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = 0;\n              local_8c = local_a8;\n            }" else (compound_statement "{\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = 0;\n              local_8c = local_a8;\n            }" { (labeled_statement "LAB_000135b7:\n              iVar2 = 0;" statement_identifier : (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;)) (expression_statement "local_90 = 0;" (assignment_expression "local_90 = 0" identifier = number_literal) ;) (expression_statement "local_8c = local_a8;" (assignment_expression "local_8c = local_a8" identifier = identifier) ;) }))) }) (else_clause "else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar3 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar3 = pbVar3 + 1;\n              if (*pbVar3 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar3 * 2];\n            }\n            local_8c = (int *)FUN_00012e80(local_98);\n            local_94 = (byte *)*param_2;\n            local_90 = *local_8c;\n            if (local_94 == (byte *)local_80) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              *param_2 = (int)local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == 0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = iVar2 * 4;\n            } while (local_8c[iVar2] != 0);\n            local_8c = (int *)((iVar8 + iVar2) * 4);\n          }" else (compound_statement "{\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar3 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar3 = pbVar3 + 1;\n              if (*pbVar3 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar3 * 2];\n            }\n            local_8c = (int *)FUN_00012e80(local_98);\n            local_94 = (byte *)*param_2;\n            local_90 = *local_8c;\n            if (local_94 == (byte *)local_80) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              *param_2 = (int)local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == 0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = iVar2 * 4;\n            } while (local_8c[iVar2] != 0);\n            local_8c = (int *)((iVar8 + iVar2) * 4);\n          }" { (expression_statement "bVar1 = local_9c[(uint)*local_98 * 2];" (assignment_expression "bVar1 = local_9c[(uint)*local_98 * 2]" identifier = (subscript_expression "local_9c[(uint)*local_98 * 2]" identifier [ (binary_expression "(uint)*local_98 * 2" (binary_expression "(uint)*local_98" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal) ])) ;) (expression_statement "pbVar3 = local_98;" (assignment_expression "pbVar3 = local_98" identifier = identifier) ;) (while_statement "while ((bVar1 & 0x40) != 0) {\n              pbVar3 = pbVar3 + 1;\n              if (*pbVar3 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar3 * 2];\n            }" while (parenthesized_expression "((bVar1 & 0x40) != 0)" ( (binary_expression "(bVar1 & 0x40) != 0" (parenthesized_expression "(bVar1 & 0x40)" ( (binary_expression "bVar1 & 0x40" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n              pbVar3 = pbVar3 + 1;\n              if (*pbVar3 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar3 * 2];\n            }" { (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" identifier = (binary_expression "pbVar3 + 1" identifier + number_literal)) ;) (if_statement "if (*pbVar3 == 0) goto LAB_0001340c;" if (parenthesized_expression "(*pbVar3 == 0)" ( (binary_expression "*pbVar3 == 0" (pointer_expression "*pbVar3" * identifier) == number_literal) )) (goto_statement "goto LAB_0001340c;" goto statement_identifier ;)) (expression_statement "bVar1 = local_9c[(uint)*pbVar3 * 2];" (assignment_expression "bVar1 = local_9c[(uint)*pbVar3 * 2]" identifier = (subscript_expression "local_9c[(uint)*pbVar3 * 2]" identifier [ (binary_expression "(uint)*pbVar3 * 2" (binary_expression "(uint)*pbVar3" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal) ])) ;) })) (expression_statement "local_8c = (int *)FUN_00012e80(local_98);" (assignment_expression "local_8c = (int *)FUN_00012e80(local_98)" identifier = (cast_expression "(int *)FUN_00012e80(local_98)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00012e80(local_98)" identifier (argument_list "(local_98)" ( identifier ))))) ;) (expression_statement "local_94 = (byte *)*param_2;" (assignment_expression "local_94 = (byte *)*param_2" identifier = (cast_expression "(byte *)*param_2" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (expression_statement "local_90 = *local_8c;" (assignment_expression "local_90 = *local_8c" identifier = (pointer_expression "*local_8c" * identifier)) ;) (if_statement "if (local_94 == (byte *)local_80) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              *param_2 = (int)local_94;\n            }" if (parenthesized_expression "(local_94 == (byte *)local_80)" ( (binary_expression "local_94 == (byte *)local_80" identifier == (cast_expression "(byte *)local_80" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n              local_94 = (byte *)FUN_00012d90(local_80);\n              *param_2 = (int)local_94;\n            }" { (expression_statement "local_94 = (byte *)FUN_00012d90(local_80);" (assignment_expression "local_94 = (byte *)FUN_00012d90(local_80)" identifier = (cast_expression "(byte *)FUN_00012d90(local_80)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00012d90(local_80)" identifier (argument_list "(local_80)" ( identifier ))))) ;) (expression_statement "*param_2 = (int)local_94;" (assignment_expression "*param_2 = (int)local_94" (pointer_expression "*param_2" * identifier) = (cast_expression "(int)local_94" ( (type_descriptor "int" primitive_type) ) identifier)) ;) })) (expression_statement "local_88 = local_8c;" (assignment_expression "local_88 = local_8c" identifier = identifier) ;) (if_statement "if (local_90 == 0) goto LAB_000135b7;" if (parenthesized_expression "(local_90 == 0)" ( (binary_expression "local_90 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000135b7;" goto statement_identifier ;)) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n              iVar2 = iVar2 + 1;\n              local_90 = iVar2 * 4;\n            } while (local_8c[iVar2] != 0);" do (compound_statement "{\n              iVar2 = iVar2 + 1;\n              local_90 = iVar2 * 4;\n            }" { (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "local_90 = iVar2 * 4;" (assignment_expression "local_90 = iVar2 * 4" identifier = (binary_expression "iVar2 * 4" identifier * number_literal)) ;) }) while (parenthesized_expression "(local_8c[iVar2] != 0)" ( (binary_expression "local_8c[iVar2] != 0" (subscript_expression "local_8c[iVar2]" identifier [ identifier ]) != number_literal) )) ;) (expression_statement "local_8c = (int *)((iVar8 + iVar2) * 4);" (assignment_expression "local_8c = (int *)((iVar8 + iVar2) * 4)" identifier = (cast_expression "(int *)((iVar8 + iVar2) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((iVar8 + iVar2) * 4)" ( (binary_expression "(iVar8 + iVar2) * 4" (parenthesized_expression "(iVar8 + iVar2)" ( (binary_expression "iVar8 + iVar2" identifier + identifier) )) * number_literal) )))) ;) }))) (expression_statement "local_84 = local_88;" (assignment_expression "local_84 = local_88" identifier = identifier) ;) (expression_statement "local_88 = (int *)iVar2;" (assignment_expression "local_88 = (int *)iVar2" identifier = (cast_expression "(int *)iVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "free(*(void **)((int)local_94 + (int)local_a8));" (call_expression "free(*(void **)((int)local_94 + (int)local_a8))" identifier (argument_list "(*(void **)((int)local_94 + (int)local_a8))" ( (pointer_expression "*(void **)((int)local_94 + (int)local_a8)" * (cast_expression "(void **)((int)local_94 + (int)local_a8)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)local_94 + (int)local_a8)" ( (binary_expression "(int)local_94 + (int)local_a8" (cast_expression "(int)local_94" ( (type_descriptor "int" primitive_type) ) identifier) + (cast_expression "(int)local_a8" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ))) ;) (expression_statement "iVar2 = xrealloc(*param_2,((int)local_88 + 1 + *param_1) * 4);" (assignment_expression "iVar2 = xrealloc(*param_2,((int)local_88 + 1 + *param_1) * 4)" identifier = (call_expression "xrealloc(*param_2,((int)local_88 + 1 + *param_1) * 4)" identifier (argument_list "(*param_2,((int)local_88 + 1 + *param_1) * 4)" ( (pointer_expression "*param_2" * identifier) , (binary_expression "((int)local_88 + 1 + *param_1) * 4" (parenthesized_expression "((int)local_88 + 1 + *param_1)" ( (binary_expression "(int)local_88 + 1 + *param_1" (binary_expression "(int)local_88 + 1" (cast_expression "(int)local_88" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) + (pointer_expression "*param_1" * identifier)) )) * number_literal) )))) ;) (expression_statement "*param_2 = iVar2;" (assignment_expression "*param_2 = iVar2" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "local_94 = (byte *)*param_1;" (assignment_expression "local_94 = (byte *)*param_1" identifier = (cast_expression "(byte *)*param_1" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "memmove((void *)(iVar2 + (int)local_8c),(void *)(iVar2 + 4 + (int)local_a8),\n                  ((int)local_94 - iVar8) * 4);" (call_expression "memmove((void *)(iVar2 + (int)local_8c),(void *)(iVar2 + 4 + (int)local_a8),\n                  ((int)local_94 - iVar8) * 4)" identifier (argument_list "((void *)(iVar2 + (int)local_8c),(void *)(iVar2 + 4 + (int)local_a8),\n                  ((int)local_94 - iVar8) * 4)" ( (cast_expression "(void *)(iVar2 + (int)local_8c)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + (int)local_8c)" ( (binary_expression "iVar2 + (int)local_8c" identifier + (cast_expression "(int)local_8c" ( (type_descriptor "int" primitive_type) ) identifier)) ))) , (cast_expression "(void *)(iVar2 + 4 + (int)local_a8)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4 + (int)local_a8)" ( (binary_expression "iVar2 + 4 + (int)local_a8" (binary_expression "iVar2 + 4" identifier + number_literal) + (cast_expression "(int)local_a8" ( (type_descriptor "int" primitive_type) ) identifier)) ))) , (binary_expression "((int)local_94 - iVar8) * 4" (parenthesized_expression "((int)local_94 - iVar8)" ( (binary_expression "(int)local_94 - iVar8" (cast_expression "(int)local_94" ( (type_descriptor "int" primitive_type) ) identifier) - identifier) )) * number_literal) ))) ;) (expression_statement "__dest = (void *)((int)local_a8 + *param_2);" (assignment_expression "__dest = (void *)((int)local_a8 + *param_2)" identifier = (cast_expression "(void *)((int)local_a8 + *param_2)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_a8 + *param_2)" ( (binary_expression "(int)local_a8 + *param_2" (cast_expression "(int)local_a8" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*param_2" * identifier)) )))) ;) (expression_statement "local_a8 = local_84;" (assignment_expression "local_a8 = local_84" identifier = identifier) ;) (expression_statement "memcpy(__dest,local_84,local_90);" (call_expression "memcpy(__dest,local_84,local_90)" identifier (argument_list "(__dest,local_84,local_90)" ( identifier , identifier , identifier ))) ;) (expression_statement "*param_1 = (int)local_88 + -1 + *param_1;" (assignment_expression "*param_1 = (int)local_88 + -1 + *param_1" (pointer_expression "*param_1" * identifier) = (binary_expression "(int)local_88 + -1 + *param_1" (binary_expression "(int)local_88 + -1" (cast_expression "(int)local_88" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) + (pointer_expression "*param_1" * identifier))) ;) (expression_statement "free(local_a8);" (call_expression "free(local_a8)" identifier (argument_list "(local_a8)" ( identifier ))) ;) (expression_statement "free(local_98);" (call_expression "free(local_98)" identifier (argument_list "(local_98)" ( identifier ))) ;) (expression_statement "iVar8 = iVar7;" (assignment_expression "iVar8 = iVar7" identifier = identifier) ;) })) })) (expression_statement "iVar7 = iVar8;" (assignment_expression "iVar7 = iVar8" identifier = identifier) ;) (expression_statement "iVar8 = iVar7 + 1;" (assignment_expression "iVar8 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (expression_statement "fclose(__stream);" (call_expression "fclose(__stream)" identifier (argument_list "(__stream)" ( identifier ))) ;) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (iVar2 <= iVar8) {\n        return;\n      }" if (parenthesized_expression "(iVar2 <= iVar8)" ( (binary_expression "iVar2 <= iVar8" identifier <= identifier) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid expandargv(int *argcp,char ***argvp)\n\n{\n  byte bVar1;\n  int iVar2;\n  FILE *__stream;\n  char **ppcVar3;\n  void *__dest;\n  char *pcVar4;\n  byte *pbVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  int iVar8;\n  int iVar9;\n  undefined1 auStack_ac [4];\n  char **local_a8;\n  int local_a4;\n  stat64 *local_a0;\n  undefined *local_9c;\n  byte *local_98;\n  char **local_94;\n  char *local_90;\n  char **local_8c;\n  char **local_88;\n  char **local_84;\n  char **local_80;\n  stat sb;\n  \n  puVar7 = auStack_ac;\n  local_a4 = 2000;\n  local_80 = *argvp;\n  iVar2 = *argcp;\n  local_a0 = (stat64 *)&sb;\n  local_9c = PTR__sch_istable_00016fd0;\n  iVar9 = 0;\n  do {\n    iVar8 = iVar9;\n    iVar9 = iVar8 + 1;\n    if (iVar2 <= iVar9) {\n      return;\n    }\n    while( true ) {\n      local_a8 = (char **)(iVar9 * 4);\n      if (*(*argvp)[iVar9] != '@') break;\n      local_a4 = local_a4 + -1;\n      if (local_a4 == 0) {\n        puVar6 = &stack0xffffff4c;\n        pcVar4 = "%s: error: too many @-files encountered\n";\n        goto LAB_000135d9;\n      }\n      pcVar4 = (*argvp)[iVar9] + 1;\n      iVar2 = __xstat64(3,pcVar4,local_a0);\n      if (iVar2 < 0) {\nLAB_000133b8:\n        iVar2 = *argcp;\n        break;\n      }\n      if ((sb.st_mode & 0xf000) == 0x4000) {\n        do {\n          puVar6 = puVar7 + -8;\n          *(undefined4 *)(puVar7 + -8) = *(undefined4 *)**(undefined4 **)(puVar7 + 0xb4);\n          pcVar4 = "%s: error: @-file refers to a directory\n";\nLAB_000135d9:\n          *(char **)(puVar6 + -4) = pcVar4;\n          puVar7 = puVar6 + -8;\n          *(undefined4 *)(puVar6 + -8) = *(undefined4 *)PTR_stderr_00016fc8;\n          *(undefined4 *)(puVar6 + -0xc) = 0x135e7;\n          fprintf(*(FILE **)(puVar6 + -8),*(char **)(puVar6 + -4));\n          *(undefined4 *)(puVar6 + -8) = 1;\n          *(undefined4 *)(puVar6 + -0xc) = 0x135f3;\n          xexit();\n        } while( true );\n      }\n      __stream = fopen64(pcVar4,"r");\n      if (__stream == (FILE *)0x0) goto LAB_000133b8;\n      iVar2 = fseek(__stream,0,2);\n      if (((iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1)) {\n        local_94 = (char **)local_98;\n        local_98 = (byte *)xmalloc(local_98 + 1);\n        ppcVar3 = (char **)fread(local_98,1,(size_t)local_94,__stream);\n        if ((local_94 == ppcVar3) ||\n           (local_94 = ppcVar3, iVar2 = ferror(__stream), ppcVar3 = local_94, iVar2 == 0)) {\n          local_98[(int)ppcVar3] = 0;\n          if (*local_98 == 0) {\nLAB_0001340c:\n            local_88 = (char **)xmalloc(4);\n            *local_88 = (char *)0x0;\n            local_94 = *argvp;\n            if (local_80 == local_94) {\n              local_94 = dupargv(local_80);\n              iVar2 = 0;\n              *argvp = local_94;\n              local_90 = (char *)0x0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = (char *)0x0;\n              local_8c = local_a8;\n            }\n          }\n          else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar5 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar5 = pbVar5 + 1;\n              if (*pbVar5 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar5 * 2];\n            }\n            local_8c = buildargv((char *)local_98);\n            local_94 = *argvp;\n            local_90 = *local_8c;\n            if (local_94 == local_80) {\n              local_94 = dupargv(local_80);\n              *argvp = local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == (char *)0x0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = (char *)(iVar2 * 4);\n            } while (local_8c[iVar2] != (char *)0x0);\n            local_8c = (char **)((iVar9 + iVar2) * 4);\n          }\n          local_84 = local_88;\n          local_88 = (char **)iVar2;\n          free(*(void **)((int)local_94 + (int)local_a8));\n          ppcVar3 = (char **)xrealloc(*argvp,((int)local_88 + 1 + *argcp) * 4);\n          *argvp = ppcVar3;\n          local_94 = (char **)*argcp;\n          memmove((void *)((int)ppcVar3 + (int)local_8c),\n                  (void *)((int)(ppcVar3 + 1) + (int)local_a8),((int)local_94 - iVar9) * 4);\n          __dest = (void *)((int)local_a8 + (int)*argvp);\n          local_a8 = local_84;\n          memcpy(__dest,local_84,(size_t)local_90);\n          *argcp = (int)local_88 + -1 + *argcp;\n          free(local_a8);\n          free(local_98);\n          iVar9 = iVar8;\n        }\n      }\n      iVar8 = iVar9;\n      iVar9 = iVar8 + 1;\n      fclose(__stream);\n      iVar2 = *argcp;\n      if (iVar2 <= iVar9) {\n        return;\n      }\n    }\n  } while( true );\n}\n\n" comment comment (function_definition "void expandargv(int *argcp,char ***argvp)\n\n{\n  byte bVar1;\n  int iVar2;\n  FILE *__stream;\n  char **ppcVar3;\n  void *__dest;\n  char *pcVar4;\n  byte *pbVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  int iVar8;\n  int iVar9;\n  undefined1 auStack_ac [4];\n  char **local_a8;\n  int local_a4;\n  stat64 *local_a0;\n  undefined *local_9c;\n  byte *local_98;\n  char **local_94;\n  char *local_90;\n  char **local_8c;\n  char **local_88;\n  char **local_84;\n  char **local_80;\n  stat sb;\n  \n  puVar7 = auStack_ac;\n  local_a4 = 2000;\n  local_80 = *argvp;\n  iVar2 = *argcp;\n  local_a0 = (stat64 *)&sb;\n  local_9c = PTR__sch_istable_00016fd0;\n  iVar9 = 0;\n  do {\n    iVar8 = iVar9;\n    iVar9 = iVar8 + 1;\n    if (iVar2 <= iVar9) {\n      return;\n    }\n    while( true ) {\n      local_a8 = (char **)(iVar9 * 4);\n      if (*(*argvp)[iVar9] != '@') break;\n      local_a4 = local_a4 + -1;\n      if (local_a4 == 0) {\n        puVar6 = &stack0xffffff4c;\n        pcVar4 = "%s: error: too many @-files encountered\n";\n        goto LAB_000135d9;\n      }\n      pcVar4 = (*argvp)[iVar9] + 1;\n      iVar2 = __xstat64(3,pcVar4,local_a0);\n      if (iVar2 < 0) {\nLAB_000133b8:\n        iVar2 = *argcp;\n        break;\n      }\n      if ((sb.st_mode & 0xf000) == 0x4000) {\n        do {\n          puVar6 = puVar7 + -8;\n          *(undefined4 *)(puVar7 + -8) = *(undefined4 *)**(undefined4 **)(puVar7 + 0xb4);\n          pcVar4 = "%s: error: @-file refers to a directory\n";\nLAB_000135d9:\n          *(char **)(puVar6 + -4) = pcVar4;\n          puVar7 = puVar6 + -8;\n          *(undefined4 *)(puVar6 + -8) = *(undefined4 *)PTR_stderr_00016fc8;\n          *(undefined4 *)(puVar6 + -0xc) = 0x135e7;\n          fprintf(*(FILE **)(puVar6 + -8),*(char **)(puVar6 + -4));\n          *(undefined4 *)(puVar6 + -8) = 1;\n          *(undefined4 *)(puVar6 + -0xc) = 0x135f3;\n          xexit();\n        } while( true );\n      }\n      __stream = fopen64(pcVar4,"r");\n      if (__stream == (FILE *)0x0) goto LAB_000133b8;\n      iVar2 = fseek(__stream,0,2);\n      if (((iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1)) {\n        local_94 = (char **)local_98;\n        local_98 = (byte *)xmalloc(local_98 + 1);\n        ppcVar3 = (char **)fread(local_98,1,(size_t)local_94,__stream);\n        if ((local_94 == ppcVar3) ||\n           (local_94 = ppcVar3, iVar2 = ferror(__stream), ppcVar3 = local_94, iVar2 == 0)) {\n          local_98[(int)ppcVar3] = 0;\n          if (*local_98 == 0) {\nLAB_0001340c:\n            local_88 = (char **)xmalloc(4);\n            *local_88 = (char *)0x0;\n            local_94 = *argvp;\n            if (local_80 == local_94) {\n              local_94 = dupargv(local_80);\n              iVar2 = 0;\n              *argvp = local_94;\n              local_90 = (char *)0x0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = (char *)0x0;\n              local_8c = local_a8;\n            }\n          }\n          else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar5 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar5 = pbVar5 + 1;\n              if (*pbVar5 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar5 * 2];\n            }\n            local_8c = buildargv((char *)local_98);\n            local_94 = *argvp;\n            local_90 = *local_8c;\n            if (local_94 == local_80) {\n              local_94 = dupargv(local_80);\n              *argvp = local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == (char *)0x0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = (char *)(iVar2 * 4);\n            } while (local_8c[iVar2] != (char *)0x0);\n            local_8c = (char **)((iVar9 + iVar2) * 4);\n          }\n          local_84 = local_88;\n          local_88 = (char **)iVar2;\n          free(*(void **)((int)local_94 + (int)local_a8));\n          ppcVar3 = (char **)xrealloc(*argvp,((int)local_88 + 1 + *argcp) * 4);\n          *argvp = ppcVar3;\n          local_94 = (char **)*argcp;\n          memmove((void *)((int)ppcVar3 + (int)local_8c),\n                  (void *)((int)(ppcVar3 + 1) + (int)local_a8),((int)local_94 - iVar9) * 4);\n          __dest = (void *)((int)local_a8 + (int)*argvp);\n          local_a8 = local_84;\n          memcpy(__dest,local_84,(size_t)local_90);\n          *argcp = (int)local_88 + -1 + *argcp;\n          free(local_a8);\n          free(local_98);\n          iVar9 = iVar8;\n        }\n      }\n      iVar8 = iVar9;\n      iVar9 = iVar8 + 1;\n      fclose(__stream);\n      iVar2 = *argcp;\n      if (iVar2 <= iVar9) {\n        return;\n      }\n    }\n  } while( true );\n}" primitive_type (function_declarator "expandargv(int *argcp,char ***argvp)" identifier (parameter_list "(int *argcp,char ***argvp)" ( (parameter_declaration "int *argcp" primitive_type (pointer_declarator "*argcp" * identifier)) , (parameter_declaration "char ***argvp" primitive_type (pointer_declarator "***argvp" * (pointer_declarator "**argvp" * (pointer_declarator "*argvp" * identifier)))) ))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  FILE *__stream;\n  char **ppcVar3;\n  void *__dest;\n  char *pcVar4;\n  byte *pbVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  int iVar8;\n  int iVar9;\n  undefined1 auStack_ac [4];\n  char **local_a8;\n  int local_a4;\n  stat64 *local_a0;\n  undefined *local_9c;\n  byte *local_98;\n  char **local_94;\n  char *local_90;\n  char **local_8c;\n  char **local_88;\n  char **local_84;\n  char **local_80;\n  stat sb;\n  \n  puVar7 = auStack_ac;\n  local_a4 = 2000;\n  local_80 = *argvp;\n  iVar2 = *argcp;\n  local_a0 = (stat64 *)&sb;\n  local_9c = PTR__sch_istable_00016fd0;\n  iVar9 = 0;\n  do {\n    iVar8 = iVar9;\n    iVar9 = iVar8 + 1;\n    if (iVar2 <= iVar9) {\n      return;\n    }\n    while( true ) {\n      local_a8 = (char **)(iVar9 * 4);\n      if (*(*argvp)[iVar9] != '@') break;\n      local_a4 = local_a4 + -1;\n      if (local_a4 == 0) {\n        puVar6 = &stack0xffffff4c;\n        pcVar4 = "%s: error: too many @-files encountered\n";\n        goto LAB_000135d9;\n      }\n      pcVar4 = (*argvp)[iVar9] + 1;\n      iVar2 = __xstat64(3,pcVar4,local_a0);\n      if (iVar2 < 0) {\nLAB_000133b8:\n        iVar2 = *argcp;\n        break;\n      }\n      if ((sb.st_mode & 0xf000) == 0x4000) {\n        do {\n          puVar6 = puVar7 + -8;\n          *(undefined4 *)(puVar7 + -8) = *(undefined4 *)**(undefined4 **)(puVar7 + 0xb4);\n          pcVar4 = "%s: error: @-file refers to a directory\n";\nLAB_000135d9:\n          *(char **)(puVar6 + -4) = pcVar4;\n          puVar7 = puVar6 + -8;\n          *(undefined4 *)(puVar6 + -8) = *(undefined4 *)PTR_stderr_00016fc8;\n          *(undefined4 *)(puVar6 + -0xc) = 0x135e7;\n          fprintf(*(FILE **)(puVar6 + -8),*(char **)(puVar6 + -4));\n          *(undefined4 *)(puVar6 + -8) = 1;\n          *(undefined4 *)(puVar6 + -0xc) = 0x135f3;\n          xexit();\n        } while( true );\n      }\n      __stream = fopen64(pcVar4,"r");\n      if (__stream == (FILE *)0x0) goto LAB_000133b8;\n      iVar2 = fseek(__stream,0,2);\n      if (((iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1)) {\n        local_94 = (char **)local_98;\n        local_98 = (byte *)xmalloc(local_98 + 1);\n        ppcVar3 = (char **)fread(local_98,1,(size_t)local_94,__stream);\n        if ((local_94 == ppcVar3) ||\n           (local_94 = ppcVar3, iVar2 = ferror(__stream), ppcVar3 = local_94, iVar2 == 0)) {\n          local_98[(int)ppcVar3] = 0;\n          if (*local_98 == 0) {\nLAB_0001340c:\n            local_88 = (char **)xmalloc(4);\n            *local_88 = (char *)0x0;\n            local_94 = *argvp;\n            if (local_80 == local_94) {\n              local_94 = dupargv(local_80);\n              iVar2 = 0;\n              *argvp = local_94;\n              local_90 = (char *)0x0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = (char *)0x0;\n              local_8c = local_a8;\n            }\n          }\n          else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar5 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar5 = pbVar5 + 1;\n              if (*pbVar5 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar5 * 2];\n            }\n            local_8c = buildargv((char *)local_98);\n            local_94 = *argvp;\n            local_90 = *local_8c;\n            if (local_94 == local_80) {\n              local_94 = dupargv(local_80);\n              *argvp = local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == (char *)0x0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = (char *)(iVar2 * 4);\n            } while (local_8c[iVar2] != (char *)0x0);\n            local_8c = (char **)((iVar9 + iVar2) * 4);\n          }\n          local_84 = local_88;\n          local_88 = (char **)iVar2;\n          free(*(void **)((int)local_94 + (int)local_a8));\n          ppcVar3 = (char **)xrealloc(*argvp,((int)local_88 + 1 + *argcp) * 4);\n          *argvp = ppcVar3;\n          local_94 = (char **)*argcp;\n          memmove((void *)((int)ppcVar3 + (int)local_8c),\n                  (void *)((int)(ppcVar3 + 1) + (int)local_a8),((int)local_94 - iVar9) * 4);\n          __dest = (void *)((int)local_a8 + (int)*argvp);\n          local_a8 = local_84;\n          memcpy(__dest,local_84,(size_t)local_90);\n          *argcp = (int)local_88 + -1 + *argcp;\n          free(local_a8);\n          free(local_98);\n          iVar9 = iVar8;\n        }\n      }\n      iVar8 = iVar9;\n      iVar9 = iVar8 + 1;\n      fclose(__stream);\n      iVar2 = *argcp;\n      if (iVar2 <= iVar9) {\n        return;\n      }\n    }\n  } while( true );\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "FILE *__stream;" type_identifier (pointer_declarator "*__stream" * identifier) ;) (declaration "char **ppcVar3;" primitive_type (pointer_declarator "**ppcVar3" * (pointer_declarator "*ppcVar3" * identifier)) ;) (declaration "void *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "undefined1 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined1 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "undefined1 auStack_ac [4];" type_identifier (array_declarator "auStack_ac [4]" identifier [ number_literal ]) ;) (declaration "char **local_a8;" primitive_type (pointer_declarator "**local_a8" * (pointer_declarator "*local_a8" * identifier)) ;) (declaration "int local_a4;" primitive_type identifier ;) (declaration "stat64 *local_a0;" type_identifier (pointer_declarator "*local_a0" * identifier) ;) (declaration "undefined *local_9c;" type_identifier (pointer_declarator "*local_9c" * identifier) ;) (declaration "byte *local_98;" type_identifier (pointer_declarator "*local_98" * identifier) ;) (declaration "char **local_94;" primitive_type (pointer_declarator "**local_94" * (pointer_declarator "*local_94" * identifier)) ;) (declaration "char *local_90;" primitive_type (pointer_declarator "*local_90" * identifier) ;) (declaration "char **local_8c;" primitive_type (pointer_declarator "**local_8c" * (pointer_declarator "*local_8c" * identifier)) ;) (declaration "char **local_88;" primitive_type (pointer_declarator "**local_88" * (pointer_declarator "*local_88" * identifier)) ;) (declaration "char **local_84;" primitive_type (pointer_declarator "**local_84" * (pointer_declarator "*local_84" * identifier)) ;) (declaration "char **local_80;" primitive_type (pointer_declarator "**local_80" * (pointer_declarator "*local_80" * identifier)) ;) (declaration "stat sb;" type_identifier identifier ;) (expression_statement "puVar7 = auStack_ac;" (assignment_expression "puVar7 = auStack_ac" identifier = identifier) ;) (expression_statement "local_a4 = 2000;" (assignment_expression "local_a4 = 2000" identifier = number_literal) ;) (expression_statement "local_80 = *argvp;" (assignment_expression "local_80 = *argvp" identifier = (pointer_expression "*argvp" * identifier)) ;) (expression_statement "iVar2 = *argcp;" (assignment_expression "iVar2 = *argcp" identifier = (pointer_expression "*argcp" * identifier)) ;) (expression_statement "local_a0 = (stat64 *)&sb;" (assignment_expression "local_a0 = (stat64 *)&sb" identifier = (cast_expression "(stat64 *)&sb" ( (type_descriptor "stat64 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&sb" & identifier))) ;) (expression_statement "local_9c = PTR__sch_istable_00016fd0;" (assignment_expression "local_9c = PTR__sch_istable_00016fd0" identifier = identifier) ;) (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (do_statement "do {\n    iVar8 = iVar9;\n    iVar9 = iVar8 + 1;\n    if (iVar2 <= iVar9) {\n      return;\n    }\n    while( true ) {\n      local_a8 = (char **)(iVar9 * 4);\n      if (*(*argvp)[iVar9] != '@') break;\n      local_a4 = local_a4 + -1;\n      if (local_a4 == 0) {\n        puVar6 = &stack0xffffff4c;\n        pcVar4 = "%s: error: too many @-files encountered\n";\n        goto LAB_000135d9;\n      }\n      pcVar4 = (*argvp)[iVar9] + 1;\n      iVar2 = __xstat64(3,pcVar4,local_a0);\n      if (iVar2 < 0) {\nLAB_000133b8:\n        iVar2 = *argcp;\n        break;\n      }\n      if ((sb.st_mode & 0xf000) == 0x4000) {\n        do {\n          puVar6 = puVar7 + -8;\n          *(undefined4 *)(puVar7 + -8) = *(undefined4 *)**(undefined4 **)(puVar7 + 0xb4);\n          pcVar4 = "%s: error: @-file refers to a directory\n";\nLAB_000135d9:\n          *(char **)(puVar6 + -4) = pcVar4;\n          puVar7 = puVar6 + -8;\n          *(undefined4 *)(puVar6 + -8) = *(undefined4 *)PTR_stderr_00016fc8;\n          *(undefined4 *)(puVar6 + -0xc) = 0x135e7;\n          fprintf(*(FILE **)(puVar6 + -8),*(char **)(puVar6 + -4));\n          *(undefined4 *)(puVar6 + -8) = 1;\n          *(undefined4 *)(puVar6 + -0xc) = 0x135f3;\n          xexit();\n        } while( true );\n      }\n      __stream = fopen64(pcVar4,"r");\n      if (__stream == (FILE *)0x0) goto LAB_000133b8;\n      iVar2 = fseek(__stream,0,2);\n      if (((iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1)) {\n        local_94 = (char **)local_98;\n        local_98 = (byte *)xmalloc(local_98 + 1);\n        ppcVar3 = (char **)fread(local_98,1,(size_t)local_94,__stream);\n        if ((local_94 == ppcVar3) ||\n           (local_94 = ppcVar3, iVar2 = ferror(__stream), ppcVar3 = local_94, iVar2 == 0)) {\n          local_98[(int)ppcVar3] = 0;\n          if (*local_98 == 0) {\nLAB_0001340c:\n            local_88 = (char **)xmalloc(4);\n            *local_88 = (char *)0x0;\n            local_94 = *argvp;\n            if (local_80 == local_94) {\n              local_94 = dupargv(local_80);\n              iVar2 = 0;\n              *argvp = local_94;\n              local_90 = (char *)0x0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = (char *)0x0;\n              local_8c = local_a8;\n            }\n          }\n          else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar5 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar5 = pbVar5 + 1;\n              if (*pbVar5 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar5 * 2];\n            }\n            local_8c = buildargv((char *)local_98);\n            local_94 = *argvp;\n            local_90 = *local_8c;\n            if (local_94 == local_80) {\n              local_94 = dupargv(local_80);\n              *argvp = local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == (char *)0x0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = (char *)(iVar2 * 4);\n            } while (local_8c[iVar2] != (char *)0x0);\n            local_8c = (char **)((iVar9 + iVar2) * 4);\n          }\n          local_84 = local_88;\n          local_88 = (char **)iVar2;\n          free(*(void **)((int)local_94 + (int)local_a8));\n          ppcVar3 = (char **)xrealloc(*argvp,((int)local_88 + 1 + *argcp) * 4);\n          *argvp = ppcVar3;\n          local_94 = (char **)*argcp;\n          memmove((void *)((int)ppcVar3 + (int)local_8c),\n                  (void *)((int)(ppcVar3 + 1) + (int)local_a8),((int)local_94 - iVar9) * 4);\n          __dest = (void *)((int)local_a8 + (int)*argvp);\n          local_a8 = local_84;\n          memcpy(__dest,local_84,(size_t)local_90);\n          *argcp = (int)local_88 + -1 + *argcp;\n          free(local_a8);\n          free(local_98);\n          iVar9 = iVar8;\n        }\n      }\n      iVar8 = iVar9;\n      iVar9 = iVar8 + 1;\n      fclose(__stream);\n      iVar2 = *argcp;\n      if (iVar2 <= iVar9) {\n        return;\n      }\n    }\n  } while( true );" do (compound_statement "{\n    iVar8 = iVar9;\n    iVar9 = iVar8 + 1;\n    if (iVar2 <= iVar9) {\n      return;\n    }\n    while( true ) {\n      local_a8 = (char **)(iVar9 * 4);\n      if (*(*argvp)[iVar9] != '@') break;\n      local_a4 = local_a4 + -1;\n      if (local_a4 == 0) {\n        puVar6 = &stack0xffffff4c;\n        pcVar4 = "%s: error: too many @-files encountered\n";\n        goto LAB_000135d9;\n      }\n      pcVar4 = (*argvp)[iVar9] + 1;\n      iVar2 = __xstat64(3,pcVar4,local_a0);\n      if (iVar2 < 0) {\nLAB_000133b8:\n        iVar2 = *argcp;\n        break;\n      }\n      if ((sb.st_mode & 0xf000) == 0x4000) {\n        do {\n          puVar6 = puVar7 + -8;\n          *(undefined4 *)(puVar7 + -8) = *(undefined4 *)**(undefined4 **)(puVar7 + 0xb4);\n          pcVar4 = "%s: error: @-file refers to a directory\n";\nLAB_000135d9:\n          *(char **)(puVar6 + -4) = pcVar4;\n          puVar7 = puVar6 + -8;\n          *(undefined4 *)(puVar6 + -8) = *(undefined4 *)PTR_stderr_00016fc8;\n          *(undefined4 *)(puVar6 + -0xc) = 0x135e7;\n          fprintf(*(FILE **)(puVar6 + -8),*(char **)(puVar6 + -4));\n          *(undefined4 *)(puVar6 + -8) = 1;\n          *(undefined4 *)(puVar6 + -0xc) = 0x135f3;\n          xexit();\n        } while( true );\n      }\n      __stream = fopen64(pcVar4,"r");\n      if (__stream == (FILE *)0x0) goto LAB_000133b8;\n      iVar2 = fseek(__stream,0,2);\n      if (((iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1)) {\n        local_94 = (char **)local_98;\n        local_98 = (byte *)xmalloc(local_98 + 1);\n        ppcVar3 = (char **)fread(local_98,1,(size_t)local_94,__stream);\n        if ((local_94 == ppcVar3) ||\n           (local_94 = ppcVar3, iVar2 = ferror(__stream), ppcVar3 = local_94, iVar2 == 0)) {\n          local_98[(int)ppcVar3] = 0;\n          if (*local_98 == 0) {\nLAB_0001340c:\n            local_88 = (char **)xmalloc(4);\n            *local_88 = (char *)0x0;\n            local_94 = *argvp;\n            if (local_80 == local_94) {\n              local_94 = dupargv(local_80);\n              iVar2 = 0;\n              *argvp = local_94;\n              local_90 = (char *)0x0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = (char *)0x0;\n              local_8c = local_a8;\n            }\n          }\n          else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar5 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar5 = pbVar5 + 1;\n              if (*pbVar5 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar5 * 2];\n            }\n            local_8c = buildargv((char *)local_98);\n            local_94 = *argvp;\n            local_90 = *local_8c;\n            if (local_94 == local_80) {\n              local_94 = dupargv(local_80);\n              *argvp = local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == (char *)0x0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = (char *)(iVar2 * 4);\n            } while (local_8c[iVar2] != (char *)0x0);\n            local_8c = (char **)((iVar9 + iVar2) * 4);\n          }\n          local_84 = local_88;\n          local_88 = (char **)iVar2;\n          free(*(void **)((int)local_94 + (int)local_a8));\n          ppcVar3 = (char **)xrealloc(*argvp,((int)local_88 + 1 + *argcp) * 4);\n          *argvp = ppcVar3;\n          local_94 = (char **)*argcp;\n          memmove((void *)((int)ppcVar3 + (int)local_8c),\n                  (void *)((int)(ppcVar3 + 1) + (int)local_a8),((int)local_94 - iVar9) * 4);\n          __dest = (void *)((int)local_a8 + (int)*argvp);\n          local_a8 = local_84;\n          memcpy(__dest,local_84,(size_t)local_90);\n          *argcp = (int)local_88 + -1 + *argcp;\n          free(local_a8);\n          free(local_98);\n          iVar9 = iVar8;\n        }\n      }\n      iVar8 = iVar9;\n      iVar9 = iVar8 + 1;\n      fclose(__stream);\n      iVar2 = *argcp;\n      if (iVar2 <= iVar9) {\n        return;\n      }\n    }\n  }" { (expression_statement "iVar8 = iVar9;" (assignment_expression "iVar8 = iVar9" identifier = identifier) ;) (expression_statement "iVar9 = iVar8 + 1;" (assignment_expression "iVar9 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (if_statement "if (iVar2 <= iVar9) {\n      return;\n    }" if (parenthesized_expression "(iVar2 <= iVar9)" ( (binary_expression "iVar2 <= iVar9" identifier <= identifier) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (while_statement "while( true ) {\n      local_a8 = (char **)(iVar9 * 4);\n      if (*(*argvp)[iVar9] != '@') break;\n      local_a4 = local_a4 + -1;\n      if (local_a4 == 0) {\n        puVar6 = &stack0xffffff4c;\n        pcVar4 = "%s: error: too many @-files encountered\n";\n        goto LAB_000135d9;\n      }\n      pcVar4 = (*argvp)[iVar9] + 1;\n      iVar2 = __xstat64(3,pcVar4,local_a0);\n      if (iVar2 < 0) {\nLAB_000133b8:\n        iVar2 = *argcp;\n        break;\n      }\n      if ((sb.st_mode & 0xf000) == 0x4000) {\n        do {\n          puVar6 = puVar7 + -8;\n          *(undefined4 *)(puVar7 + -8) = *(undefined4 *)**(undefined4 **)(puVar7 + 0xb4);\n          pcVar4 = "%s: error: @-file refers to a directory\n";\nLAB_000135d9:\n          *(char **)(puVar6 + -4) = pcVar4;\n          puVar7 = puVar6 + -8;\n          *(undefined4 *)(puVar6 + -8) = *(undefined4 *)PTR_stderr_00016fc8;\n          *(undefined4 *)(puVar6 + -0xc) = 0x135e7;\n          fprintf(*(FILE **)(puVar6 + -8),*(char **)(puVar6 + -4));\n          *(undefined4 *)(puVar6 + -8) = 1;\n          *(undefined4 *)(puVar6 + -0xc) = 0x135f3;\n          xexit();\n        } while( true );\n      }\n      __stream = fopen64(pcVar4,"r");\n      if (__stream == (FILE *)0x0) goto LAB_000133b8;\n      iVar2 = fseek(__stream,0,2);\n      if (((iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1)) {\n        local_94 = (char **)local_98;\n        local_98 = (byte *)xmalloc(local_98 + 1);\n        ppcVar3 = (char **)fread(local_98,1,(size_t)local_94,__stream);\n        if ((local_94 == ppcVar3) ||\n           (local_94 = ppcVar3, iVar2 = ferror(__stream), ppcVar3 = local_94, iVar2 == 0)) {\n          local_98[(int)ppcVar3] = 0;\n          if (*local_98 == 0) {\nLAB_0001340c:\n            local_88 = (char **)xmalloc(4);\n            *local_88 = (char *)0x0;\n            local_94 = *argvp;\n            if (local_80 == local_94) {\n              local_94 = dupargv(local_80);\n              iVar2 = 0;\n              *argvp = local_94;\n              local_90 = (char *)0x0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = (char *)0x0;\n              local_8c = local_a8;\n            }\n          }\n          else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar5 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar5 = pbVar5 + 1;\n              if (*pbVar5 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar5 * 2];\n            }\n            local_8c = buildargv((char *)local_98);\n            local_94 = *argvp;\n            local_90 = *local_8c;\n            if (local_94 == local_80) {\n              local_94 = dupargv(local_80);\n              *argvp = local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == (char *)0x0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = (char *)(iVar2 * 4);\n            } while (local_8c[iVar2] != (char *)0x0);\n            local_8c = (char **)((iVar9 + iVar2) * 4);\n          }\n          local_84 = local_88;\n          local_88 = (char **)iVar2;\n          free(*(void **)((int)local_94 + (int)local_a8));\n          ppcVar3 = (char **)xrealloc(*argvp,((int)local_88 + 1 + *argcp) * 4);\n          *argvp = ppcVar3;\n          local_94 = (char **)*argcp;\n          memmove((void *)((int)ppcVar3 + (int)local_8c),\n                  (void *)((int)(ppcVar3 + 1) + (int)local_a8),((int)local_94 - iVar9) * 4);\n          __dest = (void *)((int)local_a8 + (int)*argvp);\n          local_a8 = local_84;\n          memcpy(__dest,local_84,(size_t)local_90);\n          *argcp = (int)local_88 + -1 + *argcp;\n          free(local_a8);\n          free(local_98);\n          iVar9 = iVar8;\n        }\n      }\n      iVar8 = iVar9;\n      iVar9 = iVar8 + 1;\n      fclose(__stream);\n      iVar2 = *argcp;\n      if (iVar2 <= iVar9) {\n        return;\n      }\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      local_a8 = (char **)(iVar9 * 4);\n      if (*(*argvp)[iVar9] != '@') break;\n      local_a4 = local_a4 + -1;\n      if (local_a4 == 0) {\n        puVar6 = &stack0xffffff4c;\n        pcVar4 = "%s: error: too many @-files encountered\n";\n        goto LAB_000135d9;\n      }\n      pcVar4 = (*argvp)[iVar9] + 1;\n      iVar2 = __xstat64(3,pcVar4,local_a0);\n      if (iVar2 < 0) {\nLAB_000133b8:\n        iVar2 = *argcp;\n        break;\n      }\n      if ((sb.st_mode & 0xf000) == 0x4000) {\n        do {\n          puVar6 = puVar7 + -8;\n          *(undefined4 *)(puVar7 + -8) = *(undefined4 *)**(undefined4 **)(puVar7 + 0xb4);\n          pcVar4 = "%s: error: @-file refers to a directory\n";\nLAB_000135d9:\n          *(char **)(puVar6 + -4) = pcVar4;\n          puVar7 = puVar6 + -8;\n          *(undefined4 *)(puVar6 + -8) = *(undefined4 *)PTR_stderr_00016fc8;\n          *(undefined4 *)(puVar6 + -0xc) = 0x135e7;\n          fprintf(*(FILE **)(puVar6 + -8),*(char **)(puVar6 + -4));\n          *(undefined4 *)(puVar6 + -8) = 1;\n          *(undefined4 *)(puVar6 + -0xc) = 0x135f3;\n          xexit();\n        } while( true );\n      }\n      __stream = fopen64(pcVar4,"r");\n      if (__stream == (FILE *)0x0) goto LAB_000133b8;\n      iVar2 = fseek(__stream,0,2);\n      if (((iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1)) {\n        local_94 = (char **)local_98;\n        local_98 = (byte *)xmalloc(local_98 + 1);\n        ppcVar3 = (char **)fread(local_98,1,(size_t)local_94,__stream);\n        if ((local_94 == ppcVar3) ||\n           (local_94 = ppcVar3, iVar2 = ferror(__stream), ppcVar3 = local_94, iVar2 == 0)) {\n          local_98[(int)ppcVar3] = 0;\n          if (*local_98 == 0) {\nLAB_0001340c:\n            local_88 = (char **)xmalloc(4);\n            *local_88 = (char *)0x0;\n            local_94 = *argvp;\n            if (local_80 == local_94) {\n              local_94 = dupargv(local_80);\n              iVar2 = 0;\n              *argvp = local_94;\n              local_90 = (char *)0x0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = (char *)0x0;\n              local_8c = local_a8;\n            }\n          }\n          else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar5 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar5 = pbVar5 + 1;\n              if (*pbVar5 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar5 * 2];\n            }\n            local_8c = buildargv((char *)local_98);\n            local_94 = *argvp;\n            local_90 = *local_8c;\n            if (local_94 == local_80) {\n              local_94 = dupargv(local_80);\n              *argvp = local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == (char *)0x0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = (char *)(iVar2 * 4);\n            } while (local_8c[iVar2] != (char *)0x0);\n            local_8c = (char **)((iVar9 + iVar2) * 4);\n          }\n          local_84 = local_88;\n          local_88 = (char **)iVar2;\n          free(*(void **)((int)local_94 + (int)local_a8));\n          ppcVar3 = (char **)xrealloc(*argvp,((int)local_88 + 1 + *argcp) * 4);\n          *argvp = ppcVar3;\n          local_94 = (char **)*argcp;\n          memmove((void *)((int)ppcVar3 + (int)local_8c),\n                  (void *)((int)(ppcVar3 + 1) + (int)local_a8),((int)local_94 - iVar9) * 4);\n          __dest = (void *)((int)local_a8 + (int)*argvp);\n          local_a8 = local_84;\n          memcpy(__dest,local_84,(size_t)local_90);\n          *argcp = (int)local_88 + -1 + *argcp;\n          free(local_a8);\n          free(local_98);\n          iVar9 = iVar8;\n        }\n      }\n      iVar8 = iVar9;\n      iVar9 = iVar8 + 1;\n      fclose(__stream);\n      iVar2 = *argcp;\n      if (iVar2 <= iVar9) {\n        return;\n      }\n    }" { (expression_statement "local_a8 = (char **)(iVar9 * 4);" (assignment_expression "local_a8 = (char **)(iVar9 * 4)" identifier = (cast_expression "(char **)(iVar9 * 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar9 * 4)" ( (binary_expression "iVar9 * 4" identifier * number_literal) )))) ;) (if_statement "if (*(*argvp)[iVar9] != '@') break;" if (parenthesized_expression "(*(*argvp)[iVar9] != '@')" ( (binary_expression "*(*argvp)[iVar9] != '@'" (pointer_expression "*(*argvp)[iVar9]" * (subscript_expression "(*argvp)[iVar9]" (parenthesized_expression "(*argvp)" ( (pointer_expression "*argvp" * identifier) )) [ identifier ])) != (char_literal "'@'" ' character ')) )) (break_statement "break;" break ;)) (expression_statement "local_a4 = local_a4 + -1;" (assignment_expression "local_a4 = local_a4 + -1" identifier = (binary_expression "local_a4 + -1" identifier + number_literal)) ;) (if_statement "if (local_a4 == 0) {\n        puVar6 = &stack0xffffff4c;\n        pcVar4 = "%s: error: too many @-files encountered\n";\n        goto LAB_000135d9;\n      }" if (parenthesized_expression "(local_a4 == 0)" ( (binary_expression "local_a4 == 0" identifier == number_literal) )) (compound_statement "{\n        puVar6 = &stack0xffffff4c;\n        pcVar4 = "%s: error: too many @-files encountered\n";\n        goto LAB_000135d9;\n      }" { (expression_statement "puVar6 = &stack0xffffff4c;" (assignment_expression "puVar6 = &stack0xffffff4c" identifier = (pointer_expression "&stack0xffffff4c" & identifier)) ;) (expression_statement "pcVar4 = "%s: error: too many @-files encountered\n";" (assignment_expression "pcVar4 = "%s: error: too many @-files encountered\n"" identifier = (string_literal ""%s: error: too many @-files encountered\n"" " string_content escape_sequence ")) ;) (goto_statement "goto LAB_000135d9;" goto statement_identifier ;) })) (expression_statement "pcVar4 = (*argvp)[iVar9] + 1;" (assignment_expression "pcVar4 = (*argvp)[iVar9] + 1" identifier = (binary_expression "(*argvp)[iVar9] + 1" (subscript_expression "(*argvp)[iVar9]" (parenthesized_expression "(*argvp)" ( (pointer_expression "*argvp" * identifier) )) [ identifier ]) + number_literal)) ;) (expression_statement "iVar2 = __xstat64(3,pcVar4,local_a0);" (assignment_expression "iVar2 = __xstat64(3,pcVar4,local_a0)" identifier = (call_expression "__xstat64(3,pcVar4,local_a0)" identifier (argument_list "(3,pcVar4,local_a0)" ( number_literal , identifier , identifier )))) ;) (if_statement "if (iVar2 < 0) {\nLAB_000133b8:\n        iVar2 = *argcp;\n        break;\n      }" if (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) (compound_statement "{\nLAB_000133b8:\n        iVar2 = *argcp;\n        break;\n      }" { (labeled_statement "LAB_000133b8:\n        iVar2 = *argcp;" statement_identifier : (expression_statement "iVar2 = *argcp;" (assignment_expression "iVar2 = *argcp" identifier = (pointer_expression "*argcp" * identifier)) ;)) (break_statement "break;" break ;) })) (if_statement "if ((sb.st_mode & 0xf000) == 0x4000) {\n        do {\n          puVar6 = puVar7 + -8;\n          *(undefined4 *)(puVar7 + -8) = *(undefined4 *)**(undefined4 **)(puVar7 + 0xb4);\n          pcVar4 = "%s: error: @-file refers to a directory\n";\nLAB_000135d9:\n          *(char **)(puVar6 + -4) = pcVar4;\n          puVar7 = puVar6 + -8;\n          *(undefined4 *)(puVar6 + -8) = *(undefined4 *)PTR_stderr_00016fc8;\n          *(undefined4 *)(puVar6 + -0xc) = 0x135e7;\n          fprintf(*(FILE **)(puVar6 + -8),*(char **)(puVar6 + -4));\n          *(undefined4 *)(puVar6 + -8) = 1;\n          *(undefined4 *)(puVar6 + -0xc) = 0x135f3;\n          xexit();\n        } while( true );\n      }" if (parenthesized_expression "((sb.st_mode & 0xf000) == 0x4000)" ( (binary_expression "(sb.st_mode & 0xf000) == 0x4000" (parenthesized_expression "(sb.st_mode & 0xf000)" ( (binary_expression "sb.st_mode & 0xf000" (field_expression "sb.st_mode" identifier . field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n        do {\n          puVar6 = puVar7 + -8;\n          *(undefined4 *)(puVar7 + -8) = *(undefined4 *)**(undefined4 **)(puVar7 + 0xb4);\n          pcVar4 = "%s: error: @-file refers to a directory\n";\nLAB_000135d9:\n          *(char **)(puVar6 + -4) = pcVar4;\n          puVar7 = puVar6 + -8;\n          *(undefined4 *)(puVar6 + -8) = *(undefined4 *)PTR_stderr_00016fc8;\n          *(undefined4 *)(puVar6 + -0xc) = 0x135e7;\n          fprintf(*(FILE **)(puVar6 + -8),*(char **)(puVar6 + -4));\n          *(undefined4 *)(puVar6 + -8) = 1;\n          *(undefined4 *)(puVar6 + -0xc) = 0x135f3;\n          xexit();\n        } while( true );\n      }" { (do_statement "do {\n          puVar6 = puVar7 + -8;\n          *(undefined4 *)(puVar7 + -8) = *(undefined4 *)**(undefined4 **)(puVar7 + 0xb4);\n          pcVar4 = "%s: error: @-file refers to a directory\n";\nLAB_000135d9:\n          *(char **)(puVar6 + -4) = pcVar4;\n          puVar7 = puVar6 + -8;\n          *(undefined4 *)(puVar6 + -8) = *(undefined4 *)PTR_stderr_00016fc8;\n          *(undefined4 *)(puVar6 + -0xc) = 0x135e7;\n          fprintf(*(FILE **)(puVar6 + -8),*(char **)(puVar6 + -4));\n          *(undefined4 *)(puVar6 + -8) = 1;\n          *(undefined4 *)(puVar6 + -0xc) = 0x135f3;\n          xexit();\n        } while( true );" do (compound_statement "{\n          puVar6 = puVar7 + -8;\n          *(undefined4 *)(puVar7 + -8) = *(undefined4 *)**(undefined4 **)(puVar7 + 0xb4);\n          pcVar4 = "%s: error: @-file refers to a directory\n";\nLAB_000135d9:\n          *(char **)(puVar6 + -4) = pcVar4;\n          puVar7 = puVar6 + -8;\n          *(undefined4 *)(puVar6 + -8) = *(undefined4 *)PTR_stderr_00016fc8;\n          *(undefined4 *)(puVar6 + -0xc) = 0x135e7;\n          fprintf(*(FILE **)(puVar6 + -8),*(char **)(puVar6 + -4));\n          *(undefined4 *)(puVar6 + -8) = 1;\n          *(undefined4 *)(puVar6 + -0xc) = 0x135f3;\n          xexit();\n        }" { (expression_statement "puVar6 = puVar7 + -8;" (assignment_expression "puVar6 = puVar7 + -8" identifier = (binary_expression "puVar7 + -8" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(puVar7 + -8) = *(undefined4 *)**(undefined4 **)(puVar7 + 0xb4);" (assignment_expression "*(undefined4 *)(puVar7 + -8) = *(undefined4 *)**(undefined4 **)(puVar7 + 0xb4)" (pointer_expression "*(undefined4 *)(puVar7 + -8)" * (cast_expression "(undefined4 *)(puVar7 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -8)" ( (binary_expression "puVar7 + -8" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)**(undefined4 **)(puVar7 + 0xb4)" * (cast_expression "(undefined4 *)**(undefined4 **)(puVar7 + 0xb4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(undefined4 **)(puVar7 + 0xb4)" * (pointer_expression "*(undefined4 **)(puVar7 + 0xb4)" * (cast_expression "(undefined4 **)(puVar7 + 0xb4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0xb4)" ( (binary_expression "puVar7 + 0xb4" identifier + number_literal) )))))))) ;) (expression_statement "pcVar4 = "%s: error: @-file refers to a directory\n";" (assignment_expression "pcVar4 = "%s: error: @-file refers to a directory\n"" identifier = (string_literal ""%s: error: @-file refers to a directory\n"" " string_content escape_sequence ")) ;) (labeled_statement "LAB_000135d9:\n          *(char **)(puVar6 + -4) = pcVar4;" statement_identifier : (expression_statement "*(char **)(puVar6 + -4) = pcVar4;" (assignment_expression "*(char **)(puVar6 + -4) = pcVar4" (pointer_expression "*(char **)(puVar6 + -4)" * (cast_expression "(char **)(puVar6 + -4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + -4)" ( (binary_expression "puVar6 + -4" identifier + number_literal) )))) = identifier) ;)) (expression_statement "puVar7 = puVar6 + -8;" (assignment_expression "puVar7 = puVar6 + -8" identifier = (binary_expression "puVar6 + -8" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(puVar6 + -8) = *(undefined4 *)PTR_stderr_00016fc8;" (assignment_expression "*(undefined4 *)(puVar6 + -8) = *(undefined4 *)PTR_stderr_00016fc8" (pointer_expression "*(undefined4 *)(puVar6 + -8)" * (cast_expression "(undefined4 *)(puVar6 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + -8)" ( (binary_expression "puVar6 + -8" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)PTR_stderr_00016fc8" * (cast_expression "(undefined4 *)PTR_stderr_00016fc8" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(undefined4 *)(puVar6 + -0xc) = 0x135e7;" (assignment_expression "*(undefined4 *)(puVar6 + -0xc) = 0x135e7" (pointer_expression "*(undefined4 *)(puVar6 + -0xc)" * (cast_expression "(undefined4 *)(puVar6 + -0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + -0xc)" ( (binary_expression "puVar6 + -0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "fprintf(*(FILE **)(puVar6 + -8),*(char **)(puVar6 + -4));" (call_expression "fprintf(*(FILE **)(puVar6 + -8),*(char **)(puVar6 + -4))" identifier (argument_list "(*(FILE **)(puVar6 + -8),*(char **)(puVar6 + -4))" ( (pointer_expression "*(FILE **)(puVar6 + -8)" * (cast_expression "(FILE **)(puVar6 + -8)" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + -8)" ( (binary_expression "puVar6 + -8" identifier + number_literal) )))) , (pointer_expression "*(char **)(puVar6 + -4)" * (cast_expression "(char **)(puVar6 + -4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + -4)" ( (binary_expression "puVar6 + -4" identifier + number_literal) )))) ))) ;) (expression_statement "*(undefined4 *)(puVar6 + -8) = 1;" (assignment_expression "*(undefined4 *)(puVar6 + -8) = 1" (pointer_expression "*(undefined4 *)(puVar6 + -8)" * (cast_expression "(undefined4 *)(puVar6 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + -8)" ( (binary_expression "puVar6 + -8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar6 + -0xc) = 0x135f3;" (assignment_expression "*(undefined4 *)(puVar6 + -0xc) = 0x135f3" (pointer_expression "*(undefined4 *)(puVar6 + -0xc)" * (cast_expression "(undefined4 *)(puVar6 + -0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + -0xc)" ( (binary_expression "puVar6 + -0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "xexit();" (call_expression "xexit()" identifier (argument_list "()" ( ))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "__stream = fopen64(pcVar4,"r");" (assignment_expression "__stream = fopen64(pcVar4,"r")" identifier = (call_expression "fopen64(pcVar4,"r")" identifier (argument_list "(pcVar4,"r")" ( identifier , (string_literal ""r"" " string_content ") )))) ;) (if_statement "if (__stream == (FILE *)0x0) goto LAB_000133b8;" if (parenthesized_expression "(__stream == (FILE *)0x0)" ( (binary_expression "__stream == (FILE *)0x0" identifier == (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000133b8;" goto statement_identifier ;)) (expression_statement "iVar2 = fseek(__stream,0,2);" (assignment_expression "iVar2 = fseek(__stream,0,2)" identifier = (call_expression "fseek(__stream,0,2)" identifier (argument_list "(__stream,0,2)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if (((iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1)) {\n        local_94 = (char **)local_98;\n        local_98 = (byte *)xmalloc(local_98 + 1);\n        ppcVar3 = (char **)fread(local_98,1,(size_t)local_94,__stream);\n        if ((local_94 == ppcVar3) ||\n           (local_94 = ppcVar3, iVar2 = ferror(__stream), ppcVar3 = local_94, iVar2 == 0)) {\n          local_98[(int)ppcVar3] = 0;\n          if (*local_98 == 0) {\nLAB_0001340c:\n            local_88 = (char **)xmalloc(4);\n            *local_88 = (char *)0x0;\n            local_94 = *argvp;\n            if (local_80 == local_94) {\n              local_94 = dupargv(local_80);\n              iVar2 = 0;\n              *argvp = local_94;\n              local_90 = (char *)0x0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = (char *)0x0;\n              local_8c = local_a8;\n            }\n          }\n          else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar5 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar5 = pbVar5 + 1;\n              if (*pbVar5 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar5 * 2];\n            }\n            local_8c = buildargv((char *)local_98);\n            local_94 = *argvp;\n            local_90 = *local_8c;\n            if (local_94 == local_80) {\n              local_94 = dupargv(local_80);\n              *argvp = local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == (char *)0x0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = (char *)(iVar2 * 4);\n            } while (local_8c[iVar2] != (char *)0x0);\n            local_8c = (char **)((iVar9 + iVar2) * 4);\n          }\n          local_84 = local_88;\n          local_88 = (char **)iVar2;\n          free(*(void **)((int)local_94 + (int)local_a8));\n          ppcVar3 = (char **)xrealloc(*argvp,((int)local_88 + 1 + *argcp) * 4);\n          *argvp = ppcVar3;\n          local_94 = (char **)*argcp;\n          memmove((void *)((int)ppcVar3 + (int)local_8c),\n                  (void *)((int)(ppcVar3 + 1) + (int)local_a8),((int)local_94 - iVar9) * 4);\n          __dest = (void *)((int)local_a8 + (int)*argvp);\n          local_a8 = local_84;\n          memcpy(__dest,local_84,(size_t)local_90);\n          *argcp = (int)local_88 + -1 + *argcp;\n          free(local_a8);\n          free(local_98);\n          iVar9 = iVar8;\n        }\n      }" if (parenthesized_expression "(((iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1))" ( (binary_expression "((iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1)" (parenthesized_expression "((iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff))" ( (binary_expression "(iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)" (parenthesized_expression "(iVar2 != -1)" ( (binary_expression "iVar2 != -1" identifier != number_literal) )) && (parenthesized_expression "(local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)" ( (comma_expression "local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff" (assignment_expression "local_98 = (byte *)ftell(__stream)" identifier = (cast_expression "(byte *)ftell(__stream)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "ftell(__stream)" identifier (argument_list "(__stream)" ( identifier ))))) , (binary_expression "local_98 != (byte *)0xffffffff" identifier != (cast_expression "(byte *)0xffffffff" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) && (parenthesized_expression "(iVar2 = fseek(__stream,0,0), iVar2 != -1)" ( (comma_expression "iVar2 = fseek(__stream,0,0), iVar2 != -1" (assignment_expression "iVar2 = fseek(__stream,0,0)" identifier = (call_expression "fseek(__stream,0,0)" identifier (argument_list "(__stream,0,0)" ( identifier , number_literal , number_literal )))) , (binary_expression "iVar2 != -1" identifier != number_literal)) ))) )) (compound_statement "{\n        local_94 = (char **)local_98;\n        local_98 = (byte *)xmalloc(local_98 + 1);\n        ppcVar3 = (char **)fread(local_98,1,(size_t)local_94,__stream);\n        if ((local_94 == ppcVar3) ||\n           (local_94 = ppcVar3, iVar2 = ferror(__stream), ppcVar3 = local_94, iVar2 == 0)) {\n          local_98[(int)ppcVar3] = 0;\n          if (*local_98 == 0) {\nLAB_0001340c:\n            local_88 = (char **)xmalloc(4);\n            *local_88 = (char *)0x0;\n            local_94 = *argvp;\n            if (local_80 == local_94) {\n              local_94 = dupargv(local_80);\n              iVar2 = 0;\n              *argvp = local_94;\n              local_90 = (char *)0x0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = (char *)0x0;\n              local_8c = local_a8;\n            }\n          }\n          else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar5 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar5 = pbVar5 + 1;\n              if (*pbVar5 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar5 * 2];\n            }\n            local_8c = buildargv((char *)local_98);\n            local_94 = *argvp;\n            local_90 = *local_8c;\n            if (local_94 == local_80) {\n              local_94 = dupargv(local_80);\n              *argvp = local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == (char *)0x0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = (char *)(iVar2 * 4);\n            } while (local_8c[iVar2] != (char *)0x0);\n            local_8c = (char **)((iVar9 + iVar2) * 4);\n          }\n          local_84 = local_88;\n          local_88 = (char **)iVar2;\n          free(*(void **)((int)local_94 + (int)local_a8));\n          ppcVar3 = (char **)xrealloc(*argvp,((int)local_88 + 1 + *argcp) * 4);\n          *argvp = ppcVar3;\n          local_94 = (char **)*argcp;\n          memmove((void *)((int)ppcVar3 + (int)local_8c),\n                  (void *)((int)(ppcVar3 + 1) + (int)local_a8),((int)local_94 - iVar9) * 4);\n          __dest = (void *)((int)local_a8 + (int)*argvp);\n          local_a8 = local_84;\n          memcpy(__dest,local_84,(size_t)local_90);\n          *argcp = (int)local_88 + -1 + *argcp;\n          free(local_a8);\n          free(local_98);\n          iVar9 = iVar8;\n        }\n      }" { (expression_statement "local_94 = (char **)local_98;" (assignment_expression "local_94 = (char **)local_98" identifier = (cast_expression "(char **)local_98" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ;) (expression_statement "local_98 = (byte *)xmalloc(local_98 + 1);" (assignment_expression "local_98 = (byte *)xmalloc(local_98 + 1)" identifier = (cast_expression "(byte *)xmalloc(local_98 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(local_98 + 1)" identifier (argument_list "(local_98 + 1)" ( (binary_expression "local_98 + 1" identifier + number_literal) ))))) ;) (expression_statement "ppcVar3 = (char **)fread(local_98,1,(size_t)local_94,__stream);" (assignment_expression "ppcVar3 = (char **)fread(local_98,1,(size_t)local_94,__stream)" identifier = (cast_expression "(char **)fread(local_98,1,(size_t)local_94,__stream)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (call_expression "fread(local_98,1,(size_t)local_94,__stream)" identifier (argument_list "(local_98,1,(size_t)local_94,__stream)" ( identifier , number_literal , (cast_expression "(size_t)local_94" ( (type_descriptor "size_t" primitive_type) ) identifier) , identifier ))))) ;) (if_statement "if ((local_94 == ppcVar3) ||\n           (local_94 = ppcVar3, iVar2 = ferror(__stream), ppcVar3 = local_94, iVar2 == 0)) {\n          local_98[(int)ppcVar3] = 0;\n          if (*local_98 == 0) {\nLAB_0001340c:\n            local_88 = (char **)xmalloc(4);\n            *local_88 = (char *)0x0;\n            local_94 = *argvp;\n            if (local_80 == local_94) {\n              local_94 = dupargv(local_80);\n              iVar2 = 0;\n              *argvp = local_94;\n              local_90 = (char *)0x0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = (char *)0x0;\n              local_8c = local_a8;\n            }\n          }\n          else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar5 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar5 = pbVar5 + 1;\n              if (*pbVar5 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar5 * 2];\n            }\n            local_8c = buildargv((char *)local_98);\n            local_94 = *argvp;\n            local_90 = *local_8c;\n            if (local_94 == local_80) {\n              local_94 = dupargv(local_80);\n              *argvp = local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == (char *)0x0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = (char *)(iVar2 * 4);\n            } while (local_8c[iVar2] != (char *)0x0);\n            local_8c = (char **)((iVar9 + iVar2) * 4);\n          }\n          local_84 = local_88;\n          local_88 = (char **)iVar2;\n          free(*(void **)((int)local_94 + (int)local_a8));\n          ppcVar3 = (char **)xrealloc(*argvp,((int)local_88 + 1 + *argcp) * 4);\n          *argvp = ppcVar3;\n          local_94 = (char **)*argcp;\n          memmove((void *)((int)ppcVar3 + (int)local_8c),\n                  (void *)((int)(ppcVar3 + 1) + (int)local_a8),((int)local_94 - iVar9) * 4);\n          __dest = (void *)((int)local_a8 + (int)*argvp);\n          local_a8 = local_84;\n          memcpy(__dest,local_84,(size_t)local_90);\n          *argcp = (int)local_88 + -1 + *argcp;\n          free(local_a8);\n          free(local_98);\n          iVar9 = iVar8;\n        }" if (parenthesized_expression "((local_94 == ppcVar3) ||\n           (local_94 = ppcVar3, iVar2 = ferror(__stream), ppcVar3 = local_94, iVar2 == 0))" ( (binary_expression "(local_94 == ppcVar3) ||\n           (local_94 = ppcVar3, iVar2 = ferror(__stream), ppcVar3 = local_94, iVar2 == 0)" (parenthesized_expression "(local_94 == ppcVar3)" ( (binary_expression "local_94 == ppcVar3" identifier == identifier) )) || (parenthesized_expression "(local_94 = ppcVar3, iVar2 = ferror(__stream), ppcVar3 = local_94, iVar2 == 0)" ( (comma_expression "local_94 = ppcVar3, iVar2 = ferror(__stream), ppcVar3 = local_94, iVar2 == 0" (assignment_expression "local_94 = ppcVar3" identifier = identifier) , (comma_expression "iVar2 = ferror(__stream), ppcVar3 = local_94, iVar2 == 0" (assignment_expression "iVar2 = ferror(__stream)" identifier = (call_expression "ferror(__stream)" identifier (argument_list "(__stream)" ( identifier )))) , (comma_expression "ppcVar3 = local_94, iVar2 == 0" (assignment_expression "ppcVar3 = local_94" identifier = identifier) , (binary_expression "iVar2 == 0" identifier == number_literal)))) ))) )) (compound_statement "{\n          local_98[(int)ppcVar3] = 0;\n          if (*local_98 == 0) {\nLAB_0001340c:\n            local_88 = (char **)xmalloc(4);\n            *local_88 = (char *)0x0;\n            local_94 = *argvp;\n            if (local_80 == local_94) {\n              local_94 = dupargv(local_80);\n              iVar2 = 0;\n              *argvp = local_94;\n              local_90 = (char *)0x0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = (char *)0x0;\n              local_8c = local_a8;\n            }\n          }\n          else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar5 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar5 = pbVar5 + 1;\n              if (*pbVar5 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar5 * 2];\n            }\n            local_8c = buildargv((char *)local_98);\n            local_94 = *argvp;\n            local_90 = *local_8c;\n            if (local_94 == local_80) {\n              local_94 = dupargv(local_80);\n              *argvp = local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == (char *)0x0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = (char *)(iVar2 * 4);\n            } while (local_8c[iVar2] != (char *)0x0);\n            local_8c = (char **)((iVar9 + iVar2) * 4);\n          }\n          local_84 = local_88;\n          local_88 = (char **)iVar2;\n          free(*(void **)((int)local_94 + (int)local_a8));\n          ppcVar3 = (char **)xrealloc(*argvp,((int)local_88 + 1 + *argcp) * 4);\n          *argvp = ppcVar3;\n          local_94 = (char **)*argcp;\n          memmove((void *)((int)ppcVar3 + (int)local_8c),\n                  (void *)((int)(ppcVar3 + 1) + (int)local_a8),((int)local_94 - iVar9) * 4);\n          __dest = (void *)((int)local_a8 + (int)*argvp);\n          local_a8 = local_84;\n          memcpy(__dest,local_84,(size_t)local_90);\n          *argcp = (int)local_88 + -1 + *argcp;\n          free(local_a8);\n          free(local_98);\n          iVar9 = iVar8;\n        }" { (expression_statement "local_98[(int)ppcVar3] = 0;" (assignment_expression "local_98[(int)ppcVar3] = 0" (subscript_expression "local_98[(int)ppcVar3]" identifier [ (cast_expression "(int)ppcVar3" ( (type_descriptor "int" primitive_type) ) identifier) ]) = number_literal) ;) (if_statement "if (*local_98 == 0) {\nLAB_0001340c:\n            local_88 = (char **)xmalloc(4);\n            *local_88 = (char *)0x0;\n            local_94 = *argvp;\n            if (local_80 == local_94) {\n              local_94 = dupargv(local_80);\n              iVar2 = 0;\n              *argvp = local_94;\n              local_90 = (char *)0x0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = (char *)0x0;\n              local_8c = local_a8;\n            }\n          }\n          else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar5 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar5 = pbVar5 + 1;\n              if (*pbVar5 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar5 * 2];\n            }\n            local_8c = buildargv((char *)local_98);\n            local_94 = *argvp;\n            local_90 = *local_8c;\n            if (local_94 == local_80) {\n              local_94 = dupargv(local_80);\n              *argvp = local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == (char *)0x0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = (char *)(iVar2 * 4);\n            } while (local_8c[iVar2] != (char *)0x0);\n            local_8c = (char **)((iVar9 + iVar2) * 4);\n          }" if (parenthesized_expression "(*local_98 == 0)" ( (binary_expression "*local_98 == 0" (pointer_expression "*local_98" * identifier) == number_literal) )) (compound_statement "{\nLAB_0001340c:\n            local_88 = (char **)xmalloc(4);\n            *local_88 = (char *)0x0;\n            local_94 = *argvp;\n            if (local_80 == local_94) {\n              local_94 = dupargv(local_80);\n              iVar2 = 0;\n              *argvp = local_94;\n              local_90 = (char *)0x0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = (char *)0x0;\n              local_8c = local_a8;\n            }\n          }" { (labeled_statement "LAB_0001340c:\n            local_88 = (char **)xmalloc(4);" statement_identifier : (expression_statement "local_88 = (char **)xmalloc(4);" (assignment_expression "local_88 = (char **)xmalloc(4)" identifier = (cast_expression "(char **)xmalloc(4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (call_expression "xmalloc(4)" identifier (argument_list "(4)" ( number_literal ))))) ;)) (expression_statement "*local_88 = (char *)0x0;" (assignment_expression "*local_88 = (char *)0x0" (pointer_expression "*local_88" * identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_94 = *argvp;" (assignment_expression "local_94 = *argvp" identifier = (pointer_expression "*argvp" * identifier)) ;) (if_statement "if (local_80 == local_94) {\n              local_94 = dupargv(local_80);\n              iVar2 = 0;\n              *argvp = local_94;\n              local_90 = (char *)0x0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = (char *)0x0;\n              local_8c = local_a8;\n            }" if (parenthesized_expression "(local_80 == local_94)" ( (binary_expression "local_80 == local_94" identifier == identifier) )) (compound_statement "{\n              local_94 = dupargv(local_80);\n              iVar2 = 0;\n              *argvp = local_94;\n              local_90 = (char *)0x0;\n              local_8c = local_a8;\n            }" { (expression_statement "local_94 = dupargv(local_80);" (assignment_expression "local_94 = dupargv(local_80)" identifier = (call_expression "dupargv(local_80)" identifier (argument_list "(local_80)" ( identifier )))) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "*argvp = local_94;" (assignment_expression "*argvp = local_94" (pointer_expression "*argvp" * identifier) = identifier) ;) (expression_statement "local_90 = (char *)0x0;" (assignment_expression "local_90 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_8c = local_a8;" (assignment_expression "local_8c = local_a8" identifier = identifier) ;) }) (else_clause "else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = (char *)0x0;\n              local_8c = local_a8;\n            }" else (compound_statement "{\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = (char *)0x0;\n              local_8c = local_a8;\n            }" { (labeled_statement "LAB_000135b7:\n              iVar2 = 0;" statement_identifier : (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;)) (expression_statement "local_90 = (char *)0x0;" (assignment_expression "local_90 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_8c = local_a8;" (assignment_expression "local_8c = local_a8" identifier = identifier) ;) }))) }) (else_clause "else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar5 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar5 = pbVar5 + 1;\n              if (*pbVar5 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar5 * 2];\n            }\n            local_8c = buildargv((char *)local_98);\n            local_94 = *argvp;\n            local_90 = *local_8c;\n            if (local_94 == local_80) {\n              local_94 = dupargv(local_80);\n              *argvp = local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == (char *)0x0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = (char *)(iVar2 * 4);\n            } while (local_8c[iVar2] != (char *)0x0);\n            local_8c = (char **)((iVar9 + iVar2) * 4);\n          }" else (compound_statement "{\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar5 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar5 = pbVar5 + 1;\n              if (*pbVar5 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar5 * 2];\n            }\n            local_8c = buildargv((char *)local_98);\n            local_94 = *argvp;\n            local_90 = *local_8c;\n            if (local_94 == local_80) {\n              local_94 = dupargv(local_80);\n              *argvp = local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == (char *)0x0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = (char *)(iVar2 * 4);\n            } while (local_8c[iVar2] != (char *)0x0);\n            local_8c = (char **)((iVar9 + iVar2) * 4);\n          }" { (expression_statement "bVar1 = local_9c[(uint)*local_98 * 2];" (assignment_expression "bVar1 = local_9c[(uint)*local_98 * 2]" identifier = (subscript_expression "local_9c[(uint)*local_98 * 2]" identifier [ (binary_expression "(uint)*local_98 * 2" (binary_expression "(uint)*local_98" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal) ])) ;) (expression_statement "pbVar5 = local_98;" (assignment_expression "pbVar5 = local_98" identifier = identifier) ;) (while_statement "while ((bVar1 & 0x40) != 0) {\n              pbVar5 = pbVar5 + 1;\n              if (*pbVar5 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar5 * 2];\n            }" while (parenthesized_expression "((bVar1 & 0x40) != 0)" ( (binary_expression "(bVar1 & 0x40) != 0" (parenthesized_expression "(bVar1 & 0x40)" ( (binary_expression "bVar1 & 0x40" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n              pbVar5 = pbVar5 + 1;\n              if (*pbVar5 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar5 * 2];\n            }" { (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) (if_statement "if (*pbVar5 == 0) goto LAB_0001340c;" if (parenthesized_expression "(*pbVar5 == 0)" ( (binary_expression "*pbVar5 == 0" (pointer_expression "*pbVar5" * identifier) == number_literal) )) (goto_statement "goto LAB_0001340c;" goto statement_identifier ;)) (expression_statement "bVar1 = local_9c[(uint)*pbVar5 * 2];" (assignment_expression "bVar1 = local_9c[(uint)*pbVar5 * 2]" identifier = (subscript_expression "local_9c[(uint)*pbVar5 * 2]" identifier [ (binary_expression "(uint)*pbVar5 * 2" (binary_expression "(uint)*pbVar5" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal) ])) ;) })) (expression_statement "local_8c = buildargv((char *)local_98);" (assignment_expression "local_8c = buildargv((char *)local_98)" identifier = (call_expression "buildargv((char *)local_98)" identifier (argument_list "((char *)local_98)" ( (cast_expression "(char *)local_98" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (expression_statement "local_94 = *argvp;" (assignment_expression "local_94 = *argvp" identifier = (pointer_expression "*argvp" * identifier)) ;) (expression_statement "local_90 = *local_8c;" (assignment_expression "local_90 = *local_8c" identifier = (pointer_expression "*local_8c" * identifier)) ;) (if_statement "if (local_94 == local_80) {\n              local_94 = dupargv(local_80);\n              *argvp = local_94;\n            }" if (parenthesized_expression "(local_94 == local_80)" ( (binary_expression "local_94 == local_80" identifier == identifier) )) (compound_statement "{\n              local_94 = dupargv(local_80);\n              *argvp = local_94;\n            }" { (expression_statement "local_94 = dupargv(local_80);" (assignment_expression "local_94 = dupargv(local_80)" identifier = (call_expression "dupargv(local_80)" identifier (argument_list "(local_80)" ( identifier )))) ;) (expression_statement "*argvp = local_94;" (assignment_expression "*argvp = local_94" (pointer_expression "*argvp" * identifier) = identifier) ;) })) (expression_statement "local_88 = local_8c;" (assignment_expression "local_88 = local_8c" identifier = identifier) ;) (if_statement "if (local_90 == (char *)0x0) goto LAB_000135b7;" if (parenthesized_expression "(local_90 == (char *)0x0)" ( (binary_expression "local_90 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000135b7;" goto statement_identifier ;)) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n              iVar2 = iVar2 + 1;\n              local_90 = (char *)(iVar2 * 4);\n            } while (local_8c[iVar2] != (char *)0x0);" do (compound_statement "{\n              iVar2 = iVar2 + 1;\n              local_90 = (char *)(iVar2 * 4);\n            }" { (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "local_90 = (char *)(iVar2 * 4);" (assignment_expression "local_90 = (char *)(iVar2 * 4)" identifier = (cast_expression "(char *)(iVar2 * 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 * 4)" ( (binary_expression "iVar2 * 4" identifier * number_literal) )))) ;) }) while (parenthesized_expression "(local_8c[iVar2] != (char *)0x0)" ( (binary_expression "local_8c[iVar2] != (char *)0x0" (subscript_expression "local_8c[iVar2]" identifier [ identifier ]) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "local_8c = (char **)((iVar9 + iVar2) * 4);" (assignment_expression "local_8c = (char **)((iVar9 + iVar2) * 4)" identifier = (cast_expression "(char **)((iVar9 + iVar2) * 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((iVar9 + iVar2) * 4)" ( (binary_expression "(iVar9 + iVar2) * 4" (parenthesized_expression "(iVar9 + iVar2)" ( (binary_expression "iVar9 + iVar2" identifier + identifier) )) * number_literal) )))) ;) }))) (expression_statement "local_84 = local_88;" (assignment_expression "local_84 = local_88" identifier = identifier) ;) (expression_statement "local_88 = (char **)iVar2;" (assignment_expression "local_88 = (char **)iVar2" identifier = (cast_expression "(char **)iVar2" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ;) (expression_statement "free(*(void **)((int)local_94 + (int)local_a8));" (call_expression "free(*(void **)((int)local_94 + (int)local_a8))" identifier (argument_list "(*(void **)((int)local_94 + (int)local_a8))" ( (pointer_expression "*(void **)((int)local_94 + (int)local_a8)" * (cast_expression "(void **)((int)local_94 + (int)local_a8)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)local_94 + (int)local_a8)" ( (binary_expression "(int)local_94 + (int)local_a8" (cast_expression "(int)local_94" ( (type_descriptor "int" primitive_type) ) identifier) + (cast_expression "(int)local_a8" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ))) ;) (expression_statement "ppcVar3 = (char **)xrealloc(*argvp,((int)local_88 + 1 + *argcp) * 4);" (assignment_expression "ppcVar3 = (char **)xrealloc(*argvp,((int)local_88 + 1 + *argcp) * 4)" identifier = (cast_expression "(char **)xrealloc(*argvp,((int)local_88 + 1 + *argcp) * 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (call_expression "xrealloc(*argvp,((int)local_88 + 1 + *argcp) * 4)" identifier (argument_list "(*argvp,((int)local_88 + 1 + *argcp) * 4)" ( (pointer_expression "*argvp" * identifier) , (binary_expression "((int)local_88 + 1 + *argcp) * 4" (parenthesized_expression "((int)local_88 + 1 + *argcp)" ( (binary_expression "(int)local_88 + 1 + *argcp" (binary_expression "(int)local_88 + 1" (cast_expression "(int)local_88" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) + (pointer_expression "*argcp" * identifier)) )) * number_literal) ))))) ;) (expression_statement "*argvp = ppcVar3;" (assignment_expression "*argvp = ppcVar3" (pointer_expression "*argvp" * identifier) = identifier) ;) (expression_statement "local_94 = (char **)*argcp;" (assignment_expression "local_94 = (char **)*argcp" identifier = (cast_expression "(char **)*argcp" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "*argcp" * identifier))) ;) (expression_statement "memmove((void *)((int)ppcVar3 + (int)local_8c),\n                  (void *)((int)(ppcVar3 + 1) + (int)local_a8),((int)local_94 - iVar9) * 4);" (call_expression "memmove((void *)((int)ppcVar3 + (int)local_8c),\n                  (void *)((int)(ppcVar3 + 1) + (int)local_a8),((int)local_94 - iVar9) * 4)" identifier (argument_list "((void *)((int)ppcVar3 + (int)local_8c),\n                  (void *)((int)(ppcVar3 + 1) + (int)local_a8),((int)local_94 - iVar9) * 4)" ( (cast_expression "(void *)((int)ppcVar3 + (int)local_8c)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)ppcVar3 + (int)local_8c)" ( (binary_expression "(int)ppcVar3 + (int)local_8c" (cast_expression "(int)ppcVar3" ( (type_descriptor "int" primitive_type) ) identifier) + (cast_expression "(int)local_8c" ( (type_descriptor "int" primitive_type) ) identifier)) ))) , (cast_expression "(void *)((int)(ppcVar3 + 1) + (int)local_a8)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)(ppcVar3 + 1) + (int)local_a8)" ( (binary_expression "(int)(ppcVar3 + 1) + (int)local_a8" (cast_expression "(int)(ppcVar3 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(ppcVar3 + 1)" ( (binary_expression "ppcVar3 + 1" identifier + number_literal) ))) + (cast_expression "(int)local_a8" ( (type_descriptor "int" primitive_type) ) identifier)) ))) , (binary_expression "((int)local_94 - iVar9) * 4" (parenthesized_expression "((int)local_94 - iVar9)" ( (binary_expression "(int)local_94 - iVar9" (cast_expression "(int)local_94" ( (type_descriptor "int" primitive_type) ) identifier) - identifier) )) * number_literal) ))) ;) (expression_statement "__dest = (void *)((int)local_a8 + (int)*argvp);" (assignment_expression "__dest = (void *)((int)local_a8 + (int)*argvp)" identifier = (cast_expression "(void *)((int)local_a8 + (int)*argvp)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_a8 + (int)*argvp)" ( (binary_expression "(int)local_a8 + (int)*argvp" (cast_expression "(int)local_a8" ( (type_descriptor "int" primitive_type) ) identifier) + (cast_expression "(int)*argvp" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*argvp" * identifier))) )))) ;) (expression_statement "local_a8 = local_84;" (assignment_expression "local_a8 = local_84" identifier = identifier) ;) (expression_statement "memcpy(__dest,local_84,(size_t)local_90);" (call_expression "memcpy(__dest,local_84,(size_t)local_90)" identifier (argument_list "(__dest,local_84,(size_t)local_90)" ( identifier , identifier , (cast_expression "(size_t)local_90" ( (type_descriptor "size_t" primitive_type) ) identifier) ))) ;) (expression_statement "*argcp = (int)local_88 + -1 + *argcp;" (assignment_expression "*argcp = (int)local_88 + -1 + *argcp" (pointer_expression "*argcp" * identifier) = (binary_expression "(int)local_88 + -1 + *argcp" (binary_expression "(int)local_88 + -1" (cast_expression "(int)local_88" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) + (pointer_expression "*argcp" * identifier))) ;) (expression_statement "free(local_a8);" (call_expression "free(local_a8)" identifier (argument_list "(local_a8)" ( identifier ))) ;) (expression_statement "free(local_98);" (call_expression "free(local_98)" identifier (argument_list "(local_98)" ( identifier ))) ;) (expression_statement "iVar9 = iVar8;" (assignment_expression "iVar9 = iVar8" identifier = identifier) ;) })) })) (expression_statement "iVar8 = iVar9;" (assignment_expression "iVar8 = iVar9" identifier = identifier) ;) (expression_statement "iVar9 = iVar8 + 1;" (assignment_expression "iVar9 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (expression_statement "fclose(__stream);" (call_expression "fclose(__stream)" identifier (argument_list "(__stream)" ( identifier ))) ;) (expression_statement "iVar2 = *argcp;" (assignment_expression "iVar2 = *argcp" identifier = (pointer_expression "*argcp" * identifier)) ;) (if_statement "if (iVar2 <= iVar9) {\n        return;\n      }" if (parenthesized_expression "(iVar2 <= iVar9)" ( (binary_expression "iVar2 <= iVar9" identifier <= identifier) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "void FUN_00013220(int *param_1,int *param_2)\n\n{\n  byte bVar1;\n  int iVar2;\n  FILE *__stream;\n  byte *pbVar3;\n  void *__dest;\n  char *pcVar4;\n  undefined1 *puVar5;\n  undefined1 *puVar6;\n  int iVar7;\n  int iVar8;\n  undefined1 auStack_ac [4];\n  int *local_a8;\n  int local_a4;\n  stat64 *local_a0;\n  undefined *local_9c;\n  byte *local_98;\n  byte *local_94;\n  size_t local_90;\n  int *local_8c;\n  int *local_88;\n  int *local_84;\n  int local_80;\n  stat64 local_7c;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1322b;\n  puVar6 = auStack_ac;\n  local_a4 = 2000;\n  local_80 = *param_2;\n  iVar2 = *param_1;\n  local_a0 = &local_7c;\n  local_9c = PTR__sch_istable_00016fd0;\n  iVar8 = 0;\n  do {\n    iVar7 = iVar8;\n    iVar8 = iVar7 + 1;\n    if (iVar2 <= iVar8) {\n      return;\n    }\n    while( true ) {\n      local_a8 = (int *)(iVar8 * 4);\n      pcVar4 = *(char **)(*param_2 + iVar8 * 4);\n      if (*pcVar4 != '@') break;\n      local_a4 = local_a4 + -1;\n      if (local_a4 == 0) {\n        puVar5 = &stack0xffffff4c;\n        pcVar4 = "%s: error: too many @-files encountered\n";\n        goto LAB_000135d9;\n      }\n      pcVar4 = pcVar4 + 1;\n      iVar2 = __xstat64(3,pcVar4,local_a0);\n      if (iVar2 < 0) {\nLAB_000133b8:\n        iVar2 = *param_1;\n        break;\n      }\n      if ((local_7c.st_mode & 0xf000) == 0x4000) {\n        do {\n          puVar5 = puVar6 + -8;\n          *(undefined4 *)(puVar6 + -8) = *(undefined4 *)**(undefined4 **)(puVar6 + 0xb4);\n          pcVar4 = "%s: error: @-file refers to a directory\n";\nLAB_000135d9:\n          *(char **)(puVar5 + -4) = pcVar4;\n          puVar6 = puVar5 + -8;\n          *(undefined4 *)(puVar5 + -8) = *(undefined4 *)PTR_stderr_00016fc8;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135e7;\n          fprintf(*(FILE **)(puVar5 + -8),*(char **)(puVar5 + -4));\n          *(undefined4 *)(puVar5 + -8) = 1;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135f3;\n          xexit();\n        } while( true );\n      }\n      __stream = fopen64(pcVar4,"r");\n      if (__stream == (FILE *)0x0) goto LAB_000133b8;\n      iVar2 = fseek(__stream,0,2);\n      if (((iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1)) {\n        local_94 = local_98;\n        local_98 = (byte *)xmalloc(local_98 + 1);\n        pbVar3 = (byte *)fread(local_98,1,(size_t)local_94,__stream);\n        if ((local_94 == pbVar3) ||\n           (local_94 = pbVar3, iVar2 = ferror(__stream), pbVar3 = local_94, iVar2 == 0)) {\n          local_98[(int)pbVar3] = 0;\n          if (*local_98 == 0) {\nLAB_0001340c:\n            local_88 = (int *)xmalloc(4);\n            *local_88 = 0;\n            local_94 = (byte *)*param_2;\n            if ((byte *)local_80 == local_94) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              iVar2 = 0;\n              *param_2 = (int)local_94;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n          }\n          else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar3 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar3 = pbVar3 + 1;\n              if (*pbVar3 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar3 * 2];\n            }\n            local_8c = (int *)FUN_00012e80(local_98);\n            local_94 = (byte *)*param_2;\n            local_90 = *local_8c;\n            if (local_94 == (byte *)local_80) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              *param_2 = (int)local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == 0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = iVar2 * 4;\n            } while (local_8c[iVar2] != 0);\n            local_8c = (int *)((iVar8 + iVar2) * 4);\n          }\n          local_84 = local_88;\n          local_88 = (int *)iVar2;\n          free(*(void **)((int)local_94 + (int)local_a8));\n          iVar2 = xrealloc(*param_2,((int)local_88 + 1 + *param_1) * 4);\n          *param_2 = iVar2;\n          local_94 = (byte *)*param_1;\n          memmove((void *)(iVar2 + (int)local_8c),(void *)(iVar2 + 4 + (int)local_a8),\n                  ((int)local_94 - iVar8) * 4);\n          __dest = (void *)((int)local_a8 + *param_2);\n          local_a8 = local_84;\n          memcpy(__dest,local_84,local_90);\n          *param_1 = (int)local_88 + -1 + *param_1;\n          free(local_a8);\n          free(local_98);\n          iVar8 = iVar7;\n        }\n      }\n      iVar7 = iVar8;\n      iVar8 = iVar7 + 1;\n      fclose(__stream);\n      iVar2 = *param_1;\n      if (iVar2 <= iVar8) {\n        return;\n      }\n    }\n  } while( true );\n}\n\n" (function_definition "void FUN_00013220(int *param_1,int *param_2)\n\n{\n  byte bVar1;\n  int iVar2;\n  FILE *__stream;\n  byte *pbVar3;\n  void *__dest;\n  char *pcVar4;\n  undefined1 *puVar5;\n  undefined1 *puVar6;\n  int iVar7;\n  int iVar8;\n  undefined1 auStack_ac [4];\n  int *local_a8;\n  int local_a4;\n  stat64 *local_a0;\n  undefined *local_9c;\n  byte *local_98;\n  byte *local_94;\n  size_t local_90;\n  int *local_8c;\n  int *local_88;\n  int *local_84;\n  int local_80;\n  stat64 local_7c;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1322b;\n  puVar6 = auStack_ac;\n  local_a4 = 2000;\n  local_80 = *param_2;\n  iVar2 = *param_1;\n  local_a0 = &local_7c;\n  local_9c = PTR__sch_istable_00016fd0;\n  iVar8 = 0;\n  do {\n    iVar7 = iVar8;\n    iVar8 = iVar7 + 1;\n    if (iVar2 <= iVar8) {\n      return;\n    }\n    while( true ) {\n      local_a8 = (int *)(iVar8 * 4);\n      pcVar4 = *(char **)(*param_2 + iVar8 * 4);\n      if (*pcVar4 != '@') break;\n      local_a4 = local_a4 + -1;\n      if (local_a4 == 0) {\n        puVar5 = &stack0xffffff4c;\n        pcVar4 = "%s: error: too many @-files encountered\n";\n        goto LAB_000135d9;\n      }\n      pcVar4 = pcVar4 + 1;\n      iVar2 = __xstat64(3,pcVar4,local_a0);\n      if (iVar2 < 0) {\nLAB_000133b8:\n        iVar2 = *param_1;\n        break;\n      }\n      if ((local_7c.st_mode & 0xf000) == 0x4000) {\n        do {\n          puVar5 = puVar6 + -8;\n          *(undefined4 *)(puVar6 + -8) = *(undefined4 *)**(undefined4 **)(puVar6 + 0xb4);\n          pcVar4 = "%s: error: @-file refers to a directory\n";\nLAB_000135d9:\n          *(char **)(puVar5 + -4) = pcVar4;\n          puVar6 = puVar5 + -8;\n          *(undefined4 *)(puVar5 + -8) = *(undefined4 *)PTR_stderr_00016fc8;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135e7;\n          fprintf(*(FILE **)(puVar5 + -8),*(char **)(puVar5 + -4));\n          *(undefined4 *)(puVar5 + -8) = 1;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135f3;\n          xexit();\n        } while( true );\n      }\n      __stream = fopen64(pcVar4,"r");\n      if (__stream == (FILE *)0x0) goto LAB_000133b8;\n      iVar2 = fseek(__stream,0,2);\n      if (((iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1)) {\n        local_94 = local_98;\n        local_98 = (byte *)xmalloc(local_98 + 1);\n        pbVar3 = (byte *)fread(local_98,1,(size_t)local_94,__stream);\n        if ((local_94 == pbVar3) ||\n           (local_94 = pbVar3, iVar2 = ferror(__stream), pbVar3 = local_94, iVar2 == 0)) {\n          local_98[(int)pbVar3] = 0;\n          if (*local_98 == 0) {\nLAB_0001340c:\n            local_88 = (int *)xmalloc(4);\n            *local_88 = 0;\n            local_94 = (byte *)*param_2;\n            if ((byte *)local_80 == local_94) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              iVar2 = 0;\n              *param_2 = (int)local_94;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n          }\n          else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar3 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar3 = pbVar3 + 1;\n              if (*pbVar3 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar3 * 2];\n            }\n            local_8c = (int *)FUN_00012e80(local_98);\n            local_94 = (byte *)*param_2;\n            local_90 = *local_8c;\n            if (local_94 == (byte *)local_80) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              *param_2 = (int)local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == 0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = iVar2 * 4;\n            } while (local_8c[iVar2] != 0);\n            local_8c = (int *)((iVar8 + iVar2) * 4);\n          }\n          local_84 = local_88;\n          local_88 = (int *)iVar2;\n          free(*(void **)((int)local_94 + (int)local_a8));\n          iVar2 = xrealloc(*param_2,((int)local_88 + 1 + *param_1) * 4);\n          *param_2 = iVar2;\n          local_94 = (byte *)*param_1;\n          memmove((void *)(iVar2 + (int)local_8c),(void *)(iVar2 + 4 + (int)local_a8),\n                  ((int)local_94 - iVar8) * 4);\n          __dest = (void *)((int)local_a8 + *param_2);\n          local_a8 = local_84;\n          memcpy(__dest,local_84,local_90);\n          *param_1 = (int)local_88 + -1 + *param_1;\n          free(local_a8);\n          free(local_98);\n          iVar8 = iVar7;\n        }\n      }\n      iVar7 = iVar8;\n      iVar8 = iVar7 + 1;\n      fclose(__stream);\n      iVar2 = *param_1;\n      if (iVar2 <= iVar8) {\n        return;\n      }\n    }\n  } while( true );\n}" primitive_type (function_declarator "FUN_00013220(int *param_1,int *param_2)" identifier (parameter_list "(int *param_1,int *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  FILE *__stream;\n  byte *pbVar3;\n  void *__dest;\n  char *pcVar4;\n  undefined1 *puVar5;\n  undefined1 *puVar6;\n  int iVar7;\n  int iVar8;\n  undefined1 auStack_ac [4];\n  int *local_a8;\n  int local_a4;\n  stat64 *local_a0;\n  undefined *local_9c;\n  byte *local_98;\n  byte *local_94;\n  size_t local_90;\n  int *local_8c;\n  int *local_88;\n  int *local_84;\n  int local_80;\n  stat64 local_7c;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1322b;\n  puVar6 = auStack_ac;\n  local_a4 = 2000;\n  local_80 = *param_2;\n  iVar2 = *param_1;\n  local_a0 = &local_7c;\n  local_9c = PTR__sch_istable_00016fd0;\n  iVar8 = 0;\n  do {\n    iVar7 = iVar8;\n    iVar8 = iVar7 + 1;\n    if (iVar2 <= iVar8) {\n      return;\n    }\n    while( true ) {\n      local_a8 = (int *)(iVar8 * 4);\n      pcVar4 = *(char **)(*param_2 + iVar8 * 4);\n      if (*pcVar4 != '@') break;\n      local_a4 = local_a4 + -1;\n      if (local_a4 == 0) {\n        puVar5 = &stack0xffffff4c;\n        pcVar4 = "%s: error: too many @-files encountered\n";\n        goto LAB_000135d9;\n      }\n      pcVar4 = pcVar4 + 1;\n      iVar2 = __xstat64(3,pcVar4,local_a0);\n      if (iVar2 < 0) {\nLAB_000133b8:\n        iVar2 = *param_1;\n        break;\n      }\n      if ((local_7c.st_mode & 0xf000) == 0x4000) {\n        do {\n          puVar5 = puVar6 + -8;\n          *(undefined4 *)(puVar6 + -8) = *(undefined4 *)**(undefined4 **)(puVar6 + 0xb4);\n          pcVar4 = "%s: error: @-file refers to a directory\n";\nLAB_000135d9:\n          *(char **)(puVar5 + -4) = pcVar4;\n          puVar6 = puVar5 + -8;\n          *(undefined4 *)(puVar5 + -8) = *(undefined4 *)PTR_stderr_00016fc8;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135e7;\n          fprintf(*(FILE **)(puVar5 + -8),*(char **)(puVar5 + -4));\n          *(undefined4 *)(puVar5 + -8) = 1;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135f3;\n          xexit();\n        } while( true );\n      }\n      __stream = fopen64(pcVar4,"r");\n      if (__stream == (FILE *)0x0) goto LAB_000133b8;\n      iVar2 = fseek(__stream,0,2);\n      if (((iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1)) {\n        local_94 = local_98;\n        local_98 = (byte *)xmalloc(local_98 + 1);\n        pbVar3 = (byte *)fread(local_98,1,(size_t)local_94,__stream);\n        if ((local_94 == pbVar3) ||\n           (local_94 = pbVar3, iVar2 = ferror(__stream), pbVar3 = local_94, iVar2 == 0)) {\n          local_98[(int)pbVar3] = 0;\n          if (*local_98 == 0) {\nLAB_0001340c:\n            local_88 = (int *)xmalloc(4);\n            *local_88 = 0;\n            local_94 = (byte *)*param_2;\n            if ((byte *)local_80 == local_94) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              iVar2 = 0;\n              *param_2 = (int)local_94;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n          }\n          else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar3 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar3 = pbVar3 + 1;\n              if (*pbVar3 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar3 * 2];\n            }\n            local_8c = (int *)FUN_00012e80(local_98);\n            local_94 = (byte *)*param_2;\n            local_90 = *local_8c;\n            if (local_94 == (byte *)local_80) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              *param_2 = (int)local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == 0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = iVar2 * 4;\n            } while (local_8c[iVar2] != 0);\n            local_8c = (int *)((iVar8 + iVar2) * 4);\n          }\n          local_84 = local_88;\n          local_88 = (int *)iVar2;\n          free(*(void **)((int)local_94 + (int)local_a8));\n          iVar2 = xrealloc(*param_2,((int)local_88 + 1 + *param_1) * 4);\n          *param_2 = iVar2;\n          local_94 = (byte *)*param_1;\n          memmove((void *)(iVar2 + (int)local_8c),(void *)(iVar2 + 4 + (int)local_a8),\n                  ((int)local_94 - iVar8) * 4);\n          __dest = (void *)((int)local_a8 + *param_2);\n          local_a8 = local_84;\n          memcpy(__dest,local_84,local_90);\n          *param_1 = (int)local_88 + -1 + *param_1;\n          free(local_a8);\n          free(local_98);\n          iVar8 = iVar7;\n        }\n      }\n      iVar7 = iVar8;\n      iVar8 = iVar7 + 1;\n      fclose(__stream);\n      iVar2 = *param_1;\n      if (iVar2 <= iVar8) {\n        return;\n      }\n    }\n  } while( true );\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "FILE *__stream;" type_identifier (pointer_declarator "*__stream" * identifier) ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "void *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "undefined1 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined1 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "undefined1 auStack_ac [4];" type_identifier (array_declarator "auStack_ac [4]" identifier [ number_literal ]) ;) (declaration "int *local_a8;" primitive_type (pointer_declarator "*local_a8" * identifier) ;) (declaration "int local_a4;" primitive_type identifier ;) (declaration "stat64 *local_a0;" type_identifier (pointer_declarator "*local_a0" * identifier) ;) (declaration "undefined *local_9c;" type_identifier (pointer_declarator "*local_9c" * identifier) ;) (declaration "byte *local_98;" type_identifier (pointer_declarator "*local_98" * identifier) ;) (declaration "byte *local_94;" type_identifier (pointer_declarator "*local_94" * identifier) ;) (declaration "size_t local_90;" primitive_type identifier ;) (declaration "int *local_8c;" primitive_type (pointer_declarator "*local_8c" * identifier) ;) (declaration "int *local_88;" primitive_type (pointer_declarator "*local_88" * identifier) ;) (declaration "int *local_84;" primitive_type (pointer_declarator "*local_84" * identifier) ;) (declaration "int local_80;" primitive_type identifier ;) (declaration "stat64 local_7c;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x1322b;" (assignment_expression "uStack_14 = 0x1322b" identifier = number_literal) ;) (expression_statement "puVar6 = auStack_ac;" (assignment_expression "puVar6 = auStack_ac" identifier = identifier) ;) (expression_statement "local_a4 = 2000;" (assignment_expression "local_a4 = 2000" identifier = number_literal) ;) (expression_statement "local_80 = *param_2;" (assignment_expression "local_80 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "local_a0 = &local_7c;" (assignment_expression "local_a0 = &local_7c" identifier = (pointer_expression "&local_7c" & identifier)) ;) (expression_statement "local_9c = PTR__sch_istable_00016fd0;" (assignment_expression "local_9c = PTR__sch_istable_00016fd0" identifier = identifier) ;) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (do_statement "do {\n    iVar7 = iVar8;\n    iVar8 = iVar7 + 1;\n    if (iVar2 <= iVar8) {\n      return;\n    }\n    while( true ) {\n      local_a8 = (int *)(iVar8 * 4);\n      pcVar4 = *(char **)(*param_2 + iVar8 * 4);\n      if (*pcVar4 != '@') break;\n      local_a4 = local_a4 + -1;\n      if (local_a4 == 0) {\n        puVar5 = &stack0xffffff4c;\n        pcVar4 = "%s: error: too many @-files encountered\n";\n        goto LAB_000135d9;\n      }\n      pcVar4 = pcVar4 + 1;\n      iVar2 = __xstat64(3,pcVar4,local_a0);\n      if (iVar2 < 0) {\nLAB_000133b8:\n        iVar2 = *param_1;\n        break;\n      }\n      if ((local_7c.st_mode & 0xf000) == 0x4000) {\n        do {\n          puVar5 = puVar6 + -8;\n          *(undefined4 *)(puVar6 + -8) = *(undefined4 *)**(undefined4 **)(puVar6 + 0xb4);\n          pcVar4 = "%s: error: @-file refers to a directory\n";\nLAB_000135d9:\n          *(char **)(puVar5 + -4) = pcVar4;\n          puVar6 = puVar5 + -8;\n          *(undefined4 *)(puVar5 + -8) = *(undefined4 *)PTR_stderr_00016fc8;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135e7;\n          fprintf(*(FILE **)(puVar5 + -8),*(char **)(puVar5 + -4));\n          *(undefined4 *)(puVar5 + -8) = 1;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135f3;\n          xexit();\n        } while( true );\n      }\n      __stream = fopen64(pcVar4,"r");\n      if (__stream == (FILE *)0x0) goto LAB_000133b8;\n      iVar2 = fseek(__stream,0,2);\n      if (((iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1)) {\n        local_94 = local_98;\n        local_98 = (byte *)xmalloc(local_98 + 1);\n        pbVar3 = (byte *)fread(local_98,1,(size_t)local_94,__stream);\n        if ((local_94 == pbVar3) ||\n           (local_94 = pbVar3, iVar2 = ferror(__stream), pbVar3 = local_94, iVar2 == 0)) {\n          local_98[(int)pbVar3] = 0;\n          if (*local_98 == 0) {\nLAB_0001340c:\n            local_88 = (int *)xmalloc(4);\n            *local_88 = 0;\n            local_94 = (byte *)*param_2;\n            if ((byte *)local_80 == local_94) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              iVar2 = 0;\n              *param_2 = (int)local_94;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n          }\n          else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar3 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar3 = pbVar3 + 1;\n              if (*pbVar3 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar3 * 2];\n            }\n            local_8c = (int *)FUN_00012e80(local_98);\n            local_94 = (byte *)*param_2;\n            local_90 = *local_8c;\n            if (local_94 == (byte *)local_80) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              *param_2 = (int)local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == 0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = iVar2 * 4;\n            } while (local_8c[iVar2] != 0);\n            local_8c = (int *)((iVar8 + iVar2) * 4);\n          }\n          local_84 = local_88;\n          local_88 = (int *)iVar2;\n          free(*(void **)((int)local_94 + (int)local_a8));\n          iVar2 = xrealloc(*param_2,((int)local_88 + 1 + *param_1) * 4);\n          *param_2 = iVar2;\n          local_94 = (byte *)*param_1;\n          memmove((void *)(iVar2 + (int)local_8c),(void *)(iVar2 + 4 + (int)local_a8),\n                  ((int)local_94 - iVar8) * 4);\n          __dest = (void *)((int)local_a8 + *param_2);\n          local_a8 = local_84;\n          memcpy(__dest,local_84,local_90);\n          *param_1 = (int)local_88 + -1 + *param_1;\n          free(local_a8);\n          free(local_98);\n          iVar8 = iVar7;\n        }\n      }\n      iVar7 = iVar8;\n      iVar8 = iVar7 + 1;\n      fclose(__stream);\n      iVar2 = *param_1;\n      if (iVar2 <= iVar8) {\n        return;\n      }\n    }\n  } while( true );" do (compound_statement "{\n    iVar7 = iVar8;\n    iVar8 = iVar7 + 1;\n    if (iVar2 <= iVar8) {\n      return;\n    }\n    while( true ) {\n      local_a8 = (int *)(iVar8 * 4);\n      pcVar4 = *(char **)(*param_2 + iVar8 * 4);\n      if (*pcVar4 != '@') break;\n      local_a4 = local_a4 + -1;\n      if (local_a4 == 0) {\n        puVar5 = &stack0xffffff4c;\n        pcVar4 = "%s: error: too many @-files encountered\n";\n        goto LAB_000135d9;\n      }\n      pcVar4 = pcVar4 + 1;\n      iVar2 = __xstat64(3,pcVar4,local_a0);\n      if (iVar2 < 0) {\nLAB_000133b8:\n        iVar2 = *param_1;\n        break;\n      }\n      if ((local_7c.st_mode & 0xf000) == 0x4000) {\n        do {\n          puVar5 = puVar6 + -8;\n          *(undefined4 *)(puVar6 + -8) = *(undefined4 *)**(undefined4 **)(puVar6 + 0xb4);\n          pcVar4 = "%s: error: @-file refers to a directory\n";\nLAB_000135d9:\n          *(char **)(puVar5 + -4) = pcVar4;\n          puVar6 = puVar5 + -8;\n          *(undefined4 *)(puVar5 + -8) = *(undefined4 *)PTR_stderr_00016fc8;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135e7;\n          fprintf(*(FILE **)(puVar5 + -8),*(char **)(puVar5 + -4));\n          *(undefined4 *)(puVar5 + -8) = 1;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135f3;\n          xexit();\n        } while( true );\n      }\n      __stream = fopen64(pcVar4,"r");\n      if (__stream == (FILE *)0x0) goto LAB_000133b8;\n      iVar2 = fseek(__stream,0,2);\n      if (((iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1)) {\n        local_94 = local_98;\n        local_98 = (byte *)xmalloc(local_98 + 1);\n        pbVar3 = (byte *)fread(local_98,1,(size_t)local_94,__stream);\n        if ((local_94 == pbVar3) ||\n           (local_94 = pbVar3, iVar2 = ferror(__stream), pbVar3 = local_94, iVar2 == 0)) {\n          local_98[(int)pbVar3] = 0;\n          if (*local_98 == 0) {\nLAB_0001340c:\n            local_88 = (int *)xmalloc(4);\n            *local_88 = 0;\n            local_94 = (byte *)*param_2;\n            if ((byte *)local_80 == local_94) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              iVar2 = 0;\n              *param_2 = (int)local_94;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n          }\n          else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar3 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar3 = pbVar3 + 1;\n              if (*pbVar3 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar3 * 2];\n            }\n            local_8c = (int *)FUN_00012e80(local_98);\n            local_94 = (byte *)*param_2;\n            local_90 = *local_8c;\n            if (local_94 == (byte *)local_80) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              *param_2 = (int)local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == 0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = iVar2 * 4;\n            } while (local_8c[iVar2] != 0);\n            local_8c = (int *)((iVar8 + iVar2) * 4);\n          }\n          local_84 = local_88;\n          local_88 = (int *)iVar2;\n          free(*(void **)((int)local_94 + (int)local_a8));\n          iVar2 = xrealloc(*param_2,((int)local_88 + 1 + *param_1) * 4);\n          *param_2 = iVar2;\n          local_94 = (byte *)*param_1;\n          memmove((void *)(iVar2 + (int)local_8c),(void *)(iVar2 + 4 + (int)local_a8),\n                  ((int)local_94 - iVar8) * 4);\n          __dest = (void *)((int)local_a8 + *param_2);\n          local_a8 = local_84;\n          memcpy(__dest,local_84,local_90);\n          *param_1 = (int)local_88 + -1 + *param_1;\n          free(local_a8);\n          free(local_98);\n          iVar8 = iVar7;\n        }\n      }\n      iVar7 = iVar8;\n      iVar8 = iVar7 + 1;\n      fclose(__stream);\n      iVar2 = *param_1;\n      if (iVar2 <= iVar8) {\n        return;\n      }\n    }\n  }" { (expression_statement "iVar7 = iVar8;" (assignment_expression "iVar7 = iVar8" identifier = identifier) ;) (expression_statement "iVar8 = iVar7 + 1;" (assignment_expression "iVar8 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (if_statement "if (iVar2 <= iVar8) {\n      return;\n    }" if (parenthesized_expression "(iVar2 <= iVar8)" ( (binary_expression "iVar2 <= iVar8" identifier <= identifier) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (while_statement "while( true ) {\n      local_a8 = (int *)(iVar8 * 4);\n      pcVar4 = *(char **)(*param_2 + iVar8 * 4);\n      if (*pcVar4 != '@') break;\n      local_a4 = local_a4 + -1;\n      if (local_a4 == 0) {\n        puVar5 = &stack0xffffff4c;\n        pcVar4 = "%s: error: too many @-files encountered\n";\n        goto LAB_000135d9;\n      }\n      pcVar4 = pcVar4 + 1;\n      iVar2 = __xstat64(3,pcVar4,local_a0);\n      if (iVar2 < 0) {\nLAB_000133b8:\n        iVar2 = *param_1;\n        break;\n      }\n      if ((local_7c.st_mode & 0xf000) == 0x4000) {\n        do {\n          puVar5 = puVar6 + -8;\n          *(undefined4 *)(puVar6 + -8) = *(undefined4 *)**(undefined4 **)(puVar6 + 0xb4);\n          pcVar4 = "%s: error: @-file refers to a directory\n";\nLAB_000135d9:\n          *(char **)(puVar5 + -4) = pcVar4;\n          puVar6 = puVar5 + -8;\n          *(undefined4 *)(puVar5 + -8) = *(undefined4 *)PTR_stderr_00016fc8;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135e7;\n          fprintf(*(FILE **)(puVar5 + -8),*(char **)(puVar5 + -4));\n          *(undefined4 *)(puVar5 + -8) = 1;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135f3;\n          xexit();\n        } while( true );\n      }\n      __stream = fopen64(pcVar4,"r");\n      if (__stream == (FILE *)0x0) goto LAB_000133b8;\n      iVar2 = fseek(__stream,0,2);\n      if (((iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1)) {\n        local_94 = local_98;\n        local_98 = (byte *)xmalloc(local_98 + 1);\n        pbVar3 = (byte *)fread(local_98,1,(size_t)local_94,__stream);\n        if ((local_94 == pbVar3) ||\n           (local_94 = pbVar3, iVar2 = ferror(__stream), pbVar3 = local_94, iVar2 == 0)) {\n          local_98[(int)pbVar3] = 0;\n          if (*local_98 == 0) {\nLAB_0001340c:\n            local_88 = (int *)xmalloc(4);\n            *local_88 = 0;\n            local_94 = (byte *)*param_2;\n            if ((byte *)local_80 == local_94) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              iVar2 = 0;\n              *param_2 = (int)local_94;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n          }\n          else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar3 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar3 = pbVar3 + 1;\n              if (*pbVar3 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar3 * 2];\n            }\n            local_8c = (int *)FUN_00012e80(local_98);\n            local_94 = (byte *)*param_2;\n            local_90 = *local_8c;\n            if (local_94 == (byte *)local_80) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              *param_2 = (int)local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == 0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = iVar2 * 4;\n            } while (local_8c[iVar2] != 0);\n            local_8c = (int *)((iVar8 + iVar2) * 4);\n          }\n          local_84 = local_88;\n          local_88 = (int *)iVar2;\n          free(*(void **)((int)local_94 + (int)local_a8));\n          iVar2 = xrealloc(*param_2,((int)local_88 + 1 + *param_1) * 4);\n          *param_2 = iVar2;\n          local_94 = (byte *)*param_1;\n          memmove((void *)(iVar2 + (int)local_8c),(void *)(iVar2 + 4 + (int)local_a8),\n                  ((int)local_94 - iVar8) * 4);\n          __dest = (void *)((int)local_a8 + *param_2);\n          local_a8 = local_84;\n          memcpy(__dest,local_84,local_90);\n          *param_1 = (int)local_88 + -1 + *param_1;\n          free(local_a8);\n          free(local_98);\n          iVar8 = iVar7;\n        }\n      }\n      iVar7 = iVar8;\n      iVar8 = iVar7 + 1;\n      fclose(__stream);\n      iVar2 = *param_1;\n      if (iVar2 <= iVar8) {\n        return;\n      }\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      local_a8 = (int *)(iVar8 * 4);\n      pcVar4 = *(char **)(*param_2 + iVar8 * 4);\n      if (*pcVar4 != '@') break;\n      local_a4 = local_a4 + -1;\n      if (local_a4 == 0) {\n        puVar5 = &stack0xffffff4c;\n        pcVar4 = "%s: error: too many @-files encountered\n";\n        goto LAB_000135d9;\n      }\n      pcVar4 = pcVar4 + 1;\n      iVar2 = __xstat64(3,pcVar4,local_a0);\n      if (iVar2 < 0) {\nLAB_000133b8:\n        iVar2 = *param_1;\n        break;\n      }\n      if ((local_7c.st_mode & 0xf000) == 0x4000) {\n        do {\n          puVar5 = puVar6 + -8;\n          *(undefined4 *)(puVar6 + -8) = *(undefined4 *)**(undefined4 **)(puVar6 + 0xb4);\n          pcVar4 = "%s: error: @-file refers to a directory\n";\nLAB_000135d9:\n          *(char **)(puVar5 + -4) = pcVar4;\n          puVar6 = puVar5 + -8;\n          *(undefined4 *)(puVar5 + -8) = *(undefined4 *)PTR_stderr_00016fc8;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135e7;\n          fprintf(*(FILE **)(puVar5 + -8),*(char **)(puVar5 + -4));\n          *(undefined4 *)(puVar5 + -8) = 1;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135f3;\n          xexit();\n        } while( true );\n      }\n      __stream = fopen64(pcVar4,"r");\n      if (__stream == (FILE *)0x0) goto LAB_000133b8;\n      iVar2 = fseek(__stream,0,2);\n      if (((iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1)) {\n        local_94 = local_98;\n        local_98 = (byte *)xmalloc(local_98 + 1);\n        pbVar3 = (byte *)fread(local_98,1,(size_t)local_94,__stream);\n        if ((local_94 == pbVar3) ||\n           (local_94 = pbVar3, iVar2 = ferror(__stream), pbVar3 = local_94, iVar2 == 0)) {\n          local_98[(int)pbVar3] = 0;\n          if (*local_98 == 0) {\nLAB_0001340c:\n            local_88 = (int *)xmalloc(4);\n            *local_88 = 0;\n            local_94 = (byte *)*param_2;\n            if ((byte *)local_80 == local_94) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              iVar2 = 0;\n              *param_2 = (int)local_94;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n          }\n          else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar3 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar3 = pbVar3 + 1;\n              if (*pbVar3 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar3 * 2];\n            }\n            local_8c = (int *)FUN_00012e80(local_98);\n            local_94 = (byte *)*param_2;\n            local_90 = *local_8c;\n            if (local_94 == (byte *)local_80) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              *param_2 = (int)local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == 0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = iVar2 * 4;\n            } while (local_8c[iVar2] != 0);\n            local_8c = (int *)((iVar8 + iVar2) * 4);\n          }\n          local_84 = local_88;\n          local_88 = (int *)iVar2;\n          free(*(void **)((int)local_94 + (int)local_a8));\n          iVar2 = xrealloc(*param_2,((int)local_88 + 1 + *param_1) * 4);\n          *param_2 = iVar2;\n          local_94 = (byte *)*param_1;\n          memmove((void *)(iVar2 + (int)local_8c),(void *)(iVar2 + 4 + (int)local_a8),\n                  ((int)local_94 - iVar8) * 4);\n          __dest = (void *)((int)local_a8 + *param_2);\n          local_a8 = local_84;\n          memcpy(__dest,local_84,local_90);\n          *param_1 = (int)local_88 + -1 + *param_1;\n          free(local_a8);\n          free(local_98);\n          iVar8 = iVar7;\n        }\n      }\n      iVar7 = iVar8;\n      iVar8 = iVar7 + 1;\n      fclose(__stream);\n      iVar2 = *param_1;\n      if (iVar2 <= iVar8) {\n        return;\n      }\n    }" { (expression_statement "local_a8 = (int *)(iVar8 * 4);" (assignment_expression "local_a8 = (int *)(iVar8 * 4)" identifier = (cast_expression "(int *)(iVar8 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 * 4)" ( (binary_expression "iVar8 * 4" identifier * number_literal) )))) ;) (expression_statement "pcVar4 = *(char **)(*param_2 + iVar8 * 4);" (assignment_expression "pcVar4 = *(char **)(*param_2 + iVar8 * 4)" identifier = (pointer_expression "*(char **)(*param_2 + iVar8 * 4)" * (cast_expression "(char **)(*param_2 + iVar8 * 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + iVar8 * 4)" ( (binary_expression "*param_2 + iVar8 * 4" (pointer_expression "*param_2" * identifier) + (binary_expression "iVar8 * 4" identifier * number_literal)) ))))) ;) (if_statement "if (*pcVar4 != '@') break;" if (parenthesized_expression "(*pcVar4 != '@')" ( (binary_expression "*pcVar4 != '@'" (pointer_expression "*pcVar4" * identifier) != (char_literal "'@'" ' character ')) )) (break_statement "break;" break ;)) (expression_statement "local_a4 = local_a4 + -1;" (assignment_expression "local_a4 = local_a4 + -1" identifier = (binary_expression "local_a4 + -1" identifier + number_literal)) ;) (if_statement "if (local_a4 == 0) {\n        puVar5 = &stack0xffffff4c;\n        pcVar4 = "%s: error: too many @-files encountered\n";\n        goto LAB_000135d9;\n      }" if (parenthesized_expression "(local_a4 == 0)" ( (binary_expression "local_a4 == 0" identifier == number_literal) )) (compound_statement "{\n        puVar5 = &stack0xffffff4c;\n        pcVar4 = "%s: error: too many @-files encountered\n";\n        goto LAB_000135d9;\n      }" { (expression_statement "puVar5 = &stack0xffffff4c;" (assignment_expression "puVar5 = &stack0xffffff4c" identifier = (pointer_expression "&stack0xffffff4c" & identifier)) ;) (expression_statement "pcVar4 = "%s: error: too many @-files encountered\n";" (assignment_expression "pcVar4 = "%s: error: too many @-files encountered\n"" identifier = (string_literal ""%s: error: too many @-files encountered\n"" " string_content escape_sequence ")) ;) (goto_statement "goto LAB_000135d9;" goto statement_identifier ;) })) (expression_statement "pcVar4 = pcVar4 + 1;" (assignment_expression "pcVar4 = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) ;) (expression_statement "iVar2 = __xstat64(3,pcVar4,local_a0);" (assignment_expression "iVar2 = __xstat64(3,pcVar4,local_a0)" identifier = (call_expression "__xstat64(3,pcVar4,local_a0)" identifier (argument_list "(3,pcVar4,local_a0)" ( number_literal , identifier , identifier )))) ;) (if_statement "if (iVar2 < 0) {\nLAB_000133b8:\n        iVar2 = *param_1;\n        break;\n      }" if (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) (compound_statement "{\nLAB_000133b8:\n        iVar2 = *param_1;\n        break;\n      }" { (labeled_statement "LAB_000133b8:\n        iVar2 = *param_1;" statement_identifier : (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;)) (break_statement "break;" break ;) })) (if_statement "if ((local_7c.st_mode & 0xf000) == 0x4000) {\n        do {\n          puVar5 = puVar6 + -8;\n          *(undefined4 *)(puVar6 + -8) = *(undefined4 *)**(undefined4 **)(puVar6 + 0xb4);\n          pcVar4 = "%s: error: @-file refers to a directory\n";\nLAB_000135d9:\n          *(char **)(puVar5 + -4) = pcVar4;\n          puVar6 = puVar5 + -8;\n          *(undefined4 *)(puVar5 + -8) = *(undefined4 *)PTR_stderr_00016fc8;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135e7;\n          fprintf(*(FILE **)(puVar5 + -8),*(char **)(puVar5 + -4));\n          *(undefined4 *)(puVar5 + -8) = 1;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135f3;\n          xexit();\n        } while( true );\n      }" if (parenthesized_expression "((local_7c.st_mode & 0xf000) == 0x4000)" ( (binary_expression "(local_7c.st_mode & 0xf000) == 0x4000" (parenthesized_expression "(local_7c.st_mode & 0xf000)" ( (binary_expression "local_7c.st_mode & 0xf000" (field_expression "local_7c.st_mode" identifier . field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n        do {\n          puVar5 = puVar6 + -8;\n          *(undefined4 *)(puVar6 + -8) = *(undefined4 *)**(undefined4 **)(puVar6 + 0xb4);\n          pcVar4 = "%s: error: @-file refers to a directory\n";\nLAB_000135d9:\n          *(char **)(puVar5 + -4) = pcVar4;\n          puVar6 = puVar5 + -8;\n          *(undefined4 *)(puVar5 + -8) = *(undefined4 *)PTR_stderr_00016fc8;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135e7;\n          fprintf(*(FILE **)(puVar5 + -8),*(char **)(puVar5 + -4));\n          *(undefined4 *)(puVar5 + -8) = 1;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135f3;\n          xexit();\n        } while( true );\n      }" { (do_statement "do {\n          puVar5 = puVar6 + -8;\n          *(undefined4 *)(puVar6 + -8) = *(undefined4 *)**(undefined4 **)(puVar6 + 0xb4);\n          pcVar4 = "%s: error: @-file refers to a directory\n";\nLAB_000135d9:\n          *(char **)(puVar5 + -4) = pcVar4;\n          puVar6 = puVar5 + -8;\n          *(undefined4 *)(puVar5 + -8) = *(undefined4 *)PTR_stderr_00016fc8;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135e7;\n          fprintf(*(FILE **)(puVar5 + -8),*(char **)(puVar5 + -4));\n          *(undefined4 *)(puVar5 + -8) = 1;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135f3;\n          xexit();\n        } while( true );" do (compound_statement "{\n          puVar5 = puVar6 + -8;\n          *(undefined4 *)(puVar6 + -8) = *(undefined4 *)**(undefined4 **)(puVar6 + 0xb4);\n          pcVar4 = "%s: error: @-file refers to a directory\n";\nLAB_000135d9:\n          *(char **)(puVar5 + -4) = pcVar4;\n          puVar6 = puVar5 + -8;\n          *(undefined4 *)(puVar5 + -8) = *(undefined4 *)PTR_stderr_00016fc8;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135e7;\n          fprintf(*(FILE **)(puVar5 + -8),*(char **)(puVar5 + -4));\n          *(undefined4 *)(puVar5 + -8) = 1;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135f3;\n          xexit();\n        }" { (expression_statement "puVar5 = puVar6 + -8;" (assignment_expression "puVar5 = puVar6 + -8" identifier = (binary_expression "puVar6 + -8" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(puVar6 + -8) = *(undefined4 *)**(undefined4 **)(puVar6 + 0xb4);" (assignment_expression "*(undefined4 *)(puVar6 + -8) = *(undefined4 *)**(undefined4 **)(puVar6 + 0xb4)" (pointer_expression "*(undefined4 *)(puVar6 + -8)" * (cast_expression "(undefined4 *)(puVar6 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + -8)" ( (binary_expression "puVar6 + -8" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)**(undefined4 **)(puVar6 + 0xb4)" * (cast_expression "(undefined4 *)**(undefined4 **)(puVar6 + 0xb4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(undefined4 **)(puVar6 + 0xb4)" * (pointer_expression "*(undefined4 **)(puVar6 + 0xb4)" * (cast_expression "(undefined4 **)(puVar6 + 0xb4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + 0xb4)" ( (binary_expression "puVar6 + 0xb4" identifier + number_literal) )))))))) ;) (expression_statement "pcVar4 = "%s: error: @-file refers to a directory\n";" (assignment_expression "pcVar4 = "%s: error: @-file refers to a directory\n"" identifier = (string_literal ""%s: error: @-file refers to a directory\n"" " string_content escape_sequence ")) ;) (labeled_statement "LAB_000135d9:\n          *(char **)(puVar5 + -4) = pcVar4;" statement_identifier : (expression_statement "*(char **)(puVar5 + -4) = pcVar4;" (assignment_expression "*(char **)(puVar5 + -4) = pcVar4" (pointer_expression "*(char **)(puVar5 + -4)" * (cast_expression "(char **)(puVar5 + -4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + -4)" ( (binary_expression "puVar5 + -4" identifier + number_literal) )))) = identifier) ;)) (expression_statement "puVar6 = puVar5 + -8;" (assignment_expression "puVar6 = puVar5 + -8" identifier = (binary_expression "puVar5 + -8" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(puVar5 + -8) = *(undefined4 *)PTR_stderr_00016fc8;" (assignment_expression "*(undefined4 *)(puVar5 + -8) = *(undefined4 *)PTR_stderr_00016fc8" (pointer_expression "*(undefined4 *)(puVar5 + -8)" * (cast_expression "(undefined4 *)(puVar5 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -8)" ( (binary_expression "puVar5 + -8" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)PTR_stderr_00016fc8" * (cast_expression "(undefined4 *)PTR_stderr_00016fc8" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(undefined4 *)(puVar5 + -0xc) = 0x135e7;" (assignment_expression "*(undefined4 *)(puVar5 + -0xc) = 0x135e7" (pointer_expression "*(undefined4 *)(puVar5 + -0xc)" * (cast_expression "(undefined4 *)(puVar5 + -0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -0xc)" ( (binary_expression "puVar5 + -0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "fprintf(*(FILE **)(puVar5 + -8),*(char **)(puVar5 + -4));" (call_expression "fprintf(*(FILE **)(puVar5 + -8),*(char **)(puVar5 + -4))" identifier (argument_list "(*(FILE **)(puVar5 + -8),*(char **)(puVar5 + -4))" ( (pointer_expression "*(FILE **)(puVar5 + -8)" * (cast_expression "(FILE **)(puVar5 + -8)" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + -8)" ( (binary_expression "puVar5 + -8" identifier + number_literal) )))) , (pointer_expression "*(char **)(puVar5 + -4)" * (cast_expression "(char **)(puVar5 + -4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + -4)" ( (binary_expression "puVar5 + -4" identifier + number_literal) )))) ))) ;) (expression_statement "*(undefined4 *)(puVar5 + -8) = 1;" (assignment_expression "*(undefined4 *)(puVar5 + -8) = 1" (pointer_expression "*(undefined4 *)(puVar5 + -8)" * (cast_expression "(undefined4 *)(puVar5 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -8)" ( (binary_expression "puVar5 + -8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar5 + -0xc) = 0x135f3;" (assignment_expression "*(undefined4 *)(puVar5 + -0xc) = 0x135f3" (pointer_expression "*(undefined4 *)(puVar5 + -0xc)" * (cast_expression "(undefined4 *)(puVar5 + -0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -0xc)" ( (binary_expression "puVar5 + -0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "xexit();" (call_expression "xexit()" identifier (argument_list "()" ( ))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "__stream = fopen64(pcVar4,"r");" (assignment_expression "__stream = fopen64(pcVar4,"r")" identifier = (call_expression "fopen64(pcVar4,"r")" identifier (argument_list "(pcVar4,"r")" ( identifier , (string_literal ""r"" " string_content ") )))) ;) (if_statement "if (__stream == (FILE *)0x0) goto LAB_000133b8;" if (parenthesized_expression "(__stream == (FILE *)0x0)" ( (binary_expression "__stream == (FILE *)0x0" identifier == (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000133b8;" goto statement_identifier ;)) (expression_statement "iVar2 = fseek(__stream,0,2);" (assignment_expression "iVar2 = fseek(__stream,0,2)" identifier = (call_expression "fseek(__stream,0,2)" identifier (argument_list "(__stream,0,2)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if (((iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1)) {\n        local_94 = local_98;\n        local_98 = (byte *)xmalloc(local_98 + 1);\n        pbVar3 = (byte *)fread(local_98,1,(size_t)local_94,__stream);\n        if ((local_94 == pbVar3) ||\n           (local_94 = pbVar3, iVar2 = ferror(__stream), pbVar3 = local_94, iVar2 == 0)) {\n          local_98[(int)pbVar3] = 0;\n          if (*local_98 == 0) {\nLAB_0001340c:\n            local_88 = (int *)xmalloc(4);\n            *local_88 = 0;\n            local_94 = (byte *)*param_2;\n            if ((byte *)local_80 == local_94) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              iVar2 = 0;\n              *param_2 = (int)local_94;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n          }\n          else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar3 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar3 = pbVar3 + 1;\n              if (*pbVar3 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar3 * 2];\n            }\n            local_8c = (int *)FUN_00012e80(local_98);\n            local_94 = (byte *)*param_2;\n            local_90 = *local_8c;\n            if (local_94 == (byte *)local_80) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              *param_2 = (int)local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == 0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = iVar2 * 4;\n            } while (local_8c[iVar2] != 0);\n            local_8c = (int *)((iVar8 + iVar2) * 4);\n          }\n          local_84 = local_88;\n          local_88 = (int *)iVar2;\n          free(*(void **)((int)local_94 + (int)local_a8));\n          iVar2 = xrealloc(*param_2,((int)local_88 + 1 + *param_1) * 4);\n          *param_2 = iVar2;\n          local_94 = (byte *)*param_1;\n          memmove((void *)(iVar2 + (int)local_8c),(void *)(iVar2 + 4 + (int)local_a8),\n                  ((int)local_94 - iVar8) * 4);\n          __dest = (void *)((int)local_a8 + *param_2);\n          local_a8 = local_84;\n          memcpy(__dest,local_84,local_90);\n          *param_1 = (int)local_88 + -1 + *param_1;\n          free(local_a8);\n          free(local_98);\n          iVar8 = iVar7;\n        }\n      }" if (parenthesized_expression "(((iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1))" ( (binary_expression "((iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1)" (parenthesized_expression "((iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff))" ( (binary_expression "(iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)" (parenthesized_expression "(iVar2 != -1)" ( (binary_expression "iVar2 != -1" identifier != number_literal) )) && (parenthesized_expression "(local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)" ( (comma_expression "local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff" (assignment_expression "local_98 = (byte *)ftell(__stream)" identifier = (cast_expression "(byte *)ftell(__stream)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "ftell(__stream)" identifier (argument_list "(__stream)" ( identifier ))))) , (binary_expression "local_98 != (byte *)0xffffffff" identifier != (cast_expression "(byte *)0xffffffff" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) && (parenthesized_expression "(iVar2 = fseek(__stream,0,0), iVar2 != -1)" ( (comma_expression "iVar2 = fseek(__stream,0,0), iVar2 != -1" (assignment_expression "iVar2 = fseek(__stream,0,0)" identifier = (call_expression "fseek(__stream,0,0)" identifier (argument_list "(__stream,0,0)" ( identifier , number_literal , number_literal )))) , (binary_expression "iVar2 != -1" identifier != number_literal)) ))) )) (compound_statement "{\n        local_94 = local_98;\n        local_98 = (byte *)xmalloc(local_98 + 1);\n        pbVar3 = (byte *)fread(local_98,1,(size_t)local_94,__stream);\n        if ((local_94 == pbVar3) ||\n           (local_94 = pbVar3, iVar2 = ferror(__stream), pbVar3 = local_94, iVar2 == 0)) {\n          local_98[(int)pbVar3] = 0;\n          if (*local_98 == 0) {\nLAB_0001340c:\n            local_88 = (int *)xmalloc(4);\n            *local_88 = 0;\n            local_94 = (byte *)*param_2;\n            if ((byte *)local_80 == local_94) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              iVar2 = 0;\n              *param_2 = (int)local_94;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n          }\n          else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar3 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar3 = pbVar3 + 1;\n              if (*pbVar3 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar3 * 2];\n            }\n            local_8c = (int *)FUN_00012e80(local_98);\n            local_94 = (byte *)*param_2;\n            local_90 = *local_8c;\n            if (local_94 == (byte *)local_80) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              *param_2 = (int)local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == 0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = iVar2 * 4;\n            } while (local_8c[iVar2] != 0);\n            local_8c = (int *)((iVar8 + iVar2) * 4);\n          }\n          local_84 = local_88;\n          local_88 = (int *)iVar2;\n          free(*(void **)((int)local_94 + (int)local_a8));\n          iVar2 = xrealloc(*param_2,((int)local_88 + 1 + *param_1) * 4);\n          *param_2 = iVar2;\n          local_94 = (byte *)*param_1;\n          memmove((void *)(iVar2 + (int)local_8c),(void *)(iVar2 + 4 + (int)local_a8),\n                  ((int)local_94 - iVar8) * 4);\n          __dest = (void *)((int)local_a8 + *param_2);\n          local_a8 = local_84;\n          memcpy(__dest,local_84,local_90);\n          *param_1 = (int)local_88 + -1 + *param_1;\n          free(local_a8);\n          free(local_98);\n          iVar8 = iVar7;\n        }\n      }" { (expression_statement "local_94 = local_98;" (assignment_expression "local_94 = local_98" identifier = identifier) ;) (expression_statement "local_98 = (byte *)xmalloc(local_98 + 1);" (assignment_expression "local_98 = (byte *)xmalloc(local_98 + 1)" identifier = (cast_expression "(byte *)xmalloc(local_98 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(local_98 + 1)" identifier (argument_list "(local_98 + 1)" ( (binary_expression "local_98 + 1" identifier + number_literal) ))))) ;) (expression_statement "pbVar3 = (byte *)fread(local_98,1,(size_t)local_94,__stream);" (assignment_expression "pbVar3 = (byte *)fread(local_98,1,(size_t)local_94,__stream)" identifier = (cast_expression "(byte *)fread(local_98,1,(size_t)local_94,__stream)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "fread(local_98,1,(size_t)local_94,__stream)" identifier (argument_list "(local_98,1,(size_t)local_94,__stream)" ( identifier , number_literal , (cast_expression "(size_t)local_94" ( (type_descriptor "size_t" primitive_type) ) identifier) , identifier ))))) ;) (if_statement "if ((local_94 == pbVar3) ||\n           (local_94 = pbVar3, iVar2 = ferror(__stream), pbVar3 = local_94, iVar2 == 0)) {\n          local_98[(int)pbVar3] = 0;\n          if (*local_98 == 0) {\nLAB_0001340c:\n            local_88 = (int *)xmalloc(4);\n            *local_88 = 0;\n            local_94 = (byte *)*param_2;\n            if ((byte *)local_80 == local_94) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              iVar2 = 0;\n              *param_2 = (int)local_94;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n          }\n          else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar3 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar3 = pbVar3 + 1;\n              if (*pbVar3 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar3 * 2];\n            }\n            local_8c = (int *)FUN_00012e80(local_98);\n            local_94 = (byte *)*param_2;\n            local_90 = *local_8c;\n            if (local_94 == (byte *)local_80) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              *param_2 = (int)local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == 0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = iVar2 * 4;\n            } while (local_8c[iVar2] != 0);\n            local_8c = (int *)((iVar8 + iVar2) * 4);\n          }\n          local_84 = local_88;\n          local_88 = (int *)iVar2;\n          free(*(void **)((int)local_94 + (int)local_a8));\n          iVar2 = xrealloc(*param_2,((int)local_88 + 1 + *param_1) * 4);\n          *param_2 = iVar2;\n          local_94 = (byte *)*param_1;\n          memmove((void *)(iVar2 + (int)local_8c),(void *)(iVar2 + 4 + (int)local_a8),\n                  ((int)local_94 - iVar8) * 4);\n          __dest = (void *)((int)local_a8 + *param_2);\n          local_a8 = local_84;\n          memcpy(__dest,local_84,local_90);\n          *param_1 = (int)local_88 + -1 + *param_1;\n          free(local_a8);\n          free(local_98);\n          iVar8 = iVar7;\n        }" if (parenthesized_expression "((local_94 == pbVar3) ||\n           (local_94 = pbVar3, iVar2 = ferror(__stream), pbVar3 = local_94, iVar2 == 0))" ( (binary_expression "(local_94 == pbVar3) ||\n           (local_94 = pbVar3, iVar2 = ferror(__stream), pbVar3 = local_94, iVar2 == 0)" (parenthesized_expression "(local_94 == pbVar3)" ( (binary_expression "local_94 == pbVar3" identifier == identifier) )) || (parenthesized_expression "(local_94 = pbVar3, iVar2 = ferror(__stream), pbVar3 = local_94, iVar2 == 0)" ( (comma_expression "local_94 = pbVar3, iVar2 = ferror(__stream), pbVar3 = local_94, iVar2 == 0" (assignment_expression "local_94 = pbVar3" identifier = identifier) , (comma_expression "iVar2 = ferror(__stream), pbVar3 = local_94, iVar2 == 0" (assignment_expression "iVar2 = ferror(__stream)" identifier = (call_expression "ferror(__stream)" identifier (argument_list "(__stream)" ( identifier )))) , (comma_expression "pbVar3 = local_94, iVar2 == 0" (assignment_expression "pbVar3 = local_94" identifier = identifier) , (binary_expression "iVar2 == 0" identifier == number_literal)))) ))) )) (compound_statement "{\n          local_98[(int)pbVar3] = 0;\n          if (*local_98 == 0) {\nLAB_0001340c:\n            local_88 = (int *)xmalloc(4);\n            *local_88 = 0;\n            local_94 = (byte *)*param_2;\n            if ((byte *)local_80 == local_94) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              iVar2 = 0;\n              *param_2 = (int)local_94;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n          }\n          else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar3 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar3 = pbVar3 + 1;\n              if (*pbVar3 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar3 * 2];\n            }\n            local_8c = (int *)FUN_00012e80(local_98);\n            local_94 = (byte *)*param_2;\n            local_90 = *local_8c;\n            if (local_94 == (byte *)local_80) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              *param_2 = (int)local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == 0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = iVar2 * 4;\n            } while (local_8c[iVar2] != 0);\n            local_8c = (int *)((iVar8 + iVar2) * 4);\n          }\n          local_84 = local_88;\n          local_88 = (int *)iVar2;\n          free(*(void **)((int)local_94 + (int)local_a8));\n          iVar2 = xrealloc(*param_2,((int)local_88 + 1 + *param_1) * 4);\n          *param_2 = iVar2;\n          local_94 = (byte *)*param_1;\n          memmove((void *)(iVar2 + (int)local_8c),(void *)(iVar2 + 4 + (int)local_a8),\n                  ((int)local_94 - iVar8) * 4);\n          __dest = (void *)((int)local_a8 + *param_2);\n          local_a8 = local_84;\n          memcpy(__dest,local_84,local_90);\n          *param_1 = (int)local_88 + -1 + *param_1;\n          free(local_a8);\n          free(local_98);\n          iVar8 = iVar7;\n        }" { (expression_statement "local_98[(int)pbVar3] = 0;" (assignment_expression "local_98[(int)pbVar3] = 0" (subscript_expression "local_98[(int)pbVar3]" identifier [ (cast_expression "(int)pbVar3" ( (type_descriptor "int" primitive_type) ) identifier) ]) = number_literal) ;) (if_statement "if (*local_98 == 0) {\nLAB_0001340c:\n            local_88 = (int *)xmalloc(4);\n            *local_88 = 0;\n            local_94 = (byte *)*param_2;\n            if ((byte *)local_80 == local_94) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              iVar2 = 0;\n              *param_2 = (int)local_94;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n          }\n          else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar3 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar3 = pbVar3 + 1;\n              if (*pbVar3 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar3 * 2];\n            }\n            local_8c = (int *)FUN_00012e80(local_98);\n            local_94 = (byte *)*param_2;\n            local_90 = *local_8c;\n            if (local_94 == (byte *)local_80) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              *param_2 = (int)local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == 0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = iVar2 * 4;\n            } while (local_8c[iVar2] != 0);\n            local_8c = (int *)((iVar8 + iVar2) * 4);\n          }" if (parenthesized_expression "(*local_98 == 0)" ( (binary_expression "*local_98 == 0" (pointer_expression "*local_98" * identifier) == number_literal) )) (compound_statement "{\nLAB_0001340c:\n            local_88 = (int *)xmalloc(4);\n            *local_88 = 0;\n            local_94 = (byte *)*param_2;\n            if ((byte *)local_80 == local_94) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              iVar2 = 0;\n              *param_2 = (int)local_94;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n          }" { (labeled_statement "LAB_0001340c:\n            local_88 = (int *)xmalloc(4);" statement_identifier : (expression_statement "local_88 = (int *)xmalloc(4);" (assignment_expression "local_88 = (int *)xmalloc(4)" identifier = (cast_expression "(int *)xmalloc(4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(4)" identifier (argument_list "(4)" ( number_literal ))))) ;)) (expression_statement "*local_88 = 0;" (assignment_expression "*local_88 = 0" (pointer_expression "*local_88" * identifier) = number_literal) ;) (expression_statement "local_94 = (byte *)*param_2;" (assignment_expression "local_94 = (byte *)*param_2" identifier = (cast_expression "(byte *)*param_2" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (if_statement "if ((byte *)local_80 == local_94) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              iVar2 = 0;\n              *param_2 = (int)local_94;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = 0;\n              local_8c = local_a8;\n            }" if (parenthesized_expression "((byte *)local_80 == local_94)" ( (binary_expression "(byte *)local_80 == local_94" (cast_expression "(byte *)local_80" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) == identifier) )) (compound_statement "{\n              local_94 = (byte *)FUN_00012d90(local_80);\n              iVar2 = 0;\n              *param_2 = (int)local_94;\n              local_90 = 0;\n              local_8c = local_a8;\n            }" { (expression_statement "local_94 = (byte *)FUN_00012d90(local_80);" (assignment_expression "local_94 = (byte *)FUN_00012d90(local_80)" identifier = (cast_expression "(byte *)FUN_00012d90(local_80)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00012d90(local_80)" identifier (argument_list "(local_80)" ( identifier ))))) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "*param_2 = (int)local_94;" (assignment_expression "*param_2 = (int)local_94" (pointer_expression "*param_2" * identifier) = (cast_expression "(int)local_94" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "local_90 = 0;" (assignment_expression "local_90 = 0" identifier = number_literal) ;) (expression_statement "local_8c = local_a8;" (assignment_expression "local_8c = local_a8" identifier = identifier) ;) }) (else_clause "else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = 0;\n              local_8c = local_a8;\n            }" else (compound_statement "{\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = 0;\n              local_8c = local_a8;\n            }" { (labeled_statement "LAB_000135b7:\n              iVar2 = 0;" statement_identifier : (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;)) (expression_statement "local_90 = 0;" (assignment_expression "local_90 = 0" identifier = number_literal) ;) (expression_statement "local_8c = local_a8;" (assignment_expression "local_8c = local_a8" identifier = identifier) ;) }))) }) (else_clause "else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar3 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar3 = pbVar3 + 1;\n              if (*pbVar3 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar3 * 2];\n            }\n            local_8c = (int *)FUN_00012e80(local_98);\n            local_94 = (byte *)*param_2;\n            local_90 = *local_8c;\n            if (local_94 == (byte *)local_80) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              *param_2 = (int)local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == 0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = iVar2 * 4;\n            } while (local_8c[iVar2] != 0);\n            local_8c = (int *)((iVar8 + iVar2) * 4);\n          }" else (compound_statement "{\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar3 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar3 = pbVar3 + 1;\n              if (*pbVar3 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar3 * 2];\n            }\n            local_8c = (int *)FUN_00012e80(local_98);\n            local_94 = (byte *)*param_2;\n            local_90 = *local_8c;\n            if (local_94 == (byte *)local_80) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              *param_2 = (int)local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == 0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = iVar2 * 4;\n            } while (local_8c[iVar2] != 0);\n            local_8c = (int *)((iVar8 + iVar2) * 4);\n          }" { (expression_statement "bVar1 = local_9c[(uint)*local_98 * 2];" (assignment_expression "bVar1 = local_9c[(uint)*local_98 * 2]" identifier = (subscript_expression "local_9c[(uint)*local_98 * 2]" identifier [ (binary_expression "(uint)*local_98 * 2" (binary_expression "(uint)*local_98" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal) ])) ;) (expression_statement "pbVar3 = local_98;" (assignment_expression "pbVar3 = local_98" identifier = identifier) ;) (while_statement "while ((bVar1 & 0x40) != 0) {\n              pbVar3 = pbVar3 + 1;\n              if (*pbVar3 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar3 * 2];\n            }" while (parenthesized_expression "((bVar1 & 0x40) != 0)" ( (binary_expression "(bVar1 & 0x40) != 0" (parenthesized_expression "(bVar1 & 0x40)" ( (binary_expression "bVar1 & 0x40" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n              pbVar3 = pbVar3 + 1;\n              if (*pbVar3 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar3 * 2];\n            }" { (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" identifier = (binary_expression "pbVar3 + 1" identifier + number_literal)) ;) (if_statement "if (*pbVar3 == 0) goto LAB_0001340c;" if (parenthesized_expression "(*pbVar3 == 0)" ( (binary_expression "*pbVar3 == 0" (pointer_expression "*pbVar3" * identifier) == number_literal) )) (goto_statement "goto LAB_0001340c;" goto statement_identifier ;)) (expression_statement "bVar1 = local_9c[(uint)*pbVar3 * 2];" (assignment_expression "bVar1 = local_9c[(uint)*pbVar3 * 2]" identifier = (subscript_expression "local_9c[(uint)*pbVar3 * 2]" identifier [ (binary_expression "(uint)*pbVar3 * 2" (binary_expression "(uint)*pbVar3" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal) ])) ;) })) (expression_statement "local_8c = (int *)FUN_00012e80(local_98);" (assignment_expression "local_8c = (int *)FUN_00012e80(local_98)" identifier = (cast_expression "(int *)FUN_00012e80(local_98)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00012e80(local_98)" identifier (argument_list "(local_98)" ( identifier ))))) ;) (expression_statement "local_94 = (byte *)*param_2;" (assignment_expression "local_94 = (byte *)*param_2" identifier = (cast_expression "(byte *)*param_2" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (expression_statement "local_90 = *local_8c;" (assignment_expression "local_90 = *local_8c" identifier = (pointer_expression "*local_8c" * identifier)) ;) (if_statement "if (local_94 == (byte *)local_80) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              *param_2 = (int)local_94;\n            }" if (parenthesized_expression "(local_94 == (byte *)local_80)" ( (binary_expression "local_94 == (byte *)local_80" identifier == (cast_expression "(byte *)local_80" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n              local_94 = (byte *)FUN_00012d90(local_80);\n              *param_2 = (int)local_94;\n            }" { (expression_statement "local_94 = (byte *)FUN_00012d90(local_80);" (assignment_expression "local_94 = (byte *)FUN_00012d90(local_80)" identifier = (cast_expression "(byte *)FUN_00012d90(local_80)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00012d90(local_80)" identifier (argument_list "(local_80)" ( identifier ))))) ;) (expression_statement "*param_2 = (int)local_94;" (assignment_expression "*param_2 = (int)local_94" (pointer_expression "*param_2" * identifier) = (cast_expression "(int)local_94" ( (type_descriptor "int" primitive_type) ) identifier)) ;) })) (expression_statement "local_88 = local_8c;" (assignment_expression "local_88 = local_8c" identifier = identifier) ;) (if_statement "if (local_90 == 0) goto LAB_000135b7;" if (parenthesized_expression "(local_90 == 0)" ( (binary_expression "local_90 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000135b7;" goto statement_identifier ;)) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n              iVar2 = iVar2 + 1;\n              local_90 = iVar2 * 4;\n            } while (local_8c[iVar2] != 0);" do (compound_statement "{\n              iVar2 = iVar2 + 1;\n              local_90 = iVar2 * 4;\n            }" { (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "local_90 = iVar2 * 4;" (assignment_expression "local_90 = iVar2 * 4" identifier = (binary_expression "iVar2 * 4" identifier * number_literal)) ;) }) while (parenthesized_expression "(local_8c[iVar2] != 0)" ( (binary_expression "local_8c[iVar2] != 0" (subscript_expression "local_8c[iVar2]" identifier [ identifier ]) != number_literal) )) ;) (expression_statement "local_8c = (int *)((iVar8 + iVar2) * 4);" (assignment_expression "local_8c = (int *)((iVar8 + iVar2) * 4)" identifier = (cast_expression "(int *)((iVar8 + iVar2) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((iVar8 + iVar2) * 4)" ( (binary_expression "(iVar8 + iVar2) * 4" (parenthesized_expression "(iVar8 + iVar2)" ( (binary_expression "iVar8 + iVar2" identifier + identifier) )) * number_literal) )))) ;) }))) (expression_statement "local_84 = local_88;" (assignment_expression "local_84 = local_88" identifier = identifier) ;) (expression_statement "local_88 = (int *)iVar2;" (assignment_expression "local_88 = (int *)iVar2" identifier = (cast_expression "(int *)iVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "free(*(void **)((int)local_94 + (int)local_a8));" (call_expression "free(*(void **)((int)local_94 + (int)local_a8))" identifier (argument_list "(*(void **)((int)local_94 + (int)local_a8))" ( (pointer_expression "*(void **)((int)local_94 + (int)local_a8)" * (cast_expression "(void **)((int)local_94 + (int)local_a8)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)local_94 + (int)local_a8)" ( (binary_expression "(int)local_94 + (int)local_a8" (cast_expression "(int)local_94" ( (type_descriptor "int" primitive_type) ) identifier) + (cast_expression "(int)local_a8" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ))) ;) (expression_statement "iVar2 = xrealloc(*param_2,((int)local_88 + 1 + *param_1) * 4);" (assignment_expression "iVar2 = xrealloc(*param_2,((int)local_88 + 1 + *param_1) * 4)" identifier = (call_expression "xrealloc(*param_2,((int)local_88 + 1 + *param_1) * 4)" identifier (argument_list "(*param_2,((int)local_88 + 1 + *param_1) * 4)" ( (pointer_expression "*param_2" * identifier) , (binary_expression "((int)local_88 + 1 + *param_1) * 4" (parenthesized_expression "((int)local_88 + 1 + *param_1)" ( (binary_expression "(int)local_88 + 1 + *param_1" (binary_expression "(int)local_88 + 1" (cast_expression "(int)local_88" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) + (pointer_expression "*param_1" * identifier)) )) * number_literal) )))) ;) (expression_statement "*param_2 = iVar2;" (assignment_expression "*param_2 = iVar2" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "local_94 = (byte *)*param_1;" (assignment_expression "local_94 = (byte *)*param_1" identifier = (cast_expression "(byte *)*param_1" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "memmove((void *)(iVar2 + (int)local_8c),(void *)(iVar2 + 4 + (int)local_a8),\n                  ((int)local_94 - iVar8) * 4);" (call_expression "memmove((void *)(iVar2 + (int)local_8c),(void *)(iVar2 + 4 + (int)local_a8),\n                  ((int)local_94 - iVar8) * 4)" identifier (argument_list "((void *)(iVar2 + (int)local_8c),(void *)(iVar2 + 4 + (int)local_a8),\n                  ((int)local_94 - iVar8) * 4)" ( (cast_expression "(void *)(iVar2 + (int)local_8c)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + (int)local_8c)" ( (binary_expression "iVar2 + (int)local_8c" identifier + (cast_expression "(int)local_8c" ( (type_descriptor "int" primitive_type) ) identifier)) ))) , (cast_expression "(void *)(iVar2 + 4 + (int)local_a8)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4 + (int)local_a8)" ( (binary_expression "iVar2 + 4 + (int)local_a8" (binary_expression "iVar2 + 4" identifier + number_literal) + (cast_expression "(int)local_a8" ( (type_descriptor "int" primitive_type) ) identifier)) ))) , (binary_expression "((int)local_94 - iVar8) * 4" (parenthesized_expression "((int)local_94 - iVar8)" ( (binary_expression "(int)local_94 - iVar8" (cast_expression "(int)local_94" ( (type_descriptor "int" primitive_type) ) identifier) - identifier) )) * number_literal) ))) ;) (expression_statement "__dest = (void *)((int)local_a8 + *param_2);" (assignment_expression "__dest = (void *)((int)local_a8 + *param_2)" identifier = (cast_expression "(void *)((int)local_a8 + *param_2)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_a8 + *param_2)" ( (binary_expression "(int)local_a8 + *param_2" (cast_expression "(int)local_a8" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*param_2" * identifier)) )))) ;) (expression_statement "local_a8 = local_84;" (assignment_expression "local_a8 = local_84" identifier = identifier) ;) (expression_statement "memcpy(__dest,local_84,local_90);" (call_expression "memcpy(__dest,local_84,local_90)" identifier (argument_list "(__dest,local_84,local_90)" ( identifier , identifier , identifier ))) ;) (expression_statement "*param_1 = (int)local_88 + -1 + *param_1;" (assignment_expression "*param_1 = (int)local_88 + -1 + *param_1" (pointer_expression "*param_1" * identifier) = (binary_expression "(int)local_88 + -1 + *param_1" (binary_expression "(int)local_88 + -1" (cast_expression "(int)local_88" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) + (pointer_expression "*param_1" * identifier))) ;) (expression_statement "free(local_a8);" (call_expression "free(local_a8)" identifier (argument_list "(local_a8)" ( identifier ))) ;) (expression_statement "free(local_98);" (call_expression "free(local_98)" identifier (argument_list "(local_98)" ( identifier ))) ;) (expression_statement "iVar8 = iVar7;" (assignment_expression "iVar8 = iVar7" identifier = identifier) ;) })) })) (expression_statement "iVar7 = iVar8;" (assignment_expression "iVar7 = iVar8" identifier = identifier) ;) (expression_statement "iVar8 = iVar7 + 1;" (assignment_expression "iVar8 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (expression_statement "fclose(__stream);" (call_expression "fclose(__stream)" identifier (argument_list "(__stream)" ( identifier ))) ;) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (iVar2 <= iVar8) {\n        return;\n      }" if (parenthesized_expression "(iVar2 <= iVar8)" ( (binary_expression "iVar2 <= iVar8" identifier <= identifier) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (return_statement return ;) })) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT * LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + (binary_expression IDENT * LIT)) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' character ')) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content escape_sequence ")) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;)) (break_statement break ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (field_expression IDENT . field_identifier) & LIT) )) == LIT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))))) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content escape_sequence ")) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (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 + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) }) while (parenthesized_expression ( BOOL )) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT )))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , LIT , (cast_expression ( (type_descriptor TYPE) ) IDENT) , IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == IDENT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) , (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT == LIT)))) ))) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ (cast_expression ( (type_descriptor TYPE) ) IDENT) ]) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;)) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) * LIT) ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) * LIT) ])) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) }) while (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ IDENT ]) != LIT) )) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT + IDENT) )) * LIT) )))) ;) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) + (pointer_expression * IDENT)) )) * LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) , (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - IDENT) )) * LIT) ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (pointer_expression * IDENT)) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) + (pointer_expression * IDENT))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (return_statement return ;) })) })) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "void FUN_00013220(int *param_1,int *param_2)\n\n{\n  byte bVar1;\n  int iVar2;\n  FILE *__stream;\n  byte *pbVar3;\n  void *__dest;\n  char *pcVar4;\n  undefined1 *puVar5;\n  undefined1 *puVar6;\n  int iVar7;\n  int iVar8;\n  undefined1 auStack_ac [4];\n  int *local_a8;\n  int local_a4;\n  stat64 *local_a0;\n  undefined *local_9c;\n  byte *local_98;\n  byte *local_94;\n  size_t local_90;\n  int *local_8c;\n  int *local_88;\n  int *local_84;\n  int local_80;\n  stat64 local_7c;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1322b;\n  puVar6 = auStack_ac;\n  local_a4 = 2000;\n  local_80 = *param_2;\n  iVar2 = *param_1;\n  local_a0 = &local_7c;\n  local_9c = PTR__sch_istable_00016fd0;\n  iVar8 = 0;\n  do {\n    iVar7 = iVar8;\n    iVar8 = iVar7 + 1;\n    if (iVar2 <= iVar8) {\n      return;\n    }\n    while( true ) {\n      local_a8 = (int *)(iVar8 * 4);\n      pcVar4 = *(char **)(*param_2 + iVar8 * 4);\n      if (*pcVar4 != '@') break;\n      local_a4 = local_a4 + -1;\n      if (local_a4 == 0) {\n        puVar5 = &stack0xffffff4c;\n        pcVar4 = "%s: error: too many @-files encountered\n";\n        goto LAB_000135d9;\n      }\n      pcVar4 = pcVar4 + 1;\n      iVar2 = __xstat64(3,pcVar4,local_a0);\n      if (iVar2 < 0) {\nLAB_000133b8:\n        iVar2 = *param_1;\n        break;\n      }\n      if ((local_7c.st_mode & 0xf000) == 0x4000) {\n        do {\n          puVar5 = puVar6 + -8;\n          *(undefined4 *)(puVar6 + -8) = *(undefined4 *)**(undefined4 **)(puVar6 + 0xb4);\n          pcVar4 = "%s: error: @-file refers to a directory\n";\nLAB_000135d9:\n          *(char **)(puVar5 + -4) = pcVar4;\n          puVar6 = puVar5 + -8;\n          *(undefined4 *)(puVar5 + -8) = *(undefined4 *)PTR_stderr_00016fc8;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135e7;\n          fprintf(*(FILE **)(puVar5 + -8),*(char **)(puVar5 + -4));\n          *(undefined4 *)(puVar5 + -8) = 1;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135f3;\n          xexit();\n        } while( true );\n      }\n      __stream = fopen64(pcVar4,"r");\n      if (__stream == (FILE *)0x0) goto LAB_000133b8;\n      iVar2 = fseek(__stream,0,2);\n      if (((iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1)) {\n        local_94 = local_98;\n        local_98 = (byte *)xmalloc(local_98 + 1);\n        pbVar3 = (byte *)fread(local_98,1,(size_t)local_94,__stream);\n        if ((local_94 == pbVar3) ||\n           (local_94 = pbVar3, iVar2 = ferror(__stream), pbVar3 = local_94, iVar2 == 0)) {\n          local_98[(int)pbVar3] = 0;\n          if (*local_98 == 0) {\nLAB_0001340c:\n            local_88 = (int *)xmalloc(4);\n            *local_88 = 0;\n            local_94 = (byte *)*param_2;\n            if ((byte *)local_80 == local_94) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              iVar2 = 0;\n              *param_2 = (int)local_94;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n          }\n          else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar3 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar3 = pbVar3 + 1;\n              if (*pbVar3 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar3 * 2];\n            }\n            local_8c = (int *)FUN_00012e80(local_98);\n            local_94 = (byte *)*param_2;\n            local_90 = *local_8c;\n            if (local_94 == (byte *)local_80) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              *param_2 = (int)local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == 0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = iVar2 * 4;\n            } while (local_8c[iVar2] != 0);\n            local_8c = (int *)((iVar8 + iVar2) * 4);\n          }\n          local_84 = local_88;\n          local_88 = (int *)iVar2;\n          free(*(void **)((int)local_94 + (int)local_a8));\n          iVar2 = xrealloc(*param_2,((int)local_88 + 1 + *param_1) * 4);\n          *param_2 = iVar2;\n          local_94 = (byte *)*param_1;\n          memmove((void *)(iVar2 + (int)local_8c),(void *)(iVar2 + 4 + (int)local_a8),\n                  ((int)local_94 - iVar8) * 4);\n          __dest = (void *)((int)local_a8 + *param_2);\n          local_a8 = local_84;\n          memcpy(__dest,local_84,local_90);\n          *param_1 = (int)local_88 + -1 + *param_1;\n          free(local_a8);\n          free(local_98);\n          iVar8 = iVar7;\n        }\n      }\n      iVar7 = iVar8;\n      iVar8 = iVar7 + 1;\n      fclose(__stream);\n      iVar2 = *param_1;\n      if (iVar2 <= iVar8) {\n        return;\n      }\n    }\n  } while( true );\n}" (primitive_type "void") (function_declarator "FUN_00013220(int *param_1,int *param_2)" (identifier "FUN_00013220") (parameter_list "(int *param_1,int *param_2)" (( "(") (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"))) () ")"))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  FILE *__stream;\n  byte *pbVar3;\n  void *__dest;\n  char *pcVar4;\n  undefined1 *puVar5;\n  undefined1 *puVar6;\n  int iVar7;\n  int iVar8;\n  undefined1 auStack_ac [4];\n  int *local_a8;\n  int local_a4;\n  stat64 *local_a0;\n  undefined *local_9c;\n  byte *local_98;\n  byte *local_94;\n  size_t local_90;\n  int *local_8c;\n  int *local_88;\n  int *local_84;\n  int local_80;\n  stat64 local_7c;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1322b;\n  puVar6 = auStack_ac;\n  local_a4 = 2000;\n  local_80 = *param_2;\n  iVar2 = *param_1;\n  local_a0 = &local_7c;\n  local_9c = PTR__sch_istable_00016fd0;\n  iVar8 = 0;\n  do {\n    iVar7 = iVar8;\n    iVar8 = iVar7 + 1;\n    if (iVar2 <= iVar8) {\n      return;\n    }\n    while( true ) {\n      local_a8 = (int *)(iVar8 * 4);\n      pcVar4 = *(char **)(*param_2 + iVar8 * 4);\n      if (*pcVar4 != '@') break;\n      local_a4 = local_a4 + -1;\n      if (local_a4 == 0) {\n        puVar5 = &stack0xffffff4c;\n        pcVar4 = "%s: error: too many @-files encountered\n";\n        goto LAB_000135d9;\n      }\n      pcVar4 = pcVar4 + 1;\n      iVar2 = __xstat64(3,pcVar4,local_a0);\n      if (iVar2 < 0) {\nLAB_000133b8:\n        iVar2 = *param_1;\n        break;\n      }\n      if ((local_7c.st_mode & 0xf000) == 0x4000) {\n        do {\n          puVar5 = puVar6 + -8;\n          *(undefined4 *)(puVar6 + -8) = *(undefined4 *)**(undefined4 **)(puVar6 + 0xb4);\n          pcVar4 = "%s: error: @-file refers to a directory\n";\nLAB_000135d9:\n          *(char **)(puVar5 + -4) = pcVar4;\n          puVar6 = puVar5 + -8;\n          *(undefined4 *)(puVar5 + -8) = *(undefined4 *)PTR_stderr_00016fc8;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135e7;\n          fprintf(*(FILE **)(puVar5 + -8),*(char **)(puVar5 + -4));\n          *(undefined4 *)(puVar5 + -8) = 1;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135f3;\n          xexit();\n        } while( true );\n      }\n      __stream = fopen64(pcVar4,"r");\n      if (__stream == (FILE *)0x0) goto LAB_000133b8;\n      iVar2 = fseek(__stream,0,2);\n      if (((iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1)) {\n        local_94 = local_98;\n        local_98 = (byte *)xmalloc(local_98 + 1);\n        pbVar3 = (byte *)fread(local_98,1,(size_t)local_94,__stream);\n        if ((local_94 == pbVar3) ||\n           (local_94 = pbVar3, iVar2 = ferror(__stream), pbVar3 = local_94, iVar2 == 0)) {\n          local_98[(int)pbVar3] = 0;\n          if (*local_98 == 0) {\nLAB_0001340c:\n            local_88 = (int *)xmalloc(4);\n            *local_88 = 0;\n            local_94 = (byte *)*param_2;\n            if ((byte *)local_80 == local_94) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              iVar2 = 0;\n              *param_2 = (int)local_94;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n          }\n          else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar3 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar3 = pbVar3 + 1;\n              if (*pbVar3 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar3 * 2];\n            }\n            local_8c = (int *)FUN_00012e80(local_98);\n            local_94 = (byte *)*param_2;\n            local_90 = *local_8c;\n            if (local_94 == (byte *)local_80) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              *param_2 = (int)local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == 0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = iVar2 * 4;\n            } while (local_8c[iVar2] != 0);\n            local_8c = (int *)((iVar8 + iVar2) * 4);\n          }\n          local_84 = local_88;\n          local_88 = (int *)iVar2;\n          free(*(void **)((int)local_94 + (int)local_a8));\n          iVar2 = xrealloc(*param_2,((int)local_88 + 1 + *param_1) * 4);\n          *param_2 = iVar2;\n          local_94 = (byte *)*param_1;\n          memmove((void *)(iVar2 + (int)local_8c),(void *)(iVar2 + 4 + (int)local_a8),\n                  ((int)local_94 - iVar8) * 4);\n          __dest = (void *)((int)local_a8 + *param_2);\n          local_a8 = local_84;\n          memcpy(__dest,local_84,local_90);\n          *param_1 = (int)local_88 + -1 + *param_1;\n          free(local_a8);\n          free(local_98);\n          iVar8 = iVar7;\n        }\n      }\n      iVar7 = iVar8;\n      iVar8 = iVar7 + 1;\n      fclose(__stream);\n      iVar2 = *param_1;\n      if (iVar2 <= iVar8) {\n        return;\n      }\n    }\n  } while( true );\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "FILE *__stream;" (type_identifier "FILE") (pointer_declarator "*__stream" (* "*") (identifier "__stream")) (; ";")) (declaration "byte *pbVar3;" (type_identifier "byte") (pointer_declarator "*pbVar3" (* "*") (identifier "pbVar3")) (; ";")) (declaration "void *__dest;" (primitive_type "void") (pointer_declarator "*__dest" (* "*") (identifier "__dest")) (; ";")) (declaration "char *pcVar4;" (primitive_type "char") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (declaration "undefined1 *puVar5;" (type_identifier "undefined1") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "undefined1 *puVar6;" (type_identifier "undefined1") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "undefined1 auStack_ac [4];" (type_identifier "undefined1") (array_declarator "auStack_ac [4]" (identifier "auStack_ac") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "int *local_a8;" (primitive_type "int") (pointer_declarator "*local_a8" (* "*") (identifier "local_a8")) (; ";")) (declaration "int local_a4;" (primitive_type "int") (identifier "local_a4") (; ";")) (declaration "stat64 *local_a0;" (type_identifier "stat64") (pointer_declarator "*local_a0" (* "*") (identifier "local_a0")) (; ";")) (declaration "undefined *local_9c;" (type_identifier "undefined") (pointer_declarator "*local_9c" (* "*") (identifier "local_9c")) (; ";")) (declaration "byte *local_98;" (type_identifier "byte") (pointer_declarator "*local_98" (* "*") (identifier "local_98")) (; ";")) (declaration "byte *local_94;" (type_identifier "byte") (pointer_declarator "*local_94" (* "*") (identifier "local_94")) (; ";")) (declaration "size_t local_90;" (primitive_type "size_t") (identifier "local_90") (; ";")) (declaration "int *local_8c;" (primitive_type "int") (pointer_declarator "*local_8c" (* "*") (identifier "local_8c")) (; ";")) (declaration "int *local_88;" (primitive_type "int") (pointer_declarator "*local_88" (* "*") (identifier "local_88")) (; ";")) (declaration "int *local_84;" (primitive_type "int") (pointer_declarator "*local_84" (* "*") (identifier "local_84")) (; ";")) (declaration "int local_80;" (primitive_type "int") (identifier "local_80") (; ";")) (declaration "stat64 local_7c;" (type_identifier "stat64") (identifier "local_7c") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x1322b;" (assignment_expression "uStack_14 = 0x1322b" (identifier "uStack_14") (= "=") (number_literal "0x1322b")) (; ";")) (expression_statement "puVar6 = auStack_ac;" (assignment_expression "puVar6 = auStack_ac" (identifier "puVar6") (= "=") (identifier "auStack_ac")) (; ";")) (expression_statement "local_a4 = 2000;" (assignment_expression "local_a4 = 2000" (identifier "local_a4") (= "=") (number_literal "2000")) (; ";")) (expression_statement "local_80 = *param_2;" (assignment_expression "local_80 = *param_2" (identifier "local_80") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" (identifier "iVar2") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "local_a0 = &local_7c;" (assignment_expression "local_a0 = &local_7c" (identifier "local_a0") (= "=") (pointer_expression "&local_7c" (& "&") (identifier "local_7c"))) (; ";")) (expression_statement "local_9c = PTR__sch_istable_00016fd0;" (assignment_expression "local_9c = PTR__sch_istable_00016fd0" (identifier "local_9c") (= "=") (identifier "PTR__sch_istable_00016fd0")) (; ";")) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" (identifier "iVar8") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n    iVar7 = iVar8;\n    iVar8 = iVar7 + 1;\n    if (iVar2 <= iVar8) {\n      return;\n    }\n    while( true ) {\n      local_a8 = (int *)(iVar8 * 4);\n      pcVar4 = *(char **)(*param_2 + iVar8 * 4);\n      if (*pcVar4 != '@') break;\n      local_a4 = local_a4 + -1;\n      if (local_a4 == 0) {\n        puVar5 = &stack0xffffff4c;\n        pcVar4 = "%s: error: too many @-files encountered\n";\n        goto LAB_000135d9;\n      }\n      pcVar4 = pcVar4 + 1;\n      iVar2 = __xstat64(3,pcVar4,local_a0);\n      if (iVar2 < 0) {\nLAB_000133b8:\n        iVar2 = *param_1;\n        break;\n      }\n      if ((local_7c.st_mode & 0xf000) == 0x4000) {\n        do {\n          puVar5 = puVar6 + -8;\n          *(undefined4 *)(puVar6 + -8) = *(undefined4 *)**(undefined4 **)(puVar6 + 0xb4);\n          pcVar4 = "%s: error: @-file refers to a directory\n";\nLAB_000135d9:\n          *(char **)(puVar5 + -4) = pcVar4;\n          puVar6 = puVar5 + -8;\n          *(undefined4 *)(puVar5 + -8) = *(undefined4 *)PTR_stderr_00016fc8;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135e7;\n          fprintf(*(FILE **)(puVar5 + -8),*(char **)(puVar5 + -4));\n          *(undefined4 *)(puVar5 + -8) = 1;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135f3;\n          xexit();\n        } while( true );\n      }\n      __stream = fopen64(pcVar4,"r");\n      if (__stream == (FILE *)0x0) goto LAB_000133b8;\n      iVar2 = fseek(__stream,0,2);\n      if (((iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1)) {\n        local_94 = local_98;\n        local_98 = (byte *)xmalloc(local_98 + 1);\n        pbVar3 = (byte *)fread(local_98,1,(size_t)local_94,__stream);\n        if ((local_94 == pbVar3) ||\n           (local_94 = pbVar3, iVar2 = ferror(__stream), pbVar3 = local_94, iVar2 == 0)) {\n          local_98[(int)pbVar3] = 0;\n          if (*local_98 == 0) {\nLAB_0001340c:\n            local_88 = (int *)xmalloc(4);\n            *local_88 = 0;\n            local_94 = (byte *)*param_2;\n            if ((byte *)local_80 == local_94) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              iVar2 = 0;\n              *param_2 = (int)local_94;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n          }\n          else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar3 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar3 = pbVar3 + 1;\n              if (*pbVar3 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar3 * 2];\n            }\n            local_8c = (int *)FUN_00012e80(local_98);\n            local_94 = (byte *)*param_2;\n            local_90 = *local_8c;\n            if (local_94 == (byte *)local_80) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              *param_2 = (int)local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == 0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = iVar2 * 4;\n            } while (local_8c[iVar2] != 0);\n            local_8c = (int *)((iVar8 + iVar2) * 4);\n          }\n          local_84 = local_88;\n          local_88 = (int *)iVar2;\n          free(*(void **)((int)local_94 + (int)local_a8));\n          iVar2 = xrealloc(*param_2,((int)local_88 + 1 + *param_1) * 4);\n          *param_2 = iVar2;\n          local_94 = (byte *)*param_1;\n          memmove((void *)(iVar2 + (int)local_8c),(void *)(iVar2 + 4 + (int)local_a8),\n                  ((int)local_94 - iVar8) * 4);\n          __dest = (void *)((int)local_a8 + *param_2);\n          local_a8 = local_84;\n          memcpy(__dest,local_84,local_90);\n          *param_1 = (int)local_88 + -1 + *param_1;\n          free(local_a8);\n          free(local_98);\n          iVar8 = iVar7;\n        }\n      }\n      iVar7 = iVar8;\n      iVar8 = iVar7 + 1;\n      fclose(__stream);\n      iVar2 = *param_1;\n      if (iVar2 <= iVar8) {\n        return;\n      }\n    }\n  } while( true );" (do "do") (compound_statement "{\n    iVar7 = iVar8;\n    iVar8 = iVar7 + 1;\n    if (iVar2 <= iVar8) {\n      return;\n    }\n    while( true ) {\n      local_a8 = (int *)(iVar8 * 4);\n      pcVar4 = *(char **)(*param_2 + iVar8 * 4);\n      if (*pcVar4 != '@') break;\n      local_a4 = local_a4 + -1;\n      if (local_a4 == 0) {\n        puVar5 = &stack0xffffff4c;\n        pcVar4 = "%s: error: too many @-files encountered\n";\n        goto LAB_000135d9;\n      }\n      pcVar4 = pcVar4 + 1;\n      iVar2 = __xstat64(3,pcVar4,local_a0);\n      if (iVar2 < 0) {\nLAB_000133b8:\n        iVar2 = *param_1;\n        break;\n      }\n      if ((local_7c.st_mode & 0xf000) == 0x4000) {\n        do {\n          puVar5 = puVar6 + -8;\n          *(undefined4 *)(puVar6 + -8) = *(undefined4 *)**(undefined4 **)(puVar6 + 0xb4);\n          pcVar4 = "%s: error: @-file refers to a directory\n";\nLAB_000135d9:\n          *(char **)(puVar5 + -4) = pcVar4;\n          puVar6 = puVar5 + -8;\n          *(undefined4 *)(puVar5 + -8) = *(undefined4 *)PTR_stderr_00016fc8;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135e7;\n          fprintf(*(FILE **)(puVar5 + -8),*(char **)(puVar5 + -4));\n          *(undefined4 *)(puVar5 + -8) = 1;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135f3;\n          xexit();\n        } while( true );\n      }\n      __stream = fopen64(pcVar4,"r");\n      if (__stream == (FILE *)0x0) goto LAB_000133b8;\n      iVar2 = fseek(__stream,0,2);\n      if (((iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1)) {\n        local_94 = local_98;\n        local_98 = (byte *)xmalloc(local_98 + 1);\n        pbVar3 = (byte *)fread(local_98,1,(size_t)local_94,__stream);\n        if ((local_94 == pbVar3) ||\n           (local_94 = pbVar3, iVar2 = ferror(__stream), pbVar3 = local_94, iVar2 == 0)) {\n          local_98[(int)pbVar3] = 0;\n          if (*local_98 == 0) {\nLAB_0001340c:\n            local_88 = (int *)xmalloc(4);\n            *local_88 = 0;\n            local_94 = (byte *)*param_2;\n            if ((byte *)local_80 == local_94) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              iVar2 = 0;\n              *param_2 = (int)local_94;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n          }\n          else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar3 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar3 = pbVar3 + 1;\n              if (*pbVar3 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar3 * 2];\n            }\n            local_8c = (int *)FUN_00012e80(local_98);\n            local_94 = (byte *)*param_2;\n            local_90 = *local_8c;\n            if (local_94 == (byte *)local_80) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              *param_2 = (int)local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == 0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = iVar2 * 4;\n            } while (local_8c[iVar2] != 0);\n            local_8c = (int *)((iVar8 + iVar2) * 4);\n          }\n          local_84 = local_88;\n          local_88 = (int *)iVar2;\n          free(*(void **)((int)local_94 + (int)local_a8));\n          iVar2 = xrealloc(*param_2,((int)local_88 + 1 + *param_1) * 4);\n          *param_2 = iVar2;\n          local_94 = (byte *)*param_1;\n          memmove((void *)(iVar2 + (int)local_8c),(void *)(iVar2 + 4 + (int)local_a8),\n                  ((int)local_94 - iVar8) * 4);\n          __dest = (void *)((int)local_a8 + *param_2);\n          local_a8 = local_84;\n          memcpy(__dest,local_84,local_90);\n          *param_1 = (int)local_88 + -1 + *param_1;\n          free(local_a8);\n          free(local_98);\n          iVar8 = iVar7;\n        }\n      }\n      iVar7 = iVar8;\n      iVar8 = iVar7 + 1;\n      fclose(__stream);\n      iVar2 = *param_1;\n      if (iVar2 <= iVar8) {\n        return;\n      }\n    }\n  }" ({ "{") (expression_statement "iVar7 = iVar8;" (assignment_expression "iVar7 = iVar8" (identifier "iVar7") (= "=") (identifier "iVar8")) (; ";")) (expression_statement "iVar8 = iVar7 + 1;" (assignment_expression "iVar8 = iVar7 + 1" (identifier "iVar8") (= "=") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (iVar2 <= iVar8) {\n      return;\n    }" (if "if") (parenthesized_expression "(iVar2 <= iVar8)" (( "(") (binary_expression "iVar2 <= iVar8" (identifier "iVar2") (<= "<=") (identifier "iVar8")) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (while_statement "while( true ) {\n      local_a8 = (int *)(iVar8 * 4);\n      pcVar4 = *(char **)(*param_2 + iVar8 * 4);\n      if (*pcVar4 != '@') break;\n      local_a4 = local_a4 + -1;\n      if (local_a4 == 0) {\n        puVar5 = &stack0xffffff4c;\n        pcVar4 = "%s: error: too many @-files encountered\n";\n        goto LAB_000135d9;\n      }\n      pcVar4 = pcVar4 + 1;\n      iVar2 = __xstat64(3,pcVar4,local_a0);\n      if (iVar2 < 0) {\nLAB_000133b8:\n        iVar2 = *param_1;\n        break;\n      }\n      if ((local_7c.st_mode & 0xf000) == 0x4000) {\n        do {\n          puVar5 = puVar6 + -8;\n          *(undefined4 *)(puVar6 + -8) = *(undefined4 *)**(undefined4 **)(puVar6 + 0xb4);\n          pcVar4 = "%s: error: @-file refers to a directory\n";\nLAB_000135d9:\n          *(char **)(puVar5 + -4) = pcVar4;\n          puVar6 = puVar5 + -8;\n          *(undefined4 *)(puVar5 + -8) = *(undefined4 *)PTR_stderr_00016fc8;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135e7;\n          fprintf(*(FILE **)(puVar5 + -8),*(char **)(puVar5 + -4));\n          *(undefined4 *)(puVar5 + -8) = 1;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135f3;\n          xexit();\n        } while( true );\n      }\n      __stream = fopen64(pcVar4,"r");\n      if (__stream == (FILE *)0x0) goto LAB_000133b8;\n      iVar2 = fseek(__stream,0,2);\n      if (((iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1)) {\n        local_94 = local_98;\n        local_98 = (byte *)xmalloc(local_98 + 1);\n        pbVar3 = (byte *)fread(local_98,1,(size_t)local_94,__stream);\n        if ((local_94 == pbVar3) ||\n           (local_94 = pbVar3, iVar2 = ferror(__stream), pbVar3 = local_94, iVar2 == 0)) {\n          local_98[(int)pbVar3] = 0;\n          if (*local_98 == 0) {\nLAB_0001340c:\n            local_88 = (int *)xmalloc(4);\n            *local_88 = 0;\n            local_94 = (byte *)*param_2;\n            if ((byte *)local_80 == local_94) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              iVar2 = 0;\n              *param_2 = (int)local_94;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n          }\n          else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar3 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar3 = pbVar3 + 1;\n              if (*pbVar3 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar3 * 2];\n            }\n            local_8c = (int *)FUN_00012e80(local_98);\n            local_94 = (byte *)*param_2;\n            local_90 = *local_8c;\n            if (local_94 == (byte *)local_80) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              *param_2 = (int)local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == 0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = iVar2 * 4;\n            } while (local_8c[iVar2] != 0);\n            local_8c = (int *)((iVar8 + iVar2) * 4);\n          }\n          local_84 = local_88;\n          local_88 = (int *)iVar2;\n          free(*(void **)((int)local_94 + (int)local_a8));\n          iVar2 = xrealloc(*param_2,((int)local_88 + 1 + *param_1) * 4);\n          *param_2 = iVar2;\n          local_94 = (byte *)*param_1;\n          memmove((void *)(iVar2 + (int)local_8c),(void *)(iVar2 + 4 + (int)local_a8),\n                  ((int)local_94 - iVar8) * 4);\n          __dest = (void *)((int)local_a8 + *param_2);\n          local_a8 = local_84;\n          memcpy(__dest,local_84,local_90);\n          *param_1 = (int)local_88 + -1 + *param_1;\n          free(local_a8);\n          free(local_98);\n          iVar8 = iVar7;\n        }\n      }\n      iVar7 = iVar8;\n      iVar8 = iVar7 + 1;\n      fclose(__stream);\n      iVar2 = *param_1;\n      if (iVar2 <= iVar8) {\n        return;\n      }\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      local_a8 = (int *)(iVar8 * 4);\n      pcVar4 = *(char **)(*param_2 + iVar8 * 4);\n      if (*pcVar4 != '@') break;\n      local_a4 = local_a4 + -1;\n      if (local_a4 == 0) {\n        puVar5 = &stack0xffffff4c;\n        pcVar4 = "%s: error: too many @-files encountered\n";\n        goto LAB_000135d9;\n      }\n      pcVar4 = pcVar4 + 1;\n      iVar2 = __xstat64(3,pcVar4,local_a0);\n      if (iVar2 < 0) {\nLAB_000133b8:\n        iVar2 = *param_1;\n        break;\n      }\n      if ((local_7c.st_mode & 0xf000) == 0x4000) {\n        do {\n          puVar5 = puVar6 + -8;\n          *(undefined4 *)(puVar6 + -8) = *(undefined4 *)**(undefined4 **)(puVar6 + 0xb4);\n          pcVar4 = "%s: error: @-file refers to a directory\n";\nLAB_000135d9:\n          *(char **)(puVar5 + -4) = pcVar4;\n          puVar6 = puVar5 + -8;\n          *(undefined4 *)(puVar5 + -8) = *(undefined4 *)PTR_stderr_00016fc8;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135e7;\n          fprintf(*(FILE **)(puVar5 + -8),*(char **)(puVar5 + -4));\n          *(undefined4 *)(puVar5 + -8) = 1;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135f3;\n          xexit();\n        } while( true );\n      }\n      __stream = fopen64(pcVar4,"r");\n      if (__stream == (FILE *)0x0) goto LAB_000133b8;\n      iVar2 = fseek(__stream,0,2);\n      if (((iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1)) {\n        local_94 = local_98;\n        local_98 = (byte *)xmalloc(local_98 + 1);\n        pbVar3 = (byte *)fread(local_98,1,(size_t)local_94,__stream);\n        if ((local_94 == pbVar3) ||\n           (local_94 = pbVar3, iVar2 = ferror(__stream), pbVar3 = local_94, iVar2 == 0)) {\n          local_98[(int)pbVar3] = 0;\n          if (*local_98 == 0) {\nLAB_0001340c:\n            local_88 = (int *)xmalloc(4);\n            *local_88 = 0;\n            local_94 = (byte *)*param_2;\n            if ((byte *)local_80 == local_94) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              iVar2 = 0;\n              *param_2 = (int)local_94;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n          }\n          else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar3 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar3 = pbVar3 + 1;\n              if (*pbVar3 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar3 * 2];\n            }\n            local_8c = (int *)FUN_00012e80(local_98);\n            local_94 = (byte *)*param_2;\n            local_90 = *local_8c;\n            if (local_94 == (byte *)local_80) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              *param_2 = (int)local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == 0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = iVar2 * 4;\n            } while (local_8c[iVar2] != 0);\n            local_8c = (int *)((iVar8 + iVar2) * 4);\n          }\n          local_84 = local_88;\n          local_88 = (int *)iVar2;\n          free(*(void **)((int)local_94 + (int)local_a8));\n          iVar2 = xrealloc(*param_2,((int)local_88 + 1 + *param_1) * 4);\n          *param_2 = iVar2;\n          local_94 = (byte *)*param_1;\n          memmove((void *)(iVar2 + (int)local_8c),(void *)(iVar2 + 4 + (int)local_a8),\n                  ((int)local_94 - iVar8) * 4);\n          __dest = (void *)((int)local_a8 + *param_2);\n          local_a8 = local_84;\n          memcpy(__dest,local_84,local_90);\n          *param_1 = (int)local_88 + -1 + *param_1;\n          free(local_a8);\n          free(local_98);\n          iVar8 = iVar7;\n        }\n      }\n      iVar7 = iVar8;\n      iVar8 = iVar7 + 1;\n      fclose(__stream);\n      iVar2 = *param_1;\n      if (iVar2 <= iVar8) {\n        return;\n      }\n    }" ({ "{") (expression_statement "local_a8 = (int *)(iVar8 * 4);" (assignment_expression "local_a8 = (int *)(iVar8 * 4)" (identifier "local_a8") (= "=") (cast_expression "(int *)(iVar8 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 * 4)" (( "(") (binary_expression "iVar8 * 4" (identifier "iVar8") (* "*") (number_literal "4")) () ")")))) (; ";")) (expression_statement "pcVar4 = *(char **)(*param_2 + iVar8 * 4);" (assignment_expression "pcVar4 = *(char **)(*param_2 + iVar8 * 4)" (identifier "pcVar4") (= "=") (pointer_expression "*(char **)(*param_2 + iVar8 * 4)" (* "*") (cast_expression "(char **)(*param_2 + iVar8 * 4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_2 + iVar8 * 4)" (( "(") (binary_expression "*param_2 + iVar8 * 4" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (binary_expression "iVar8 * 4" (identifier "iVar8") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (if_statement "if (*pcVar4 != '@') break;" (if "if") (parenthesized_expression "(*pcVar4 != '@')" (( "(") (binary_expression "*pcVar4 != '@'" (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4")) (!= "!=") (char_literal "'@'" (' "'") (character "@") (' "'"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "local_a4 = local_a4 + -1;" (assignment_expression "local_a4 = local_a4 + -1" (identifier "local_a4") (= "=") (binary_expression "local_a4 + -1" (identifier "local_a4") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (local_a4 == 0) {\n        puVar5 = &stack0xffffff4c;\n        pcVar4 = "%s: error: too many @-files encountered\n";\n        goto LAB_000135d9;\n      }" (if "if") (parenthesized_expression "(local_a4 == 0)" (( "(") (binary_expression "local_a4 == 0" (identifier "local_a4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        puVar5 = &stack0xffffff4c;\n        pcVar4 = "%s: error: too many @-files encountered\n";\n        goto LAB_000135d9;\n      }" ({ "{") (expression_statement "puVar5 = &stack0xffffff4c;" (assignment_expression "puVar5 = &stack0xffffff4c" (identifier "puVar5") (= "=") (pointer_expression "&stack0xffffff4c" (& "&") (identifier "stack0xffffff4c"))) (; ";")) (expression_statement "pcVar4 = "%s: error: too many @-files encountered\n";" (assignment_expression "pcVar4 = "%s: error: too many @-files encountered\n"" (identifier "pcVar4") (= "=") (string_literal ""%s: error: too many @-files encountered\n"" (" """) (string_content "%s: error: too many @-files encountered") (escape_sequence "\n") (" """))) (; ";")) (goto_statement "goto LAB_000135d9;" (goto "goto") (statement_identifier "LAB_000135d9") (; ";")) (} "}"))) (expression_statement "pcVar4 = pcVar4 + 1;" (assignment_expression "pcVar4 = pcVar4 + 1" (identifier "pcVar4") (= "=") (binary_expression "pcVar4 + 1" (identifier "pcVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar2 = __xstat64(3,pcVar4,local_a0);" (assignment_expression "iVar2 = __xstat64(3,pcVar4,local_a0)" (identifier "iVar2") (= "=") (call_expression "__xstat64(3,pcVar4,local_a0)" (identifier "__xstat64") (argument_list "(3,pcVar4,local_a0)" (( "(") (number_literal "3") (, ",") (identifier "pcVar4") (, ",") (identifier "local_a0") () ")")))) (; ";")) (if_statement "if (iVar2 < 0) {\nLAB_000133b8:\n        iVar2 = *param_1;\n        break;\n      }" (if "if") (parenthesized_expression "(iVar2 < 0)" (( "(") (binary_expression "iVar2 < 0" (identifier "iVar2") (< "<") (number_literal "0")) () ")")) (compound_statement "{\nLAB_000133b8:\n        iVar2 = *param_1;\n        break;\n      }" ({ "{") (labeled_statement "LAB_000133b8:\n        iVar2 = *param_1;" (statement_identifier "LAB_000133b8") (: ":") (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" (identifier "iVar2") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";"))) (break_statement "break;" (break "break") (; ";")) (} "}"))) (if_statement "if ((local_7c.st_mode & 0xf000) == 0x4000) {\n        do {\n          puVar5 = puVar6 + -8;\n          *(undefined4 *)(puVar6 + -8) = *(undefined4 *)**(undefined4 **)(puVar6 + 0xb4);\n          pcVar4 = "%s: error: @-file refers to a directory\n";\nLAB_000135d9:\n          *(char **)(puVar5 + -4) = pcVar4;\n          puVar6 = puVar5 + -8;\n          *(undefined4 *)(puVar5 + -8) = *(undefined4 *)PTR_stderr_00016fc8;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135e7;\n          fprintf(*(FILE **)(puVar5 + -8),*(char **)(puVar5 + -4));\n          *(undefined4 *)(puVar5 + -8) = 1;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135f3;\n          xexit();\n        } while( true );\n      }" (if "if") (parenthesized_expression "((local_7c.st_mode & 0xf000) == 0x4000)" (( "(") (binary_expression "(local_7c.st_mode & 0xf000) == 0x4000" (parenthesized_expression "(local_7c.st_mode & 0xf000)" (( "(") (binary_expression "local_7c.st_mode & 0xf000" (field_expression "local_7c.st_mode" (identifier "local_7c") (. ".") (field_identifier "st_mode")) (& "&") (number_literal "0xf000")) () ")")) (== "==") (number_literal "0x4000")) () ")")) (compound_statement "{\n        do {\n          puVar5 = puVar6 + -8;\n          *(undefined4 *)(puVar6 + -8) = *(undefined4 *)**(undefined4 **)(puVar6 + 0xb4);\n          pcVar4 = "%s: error: @-file refers to a directory\n";\nLAB_000135d9:\n          *(char **)(puVar5 + -4) = pcVar4;\n          puVar6 = puVar5 + -8;\n          *(undefined4 *)(puVar5 + -8) = *(undefined4 *)PTR_stderr_00016fc8;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135e7;\n          fprintf(*(FILE **)(puVar5 + -8),*(char **)(puVar5 + -4));\n          *(undefined4 *)(puVar5 + -8) = 1;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135f3;\n          xexit();\n        } while( true );\n      }" ({ "{") (do_statement "do {\n          puVar5 = puVar6 + -8;\n          *(undefined4 *)(puVar6 + -8) = *(undefined4 *)**(undefined4 **)(puVar6 + 0xb4);\n          pcVar4 = "%s: error: @-file refers to a directory\n";\nLAB_000135d9:\n          *(char **)(puVar5 + -4) = pcVar4;\n          puVar6 = puVar5 + -8;\n          *(undefined4 *)(puVar5 + -8) = *(undefined4 *)PTR_stderr_00016fc8;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135e7;\n          fprintf(*(FILE **)(puVar5 + -8),*(char **)(puVar5 + -4));\n          *(undefined4 *)(puVar5 + -8) = 1;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135f3;\n          xexit();\n        } while( true );" (do "do") (compound_statement "{\n          puVar5 = puVar6 + -8;\n          *(undefined4 *)(puVar6 + -8) = *(undefined4 *)**(undefined4 **)(puVar6 + 0xb4);\n          pcVar4 = "%s: error: @-file refers to a directory\n";\nLAB_000135d9:\n          *(char **)(puVar5 + -4) = pcVar4;\n          puVar6 = puVar5 + -8;\n          *(undefined4 *)(puVar5 + -8) = *(undefined4 *)PTR_stderr_00016fc8;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135e7;\n          fprintf(*(FILE **)(puVar5 + -8),*(char **)(puVar5 + -4));\n          *(undefined4 *)(puVar5 + -8) = 1;\n          *(undefined4 *)(puVar5 + -0xc) = 0x135f3;\n          xexit();\n        }" ({ "{") (expression_statement "puVar5 = puVar6 + -8;" (assignment_expression "puVar5 = puVar6 + -8" (identifier "puVar5") (= "=") (binary_expression "puVar6 + -8" (identifier "puVar6") (+ "+") (number_literal "-8"))) (; ";")) (expression_statement "*(undefined4 *)(puVar6 + -8) = *(undefined4 *)**(undefined4 **)(puVar6 + 0xb4);" (assignment_expression "*(undefined4 *)(puVar6 + -8) = *(undefined4 *)**(undefined4 **)(puVar6 + 0xb4)" (pointer_expression "*(undefined4 *)(puVar6 + -8)" (* "*") (cast_expression "(undefined4 *)(puVar6 + -8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + -8)" (( "(") (binary_expression "puVar6 + -8" (identifier "puVar6") (+ "+") (number_literal "-8")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)**(undefined4 **)(puVar6 + 0xb4)" (* "*") (cast_expression "(undefined4 *)**(undefined4 **)(puVar6 + 0xb4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "**(undefined4 **)(puVar6 + 0xb4)" (* "*") (pointer_expression "*(undefined4 **)(puVar6 + 0xb4)" (* "*") (cast_expression "(undefined4 **)(puVar6 + 0xb4)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + 0xb4)" (( "(") (binary_expression "puVar6 + 0xb4" (identifier "puVar6") (+ "+") (number_literal "0xb4")) () ")")))))))) (; ";")) (expression_statement "pcVar4 = "%s: error: @-file refers to a directory\n";" (assignment_expression "pcVar4 = "%s: error: @-file refers to a directory\n"" (identifier "pcVar4") (= "=") (string_literal ""%s: error: @-file refers to a directory\n"" (" """) (string_content "%s: error: @-file refers to a directory") (escape_sequence "\n") (" """))) (; ";")) (labeled_statement "LAB_000135d9:\n          *(char **)(puVar5 + -4) = pcVar4;" (statement_identifier "LAB_000135d9") (: ":") (expression_statement "*(char **)(puVar5 + -4) = pcVar4;" (assignment_expression "*(char **)(puVar5 + -4) = pcVar4" (pointer_expression "*(char **)(puVar5 + -4)" (* "*") (cast_expression "(char **)(puVar5 + -4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar5 + -4)" (( "(") (binary_expression "puVar5 + -4" (identifier "puVar5") (+ "+") (number_literal "-4")) () ")")))) (= "=") (identifier "pcVar4")) (; ";"))) (expression_statement "puVar6 = puVar5 + -8;" (assignment_expression "puVar6 = puVar5 + -8" (identifier "puVar6") (= "=") (binary_expression "puVar5 + -8" (identifier "puVar5") (+ "+") (number_literal "-8"))) (; ";")) (expression_statement "*(undefined4 *)(puVar5 + -8) = *(undefined4 *)PTR_stderr_00016fc8;" (assignment_expression "*(undefined4 *)(puVar5 + -8) = *(undefined4 *)PTR_stderr_00016fc8" (pointer_expression "*(undefined4 *)(puVar5 + -8)" (* "*") (cast_expression "(undefined4 *)(puVar5 + -8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar5 + -8)" (( "(") (binary_expression "puVar5 + -8" (identifier "puVar5") (+ "+") (number_literal "-8")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)PTR_stderr_00016fc8" (* "*") (cast_expression "(undefined4 *)PTR_stderr_00016fc8" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stderr_00016fc8")))) (; ";")) (expression_statement "*(undefined4 *)(puVar5 + -0xc) = 0x135e7;" (assignment_expression "*(undefined4 *)(puVar5 + -0xc) = 0x135e7" (pointer_expression "*(undefined4 *)(puVar5 + -0xc)" (* "*") (cast_expression "(undefined4 *)(puVar5 + -0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar5 + -0xc)" (( "(") (binary_expression "puVar5 + -0xc" (identifier "puVar5") (+ "+") (number_literal "-0xc")) () ")")))) (= "=") (number_literal "0x135e7")) (; ";")) (expression_statement "fprintf(*(FILE **)(puVar5 + -8),*(char **)(puVar5 + -4));" (call_expression "fprintf(*(FILE **)(puVar5 + -8),*(char **)(puVar5 + -4))" (identifier "fprintf") (argument_list "(*(FILE **)(puVar5 + -8),*(char **)(puVar5 + -4))" (( "(") (pointer_expression "*(FILE **)(puVar5 + -8)" (* "*") (cast_expression "(FILE **)(puVar5 + -8)" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar5 + -8)" (( "(") (binary_expression "puVar5 + -8" (identifier "puVar5") (+ "+") (number_literal "-8")) () ")")))) (, ",") (pointer_expression "*(char **)(puVar5 + -4)" (* "*") (cast_expression "(char **)(puVar5 + -4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar5 + -4)" (( "(") (binary_expression "puVar5 + -4" (identifier "puVar5") (+ "+") (number_literal "-4")) () ")")))) () ")"))) (; ";")) (expression_statement "*(undefined4 *)(puVar5 + -8) = 1;" (assignment_expression "*(undefined4 *)(puVar5 + -8) = 1" (pointer_expression "*(undefined4 *)(puVar5 + -8)" (* "*") (cast_expression "(undefined4 *)(puVar5 + -8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar5 + -8)" (( "(") (binary_expression "puVar5 + -8" (identifier "puVar5") (+ "+") (number_literal "-8")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(undefined4 *)(puVar5 + -0xc) = 0x135f3;" (assignment_expression "*(undefined4 *)(puVar5 + -0xc) = 0x135f3" (pointer_expression "*(undefined4 *)(puVar5 + -0xc)" (* "*") (cast_expression "(undefined4 *)(puVar5 + -0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar5 + -0xc)" (( "(") (binary_expression "puVar5 + -0xc" (identifier "puVar5") (+ "+") (number_literal "-0xc")) () ")")))) (= "=") (number_literal "0x135f3")) (; ";")) (expression_statement "xexit();" (call_expression "xexit()" (identifier "xexit") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}"))) (expression_statement "__stream = fopen64(pcVar4,"r");" (assignment_expression "__stream = fopen64(pcVar4,"r")" (identifier "__stream") (= "=") (call_expression "fopen64(pcVar4,"r")" (identifier "fopen64") (argument_list "(pcVar4,"r")" (( "(") (identifier "pcVar4") (, ",") (string_literal ""r"" (" """) (string_content "r") (" """)) () ")")))) (; ";")) (if_statement "if (__stream == (FILE *)0x0) goto LAB_000133b8;" (if "if") (parenthesized_expression "(__stream == (FILE *)0x0)" (( "(") (binary_expression "__stream == (FILE *)0x0" (identifier "__stream") (== "==") (cast_expression "(FILE *)0x0" (( "(") (type_descriptor "FILE *" (type_identifier "FILE") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_000133b8;" (goto "goto") (statement_identifier "LAB_000133b8") (; ";"))) (expression_statement "iVar2 = fseek(__stream,0,2);" (assignment_expression "iVar2 = fseek(__stream,0,2)" (identifier "iVar2") (= "=") (call_expression "fseek(__stream,0,2)" (identifier "fseek") (argument_list "(__stream,0,2)" (( "(") (identifier "__stream") (, ",") (number_literal "0") (, ",") (number_literal "2") () ")")))) (; ";")) (if_statement "if (((iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1)) {\n        local_94 = local_98;\n        local_98 = (byte *)xmalloc(local_98 + 1);\n        pbVar3 = (byte *)fread(local_98,1,(size_t)local_94,__stream);\n        if ((local_94 == pbVar3) ||\n           (local_94 = pbVar3, iVar2 = ferror(__stream), pbVar3 = local_94, iVar2 == 0)) {\n          local_98[(int)pbVar3] = 0;\n          if (*local_98 == 0) {\nLAB_0001340c:\n            local_88 = (int *)xmalloc(4);\n            *local_88 = 0;\n            local_94 = (byte *)*param_2;\n            if ((byte *)local_80 == local_94) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              iVar2 = 0;\n              *param_2 = (int)local_94;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n          }\n          else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar3 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar3 = pbVar3 + 1;\n              if (*pbVar3 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar3 * 2];\n            }\n            local_8c = (int *)FUN_00012e80(local_98);\n            local_94 = (byte *)*param_2;\n            local_90 = *local_8c;\n            if (local_94 == (byte *)local_80) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              *param_2 = (int)local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == 0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = iVar2 * 4;\n            } while (local_8c[iVar2] != 0);\n            local_8c = (int *)((iVar8 + iVar2) * 4);\n          }\n          local_84 = local_88;\n          local_88 = (int *)iVar2;\n          free(*(void **)((int)local_94 + (int)local_a8));\n          iVar2 = xrealloc(*param_2,((int)local_88 + 1 + *param_1) * 4);\n          *param_2 = iVar2;\n          local_94 = (byte *)*param_1;\n          memmove((void *)(iVar2 + (int)local_8c),(void *)(iVar2 + 4 + (int)local_a8),\n                  ((int)local_94 - iVar8) * 4);\n          __dest = (void *)((int)local_a8 + *param_2);\n          local_a8 = local_84;\n          memcpy(__dest,local_84,local_90);\n          *param_1 = (int)local_88 + -1 + *param_1;\n          free(local_a8);\n          free(local_98);\n          iVar8 = iVar7;\n        }\n      }" (if "if") (parenthesized_expression "(((iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1))" (( "(") (binary_expression "((iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1)" (parenthesized_expression "((iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff))" (( "(") (binary_expression "(iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)" (parenthesized_expression "(iVar2 != -1)" (( "(") (binary_expression "iVar2 != -1" (identifier "iVar2") (!= "!=") (number_literal "-1")) () ")")) (&& "&&") (parenthesized_expression "(local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)" (( "(") (comma_expression "local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff" (assignment_expression "local_98 = (byte *)ftell(__stream)" (identifier "local_98") (= "=") (cast_expression "(byte *)ftell(__stream)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "ftell(__stream)" (identifier "ftell") (argument_list "(__stream)" (( "(") (identifier "__stream") () ")"))))) (, ",") (binary_expression "local_98 != (byte *)0xffffffff" (identifier "local_98") (!= "!=") (cast_expression "(byte *)0xffffffff" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0xffffffff")))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar2 = fseek(__stream,0,0), iVar2 != -1)" (( "(") (comma_expression "iVar2 = fseek(__stream,0,0), iVar2 != -1" (assignment_expression "iVar2 = fseek(__stream,0,0)" (identifier "iVar2") (= "=") (call_expression "fseek(__stream,0,0)" (identifier "fseek") (argument_list "(__stream,0,0)" (( "(") (identifier "__stream") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (, ",") (binary_expression "iVar2 != -1" (identifier "iVar2") (!= "!=") (number_literal "-1"))) () ")"))) () ")")) (compound_statement "{\n        local_94 = local_98;\n        local_98 = (byte *)xmalloc(local_98 + 1);\n        pbVar3 = (byte *)fread(local_98,1,(size_t)local_94,__stream);\n        if ((local_94 == pbVar3) ||\n           (local_94 = pbVar3, iVar2 = ferror(__stream), pbVar3 = local_94, iVar2 == 0)) {\n          local_98[(int)pbVar3] = 0;\n          if (*local_98 == 0) {\nLAB_0001340c:\n            local_88 = (int *)xmalloc(4);\n            *local_88 = 0;\n            local_94 = (byte *)*param_2;\n            if ((byte *)local_80 == local_94) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              iVar2 = 0;\n              *param_2 = (int)local_94;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n          }\n          else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar3 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar3 = pbVar3 + 1;\n              if (*pbVar3 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar3 * 2];\n            }\n            local_8c = (int *)FUN_00012e80(local_98);\n            local_94 = (byte *)*param_2;\n            local_90 = *local_8c;\n            if (local_94 == (byte *)local_80) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              *param_2 = (int)local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == 0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = iVar2 * 4;\n            } while (local_8c[iVar2] != 0);\n            local_8c = (int *)((iVar8 + iVar2) * 4);\n          }\n          local_84 = local_88;\n          local_88 = (int *)iVar2;\n          free(*(void **)((int)local_94 + (int)local_a8));\n          iVar2 = xrealloc(*param_2,((int)local_88 + 1 + *param_1) * 4);\n          *param_2 = iVar2;\n          local_94 = (byte *)*param_1;\n          memmove((void *)(iVar2 + (int)local_8c),(void *)(iVar2 + 4 + (int)local_a8),\n                  ((int)local_94 - iVar8) * 4);\n          __dest = (void *)((int)local_a8 + *param_2);\n          local_a8 = local_84;\n          memcpy(__dest,local_84,local_90);\n          *param_1 = (int)local_88 + -1 + *param_1;\n          free(local_a8);\n          free(local_98);\n          iVar8 = iVar7;\n        }\n      }" ({ "{") (expression_statement "local_94 = local_98;" (assignment_expression "local_94 = local_98" (identifier "local_94") (= "=") (identifier "local_98")) (; ";")) (expression_statement "local_98 = (byte *)xmalloc(local_98 + 1);" (assignment_expression "local_98 = (byte *)xmalloc(local_98 + 1)" (identifier "local_98") (= "=") (cast_expression "(byte *)xmalloc(local_98 + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(local_98 + 1)" (identifier "xmalloc") (argument_list "(local_98 + 1)" (( "(") (binary_expression "local_98 + 1" (identifier "local_98") (+ "+") (number_literal "1")) () ")"))))) (; ";")) (expression_statement "pbVar3 = (byte *)fread(local_98,1,(size_t)local_94,__stream);" (assignment_expression "pbVar3 = (byte *)fread(local_98,1,(size_t)local_94,__stream)" (identifier "pbVar3") (= "=") (cast_expression "(byte *)fread(local_98,1,(size_t)local_94,__stream)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "fread(local_98,1,(size_t)local_94,__stream)" (identifier "fread") (argument_list "(local_98,1,(size_t)local_94,__stream)" (( "(") (identifier "local_98") (, ",") (number_literal "1") (, ",") (cast_expression "(size_t)local_94" (( "(") (type_descriptor "size_t" (primitive_type "size_t")) () ")") (identifier "local_94")) (, ",") (identifier "__stream") () ")"))))) (; ";")) (if_statement "if ((local_94 == pbVar3) ||\n           (local_94 = pbVar3, iVar2 = ferror(__stream), pbVar3 = local_94, iVar2 == 0)) {\n          local_98[(int)pbVar3] = 0;\n          if (*local_98 == 0) {\nLAB_0001340c:\n            local_88 = (int *)xmalloc(4);\n            *local_88 = 0;\n            local_94 = (byte *)*param_2;\n            if ((byte *)local_80 == local_94) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              iVar2 = 0;\n              *param_2 = (int)local_94;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n          }\n          else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar3 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar3 = pbVar3 + 1;\n              if (*pbVar3 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar3 * 2];\n            }\n            local_8c = (int *)FUN_00012e80(local_98);\n            local_94 = (byte *)*param_2;\n            local_90 = *local_8c;\n            if (local_94 == (byte *)local_80) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              *param_2 = (int)local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == 0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = iVar2 * 4;\n            } while (local_8c[iVar2] != 0);\n            local_8c = (int *)((iVar8 + iVar2) * 4);\n          }\n          local_84 = local_88;\n          local_88 = (int *)iVar2;\n          free(*(void **)((int)local_94 + (int)local_a8));\n          iVar2 = xrealloc(*param_2,((int)local_88 + 1 + *param_1) * 4);\n          *param_2 = iVar2;\n          local_94 = (byte *)*param_1;\n          memmove((void *)(iVar2 + (int)local_8c),(void *)(iVar2 + 4 + (int)local_a8),\n                  ((int)local_94 - iVar8) * 4);\n          __dest = (void *)((int)local_a8 + *param_2);\n          local_a8 = local_84;\n          memcpy(__dest,local_84,local_90);\n          *param_1 = (int)local_88 + -1 + *param_1;\n          free(local_a8);\n          free(local_98);\n          iVar8 = iVar7;\n        }" (if "if") (parenthesized_expression "((local_94 == pbVar3) ||\n           (local_94 = pbVar3, iVar2 = ferror(__stream), pbVar3 = local_94, iVar2 == 0))" (( "(") (binary_expression "(local_94 == pbVar3) ||\n           (local_94 = pbVar3, iVar2 = ferror(__stream), pbVar3 = local_94, iVar2 == 0)" (parenthesized_expression "(local_94 == pbVar3)" (( "(") (binary_expression "local_94 == pbVar3" (identifier "local_94") (== "==") (identifier "pbVar3")) () ")")) (|| "||") (parenthesized_expression "(local_94 = pbVar3, iVar2 = ferror(__stream), pbVar3 = local_94, iVar2 == 0)" (( "(") (comma_expression "local_94 = pbVar3, iVar2 = ferror(__stream), pbVar3 = local_94, iVar2 == 0" (assignment_expression "local_94 = pbVar3" (identifier "local_94") (= "=") (identifier "pbVar3")) (, ",") (comma_expression "iVar2 = ferror(__stream), pbVar3 = local_94, iVar2 == 0" (assignment_expression "iVar2 = ferror(__stream)" (identifier "iVar2") (= "=") (call_expression "ferror(__stream)" (identifier "ferror") (argument_list "(__stream)" (( "(") (identifier "__stream") () ")")))) (, ",") (comma_expression "pbVar3 = local_94, iVar2 == 0" (assignment_expression "pbVar3 = local_94" (identifier "pbVar3") (= "=") (identifier "local_94")) (, ",") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0"))))) () ")"))) () ")")) (compound_statement "{\n          local_98[(int)pbVar3] = 0;\n          if (*local_98 == 0) {\nLAB_0001340c:\n            local_88 = (int *)xmalloc(4);\n            *local_88 = 0;\n            local_94 = (byte *)*param_2;\n            if ((byte *)local_80 == local_94) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              iVar2 = 0;\n              *param_2 = (int)local_94;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n          }\n          else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar3 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar3 = pbVar3 + 1;\n              if (*pbVar3 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar3 * 2];\n            }\n            local_8c = (int *)FUN_00012e80(local_98);\n            local_94 = (byte *)*param_2;\n            local_90 = *local_8c;\n            if (local_94 == (byte *)local_80) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              *param_2 = (int)local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == 0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = iVar2 * 4;\n            } while (local_8c[iVar2] != 0);\n            local_8c = (int *)((iVar8 + iVar2) * 4);\n          }\n          local_84 = local_88;\n          local_88 = (int *)iVar2;\n          free(*(void **)((int)local_94 + (int)local_a8));\n          iVar2 = xrealloc(*param_2,((int)local_88 + 1 + *param_1) * 4);\n          *param_2 = iVar2;\n          local_94 = (byte *)*param_1;\n          memmove((void *)(iVar2 + (int)local_8c),(void *)(iVar2 + 4 + (int)local_a8),\n                  ((int)local_94 - iVar8) * 4);\n          __dest = (void *)((int)local_a8 + *param_2);\n          local_a8 = local_84;\n          memcpy(__dest,local_84,local_90);\n          *param_1 = (int)local_88 + -1 + *param_1;\n          free(local_a8);\n          free(local_98);\n          iVar8 = iVar7;\n        }" ({ "{") (expression_statement "local_98[(int)pbVar3] = 0;" (assignment_expression "local_98[(int)pbVar3] = 0" (subscript_expression "local_98[(int)pbVar3]" (identifier "local_98") ([ "[") (cast_expression "(int)pbVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar3")) (] "]")) (= "=") (number_literal "0")) (; ";")) (if_statement "if (*local_98 == 0) {\nLAB_0001340c:\n            local_88 = (int *)xmalloc(4);\n            *local_88 = 0;\n            local_94 = (byte *)*param_2;\n            if ((byte *)local_80 == local_94) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              iVar2 = 0;\n              *param_2 = (int)local_94;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n          }\n          else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar3 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar3 = pbVar3 + 1;\n              if (*pbVar3 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar3 * 2];\n            }\n            local_8c = (int *)FUN_00012e80(local_98);\n            local_94 = (byte *)*param_2;\n            local_90 = *local_8c;\n            if (local_94 == (byte *)local_80) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              *param_2 = (int)local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == 0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = iVar2 * 4;\n            } while (local_8c[iVar2] != 0);\n            local_8c = (int *)((iVar8 + iVar2) * 4);\n          }" (if "if") (parenthesized_expression "(*local_98 == 0)" (( "(") (binary_expression "*local_98 == 0" (pointer_expression "*local_98" (* "*") (identifier "local_98")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_0001340c:\n            local_88 = (int *)xmalloc(4);\n            *local_88 = 0;\n            local_94 = (byte *)*param_2;\n            if ((byte *)local_80 == local_94) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              iVar2 = 0;\n              *param_2 = (int)local_94;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n          }" ({ "{") (labeled_statement "LAB_0001340c:\n            local_88 = (int *)xmalloc(4);" (statement_identifier "LAB_0001340c") (: ":") (expression_statement "local_88 = (int *)xmalloc(4);" (assignment_expression "local_88 = (int *)xmalloc(4)" (identifier "local_88") (= "=") (cast_expression "(int *)xmalloc(4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(4)" (identifier "xmalloc") (argument_list "(4)" (( "(") (number_literal "4") () ")"))))) (; ";"))) (expression_statement "*local_88 = 0;" (assignment_expression "*local_88 = 0" (pointer_expression "*local_88" (* "*") (identifier "local_88")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_94 = (byte *)*param_2;" (assignment_expression "local_94 = (byte *)*param_2" (identifier "local_94") (= "=") (cast_expression "(byte *)*param_2" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (if_statement "if ((byte *)local_80 == local_94) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              iVar2 = 0;\n              *param_2 = (int)local_94;\n              local_90 = 0;\n              local_8c = local_a8;\n            }\n            else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = 0;\n              local_8c = local_a8;\n            }" (if "if") (parenthesized_expression "((byte *)local_80 == local_94)" (( "(") (binary_expression "(byte *)local_80 == local_94" (cast_expression "(byte *)local_80" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "local_80")) (== "==") (identifier "local_94")) () ")")) (compound_statement "{\n              local_94 = (byte *)FUN_00012d90(local_80);\n              iVar2 = 0;\n              *param_2 = (int)local_94;\n              local_90 = 0;\n              local_8c = local_a8;\n            }" ({ "{") (expression_statement "local_94 = (byte *)FUN_00012d90(local_80);" (assignment_expression "local_94 = (byte *)FUN_00012d90(local_80)" (identifier "local_94") (= "=") (cast_expression "(byte *)FUN_00012d90(local_80)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00012d90(local_80)" (identifier "FUN_00012d90") (argument_list "(local_80)" (( "(") (identifier "local_80") () ")"))))) (; ";")) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_2 = (int)local_94;" (assignment_expression "*param_2 = (int)local_94" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (cast_expression "(int)local_94" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_94"))) (; ";")) (expression_statement "local_90 = 0;" (assignment_expression "local_90 = 0" (identifier "local_90") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_8c = local_a8;" (assignment_expression "local_8c = local_a8" (identifier "local_8c") (= "=") (identifier "local_a8")) (; ";")) (} "}")) (else_clause "else {\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = 0;\n              local_8c = local_a8;\n            }" (else "else") (compound_statement "{\nLAB_000135b7:\n              iVar2 = 0;\n              local_90 = 0;\n              local_8c = local_a8;\n            }" ({ "{") (labeled_statement "LAB_000135b7:\n              iVar2 = 0;" (statement_identifier "LAB_000135b7") (: ":") (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";"))) (expression_statement "local_90 = 0;" (assignment_expression "local_90 = 0" (identifier "local_90") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_8c = local_a8;" (assignment_expression "local_8c = local_a8" (identifier "local_8c") (= "=") (identifier "local_a8")) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar3 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar3 = pbVar3 + 1;\n              if (*pbVar3 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar3 * 2];\n            }\n            local_8c = (int *)FUN_00012e80(local_98);\n            local_94 = (byte *)*param_2;\n            local_90 = *local_8c;\n            if (local_94 == (byte *)local_80) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              *param_2 = (int)local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == 0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = iVar2 * 4;\n            } while (local_8c[iVar2] != 0);\n            local_8c = (int *)((iVar8 + iVar2) * 4);\n          }" (else "else") (compound_statement "{\n            bVar1 = local_9c[(uint)*local_98 * 2];\n            pbVar3 = local_98;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar3 = pbVar3 + 1;\n              if (*pbVar3 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar3 * 2];\n            }\n            local_8c = (int *)FUN_00012e80(local_98);\n            local_94 = (byte *)*param_2;\n            local_90 = *local_8c;\n            if (local_94 == (byte *)local_80) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              *param_2 = (int)local_94;\n            }\n            local_88 = local_8c;\n            if (local_90 == 0) goto LAB_000135b7;\n            iVar2 = 0;\n            do {\n              iVar2 = iVar2 + 1;\n              local_90 = iVar2 * 4;\n            } while (local_8c[iVar2] != 0);\n            local_8c = (int *)((iVar8 + iVar2) * 4);\n          }" ({ "{") (expression_statement "bVar1 = local_9c[(uint)*local_98 * 2];" (assignment_expression "bVar1 = local_9c[(uint)*local_98 * 2]" (identifier "bVar1") (= "=") (subscript_expression "local_9c[(uint)*local_98 * 2]" (identifier "local_9c") ([ "[") (binary_expression "(uint)*local_98 * 2" (binary_expression "(uint)*local_98" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "local_98")) (* "*") (number_literal "2")) (] "]"))) (; ";")) (expression_statement "pbVar3 = local_98;" (assignment_expression "pbVar3 = local_98" (identifier "pbVar3") (= "=") (identifier "local_98")) (; ";")) (while_statement "while ((bVar1 & 0x40) != 0) {\n              pbVar3 = pbVar3 + 1;\n              if (*pbVar3 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar3 * 2];\n            }" (while "while") (parenthesized_expression "((bVar1 & 0x40) != 0)" (( "(") (binary_expression "(bVar1 & 0x40) != 0" (parenthesized_expression "(bVar1 & 0x40)" (( "(") (binary_expression "bVar1 & 0x40" (identifier "bVar1") (& "&") (number_literal "0x40")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n              pbVar3 = pbVar3 + 1;\n              if (*pbVar3 == 0) goto LAB_0001340c;\n              bVar1 = local_9c[(uint)*pbVar3 * 2];\n            }" ({ "{") (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" (identifier "pbVar3") (= "=") (binary_expression "pbVar3 + 1" (identifier "pbVar3") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (*pbVar3 == 0) goto LAB_0001340c;" (if "if") (parenthesized_expression "(*pbVar3 == 0)" (( "(") (binary_expression "*pbVar3 == 0" (pointer_expression "*pbVar3" (* "*") (identifier "pbVar3")) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0001340c;" (goto "goto") (statement_identifier "LAB_0001340c") (; ";"))) (expression_statement "bVar1 = local_9c[(uint)*pbVar3 * 2];" (assignment_expression "bVar1 = local_9c[(uint)*pbVar3 * 2]" (identifier "bVar1") (= "=") (subscript_expression "local_9c[(uint)*pbVar3 * 2]" (identifier "local_9c") ([ "[") (binary_expression "(uint)*pbVar3 * 2" (binary_expression "(uint)*pbVar3" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar3")) (* "*") (number_literal "2")) (] "]"))) (; ";")) (} "}"))) (expression_statement "local_8c = (int *)FUN_00012e80(local_98);" (assignment_expression "local_8c = (int *)FUN_00012e80(local_98)" (identifier "local_8c") (= "=") (cast_expression "(int *)FUN_00012e80(local_98)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00012e80(local_98)" (identifier "FUN_00012e80") (argument_list "(local_98)" (( "(") (identifier "local_98") () ")"))))) (; ";")) (expression_statement "local_94 = (byte *)*param_2;" (assignment_expression "local_94 = (byte *)*param_2" (identifier "local_94") (= "=") (cast_expression "(byte *)*param_2" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (expression_statement "local_90 = *local_8c;" (assignment_expression "local_90 = *local_8c" (identifier "local_90") (= "=") (pointer_expression "*local_8c" (* "*") (identifier "local_8c"))) (; ";")) (if_statement "if (local_94 == (byte *)local_80) {\n              local_94 = (byte *)FUN_00012d90(local_80);\n              *param_2 = (int)local_94;\n            }" (if "if") (parenthesized_expression "(local_94 == (byte *)local_80)" (( "(") (binary_expression "local_94 == (byte *)local_80" (identifier "local_94") (== "==") (cast_expression "(byte *)local_80" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "local_80"))) () ")")) (compound_statement "{\n              local_94 = (byte *)FUN_00012d90(local_80);\n              *param_2 = (int)local_94;\n            }" ({ "{") (expression_statement "local_94 = (byte *)FUN_00012d90(local_80);" (assignment_expression "local_94 = (byte *)FUN_00012d90(local_80)" (identifier "local_94") (= "=") (cast_expression "(byte *)FUN_00012d90(local_80)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00012d90(local_80)" (identifier "FUN_00012d90") (argument_list "(local_80)" (( "(") (identifier "local_80") () ")"))))) (; ";")) (expression_statement "*param_2 = (int)local_94;" (assignment_expression "*param_2 = (int)local_94" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (cast_expression "(int)local_94" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_94"))) (; ";")) (} "}"))) (expression_statement "local_88 = local_8c;" (assignment_expression "local_88 = local_8c" (identifier "local_88") (= "=") (identifier "local_8c")) (; ";")) (if_statement "if (local_90 == 0) goto LAB_000135b7;" (if "if") (parenthesized_expression "(local_90 == 0)" (( "(") (binary_expression "local_90 == 0" (identifier "local_90") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_000135b7;" (goto "goto") (statement_identifier "LAB_000135b7") (; ";"))) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n              iVar2 = iVar2 + 1;\n              local_90 = iVar2 * 4;\n            } while (local_8c[iVar2] != 0);" (do "do") (compound_statement "{\n              iVar2 = iVar2 + 1;\n              local_90 = iVar2 * 4;\n            }" ({ "{") (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_90 = iVar2 * 4;" (assignment_expression "local_90 = iVar2 * 4" (identifier "local_90") (= "=") (binary_expression "iVar2 * 4" (identifier "iVar2") (* "*") (number_literal "4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(local_8c[iVar2] != 0)" (( "(") (binary_expression "local_8c[iVar2] != 0" (subscript_expression "local_8c[iVar2]" (identifier "local_8c") ([ "[") (identifier "iVar2") (] "]")) (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "local_8c = (int *)((iVar8 + iVar2) * 4);" (assignment_expression "local_8c = (int *)((iVar8 + iVar2) * 4)" (identifier "local_8c") (= "=") (cast_expression "(int *)((iVar8 + iVar2) * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((iVar8 + iVar2) * 4)" (( "(") (binary_expression "(iVar8 + iVar2) * 4" (parenthesized_expression "(iVar8 + iVar2)" (( "(") (binary_expression "iVar8 + iVar2" (identifier "iVar8") (+ "+") (identifier "iVar2")) () ")")) (* "*") (number_literal "4")) () ")")))) (; ";")) (} "}")))) (expression_statement "local_84 = local_88;" (assignment_expression "local_84 = local_88" (identifier "local_84") (= "=") (identifier "local_88")) (; ";")) (expression_statement "local_88 = (int *)iVar2;" (assignment_expression "local_88 = (int *)iVar2" (identifier "local_88") (= "=") (cast_expression "(int *)iVar2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "iVar2"))) (; ";")) (expression_statement "free(*(void **)((int)local_94 + (int)local_a8));" (call_expression "free(*(void **)((int)local_94 + (int)local_a8))" (identifier "free") (argument_list "(*(void **)((int)local_94 + (int)local_a8))" (( "(") (pointer_expression "*(void **)((int)local_94 + (int)local_a8)" (* "*") (cast_expression "(void **)((int)local_94 + (int)local_a8)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)local_94 + (int)local_a8)" (( "(") (binary_expression "(int)local_94 + (int)local_a8" (cast_expression "(int)local_94" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_94")) (+ "+") (cast_expression "(int)local_a8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_a8"))) () ")")))) () ")"))) (; ";")) (expression_statement "iVar2 = xrealloc(*param_2,((int)local_88 + 1 + *param_1) * 4);" (assignment_expression "iVar2 = xrealloc(*param_2,((int)local_88 + 1 + *param_1) * 4)" (identifier "iVar2") (= "=") (call_expression "xrealloc(*param_2,((int)local_88 + 1 + *param_1) * 4)" (identifier "xrealloc") (argument_list "(*param_2,((int)local_88 + 1 + *param_1) * 4)" (( "(") (pointer_expression "*param_2" (* "*") (identifier "param_2")) (, ",") (binary_expression "((int)local_88 + 1 + *param_1) * 4" (parenthesized_expression "((int)local_88 + 1 + *param_1)" (( "(") (binary_expression "(int)local_88 + 1 + *param_1" (binary_expression "(int)local_88 + 1" (cast_expression "(int)local_88" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_88")) (+ "+") (number_literal "1")) (+ "+") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) () ")")) (* "*") (number_literal "4")) () ")")))) (; ";")) (expression_statement "*param_2 = iVar2;" (assignment_expression "*param_2 = iVar2" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "local_94 = (byte *)*param_1;" (assignment_expression "local_94 = (byte *)*param_1" (identifier "local_94") (= "=") (cast_expression "(byte *)*param_1" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "memmove((void *)(iVar2 + (int)local_8c),(void *)(iVar2 + 4 + (int)local_a8),\n                  ((int)local_94 - iVar8) * 4);" (call_expression "memmove((void *)(iVar2 + (int)local_8c),(void *)(iVar2 + 4 + (int)local_a8),\n                  ((int)local_94 - iVar8) * 4)" (identifier "memmove") (argument_list "((void *)(iVar2 + (int)local_8c),(void *)(iVar2 + 4 + (int)local_a8),\n                  ((int)local_94 - iVar8) * 4)" (( "(") (cast_expression "(void *)(iVar2 + (int)local_8c)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + (int)local_8c)" (( "(") (binary_expression "iVar2 + (int)local_8c" (identifier "iVar2") (+ "+") (cast_expression "(int)local_8c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_8c"))) () ")"))) (, ",") (cast_expression "(void *)(iVar2 + 4 + (int)local_a8)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 4 + (int)local_a8)" (( "(") (binary_expression "iVar2 + 4 + (int)local_a8" (binary_expression "iVar2 + 4" (identifier "iVar2") (+ "+") (number_literal "4")) (+ "+") (cast_expression "(int)local_a8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_a8"))) () ")"))) (, ",") (binary_expression "((int)local_94 - iVar8) * 4" (parenthesized_expression "((int)local_94 - iVar8)" (( "(") (binary_expression "(int)local_94 - iVar8" (cast_expression "(int)local_94" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_94")) (- "-") (identifier "iVar8")) () ")")) (* "*") (number_literal "4")) () ")"))) (; ";")) (expression_statement "__dest = (void *)((int)local_a8 + *param_2);" (assignment_expression "__dest = (void *)((int)local_a8 + *param_2)" (identifier "__dest") (= "=") (cast_expression "(void *)((int)local_a8 + *param_2)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)local_a8 + *param_2)" (( "(") (binary_expression "(int)local_a8 + *param_2" (cast_expression "(int)local_a8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_a8")) (+ "+") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) () ")")))) (; ";")) (expression_statement "local_a8 = local_84;" (assignment_expression "local_a8 = local_84" (identifier "local_a8") (= "=") (identifier "local_84")) (; ";")) (expression_statement "memcpy(__dest,local_84,local_90);" (call_expression "memcpy(__dest,local_84,local_90)" (identifier "memcpy") (argument_list "(__dest,local_84,local_90)" (( "(") (identifier "__dest") (, ",") (identifier "local_84") (, ",") (identifier "local_90") () ")"))) (; ";")) (expression_statement "*param_1 = (int)local_88 + -1 + *param_1;" (assignment_expression "*param_1 = (int)local_88 + -1 + *param_1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "(int)local_88 + -1 + *param_1" (binary_expression "(int)local_88 + -1" (cast_expression "(int)local_88" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_88")) (+ "+") (number_literal "-1")) (+ "+") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "free(local_a8);" (call_expression "free(local_a8)" (identifier "free") (argument_list "(local_a8)" (( "(") (identifier "local_a8") () ")"))) (; ";")) (expression_statement "free(local_98);" (call_expression "free(local_98)" (identifier "free") (argument_list "(local_98)" (( "(") (identifier "local_98") () ")"))) (; ";")) (expression_statement "iVar8 = iVar7;" (assignment_expression "iVar8 = iVar7" (identifier "iVar8") (= "=") (identifier "iVar7")) (; ";")) (} "}"))) (} "}"))) (expression_statement "iVar7 = iVar8;" (assignment_expression "iVar7 = iVar8" (identifier "iVar7") (= "=") (identifier "iVar8")) (; ";")) (expression_statement "iVar8 = iVar7 + 1;" (assignment_expression "iVar8 = iVar7 + 1" (identifier "iVar8") (= "=") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "fclose(__stream);" (call_expression "fclose(__stream)" (identifier "fclose") (argument_list "(__stream)" (( "(") (identifier "__stream") () ")"))) (; ";")) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" (identifier "iVar2") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (iVar2 <= iVar8) {\n        return;\n      }" (if "if") (parenthesized_expression "(iVar2 <= iVar8)" (( "(") (binary_expression "iVar2 <= iVar8" (identifier "iVar2") (<= "<=") (identifier "iVar8")) () ")")) (compound_statement "{\n        return;\n      }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

void function_1(int *argcp,char ***argvp)

{
  type_1 var_22;
  int var_2;
  type_2 *var_11;
  char **var_18;
  void *__dest;
  char *pcVar4;
  type_1 *var_23;
  type_3 *var_7;
  type_3 *var_6;
  int var_1;
  int var_3;
  type_3 auStack_ac [4];
  char **local_a8;
  int var_4;
  type_4 *local_a0;
  type_5 *local_9c;
  type_1 *var_14;
  char **var_17;
  char *var_25;
  char **local_8c;
  char **local_88;
  char **local_84;
  char **var_20;
  type_6 sb;
  
  var_6 = auStack_ac;
  var_4 = 2000;
  var_20 = *argvp;
  var_2 = *argcp;
  local_a0 = (type_4 *)&sb;
  local_9c = PTR__sch_istable_00016fd0;
  var_3 = 0;
  do {
    var_1 = var_3;
    var_3 = var_1 + 1;
    if (var_2 <= var_3) {
      return;
    }
    while( true ) {
      local_a8 = (char **)(var_3 * 4);
      if (*(*argvp)[var_3] != '@') break;
      var_4 = var_4 + -1;
      if (var_4 == 0) {
        var_7 = &stack0xffffff4c;
        pcVar4 = "%s: error: too many @-files encountered\n";
        goto LAB_000135d9;
      }
      pcVar4 = (*argvp)[var_3] + 1;
      var_2 = var_5(3,pcVar4,local_a0);
      if (var_2 < 0) {
LAB_000133b8:
        var_2 = *argcp;
        break;
      }
      if ((sb.st_mode & 0xf000) == 0x4000) {
        do {
          var_7 = var_6 + -8;
          *(type_7 *)(var_6 + -8) = *(type_7 *)**(type_7 **)(var_6 + 0xb4);
          pcVar4 = "%s: error: @-file refers to a directory\n";
LAB_000135d9:
          *(char **)(var_7 + -4) = pcVar4;
          var_6 = var_7 + -8;
          *(type_7 *)(var_7 + -8) = *(type_7 *)PTR_stderr_00016fc8;
          *(type_7 *)(var_7 + -0xc) = 0x135e7;
          var_8(*(type_2 **)(var_7 + -8),*(char **)(var_7 + -4));
          *(type_7 *)(var_7 + -8) = 1;
          *(type_7 *)(var_7 + -0xc) = 0x135f3;
          var_9();
        } while( true );
      }
      var_11 = var_10(pcVar4,"r");
      if (var_11 == (type_2 *)0x0) goto LAB_000133b8;
      var_2 = var_12(var_11,0,2);
      if (((var_2 != -1) && (var_14 = (type_1 *)var_13(var_11), var_14 != (type_1 *)0xffffffff)) &&
         (var_2 = var_12(var_11,0,0), var_2 != -1)) {
        var_17 = (char **)var_14;
        var_14 = (type_1 *)var_15(var_14 + 1);
        var_18 = (char **)var_16(var_14,1,(size_t)var_17,var_11);
        if ((var_17 == var_18) ||
           (var_17 = var_18, var_2 = var_19(var_11), var_18 = var_17, var_2 == 0)) {
          var_14[(int)var_18] = 0;
          if (*var_14 == 0) {
LAB_0001340c:
            local_88 = (char **)var_15(4);
            *local_88 = (char *)0x0;
            var_17 = *argvp;
            if (var_20 == var_17) {
              var_17 = var_21(var_20);
              var_2 = 0;
              *argvp = var_17;
              var_25 = (char *)0x0;
              local_8c = local_a8;
            }
            else {
LAB_000135b7:
              var_2 = 0;
              var_25 = (char *)0x0;
              local_8c = local_a8;
            }
          }
          else {
            var_22 = local_9c[(uint)*var_14 * 2];
            var_23 = var_14;
            while ((var_22 & 0x40) != 0) {
              var_23 = var_23 + 1;
              if (*var_23 == 0) goto LAB_0001340c;
              var_22 = local_9c[(uint)*var_23 * 2];
            }
            local_8c = var_24((char *)var_14);
            var_17 = *argvp;
            var_25 = *local_8c;
            if (var_17 == var_20) {
              var_17 = var_21(var_20);
              *argvp = var_17;
            }
            local_88 = local_8c;
            if (var_25 == (char *)0x0) goto LAB_000135b7;
            var_2 = 0;
            do {
              var_2 = var_2 + 1;
              var_25 = (char *)(var_2 * 4);
            } while (local_8c[var_2] != (char *)0x0);
            local_8c = (char **)((var_3 + var_2) * 4);
          }
          local_84 = local_88;
          local_88 = (char **)var_2;
          var_26(*(void **)((int)var_17 + (int)local_a8));
          var_18 = (char **)var_27(*argvp,((int)local_88 + 1 + *argcp) * 4);
          *argvp = var_18;
          var_17 = (char **)*argcp;
          var_28((void *)((int)var_18 + (int)local_8c),
                  (void *)((int)(var_18 + 1) + (int)local_a8),((int)var_17 - var_3) * 4);
          __dest = (void *)((int)local_a8 + (int)*argvp);
          local_a8 = local_84;
          var_29(__dest,local_84,(size_t)var_25);
          *argcp = (int)local_88 + -1 + *argcp;
          var_26(local_a8);
          var_26(var_14);
          var_3 = var_1;
        }
      }
      var_1 = var_3;
      var_3 = var_1 + 1;
      var_30(var_11);
      var_2 = *argcp;
      if (var_2 <= var_3) {
        return;
      }
    }
  } while( true );
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (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: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator 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: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (return_statement))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (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: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (character)))) consequence: (break_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 (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content) (escape_sequence)))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))))) (break_statement))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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)))))))))) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content) (escape_sequence)))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (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: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) (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: (number_literal))))) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (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))))) (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (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: (number_literal))))) 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: (number_literal))))) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list)))) condition: (parenthesized_expression (true))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier))))) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))))))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (number_literal)))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) (identifier)))))) (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: (identifier)) right: (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier)))) right: (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal))))))) (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: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (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))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) alternative: (else_clause (compound_statement (labeled_statement label: (statement_identifier) (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: (identifier))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (while_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) 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: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (binary_expression left: (binary_expression left: (parenthesized_expression (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: (identifier) arguments: (argument_list (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (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: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (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)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (identifier)) right: (number_literal)))) (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: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)) right: (pointer_expression argument: (identifier)))) right: (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (binary_expression left: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (pointer_expression argument: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)) right: (pointer_expression argument: (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (return_statement)))))) condition: (parenthesized_expression (true))))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void MASKED(int *param_1,int *param_2)

{
  byte bVar1;
  int iVar2;
  FILE *__stream;
  byte *pbVar3;
  void *__dest;
  char *pcVar4;
  undefined1 *puVar5;
  undefined1 *puVar6;
  int iVar7;
  int iVar8;
  undefined1 auStack_ac [4];
  int *local_a8;
  int local_a4;
  stat64 *local_a0;
  undefined *local_9c;
  byte *local_98;
  byte *local_94;
  size_t local_90;
  int *local_8c;
  int *local_88;
  int *local_84;
  int local_80;
  stat64 local_7c;
  undefined4 uStack_14;
  
  uStack_14 = 0x1322b;
  puVar6 = auStack_ac;
  local_a4 = 2000;
  local_80 = *param_2;
  iVar2 = *param_1;
  local_a0 = &local_7c;
  local_9c = PTR__sch_istable_00016fd0;
  iVar8 = 0;
  do {
    iVar7 = iVar8;
    iVar8 = iVar7 + 1;
    if (iVar2 <= iVar8) {
      return;
    }
    while( true ) {
      local_a8 = (int *)(iVar8 * 4);
      pcVar4 = *(char **)(*param_2 + iVar8 * 4);
      if (*pcVar4 != '@') break;
      local_a4 = local_a4 + -1;
      if (local_a4 == 0) {
        puVar5 = &stack0xffffff4c;
        pcVar4 = "%s: error: too many @-files encountered\n";
        goto LAB_000135d9;
      }
      pcVar4 = pcVar4 + 1;
      iVar2 = __xstat64(3,pcVar4,local_a0);
      if (iVar2 < 0) {
LAB_000133b8:
        iVar2 = *param_1;
        break;
      }
      if ((local_7c.st_mode & 0xf000) == 0x4000) {
        do {
          puVar5 = puVar6 + -8;
          *(undefined4 *)(puVar6 + -8) = *(undefined4 *)**(undefined4 **)(puVar6 + 0xb4);
          pcVar4 = "%s: error: @-file refers to a directory\n";
LAB_000135d9:
          *(char **)(puVar5 + -4) = pcVar4;
          puVar6 = puVar5 + -8;
          *(undefined4 *)(puVar5 + -8) = *(undefined4 *)PTR_stderr_00016fc8;
          *(undefined4 *)(puVar5 + -0xc) = 0x135e7;
          fprintf(*(FILE **)(puVar5 + -8),*(char **)(puVar5 + -4));
          *(undefined4 *)(puVar5 + -8) = 1;
          *(undefined4 *)(puVar5 + -0xc) = 0x135f3;
          xexit();
        } while( true );
      }
      __stream = fopen64(pcVar4,"r");
      if (__stream == (FILE *)0x0) goto LAB_000133b8;
      iVar2 = fseek(__stream,0,2);
      if (((iVar2 != -1) && (local_98 = (byte *)ftell(__stream), local_98 != (byte *)0xffffffff)) &&
         (iVar2 = fseek(__stream,0,0), iVar2 != -1)) {
        local_94 = local_98;
        local_98 = (byte *)xmalloc(local_98 + 1);
        pbVar3 = (byte *)fread(local_98,1,(size_t)local_94,__stream);
        if ((local_94 == pbVar3) ||
           (local_94 = pbVar3, iVar2 = ferror(__stream), pbVar3 = local_94, iVar2 == 0)) {
          local_98[(int)pbVar3] = 0;
          if (*local_98 == 0) {
LAB_0001340c:
            local_88 = (int *)xmalloc(4);
            *local_88 = 0;
            local_94 = (byte *)*param_2;
            if ((byte *)local_80 == local_94) {
              local_94 = (byte *)FUN_00012d90(local_80);
              iVar2 = 0;
              *param_2 = (int)local_94;
              local_90 = 0;
              local_8c = local_a8;
            }
            else {
LAB_000135b7:
              iVar2 = 0;
              local_90 = 0;
              local_8c = local_a8;
            }
          }
          else {
            bVar1 = local_9c[(uint)*local_98 * 2];
            pbVar3 = local_98;
            while ((bVar1 & 0x40) != 0) {
              pbVar3 = pbVar3 + 1;
              if (*pbVar3 == 0) goto LAB_0001340c;
              bVar1 = local_9c[(uint)*pbVar3 * 2];
            }
            local_8c = (int *)FUN_00012e80(local_98);
            local_94 = (byte *)*param_2;
            local_90 = *local_8c;
            if (local_94 == (byte *)local_80) {
              local_94 = (byte *)FUN_00012d90(local_80);
              *param_2 = (int)local_94;
            }
            local_88 = local_8c;
            if (local_90 == 0) goto LAB_000135b7;
            iVar2 = 0;
            do {
              iVar2 = iVar2 + 1;
              local_90 = iVar2 * 4;
            } while (local_8c[iVar2] != 0);
            local_8c = (int *)((iVar8 + iVar2) * 4);
          }
          local_84 = local_88;
          local_88 = (int *)iVar2;
          free(*(void **)((int)local_94 + (int)local_a8));
          iVar2 = xrealloc(*param_2,((int)local_88 + 1 + *param_1) * 4);
          *param_2 = iVar2;
          local_94 = (byte *)*param_1;
          memmove((void *)(iVar2 + (int)local_8c),(void *)(iVar2 + 4 + (int)local_a8),
                  ((int)local_94 - iVar8) * 4);
          __dest = (void *)((int)local_a8 + *param_2);
          local_a8 = local_84;
          memcpy(__dest,local_84,local_90);
          *param_1 = (int)local_88 + -1 + *param_1;
          free(local_a8);
          free(local_98);
          iVar8 = iVar7;
        }
      }
      iVar7 = iVar8;
      iVar8 = iVar7 + 1;
      fclose(__stream);
      iVar2 = *param_1;
      if (iVar2 <= iVar8) {
        return;
      }
    }
  } while( true );
}

