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

{
  byte bVar1;
  char **argv;
  int iVar2;
  FILE *__stream;
  size_t sVar3;
  byte *input;
  size_t sVar4;
  char **__src;
  char **ppcVar5;
  byte *pbVar6;
  long lVar7;
  char *pcVar8;
  int iVar9;
  int iVar10;
  long lVar11;
  char *__format;
  int iVar12;
  long local_100;
  int local_d8;
  stat sb;
  
  argv = *argvp;
  iVar2 = *argcp;
  local_d8 = 2000;
  iVar10 = 0;
  do {
    iVar9 = iVar10 + 1;
    iVar12 = iVar10;
    if (iVar2 <= iVar9) {
      return;
    }
    while( true ) {
      lVar11 = (long)iVar9;
      local_100 = lVar11 * 8;
      pcVar8 = (*argvp)[lVar11];
      iVar10 = iVar9;
      if (*pcVar8 != '@') break;
      local_d8 = local_d8 + -1;
      if (local_d8 == 0) {
        pcVar8 = **argvp;
        __format = "%s: error: too many @-files encountered\n";
LAB_00105032:
        fprintf(stderr,__format,pcVar8);
                    /* WARNING: Subroutine does not return */
        xexit(1);
      }
      pcVar8 = pcVar8 + 1;
      iVar2 = __xstat(1,pcVar8,(stat *)&sb);
      if (iVar2 < 0) {
LAB_00104e70:
        iVar2 = *argcp;
        break;
      }
      if ((sb.st_mode & 0xf000) == 0x4000) {
        __format = "%s: error: @-file refers to a directory\n";
        pcVar8 = **argvp;
        goto LAB_00105032;
      }
      __stream = fopen(pcVar8,"r");
      if (__stream == (FILE *)0x0) goto LAB_00104e70;
      iVar2 = fseek(__stream,0,2);
      if (((iVar2 != -1) && (sVar3 = ftell(__stream), sVar3 != 0xffffffffffffffff)) &&
         (iVar2 = fseek(__stream,0,0), iVar2 != -1)) {
        input = (byte *)xmalloc(sVar3 + 1);
        sVar4 = fread(input,1,sVar3,__stream);
        if ((sVar3 == sVar4) || (iVar2 = ferror(__stream), iVar2 == 0)) {
          input[sVar4] = 0;
          if (*input == 0) {
LAB_00104ec0:
            __src = (char **)xmalloc(8);
            *__src = (char *)0x0;
            ppcVar5 = *argvp;
            if (argv == ppcVar5) {
              ppcVar5 = dupargv(argv);
              iVar2 = 0;
              lVar7 = 0;
              *argvp = ppcVar5;
              sVar3 = 0;
            }
            else {
LAB_00105016:
              iVar2 = 0;
              lVar7 = 0;
              sVar3 = 0;
            }
          }
          else {
            bVar1 = (byte)_sch_istable[*input];
            pbVar6 = input;
            while ((bVar1 & 0x40) != 0) {
              pbVar6 = pbVar6 + 1;
              if (*pbVar6 == 0) goto LAB_00104ec0;
              bVar1 = (byte)_sch_istable[*pbVar6];
            }
            __src = buildargv((char *)input);
            ppcVar5 = *argvp;
            pcVar8 = *__src;
            if (ppcVar5 == argv) {
              ppcVar5 = dupargv(argv);
              *argvp = ppcVar5;
            }
            if (pcVar8 == (char *)0x0) goto LAB_00105016;
            lVar7 = 0;
            do {
              lVar7 = lVar7 + 1;
              sVar3 = lVar7 * 8;
            } while (__src[lVar7] != (char *)0x0);
            iVar2 = (int)lVar7;
            local_100 = (lVar11 + lVar7) * 8;
          }
          free(ppcVar5[lVar11]);
          ppcVar5 = (char **)xrealloc(*argvp,(lVar7 + 1 + (long)*argcp) * 8);
          iVar10 = *argcp;
          *argvp = ppcVar5;
          memmove((void *)(local_100 + (long)ppcVar5),ppcVar5 + lVar11 + 1,
                  (long)(iVar10 - iVar9) << 3);
          memcpy(*argvp + lVar11,__src,sVar3);
          *argcp = iVar2 + -1 + *argcp;
          free(__src);
          free(input);
          iVar10 = iVar12;
        }
      }
      fclose(__stream);
      iVar9 = iVar10 + 1;
      iVar2 = *argcp;
      iVar12 = iVar10;
      if (iVar2 <= iVar9) {
        return;
      }
    }
  } while( true );
}



void FUN_00104d00(int *param_1,long *param_2)

{
  long lVar1;
  byte bVar2;
  long lVar3;
  int iVar4;
  FILE *__stream;
  size_t sVar5;
  byte *__ptr;
  size_t sVar6;
  long *__src;
  long lVar7;
  byte *pbVar8;
  long lVar9;
  undefined8 uVar10;
  int iVar11;
  int iVar12;
  long lVar13;
  char *pcVar14;
  int iVar15;
  long local_100;
  int local_d8;
  stat local_c8;
  
  lVar3 = *param_2;
  iVar4 = *param_1;
  local_d8 = 2000;
  iVar12 = 0;
  do {
    iVar11 = iVar12 + 1;
    iVar15 = iVar12;
    if (iVar4 <= iVar11) {
      return;
    }
    while( true ) {
      lVar13 = (long)iVar11;
      lVar1 = lVar13 * 8;
      pcVar14 = (char *)((undefined8 *)*param_2)[lVar13];
      iVar12 = iVar11;
      if (*pcVar14 != '@') break;
      local_d8 = local_d8 + -1;
      if (local_d8 == 0) {
        uVar10 = *(undefined8 *)*param_2;
        pcVar14 = "%s: error: too many @-files encountered\n";
        goto LAB_00105032;
      }
      pcVar14 = pcVar14 + 1;
      iVar4 = __xstat(1,pcVar14,&local_c8);
      if (iVar4 < 0) {
LAB_00104e70:
        iVar4 = *param_1;
        break;
      }
      if ((local_c8.st_mode & 0xf000) == 0x4000) {
        do {
          pcVar14 = "%s: error: @-file refers to a directory\n";
          uVar10 = *(undefined8 *)*param_2;
LAB_00105032:
          fprintf(stderr,pcVar14,uVar10);
          FUN_00105150(1);
        } while( true );
      }
      __stream = fopen(pcVar14,"r");
      if (__stream == (FILE *)0x0) goto LAB_00104e70;
      iVar4 = fseek(__stream,0,2);
      if (((iVar4 != -1) && (sVar5 = ftell(__stream), sVar5 != 0xffffffffffffffff)) &&
         (iVar4 = fseek(__stream,0,0), iVar4 != -1)) {
        __ptr = (byte *)FUN_00105220(sVar5 + 1);
        sVar6 = fread(__ptr,1,sVar5,__stream);
        if ((sVar5 == sVar6) || (iVar4 = ferror(__stream), iVar4 == 0)) {
          __ptr[sVar6] = 0;
          local_100 = lVar1;
          if (*__ptr == 0) {
LAB_00104ec0:
            __src = (long *)FUN_00105220(8);
            *__src = 0;
            lVar7 = *param_2;
            if (lVar3 == lVar7) {
              lVar7 = FUN_001048c0();
              iVar4 = 0;
              lVar9 = 0;
              *param_2 = lVar7;
              sVar5 = 0;
            }
            else {
LAB_00105016:
              iVar4 = 0;
              lVar9 = 0;
              sVar5 = 0;
            }
          }
          else {
            bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2];
            pbVar8 = __ptr;
            while ((bVar2 & 0x40) != 0) {
              pbVar8 = pbVar8 + 1;
              if (*pbVar8 == 0) goto LAB_00104ec0;
              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];
            }
            __src = (long *)FUN_001049b0(__ptr);
            lVar7 = *param_2;
            lVar9 = *__src;
            if (lVar7 == lVar3) {
              lVar7 = FUN_001048c0(lVar3);
              *param_2 = lVar7;
            }
            if (lVar9 == 0) goto LAB_00105016;
            lVar9 = 0;
            do {
              lVar9 = lVar9 + 1;
              sVar5 = lVar9 * 8;
            } while (__src[lVar9] != 0);
            iVar4 = (int)lVar9;
            local_100 = (lVar13 + lVar9) * 8;
          }
          free(*(void **)(lVar7 + lVar13 * 8));
          lVar13 = FUN_001052a0(*param_2,(lVar9 + 1 + (long)*param_1) * 8);
          iVar12 = *param_1;
          *param_2 = lVar13;
          memmove((void *)(local_100 + lVar13),(void *)(lVar13 + 8 + lVar1),
                  (long)(iVar12 - iVar11) << 3);
          memcpy((void *)(*param_2 + lVar1),__src,sVar5);
          *param_1 = iVar4 + -1 + *param_1;
          free(__src);
          free(__ptr);
          iVar12 = iVar15;
        }
      }
      fclose(__stream);
      iVar11 = iVar12 + 1;
      iVar4 = *param_1;
      iVar15 = iVar12;
      if (iVar4 <= iVar11) {
        return;
      }
    }
  } while( true );
}


PUSH R15
MOV R15,RSI
PUSH R14
XOR R14D,R14D
PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0xe8
MOV RAX,qword ptr [RSI]
MOV EDX,dword ptr [RDI]
MOV qword ptr [RSP + 0x8],RDI
MOV qword ptr [RSP + 0x48],RAX
LEA RAX,[RSP + 0x50]
MOV dword ptr [RSP + 0x40],0x7d0
MOV qword ptr [RSP + 0x10],RAX
NOP dword ptr [RAX + RAX*0x1]
LEA EBX,[R14 + 0x1]
CMP EBX,EDX
JGE 0x00104e5e
MOV RAX,qword ptr [R15]
MOVSXD RBP,EBX
LEA R13,[RBP*0x8]
MOV RDI,qword ptr [RAX + RBP*0x8]
CMP byte ptr [RDI],0x40
JNZ 0x00104e77
SUB dword ptr [RSP + 0x40],0x1
JZ 0x00105028
LEA R12,[RDI + 0x1]
MOV RDX,qword ptr [RSP + 0x10]
MOV EDI,0x1
MOV RSI,R12
CALL 0x00102190
TEST EAX,EAX
JS 0x00104e70
MOV EAX,dword ptr [RSP + 0x68]
AND EAX,0xf000
CMP EAX,0x4000
JZ 0x0010504a
MOV RDI,R12
LEA RSI,[0x106f71]
CALL 0x00102200
MOV R12,RAX
TEST RAX,RAX
JZ 0x00104e70
XOR ESI,ESI
MOV EDX,0x2
MOV RDI,RAX
CALL 0x001021c0
CMP EAX,-0x1
JZ 0x00104e40
MOV RDI,R12
CALL 0x00102170
MOV qword ptr [RSP + 0x18],RAX
CMP RAX,-0x1
JZ 0x00104e40
XOR EDX,EDX
XOR ESI,ESI
MOV RDI,R12
CALL 0x001021c0
CMP EAX,-0x1
JZ 0x00104e40
MOV RAX,qword ptr [RSP + 0x18]
LEA RDI,[RAX + 0x1]
CALL 0x00105220
MOV RDX,qword ptr [RSP + 0x18]
MOV RCX,R12
MOV ESI,0x1
MOV RDI,RAX
MOV qword ptr [RSP + 0x20],RAX
CALL 0x00102080
MOV RDX,RAX
CMP qword ptr [RSP + 0x18],RAX
JZ 0x00104e80
MOV RDI,R12
MOV qword ptr [RSP + 0x18],RAX
CALL 0x00102070
MOV RDX,qword ptr [RSP + 0x18]
TEST EAX,EAX
JZ 0x00104e80
NOP
MOV RDI,R12
MOV R14D,EBX
CALL 0x001020a0
MOV RAX,qword ptr [RSP + 0x8]
LEA EBX,[R14 + 0x1]
MOV EDX,dword ptr [RAX]
CMP EBX,EDX
JL 0x00104d4c
ADD RSP,0xe8
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
MOV RAX,qword ptr [RSP + 0x8]
MOV EDX,dword ptr [RAX]
MOV R14D,EBX
JMP 0x00104d40
MOV RAX,qword ptr [RSP + 0x20]
MOV byte ptr [RAX + RDX*0x1],0x0
MOVZX EAX,byte ptr [RAX]
TEST AL,AL
JZ 0x00104ec0
LEA RSI,[0x107180]
TEST byte ptr [RSI + RAX*0x2],0x40
JZ 0x00104f10
MOV RDX,qword ptr [RSP + 0x20]
JMP 0x00104eb5
LEA RSI,[0x107180]
TEST byte ptr [RSI + RAX*0x2],0x40
JZ 0x00104f10
ADD RDX,0x1
MOVZX EAX,byte ptr [RDX]
TEST AL,AL
JNZ 0x00104ea8
MOV EDI,0x8
CALL 0x00105220
MOV RDI,qword ptr [RSP + 0x48]
MOV RCX,RAX
MOV qword ptr [RAX],0x0
MOV RAX,qword ptr [R15]
CMP RDI,RAX
JNZ 0x00105016
MOV qword ptr [RSP + 0x28],RCX
CALL 0x001048c0
MOV qword ptr [RSP + 0x18],R13
XOR R9D,R9D
XOR EDX,EDX
MOV qword ptr [R15],RAX
XOR R8D,R8D
MOV RCX,qword ptr [RSP + 0x28]
JMP 0x00104f64
MOV RDI,qword ptr [RSP + 0x20]
CALL 0x001049b0
MOV RCX,RAX
MOV RAX,qword ptr [R15]
MOV RDX,qword ptr [RCX]
CMP RAX,qword ptr [RSP + 0x48]
JZ 0x00105059
TEST RDX,RDX
JZ 0x00105016
XOR EDX,EDX
NOP dword ptr [RAX]
ADD RDX,0x1
CMP qword ptr [RCX + RDX*0x8],0x0
LEA R8,[RDX*0x8]
JNZ 0x00104f40
LEA RSI,[RBP + RDX*0x1]
MOV R9D,EDX
SHL RSI,0x3
MOV qword ptr [RSP + 0x18],RSI
MOV RDI,qword ptr [RAX + RBP*0x8]
MOV dword ptr [RSP + 0x44],R9D
MOV qword ptr [RSP + 0x38],R8
MOV qword ptr [RSP + 0x30],RCX
MOV qword ptr [RSP + 0x28],RDX
CALL 0x00102030
MOV RBP,qword ptr [RSP + 0x8]
MOV RDX,qword ptr [RSP + 0x28]
MOV RDI,qword ptr [R15]
MOVSXD RAX,dword ptr [RBP]
LEA RSI,[RDX + RAX*0x1 + 0x1]
SHL RSI,0x3
CALL 0x001052a0
MOV ECX,dword ptr [RBP]
MOV RDI,qword ptr [RSP + 0x18]
MOV qword ptr [R15],RAX
LEA RSI,[RAX + R13*0x1 + 0x8]
MOV EDX,ECX
ADD RDI,RAX
MOV dword ptr [RSP + 0x28],ECX
SUB EDX,EBX
MOV EBX,R14D
MOVSXD RDX,EDX
SHL RDX,0x3
CALL 0x001021f0
MOV R8,qword ptr [RSP + 0x38]
MOV RCX,qword ptr [RSP + 0x30]
MOV RDI,qword ptr [R15]
MOV RSI,RCX
MOV RDX,R8
MOV qword ptr [RSP + 0x18],RCX
ADD RDI,R13
CALL 0x00102180
MOV EAX,dword ptr [RBP]
MOV R9D,dword ptr [RSP + 0x44]
MOV RCX,qword ptr [RSP + 0x18]
LEA EAX,[R9 + RAX*0x1 + -0x1]
MOV dword ptr [RBP],EAX
MOV RDI,RCX
CALL 0x00102030
MOV RDI,qword ptr [RSP + 0x20]
CALL 0x00102030
JMP 0x00104e40
MOV qword ptr [RSP + 0x18],R13
XOR R9D,R9D
XOR EDX,EDX
XOR R8D,R8D
JMP 0x00104f64
MOV RDX,qword ptr [RAX]
LEA RSI,[0x106f18]
MOV RDI,qword ptr [0x0010a300]
XOR EAX,EAX
CALL 0x00102160
MOV EDI,0x1
CALL 0x00105150
MOV RAX,qword ptr [R15]
LEA RSI,[0x106f48]
MOV RDX,qword ptr [RAX]
JMP 0x00105032
MOV RDI,qword ptr [RSP + 0x48]
MOV qword ptr [RSP + 0x28],RCX
MOV qword ptr [RSP + 0x18],RDX
CALL 0x001048c0
MOV RCX,qword ptr [RSP + 0x28]
MOV RDX,qword ptr [RSP + 0x18]
MOV qword ptr [R15],RAX
JMP 0x00104f2e
(translation_unit "void FUN_00104d00(int *param_1,long *param_2)\n\n{\n  long lVar1;\n  byte bVar2;\n  long lVar3;\n  int iVar4;\n  FILE *__stream;\n  size_t sVar5;\n  byte *__ptr;\n  size_t sVar6;\n  long *__src;\n  long lVar7;\n  byte *pbVar8;\n  long lVar9;\n  undefined8 uVar10;\n  int iVar11;\n  int iVar12;\n  long lVar13;\n  char *pcVar14;\n  int iVar15;\n  long local_100;\n  int local_d8;\n  stat local_c8;\n  \n  lVar3 = *param_2;\n  iVar4 = *param_1;\n  local_d8 = 2000;\n  iVar12 = 0;\n  do {\n    iVar11 = iVar12 + 1;\n    iVar15 = iVar12;\n    if (iVar4 <= iVar11) {\n      return;\n    }\n    while( true ) {\n      lVar13 = (long)iVar11;\n      lVar1 = lVar13 * 8;\n      pcVar14 = (char *)((undefined8 *)*param_2)[lVar13];\n      iVar12 = iVar11;\n      if (*pcVar14 != '@') break;\n      local_d8 = local_d8 + -1;\n      if (local_d8 == 0) {\n        uVar10 = *(undefined8 *)*param_2;\n        pcVar14 = "%s: error: too many @-files encountered\n";\n        goto LAB_00105032;\n      }\n      pcVar14 = pcVar14 + 1;\n      iVar4 = __xstat(1,pcVar14,&local_c8);\n      if (iVar4 < 0) {\nLAB_00104e70:\n        iVar4 = *param_1;\n        break;\n      }\n      if ((local_c8.st_mode & 0xf000) == 0x4000) {\n        do {\n          pcVar14 = "%s: error: @-file refers to a directory\n";\n          uVar10 = *(undefined8 *)*param_2;\nLAB_00105032:\n          fprintf(stderr,pcVar14,uVar10);\n          FUN_00105150(1);\n        } while( true );\n      }\n      __stream = fopen(pcVar14,"r");\n      if (__stream == (FILE *)0x0) goto LAB_00104e70;\n      iVar4 = fseek(__stream,0,2);\n      if (((iVar4 != -1) && (sVar5 = ftell(__stream), sVar5 != 0xffffffffffffffff)) &&\n         (iVar4 = fseek(__stream,0,0), iVar4 != -1)) {\n        __ptr = (byte *)FUN_00105220(sVar5 + 1);\n        sVar6 = fread(__ptr,1,sVar5,__stream);\n        if ((sVar5 == sVar6) || (iVar4 = ferror(__stream), iVar4 == 0)) {\n          __ptr[sVar6] = 0;\n          local_100 = lVar1;\n          if (*__ptr == 0) {\nLAB_00104ec0:\n            __src = (long *)FUN_00105220(8);\n            *__src = 0;\n            lVar7 = *param_2;\n            if (lVar3 == lVar7) {\n              lVar7 = FUN_001048c0();\n              iVar4 = 0;\n              lVar9 = 0;\n              *param_2 = lVar7;\n              sVar5 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar4 = 0;\n              lVar9 = 0;\n              sVar5 = 0;\n            }\n          }\n          else {\n            bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2];\n            pbVar8 = __ptr;\n            while ((bVar2 & 0x40) != 0) {\n              pbVar8 = pbVar8 + 1;\n              if (*pbVar8 == 0) goto LAB_00104ec0;\n              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];\n            }\n            __src = (long *)FUN_001049b0(__ptr);\n            lVar7 = *param_2;\n            lVar9 = *__src;\n            if (lVar7 == lVar3) {\n              lVar7 = FUN_001048c0(lVar3);\n              *param_2 = lVar7;\n            }\n            if (lVar9 == 0) goto LAB_00105016;\n            lVar9 = 0;\n            do {\n              lVar9 = lVar9 + 1;\n              sVar5 = lVar9 * 8;\n            } while (__src[lVar9] != 0);\n            iVar4 = (int)lVar9;\n            local_100 = (lVar13 + lVar9) * 8;\n          }\n          free(*(void **)(lVar7 + lVar13 * 8));\n          lVar13 = FUN_001052a0(*param_2,(lVar9 + 1 + (long)*param_1) * 8);\n          iVar12 = *param_1;\n          *param_2 = lVar13;\n          memmove((void *)(local_100 + lVar13),(void *)(lVar13 + 8 + lVar1),\n                  (long)(iVar12 - iVar11) << 3);\n          memcpy((void *)(*param_2 + lVar1),__src,sVar5);\n          *param_1 = iVar4 + -1 + *param_1;\n          free(__src);\n          free(__ptr);\n          iVar12 = iVar15;\n        }\n      }\n      fclose(__stream);\n      iVar11 = iVar12 + 1;\n      iVar4 = *param_1;\n      iVar15 = iVar12;\n      if (iVar4 <= iVar11) {\n        return;\n      }\n    }\n  } while( true );\n}\n\n" (function_definition "void FUN_00104d00(int *param_1,long *param_2)\n\n{\n  long lVar1;\n  byte bVar2;\n  long lVar3;\n  int iVar4;\n  FILE *__stream;\n  size_t sVar5;\n  byte *__ptr;\n  size_t sVar6;\n  long *__src;\n  long lVar7;\n  byte *pbVar8;\n  long lVar9;\n  undefined8 uVar10;\n  int iVar11;\n  int iVar12;\n  long lVar13;\n  char *pcVar14;\n  int iVar15;\n  long local_100;\n  int local_d8;\n  stat local_c8;\n  \n  lVar3 = *param_2;\n  iVar4 = *param_1;\n  local_d8 = 2000;\n  iVar12 = 0;\n  do {\n    iVar11 = iVar12 + 1;\n    iVar15 = iVar12;\n    if (iVar4 <= iVar11) {\n      return;\n    }\n    while( true ) {\n      lVar13 = (long)iVar11;\n      lVar1 = lVar13 * 8;\n      pcVar14 = (char *)((undefined8 *)*param_2)[lVar13];\n      iVar12 = iVar11;\n      if (*pcVar14 != '@') break;\n      local_d8 = local_d8 + -1;\n      if (local_d8 == 0) {\n        uVar10 = *(undefined8 *)*param_2;\n        pcVar14 = "%s: error: too many @-files encountered\n";\n        goto LAB_00105032;\n      }\n      pcVar14 = pcVar14 + 1;\n      iVar4 = __xstat(1,pcVar14,&local_c8);\n      if (iVar4 < 0) {\nLAB_00104e70:\n        iVar4 = *param_1;\n        break;\n      }\n      if ((local_c8.st_mode & 0xf000) == 0x4000) {\n        do {\n          pcVar14 = "%s: error: @-file refers to a directory\n";\n          uVar10 = *(undefined8 *)*param_2;\nLAB_00105032:\n          fprintf(stderr,pcVar14,uVar10);\n          FUN_00105150(1);\n        } while( true );\n      }\n      __stream = fopen(pcVar14,"r");\n      if (__stream == (FILE *)0x0) goto LAB_00104e70;\n      iVar4 = fseek(__stream,0,2);\n      if (((iVar4 != -1) && (sVar5 = ftell(__stream), sVar5 != 0xffffffffffffffff)) &&\n         (iVar4 = fseek(__stream,0,0), iVar4 != -1)) {\n        __ptr = (byte *)FUN_00105220(sVar5 + 1);\n        sVar6 = fread(__ptr,1,sVar5,__stream);\n        if ((sVar5 == sVar6) || (iVar4 = ferror(__stream), iVar4 == 0)) {\n          __ptr[sVar6] = 0;\n          local_100 = lVar1;\n          if (*__ptr == 0) {\nLAB_00104ec0:\n            __src = (long *)FUN_00105220(8);\n            *__src = 0;\n            lVar7 = *param_2;\n            if (lVar3 == lVar7) {\n              lVar7 = FUN_001048c0();\n              iVar4 = 0;\n              lVar9 = 0;\n              *param_2 = lVar7;\n              sVar5 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar4 = 0;\n              lVar9 = 0;\n              sVar5 = 0;\n            }\n          }\n          else {\n            bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2];\n            pbVar8 = __ptr;\n            while ((bVar2 & 0x40) != 0) {\n              pbVar8 = pbVar8 + 1;\n              if (*pbVar8 == 0) goto LAB_00104ec0;\n              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];\n            }\n            __src = (long *)FUN_001049b0(__ptr);\n            lVar7 = *param_2;\n            lVar9 = *__src;\n            if (lVar7 == lVar3) {\n              lVar7 = FUN_001048c0(lVar3);\n              *param_2 = lVar7;\n            }\n            if (lVar9 == 0) goto LAB_00105016;\n            lVar9 = 0;\n            do {\n              lVar9 = lVar9 + 1;\n              sVar5 = lVar9 * 8;\n            } while (__src[lVar9] != 0);\n            iVar4 = (int)lVar9;\n            local_100 = (lVar13 + lVar9) * 8;\n          }\n          free(*(void **)(lVar7 + lVar13 * 8));\n          lVar13 = FUN_001052a0(*param_2,(lVar9 + 1 + (long)*param_1) * 8);\n          iVar12 = *param_1;\n          *param_2 = lVar13;\n          memmove((void *)(local_100 + lVar13),(void *)(lVar13 + 8 + lVar1),\n                  (long)(iVar12 - iVar11) << 3);\n          memcpy((void *)(*param_2 + lVar1),__src,sVar5);\n          *param_1 = iVar4 + -1 + *param_1;\n          free(__src);\n          free(__ptr);\n          iVar12 = iVar15;\n        }\n      }\n      fclose(__stream);\n      iVar11 = iVar12 + 1;\n      iVar4 = *param_1;\n      iVar15 = iVar12;\n      if (iVar4 <= iVar11) {\n        return;\n      }\n    }\n  } while( true );\n}" primitive_type (function_declarator "FUN_00104d00(int *param_1,long *param_2)" identifier (parameter_list "(int *param_1,long *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long *param_2" (sized_type_specifier "long" long) (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  byte bVar2;\n  long lVar3;\n  int iVar4;\n  FILE *__stream;\n  size_t sVar5;\n  byte *__ptr;\n  size_t sVar6;\n  long *__src;\n  long lVar7;\n  byte *pbVar8;\n  long lVar9;\n  undefined8 uVar10;\n  int iVar11;\n  int iVar12;\n  long lVar13;\n  char *pcVar14;\n  int iVar15;\n  long local_100;\n  int local_d8;\n  stat local_c8;\n  \n  lVar3 = *param_2;\n  iVar4 = *param_1;\n  local_d8 = 2000;\n  iVar12 = 0;\n  do {\n    iVar11 = iVar12 + 1;\n    iVar15 = iVar12;\n    if (iVar4 <= iVar11) {\n      return;\n    }\n    while( true ) {\n      lVar13 = (long)iVar11;\n      lVar1 = lVar13 * 8;\n      pcVar14 = (char *)((undefined8 *)*param_2)[lVar13];\n      iVar12 = iVar11;\n      if (*pcVar14 != '@') break;\n      local_d8 = local_d8 + -1;\n      if (local_d8 == 0) {\n        uVar10 = *(undefined8 *)*param_2;\n        pcVar14 = "%s: error: too many @-files encountered\n";\n        goto LAB_00105032;\n      }\n      pcVar14 = pcVar14 + 1;\n      iVar4 = __xstat(1,pcVar14,&local_c8);\n      if (iVar4 < 0) {\nLAB_00104e70:\n        iVar4 = *param_1;\n        break;\n      }\n      if ((local_c8.st_mode & 0xf000) == 0x4000) {\n        do {\n          pcVar14 = "%s: error: @-file refers to a directory\n";\n          uVar10 = *(undefined8 *)*param_2;\nLAB_00105032:\n          fprintf(stderr,pcVar14,uVar10);\n          FUN_00105150(1);\n        } while( true );\n      }\n      __stream = fopen(pcVar14,"r");\n      if (__stream == (FILE *)0x0) goto LAB_00104e70;\n      iVar4 = fseek(__stream,0,2);\n      if (((iVar4 != -1) && (sVar5 = ftell(__stream), sVar5 != 0xffffffffffffffff)) &&\n         (iVar4 = fseek(__stream,0,0), iVar4 != -1)) {\n        __ptr = (byte *)FUN_00105220(sVar5 + 1);\n        sVar6 = fread(__ptr,1,sVar5,__stream);\n        if ((sVar5 == sVar6) || (iVar4 = ferror(__stream), iVar4 == 0)) {\n          __ptr[sVar6] = 0;\n          local_100 = lVar1;\n          if (*__ptr == 0) {\nLAB_00104ec0:\n            __src = (long *)FUN_00105220(8);\n            *__src = 0;\n            lVar7 = *param_2;\n            if (lVar3 == lVar7) {\n              lVar7 = FUN_001048c0();\n              iVar4 = 0;\n              lVar9 = 0;\n              *param_2 = lVar7;\n              sVar5 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar4 = 0;\n              lVar9 = 0;\n              sVar5 = 0;\n            }\n          }\n          else {\n            bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2];\n            pbVar8 = __ptr;\n            while ((bVar2 & 0x40) != 0) {\n              pbVar8 = pbVar8 + 1;\n              if (*pbVar8 == 0) goto LAB_00104ec0;\n              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];\n            }\n            __src = (long *)FUN_001049b0(__ptr);\n            lVar7 = *param_2;\n            lVar9 = *__src;\n            if (lVar7 == lVar3) {\n              lVar7 = FUN_001048c0(lVar3);\n              *param_2 = lVar7;\n            }\n            if (lVar9 == 0) goto LAB_00105016;\n            lVar9 = 0;\n            do {\n              lVar9 = lVar9 + 1;\n              sVar5 = lVar9 * 8;\n            } while (__src[lVar9] != 0);\n            iVar4 = (int)lVar9;\n            local_100 = (lVar13 + lVar9) * 8;\n          }\n          free(*(void **)(lVar7 + lVar13 * 8));\n          lVar13 = FUN_001052a0(*param_2,(lVar9 + 1 + (long)*param_1) * 8);\n          iVar12 = *param_1;\n          *param_2 = lVar13;\n          memmove((void *)(local_100 + lVar13),(void *)(lVar13 + 8 + lVar1),\n                  (long)(iVar12 - iVar11) << 3);\n          memcpy((void *)(*param_2 + lVar1),__src,sVar5);\n          *param_1 = iVar4 + -1 + *param_1;\n          free(__src);\n          free(__ptr);\n          iVar12 = iVar15;\n        }\n      }\n      fclose(__stream);\n      iVar11 = iVar12 + 1;\n      iVar4 = *param_1;\n      iVar15 = iVar12;\n      if (iVar4 <= iVar11) {\n        return;\n      }\n    }\n  } while( true );\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "FILE *__stream;" type_identifier (pointer_declarator "*__stream" * identifier) ;) (declaration "size_t sVar5;" primitive_type identifier ;) (declaration "byte *__ptr;" type_identifier (pointer_declarator "*__ptr" * identifier) ;) (declaration "size_t sVar6;" primitive_type identifier ;) (declaration "long *__src;" (sized_type_specifier "long" long) (pointer_declarator "*__src" * identifier) ;) (declaration "long lVar7;" (sized_type_specifier "long" long) identifier ;) (declaration "byte *pbVar8;" type_identifier (pointer_declarator "*pbVar8" * identifier) ;) (declaration "long lVar9;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar10;" type_identifier identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "long lVar13;" (sized_type_specifier "long" long) identifier ;) (declaration "char *pcVar14;" primitive_type (pointer_declarator "*pcVar14" * identifier) ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "long local_100;" (sized_type_specifier "long" long) identifier ;) (declaration "int local_d8;" primitive_type identifier ;) (declaration "stat local_c8;" type_identifier identifier ;) (expression_statement "lVar3 = *param_2;" (assignment_expression "lVar3 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "iVar4 = *param_1;" (assignment_expression "iVar4 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "local_d8 = 2000;" (assignment_expression "local_d8 = 2000" identifier = number_literal) ;) (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) (do_statement "do {\n    iVar11 = iVar12 + 1;\n    iVar15 = iVar12;\n    if (iVar4 <= iVar11) {\n      return;\n    }\n    while( true ) {\n      lVar13 = (long)iVar11;\n      lVar1 = lVar13 * 8;\n      pcVar14 = (char *)((undefined8 *)*param_2)[lVar13];\n      iVar12 = iVar11;\n      if (*pcVar14 != '@') break;\n      local_d8 = local_d8 + -1;\n      if (local_d8 == 0) {\n        uVar10 = *(undefined8 *)*param_2;\n        pcVar14 = "%s: error: too many @-files encountered\n";\n        goto LAB_00105032;\n      }\n      pcVar14 = pcVar14 + 1;\n      iVar4 = __xstat(1,pcVar14,&local_c8);\n      if (iVar4 < 0) {\nLAB_00104e70:\n        iVar4 = *param_1;\n        break;\n      }\n      if ((local_c8.st_mode & 0xf000) == 0x4000) {\n        do {\n          pcVar14 = "%s: error: @-file refers to a directory\n";\n          uVar10 = *(undefined8 *)*param_2;\nLAB_00105032:\n          fprintf(stderr,pcVar14,uVar10);\n          FUN_00105150(1);\n        } while( true );\n      }\n      __stream = fopen(pcVar14,"r");\n      if (__stream == (FILE *)0x0) goto LAB_00104e70;\n      iVar4 = fseek(__stream,0,2);\n      if (((iVar4 != -1) && (sVar5 = ftell(__stream), sVar5 != 0xffffffffffffffff)) &&\n         (iVar4 = fseek(__stream,0,0), iVar4 != -1)) {\n        __ptr = (byte *)FUN_00105220(sVar5 + 1);\n        sVar6 = fread(__ptr,1,sVar5,__stream);\n        if ((sVar5 == sVar6) || (iVar4 = ferror(__stream), iVar4 == 0)) {\n          __ptr[sVar6] = 0;\n          local_100 = lVar1;\n          if (*__ptr == 0) {\nLAB_00104ec0:\n            __src = (long *)FUN_00105220(8);\n            *__src = 0;\n            lVar7 = *param_2;\n            if (lVar3 == lVar7) {\n              lVar7 = FUN_001048c0();\n              iVar4 = 0;\n              lVar9 = 0;\n              *param_2 = lVar7;\n              sVar5 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar4 = 0;\n              lVar9 = 0;\n              sVar5 = 0;\n            }\n          }\n          else {\n            bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2];\n            pbVar8 = __ptr;\n            while ((bVar2 & 0x40) != 0) {\n              pbVar8 = pbVar8 + 1;\n              if (*pbVar8 == 0) goto LAB_00104ec0;\n              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];\n            }\n            __src = (long *)FUN_001049b0(__ptr);\n            lVar7 = *param_2;\n            lVar9 = *__src;\n            if (lVar7 == lVar3) {\n              lVar7 = FUN_001048c0(lVar3);\n              *param_2 = lVar7;\n            }\n            if (lVar9 == 0) goto LAB_00105016;\n            lVar9 = 0;\n            do {\n              lVar9 = lVar9 + 1;\n              sVar5 = lVar9 * 8;\n            } while (__src[lVar9] != 0);\n            iVar4 = (int)lVar9;\n            local_100 = (lVar13 + lVar9) * 8;\n          }\n          free(*(void **)(lVar7 + lVar13 * 8));\n          lVar13 = FUN_001052a0(*param_2,(lVar9 + 1 + (long)*param_1) * 8);\n          iVar12 = *param_1;\n          *param_2 = lVar13;\n          memmove((void *)(local_100 + lVar13),(void *)(lVar13 + 8 + lVar1),\n                  (long)(iVar12 - iVar11) << 3);\n          memcpy((void *)(*param_2 + lVar1),__src,sVar5);\n          *param_1 = iVar4 + -1 + *param_1;\n          free(__src);\n          free(__ptr);\n          iVar12 = iVar15;\n        }\n      }\n      fclose(__stream);\n      iVar11 = iVar12 + 1;\n      iVar4 = *param_1;\n      iVar15 = iVar12;\n      if (iVar4 <= iVar11) {\n        return;\n      }\n    }\n  } while( true );" do (compound_statement "{\n    iVar11 = iVar12 + 1;\n    iVar15 = iVar12;\n    if (iVar4 <= iVar11) {\n      return;\n    }\n    while( true ) {\n      lVar13 = (long)iVar11;\n      lVar1 = lVar13 * 8;\n      pcVar14 = (char *)((undefined8 *)*param_2)[lVar13];\n      iVar12 = iVar11;\n      if (*pcVar14 != '@') break;\n      local_d8 = local_d8 + -1;\n      if (local_d8 == 0) {\n        uVar10 = *(undefined8 *)*param_2;\n        pcVar14 = "%s: error: too many @-files encountered\n";\n        goto LAB_00105032;\n      }\n      pcVar14 = pcVar14 + 1;\n      iVar4 = __xstat(1,pcVar14,&local_c8);\n      if (iVar4 < 0) {\nLAB_00104e70:\n        iVar4 = *param_1;\n        break;\n      }\n      if ((local_c8.st_mode & 0xf000) == 0x4000) {\n        do {\n          pcVar14 = "%s: error: @-file refers to a directory\n";\n          uVar10 = *(undefined8 *)*param_2;\nLAB_00105032:\n          fprintf(stderr,pcVar14,uVar10);\n          FUN_00105150(1);\n        } while( true );\n      }\n      __stream = fopen(pcVar14,"r");\n      if (__stream == (FILE *)0x0) goto LAB_00104e70;\n      iVar4 = fseek(__stream,0,2);\n      if (((iVar4 != -1) && (sVar5 = ftell(__stream), sVar5 != 0xffffffffffffffff)) &&\n         (iVar4 = fseek(__stream,0,0), iVar4 != -1)) {\n        __ptr = (byte *)FUN_00105220(sVar5 + 1);\n        sVar6 = fread(__ptr,1,sVar5,__stream);\n        if ((sVar5 == sVar6) || (iVar4 = ferror(__stream), iVar4 == 0)) {\n          __ptr[sVar6] = 0;\n          local_100 = lVar1;\n          if (*__ptr == 0) {\nLAB_00104ec0:\n            __src = (long *)FUN_00105220(8);\n            *__src = 0;\n            lVar7 = *param_2;\n            if (lVar3 == lVar7) {\n              lVar7 = FUN_001048c0();\n              iVar4 = 0;\n              lVar9 = 0;\n              *param_2 = lVar7;\n              sVar5 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar4 = 0;\n              lVar9 = 0;\n              sVar5 = 0;\n            }\n          }\n          else {\n            bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2];\n            pbVar8 = __ptr;\n            while ((bVar2 & 0x40) != 0) {\n              pbVar8 = pbVar8 + 1;\n              if (*pbVar8 == 0) goto LAB_00104ec0;\n              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];\n            }\n            __src = (long *)FUN_001049b0(__ptr);\n            lVar7 = *param_2;\n            lVar9 = *__src;\n            if (lVar7 == lVar3) {\n              lVar7 = FUN_001048c0(lVar3);\n              *param_2 = lVar7;\n            }\n            if (lVar9 == 0) goto LAB_00105016;\n            lVar9 = 0;\n            do {\n              lVar9 = lVar9 + 1;\n              sVar5 = lVar9 * 8;\n            } while (__src[lVar9] != 0);\n            iVar4 = (int)lVar9;\n            local_100 = (lVar13 + lVar9) * 8;\n          }\n          free(*(void **)(lVar7 + lVar13 * 8));\n          lVar13 = FUN_001052a0(*param_2,(lVar9 + 1 + (long)*param_1) * 8);\n          iVar12 = *param_1;\n          *param_2 = lVar13;\n          memmove((void *)(local_100 + lVar13),(void *)(lVar13 + 8 + lVar1),\n                  (long)(iVar12 - iVar11) << 3);\n          memcpy((void *)(*param_2 + lVar1),__src,sVar5);\n          *param_1 = iVar4 + -1 + *param_1;\n          free(__src);\n          free(__ptr);\n          iVar12 = iVar15;\n        }\n      }\n      fclose(__stream);\n      iVar11 = iVar12 + 1;\n      iVar4 = *param_1;\n      iVar15 = iVar12;\n      if (iVar4 <= iVar11) {\n        return;\n      }\n    }\n  }" { (expression_statement "iVar11 = iVar12 + 1;" (assignment_expression "iVar11 = iVar12 + 1" identifier = (binary_expression "iVar12 + 1" identifier + number_literal)) ;) (expression_statement "iVar15 = iVar12;" (assignment_expression "iVar15 = iVar12" identifier = identifier) ;) (if_statement "if (iVar4 <= iVar11) {\n      return;\n    }" if (parenthesized_expression "(iVar4 <= iVar11)" ( (binary_expression "iVar4 <= iVar11" identifier <= identifier) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (while_statement "while( true ) {\n      lVar13 = (long)iVar11;\n      lVar1 = lVar13 * 8;\n      pcVar14 = (char *)((undefined8 *)*param_2)[lVar13];\n      iVar12 = iVar11;\n      if (*pcVar14 != '@') break;\n      local_d8 = local_d8 + -1;\n      if (local_d8 == 0) {\n        uVar10 = *(undefined8 *)*param_2;\n        pcVar14 = "%s: error: too many @-files encountered\n";\n        goto LAB_00105032;\n      }\n      pcVar14 = pcVar14 + 1;\n      iVar4 = __xstat(1,pcVar14,&local_c8);\n      if (iVar4 < 0) {\nLAB_00104e70:\n        iVar4 = *param_1;\n        break;\n      }\n      if ((local_c8.st_mode & 0xf000) == 0x4000) {\n        do {\n          pcVar14 = "%s: error: @-file refers to a directory\n";\n          uVar10 = *(undefined8 *)*param_2;\nLAB_00105032:\n          fprintf(stderr,pcVar14,uVar10);\n          FUN_00105150(1);\n        } while( true );\n      }\n      __stream = fopen(pcVar14,"r");\n      if (__stream == (FILE *)0x0) goto LAB_00104e70;\n      iVar4 = fseek(__stream,0,2);\n      if (((iVar4 != -1) && (sVar5 = ftell(__stream), sVar5 != 0xffffffffffffffff)) &&\n         (iVar4 = fseek(__stream,0,0), iVar4 != -1)) {\n        __ptr = (byte *)FUN_00105220(sVar5 + 1);\n        sVar6 = fread(__ptr,1,sVar5,__stream);\n        if ((sVar5 == sVar6) || (iVar4 = ferror(__stream), iVar4 == 0)) {\n          __ptr[sVar6] = 0;\n          local_100 = lVar1;\n          if (*__ptr == 0) {\nLAB_00104ec0:\n            __src = (long *)FUN_00105220(8);\n            *__src = 0;\n            lVar7 = *param_2;\n            if (lVar3 == lVar7) {\n              lVar7 = FUN_001048c0();\n              iVar4 = 0;\n              lVar9 = 0;\n              *param_2 = lVar7;\n              sVar5 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar4 = 0;\n              lVar9 = 0;\n              sVar5 = 0;\n            }\n          }\n          else {\n            bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2];\n            pbVar8 = __ptr;\n            while ((bVar2 & 0x40) != 0) {\n              pbVar8 = pbVar8 + 1;\n              if (*pbVar8 == 0) goto LAB_00104ec0;\n              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];\n            }\n            __src = (long *)FUN_001049b0(__ptr);\n            lVar7 = *param_2;\n            lVar9 = *__src;\n            if (lVar7 == lVar3) {\n              lVar7 = FUN_001048c0(lVar3);\n              *param_2 = lVar7;\n            }\n            if (lVar9 == 0) goto LAB_00105016;\n            lVar9 = 0;\n            do {\n              lVar9 = lVar9 + 1;\n              sVar5 = lVar9 * 8;\n            } while (__src[lVar9] != 0);\n            iVar4 = (int)lVar9;\n            local_100 = (lVar13 + lVar9) * 8;\n          }\n          free(*(void **)(lVar7 + lVar13 * 8));\n          lVar13 = FUN_001052a0(*param_2,(lVar9 + 1 + (long)*param_1) * 8);\n          iVar12 = *param_1;\n          *param_2 = lVar13;\n          memmove((void *)(local_100 + lVar13),(void *)(lVar13 + 8 + lVar1),\n                  (long)(iVar12 - iVar11) << 3);\n          memcpy((void *)(*param_2 + lVar1),__src,sVar5);\n          *param_1 = iVar4 + -1 + *param_1;\n          free(__src);\n          free(__ptr);\n          iVar12 = iVar15;\n        }\n      }\n      fclose(__stream);\n      iVar11 = iVar12 + 1;\n      iVar4 = *param_1;\n      iVar15 = iVar12;\n      if (iVar4 <= iVar11) {\n        return;\n      }\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      lVar13 = (long)iVar11;\n      lVar1 = lVar13 * 8;\n      pcVar14 = (char *)((undefined8 *)*param_2)[lVar13];\n      iVar12 = iVar11;\n      if (*pcVar14 != '@') break;\n      local_d8 = local_d8 + -1;\n      if (local_d8 == 0) {\n        uVar10 = *(undefined8 *)*param_2;\n        pcVar14 = "%s: error: too many @-files encountered\n";\n        goto LAB_00105032;\n      }\n      pcVar14 = pcVar14 + 1;\n      iVar4 = __xstat(1,pcVar14,&local_c8);\n      if (iVar4 < 0) {\nLAB_00104e70:\n        iVar4 = *param_1;\n        break;\n      }\n      if ((local_c8.st_mode & 0xf000) == 0x4000) {\n        do {\n          pcVar14 = "%s: error: @-file refers to a directory\n";\n          uVar10 = *(undefined8 *)*param_2;\nLAB_00105032:\n          fprintf(stderr,pcVar14,uVar10);\n          FUN_00105150(1);\n        } while( true );\n      }\n      __stream = fopen(pcVar14,"r");\n      if (__stream == (FILE *)0x0) goto LAB_00104e70;\n      iVar4 = fseek(__stream,0,2);\n      if (((iVar4 != -1) && (sVar5 = ftell(__stream), sVar5 != 0xffffffffffffffff)) &&\n         (iVar4 = fseek(__stream,0,0), iVar4 != -1)) {\n        __ptr = (byte *)FUN_00105220(sVar5 + 1);\n        sVar6 = fread(__ptr,1,sVar5,__stream);\n        if ((sVar5 == sVar6) || (iVar4 = ferror(__stream), iVar4 == 0)) {\n          __ptr[sVar6] = 0;\n          local_100 = lVar1;\n          if (*__ptr == 0) {\nLAB_00104ec0:\n            __src = (long *)FUN_00105220(8);\n            *__src = 0;\n            lVar7 = *param_2;\n            if (lVar3 == lVar7) {\n              lVar7 = FUN_001048c0();\n              iVar4 = 0;\n              lVar9 = 0;\n              *param_2 = lVar7;\n              sVar5 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar4 = 0;\n              lVar9 = 0;\n              sVar5 = 0;\n            }\n          }\n          else {\n            bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2];\n            pbVar8 = __ptr;\n            while ((bVar2 & 0x40) != 0) {\n              pbVar8 = pbVar8 + 1;\n              if (*pbVar8 == 0) goto LAB_00104ec0;\n              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];\n            }\n            __src = (long *)FUN_001049b0(__ptr);\n            lVar7 = *param_2;\n            lVar9 = *__src;\n            if (lVar7 == lVar3) {\n              lVar7 = FUN_001048c0(lVar3);\n              *param_2 = lVar7;\n            }\n            if (lVar9 == 0) goto LAB_00105016;\n            lVar9 = 0;\n            do {\n              lVar9 = lVar9 + 1;\n              sVar5 = lVar9 * 8;\n            } while (__src[lVar9] != 0);\n            iVar4 = (int)lVar9;\n            local_100 = (lVar13 + lVar9) * 8;\n          }\n          free(*(void **)(lVar7 + lVar13 * 8));\n          lVar13 = FUN_001052a0(*param_2,(lVar9 + 1 + (long)*param_1) * 8);\n          iVar12 = *param_1;\n          *param_2 = lVar13;\n          memmove((void *)(local_100 + lVar13),(void *)(lVar13 + 8 + lVar1),\n                  (long)(iVar12 - iVar11) << 3);\n          memcpy((void *)(*param_2 + lVar1),__src,sVar5);\n          *param_1 = iVar4 + -1 + *param_1;\n          free(__src);\n          free(__ptr);\n          iVar12 = iVar15;\n        }\n      }\n      fclose(__stream);\n      iVar11 = iVar12 + 1;\n      iVar4 = *param_1;\n      iVar15 = iVar12;\n      if (iVar4 <= iVar11) {\n        return;\n      }\n    }" { (expression_statement "lVar13 = (long)iVar11;" (assignment_expression "lVar13 = (long)iVar11" identifier = (cast_expression "(long)iVar11" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "lVar1 = lVar13 * 8;" (assignment_expression "lVar1 = lVar13 * 8" identifier = (binary_expression "lVar13 * 8" identifier * number_literal)) ;) (expression_statement "pcVar14 = (char *)((undefined8 *)*param_2)[lVar13];" (assignment_expression "pcVar14 = (char *)((undefined8 *)*param_2)[lVar13]" identifier = (cast_expression "(char *)((undefined8 *)*param_2)[lVar13]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "((undefined8 *)*param_2)[lVar13]" (parenthesized_expression "((undefined8 *)*param_2)" ( (cast_expression "(undefined8 *)*param_2" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier)) )) [ identifier ]))) ;) (expression_statement "iVar12 = iVar11;" (assignment_expression "iVar12 = iVar11" identifier = identifier) ;) (if_statement "if (*pcVar14 != '@') break;" if (parenthesized_expression "(*pcVar14 != '@')" ( (binary_expression "*pcVar14 != '@'" (pointer_expression "*pcVar14" * identifier) != (char_literal "'@'" ' character ')) )) (break_statement "break;" break ;)) (expression_statement "local_d8 = local_d8 + -1;" (assignment_expression "local_d8 = local_d8 + -1" identifier = (binary_expression "local_d8 + -1" identifier + number_literal)) ;) (if_statement "if (local_d8 == 0) {\n        uVar10 = *(undefined8 *)*param_2;\n        pcVar14 = "%s: error: too many @-files encountered\n";\n        goto LAB_00105032;\n      }" if (parenthesized_expression "(local_d8 == 0)" ( (binary_expression "local_d8 == 0" identifier == number_literal) )) (compound_statement "{\n        uVar10 = *(undefined8 *)*param_2;\n        pcVar14 = "%s: error: too many @-files encountered\n";\n        goto LAB_00105032;\n      }" { (expression_statement "uVar10 = *(undefined8 *)*param_2;" (assignment_expression "uVar10 = *(undefined8 *)*param_2" identifier = (pointer_expression "*(undefined8 *)*param_2" * (cast_expression "(undefined8 *)*param_2" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier)))) ;) (expression_statement "pcVar14 = "%s: error: too many @-files encountered\n";" (assignment_expression "pcVar14 = "%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_00105032;" goto statement_identifier ;) })) (expression_statement "pcVar14 = pcVar14 + 1;" (assignment_expression "pcVar14 = pcVar14 + 1" identifier = (binary_expression "pcVar14 + 1" identifier + number_literal)) ;) (expression_statement "iVar4 = __xstat(1,pcVar14,&local_c8);" (assignment_expression "iVar4 = __xstat(1,pcVar14,&local_c8)" identifier = (call_expression "__xstat(1,pcVar14,&local_c8)" identifier (argument_list "(1,pcVar14,&local_c8)" ( number_literal , identifier , (pointer_expression "&local_c8" & identifier) )))) ;) (if_statement "if (iVar4 < 0) {\nLAB_00104e70:\n        iVar4 = *param_1;\n        break;\n      }" if (parenthesized_expression "(iVar4 < 0)" ( (binary_expression "iVar4 < 0" identifier < number_literal) )) (compound_statement "{\nLAB_00104e70:\n        iVar4 = *param_1;\n        break;\n      }" { (labeled_statement "LAB_00104e70:\n        iVar4 = *param_1;" statement_identifier : (expression_statement "iVar4 = *param_1;" (assignment_expression "iVar4 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;)) (break_statement "break;" break ;) })) (if_statement "if ((local_c8.st_mode & 0xf000) == 0x4000) {\n        do {\n          pcVar14 = "%s: error: @-file refers to a directory\n";\n          uVar10 = *(undefined8 *)*param_2;\nLAB_00105032:\n          fprintf(stderr,pcVar14,uVar10);\n          FUN_00105150(1);\n        } while( true );\n      }" if (parenthesized_expression "((local_c8.st_mode & 0xf000) == 0x4000)" ( (binary_expression "(local_c8.st_mode & 0xf000) == 0x4000" (parenthesized_expression "(local_c8.st_mode & 0xf000)" ( (binary_expression "local_c8.st_mode & 0xf000" (field_expression "local_c8.st_mode" identifier . field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n        do {\n          pcVar14 = "%s: error: @-file refers to a directory\n";\n          uVar10 = *(undefined8 *)*param_2;\nLAB_00105032:\n          fprintf(stderr,pcVar14,uVar10);\n          FUN_00105150(1);\n        } while( true );\n      }" { (do_statement "do {\n          pcVar14 = "%s: error: @-file refers to a directory\n";\n          uVar10 = *(undefined8 *)*param_2;\nLAB_00105032:\n          fprintf(stderr,pcVar14,uVar10);\n          FUN_00105150(1);\n        } while( true );" do (compound_statement "{\n          pcVar14 = "%s: error: @-file refers to a directory\n";\n          uVar10 = *(undefined8 *)*param_2;\nLAB_00105032:\n          fprintf(stderr,pcVar14,uVar10);\n          FUN_00105150(1);\n        }" { (expression_statement "pcVar14 = "%s: error: @-file refers to a directory\n";" (assignment_expression "pcVar14 = "%s: error: @-file refers to a directory\n"" identifier = (string_literal ""%s: error: @-file refers to a directory\n"" " string_content escape_sequence ")) ;) (expression_statement "uVar10 = *(undefined8 *)*param_2;" (assignment_expression "uVar10 = *(undefined8 *)*param_2" identifier = (pointer_expression "*(undefined8 *)*param_2" * (cast_expression "(undefined8 *)*param_2" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier)))) ;) (labeled_statement "LAB_00105032:\n          fprintf(stderr,pcVar14,uVar10);" statement_identifier : (expression_statement "fprintf(stderr,pcVar14,uVar10);" (call_expression "fprintf(stderr,pcVar14,uVar10)" identifier (argument_list "(stderr,pcVar14,uVar10)" ( identifier , identifier , identifier ))) ;)) (expression_statement "FUN_00105150(1);" (call_expression "FUN_00105150(1)" identifier (argument_list "(1)" ( number_literal ))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "__stream = fopen(pcVar14,"r");" (assignment_expression "__stream = fopen(pcVar14,"r")" identifier = (call_expression "fopen(pcVar14,"r")" identifier (argument_list "(pcVar14,"r")" ( identifier , (string_literal ""r"" " string_content ") )))) ;) (if_statement "if (__stream == (FILE *)0x0) goto LAB_00104e70;" 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_00104e70;" goto statement_identifier ;)) (expression_statement "iVar4 = fseek(__stream,0,2);" (assignment_expression "iVar4 = 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 (((iVar4 != -1) && (sVar5 = ftell(__stream), sVar5 != 0xffffffffffffffff)) &&\n         (iVar4 = fseek(__stream,0,0), iVar4 != -1)) {\n        __ptr = (byte *)FUN_00105220(sVar5 + 1);\n        sVar6 = fread(__ptr,1,sVar5,__stream);\n        if ((sVar5 == sVar6) || (iVar4 = ferror(__stream), iVar4 == 0)) {\n          __ptr[sVar6] = 0;\n          local_100 = lVar1;\n          if (*__ptr == 0) {\nLAB_00104ec0:\n            __src = (long *)FUN_00105220(8);\n            *__src = 0;\n            lVar7 = *param_2;\n            if (lVar3 == lVar7) {\n              lVar7 = FUN_001048c0();\n              iVar4 = 0;\n              lVar9 = 0;\n              *param_2 = lVar7;\n              sVar5 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar4 = 0;\n              lVar9 = 0;\n              sVar5 = 0;\n            }\n          }\n          else {\n            bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2];\n            pbVar8 = __ptr;\n            while ((bVar2 & 0x40) != 0) {\n              pbVar8 = pbVar8 + 1;\n              if (*pbVar8 == 0) goto LAB_00104ec0;\n              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];\n            }\n            __src = (long *)FUN_001049b0(__ptr);\n            lVar7 = *param_2;\n            lVar9 = *__src;\n            if (lVar7 == lVar3) {\n              lVar7 = FUN_001048c0(lVar3);\n              *param_2 = lVar7;\n            }\n            if (lVar9 == 0) goto LAB_00105016;\n            lVar9 = 0;\n            do {\n              lVar9 = lVar9 + 1;\n              sVar5 = lVar9 * 8;\n            } while (__src[lVar9] != 0);\n            iVar4 = (int)lVar9;\n            local_100 = (lVar13 + lVar9) * 8;\n          }\n          free(*(void **)(lVar7 + lVar13 * 8));\n          lVar13 = FUN_001052a0(*param_2,(lVar9 + 1 + (long)*param_1) * 8);\n          iVar12 = *param_1;\n          *param_2 = lVar13;\n          memmove((void *)(local_100 + lVar13),(void *)(lVar13 + 8 + lVar1),\n                  (long)(iVar12 - iVar11) << 3);\n          memcpy((void *)(*param_2 + lVar1),__src,sVar5);\n          *param_1 = iVar4 + -1 + *param_1;\n          free(__src);\n          free(__ptr);\n          iVar12 = iVar15;\n        }\n      }" if (parenthesized_expression "(((iVar4 != -1) && (sVar5 = ftell(__stream), sVar5 != 0xffffffffffffffff)) &&\n         (iVar4 = fseek(__stream,0,0), iVar4 != -1))" ( (binary_expression "((iVar4 != -1) && (sVar5 = ftell(__stream), sVar5 != 0xffffffffffffffff)) &&\n         (iVar4 = fseek(__stream,0,0), iVar4 != -1)" (parenthesized_expression "((iVar4 != -1) && (sVar5 = ftell(__stream), sVar5 != 0xffffffffffffffff))" ( (binary_expression "(iVar4 != -1) && (sVar5 = ftell(__stream), sVar5 != 0xffffffffffffffff)" (parenthesized_expression "(iVar4 != -1)" ( (binary_expression "iVar4 != -1" identifier != number_literal) )) && (parenthesized_expression "(sVar5 = ftell(__stream), sVar5 != 0xffffffffffffffff)" ( (comma_expression "sVar5 = ftell(__stream), sVar5 != 0xffffffffffffffff" (assignment_expression "sVar5 = ftell(__stream)" identifier = (call_expression "ftell(__stream)" identifier (argument_list "(__stream)" ( identifier )))) , (binary_expression "sVar5 != 0xffffffffffffffff" identifier != number_literal)) ))) )) && (parenthesized_expression "(iVar4 = fseek(__stream,0,0), iVar4 != -1)" ( (comma_expression "iVar4 = fseek(__stream,0,0), iVar4 != -1" (assignment_expression "iVar4 = fseek(__stream,0,0)" identifier = (call_expression "fseek(__stream,0,0)" identifier (argument_list "(__stream,0,0)" ( identifier , number_literal , number_literal )))) , (binary_expression "iVar4 != -1" identifier != number_literal)) ))) )) (compound_statement "{\n        __ptr = (byte *)FUN_00105220(sVar5 + 1);\n        sVar6 = fread(__ptr,1,sVar5,__stream);\n        if ((sVar5 == sVar6) || (iVar4 = ferror(__stream), iVar4 == 0)) {\n          __ptr[sVar6] = 0;\n          local_100 = lVar1;\n          if (*__ptr == 0) {\nLAB_00104ec0:\n            __src = (long *)FUN_00105220(8);\n            *__src = 0;\n            lVar7 = *param_2;\n            if (lVar3 == lVar7) {\n              lVar7 = FUN_001048c0();\n              iVar4 = 0;\n              lVar9 = 0;\n              *param_2 = lVar7;\n              sVar5 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar4 = 0;\n              lVar9 = 0;\n              sVar5 = 0;\n            }\n          }\n          else {\n            bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2];\n            pbVar8 = __ptr;\n            while ((bVar2 & 0x40) != 0) {\n              pbVar8 = pbVar8 + 1;\n              if (*pbVar8 == 0) goto LAB_00104ec0;\n              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];\n            }\n            __src = (long *)FUN_001049b0(__ptr);\n            lVar7 = *param_2;\n            lVar9 = *__src;\n            if (lVar7 == lVar3) {\n              lVar7 = FUN_001048c0(lVar3);\n              *param_2 = lVar7;\n            }\n            if (lVar9 == 0) goto LAB_00105016;\n            lVar9 = 0;\n            do {\n              lVar9 = lVar9 + 1;\n              sVar5 = lVar9 * 8;\n            } while (__src[lVar9] != 0);\n            iVar4 = (int)lVar9;\n            local_100 = (lVar13 + lVar9) * 8;\n          }\n          free(*(void **)(lVar7 + lVar13 * 8));\n          lVar13 = FUN_001052a0(*param_2,(lVar9 + 1 + (long)*param_1) * 8);\n          iVar12 = *param_1;\n          *param_2 = lVar13;\n          memmove((void *)(local_100 + lVar13),(void *)(lVar13 + 8 + lVar1),\n                  (long)(iVar12 - iVar11) << 3);\n          memcpy((void *)(*param_2 + lVar1),__src,sVar5);\n          *param_1 = iVar4 + -1 + *param_1;\n          free(__src);\n          free(__ptr);\n          iVar12 = iVar15;\n        }\n      }" { (expression_statement "__ptr = (byte *)FUN_00105220(sVar5 + 1);" (assignment_expression "__ptr = (byte *)FUN_00105220(sVar5 + 1)" identifier = (cast_expression "(byte *)FUN_00105220(sVar5 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00105220(sVar5 + 1)" identifier (argument_list "(sVar5 + 1)" ( (binary_expression "sVar5 + 1" identifier + number_literal) ))))) ;) (expression_statement "sVar6 = fread(__ptr,1,sVar5,__stream);" (assignment_expression "sVar6 = fread(__ptr,1,sVar5,__stream)" identifier = (call_expression "fread(__ptr,1,sVar5,__stream)" identifier (argument_list "(__ptr,1,sVar5,__stream)" ( identifier , number_literal , identifier , identifier )))) ;) (if_statement "if ((sVar5 == sVar6) || (iVar4 = ferror(__stream), iVar4 == 0)) {\n          __ptr[sVar6] = 0;\n          local_100 = lVar1;\n          if (*__ptr == 0) {\nLAB_00104ec0:\n            __src = (long *)FUN_00105220(8);\n            *__src = 0;\n            lVar7 = *param_2;\n            if (lVar3 == lVar7) {\n              lVar7 = FUN_001048c0();\n              iVar4 = 0;\n              lVar9 = 0;\n              *param_2 = lVar7;\n              sVar5 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar4 = 0;\n              lVar9 = 0;\n              sVar5 = 0;\n            }\n          }\n          else {\n            bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2];\n            pbVar8 = __ptr;\n            while ((bVar2 & 0x40) != 0) {\n              pbVar8 = pbVar8 + 1;\n              if (*pbVar8 == 0) goto LAB_00104ec0;\n              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];\n            }\n            __src = (long *)FUN_001049b0(__ptr);\n            lVar7 = *param_2;\n            lVar9 = *__src;\n            if (lVar7 == lVar3) {\n              lVar7 = FUN_001048c0(lVar3);\n              *param_2 = lVar7;\n            }\n            if (lVar9 == 0) goto LAB_00105016;\n            lVar9 = 0;\n            do {\n              lVar9 = lVar9 + 1;\n              sVar5 = lVar9 * 8;\n            } while (__src[lVar9] != 0);\n            iVar4 = (int)lVar9;\n            local_100 = (lVar13 + lVar9) * 8;\n          }\n          free(*(void **)(lVar7 + lVar13 * 8));\n          lVar13 = FUN_001052a0(*param_2,(lVar9 + 1 + (long)*param_1) * 8);\n          iVar12 = *param_1;\n          *param_2 = lVar13;\n          memmove((void *)(local_100 + lVar13),(void *)(lVar13 + 8 + lVar1),\n                  (long)(iVar12 - iVar11) << 3);\n          memcpy((void *)(*param_2 + lVar1),__src,sVar5);\n          *param_1 = iVar4 + -1 + *param_1;\n          free(__src);\n          free(__ptr);\n          iVar12 = iVar15;\n        }" if (parenthesized_expression "((sVar5 == sVar6) || (iVar4 = ferror(__stream), iVar4 == 0))" ( (binary_expression "(sVar5 == sVar6) || (iVar4 = ferror(__stream), iVar4 == 0)" (parenthesized_expression "(sVar5 == sVar6)" ( (binary_expression "sVar5 == sVar6" identifier == identifier) )) || (parenthesized_expression "(iVar4 = ferror(__stream), iVar4 == 0)" ( (comma_expression "iVar4 = ferror(__stream), iVar4 == 0" (assignment_expression "iVar4 = ferror(__stream)" identifier = (call_expression "ferror(__stream)" identifier (argument_list "(__stream)" ( identifier )))) , (binary_expression "iVar4 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n          __ptr[sVar6] = 0;\n          local_100 = lVar1;\n          if (*__ptr == 0) {\nLAB_00104ec0:\n            __src = (long *)FUN_00105220(8);\n            *__src = 0;\n            lVar7 = *param_2;\n            if (lVar3 == lVar7) {\n              lVar7 = FUN_001048c0();\n              iVar4 = 0;\n              lVar9 = 0;\n              *param_2 = lVar7;\n              sVar5 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar4 = 0;\n              lVar9 = 0;\n              sVar5 = 0;\n            }\n          }\n          else {\n            bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2];\n            pbVar8 = __ptr;\n            while ((bVar2 & 0x40) != 0) {\n              pbVar8 = pbVar8 + 1;\n              if (*pbVar8 == 0) goto LAB_00104ec0;\n              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];\n            }\n            __src = (long *)FUN_001049b0(__ptr);\n            lVar7 = *param_2;\n            lVar9 = *__src;\n            if (lVar7 == lVar3) {\n              lVar7 = FUN_001048c0(lVar3);\n              *param_2 = lVar7;\n            }\n            if (lVar9 == 0) goto LAB_00105016;\n            lVar9 = 0;\n            do {\n              lVar9 = lVar9 + 1;\n              sVar5 = lVar9 * 8;\n            } while (__src[lVar9] != 0);\n            iVar4 = (int)lVar9;\n            local_100 = (lVar13 + lVar9) * 8;\n          }\n          free(*(void **)(lVar7 + lVar13 * 8));\n          lVar13 = FUN_001052a0(*param_2,(lVar9 + 1 + (long)*param_1) * 8);\n          iVar12 = *param_1;\n          *param_2 = lVar13;\n          memmove((void *)(local_100 + lVar13),(void *)(lVar13 + 8 + lVar1),\n                  (long)(iVar12 - iVar11) << 3);\n          memcpy((void *)(*param_2 + lVar1),__src,sVar5);\n          *param_1 = iVar4 + -1 + *param_1;\n          free(__src);\n          free(__ptr);\n          iVar12 = iVar15;\n        }" { (expression_statement "__ptr[sVar6] = 0;" (assignment_expression "__ptr[sVar6] = 0" (subscript_expression "__ptr[sVar6]" identifier [ identifier ]) = number_literal) ;) (expression_statement "local_100 = lVar1;" (assignment_expression "local_100 = lVar1" identifier = identifier) ;) (if_statement "if (*__ptr == 0) {\nLAB_00104ec0:\n            __src = (long *)FUN_00105220(8);\n            *__src = 0;\n            lVar7 = *param_2;\n            if (lVar3 == lVar7) {\n              lVar7 = FUN_001048c0();\n              iVar4 = 0;\n              lVar9 = 0;\n              *param_2 = lVar7;\n              sVar5 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar4 = 0;\n              lVar9 = 0;\n              sVar5 = 0;\n            }\n          }\n          else {\n            bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2];\n            pbVar8 = __ptr;\n            while ((bVar2 & 0x40) != 0) {\n              pbVar8 = pbVar8 + 1;\n              if (*pbVar8 == 0) goto LAB_00104ec0;\n              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];\n            }\n            __src = (long *)FUN_001049b0(__ptr);\n            lVar7 = *param_2;\n            lVar9 = *__src;\n            if (lVar7 == lVar3) {\n              lVar7 = FUN_001048c0(lVar3);\n              *param_2 = lVar7;\n            }\n            if (lVar9 == 0) goto LAB_00105016;\n            lVar9 = 0;\n            do {\n              lVar9 = lVar9 + 1;\n              sVar5 = lVar9 * 8;\n            } while (__src[lVar9] != 0);\n            iVar4 = (int)lVar9;\n            local_100 = (lVar13 + lVar9) * 8;\n          }" if (parenthesized_expression "(*__ptr == 0)" ( (binary_expression "*__ptr == 0" (pointer_expression "*__ptr" * identifier) == number_literal) )) (compound_statement "{\nLAB_00104ec0:\n            __src = (long *)FUN_00105220(8);\n            *__src = 0;\n            lVar7 = *param_2;\n            if (lVar3 == lVar7) {\n              lVar7 = FUN_001048c0();\n              iVar4 = 0;\n              lVar9 = 0;\n              *param_2 = lVar7;\n              sVar5 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar4 = 0;\n              lVar9 = 0;\n              sVar5 = 0;\n            }\n          }" { (labeled_statement "LAB_00104ec0:\n            __src = (long *)FUN_00105220(8);" statement_identifier : (expression_statement "__src = (long *)FUN_00105220(8);" (assignment_expression "__src = (long *)FUN_00105220(8)" identifier = (cast_expression "(long *)FUN_00105220(8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00105220(8)" identifier (argument_list "(8)" ( number_literal ))))) ;)) (expression_statement "*__src = 0;" (assignment_expression "*__src = 0" (pointer_expression "*__src" * identifier) = number_literal) ;) (expression_statement "lVar7 = *param_2;" (assignment_expression "lVar7 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if (lVar3 == lVar7) {\n              lVar7 = FUN_001048c0();\n              iVar4 = 0;\n              lVar9 = 0;\n              *param_2 = lVar7;\n              sVar5 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar4 = 0;\n              lVar9 = 0;\n              sVar5 = 0;\n            }" if (parenthesized_expression "(lVar3 == lVar7)" ( (binary_expression "lVar3 == lVar7" identifier == identifier) )) (compound_statement "{\n              lVar7 = FUN_001048c0();\n              iVar4 = 0;\n              lVar9 = 0;\n              *param_2 = lVar7;\n              sVar5 = 0;\n            }" { (expression_statement "lVar7 = FUN_001048c0();" (assignment_expression "lVar7 = FUN_001048c0()" identifier = (call_expression "FUN_001048c0()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "lVar9 = 0;" (assignment_expression "lVar9 = 0" identifier = number_literal) ;) (expression_statement "*param_2 = lVar7;" (assignment_expression "*param_2 = lVar7" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "sVar5 = 0;" (assignment_expression "sVar5 = 0" identifier = number_literal) ;) }) (else_clause "else {\nLAB_00105016:\n              iVar4 = 0;\n              lVar9 = 0;\n              sVar5 = 0;\n            }" else (compound_statement "{\nLAB_00105016:\n              iVar4 = 0;\n              lVar9 = 0;\n              sVar5 = 0;\n            }" { (labeled_statement "LAB_00105016:\n              iVar4 = 0;" statement_identifier : (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;)) (expression_statement "lVar9 = 0;" (assignment_expression "lVar9 = 0" identifier = number_literal) ;) (expression_statement "sVar5 = 0;" (assignment_expression "sVar5 = 0" identifier = number_literal) ;) }))) }) (else_clause "else {\n            bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2];\n            pbVar8 = __ptr;\n            while ((bVar2 & 0x40) != 0) {\n              pbVar8 = pbVar8 + 1;\n              if (*pbVar8 == 0) goto LAB_00104ec0;\n              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];\n            }\n            __src = (long *)FUN_001049b0(__ptr);\n            lVar7 = *param_2;\n            lVar9 = *__src;\n            if (lVar7 == lVar3) {\n              lVar7 = FUN_001048c0(lVar3);\n              *param_2 = lVar7;\n            }\n            if (lVar9 == 0) goto LAB_00105016;\n            lVar9 = 0;\n            do {\n              lVar9 = lVar9 + 1;\n              sVar5 = lVar9 * 8;\n            } while (__src[lVar9] != 0);\n            iVar4 = (int)lVar9;\n            local_100 = (lVar13 + lVar9) * 8;\n          }" else (compound_statement "{\n            bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2];\n            pbVar8 = __ptr;\n            while ((bVar2 & 0x40) != 0) {\n              pbVar8 = pbVar8 + 1;\n              if (*pbVar8 == 0) goto LAB_00104ec0;\n              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];\n            }\n            __src = (long *)FUN_001049b0(__ptr);\n            lVar7 = *param_2;\n            lVar9 = *__src;\n            if (lVar7 == lVar3) {\n              lVar7 = FUN_001048c0(lVar3);\n              *param_2 = lVar7;\n            }\n            if (lVar9 == 0) goto LAB_00105016;\n            lVar9 = 0;\n            do {\n              lVar9 = lVar9 + 1;\n              sVar5 = lVar9 * 8;\n            } while (__src[lVar9] != 0);\n            iVar4 = (int)lVar9;\n            local_100 = (lVar13 + lVar9) * 8;\n          }" { (expression_statement "bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2];" (assignment_expression "bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2]" identifier = (subscript_expression "(&DAT_00107180)[(ulong)*__ptr * 2]" (parenthesized_expression "(&DAT_00107180)" ( (pointer_expression "&DAT_00107180" & identifier) )) [ (binary_expression "(ulong)*__ptr * 2" (binary_expression "(ulong)*__ptr" (parenthesized_expression "(ulong)" ( identifier )) * identifier) * number_literal) ])) ;) (expression_statement "pbVar8 = __ptr;" (assignment_expression "pbVar8 = __ptr" identifier = identifier) ;) (while_statement "while ((bVar2 & 0x40) != 0) {\n              pbVar8 = pbVar8 + 1;\n              if (*pbVar8 == 0) goto LAB_00104ec0;\n              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];\n            }" while (parenthesized_expression "((bVar2 & 0x40) != 0)" ( (binary_expression "(bVar2 & 0x40) != 0" (parenthesized_expression "(bVar2 & 0x40)" ( (binary_expression "bVar2 & 0x40" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n              pbVar8 = pbVar8 + 1;\n              if (*pbVar8 == 0) goto LAB_00104ec0;\n              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];\n            }" { (expression_statement "pbVar8 = pbVar8 + 1;" (assignment_expression "pbVar8 = pbVar8 + 1" identifier = (binary_expression "pbVar8 + 1" identifier + number_literal)) ;) (if_statement "if (*pbVar8 == 0) goto LAB_00104ec0;" if (parenthesized_expression "(*pbVar8 == 0)" ( (binary_expression "*pbVar8 == 0" (pointer_expression "*pbVar8" * identifier) == number_literal) )) (goto_statement "goto LAB_00104ec0;" goto statement_identifier ;)) (expression_statement "bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];" (assignment_expression "bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2]" identifier = (subscript_expression "(&DAT_00107180)[(ulong)*pbVar8 * 2]" (parenthesized_expression "(&DAT_00107180)" ( (pointer_expression "&DAT_00107180" & identifier) )) [ (binary_expression "(ulong)*pbVar8 * 2" (binary_expression "(ulong)*pbVar8" (parenthesized_expression "(ulong)" ( identifier )) * identifier) * number_literal) ])) ;) })) (expression_statement "__src = (long *)FUN_001049b0(__ptr);" (assignment_expression "__src = (long *)FUN_001049b0(__ptr)" identifier = (cast_expression "(long *)FUN_001049b0(__ptr)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001049b0(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))))) ;) (expression_statement "lVar7 = *param_2;" (assignment_expression "lVar7 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "lVar9 = *__src;" (assignment_expression "lVar9 = *__src" identifier = (pointer_expression "*__src" * identifier)) ;) (if_statement "if (lVar7 == lVar3) {\n              lVar7 = FUN_001048c0(lVar3);\n              *param_2 = lVar7;\n            }" if (parenthesized_expression "(lVar7 == lVar3)" ( (binary_expression "lVar7 == lVar3" identifier == identifier) )) (compound_statement "{\n              lVar7 = FUN_001048c0(lVar3);\n              *param_2 = lVar7;\n            }" { (expression_statement "lVar7 = FUN_001048c0(lVar3);" (assignment_expression "lVar7 = FUN_001048c0(lVar3)" identifier = (call_expression "FUN_001048c0(lVar3)" identifier (argument_list "(lVar3)" ( identifier )))) ;) (expression_statement "*param_2 = lVar7;" (assignment_expression "*param_2 = lVar7" (pointer_expression "*param_2" * identifier) = identifier) ;) })) (if_statement "if (lVar9 == 0) goto LAB_00105016;" if (parenthesized_expression "(lVar9 == 0)" ( (binary_expression "lVar9 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00105016;" goto statement_identifier ;)) (expression_statement "lVar9 = 0;" (assignment_expression "lVar9 = 0" identifier = number_literal) ;) (do_statement "do {\n              lVar9 = lVar9 + 1;\n              sVar5 = lVar9 * 8;\n            } while (__src[lVar9] != 0);" do (compound_statement "{\n              lVar9 = lVar9 + 1;\n              sVar5 = lVar9 * 8;\n            }" { (expression_statement "lVar9 = lVar9 + 1;" (assignment_expression "lVar9 = lVar9 + 1" identifier = (binary_expression "lVar9 + 1" identifier + number_literal)) ;) (expression_statement "sVar5 = lVar9 * 8;" (assignment_expression "sVar5 = lVar9 * 8" identifier = (binary_expression "lVar9 * 8" identifier * number_literal)) ;) }) while (parenthesized_expression "(__src[lVar9] != 0)" ( (binary_expression "__src[lVar9] != 0" (subscript_expression "__src[lVar9]" identifier [ identifier ]) != number_literal) )) ;) (expression_statement "iVar4 = (int)lVar9;" (assignment_expression "iVar4 = (int)lVar9" identifier = (cast_expression "(int)lVar9" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "local_100 = (lVar13 + lVar9) * 8;" (assignment_expression "local_100 = (lVar13 + lVar9) * 8" identifier = (binary_expression "(lVar13 + lVar9) * 8" (parenthesized_expression "(lVar13 + lVar9)" ( (binary_expression "lVar13 + lVar9" identifier + identifier) )) * number_literal)) ;) }))) (expression_statement "free(*(void **)(lVar7 + lVar13 * 8));" (call_expression "free(*(void **)(lVar7 + lVar13 * 8))" identifier (argument_list "(*(void **)(lVar7 + lVar13 * 8))" ( (pointer_expression "*(void **)(lVar7 + lVar13 * 8)" * (cast_expression "(void **)(lVar7 + lVar13 * 8)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar7 + lVar13 * 8)" ( (binary_expression "lVar7 + lVar13 * 8" identifier + (binary_expression "lVar13 * 8" identifier * number_literal)) )))) ))) ;) (expression_statement "lVar13 = FUN_001052a0(*param_2,(lVar9 + 1 + (long)*param_1) * 8);" (assignment_expression "lVar13 = FUN_001052a0(*param_2,(lVar9 + 1 + (long)*param_1) * 8)" identifier = (call_expression "FUN_001052a0(*param_2,(lVar9 + 1 + (long)*param_1) * 8)" identifier (argument_list "(*param_2,(lVar9 + 1 + (long)*param_1) * 8)" ( (pointer_expression "*param_2" * identifier) , (binary_expression "(lVar9 + 1 + (long)*param_1) * 8" (parenthesized_expression "(lVar9 + 1 + (long)*param_1)" ( (binary_expression "lVar9 + 1 + (long)*param_1" (binary_expression "lVar9 + 1" identifier + number_literal) + (cast_expression "(long)*param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "*param_1" * identifier))) )) * number_literal) )))) ;) (expression_statement "iVar12 = *param_1;" (assignment_expression "iVar12 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "*param_2 = lVar13;" (assignment_expression "*param_2 = lVar13" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "memmove((void *)(local_100 + lVar13),(void *)(lVar13 + 8 + lVar1),\n                  (long)(iVar12 - iVar11) << 3);" (call_expression "memmove((void *)(local_100 + lVar13),(void *)(lVar13 + 8 + lVar1),\n                  (long)(iVar12 - iVar11) << 3)" identifier (argument_list "((void *)(local_100 + lVar13),(void *)(lVar13 + 8 + lVar1),\n                  (long)(iVar12 - iVar11) << 3)" ( (cast_expression "(void *)(local_100 + lVar13)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_100 + lVar13)" ( (binary_expression "local_100 + lVar13" identifier + identifier) ))) , (cast_expression "(void *)(lVar13 + 8 + lVar1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar13 + 8 + lVar1)" ( (binary_expression "lVar13 + 8 + lVar1" (binary_expression "lVar13 + 8" identifier + number_literal) + identifier) ))) , (binary_expression "(long)(iVar12 - iVar11) << 3" (cast_expression "(long)(iVar12 - iVar11)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(iVar12 - iVar11)" ( (binary_expression "iVar12 - iVar11" identifier - identifier) ))) << number_literal) ))) ;) (expression_statement "memcpy((void *)(*param_2 + lVar1),__src,sVar5);" (call_expression "memcpy((void *)(*param_2 + lVar1),__src,sVar5)" identifier (argument_list "((void *)(*param_2 + lVar1),__src,sVar5)" ( (cast_expression "(void *)(*param_2 + lVar1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + lVar1)" ( (binary_expression "*param_2 + lVar1" (pointer_expression "*param_2" * identifier) + identifier) ))) , identifier , identifier ))) ;) (expression_statement "*param_1 = iVar4 + -1 + *param_1;" (assignment_expression "*param_1 = iVar4 + -1 + *param_1" (pointer_expression "*param_1" * identifier) = (binary_expression "iVar4 + -1 + *param_1" (binary_expression "iVar4 + -1" identifier + number_literal) + (pointer_expression "*param_1" * identifier))) ;) (expression_statement "free(__src);" (call_expression "free(__src)" identifier (argument_list "(__src)" ( identifier ))) ;) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "iVar12 = iVar15;" (assignment_expression "iVar12 = iVar15" identifier = identifier) ;) })) })) (expression_statement "fclose(__stream);" (call_expression "fclose(__stream)" identifier (argument_list "(__stream)" ( identifier ))) ;) (expression_statement "iVar11 = iVar12 + 1;" (assignment_expression "iVar11 = iVar12 + 1" identifier = (binary_expression "iVar12 + 1" identifier + number_literal)) ;) (expression_statement "iVar4 = *param_1;" (assignment_expression "iVar4 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar15 = iVar12;" (assignment_expression "iVar15 = iVar12" identifier = identifier) ;) (if_statement "if (iVar4 <= iVar11) {\n        return;\n      }" if (parenthesized_expression "(iVar4 <= iVar11)" ( (binary_expression "iVar4 <= iVar11" identifier <= identifier) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "void expandargv(int *argcp,char ***argvp)\n\n{\n  byte bVar1;\n  char **argv;\n  int iVar2;\n  FILE *__stream;\n  size_t sVar3;\n  byte *input;\n  size_t sVar4;\n  char **__src;\n  char **ppcVar5;\n  byte *pbVar6;\n  long lVar7;\n  char *pcVar8;\n  int iVar9;\n  int iVar10;\n  long lVar11;\n  char *__format;\n  int iVar12;\n  long local_100;\n  int local_d8;\n  stat sb;\n  \n  argv = *argvp;\n  iVar2 = *argcp;\n  local_d8 = 2000;\n  iVar10 = 0;\n  do {\n    iVar9 = iVar10 + 1;\n    iVar12 = iVar10;\n    if (iVar2 <= iVar9) {\n      return;\n    }\n    while( true ) {\n      lVar11 = (long)iVar9;\n      local_100 = lVar11 * 8;\n      pcVar8 = (*argvp)[lVar11];\n      iVar10 = iVar9;\n      if (*pcVar8 != '@') break;\n      local_d8 = local_d8 + -1;\n      if (local_d8 == 0) {\n        pcVar8 = **argvp;\n        __format = "%s: error: too many @-files encountered\n";\nLAB_00105032:\n        fprintf(stderr,__format,pcVar8);\n                    /* WARNING: Subroutine does not return */\n        xexit(1);\n      }\n      pcVar8 = pcVar8 + 1;\n      iVar2 = __xstat(1,pcVar8,(stat *)&sb);\n      if (iVar2 < 0) {\nLAB_00104e70:\n        iVar2 = *argcp;\n        break;\n      }\n      if ((sb.st_mode & 0xf000) == 0x4000) {\n        __format = "%s: error: @-file refers to a directory\n";\n        pcVar8 = **argvp;\n        goto LAB_00105032;\n      }\n      __stream = fopen(pcVar8,"r");\n      if (__stream == (FILE *)0x0) goto LAB_00104e70;\n      iVar2 = fseek(__stream,0,2);\n      if (((iVar2 != -1) && (sVar3 = ftell(__stream), sVar3 != 0xffffffffffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1)) {\n        input = (byte *)xmalloc(sVar3 + 1);\n        sVar4 = fread(input,1,sVar3,__stream);\n        if ((sVar3 == sVar4) || (iVar2 = ferror(__stream), iVar2 == 0)) {\n          input[sVar4] = 0;\n          if (*input == 0) {\nLAB_00104ec0:\n            __src = (char **)xmalloc(8);\n            *__src = (char *)0x0;\n            ppcVar5 = *argvp;\n            if (argv == ppcVar5) {\n              ppcVar5 = dupargv(argv);\n              iVar2 = 0;\n              lVar7 = 0;\n              *argvp = ppcVar5;\n              sVar3 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar2 = 0;\n              lVar7 = 0;\n              sVar3 = 0;\n            }\n          }\n          else {\n            bVar1 = (byte)_sch_istable[*input];\n            pbVar6 = input;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar6 = pbVar6 + 1;\n              if (*pbVar6 == 0) goto LAB_00104ec0;\n              bVar1 = (byte)_sch_istable[*pbVar6];\n            }\n            __src = buildargv((char *)input);\n            ppcVar5 = *argvp;\n            pcVar8 = *__src;\n            if (ppcVar5 == argv) {\n              ppcVar5 = dupargv(argv);\n              *argvp = ppcVar5;\n            }\n            if (pcVar8 == (char *)0x0) goto LAB_00105016;\n            lVar7 = 0;\n            do {\n              lVar7 = lVar7 + 1;\n              sVar3 = lVar7 * 8;\n            } while (__src[lVar7] != (char *)0x0);\n            iVar2 = (int)lVar7;\n            local_100 = (lVar11 + lVar7) * 8;\n          }\n          free(ppcVar5[lVar11]);\n          ppcVar5 = (char **)xrealloc(*argvp,(lVar7 + 1 + (long)*argcp) * 8);\n          iVar10 = *argcp;\n          *argvp = ppcVar5;\n          memmove((void *)(local_100 + (long)ppcVar5),ppcVar5 + lVar11 + 1,\n                  (long)(iVar10 - iVar9) << 3);\n          memcpy(*argvp + lVar11,__src,sVar3);\n          *argcp = iVar2 + -1 + *argcp;\n          free(__src);\n          free(input);\n          iVar10 = iVar12;\n        }\n      }\n      fclose(__stream);\n      iVar9 = iVar10 + 1;\n      iVar2 = *argcp;\n      iVar12 = iVar10;\n      if (iVar2 <= iVar9) {\n        return;\n      }\n    }\n  } while( true );\n}\n\n" (function_definition "void expandargv(int *argcp,char ***argvp)\n\n{\n  byte bVar1;\n  char **argv;\n  int iVar2;\n  FILE *__stream;\n  size_t sVar3;\n  byte *input;\n  size_t sVar4;\n  char **__src;\n  char **ppcVar5;\n  byte *pbVar6;\n  long lVar7;\n  char *pcVar8;\n  int iVar9;\n  int iVar10;\n  long lVar11;\n  char *__format;\n  int iVar12;\n  long local_100;\n  int local_d8;\n  stat sb;\n  \n  argv = *argvp;\n  iVar2 = *argcp;\n  local_d8 = 2000;\n  iVar10 = 0;\n  do {\n    iVar9 = iVar10 + 1;\n    iVar12 = iVar10;\n    if (iVar2 <= iVar9) {\n      return;\n    }\n    while( true ) {\n      lVar11 = (long)iVar9;\n      local_100 = lVar11 * 8;\n      pcVar8 = (*argvp)[lVar11];\n      iVar10 = iVar9;\n      if (*pcVar8 != '@') break;\n      local_d8 = local_d8 + -1;\n      if (local_d8 == 0) {\n        pcVar8 = **argvp;\n        __format = "%s: error: too many @-files encountered\n";\nLAB_00105032:\n        fprintf(stderr,__format,pcVar8);\n                    /* WARNING: Subroutine does not return */\n        xexit(1);\n      }\n      pcVar8 = pcVar8 + 1;\n      iVar2 = __xstat(1,pcVar8,(stat *)&sb);\n      if (iVar2 < 0) {\nLAB_00104e70:\n        iVar2 = *argcp;\n        break;\n      }\n      if ((sb.st_mode & 0xf000) == 0x4000) {\n        __format = "%s: error: @-file refers to a directory\n";\n        pcVar8 = **argvp;\n        goto LAB_00105032;\n      }\n      __stream = fopen(pcVar8,"r");\n      if (__stream == (FILE *)0x0) goto LAB_00104e70;\n      iVar2 = fseek(__stream,0,2);\n      if (((iVar2 != -1) && (sVar3 = ftell(__stream), sVar3 != 0xffffffffffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1)) {\n        input = (byte *)xmalloc(sVar3 + 1);\n        sVar4 = fread(input,1,sVar3,__stream);\n        if ((sVar3 == sVar4) || (iVar2 = ferror(__stream), iVar2 == 0)) {\n          input[sVar4] = 0;\n          if (*input == 0) {\nLAB_00104ec0:\n            __src = (char **)xmalloc(8);\n            *__src = (char *)0x0;\n            ppcVar5 = *argvp;\n            if (argv == ppcVar5) {\n              ppcVar5 = dupargv(argv);\n              iVar2 = 0;\n              lVar7 = 0;\n              *argvp = ppcVar5;\n              sVar3 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar2 = 0;\n              lVar7 = 0;\n              sVar3 = 0;\n            }\n          }\n          else {\n            bVar1 = (byte)_sch_istable[*input];\n            pbVar6 = input;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar6 = pbVar6 + 1;\n              if (*pbVar6 == 0) goto LAB_00104ec0;\n              bVar1 = (byte)_sch_istable[*pbVar6];\n            }\n            __src = buildargv((char *)input);\n            ppcVar5 = *argvp;\n            pcVar8 = *__src;\n            if (ppcVar5 == argv) {\n              ppcVar5 = dupargv(argv);\n              *argvp = ppcVar5;\n            }\n            if (pcVar8 == (char *)0x0) goto LAB_00105016;\n            lVar7 = 0;\n            do {\n              lVar7 = lVar7 + 1;\n              sVar3 = lVar7 * 8;\n            } while (__src[lVar7] != (char *)0x0);\n            iVar2 = (int)lVar7;\n            local_100 = (lVar11 + lVar7) * 8;\n          }\n          free(ppcVar5[lVar11]);\n          ppcVar5 = (char **)xrealloc(*argvp,(lVar7 + 1 + (long)*argcp) * 8);\n          iVar10 = *argcp;\n          *argvp = ppcVar5;\n          memmove((void *)(local_100 + (long)ppcVar5),ppcVar5 + lVar11 + 1,\n                  (long)(iVar10 - iVar9) << 3);\n          memcpy(*argvp + lVar11,__src,sVar3);\n          *argcp = iVar2 + -1 + *argcp;\n          free(__src);\n          free(input);\n          iVar10 = iVar12;\n        }\n      }\n      fclose(__stream);\n      iVar9 = iVar10 + 1;\n      iVar2 = *argcp;\n      iVar12 = iVar10;\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  char **argv;\n  int iVar2;\n  FILE *__stream;\n  size_t sVar3;\n  byte *input;\n  size_t sVar4;\n  char **__src;\n  char **ppcVar5;\n  byte *pbVar6;\n  long lVar7;\n  char *pcVar8;\n  int iVar9;\n  int iVar10;\n  long lVar11;\n  char *__format;\n  int iVar12;\n  long local_100;\n  int local_d8;\n  stat sb;\n  \n  argv = *argvp;\n  iVar2 = *argcp;\n  local_d8 = 2000;\n  iVar10 = 0;\n  do {\n    iVar9 = iVar10 + 1;\n    iVar12 = iVar10;\n    if (iVar2 <= iVar9) {\n      return;\n    }\n    while( true ) {\n      lVar11 = (long)iVar9;\n      local_100 = lVar11 * 8;\n      pcVar8 = (*argvp)[lVar11];\n      iVar10 = iVar9;\n      if (*pcVar8 != '@') break;\n      local_d8 = local_d8 + -1;\n      if (local_d8 == 0) {\n        pcVar8 = **argvp;\n        __format = "%s: error: too many @-files encountered\n";\nLAB_00105032:\n        fprintf(stderr,__format,pcVar8);\n                    /* WARNING: Subroutine does not return */\n        xexit(1);\n      }\n      pcVar8 = pcVar8 + 1;\n      iVar2 = __xstat(1,pcVar8,(stat *)&sb);\n      if (iVar2 < 0) {\nLAB_00104e70:\n        iVar2 = *argcp;\n        break;\n      }\n      if ((sb.st_mode & 0xf000) == 0x4000) {\n        __format = "%s: error: @-file refers to a directory\n";\n        pcVar8 = **argvp;\n        goto LAB_00105032;\n      }\n      __stream = fopen(pcVar8,"r");\n      if (__stream == (FILE *)0x0) goto LAB_00104e70;\n      iVar2 = fseek(__stream,0,2);\n      if (((iVar2 != -1) && (sVar3 = ftell(__stream), sVar3 != 0xffffffffffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1)) {\n        input = (byte *)xmalloc(sVar3 + 1);\n        sVar4 = fread(input,1,sVar3,__stream);\n        if ((sVar3 == sVar4) || (iVar2 = ferror(__stream), iVar2 == 0)) {\n          input[sVar4] = 0;\n          if (*input == 0) {\nLAB_00104ec0:\n            __src = (char **)xmalloc(8);\n            *__src = (char *)0x0;\n            ppcVar5 = *argvp;\n            if (argv == ppcVar5) {\n              ppcVar5 = dupargv(argv);\n              iVar2 = 0;\n              lVar7 = 0;\n              *argvp = ppcVar5;\n              sVar3 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar2 = 0;\n              lVar7 = 0;\n              sVar3 = 0;\n            }\n          }\n          else {\n            bVar1 = (byte)_sch_istable[*input];\n            pbVar6 = input;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar6 = pbVar6 + 1;\n              if (*pbVar6 == 0) goto LAB_00104ec0;\n              bVar1 = (byte)_sch_istable[*pbVar6];\n            }\n            __src = buildargv((char *)input);\n            ppcVar5 = *argvp;\n            pcVar8 = *__src;\n            if (ppcVar5 == argv) {\n              ppcVar5 = dupargv(argv);\n              *argvp = ppcVar5;\n            }\n            if (pcVar8 == (char *)0x0) goto LAB_00105016;\n            lVar7 = 0;\n            do {\n              lVar7 = lVar7 + 1;\n              sVar3 = lVar7 * 8;\n            } while (__src[lVar7] != (char *)0x0);\n            iVar2 = (int)lVar7;\n            local_100 = (lVar11 + lVar7) * 8;\n          }\n          free(ppcVar5[lVar11]);\n          ppcVar5 = (char **)xrealloc(*argvp,(lVar7 + 1 + (long)*argcp) * 8);\n          iVar10 = *argcp;\n          *argvp = ppcVar5;\n          memmove((void *)(local_100 + (long)ppcVar5),ppcVar5 + lVar11 + 1,\n                  (long)(iVar10 - iVar9) << 3);\n          memcpy(*argvp + lVar11,__src,sVar3);\n          *argcp = iVar2 + -1 + *argcp;\n          free(__src);\n          free(input);\n          iVar10 = iVar12;\n        }\n      }\n      fclose(__stream);\n      iVar9 = iVar10 + 1;\n      iVar2 = *argcp;\n      iVar12 = iVar10;\n      if (iVar2 <= iVar9) {\n        return;\n      }\n    }\n  } while( true );\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "char **argv;" primitive_type (pointer_declarator "**argv" * (pointer_declarator "*argv" * identifier)) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "FILE *__stream;" type_identifier (pointer_declarator "*__stream" * identifier) ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "byte *input;" type_identifier (pointer_declarator "*input" * identifier) ;) (declaration "size_t sVar4;" primitive_type identifier ;) (declaration "char **__src;" primitive_type (pointer_declarator "**__src" * (pointer_declarator "*__src" * identifier)) ;) (declaration "char **ppcVar5;" primitive_type (pointer_declarator "**ppcVar5" * (pointer_declarator "*ppcVar5" * identifier)) ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "long lVar7;" (sized_type_specifier "long" long) identifier ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "long lVar11;" (sized_type_specifier "long" long) identifier ;) (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "long local_100;" (sized_type_specifier "long" long) identifier ;) (declaration "int local_d8;" primitive_type identifier ;) (declaration "stat sb;" type_identifier identifier ;) (expression_statement "argv = *argvp;" (assignment_expression "argv = *argvp" identifier = (pointer_expression "*argvp" * identifier)) ;) (expression_statement "iVar2 = *argcp;" (assignment_expression "iVar2 = *argcp" identifier = (pointer_expression "*argcp" * identifier)) ;) (expression_statement "local_d8 = 2000;" (assignment_expression "local_d8 = 2000" identifier = number_literal) ;) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (do_statement "do {\n    iVar9 = iVar10 + 1;\n    iVar12 = iVar10;\n    if (iVar2 <= iVar9) {\n      return;\n    }\n    while( true ) {\n      lVar11 = (long)iVar9;\n      local_100 = lVar11 * 8;\n      pcVar8 = (*argvp)[lVar11];\n      iVar10 = iVar9;\n      if (*pcVar8 != '@') break;\n      local_d8 = local_d8 + -1;\n      if (local_d8 == 0) {\n        pcVar8 = **argvp;\n        __format = "%s: error: too many @-files encountered\n";\nLAB_00105032:\n        fprintf(stderr,__format,pcVar8);\n                    /* WARNING: Subroutine does not return */\n        xexit(1);\n      }\n      pcVar8 = pcVar8 + 1;\n      iVar2 = __xstat(1,pcVar8,(stat *)&sb);\n      if (iVar2 < 0) {\nLAB_00104e70:\n        iVar2 = *argcp;\n        break;\n      }\n      if ((sb.st_mode & 0xf000) == 0x4000) {\n        __format = "%s: error: @-file refers to a directory\n";\n        pcVar8 = **argvp;\n        goto LAB_00105032;\n      }\n      __stream = fopen(pcVar8,"r");\n      if (__stream == (FILE *)0x0) goto LAB_00104e70;\n      iVar2 = fseek(__stream,0,2);\n      if (((iVar2 != -1) && (sVar3 = ftell(__stream), sVar3 != 0xffffffffffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1)) {\n        input = (byte *)xmalloc(sVar3 + 1);\n        sVar4 = fread(input,1,sVar3,__stream);\n        if ((sVar3 == sVar4) || (iVar2 = ferror(__stream), iVar2 == 0)) {\n          input[sVar4] = 0;\n          if (*input == 0) {\nLAB_00104ec0:\n            __src = (char **)xmalloc(8);\n            *__src = (char *)0x0;\n            ppcVar5 = *argvp;\n            if (argv == ppcVar5) {\n              ppcVar5 = dupargv(argv);\n              iVar2 = 0;\n              lVar7 = 0;\n              *argvp = ppcVar5;\n              sVar3 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar2 = 0;\n              lVar7 = 0;\n              sVar3 = 0;\n            }\n          }\n          else {\n            bVar1 = (byte)_sch_istable[*input];\n            pbVar6 = input;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar6 = pbVar6 + 1;\n              if (*pbVar6 == 0) goto LAB_00104ec0;\n              bVar1 = (byte)_sch_istable[*pbVar6];\n            }\n            __src = buildargv((char *)input);\n            ppcVar5 = *argvp;\n            pcVar8 = *__src;\n            if (ppcVar5 == argv) {\n              ppcVar5 = dupargv(argv);\n              *argvp = ppcVar5;\n            }\n            if (pcVar8 == (char *)0x0) goto LAB_00105016;\n            lVar7 = 0;\n            do {\n              lVar7 = lVar7 + 1;\n              sVar3 = lVar7 * 8;\n            } while (__src[lVar7] != (char *)0x0);\n            iVar2 = (int)lVar7;\n            local_100 = (lVar11 + lVar7) * 8;\n          }\n          free(ppcVar5[lVar11]);\n          ppcVar5 = (char **)xrealloc(*argvp,(lVar7 + 1 + (long)*argcp) * 8);\n          iVar10 = *argcp;\n          *argvp = ppcVar5;\n          memmove((void *)(local_100 + (long)ppcVar5),ppcVar5 + lVar11 + 1,\n                  (long)(iVar10 - iVar9) << 3);\n          memcpy(*argvp + lVar11,__src,sVar3);\n          *argcp = iVar2 + -1 + *argcp;\n          free(__src);\n          free(input);\n          iVar10 = iVar12;\n        }\n      }\n      fclose(__stream);\n      iVar9 = iVar10 + 1;\n      iVar2 = *argcp;\n      iVar12 = iVar10;\n      if (iVar2 <= iVar9) {\n        return;\n      }\n    }\n  } while( true );" do (compound_statement "{\n    iVar9 = iVar10 + 1;\n    iVar12 = iVar10;\n    if (iVar2 <= iVar9) {\n      return;\n    }\n    while( true ) {\n      lVar11 = (long)iVar9;\n      local_100 = lVar11 * 8;\n      pcVar8 = (*argvp)[lVar11];\n      iVar10 = iVar9;\n      if (*pcVar8 != '@') break;\n      local_d8 = local_d8 + -1;\n      if (local_d8 == 0) {\n        pcVar8 = **argvp;\n        __format = "%s: error: too many @-files encountered\n";\nLAB_00105032:\n        fprintf(stderr,__format,pcVar8);\n                    /* WARNING: Subroutine does not return */\n        xexit(1);\n      }\n      pcVar8 = pcVar8 + 1;\n      iVar2 = __xstat(1,pcVar8,(stat *)&sb);\n      if (iVar2 < 0) {\nLAB_00104e70:\n        iVar2 = *argcp;\n        break;\n      }\n      if ((sb.st_mode & 0xf000) == 0x4000) {\n        __format = "%s: error: @-file refers to a directory\n";\n        pcVar8 = **argvp;\n        goto LAB_00105032;\n      }\n      __stream = fopen(pcVar8,"r");\n      if (__stream == (FILE *)0x0) goto LAB_00104e70;\n      iVar2 = fseek(__stream,0,2);\n      if (((iVar2 != -1) && (sVar3 = ftell(__stream), sVar3 != 0xffffffffffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1)) {\n        input = (byte *)xmalloc(sVar3 + 1);\n        sVar4 = fread(input,1,sVar3,__stream);\n        if ((sVar3 == sVar4) || (iVar2 = ferror(__stream), iVar2 == 0)) {\n          input[sVar4] = 0;\n          if (*input == 0) {\nLAB_00104ec0:\n            __src = (char **)xmalloc(8);\n            *__src = (char *)0x0;\n            ppcVar5 = *argvp;\n            if (argv == ppcVar5) {\n              ppcVar5 = dupargv(argv);\n              iVar2 = 0;\n              lVar7 = 0;\n              *argvp = ppcVar5;\n              sVar3 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar2 = 0;\n              lVar7 = 0;\n              sVar3 = 0;\n            }\n          }\n          else {\n            bVar1 = (byte)_sch_istable[*input];\n            pbVar6 = input;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar6 = pbVar6 + 1;\n              if (*pbVar6 == 0) goto LAB_00104ec0;\n              bVar1 = (byte)_sch_istable[*pbVar6];\n            }\n            __src = buildargv((char *)input);\n            ppcVar5 = *argvp;\n            pcVar8 = *__src;\n            if (ppcVar5 == argv) {\n              ppcVar5 = dupargv(argv);\n              *argvp = ppcVar5;\n            }\n            if (pcVar8 == (char *)0x0) goto LAB_00105016;\n            lVar7 = 0;\n            do {\n              lVar7 = lVar7 + 1;\n              sVar3 = lVar7 * 8;\n            } while (__src[lVar7] != (char *)0x0);\n            iVar2 = (int)lVar7;\n            local_100 = (lVar11 + lVar7) * 8;\n          }\n          free(ppcVar5[lVar11]);\n          ppcVar5 = (char **)xrealloc(*argvp,(lVar7 + 1 + (long)*argcp) * 8);\n          iVar10 = *argcp;\n          *argvp = ppcVar5;\n          memmove((void *)(local_100 + (long)ppcVar5),ppcVar5 + lVar11 + 1,\n                  (long)(iVar10 - iVar9) << 3);\n          memcpy(*argvp + lVar11,__src,sVar3);\n          *argcp = iVar2 + -1 + *argcp;\n          free(__src);\n          free(input);\n          iVar10 = iVar12;\n        }\n      }\n      fclose(__stream);\n      iVar9 = iVar10 + 1;\n      iVar2 = *argcp;\n      iVar12 = iVar10;\n      if (iVar2 <= iVar9) {\n        return;\n      }\n    }\n  }" { (expression_statement "iVar9 = iVar10 + 1;" (assignment_expression "iVar9 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "iVar12 = iVar10;" (assignment_expression "iVar12 = iVar10" identifier = 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_statement "while( true ) {\n      lVar11 = (long)iVar9;\n      local_100 = lVar11 * 8;\n      pcVar8 = (*argvp)[lVar11];\n      iVar10 = iVar9;\n      if (*pcVar8 != '@') break;\n      local_d8 = local_d8 + -1;\n      if (local_d8 == 0) {\n        pcVar8 = **argvp;\n        __format = "%s: error: too many @-files encountered\n";\nLAB_00105032:\n        fprintf(stderr,__format,pcVar8);\n                    /* WARNING: Subroutine does not return */\n        xexit(1);\n      }\n      pcVar8 = pcVar8 + 1;\n      iVar2 = __xstat(1,pcVar8,(stat *)&sb);\n      if (iVar2 < 0) {\nLAB_00104e70:\n        iVar2 = *argcp;\n        break;\n      }\n      if ((sb.st_mode & 0xf000) == 0x4000) {\n        __format = "%s: error: @-file refers to a directory\n";\n        pcVar8 = **argvp;\n        goto LAB_00105032;\n      }\n      __stream = fopen(pcVar8,"r");\n      if (__stream == (FILE *)0x0) goto LAB_00104e70;\n      iVar2 = fseek(__stream,0,2);\n      if (((iVar2 != -1) && (sVar3 = ftell(__stream), sVar3 != 0xffffffffffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1)) {\n        input = (byte *)xmalloc(sVar3 + 1);\n        sVar4 = fread(input,1,sVar3,__stream);\n        if ((sVar3 == sVar4) || (iVar2 = ferror(__stream), iVar2 == 0)) {\n          input[sVar4] = 0;\n          if (*input == 0) {\nLAB_00104ec0:\n            __src = (char **)xmalloc(8);\n            *__src = (char *)0x0;\n            ppcVar5 = *argvp;\n            if (argv == ppcVar5) {\n              ppcVar5 = dupargv(argv);\n              iVar2 = 0;\n              lVar7 = 0;\n              *argvp = ppcVar5;\n              sVar3 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar2 = 0;\n              lVar7 = 0;\n              sVar3 = 0;\n            }\n          }\n          else {\n            bVar1 = (byte)_sch_istable[*input];\n            pbVar6 = input;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar6 = pbVar6 + 1;\n              if (*pbVar6 == 0) goto LAB_00104ec0;\n              bVar1 = (byte)_sch_istable[*pbVar6];\n            }\n            __src = buildargv((char *)input);\n            ppcVar5 = *argvp;\n            pcVar8 = *__src;\n            if (ppcVar5 == argv) {\n              ppcVar5 = dupargv(argv);\n              *argvp = ppcVar5;\n            }\n            if (pcVar8 == (char *)0x0) goto LAB_00105016;\n            lVar7 = 0;\n            do {\n              lVar7 = lVar7 + 1;\n              sVar3 = lVar7 * 8;\n            } while (__src[lVar7] != (char *)0x0);\n            iVar2 = (int)lVar7;\n            local_100 = (lVar11 + lVar7) * 8;\n          }\n          free(ppcVar5[lVar11]);\n          ppcVar5 = (char **)xrealloc(*argvp,(lVar7 + 1 + (long)*argcp) * 8);\n          iVar10 = *argcp;\n          *argvp = ppcVar5;\n          memmove((void *)(local_100 + (long)ppcVar5),ppcVar5 + lVar11 + 1,\n                  (long)(iVar10 - iVar9) << 3);\n          memcpy(*argvp + lVar11,__src,sVar3);\n          *argcp = iVar2 + -1 + *argcp;\n          free(__src);\n          free(input);\n          iVar10 = iVar12;\n        }\n      }\n      fclose(__stream);\n      iVar9 = iVar10 + 1;\n      iVar2 = *argcp;\n      iVar12 = iVar10;\n      if (iVar2 <= iVar9) {\n        return;\n      }\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      lVar11 = (long)iVar9;\n      local_100 = lVar11 * 8;\n      pcVar8 = (*argvp)[lVar11];\n      iVar10 = iVar9;\n      if (*pcVar8 != '@') break;\n      local_d8 = local_d8 + -1;\n      if (local_d8 == 0) {\n        pcVar8 = **argvp;\n        __format = "%s: error: too many @-files encountered\n";\nLAB_00105032:\n        fprintf(stderr,__format,pcVar8);\n                    /* WARNING: Subroutine does not return */\n        xexit(1);\n      }\n      pcVar8 = pcVar8 + 1;\n      iVar2 = __xstat(1,pcVar8,(stat *)&sb);\n      if (iVar2 < 0) {\nLAB_00104e70:\n        iVar2 = *argcp;\n        break;\n      }\n      if ((sb.st_mode & 0xf000) == 0x4000) {\n        __format = "%s: error: @-file refers to a directory\n";\n        pcVar8 = **argvp;\n        goto LAB_00105032;\n      }\n      __stream = fopen(pcVar8,"r");\n      if (__stream == (FILE *)0x0) goto LAB_00104e70;\n      iVar2 = fseek(__stream,0,2);\n      if (((iVar2 != -1) && (sVar3 = ftell(__stream), sVar3 != 0xffffffffffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1)) {\n        input = (byte *)xmalloc(sVar3 + 1);\n        sVar4 = fread(input,1,sVar3,__stream);\n        if ((sVar3 == sVar4) || (iVar2 = ferror(__stream), iVar2 == 0)) {\n          input[sVar4] = 0;\n          if (*input == 0) {\nLAB_00104ec0:\n            __src = (char **)xmalloc(8);\n            *__src = (char *)0x0;\n            ppcVar5 = *argvp;\n            if (argv == ppcVar5) {\n              ppcVar5 = dupargv(argv);\n              iVar2 = 0;\n              lVar7 = 0;\n              *argvp = ppcVar5;\n              sVar3 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar2 = 0;\n              lVar7 = 0;\n              sVar3 = 0;\n            }\n          }\n          else {\n            bVar1 = (byte)_sch_istable[*input];\n            pbVar6 = input;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar6 = pbVar6 + 1;\n              if (*pbVar6 == 0) goto LAB_00104ec0;\n              bVar1 = (byte)_sch_istable[*pbVar6];\n            }\n            __src = buildargv((char *)input);\n            ppcVar5 = *argvp;\n            pcVar8 = *__src;\n            if (ppcVar5 == argv) {\n              ppcVar5 = dupargv(argv);\n              *argvp = ppcVar5;\n            }\n            if (pcVar8 == (char *)0x0) goto LAB_00105016;\n            lVar7 = 0;\n            do {\n              lVar7 = lVar7 + 1;\n              sVar3 = lVar7 * 8;\n            } while (__src[lVar7] != (char *)0x0);\n            iVar2 = (int)lVar7;\n            local_100 = (lVar11 + lVar7) * 8;\n          }\n          free(ppcVar5[lVar11]);\n          ppcVar5 = (char **)xrealloc(*argvp,(lVar7 + 1 + (long)*argcp) * 8);\n          iVar10 = *argcp;\n          *argvp = ppcVar5;\n          memmove((void *)(local_100 + (long)ppcVar5),ppcVar5 + lVar11 + 1,\n                  (long)(iVar10 - iVar9) << 3);\n          memcpy(*argvp + lVar11,__src,sVar3);\n          *argcp = iVar2 + -1 + *argcp;\n          free(__src);\n          free(input);\n          iVar10 = iVar12;\n        }\n      }\n      fclose(__stream);\n      iVar9 = iVar10 + 1;\n      iVar2 = *argcp;\n      iVar12 = iVar10;\n      if (iVar2 <= iVar9) {\n        return;\n      }\n    }" { (expression_statement "lVar11 = (long)iVar9;" (assignment_expression "lVar11 = (long)iVar9" identifier = (cast_expression "(long)iVar9" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "local_100 = lVar11 * 8;" (assignment_expression "local_100 = lVar11 * 8" identifier = (binary_expression "lVar11 * 8" identifier * number_literal)) ;) (expression_statement "pcVar8 = (*argvp)[lVar11];" (assignment_expression "pcVar8 = (*argvp)[lVar11]" identifier = (subscript_expression "(*argvp)[lVar11]" (parenthesized_expression "(*argvp)" ( (pointer_expression "*argvp" * identifier) )) [ identifier ])) ;) (expression_statement "iVar10 = iVar9;" (assignment_expression "iVar10 = iVar9" identifier = identifier) ;) (if_statement "if (*pcVar8 != '@') break;" if (parenthesized_expression "(*pcVar8 != '@')" ( (binary_expression "*pcVar8 != '@'" (pointer_expression "*pcVar8" * identifier) != (char_literal "'@'" ' character ')) )) (break_statement "break;" break ;)) (expression_statement "local_d8 = local_d8 + -1;" (assignment_expression "local_d8 = local_d8 + -1" identifier = (binary_expression "local_d8 + -1" identifier + number_literal)) ;) (if_statement "if (local_d8 == 0) {\n        pcVar8 = **argvp;\n        __format = "%s: error: too many @-files encountered\n";\nLAB_00105032:\n        fprintf(stderr,__format,pcVar8);\n                    /* WARNING: Subroutine does not return */\n        xexit(1);\n      }" if (parenthesized_expression "(local_d8 == 0)" ( (binary_expression "local_d8 == 0" identifier == number_literal) )) (compound_statement "{\n        pcVar8 = **argvp;\n        __format = "%s: error: too many @-files encountered\n";\nLAB_00105032:\n        fprintf(stderr,__format,pcVar8);\n                    /* WARNING: Subroutine does not return */\n        xexit(1);\n      }" { (expression_statement "pcVar8 = **argvp;" (assignment_expression "pcVar8 = **argvp" identifier = (pointer_expression "**argvp" * (pointer_expression "*argvp" * identifier))) ;) (expression_statement "__format = "%s: error: too many @-files encountered\n";" (assignment_expression "__format = "%s: error: too many @-files encountered\n"" identifier = (string_literal ""%s: error: too many @-files encountered\n"" " string_content escape_sequence ")) ;) (labeled_statement "LAB_00105032:\n        fprintf(stderr,__format,pcVar8);" statement_identifier : (expression_statement "fprintf(stderr,__format,pcVar8);" (call_expression "fprintf(stderr,__format,pcVar8)" identifier (argument_list "(stderr,__format,pcVar8)" ( identifier , identifier , identifier ))) ;)) comment (expression_statement "xexit(1);" (call_expression "xexit(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })) (expression_statement "pcVar8 = pcVar8 + 1;" (assignment_expression "pcVar8 = pcVar8 + 1" identifier = (binary_expression "pcVar8 + 1" identifier + number_literal)) ;) (expression_statement "iVar2 = __xstat(1,pcVar8,(stat *)&sb);" (assignment_expression "iVar2 = __xstat(1,pcVar8,(stat *)&sb)" identifier = (call_expression "__xstat(1,pcVar8,(stat *)&sb)" identifier (argument_list "(1,pcVar8,(stat *)&sb)" ( number_literal , identifier , (cast_expression "(stat *)&sb" ( (type_descriptor "stat *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&sb" & identifier)) )))) ;) (if_statement "if (iVar2 < 0) {\nLAB_00104e70:\n        iVar2 = *argcp;\n        break;\n      }" if (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) (compound_statement "{\nLAB_00104e70:\n        iVar2 = *argcp;\n        break;\n      }" { (labeled_statement "LAB_00104e70:\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        __format = "%s: error: @-file refers to a directory\n";\n        pcVar8 = **argvp;\n        goto LAB_00105032;\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        __format = "%s: error: @-file refers to a directory\n";\n        pcVar8 = **argvp;\n        goto LAB_00105032;\n      }" { (expression_statement "__format = "%s: error: @-file refers to a directory\n";" (assignment_expression "__format = "%s: error: @-file refers to a directory\n"" identifier = (string_literal ""%s: error: @-file refers to a directory\n"" " string_content escape_sequence ")) ;) (expression_statement "pcVar8 = **argvp;" (assignment_expression "pcVar8 = **argvp" identifier = (pointer_expression "**argvp" * (pointer_expression "*argvp" * identifier))) ;) (goto_statement "goto LAB_00105032;" goto statement_identifier ;) })) (expression_statement "__stream = fopen(pcVar8,"r");" (assignment_expression "__stream = fopen(pcVar8,"r")" identifier = (call_expression "fopen(pcVar8,"r")" identifier (argument_list "(pcVar8,"r")" ( identifier , (string_literal ""r"" " string_content ") )))) ;) (if_statement "if (__stream == (FILE *)0x0) goto LAB_00104e70;" 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_00104e70;" 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) && (sVar3 = ftell(__stream), sVar3 != 0xffffffffffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1)) {\n        input = (byte *)xmalloc(sVar3 + 1);\n        sVar4 = fread(input,1,sVar3,__stream);\n        if ((sVar3 == sVar4) || (iVar2 = ferror(__stream), iVar2 == 0)) {\n          input[sVar4] = 0;\n          if (*input == 0) {\nLAB_00104ec0:\n            __src = (char **)xmalloc(8);\n            *__src = (char *)0x0;\n            ppcVar5 = *argvp;\n            if (argv == ppcVar5) {\n              ppcVar5 = dupargv(argv);\n              iVar2 = 0;\n              lVar7 = 0;\n              *argvp = ppcVar5;\n              sVar3 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar2 = 0;\n              lVar7 = 0;\n              sVar3 = 0;\n            }\n          }\n          else {\n            bVar1 = (byte)_sch_istable[*input];\n            pbVar6 = input;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar6 = pbVar6 + 1;\n              if (*pbVar6 == 0) goto LAB_00104ec0;\n              bVar1 = (byte)_sch_istable[*pbVar6];\n            }\n            __src = buildargv((char *)input);\n            ppcVar5 = *argvp;\n            pcVar8 = *__src;\n            if (ppcVar5 == argv) {\n              ppcVar5 = dupargv(argv);\n              *argvp = ppcVar5;\n            }\n            if (pcVar8 == (char *)0x0) goto LAB_00105016;\n            lVar7 = 0;\n            do {\n              lVar7 = lVar7 + 1;\n              sVar3 = lVar7 * 8;\n            } while (__src[lVar7] != (char *)0x0);\n            iVar2 = (int)lVar7;\n            local_100 = (lVar11 + lVar7) * 8;\n          }\n          free(ppcVar5[lVar11]);\n          ppcVar5 = (char **)xrealloc(*argvp,(lVar7 + 1 + (long)*argcp) * 8);\n          iVar10 = *argcp;\n          *argvp = ppcVar5;\n          memmove((void *)(local_100 + (long)ppcVar5),ppcVar5 + lVar11 + 1,\n                  (long)(iVar10 - iVar9) << 3);\n          memcpy(*argvp + lVar11,__src,sVar3);\n          *argcp = iVar2 + -1 + *argcp;\n          free(__src);\n          free(input);\n          iVar10 = iVar12;\n        }\n      }" if (parenthesized_expression "(((iVar2 != -1) && (sVar3 = ftell(__stream), sVar3 != 0xffffffffffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1))" ( (binary_expression "((iVar2 != -1) && (sVar3 = ftell(__stream), sVar3 != 0xffffffffffffffff)) &&\n         (iVar2 = fseek(__stream,0,0), iVar2 != -1)" (parenthesized_expression "((iVar2 != -1) && (sVar3 = ftell(__stream), sVar3 != 0xffffffffffffffff))" ( (binary_expression "(iVar2 != -1) && (sVar3 = ftell(__stream), sVar3 != 0xffffffffffffffff)" (parenthesized_expression "(iVar2 != -1)" ( (binary_expression "iVar2 != -1" identifier != number_literal) )) && (parenthesized_expression "(sVar3 = ftell(__stream), sVar3 != 0xffffffffffffffff)" ( (comma_expression "sVar3 = ftell(__stream), sVar3 != 0xffffffffffffffff" (assignment_expression "sVar3 = ftell(__stream)" identifier = (call_expression "ftell(__stream)" identifier (argument_list "(__stream)" ( identifier )))) , (binary_expression "sVar3 != 0xffffffffffffffff" identifier != 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        input = (byte *)xmalloc(sVar3 + 1);\n        sVar4 = fread(input,1,sVar3,__stream);\n        if ((sVar3 == sVar4) || (iVar2 = ferror(__stream), iVar2 == 0)) {\n          input[sVar4] = 0;\n          if (*input == 0) {\nLAB_00104ec0:\n            __src = (char **)xmalloc(8);\n            *__src = (char *)0x0;\n            ppcVar5 = *argvp;\n            if (argv == ppcVar5) {\n              ppcVar5 = dupargv(argv);\n              iVar2 = 0;\n              lVar7 = 0;\n              *argvp = ppcVar5;\n              sVar3 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar2 = 0;\n              lVar7 = 0;\n              sVar3 = 0;\n            }\n          }\n          else {\n            bVar1 = (byte)_sch_istable[*input];\n            pbVar6 = input;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar6 = pbVar6 + 1;\n              if (*pbVar6 == 0) goto LAB_00104ec0;\n              bVar1 = (byte)_sch_istable[*pbVar6];\n            }\n            __src = buildargv((char *)input);\n            ppcVar5 = *argvp;\n            pcVar8 = *__src;\n            if (ppcVar5 == argv) {\n              ppcVar5 = dupargv(argv);\n              *argvp = ppcVar5;\n            }\n            if (pcVar8 == (char *)0x0) goto LAB_00105016;\n            lVar7 = 0;\n            do {\n              lVar7 = lVar7 + 1;\n              sVar3 = lVar7 * 8;\n            } while (__src[lVar7] != (char *)0x0);\n            iVar2 = (int)lVar7;\n            local_100 = (lVar11 + lVar7) * 8;\n          }\n          free(ppcVar5[lVar11]);\n          ppcVar5 = (char **)xrealloc(*argvp,(lVar7 + 1 + (long)*argcp) * 8);\n          iVar10 = *argcp;\n          *argvp = ppcVar5;\n          memmove((void *)(local_100 + (long)ppcVar5),ppcVar5 + lVar11 + 1,\n                  (long)(iVar10 - iVar9) << 3);\n          memcpy(*argvp + lVar11,__src,sVar3);\n          *argcp = iVar2 + -1 + *argcp;\n          free(__src);\n          free(input);\n          iVar10 = iVar12;\n        }\n      }" { (expression_statement "input = (byte *)xmalloc(sVar3 + 1);" (assignment_expression "input = (byte *)xmalloc(sVar3 + 1)" identifier = (cast_expression "(byte *)xmalloc(sVar3 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar3 + 1)" identifier (argument_list "(sVar3 + 1)" ( (binary_expression "sVar3 + 1" identifier + number_literal) ))))) ;) (expression_statement "sVar4 = fread(input,1,sVar3,__stream);" (assignment_expression "sVar4 = fread(input,1,sVar3,__stream)" identifier = (call_expression "fread(input,1,sVar3,__stream)" identifier (argument_list "(input,1,sVar3,__stream)" ( identifier , number_literal , identifier , identifier )))) ;) (if_statement "if ((sVar3 == sVar4) || (iVar2 = ferror(__stream), iVar2 == 0)) {\n          input[sVar4] = 0;\n          if (*input == 0) {\nLAB_00104ec0:\n            __src = (char **)xmalloc(8);\n            *__src = (char *)0x0;\n            ppcVar5 = *argvp;\n            if (argv == ppcVar5) {\n              ppcVar5 = dupargv(argv);\n              iVar2 = 0;\n              lVar7 = 0;\n              *argvp = ppcVar5;\n              sVar3 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar2 = 0;\n              lVar7 = 0;\n              sVar3 = 0;\n            }\n          }\n          else {\n            bVar1 = (byte)_sch_istable[*input];\n            pbVar6 = input;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar6 = pbVar6 + 1;\n              if (*pbVar6 == 0) goto LAB_00104ec0;\n              bVar1 = (byte)_sch_istable[*pbVar6];\n            }\n            __src = buildargv((char *)input);\n            ppcVar5 = *argvp;\n            pcVar8 = *__src;\n            if (ppcVar5 == argv) {\n              ppcVar5 = dupargv(argv);\n              *argvp = ppcVar5;\n            }\n            if (pcVar8 == (char *)0x0) goto LAB_00105016;\n            lVar7 = 0;\n            do {\n              lVar7 = lVar7 + 1;\n              sVar3 = lVar7 * 8;\n            } while (__src[lVar7] != (char *)0x0);\n            iVar2 = (int)lVar7;\n            local_100 = (lVar11 + lVar7) * 8;\n          }\n          free(ppcVar5[lVar11]);\n          ppcVar5 = (char **)xrealloc(*argvp,(lVar7 + 1 + (long)*argcp) * 8);\n          iVar10 = *argcp;\n          *argvp = ppcVar5;\n          memmove((void *)(local_100 + (long)ppcVar5),ppcVar5 + lVar11 + 1,\n                  (long)(iVar10 - iVar9) << 3);\n          memcpy(*argvp + lVar11,__src,sVar3);\n          *argcp = iVar2 + -1 + *argcp;\n          free(__src);\n          free(input);\n          iVar10 = iVar12;\n        }" if (parenthesized_expression "((sVar3 == sVar4) || (iVar2 = ferror(__stream), iVar2 == 0))" ( (binary_expression "(sVar3 == sVar4) || (iVar2 = ferror(__stream), iVar2 == 0)" (parenthesized_expression "(sVar3 == sVar4)" ( (binary_expression "sVar3 == sVar4" identifier == identifier) )) || (parenthesized_expression "(iVar2 = ferror(__stream), iVar2 == 0)" ( (comma_expression "iVar2 = ferror(__stream), iVar2 == 0" (assignment_expression "iVar2 = ferror(__stream)" identifier = (call_expression "ferror(__stream)" identifier (argument_list "(__stream)" ( identifier )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n          input[sVar4] = 0;\n          if (*input == 0) {\nLAB_00104ec0:\n            __src = (char **)xmalloc(8);\n            *__src = (char *)0x0;\n            ppcVar5 = *argvp;\n            if (argv == ppcVar5) {\n              ppcVar5 = dupargv(argv);\n              iVar2 = 0;\n              lVar7 = 0;\n              *argvp = ppcVar5;\n              sVar3 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar2 = 0;\n              lVar7 = 0;\n              sVar3 = 0;\n            }\n          }\n          else {\n            bVar1 = (byte)_sch_istable[*input];\n            pbVar6 = input;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar6 = pbVar6 + 1;\n              if (*pbVar6 == 0) goto LAB_00104ec0;\n              bVar1 = (byte)_sch_istable[*pbVar6];\n            }\n            __src = buildargv((char *)input);\n            ppcVar5 = *argvp;\n            pcVar8 = *__src;\n            if (ppcVar5 == argv) {\n              ppcVar5 = dupargv(argv);\n              *argvp = ppcVar5;\n            }\n            if (pcVar8 == (char *)0x0) goto LAB_00105016;\n            lVar7 = 0;\n            do {\n              lVar7 = lVar7 + 1;\n              sVar3 = lVar7 * 8;\n            } while (__src[lVar7] != (char *)0x0);\n            iVar2 = (int)lVar7;\n            local_100 = (lVar11 + lVar7) * 8;\n          }\n          free(ppcVar5[lVar11]);\n          ppcVar5 = (char **)xrealloc(*argvp,(lVar7 + 1 + (long)*argcp) * 8);\n          iVar10 = *argcp;\n          *argvp = ppcVar5;\n          memmove((void *)(local_100 + (long)ppcVar5),ppcVar5 + lVar11 + 1,\n                  (long)(iVar10 - iVar9) << 3);\n          memcpy(*argvp + lVar11,__src,sVar3);\n          *argcp = iVar2 + -1 + *argcp;\n          free(__src);\n          free(input);\n          iVar10 = iVar12;\n        }" { (expression_statement "input[sVar4] = 0;" (assignment_expression "input[sVar4] = 0" (subscript_expression "input[sVar4]" identifier [ identifier ]) = number_literal) ;) (if_statement "if (*input == 0) {\nLAB_00104ec0:\n            __src = (char **)xmalloc(8);\n            *__src = (char *)0x0;\n            ppcVar5 = *argvp;\n            if (argv == ppcVar5) {\n              ppcVar5 = dupargv(argv);\n              iVar2 = 0;\n              lVar7 = 0;\n              *argvp = ppcVar5;\n              sVar3 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar2 = 0;\n              lVar7 = 0;\n              sVar3 = 0;\n            }\n          }\n          else {\n            bVar1 = (byte)_sch_istable[*input];\n            pbVar6 = input;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar6 = pbVar6 + 1;\n              if (*pbVar6 == 0) goto LAB_00104ec0;\n              bVar1 = (byte)_sch_istable[*pbVar6];\n            }\n            __src = buildargv((char *)input);\n            ppcVar5 = *argvp;\n            pcVar8 = *__src;\n            if (ppcVar5 == argv) {\n              ppcVar5 = dupargv(argv);\n              *argvp = ppcVar5;\n            }\n            if (pcVar8 == (char *)0x0) goto LAB_00105016;\n            lVar7 = 0;\n            do {\n              lVar7 = lVar7 + 1;\n              sVar3 = lVar7 * 8;\n            } while (__src[lVar7] != (char *)0x0);\n            iVar2 = (int)lVar7;\n            local_100 = (lVar11 + lVar7) * 8;\n          }" if (parenthesized_expression "(*input == 0)" ( (binary_expression "*input == 0" (pointer_expression "*input" * identifier) == number_literal) )) (compound_statement "{\nLAB_00104ec0:\n            __src = (char **)xmalloc(8);\n            *__src = (char *)0x0;\n            ppcVar5 = *argvp;\n            if (argv == ppcVar5) {\n              ppcVar5 = dupargv(argv);\n              iVar2 = 0;\n              lVar7 = 0;\n              *argvp = ppcVar5;\n              sVar3 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar2 = 0;\n              lVar7 = 0;\n              sVar3 = 0;\n            }\n          }" { (labeled_statement "LAB_00104ec0:\n            __src = (char **)xmalloc(8);" statement_identifier : (expression_statement "__src = (char **)xmalloc(8);" (assignment_expression "__src = (char **)xmalloc(8)" identifier = (cast_expression "(char **)xmalloc(8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (call_expression "xmalloc(8)" identifier (argument_list "(8)" ( number_literal ))))) ;)) (expression_statement "*__src = (char *)0x0;" (assignment_expression "*__src = (char *)0x0" (pointer_expression "*__src" * identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "ppcVar5 = *argvp;" (assignment_expression "ppcVar5 = *argvp" identifier = (pointer_expression "*argvp" * identifier)) ;) (if_statement "if (argv == ppcVar5) {\n              ppcVar5 = dupargv(argv);\n              iVar2 = 0;\n              lVar7 = 0;\n              *argvp = ppcVar5;\n              sVar3 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar2 = 0;\n              lVar7 = 0;\n              sVar3 = 0;\n            }" if (parenthesized_expression "(argv == ppcVar5)" ( (binary_expression "argv == ppcVar5" identifier == identifier) )) (compound_statement "{\n              ppcVar5 = dupargv(argv);\n              iVar2 = 0;\n              lVar7 = 0;\n              *argvp = ppcVar5;\n              sVar3 = 0;\n            }" { (expression_statement "ppcVar5 = dupargv(argv);" (assignment_expression "ppcVar5 = dupargv(argv)" identifier = (call_expression "dupargv(argv)" identifier (argument_list "(argv)" ( identifier )))) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "lVar7 = 0;" (assignment_expression "lVar7 = 0" identifier = number_literal) ;) (expression_statement "*argvp = ppcVar5;" (assignment_expression "*argvp = ppcVar5" (pointer_expression "*argvp" * identifier) = identifier) ;) (expression_statement "sVar3 = 0;" (assignment_expression "sVar3 = 0" identifier = number_literal) ;) }) (else_clause "else {\nLAB_00105016:\n              iVar2 = 0;\n              lVar7 = 0;\n              sVar3 = 0;\n            }" else (compound_statement "{\nLAB_00105016:\n              iVar2 = 0;\n              lVar7 = 0;\n              sVar3 = 0;\n            }" { (labeled_statement "LAB_00105016:\n              iVar2 = 0;" statement_identifier : (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;)) (expression_statement "lVar7 = 0;" (assignment_expression "lVar7 = 0" identifier = number_literal) ;) (expression_statement "sVar3 = 0;" (assignment_expression "sVar3 = 0" identifier = number_literal) ;) }))) }) (else_clause "else {\n            bVar1 = (byte)_sch_istable[*input];\n            pbVar6 = input;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar6 = pbVar6 + 1;\n              if (*pbVar6 == 0) goto LAB_00104ec0;\n              bVar1 = (byte)_sch_istable[*pbVar6];\n            }\n            __src = buildargv((char *)input);\n            ppcVar5 = *argvp;\n            pcVar8 = *__src;\n            if (ppcVar5 == argv) {\n              ppcVar5 = dupargv(argv);\n              *argvp = ppcVar5;\n            }\n            if (pcVar8 == (char *)0x0) goto LAB_00105016;\n            lVar7 = 0;\n            do {\n              lVar7 = lVar7 + 1;\n              sVar3 = lVar7 * 8;\n            } while (__src[lVar7] != (char *)0x0);\n            iVar2 = (int)lVar7;\n            local_100 = (lVar11 + lVar7) * 8;\n          }" else (compound_statement "{\n            bVar1 = (byte)_sch_istable[*input];\n            pbVar6 = input;\n            while ((bVar1 & 0x40) != 0) {\n              pbVar6 = pbVar6 + 1;\n              if (*pbVar6 == 0) goto LAB_00104ec0;\n              bVar1 = (byte)_sch_istable[*pbVar6];\n            }\n            __src = buildargv((char *)input);\n            ppcVar5 = *argvp;\n            pcVar8 = *__src;\n            if (ppcVar5 == argv) {\n              ppcVar5 = dupargv(argv);\n              *argvp = ppcVar5;\n            }\n            if (pcVar8 == (char *)0x0) goto LAB_00105016;\n            lVar7 = 0;\n            do {\n              lVar7 = lVar7 + 1;\n              sVar3 = lVar7 * 8;\n            } while (__src[lVar7] != (char *)0x0);\n            iVar2 = (int)lVar7;\n            local_100 = (lVar11 + lVar7) * 8;\n          }" { (expression_statement "bVar1 = (byte)_sch_istable[*input];" (assignment_expression "bVar1 = (byte)_sch_istable[*input]" identifier = (cast_expression "(byte)_sch_istable[*input]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "_sch_istable[*input]" identifier [ (pointer_expression "*input" * identifier) ]))) ;) (expression_statement "pbVar6 = input;" (assignment_expression "pbVar6 = input" identifier = identifier) ;) (while_statement "while ((bVar1 & 0x40) != 0) {\n              pbVar6 = pbVar6 + 1;\n              if (*pbVar6 == 0) goto LAB_00104ec0;\n              bVar1 = (byte)_sch_istable[*pbVar6];\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              pbVar6 = pbVar6 + 1;\n              if (*pbVar6 == 0) goto LAB_00104ec0;\n              bVar1 = (byte)_sch_istable[*pbVar6];\n            }" { (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) (if_statement "if (*pbVar6 == 0) goto LAB_00104ec0;" if (parenthesized_expression "(*pbVar6 == 0)" ( (binary_expression "*pbVar6 == 0" (pointer_expression "*pbVar6" * identifier) == number_literal) )) (goto_statement "goto LAB_00104ec0;" goto statement_identifier ;)) (expression_statement "bVar1 = (byte)_sch_istable[*pbVar6];" (assignment_expression "bVar1 = (byte)_sch_istable[*pbVar6]" identifier = (cast_expression "(byte)_sch_istable[*pbVar6]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "_sch_istable[*pbVar6]" identifier [ (pointer_expression "*pbVar6" * identifier) ]))) ;) })) (expression_statement "__src = buildargv((char *)input);" (assignment_expression "__src = buildargv((char *)input)" identifier = (call_expression "buildargv((char *)input)" identifier (argument_list "((char *)input)" ( (cast_expression "(char *)input" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (expression_statement "ppcVar5 = *argvp;" (assignment_expression "ppcVar5 = *argvp" identifier = (pointer_expression "*argvp" * identifier)) ;) (expression_statement "pcVar8 = *__src;" (assignment_expression "pcVar8 = *__src" identifier = (pointer_expression "*__src" * identifier)) ;) (if_statement "if (ppcVar5 == argv) {\n              ppcVar5 = dupargv(argv);\n              *argvp = ppcVar5;\n            }" if (parenthesized_expression "(ppcVar5 == argv)" ( (binary_expression "ppcVar5 == argv" identifier == identifier) )) (compound_statement "{\n              ppcVar5 = dupargv(argv);\n              *argvp = ppcVar5;\n            }" { (expression_statement "ppcVar5 = dupargv(argv);" (assignment_expression "ppcVar5 = dupargv(argv)" identifier = (call_expression "dupargv(argv)" identifier (argument_list "(argv)" ( identifier )))) ;) (expression_statement "*argvp = ppcVar5;" (assignment_expression "*argvp = ppcVar5" (pointer_expression "*argvp" * identifier) = identifier) ;) })) (if_statement "if (pcVar8 == (char *)0x0) goto LAB_00105016;" if (parenthesized_expression "(pcVar8 == (char *)0x0)" ( (binary_expression "pcVar8 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00105016;" goto statement_identifier ;)) (expression_statement "lVar7 = 0;" (assignment_expression "lVar7 = 0" identifier = number_literal) ;) (do_statement "do {\n              lVar7 = lVar7 + 1;\n              sVar3 = lVar7 * 8;\n            } while (__src[lVar7] != (char *)0x0);" do (compound_statement "{\n              lVar7 = lVar7 + 1;\n              sVar3 = lVar7 * 8;\n            }" { (expression_statement "lVar7 = lVar7 + 1;" (assignment_expression "lVar7 = lVar7 + 1" identifier = (binary_expression "lVar7 + 1" identifier + number_literal)) ;) (expression_statement "sVar3 = lVar7 * 8;" (assignment_expression "sVar3 = lVar7 * 8" identifier = (binary_expression "lVar7 * 8" identifier * number_literal)) ;) }) while (parenthesized_expression "(__src[lVar7] != (char *)0x0)" ( (binary_expression "__src[lVar7] != (char *)0x0" (subscript_expression "__src[lVar7]" identifier [ identifier ]) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "iVar2 = (int)lVar7;" (assignment_expression "iVar2 = (int)lVar7" identifier = (cast_expression "(int)lVar7" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "local_100 = (lVar11 + lVar7) * 8;" (assignment_expression "local_100 = (lVar11 + lVar7) * 8" identifier = (binary_expression "(lVar11 + lVar7) * 8" (parenthesized_expression "(lVar11 + lVar7)" ( (binary_expression "lVar11 + lVar7" identifier + identifier) )) * number_literal)) ;) }))) (expression_statement "free(ppcVar5[lVar11]);" (call_expression "free(ppcVar5[lVar11])" identifier (argument_list "(ppcVar5[lVar11])" ( (subscript_expression "ppcVar5[lVar11]" identifier [ identifier ]) ))) ;) (expression_statement "ppcVar5 = (char **)xrealloc(*argvp,(lVar7 + 1 + (long)*argcp) * 8);" (assignment_expression "ppcVar5 = (char **)xrealloc(*argvp,(lVar7 + 1 + (long)*argcp) * 8)" identifier = (cast_expression "(char **)xrealloc(*argvp,(lVar7 + 1 + (long)*argcp) * 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (call_expression "xrealloc(*argvp,(lVar7 + 1 + (long)*argcp) * 8)" identifier (argument_list "(*argvp,(lVar7 + 1 + (long)*argcp) * 8)" ( (pointer_expression "*argvp" * identifier) , (binary_expression "(lVar7 + 1 + (long)*argcp) * 8" (parenthesized_expression "(lVar7 + 1 + (long)*argcp)" ( (binary_expression "lVar7 + 1 + (long)*argcp" (binary_expression "lVar7 + 1" identifier + number_literal) + (cast_expression "(long)*argcp" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "*argcp" * identifier))) )) * number_literal) ))))) ;) (expression_statement "iVar10 = *argcp;" (assignment_expression "iVar10 = *argcp" identifier = (pointer_expression "*argcp" * identifier)) ;) (expression_statement "*argvp = ppcVar5;" (assignment_expression "*argvp = ppcVar5" (pointer_expression "*argvp" * identifier) = identifier) ;) (expression_statement "memmove((void *)(local_100 + (long)ppcVar5),ppcVar5 + lVar11 + 1,\n                  (long)(iVar10 - iVar9) << 3);" (call_expression "memmove((void *)(local_100 + (long)ppcVar5),ppcVar5 + lVar11 + 1,\n                  (long)(iVar10 - iVar9) << 3)" identifier (argument_list "((void *)(local_100 + (long)ppcVar5),ppcVar5 + lVar11 + 1,\n                  (long)(iVar10 - iVar9) << 3)" ( (cast_expression "(void *)(local_100 + (long)ppcVar5)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_100 + (long)ppcVar5)" ( (binary_expression "local_100 + (long)ppcVar5" identifier + (cast_expression "(long)ppcVar5" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ))) , (binary_expression "ppcVar5 + lVar11 + 1" (binary_expression "ppcVar5 + lVar11" identifier + identifier) + number_literal) , (binary_expression "(long)(iVar10 - iVar9) << 3" (cast_expression "(long)(iVar10 - iVar9)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(iVar10 - iVar9)" ( (binary_expression "iVar10 - iVar9" identifier - identifier) ))) << number_literal) ))) ;) (expression_statement "memcpy(*argvp + lVar11,__src,sVar3);" (call_expression "memcpy(*argvp + lVar11,__src,sVar3)" identifier (argument_list "(*argvp + lVar11,__src,sVar3)" ( (binary_expression "*argvp + lVar11" (pointer_expression "*argvp" * identifier) + identifier) , identifier , identifier ))) ;) (expression_statement "*argcp = iVar2 + -1 + *argcp;" (assignment_expression "*argcp = iVar2 + -1 + *argcp" (pointer_expression "*argcp" * identifier) = (binary_expression "iVar2 + -1 + *argcp" (binary_expression "iVar2 + -1" identifier + number_literal) + (pointer_expression "*argcp" * identifier))) ;) (expression_statement "free(__src);" (call_expression "free(__src)" identifier (argument_list "(__src)" ( identifier ))) ;) (expression_statement "free(input);" (call_expression "free(input)" identifier (argument_list "(input)" ( identifier ))) ;) (expression_statement "iVar10 = iVar12;" (assignment_expression "iVar10 = iVar12" identifier = identifier) ;) })) })) (expression_statement "fclose(__stream);" (call_expression "fclose(__stream)" identifier (argument_list "(__stream)" ( identifier ))) ;) (expression_statement "iVar9 = iVar10 + 1;" (assignment_expression "iVar9 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "iVar2 = *argcp;" (assignment_expression "iVar2 = *argcp" identifier = (pointer_expression "*argcp" * identifier)) ;) (expression_statement "iVar12 = iVar10;" (assignment_expression "iVar12 = iVar10" identifier = 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_00104d00(int *param_1,long *param_2)\n\n{\n  long lVar1;\n  byte bVar2;\n  long lVar3;\n  int iVar4;\n  FILE *__stream;\n  size_t sVar5;\n  byte *__ptr;\n  size_t sVar6;\n  long *__src;\n  long lVar7;\n  byte *pbVar8;\n  long lVar9;\n  undefined8 uVar10;\n  int iVar11;\n  int iVar12;\n  long lVar13;\n  char *pcVar14;\n  int iVar15;\n  long local_100;\n  int local_d8;\n  stat local_c8;\n  \n  lVar3 = *param_2;\n  iVar4 = *param_1;\n  local_d8 = 2000;\n  iVar12 = 0;\n  do {\n    iVar11 = iVar12 + 1;\n    iVar15 = iVar12;\n    if (iVar4 <= iVar11) {\n      return;\n    }\n    while( true ) {\n      lVar13 = (long)iVar11;\n      lVar1 = lVar13 * 8;\n      pcVar14 = (char *)((undefined8 *)*param_2)[lVar13];\n      iVar12 = iVar11;\n      if (*pcVar14 != '@') break;\n      local_d8 = local_d8 + -1;\n      if (local_d8 == 0) {\n        uVar10 = *(undefined8 *)*param_2;\n        pcVar14 = "%s: error: too many @-files encountered\n";\n        goto LAB_00105032;\n      }\n      pcVar14 = pcVar14 + 1;\n      iVar4 = __xstat(1,pcVar14,&local_c8);\n      if (iVar4 < 0) {\nLAB_00104e70:\n        iVar4 = *param_1;\n        break;\n      }\n      if ((local_c8.st_mode & 0xf000) == 0x4000) {\n        do {\n          pcVar14 = "%s: error: @-file refers to a directory\n";\n          uVar10 = *(undefined8 *)*param_2;\nLAB_00105032:\n          fprintf(stderr,pcVar14,uVar10);\n          FUN_00105150(1);\n        } while( true );\n      }\n      __stream = fopen(pcVar14,"r");\n      if (__stream == (FILE *)0x0) goto LAB_00104e70;\n      iVar4 = fseek(__stream,0,2);\n      if (((iVar4 != -1) && (sVar5 = ftell(__stream), sVar5 != 0xffffffffffffffff)) &&\n         (iVar4 = fseek(__stream,0,0), iVar4 != -1)) {\n        __ptr = (byte *)FUN_00105220(sVar5 + 1);\n        sVar6 = fread(__ptr,1,sVar5,__stream);\n        if ((sVar5 == sVar6) || (iVar4 = ferror(__stream), iVar4 == 0)) {\n          __ptr[sVar6] = 0;\n          local_100 = lVar1;\n          if (*__ptr == 0) {\nLAB_00104ec0:\n            __src = (long *)FUN_00105220(8);\n            *__src = 0;\n            lVar7 = *param_2;\n            if (lVar3 == lVar7) {\n              lVar7 = FUN_001048c0();\n              iVar4 = 0;\n              lVar9 = 0;\n              *param_2 = lVar7;\n              sVar5 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar4 = 0;\n              lVar9 = 0;\n              sVar5 = 0;\n            }\n          }\n          else {\n            bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2];\n            pbVar8 = __ptr;\n            while ((bVar2 & 0x40) != 0) {\n              pbVar8 = pbVar8 + 1;\n              if (*pbVar8 == 0) goto LAB_00104ec0;\n              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];\n            }\n            __src = (long *)FUN_001049b0(__ptr);\n            lVar7 = *param_2;\n            lVar9 = *__src;\n            if (lVar7 == lVar3) {\n              lVar7 = FUN_001048c0(lVar3);\n              *param_2 = lVar7;\n            }\n            if (lVar9 == 0) goto LAB_00105016;\n            lVar9 = 0;\n            do {\n              lVar9 = lVar9 + 1;\n              sVar5 = lVar9 * 8;\n            } while (__src[lVar9] != 0);\n            iVar4 = (int)lVar9;\n            local_100 = (lVar13 + lVar9) * 8;\n          }\n          free(*(void **)(lVar7 + lVar13 * 8));\n          lVar13 = FUN_001052a0(*param_2,(lVar9 + 1 + (long)*param_1) * 8);\n          iVar12 = *param_1;\n          *param_2 = lVar13;\n          memmove((void *)(local_100 + lVar13),(void *)(lVar13 + 8 + lVar1),\n                  (long)(iVar12 - iVar11) << 3);\n          memcpy((void *)(*param_2 + lVar1),__src,sVar5);\n          *param_1 = iVar4 + -1 + *param_1;\n          free(__src);\n          free(__ptr);\n          iVar12 = iVar15;\n        }\n      }\n      fclose(__stream);\n      iVar11 = iVar12 + 1;\n      iVar4 = *param_1;\n      iVar15 = iVar12;\n      if (iVar4 <= iVar11) {\n        return;\n      }\n    }\n  } while( true );\n}\n\n" (function_definition "void FUN_00104d00(int *param_1,long *param_2)\n\n{\n  long lVar1;\n  byte bVar2;\n  long lVar3;\n  int iVar4;\n  FILE *__stream;\n  size_t sVar5;\n  byte *__ptr;\n  size_t sVar6;\n  long *__src;\n  long lVar7;\n  byte *pbVar8;\n  long lVar9;\n  undefined8 uVar10;\n  int iVar11;\n  int iVar12;\n  long lVar13;\n  char *pcVar14;\n  int iVar15;\n  long local_100;\n  int local_d8;\n  stat local_c8;\n  \n  lVar3 = *param_2;\n  iVar4 = *param_1;\n  local_d8 = 2000;\n  iVar12 = 0;\n  do {\n    iVar11 = iVar12 + 1;\n    iVar15 = iVar12;\n    if (iVar4 <= iVar11) {\n      return;\n    }\n    while( true ) {\n      lVar13 = (long)iVar11;\n      lVar1 = lVar13 * 8;\n      pcVar14 = (char *)((undefined8 *)*param_2)[lVar13];\n      iVar12 = iVar11;\n      if (*pcVar14 != '@') break;\n      local_d8 = local_d8 + -1;\n      if (local_d8 == 0) {\n        uVar10 = *(undefined8 *)*param_2;\n        pcVar14 = "%s: error: too many @-files encountered\n";\n        goto LAB_00105032;\n      }\n      pcVar14 = pcVar14 + 1;\n      iVar4 = __xstat(1,pcVar14,&local_c8);\n      if (iVar4 < 0) {\nLAB_00104e70:\n        iVar4 = *param_1;\n        break;\n      }\n      if ((local_c8.st_mode & 0xf000) == 0x4000) {\n        do {\n          pcVar14 = "%s: error: @-file refers to a directory\n";\n          uVar10 = *(undefined8 *)*param_2;\nLAB_00105032:\n          fprintf(stderr,pcVar14,uVar10);\n          FUN_00105150(1);\n        } while( true );\n      }\n      __stream = fopen(pcVar14,"r");\n      if (__stream == (FILE *)0x0) goto LAB_00104e70;\n      iVar4 = fseek(__stream,0,2);\n      if (((iVar4 != -1) && (sVar5 = ftell(__stream), sVar5 != 0xffffffffffffffff)) &&\n         (iVar4 = fseek(__stream,0,0), iVar4 != -1)) {\n        __ptr = (byte *)FUN_00105220(sVar5 + 1);\n        sVar6 = fread(__ptr,1,sVar5,__stream);\n        if ((sVar5 == sVar6) || (iVar4 = ferror(__stream), iVar4 == 0)) {\n          __ptr[sVar6] = 0;\n          local_100 = lVar1;\n          if (*__ptr == 0) {\nLAB_00104ec0:\n            __src = (long *)FUN_00105220(8);\n            *__src = 0;\n            lVar7 = *param_2;\n            if (lVar3 == lVar7) {\n              lVar7 = FUN_001048c0();\n              iVar4 = 0;\n              lVar9 = 0;\n              *param_2 = lVar7;\n              sVar5 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar4 = 0;\n              lVar9 = 0;\n              sVar5 = 0;\n            }\n          }\n          else {\n            bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2];\n            pbVar8 = __ptr;\n            while ((bVar2 & 0x40) != 0) {\n              pbVar8 = pbVar8 + 1;\n              if (*pbVar8 == 0) goto LAB_00104ec0;\n              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];\n            }\n            __src = (long *)FUN_001049b0(__ptr);\n            lVar7 = *param_2;\n            lVar9 = *__src;\n            if (lVar7 == lVar3) {\n              lVar7 = FUN_001048c0(lVar3);\n              *param_2 = lVar7;\n            }\n            if (lVar9 == 0) goto LAB_00105016;\n            lVar9 = 0;\n            do {\n              lVar9 = lVar9 + 1;\n              sVar5 = lVar9 * 8;\n            } while (__src[lVar9] != 0);\n            iVar4 = (int)lVar9;\n            local_100 = (lVar13 + lVar9) * 8;\n          }\n          free(*(void **)(lVar7 + lVar13 * 8));\n          lVar13 = FUN_001052a0(*param_2,(lVar9 + 1 + (long)*param_1) * 8);\n          iVar12 = *param_1;\n          *param_2 = lVar13;\n          memmove((void *)(local_100 + lVar13),(void *)(lVar13 + 8 + lVar1),\n                  (long)(iVar12 - iVar11) << 3);\n          memcpy((void *)(*param_2 + lVar1),__src,sVar5);\n          *param_1 = iVar4 + -1 + *param_1;\n          free(__src);\n          free(__ptr);\n          iVar12 = iVar15;\n        }\n      }\n      fclose(__stream);\n      iVar11 = iVar12 + 1;\n      iVar4 = *param_1;\n      iVar15 = iVar12;\n      if (iVar4 <= iVar11) {\n        return;\n      }\n    }\n  } while( true );\n}" primitive_type (function_declarator "FUN_00104d00(int *param_1,long *param_2)" identifier (parameter_list "(int *param_1,long *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long *param_2" (sized_type_specifier "long" long) (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  byte bVar2;\n  long lVar3;\n  int iVar4;\n  FILE *__stream;\n  size_t sVar5;\n  byte *__ptr;\n  size_t sVar6;\n  long *__src;\n  long lVar7;\n  byte *pbVar8;\n  long lVar9;\n  undefined8 uVar10;\n  int iVar11;\n  int iVar12;\n  long lVar13;\n  char *pcVar14;\n  int iVar15;\n  long local_100;\n  int local_d8;\n  stat local_c8;\n  \n  lVar3 = *param_2;\n  iVar4 = *param_1;\n  local_d8 = 2000;\n  iVar12 = 0;\n  do {\n    iVar11 = iVar12 + 1;\n    iVar15 = iVar12;\n    if (iVar4 <= iVar11) {\n      return;\n    }\n    while( true ) {\n      lVar13 = (long)iVar11;\n      lVar1 = lVar13 * 8;\n      pcVar14 = (char *)((undefined8 *)*param_2)[lVar13];\n      iVar12 = iVar11;\n      if (*pcVar14 != '@') break;\n      local_d8 = local_d8 + -1;\n      if (local_d8 == 0) {\n        uVar10 = *(undefined8 *)*param_2;\n        pcVar14 = "%s: error: too many @-files encountered\n";\n        goto LAB_00105032;\n      }\n      pcVar14 = pcVar14 + 1;\n      iVar4 = __xstat(1,pcVar14,&local_c8);\n      if (iVar4 < 0) {\nLAB_00104e70:\n        iVar4 = *param_1;\n        break;\n      }\n      if ((local_c8.st_mode & 0xf000) == 0x4000) {\n        do {\n          pcVar14 = "%s: error: @-file refers to a directory\n";\n          uVar10 = *(undefined8 *)*param_2;\nLAB_00105032:\n          fprintf(stderr,pcVar14,uVar10);\n          FUN_00105150(1);\n        } while( true );\n      }\n      __stream = fopen(pcVar14,"r");\n      if (__stream == (FILE *)0x0) goto LAB_00104e70;\n      iVar4 = fseek(__stream,0,2);\n      if (((iVar4 != -1) && (sVar5 = ftell(__stream), sVar5 != 0xffffffffffffffff)) &&\n         (iVar4 = fseek(__stream,0,0), iVar4 != -1)) {\n        __ptr = (byte *)FUN_00105220(sVar5 + 1);\n        sVar6 = fread(__ptr,1,sVar5,__stream);\n        if ((sVar5 == sVar6) || (iVar4 = ferror(__stream), iVar4 == 0)) {\n          __ptr[sVar6] = 0;\n          local_100 = lVar1;\n          if (*__ptr == 0) {\nLAB_00104ec0:\n            __src = (long *)FUN_00105220(8);\n            *__src = 0;\n            lVar7 = *param_2;\n            if (lVar3 == lVar7) {\n              lVar7 = FUN_001048c0();\n              iVar4 = 0;\n              lVar9 = 0;\n              *param_2 = lVar7;\n              sVar5 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar4 = 0;\n              lVar9 = 0;\n              sVar5 = 0;\n            }\n          }\n          else {\n            bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2];\n            pbVar8 = __ptr;\n            while ((bVar2 & 0x40) != 0) {\n              pbVar8 = pbVar8 + 1;\n              if (*pbVar8 == 0) goto LAB_00104ec0;\n              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];\n            }\n            __src = (long *)FUN_001049b0(__ptr);\n            lVar7 = *param_2;\n            lVar9 = *__src;\n            if (lVar7 == lVar3) {\n              lVar7 = FUN_001048c0(lVar3);\n              *param_2 = lVar7;\n            }\n            if (lVar9 == 0) goto LAB_00105016;\n            lVar9 = 0;\n            do {\n              lVar9 = lVar9 + 1;\n              sVar5 = lVar9 * 8;\n            } while (__src[lVar9] != 0);\n            iVar4 = (int)lVar9;\n            local_100 = (lVar13 + lVar9) * 8;\n          }\n          free(*(void **)(lVar7 + lVar13 * 8));\n          lVar13 = FUN_001052a0(*param_2,(lVar9 + 1 + (long)*param_1) * 8);\n          iVar12 = *param_1;\n          *param_2 = lVar13;\n          memmove((void *)(local_100 + lVar13),(void *)(lVar13 + 8 + lVar1),\n                  (long)(iVar12 - iVar11) << 3);\n          memcpy((void *)(*param_2 + lVar1),__src,sVar5);\n          *param_1 = iVar4 + -1 + *param_1;\n          free(__src);\n          free(__ptr);\n          iVar12 = iVar15;\n        }\n      }\n      fclose(__stream);\n      iVar11 = iVar12 + 1;\n      iVar4 = *param_1;\n      iVar15 = iVar12;\n      if (iVar4 <= iVar11) {\n        return;\n      }\n    }\n  } while( true );\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "FILE *__stream;" type_identifier (pointer_declarator "*__stream" * identifier) ;) (declaration "size_t sVar5;" primitive_type identifier ;) (declaration "byte *__ptr;" type_identifier (pointer_declarator "*__ptr" * identifier) ;) (declaration "size_t sVar6;" primitive_type identifier ;) (declaration "long *__src;" (sized_type_specifier "long" long) (pointer_declarator "*__src" * identifier) ;) (declaration "long lVar7;" (sized_type_specifier "long" long) identifier ;) (declaration "byte *pbVar8;" type_identifier (pointer_declarator "*pbVar8" * identifier) ;) (declaration "long lVar9;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar10;" type_identifier identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "long lVar13;" (sized_type_specifier "long" long) identifier ;) (declaration "char *pcVar14;" primitive_type (pointer_declarator "*pcVar14" * identifier) ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "long local_100;" (sized_type_specifier "long" long) identifier ;) (declaration "int local_d8;" primitive_type identifier ;) (declaration "stat local_c8;" type_identifier identifier ;) (expression_statement "lVar3 = *param_2;" (assignment_expression "lVar3 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "iVar4 = *param_1;" (assignment_expression "iVar4 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "local_d8 = 2000;" (assignment_expression "local_d8 = 2000" identifier = number_literal) ;) (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) (do_statement "do {\n    iVar11 = iVar12 + 1;\n    iVar15 = iVar12;\n    if (iVar4 <= iVar11) {\n      return;\n    }\n    while( true ) {\n      lVar13 = (long)iVar11;\n      lVar1 = lVar13 * 8;\n      pcVar14 = (char *)((undefined8 *)*param_2)[lVar13];\n      iVar12 = iVar11;\n      if (*pcVar14 != '@') break;\n      local_d8 = local_d8 + -1;\n      if (local_d8 == 0) {\n        uVar10 = *(undefined8 *)*param_2;\n        pcVar14 = "%s: error: too many @-files encountered\n";\n        goto LAB_00105032;\n      }\n      pcVar14 = pcVar14 + 1;\n      iVar4 = __xstat(1,pcVar14,&local_c8);\n      if (iVar4 < 0) {\nLAB_00104e70:\n        iVar4 = *param_1;\n        break;\n      }\n      if ((local_c8.st_mode & 0xf000) == 0x4000) {\n        do {\n          pcVar14 = "%s: error: @-file refers to a directory\n";\n          uVar10 = *(undefined8 *)*param_2;\nLAB_00105032:\n          fprintf(stderr,pcVar14,uVar10);\n          FUN_00105150(1);\n        } while( true );\n      }\n      __stream = fopen(pcVar14,"r");\n      if (__stream == (FILE *)0x0) goto LAB_00104e70;\n      iVar4 = fseek(__stream,0,2);\n      if (((iVar4 != -1) && (sVar5 = ftell(__stream), sVar5 != 0xffffffffffffffff)) &&\n         (iVar4 = fseek(__stream,0,0), iVar4 != -1)) {\n        __ptr = (byte *)FUN_00105220(sVar5 + 1);\n        sVar6 = fread(__ptr,1,sVar5,__stream);\n        if ((sVar5 == sVar6) || (iVar4 = ferror(__stream), iVar4 == 0)) {\n          __ptr[sVar6] = 0;\n          local_100 = lVar1;\n          if (*__ptr == 0) {\nLAB_00104ec0:\n            __src = (long *)FUN_00105220(8);\n            *__src = 0;\n            lVar7 = *param_2;\n            if (lVar3 == lVar7) {\n              lVar7 = FUN_001048c0();\n              iVar4 = 0;\n              lVar9 = 0;\n              *param_2 = lVar7;\n              sVar5 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar4 = 0;\n              lVar9 = 0;\n              sVar5 = 0;\n            }\n          }\n          else {\n            bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2];\n            pbVar8 = __ptr;\n            while ((bVar2 & 0x40) != 0) {\n              pbVar8 = pbVar8 + 1;\n              if (*pbVar8 == 0) goto LAB_00104ec0;\n              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];\n            }\n            __src = (long *)FUN_001049b0(__ptr);\n            lVar7 = *param_2;\n            lVar9 = *__src;\n            if (lVar7 == lVar3) {\n              lVar7 = FUN_001048c0(lVar3);\n              *param_2 = lVar7;\n            }\n            if (lVar9 == 0) goto LAB_00105016;\n            lVar9 = 0;\n            do {\n              lVar9 = lVar9 + 1;\n              sVar5 = lVar9 * 8;\n            } while (__src[lVar9] != 0);\n            iVar4 = (int)lVar9;\n            local_100 = (lVar13 + lVar9) * 8;\n          }\n          free(*(void **)(lVar7 + lVar13 * 8));\n          lVar13 = FUN_001052a0(*param_2,(lVar9 + 1 + (long)*param_1) * 8);\n          iVar12 = *param_1;\n          *param_2 = lVar13;\n          memmove((void *)(local_100 + lVar13),(void *)(lVar13 + 8 + lVar1),\n                  (long)(iVar12 - iVar11) << 3);\n          memcpy((void *)(*param_2 + lVar1),__src,sVar5);\n          *param_1 = iVar4 + -1 + *param_1;\n          free(__src);\n          free(__ptr);\n          iVar12 = iVar15;\n        }\n      }\n      fclose(__stream);\n      iVar11 = iVar12 + 1;\n      iVar4 = *param_1;\n      iVar15 = iVar12;\n      if (iVar4 <= iVar11) {\n        return;\n      }\n    }\n  } while( true );" do (compound_statement "{\n    iVar11 = iVar12 + 1;\n    iVar15 = iVar12;\n    if (iVar4 <= iVar11) {\n      return;\n    }\n    while( true ) {\n      lVar13 = (long)iVar11;\n      lVar1 = lVar13 * 8;\n      pcVar14 = (char *)((undefined8 *)*param_2)[lVar13];\n      iVar12 = iVar11;\n      if (*pcVar14 != '@') break;\n      local_d8 = local_d8 + -1;\n      if (local_d8 == 0) {\n        uVar10 = *(undefined8 *)*param_2;\n        pcVar14 = "%s: error: too many @-files encountered\n";\n        goto LAB_00105032;\n      }\n      pcVar14 = pcVar14 + 1;\n      iVar4 = __xstat(1,pcVar14,&local_c8);\n      if (iVar4 < 0) {\nLAB_00104e70:\n        iVar4 = *param_1;\n        break;\n      }\n      if ((local_c8.st_mode & 0xf000) == 0x4000) {\n        do {\n          pcVar14 = "%s: error: @-file refers to a directory\n";\n          uVar10 = *(undefined8 *)*param_2;\nLAB_00105032:\n          fprintf(stderr,pcVar14,uVar10);\n          FUN_00105150(1);\n        } while( true );\n      }\n      __stream = fopen(pcVar14,"r");\n      if (__stream == (FILE *)0x0) goto LAB_00104e70;\n      iVar4 = fseek(__stream,0,2);\n      if (((iVar4 != -1) && (sVar5 = ftell(__stream), sVar5 != 0xffffffffffffffff)) &&\n         (iVar4 = fseek(__stream,0,0), iVar4 != -1)) {\n        __ptr = (byte *)FUN_00105220(sVar5 + 1);\n        sVar6 = fread(__ptr,1,sVar5,__stream);\n        if ((sVar5 == sVar6) || (iVar4 = ferror(__stream), iVar4 == 0)) {\n          __ptr[sVar6] = 0;\n          local_100 = lVar1;\n          if (*__ptr == 0) {\nLAB_00104ec0:\n            __src = (long *)FUN_00105220(8);\n            *__src = 0;\n            lVar7 = *param_2;\n            if (lVar3 == lVar7) {\n              lVar7 = FUN_001048c0();\n              iVar4 = 0;\n              lVar9 = 0;\n              *param_2 = lVar7;\n              sVar5 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar4 = 0;\n              lVar9 = 0;\n              sVar5 = 0;\n            }\n          }\n          else {\n            bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2];\n            pbVar8 = __ptr;\n            while ((bVar2 & 0x40) != 0) {\n              pbVar8 = pbVar8 + 1;\n              if (*pbVar8 == 0) goto LAB_00104ec0;\n              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];\n            }\n            __src = (long *)FUN_001049b0(__ptr);\n            lVar7 = *param_2;\n            lVar9 = *__src;\n            if (lVar7 == lVar3) {\n              lVar7 = FUN_001048c0(lVar3);\n              *param_2 = lVar7;\n            }\n            if (lVar9 == 0) goto LAB_00105016;\n            lVar9 = 0;\n            do {\n              lVar9 = lVar9 + 1;\n              sVar5 = lVar9 * 8;\n            } while (__src[lVar9] != 0);\n            iVar4 = (int)lVar9;\n            local_100 = (lVar13 + lVar9) * 8;\n          }\n          free(*(void **)(lVar7 + lVar13 * 8));\n          lVar13 = FUN_001052a0(*param_2,(lVar9 + 1 + (long)*param_1) * 8);\n          iVar12 = *param_1;\n          *param_2 = lVar13;\n          memmove((void *)(local_100 + lVar13),(void *)(lVar13 + 8 + lVar1),\n                  (long)(iVar12 - iVar11) << 3);\n          memcpy((void *)(*param_2 + lVar1),__src,sVar5);\n          *param_1 = iVar4 + -1 + *param_1;\n          free(__src);\n          free(__ptr);\n          iVar12 = iVar15;\n        }\n      }\n      fclose(__stream);\n      iVar11 = iVar12 + 1;\n      iVar4 = *param_1;\n      iVar15 = iVar12;\n      if (iVar4 <= iVar11) {\n        return;\n      }\n    }\n  }" { (expression_statement "iVar11 = iVar12 + 1;" (assignment_expression "iVar11 = iVar12 + 1" identifier = (binary_expression "iVar12 + 1" identifier + number_literal)) ;) (expression_statement "iVar15 = iVar12;" (assignment_expression "iVar15 = iVar12" identifier = identifier) ;) (if_statement "if (iVar4 <= iVar11) {\n      return;\n    }" if (parenthesized_expression "(iVar4 <= iVar11)" ( (binary_expression "iVar4 <= iVar11" identifier <= identifier) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (while_statement "while( true ) {\n      lVar13 = (long)iVar11;\n      lVar1 = lVar13 * 8;\n      pcVar14 = (char *)((undefined8 *)*param_2)[lVar13];\n      iVar12 = iVar11;\n      if (*pcVar14 != '@') break;\n      local_d8 = local_d8 + -1;\n      if (local_d8 == 0) {\n        uVar10 = *(undefined8 *)*param_2;\n        pcVar14 = "%s: error: too many @-files encountered\n";\n        goto LAB_00105032;\n      }\n      pcVar14 = pcVar14 + 1;\n      iVar4 = __xstat(1,pcVar14,&local_c8);\n      if (iVar4 < 0) {\nLAB_00104e70:\n        iVar4 = *param_1;\n        break;\n      }\n      if ((local_c8.st_mode & 0xf000) == 0x4000) {\n        do {\n          pcVar14 = "%s: error: @-file refers to a directory\n";\n          uVar10 = *(undefined8 *)*param_2;\nLAB_00105032:\n          fprintf(stderr,pcVar14,uVar10);\n          FUN_00105150(1);\n        } while( true );\n      }\n      __stream = fopen(pcVar14,"r");\n      if (__stream == (FILE *)0x0) goto LAB_00104e70;\n      iVar4 = fseek(__stream,0,2);\n      if (((iVar4 != -1) && (sVar5 = ftell(__stream), sVar5 != 0xffffffffffffffff)) &&\n         (iVar4 = fseek(__stream,0,0), iVar4 != -1)) {\n        __ptr = (byte *)FUN_00105220(sVar5 + 1);\n        sVar6 = fread(__ptr,1,sVar5,__stream);\n        if ((sVar5 == sVar6) || (iVar4 = ferror(__stream), iVar4 == 0)) {\n          __ptr[sVar6] = 0;\n          local_100 = lVar1;\n          if (*__ptr == 0) {\nLAB_00104ec0:\n            __src = (long *)FUN_00105220(8);\n            *__src = 0;\n            lVar7 = *param_2;\n            if (lVar3 == lVar7) {\n              lVar7 = FUN_001048c0();\n              iVar4 = 0;\n              lVar9 = 0;\n              *param_2 = lVar7;\n              sVar5 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar4 = 0;\n              lVar9 = 0;\n              sVar5 = 0;\n            }\n          }\n          else {\n            bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2];\n            pbVar8 = __ptr;\n            while ((bVar2 & 0x40) != 0) {\n              pbVar8 = pbVar8 + 1;\n              if (*pbVar8 == 0) goto LAB_00104ec0;\n              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];\n            }\n            __src = (long *)FUN_001049b0(__ptr);\n            lVar7 = *param_2;\n            lVar9 = *__src;\n            if (lVar7 == lVar3) {\n              lVar7 = FUN_001048c0(lVar3);\n              *param_2 = lVar7;\n            }\n            if (lVar9 == 0) goto LAB_00105016;\n            lVar9 = 0;\n            do {\n              lVar9 = lVar9 + 1;\n              sVar5 = lVar9 * 8;\n            } while (__src[lVar9] != 0);\n            iVar4 = (int)lVar9;\n            local_100 = (lVar13 + lVar9) * 8;\n          }\n          free(*(void **)(lVar7 + lVar13 * 8));\n          lVar13 = FUN_001052a0(*param_2,(lVar9 + 1 + (long)*param_1) * 8);\n          iVar12 = *param_1;\n          *param_2 = lVar13;\n          memmove((void *)(local_100 + lVar13),(void *)(lVar13 + 8 + lVar1),\n                  (long)(iVar12 - iVar11) << 3);\n          memcpy((void *)(*param_2 + lVar1),__src,sVar5);\n          *param_1 = iVar4 + -1 + *param_1;\n          free(__src);\n          free(__ptr);\n          iVar12 = iVar15;\n        }\n      }\n      fclose(__stream);\n      iVar11 = iVar12 + 1;\n      iVar4 = *param_1;\n      iVar15 = iVar12;\n      if (iVar4 <= iVar11) {\n        return;\n      }\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      lVar13 = (long)iVar11;\n      lVar1 = lVar13 * 8;\n      pcVar14 = (char *)((undefined8 *)*param_2)[lVar13];\n      iVar12 = iVar11;\n      if (*pcVar14 != '@') break;\n      local_d8 = local_d8 + -1;\n      if (local_d8 == 0) {\n        uVar10 = *(undefined8 *)*param_2;\n        pcVar14 = "%s: error: too many @-files encountered\n";\n        goto LAB_00105032;\n      }\n      pcVar14 = pcVar14 + 1;\n      iVar4 = __xstat(1,pcVar14,&local_c8);\n      if (iVar4 < 0) {\nLAB_00104e70:\n        iVar4 = *param_1;\n        break;\n      }\n      if ((local_c8.st_mode & 0xf000) == 0x4000) {\n        do {\n          pcVar14 = "%s: error: @-file refers to a directory\n";\n          uVar10 = *(undefined8 *)*param_2;\nLAB_00105032:\n          fprintf(stderr,pcVar14,uVar10);\n          FUN_00105150(1);\n        } while( true );\n      }\n      __stream = fopen(pcVar14,"r");\n      if (__stream == (FILE *)0x0) goto LAB_00104e70;\n      iVar4 = fseek(__stream,0,2);\n      if (((iVar4 != -1) && (sVar5 = ftell(__stream), sVar5 != 0xffffffffffffffff)) &&\n         (iVar4 = fseek(__stream,0,0), iVar4 != -1)) {\n        __ptr = (byte *)FUN_00105220(sVar5 + 1);\n        sVar6 = fread(__ptr,1,sVar5,__stream);\n        if ((sVar5 == sVar6) || (iVar4 = ferror(__stream), iVar4 == 0)) {\n          __ptr[sVar6] = 0;\n          local_100 = lVar1;\n          if (*__ptr == 0) {\nLAB_00104ec0:\n            __src = (long *)FUN_00105220(8);\n            *__src = 0;\n            lVar7 = *param_2;\n            if (lVar3 == lVar7) {\n              lVar7 = FUN_001048c0();\n              iVar4 = 0;\n              lVar9 = 0;\n              *param_2 = lVar7;\n              sVar5 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar4 = 0;\n              lVar9 = 0;\n              sVar5 = 0;\n            }\n          }\n          else {\n            bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2];\n            pbVar8 = __ptr;\n            while ((bVar2 & 0x40) != 0) {\n              pbVar8 = pbVar8 + 1;\n              if (*pbVar8 == 0) goto LAB_00104ec0;\n              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];\n            }\n            __src = (long *)FUN_001049b0(__ptr);\n            lVar7 = *param_2;\n            lVar9 = *__src;\n            if (lVar7 == lVar3) {\n              lVar7 = FUN_001048c0(lVar3);\n              *param_2 = lVar7;\n            }\n            if (lVar9 == 0) goto LAB_00105016;\n            lVar9 = 0;\n            do {\n              lVar9 = lVar9 + 1;\n              sVar5 = lVar9 * 8;\n            } while (__src[lVar9] != 0);\n            iVar4 = (int)lVar9;\n            local_100 = (lVar13 + lVar9) * 8;\n          }\n          free(*(void **)(lVar7 + lVar13 * 8));\n          lVar13 = FUN_001052a0(*param_2,(lVar9 + 1 + (long)*param_1) * 8);\n          iVar12 = *param_1;\n          *param_2 = lVar13;\n          memmove((void *)(local_100 + lVar13),(void *)(lVar13 + 8 + lVar1),\n                  (long)(iVar12 - iVar11) << 3);\n          memcpy((void *)(*param_2 + lVar1),__src,sVar5);\n          *param_1 = iVar4 + -1 + *param_1;\n          free(__src);\n          free(__ptr);\n          iVar12 = iVar15;\n        }\n      }\n      fclose(__stream);\n      iVar11 = iVar12 + 1;\n      iVar4 = *param_1;\n      iVar15 = iVar12;\n      if (iVar4 <= iVar11) {\n        return;\n      }\n    }" { (expression_statement "lVar13 = (long)iVar11;" (assignment_expression "lVar13 = (long)iVar11" identifier = (cast_expression "(long)iVar11" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "lVar1 = lVar13 * 8;" (assignment_expression "lVar1 = lVar13 * 8" identifier = (binary_expression "lVar13 * 8" identifier * number_literal)) ;) (expression_statement "pcVar14 = (char *)((undefined8 *)*param_2)[lVar13];" (assignment_expression "pcVar14 = (char *)((undefined8 *)*param_2)[lVar13]" identifier = (cast_expression "(char *)((undefined8 *)*param_2)[lVar13]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "((undefined8 *)*param_2)[lVar13]" (parenthesized_expression "((undefined8 *)*param_2)" ( (cast_expression "(undefined8 *)*param_2" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier)) )) [ identifier ]))) ;) (expression_statement "iVar12 = iVar11;" (assignment_expression "iVar12 = iVar11" identifier = identifier) ;) (if_statement "if (*pcVar14 != '@') break;" if (parenthesized_expression "(*pcVar14 != '@')" ( (binary_expression "*pcVar14 != '@'" (pointer_expression "*pcVar14" * identifier) != (char_literal "'@'" ' character ')) )) (break_statement "break;" break ;)) (expression_statement "local_d8 = local_d8 + -1;" (assignment_expression "local_d8 = local_d8 + -1" identifier = (binary_expression "local_d8 + -1" identifier + number_literal)) ;) (if_statement "if (local_d8 == 0) {\n        uVar10 = *(undefined8 *)*param_2;\n        pcVar14 = "%s: error: too many @-files encountered\n";\n        goto LAB_00105032;\n      }" if (parenthesized_expression "(local_d8 == 0)" ( (binary_expression "local_d8 == 0" identifier == number_literal) )) (compound_statement "{\n        uVar10 = *(undefined8 *)*param_2;\n        pcVar14 = "%s: error: too many @-files encountered\n";\n        goto LAB_00105032;\n      }" { (expression_statement "uVar10 = *(undefined8 *)*param_2;" (assignment_expression "uVar10 = *(undefined8 *)*param_2" identifier = (pointer_expression "*(undefined8 *)*param_2" * (cast_expression "(undefined8 *)*param_2" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier)))) ;) (expression_statement "pcVar14 = "%s: error: too many @-files encountered\n";" (assignment_expression "pcVar14 = "%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_00105032;" goto statement_identifier ;) })) (expression_statement "pcVar14 = pcVar14 + 1;" (assignment_expression "pcVar14 = pcVar14 + 1" identifier = (binary_expression "pcVar14 + 1" identifier + number_literal)) ;) (expression_statement "iVar4 = __xstat(1,pcVar14,&local_c8);" (assignment_expression "iVar4 = __xstat(1,pcVar14,&local_c8)" identifier = (call_expression "__xstat(1,pcVar14,&local_c8)" identifier (argument_list "(1,pcVar14,&local_c8)" ( number_literal , identifier , (pointer_expression "&local_c8" & identifier) )))) ;) (if_statement "if (iVar4 < 0) {\nLAB_00104e70:\n        iVar4 = *param_1;\n        break;\n      }" if (parenthesized_expression "(iVar4 < 0)" ( (binary_expression "iVar4 < 0" identifier < number_literal) )) (compound_statement "{\nLAB_00104e70:\n        iVar4 = *param_1;\n        break;\n      }" { (labeled_statement "LAB_00104e70:\n        iVar4 = *param_1;" statement_identifier : (expression_statement "iVar4 = *param_1;" (assignment_expression "iVar4 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;)) (break_statement "break;" break ;) })) (if_statement "if ((local_c8.st_mode & 0xf000) == 0x4000) {\n        do {\n          pcVar14 = "%s: error: @-file refers to a directory\n";\n          uVar10 = *(undefined8 *)*param_2;\nLAB_00105032:\n          fprintf(stderr,pcVar14,uVar10);\n          FUN_00105150(1);\n        } while( true );\n      }" if (parenthesized_expression "((local_c8.st_mode & 0xf000) == 0x4000)" ( (binary_expression "(local_c8.st_mode & 0xf000) == 0x4000" (parenthesized_expression "(local_c8.st_mode & 0xf000)" ( (binary_expression "local_c8.st_mode & 0xf000" (field_expression "local_c8.st_mode" identifier . field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n        do {\n          pcVar14 = "%s: error: @-file refers to a directory\n";\n          uVar10 = *(undefined8 *)*param_2;\nLAB_00105032:\n          fprintf(stderr,pcVar14,uVar10);\n          FUN_00105150(1);\n        } while( true );\n      }" { (do_statement "do {\n          pcVar14 = "%s: error: @-file refers to a directory\n";\n          uVar10 = *(undefined8 *)*param_2;\nLAB_00105032:\n          fprintf(stderr,pcVar14,uVar10);\n          FUN_00105150(1);\n        } while( true );" do (compound_statement "{\n          pcVar14 = "%s: error: @-file refers to a directory\n";\n          uVar10 = *(undefined8 *)*param_2;\nLAB_00105032:\n          fprintf(stderr,pcVar14,uVar10);\n          FUN_00105150(1);\n        }" { (expression_statement "pcVar14 = "%s: error: @-file refers to a directory\n";" (assignment_expression "pcVar14 = "%s: error: @-file refers to a directory\n"" identifier = (string_literal ""%s: error: @-file refers to a directory\n"" " string_content escape_sequence ")) ;) (expression_statement "uVar10 = *(undefined8 *)*param_2;" (assignment_expression "uVar10 = *(undefined8 *)*param_2" identifier = (pointer_expression "*(undefined8 *)*param_2" * (cast_expression "(undefined8 *)*param_2" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier)))) ;) (labeled_statement "LAB_00105032:\n          fprintf(stderr,pcVar14,uVar10);" statement_identifier : (expression_statement "fprintf(stderr,pcVar14,uVar10);" (call_expression "fprintf(stderr,pcVar14,uVar10)" identifier (argument_list "(stderr,pcVar14,uVar10)" ( identifier , identifier , identifier ))) ;)) (expression_statement "FUN_00105150(1);" (call_expression "FUN_00105150(1)" identifier (argument_list "(1)" ( number_literal ))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "__stream = fopen(pcVar14,"r");" (assignment_expression "__stream = fopen(pcVar14,"r")" identifier = (call_expression "fopen(pcVar14,"r")" identifier (argument_list "(pcVar14,"r")" ( identifier , (string_literal ""r"" " string_content ") )))) ;) (if_statement "if (__stream == (FILE *)0x0) goto LAB_00104e70;" 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_00104e70;" goto statement_identifier ;)) (expression_statement "iVar4 = fseek(__stream,0,2);" (assignment_expression "iVar4 = 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 (((iVar4 != -1) && (sVar5 = ftell(__stream), sVar5 != 0xffffffffffffffff)) &&\n         (iVar4 = fseek(__stream,0,0), iVar4 != -1)) {\n        __ptr = (byte *)FUN_00105220(sVar5 + 1);\n        sVar6 = fread(__ptr,1,sVar5,__stream);\n        if ((sVar5 == sVar6) || (iVar4 = ferror(__stream), iVar4 == 0)) {\n          __ptr[sVar6] = 0;\n          local_100 = lVar1;\n          if (*__ptr == 0) {\nLAB_00104ec0:\n            __src = (long *)FUN_00105220(8);\n            *__src = 0;\n            lVar7 = *param_2;\n            if (lVar3 == lVar7) {\n              lVar7 = FUN_001048c0();\n              iVar4 = 0;\n              lVar9 = 0;\n              *param_2 = lVar7;\n              sVar5 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar4 = 0;\n              lVar9 = 0;\n              sVar5 = 0;\n            }\n          }\n          else {\n            bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2];\n            pbVar8 = __ptr;\n            while ((bVar2 & 0x40) != 0) {\n              pbVar8 = pbVar8 + 1;\n              if (*pbVar8 == 0) goto LAB_00104ec0;\n              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];\n            }\n            __src = (long *)FUN_001049b0(__ptr);\n            lVar7 = *param_2;\n            lVar9 = *__src;\n            if (lVar7 == lVar3) {\n              lVar7 = FUN_001048c0(lVar3);\n              *param_2 = lVar7;\n            }\n            if (lVar9 == 0) goto LAB_00105016;\n            lVar9 = 0;\n            do {\n              lVar9 = lVar9 + 1;\n              sVar5 = lVar9 * 8;\n            } while (__src[lVar9] != 0);\n            iVar4 = (int)lVar9;\n            local_100 = (lVar13 + lVar9) * 8;\n          }\n          free(*(void **)(lVar7 + lVar13 * 8));\n          lVar13 = FUN_001052a0(*param_2,(lVar9 + 1 + (long)*param_1) * 8);\n          iVar12 = *param_1;\n          *param_2 = lVar13;\n          memmove((void *)(local_100 + lVar13),(void *)(lVar13 + 8 + lVar1),\n                  (long)(iVar12 - iVar11) << 3);\n          memcpy((void *)(*param_2 + lVar1),__src,sVar5);\n          *param_1 = iVar4 + -1 + *param_1;\n          free(__src);\n          free(__ptr);\n          iVar12 = iVar15;\n        }\n      }" if (parenthesized_expression "(((iVar4 != -1) && (sVar5 = ftell(__stream), sVar5 != 0xffffffffffffffff)) &&\n         (iVar4 = fseek(__stream,0,0), iVar4 != -1))" ( (binary_expression "((iVar4 != -1) && (sVar5 = ftell(__stream), sVar5 != 0xffffffffffffffff)) &&\n         (iVar4 = fseek(__stream,0,0), iVar4 != -1)" (parenthesized_expression "((iVar4 != -1) && (sVar5 = ftell(__stream), sVar5 != 0xffffffffffffffff))" ( (binary_expression "(iVar4 != -1) && (sVar5 = ftell(__stream), sVar5 != 0xffffffffffffffff)" (parenthesized_expression "(iVar4 != -1)" ( (binary_expression "iVar4 != -1" identifier != number_literal) )) && (parenthesized_expression "(sVar5 = ftell(__stream), sVar5 != 0xffffffffffffffff)" ( (comma_expression "sVar5 = ftell(__stream), sVar5 != 0xffffffffffffffff" (assignment_expression "sVar5 = ftell(__stream)" identifier = (call_expression "ftell(__stream)" identifier (argument_list "(__stream)" ( identifier )))) , (binary_expression "sVar5 != 0xffffffffffffffff" identifier != number_literal)) ))) )) && (parenthesized_expression "(iVar4 = fseek(__stream,0,0), iVar4 != -1)" ( (comma_expression "iVar4 = fseek(__stream,0,0), iVar4 != -1" (assignment_expression "iVar4 = fseek(__stream,0,0)" identifier = (call_expression "fseek(__stream,0,0)" identifier (argument_list "(__stream,0,0)" ( identifier , number_literal , number_literal )))) , (binary_expression "iVar4 != -1" identifier != number_literal)) ))) )) (compound_statement "{\n        __ptr = (byte *)FUN_00105220(sVar5 + 1);\n        sVar6 = fread(__ptr,1,sVar5,__stream);\n        if ((sVar5 == sVar6) || (iVar4 = ferror(__stream), iVar4 == 0)) {\n          __ptr[sVar6] = 0;\n          local_100 = lVar1;\n          if (*__ptr == 0) {\nLAB_00104ec0:\n            __src = (long *)FUN_00105220(8);\n            *__src = 0;\n            lVar7 = *param_2;\n            if (lVar3 == lVar7) {\n              lVar7 = FUN_001048c0();\n              iVar4 = 0;\n              lVar9 = 0;\n              *param_2 = lVar7;\n              sVar5 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar4 = 0;\n              lVar9 = 0;\n              sVar5 = 0;\n            }\n          }\n          else {\n            bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2];\n            pbVar8 = __ptr;\n            while ((bVar2 & 0x40) != 0) {\n              pbVar8 = pbVar8 + 1;\n              if (*pbVar8 == 0) goto LAB_00104ec0;\n              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];\n            }\n            __src = (long *)FUN_001049b0(__ptr);\n            lVar7 = *param_2;\n            lVar9 = *__src;\n            if (lVar7 == lVar3) {\n              lVar7 = FUN_001048c0(lVar3);\n              *param_2 = lVar7;\n            }\n            if (lVar9 == 0) goto LAB_00105016;\n            lVar9 = 0;\n            do {\n              lVar9 = lVar9 + 1;\n              sVar5 = lVar9 * 8;\n            } while (__src[lVar9] != 0);\n            iVar4 = (int)lVar9;\n            local_100 = (lVar13 + lVar9) * 8;\n          }\n          free(*(void **)(lVar7 + lVar13 * 8));\n          lVar13 = FUN_001052a0(*param_2,(lVar9 + 1 + (long)*param_1) * 8);\n          iVar12 = *param_1;\n          *param_2 = lVar13;\n          memmove((void *)(local_100 + lVar13),(void *)(lVar13 + 8 + lVar1),\n                  (long)(iVar12 - iVar11) << 3);\n          memcpy((void *)(*param_2 + lVar1),__src,sVar5);\n          *param_1 = iVar4 + -1 + *param_1;\n          free(__src);\n          free(__ptr);\n          iVar12 = iVar15;\n        }\n      }" { (expression_statement "__ptr = (byte *)FUN_00105220(sVar5 + 1);" (assignment_expression "__ptr = (byte *)FUN_00105220(sVar5 + 1)" identifier = (cast_expression "(byte *)FUN_00105220(sVar5 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00105220(sVar5 + 1)" identifier (argument_list "(sVar5 + 1)" ( (binary_expression "sVar5 + 1" identifier + number_literal) ))))) ;) (expression_statement "sVar6 = fread(__ptr,1,sVar5,__stream);" (assignment_expression "sVar6 = fread(__ptr,1,sVar5,__stream)" identifier = (call_expression "fread(__ptr,1,sVar5,__stream)" identifier (argument_list "(__ptr,1,sVar5,__stream)" ( identifier , number_literal , identifier , identifier )))) ;) (if_statement "if ((sVar5 == sVar6) || (iVar4 = ferror(__stream), iVar4 == 0)) {\n          __ptr[sVar6] = 0;\n          local_100 = lVar1;\n          if (*__ptr == 0) {\nLAB_00104ec0:\n            __src = (long *)FUN_00105220(8);\n            *__src = 0;\n            lVar7 = *param_2;\n            if (lVar3 == lVar7) {\n              lVar7 = FUN_001048c0();\n              iVar4 = 0;\n              lVar9 = 0;\n              *param_2 = lVar7;\n              sVar5 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar4 = 0;\n              lVar9 = 0;\n              sVar5 = 0;\n            }\n          }\n          else {\n            bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2];\n            pbVar8 = __ptr;\n            while ((bVar2 & 0x40) != 0) {\n              pbVar8 = pbVar8 + 1;\n              if (*pbVar8 == 0) goto LAB_00104ec0;\n              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];\n            }\n            __src = (long *)FUN_001049b0(__ptr);\n            lVar7 = *param_2;\n            lVar9 = *__src;\n            if (lVar7 == lVar3) {\n              lVar7 = FUN_001048c0(lVar3);\n              *param_2 = lVar7;\n            }\n            if (lVar9 == 0) goto LAB_00105016;\n            lVar9 = 0;\n            do {\n              lVar9 = lVar9 + 1;\n              sVar5 = lVar9 * 8;\n            } while (__src[lVar9] != 0);\n            iVar4 = (int)lVar9;\n            local_100 = (lVar13 + lVar9) * 8;\n          }\n          free(*(void **)(lVar7 + lVar13 * 8));\n          lVar13 = FUN_001052a0(*param_2,(lVar9 + 1 + (long)*param_1) * 8);\n          iVar12 = *param_1;\n          *param_2 = lVar13;\n          memmove((void *)(local_100 + lVar13),(void *)(lVar13 + 8 + lVar1),\n                  (long)(iVar12 - iVar11) << 3);\n          memcpy((void *)(*param_2 + lVar1),__src,sVar5);\n          *param_1 = iVar4 + -1 + *param_1;\n          free(__src);\n          free(__ptr);\n          iVar12 = iVar15;\n        }" if (parenthesized_expression "((sVar5 == sVar6) || (iVar4 = ferror(__stream), iVar4 == 0))" ( (binary_expression "(sVar5 == sVar6) || (iVar4 = ferror(__stream), iVar4 == 0)" (parenthesized_expression "(sVar5 == sVar6)" ( (binary_expression "sVar5 == sVar6" identifier == identifier) )) || (parenthesized_expression "(iVar4 = ferror(__stream), iVar4 == 0)" ( (comma_expression "iVar4 = ferror(__stream), iVar4 == 0" (assignment_expression "iVar4 = ferror(__stream)" identifier = (call_expression "ferror(__stream)" identifier (argument_list "(__stream)" ( identifier )))) , (binary_expression "iVar4 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n          __ptr[sVar6] = 0;\n          local_100 = lVar1;\n          if (*__ptr == 0) {\nLAB_00104ec0:\n            __src = (long *)FUN_00105220(8);\n            *__src = 0;\n            lVar7 = *param_2;\n            if (lVar3 == lVar7) {\n              lVar7 = FUN_001048c0();\n              iVar4 = 0;\n              lVar9 = 0;\n              *param_2 = lVar7;\n              sVar5 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar4 = 0;\n              lVar9 = 0;\n              sVar5 = 0;\n            }\n          }\n          else {\n            bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2];\n            pbVar8 = __ptr;\n            while ((bVar2 & 0x40) != 0) {\n              pbVar8 = pbVar8 + 1;\n              if (*pbVar8 == 0) goto LAB_00104ec0;\n              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];\n            }\n            __src = (long *)FUN_001049b0(__ptr);\n            lVar7 = *param_2;\n            lVar9 = *__src;\n            if (lVar7 == lVar3) {\n              lVar7 = FUN_001048c0(lVar3);\n              *param_2 = lVar7;\n            }\n            if (lVar9 == 0) goto LAB_00105016;\n            lVar9 = 0;\n            do {\n              lVar9 = lVar9 + 1;\n              sVar5 = lVar9 * 8;\n            } while (__src[lVar9] != 0);\n            iVar4 = (int)lVar9;\n            local_100 = (lVar13 + lVar9) * 8;\n          }\n          free(*(void **)(lVar7 + lVar13 * 8));\n          lVar13 = FUN_001052a0(*param_2,(lVar9 + 1 + (long)*param_1) * 8);\n          iVar12 = *param_1;\n          *param_2 = lVar13;\n          memmove((void *)(local_100 + lVar13),(void *)(lVar13 + 8 + lVar1),\n                  (long)(iVar12 - iVar11) << 3);\n          memcpy((void *)(*param_2 + lVar1),__src,sVar5);\n          *param_1 = iVar4 + -1 + *param_1;\n          free(__src);\n          free(__ptr);\n          iVar12 = iVar15;\n        }" { (expression_statement "__ptr[sVar6] = 0;" (assignment_expression "__ptr[sVar6] = 0" (subscript_expression "__ptr[sVar6]" identifier [ identifier ]) = number_literal) ;) (expression_statement "local_100 = lVar1;" (assignment_expression "local_100 = lVar1" identifier = identifier) ;) (if_statement "if (*__ptr == 0) {\nLAB_00104ec0:\n            __src = (long *)FUN_00105220(8);\n            *__src = 0;\n            lVar7 = *param_2;\n            if (lVar3 == lVar7) {\n              lVar7 = FUN_001048c0();\n              iVar4 = 0;\n              lVar9 = 0;\n              *param_2 = lVar7;\n              sVar5 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar4 = 0;\n              lVar9 = 0;\n              sVar5 = 0;\n            }\n          }\n          else {\n            bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2];\n            pbVar8 = __ptr;\n            while ((bVar2 & 0x40) != 0) {\n              pbVar8 = pbVar8 + 1;\n              if (*pbVar8 == 0) goto LAB_00104ec0;\n              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];\n            }\n            __src = (long *)FUN_001049b0(__ptr);\n            lVar7 = *param_2;\n            lVar9 = *__src;\n            if (lVar7 == lVar3) {\n              lVar7 = FUN_001048c0(lVar3);\n              *param_2 = lVar7;\n            }\n            if (lVar9 == 0) goto LAB_00105016;\n            lVar9 = 0;\n            do {\n              lVar9 = lVar9 + 1;\n              sVar5 = lVar9 * 8;\n            } while (__src[lVar9] != 0);\n            iVar4 = (int)lVar9;\n            local_100 = (lVar13 + lVar9) * 8;\n          }" if (parenthesized_expression "(*__ptr == 0)" ( (binary_expression "*__ptr == 0" (pointer_expression "*__ptr" * identifier) == number_literal) )) (compound_statement "{\nLAB_00104ec0:\n            __src = (long *)FUN_00105220(8);\n            *__src = 0;\n            lVar7 = *param_2;\n            if (lVar3 == lVar7) {\n              lVar7 = FUN_001048c0();\n              iVar4 = 0;\n              lVar9 = 0;\n              *param_2 = lVar7;\n              sVar5 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar4 = 0;\n              lVar9 = 0;\n              sVar5 = 0;\n            }\n          }" { (labeled_statement "LAB_00104ec0:\n            __src = (long *)FUN_00105220(8);" statement_identifier : (expression_statement "__src = (long *)FUN_00105220(8);" (assignment_expression "__src = (long *)FUN_00105220(8)" identifier = (cast_expression "(long *)FUN_00105220(8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00105220(8)" identifier (argument_list "(8)" ( number_literal ))))) ;)) (expression_statement "*__src = 0;" (assignment_expression "*__src = 0" (pointer_expression "*__src" * identifier) = number_literal) ;) (expression_statement "lVar7 = *param_2;" (assignment_expression "lVar7 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if (lVar3 == lVar7) {\n              lVar7 = FUN_001048c0();\n              iVar4 = 0;\n              lVar9 = 0;\n              *param_2 = lVar7;\n              sVar5 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar4 = 0;\n              lVar9 = 0;\n              sVar5 = 0;\n            }" if (parenthesized_expression "(lVar3 == lVar7)" ( (binary_expression "lVar3 == lVar7" identifier == identifier) )) (compound_statement "{\n              lVar7 = FUN_001048c0();\n              iVar4 = 0;\n              lVar9 = 0;\n              *param_2 = lVar7;\n              sVar5 = 0;\n            }" { (expression_statement "lVar7 = FUN_001048c0();" (assignment_expression "lVar7 = FUN_001048c0()" identifier = (call_expression "FUN_001048c0()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "lVar9 = 0;" (assignment_expression "lVar9 = 0" identifier = number_literal) ;) (expression_statement "*param_2 = lVar7;" (assignment_expression "*param_2 = lVar7" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "sVar5 = 0;" (assignment_expression "sVar5 = 0" identifier = number_literal) ;) }) (else_clause "else {\nLAB_00105016:\n              iVar4 = 0;\n              lVar9 = 0;\n              sVar5 = 0;\n            }" else (compound_statement "{\nLAB_00105016:\n              iVar4 = 0;\n              lVar9 = 0;\n              sVar5 = 0;\n            }" { (labeled_statement "LAB_00105016:\n              iVar4 = 0;" statement_identifier : (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;)) (expression_statement "lVar9 = 0;" (assignment_expression "lVar9 = 0" identifier = number_literal) ;) (expression_statement "sVar5 = 0;" (assignment_expression "sVar5 = 0" identifier = number_literal) ;) }))) }) (else_clause "else {\n            bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2];\n            pbVar8 = __ptr;\n            while ((bVar2 & 0x40) != 0) {\n              pbVar8 = pbVar8 + 1;\n              if (*pbVar8 == 0) goto LAB_00104ec0;\n              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];\n            }\n            __src = (long *)FUN_001049b0(__ptr);\n            lVar7 = *param_2;\n            lVar9 = *__src;\n            if (lVar7 == lVar3) {\n              lVar7 = FUN_001048c0(lVar3);\n              *param_2 = lVar7;\n            }\n            if (lVar9 == 0) goto LAB_00105016;\n            lVar9 = 0;\n            do {\n              lVar9 = lVar9 + 1;\n              sVar5 = lVar9 * 8;\n            } while (__src[lVar9] != 0);\n            iVar4 = (int)lVar9;\n            local_100 = (lVar13 + lVar9) * 8;\n          }" else (compound_statement "{\n            bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2];\n            pbVar8 = __ptr;\n            while ((bVar2 & 0x40) != 0) {\n              pbVar8 = pbVar8 + 1;\n              if (*pbVar8 == 0) goto LAB_00104ec0;\n              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];\n            }\n            __src = (long *)FUN_001049b0(__ptr);\n            lVar7 = *param_2;\n            lVar9 = *__src;\n            if (lVar7 == lVar3) {\n              lVar7 = FUN_001048c0(lVar3);\n              *param_2 = lVar7;\n            }\n            if (lVar9 == 0) goto LAB_00105016;\n            lVar9 = 0;\n            do {\n              lVar9 = lVar9 + 1;\n              sVar5 = lVar9 * 8;\n            } while (__src[lVar9] != 0);\n            iVar4 = (int)lVar9;\n            local_100 = (lVar13 + lVar9) * 8;\n          }" { (expression_statement "bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2];" (assignment_expression "bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2]" identifier = (subscript_expression "(&DAT_00107180)[(ulong)*__ptr * 2]" (parenthesized_expression "(&DAT_00107180)" ( (pointer_expression "&DAT_00107180" & identifier) )) [ (binary_expression "(ulong)*__ptr * 2" (binary_expression "(ulong)*__ptr" (parenthesized_expression "(ulong)" ( identifier )) * identifier) * number_literal) ])) ;) (expression_statement "pbVar8 = __ptr;" (assignment_expression "pbVar8 = __ptr" identifier = identifier) ;) (while_statement "while ((bVar2 & 0x40) != 0) {\n              pbVar8 = pbVar8 + 1;\n              if (*pbVar8 == 0) goto LAB_00104ec0;\n              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];\n            }" while (parenthesized_expression "((bVar2 & 0x40) != 0)" ( (binary_expression "(bVar2 & 0x40) != 0" (parenthesized_expression "(bVar2 & 0x40)" ( (binary_expression "bVar2 & 0x40" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n              pbVar8 = pbVar8 + 1;\n              if (*pbVar8 == 0) goto LAB_00104ec0;\n              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];\n            }" { (expression_statement "pbVar8 = pbVar8 + 1;" (assignment_expression "pbVar8 = pbVar8 + 1" identifier = (binary_expression "pbVar8 + 1" identifier + number_literal)) ;) (if_statement "if (*pbVar8 == 0) goto LAB_00104ec0;" if (parenthesized_expression "(*pbVar8 == 0)" ( (binary_expression "*pbVar8 == 0" (pointer_expression "*pbVar8" * identifier) == number_literal) )) (goto_statement "goto LAB_00104ec0;" goto statement_identifier ;)) (expression_statement "bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];" (assignment_expression "bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2]" identifier = (subscript_expression "(&DAT_00107180)[(ulong)*pbVar8 * 2]" (parenthesized_expression "(&DAT_00107180)" ( (pointer_expression "&DAT_00107180" & identifier) )) [ (binary_expression "(ulong)*pbVar8 * 2" (binary_expression "(ulong)*pbVar8" (parenthesized_expression "(ulong)" ( identifier )) * identifier) * number_literal) ])) ;) })) (expression_statement "__src = (long *)FUN_001049b0(__ptr);" (assignment_expression "__src = (long *)FUN_001049b0(__ptr)" identifier = (cast_expression "(long *)FUN_001049b0(__ptr)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001049b0(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))))) ;) (expression_statement "lVar7 = *param_2;" (assignment_expression "lVar7 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "lVar9 = *__src;" (assignment_expression "lVar9 = *__src" identifier = (pointer_expression "*__src" * identifier)) ;) (if_statement "if (lVar7 == lVar3) {\n              lVar7 = FUN_001048c0(lVar3);\n              *param_2 = lVar7;\n            }" if (parenthesized_expression "(lVar7 == lVar3)" ( (binary_expression "lVar7 == lVar3" identifier == identifier) )) (compound_statement "{\n              lVar7 = FUN_001048c0(lVar3);\n              *param_2 = lVar7;\n            }" { (expression_statement "lVar7 = FUN_001048c0(lVar3);" (assignment_expression "lVar7 = FUN_001048c0(lVar3)" identifier = (call_expression "FUN_001048c0(lVar3)" identifier (argument_list "(lVar3)" ( identifier )))) ;) (expression_statement "*param_2 = lVar7;" (assignment_expression "*param_2 = lVar7" (pointer_expression "*param_2" * identifier) = identifier) ;) })) (if_statement "if (lVar9 == 0) goto LAB_00105016;" if (parenthesized_expression "(lVar9 == 0)" ( (binary_expression "lVar9 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00105016;" goto statement_identifier ;)) (expression_statement "lVar9 = 0;" (assignment_expression "lVar9 = 0" identifier = number_literal) ;) (do_statement "do {\n              lVar9 = lVar9 + 1;\n              sVar5 = lVar9 * 8;\n            } while (__src[lVar9] != 0);" do (compound_statement "{\n              lVar9 = lVar9 + 1;\n              sVar5 = lVar9 * 8;\n            }" { (expression_statement "lVar9 = lVar9 + 1;" (assignment_expression "lVar9 = lVar9 + 1" identifier = (binary_expression "lVar9 + 1" identifier + number_literal)) ;) (expression_statement "sVar5 = lVar9 * 8;" (assignment_expression "sVar5 = lVar9 * 8" identifier = (binary_expression "lVar9 * 8" identifier * number_literal)) ;) }) while (parenthesized_expression "(__src[lVar9] != 0)" ( (binary_expression "__src[lVar9] != 0" (subscript_expression "__src[lVar9]" identifier [ identifier ]) != number_literal) )) ;) (expression_statement "iVar4 = (int)lVar9;" (assignment_expression "iVar4 = (int)lVar9" identifier = (cast_expression "(int)lVar9" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "local_100 = (lVar13 + lVar9) * 8;" (assignment_expression "local_100 = (lVar13 + lVar9) * 8" identifier = (binary_expression "(lVar13 + lVar9) * 8" (parenthesized_expression "(lVar13 + lVar9)" ( (binary_expression "lVar13 + lVar9" identifier + identifier) )) * number_literal)) ;) }))) (expression_statement "free(*(void **)(lVar7 + lVar13 * 8));" (call_expression "free(*(void **)(lVar7 + lVar13 * 8))" identifier (argument_list "(*(void **)(lVar7 + lVar13 * 8))" ( (pointer_expression "*(void **)(lVar7 + lVar13 * 8)" * (cast_expression "(void **)(lVar7 + lVar13 * 8)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar7 + lVar13 * 8)" ( (binary_expression "lVar7 + lVar13 * 8" identifier + (binary_expression "lVar13 * 8" identifier * number_literal)) )))) ))) ;) (expression_statement "lVar13 = FUN_001052a0(*param_2,(lVar9 + 1 + (long)*param_1) * 8);" (assignment_expression "lVar13 = FUN_001052a0(*param_2,(lVar9 + 1 + (long)*param_1) * 8)" identifier = (call_expression "FUN_001052a0(*param_2,(lVar9 + 1 + (long)*param_1) * 8)" identifier (argument_list "(*param_2,(lVar9 + 1 + (long)*param_1) * 8)" ( (pointer_expression "*param_2" * identifier) , (binary_expression "(lVar9 + 1 + (long)*param_1) * 8" (parenthesized_expression "(lVar9 + 1 + (long)*param_1)" ( (binary_expression "lVar9 + 1 + (long)*param_1" (binary_expression "lVar9 + 1" identifier + number_literal) + (cast_expression "(long)*param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "*param_1" * identifier))) )) * number_literal) )))) ;) (expression_statement "iVar12 = *param_1;" (assignment_expression "iVar12 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "*param_2 = lVar13;" (assignment_expression "*param_2 = lVar13" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "memmove((void *)(local_100 + lVar13),(void *)(lVar13 + 8 + lVar1),\n                  (long)(iVar12 - iVar11) << 3);" (call_expression "memmove((void *)(local_100 + lVar13),(void *)(lVar13 + 8 + lVar1),\n                  (long)(iVar12 - iVar11) << 3)" identifier (argument_list "((void *)(local_100 + lVar13),(void *)(lVar13 + 8 + lVar1),\n                  (long)(iVar12 - iVar11) << 3)" ( (cast_expression "(void *)(local_100 + lVar13)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_100 + lVar13)" ( (binary_expression "local_100 + lVar13" identifier + identifier) ))) , (cast_expression "(void *)(lVar13 + 8 + lVar1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar13 + 8 + lVar1)" ( (binary_expression "lVar13 + 8 + lVar1" (binary_expression "lVar13 + 8" identifier + number_literal) + identifier) ))) , (binary_expression "(long)(iVar12 - iVar11) << 3" (cast_expression "(long)(iVar12 - iVar11)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(iVar12 - iVar11)" ( (binary_expression "iVar12 - iVar11" identifier - identifier) ))) << number_literal) ))) ;) (expression_statement "memcpy((void *)(*param_2 + lVar1),__src,sVar5);" (call_expression "memcpy((void *)(*param_2 + lVar1),__src,sVar5)" identifier (argument_list "((void *)(*param_2 + lVar1),__src,sVar5)" ( (cast_expression "(void *)(*param_2 + lVar1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + lVar1)" ( (binary_expression "*param_2 + lVar1" (pointer_expression "*param_2" * identifier) + identifier) ))) , identifier , identifier ))) ;) (expression_statement "*param_1 = iVar4 + -1 + *param_1;" (assignment_expression "*param_1 = iVar4 + -1 + *param_1" (pointer_expression "*param_1" * identifier) = (binary_expression "iVar4 + -1 + *param_1" (binary_expression "iVar4 + -1" identifier + number_literal) + (pointer_expression "*param_1" * identifier))) ;) (expression_statement "free(__src);" (call_expression "free(__src)" identifier (argument_list "(__src)" ( identifier ))) ;) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "iVar12 = iVar15;" (assignment_expression "iVar12 = iVar15" identifier = identifier) ;) })) })) (expression_statement "fclose(__stream);" (call_expression "fclose(__stream)" identifier (argument_list "(__stream)" ( identifier ))) ;) (expression_statement "iVar11 = iVar12 + 1;" (assignment_expression "iVar11 = iVar12 + 1" identifier = (binary_expression "iVar12 + 1" identifier + number_literal)) ;) (expression_statement "iVar4 = *param_1;" (assignment_expression "iVar4 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar15 = iVar12;" (assignment_expression "iVar15 = iVar12" identifier = identifier) ;) (if_statement "if (iVar4 <= iVar11) {\n        return;\n      }" if (parenthesized_expression "(iVar4 <= iVar11)" ( (binary_expression "iVar4 <= iVar11" 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 (sized_type_specifier long) (pointer_declarator * IDENT)) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (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 (sized_type_specifier long)) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression (parenthesized_expression ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) )) [ IDENT ]))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (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 , (pointer_expression & 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 = (string_literal " string_content escape_sequence ")) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)))) ;) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;)) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) }) 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 = (call_expression IDENT (argument_list ( IDENT )))) , (binary_expression IDENT != 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 = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == IDENT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (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 (sized_type_specifier long) (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;)) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (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 = LIT) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (pointer_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 (parenthesized_expression ( (pointer_expression & IDENT) )) [ (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) * LIT) ])) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (pointer_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) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT + IDENT) )) * 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 + (binary_expression IDENT * LIT)) )))) ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (pointer_expression * IDENT))) )) * LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))) , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) ))) , (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (parenthesized_expression ( (binary_expression IDENT - IDENT) ))) << LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + IDENT) ))) , IDENT , IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (binary_expression 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 (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (return_statement return ;) })) })) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "void FUN_00104d00(int *param_1,long *param_2)\n\n{\n  long lVar1;\n  byte bVar2;\n  long lVar3;\n  int iVar4;\n  FILE *__stream;\n  size_t sVar5;\n  byte *__ptr;\n  size_t sVar6;\n  long *__src;\n  long lVar7;\n  byte *pbVar8;\n  long lVar9;\n  undefined8 uVar10;\n  int iVar11;\n  int iVar12;\n  long lVar13;\n  char *pcVar14;\n  int iVar15;\n  long local_100;\n  int local_d8;\n  stat local_c8;\n  \n  lVar3 = *param_2;\n  iVar4 = *param_1;\n  local_d8 = 2000;\n  iVar12 = 0;\n  do {\n    iVar11 = iVar12 + 1;\n    iVar15 = iVar12;\n    if (iVar4 <= iVar11) {\n      return;\n    }\n    while( true ) {\n      lVar13 = (long)iVar11;\n      lVar1 = lVar13 * 8;\n      pcVar14 = (char *)((undefined8 *)*param_2)[lVar13];\n      iVar12 = iVar11;\n      if (*pcVar14 != '@') break;\n      local_d8 = local_d8 + -1;\n      if (local_d8 == 0) {\n        uVar10 = *(undefined8 *)*param_2;\n        pcVar14 = "%s: error: too many @-files encountered\n";\n        goto LAB_00105032;\n      }\n      pcVar14 = pcVar14 + 1;\n      iVar4 = __xstat(1,pcVar14,&local_c8);\n      if (iVar4 < 0) {\nLAB_00104e70:\n        iVar4 = *param_1;\n        break;\n      }\n      if ((local_c8.st_mode & 0xf000) == 0x4000) {\n        do {\n          pcVar14 = "%s: error: @-file refers to a directory\n";\n          uVar10 = *(undefined8 *)*param_2;\nLAB_00105032:\n          fprintf(stderr,pcVar14,uVar10);\n          FUN_00105150(1);\n        } while( true );\n      }\n      __stream = fopen(pcVar14,"r");\n      if (__stream == (FILE *)0x0) goto LAB_00104e70;\n      iVar4 = fseek(__stream,0,2);\n      if (((iVar4 != -1) && (sVar5 = ftell(__stream), sVar5 != 0xffffffffffffffff)) &&\n         (iVar4 = fseek(__stream,0,0), iVar4 != -1)) {\n        __ptr = (byte *)FUN_00105220(sVar5 + 1);\n        sVar6 = fread(__ptr,1,sVar5,__stream);\n        if ((sVar5 == sVar6) || (iVar4 = ferror(__stream), iVar4 == 0)) {\n          __ptr[sVar6] = 0;\n          local_100 = lVar1;\n          if (*__ptr == 0) {\nLAB_00104ec0:\n            __src = (long *)FUN_00105220(8);\n            *__src = 0;\n            lVar7 = *param_2;\n            if (lVar3 == lVar7) {\n              lVar7 = FUN_001048c0();\n              iVar4 = 0;\n              lVar9 = 0;\n              *param_2 = lVar7;\n              sVar5 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar4 = 0;\n              lVar9 = 0;\n              sVar5 = 0;\n            }\n          }\n          else {\n            bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2];\n            pbVar8 = __ptr;\n            while ((bVar2 & 0x40) != 0) {\n              pbVar8 = pbVar8 + 1;\n              if (*pbVar8 == 0) goto LAB_00104ec0;\n              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];\n            }\n            __src = (long *)FUN_001049b0(__ptr);\n            lVar7 = *param_2;\n            lVar9 = *__src;\n            if (lVar7 == lVar3) {\n              lVar7 = FUN_001048c0(lVar3);\n              *param_2 = lVar7;\n            }\n            if (lVar9 == 0) goto LAB_00105016;\n            lVar9 = 0;\n            do {\n              lVar9 = lVar9 + 1;\n              sVar5 = lVar9 * 8;\n            } while (__src[lVar9] != 0);\n            iVar4 = (int)lVar9;\n            local_100 = (lVar13 + lVar9) * 8;\n          }\n          free(*(void **)(lVar7 + lVar13 * 8));\n          lVar13 = FUN_001052a0(*param_2,(lVar9 + 1 + (long)*param_1) * 8);\n          iVar12 = *param_1;\n          *param_2 = lVar13;\n          memmove((void *)(local_100 + lVar13),(void *)(lVar13 + 8 + lVar1),\n                  (long)(iVar12 - iVar11) << 3);\n          memcpy((void *)(*param_2 + lVar1),__src,sVar5);\n          *param_1 = iVar4 + -1 + *param_1;\n          free(__src);\n          free(__ptr);\n          iVar12 = iVar15;\n        }\n      }\n      fclose(__stream);\n      iVar11 = iVar12 + 1;\n      iVar4 = *param_1;\n      iVar15 = iVar12;\n      if (iVar4 <= iVar11) {\n        return;\n      }\n    }\n  } while( true );\n}" (primitive_type "void") (function_declarator "FUN_00104d00(int *param_1,long *param_2)" (identifier "FUN_00104d00") (parameter_list "(int *param_1,long *param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "long *param_2" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  long lVar1;\n  byte bVar2;\n  long lVar3;\n  int iVar4;\n  FILE *__stream;\n  size_t sVar5;\n  byte *__ptr;\n  size_t sVar6;\n  long *__src;\n  long lVar7;\n  byte *pbVar8;\n  long lVar9;\n  undefined8 uVar10;\n  int iVar11;\n  int iVar12;\n  long lVar13;\n  char *pcVar14;\n  int iVar15;\n  long local_100;\n  int local_d8;\n  stat local_c8;\n  \n  lVar3 = *param_2;\n  iVar4 = *param_1;\n  local_d8 = 2000;\n  iVar12 = 0;\n  do {\n    iVar11 = iVar12 + 1;\n    iVar15 = iVar12;\n    if (iVar4 <= iVar11) {\n      return;\n    }\n    while( true ) {\n      lVar13 = (long)iVar11;\n      lVar1 = lVar13 * 8;\n      pcVar14 = (char *)((undefined8 *)*param_2)[lVar13];\n      iVar12 = iVar11;\n      if (*pcVar14 != '@') break;\n      local_d8 = local_d8 + -1;\n      if (local_d8 == 0) {\n        uVar10 = *(undefined8 *)*param_2;\n        pcVar14 = "%s: error: too many @-files encountered\n";\n        goto LAB_00105032;\n      }\n      pcVar14 = pcVar14 + 1;\n      iVar4 = __xstat(1,pcVar14,&local_c8);\n      if (iVar4 < 0) {\nLAB_00104e70:\n        iVar4 = *param_1;\n        break;\n      }\n      if ((local_c8.st_mode & 0xf000) == 0x4000) {\n        do {\n          pcVar14 = "%s: error: @-file refers to a directory\n";\n          uVar10 = *(undefined8 *)*param_2;\nLAB_00105032:\n          fprintf(stderr,pcVar14,uVar10);\n          FUN_00105150(1);\n        } while( true );\n      }\n      __stream = fopen(pcVar14,"r");\n      if (__stream == (FILE *)0x0) goto LAB_00104e70;\n      iVar4 = fseek(__stream,0,2);\n      if (((iVar4 != -1) && (sVar5 = ftell(__stream), sVar5 != 0xffffffffffffffff)) &&\n         (iVar4 = fseek(__stream,0,0), iVar4 != -1)) {\n        __ptr = (byte *)FUN_00105220(sVar5 + 1);\n        sVar6 = fread(__ptr,1,sVar5,__stream);\n        if ((sVar5 == sVar6) || (iVar4 = ferror(__stream), iVar4 == 0)) {\n          __ptr[sVar6] = 0;\n          local_100 = lVar1;\n          if (*__ptr == 0) {\nLAB_00104ec0:\n            __src = (long *)FUN_00105220(8);\n            *__src = 0;\n            lVar7 = *param_2;\n            if (lVar3 == lVar7) {\n              lVar7 = FUN_001048c0();\n              iVar4 = 0;\n              lVar9 = 0;\n              *param_2 = lVar7;\n              sVar5 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar4 = 0;\n              lVar9 = 0;\n              sVar5 = 0;\n            }\n          }\n          else {\n            bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2];\n            pbVar8 = __ptr;\n            while ((bVar2 & 0x40) != 0) {\n              pbVar8 = pbVar8 + 1;\n              if (*pbVar8 == 0) goto LAB_00104ec0;\n              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];\n            }\n            __src = (long *)FUN_001049b0(__ptr);\n            lVar7 = *param_2;\n            lVar9 = *__src;\n            if (lVar7 == lVar3) {\n              lVar7 = FUN_001048c0(lVar3);\n              *param_2 = lVar7;\n            }\n            if (lVar9 == 0) goto LAB_00105016;\n            lVar9 = 0;\n            do {\n              lVar9 = lVar9 + 1;\n              sVar5 = lVar9 * 8;\n            } while (__src[lVar9] != 0);\n            iVar4 = (int)lVar9;\n            local_100 = (lVar13 + lVar9) * 8;\n          }\n          free(*(void **)(lVar7 + lVar13 * 8));\n          lVar13 = FUN_001052a0(*param_2,(lVar9 + 1 + (long)*param_1) * 8);\n          iVar12 = *param_1;\n          *param_2 = lVar13;\n          memmove((void *)(local_100 + lVar13),(void *)(lVar13 + 8 + lVar1),\n                  (long)(iVar12 - iVar11) << 3);\n          memcpy((void *)(*param_2 + lVar1),__src,sVar5);\n          *param_1 = iVar4 + -1 + *param_1;\n          free(__src);\n          free(__ptr);\n          iVar12 = iVar15;\n        }\n      }\n      fclose(__stream);\n      iVar11 = iVar12 + 1;\n      iVar4 = *param_1;\n      iVar15 = iVar12;\n      if (iVar4 <= iVar11) {\n        return;\n      }\n    }\n  } while( true );\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "byte bVar2;" (type_identifier "byte") (identifier "bVar2") (; ";")) (declaration "long lVar3;" (sized_type_specifier "long" (long "long")) (identifier "lVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "FILE *__stream;" (type_identifier "FILE") (pointer_declarator "*__stream" (* "*") (identifier "__stream")) (; ";")) (declaration "size_t sVar5;" (primitive_type "size_t") (identifier "sVar5") (; ";")) (declaration "byte *__ptr;" (type_identifier "byte") (pointer_declarator "*__ptr" (* "*") (identifier "__ptr")) (; ";")) (declaration "size_t sVar6;" (primitive_type "size_t") (identifier "sVar6") (; ";")) (declaration "long *__src;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*__src" (* "*") (identifier "__src")) (; ";")) (declaration "long lVar7;" (sized_type_specifier "long" (long "long")) (identifier "lVar7") (; ";")) (declaration "byte *pbVar8;" (type_identifier "byte") (pointer_declarator "*pbVar8" (* "*") (identifier "pbVar8")) (; ";")) (declaration "long lVar9;" (sized_type_specifier "long" (long "long")) (identifier "lVar9") (; ";")) (declaration "undefined8 uVar10;" (type_identifier "undefined8") (identifier "uVar10") (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (declaration "int iVar12;" (primitive_type "int") (identifier "iVar12") (; ";")) (declaration "long lVar13;" (sized_type_specifier "long" (long "long")) (identifier "lVar13") (; ";")) (declaration "char *pcVar14;" (primitive_type "char") (pointer_declarator "*pcVar14" (* "*") (identifier "pcVar14")) (; ";")) (declaration "int iVar15;" (primitive_type "int") (identifier "iVar15") (; ";")) (declaration "long local_100;" (sized_type_specifier "long" (long "long")) (identifier "local_100") (; ";")) (declaration "int local_d8;" (primitive_type "int") (identifier "local_d8") (; ";")) (declaration "stat local_c8;" (type_identifier "stat") (identifier "local_c8") (; ";")) (expression_statement "lVar3 = *param_2;" (assignment_expression "lVar3 = *param_2" (identifier "lVar3") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "iVar4 = *param_1;" (assignment_expression "iVar4 = *param_1" (identifier "iVar4") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "local_d8 = 2000;" (assignment_expression "local_d8 = 2000" (identifier "local_d8") (= "=") (number_literal "2000")) (; ";")) (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" (identifier "iVar12") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n    iVar11 = iVar12 + 1;\n    iVar15 = iVar12;\n    if (iVar4 <= iVar11) {\n      return;\n    }\n    while( true ) {\n      lVar13 = (long)iVar11;\n      lVar1 = lVar13 * 8;\n      pcVar14 = (char *)((undefined8 *)*param_2)[lVar13];\n      iVar12 = iVar11;\n      if (*pcVar14 != '@') break;\n      local_d8 = local_d8 + -1;\n      if (local_d8 == 0) {\n        uVar10 = *(undefined8 *)*param_2;\n        pcVar14 = "%s: error: too many @-files encountered\n";\n        goto LAB_00105032;\n      }\n      pcVar14 = pcVar14 + 1;\n      iVar4 = __xstat(1,pcVar14,&local_c8);\n      if (iVar4 < 0) {\nLAB_00104e70:\n        iVar4 = *param_1;\n        break;\n      }\n      if ((local_c8.st_mode & 0xf000) == 0x4000) {\n        do {\n          pcVar14 = "%s: error: @-file refers to a directory\n";\n          uVar10 = *(undefined8 *)*param_2;\nLAB_00105032:\n          fprintf(stderr,pcVar14,uVar10);\n          FUN_00105150(1);\n        } while( true );\n      }\n      __stream = fopen(pcVar14,"r");\n      if (__stream == (FILE *)0x0) goto LAB_00104e70;\n      iVar4 = fseek(__stream,0,2);\n      if (((iVar4 != -1) && (sVar5 = ftell(__stream), sVar5 != 0xffffffffffffffff)) &&\n         (iVar4 = fseek(__stream,0,0), iVar4 != -1)) {\n        __ptr = (byte *)FUN_00105220(sVar5 + 1);\n        sVar6 = fread(__ptr,1,sVar5,__stream);\n        if ((sVar5 == sVar6) || (iVar4 = ferror(__stream), iVar4 == 0)) {\n          __ptr[sVar6] = 0;\n          local_100 = lVar1;\n          if (*__ptr == 0) {\nLAB_00104ec0:\n            __src = (long *)FUN_00105220(8);\n            *__src = 0;\n            lVar7 = *param_2;\n            if (lVar3 == lVar7) {\n              lVar7 = FUN_001048c0();\n              iVar4 = 0;\n              lVar9 = 0;\n              *param_2 = lVar7;\n              sVar5 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar4 = 0;\n              lVar9 = 0;\n              sVar5 = 0;\n            }\n          }\n          else {\n            bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2];\n            pbVar8 = __ptr;\n            while ((bVar2 & 0x40) != 0) {\n              pbVar8 = pbVar8 + 1;\n              if (*pbVar8 == 0) goto LAB_00104ec0;\n              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];\n            }\n            __src = (long *)FUN_001049b0(__ptr);\n            lVar7 = *param_2;\n            lVar9 = *__src;\n            if (lVar7 == lVar3) {\n              lVar7 = FUN_001048c0(lVar3);\n              *param_2 = lVar7;\n            }\n            if (lVar9 == 0) goto LAB_00105016;\n            lVar9 = 0;\n            do {\n              lVar9 = lVar9 + 1;\n              sVar5 = lVar9 * 8;\n            } while (__src[lVar9] != 0);\n            iVar4 = (int)lVar9;\n            local_100 = (lVar13 + lVar9) * 8;\n          }\n          free(*(void **)(lVar7 + lVar13 * 8));\n          lVar13 = FUN_001052a0(*param_2,(lVar9 + 1 + (long)*param_1) * 8);\n          iVar12 = *param_1;\n          *param_2 = lVar13;\n          memmove((void *)(local_100 + lVar13),(void *)(lVar13 + 8 + lVar1),\n                  (long)(iVar12 - iVar11) << 3);\n          memcpy((void *)(*param_2 + lVar1),__src,sVar5);\n          *param_1 = iVar4 + -1 + *param_1;\n          free(__src);\n          free(__ptr);\n          iVar12 = iVar15;\n        }\n      }\n      fclose(__stream);\n      iVar11 = iVar12 + 1;\n      iVar4 = *param_1;\n      iVar15 = iVar12;\n      if (iVar4 <= iVar11) {\n        return;\n      }\n    }\n  } while( true );" (do "do") (compound_statement "{\n    iVar11 = iVar12 + 1;\n    iVar15 = iVar12;\n    if (iVar4 <= iVar11) {\n      return;\n    }\n    while( true ) {\n      lVar13 = (long)iVar11;\n      lVar1 = lVar13 * 8;\n      pcVar14 = (char *)((undefined8 *)*param_2)[lVar13];\n      iVar12 = iVar11;\n      if (*pcVar14 != '@') break;\n      local_d8 = local_d8 + -1;\n      if (local_d8 == 0) {\n        uVar10 = *(undefined8 *)*param_2;\n        pcVar14 = "%s: error: too many @-files encountered\n";\n        goto LAB_00105032;\n      }\n      pcVar14 = pcVar14 + 1;\n      iVar4 = __xstat(1,pcVar14,&local_c8);\n      if (iVar4 < 0) {\nLAB_00104e70:\n        iVar4 = *param_1;\n        break;\n      }\n      if ((local_c8.st_mode & 0xf000) == 0x4000) {\n        do {\n          pcVar14 = "%s: error: @-file refers to a directory\n";\n          uVar10 = *(undefined8 *)*param_2;\nLAB_00105032:\n          fprintf(stderr,pcVar14,uVar10);\n          FUN_00105150(1);\n        } while( true );\n      }\n      __stream = fopen(pcVar14,"r");\n      if (__stream == (FILE *)0x0) goto LAB_00104e70;\n      iVar4 = fseek(__stream,0,2);\n      if (((iVar4 != -1) && (sVar5 = ftell(__stream), sVar5 != 0xffffffffffffffff)) &&\n         (iVar4 = fseek(__stream,0,0), iVar4 != -1)) {\n        __ptr = (byte *)FUN_00105220(sVar5 + 1);\n        sVar6 = fread(__ptr,1,sVar5,__stream);\n        if ((sVar5 == sVar6) || (iVar4 = ferror(__stream), iVar4 == 0)) {\n          __ptr[sVar6] = 0;\n          local_100 = lVar1;\n          if (*__ptr == 0) {\nLAB_00104ec0:\n            __src = (long *)FUN_00105220(8);\n            *__src = 0;\n            lVar7 = *param_2;\n            if (lVar3 == lVar7) {\n              lVar7 = FUN_001048c0();\n              iVar4 = 0;\n              lVar9 = 0;\n              *param_2 = lVar7;\n              sVar5 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar4 = 0;\n              lVar9 = 0;\n              sVar5 = 0;\n            }\n          }\n          else {\n            bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2];\n            pbVar8 = __ptr;\n            while ((bVar2 & 0x40) != 0) {\n              pbVar8 = pbVar8 + 1;\n              if (*pbVar8 == 0) goto LAB_00104ec0;\n              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];\n            }\n            __src = (long *)FUN_001049b0(__ptr);\n            lVar7 = *param_2;\n            lVar9 = *__src;\n            if (lVar7 == lVar3) {\n              lVar7 = FUN_001048c0(lVar3);\n              *param_2 = lVar7;\n            }\n            if (lVar9 == 0) goto LAB_00105016;\n            lVar9 = 0;\n            do {\n              lVar9 = lVar9 + 1;\n              sVar5 = lVar9 * 8;\n            } while (__src[lVar9] != 0);\n            iVar4 = (int)lVar9;\n            local_100 = (lVar13 + lVar9) * 8;\n          }\n          free(*(void **)(lVar7 + lVar13 * 8));\n          lVar13 = FUN_001052a0(*param_2,(lVar9 + 1 + (long)*param_1) * 8);\n          iVar12 = *param_1;\n          *param_2 = lVar13;\n          memmove((void *)(local_100 + lVar13),(void *)(lVar13 + 8 + lVar1),\n                  (long)(iVar12 - iVar11) << 3);\n          memcpy((void *)(*param_2 + lVar1),__src,sVar5);\n          *param_1 = iVar4 + -1 + *param_1;\n          free(__src);\n          free(__ptr);\n          iVar12 = iVar15;\n        }\n      }\n      fclose(__stream);\n      iVar11 = iVar12 + 1;\n      iVar4 = *param_1;\n      iVar15 = iVar12;\n      if (iVar4 <= iVar11) {\n        return;\n      }\n    }\n  }" ({ "{") (expression_statement "iVar11 = iVar12 + 1;" (assignment_expression "iVar11 = iVar12 + 1" (identifier "iVar11") (= "=") (binary_expression "iVar12 + 1" (identifier "iVar12") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar15 = iVar12;" (assignment_expression "iVar15 = iVar12" (identifier "iVar15") (= "=") (identifier "iVar12")) (; ";")) (if_statement "if (iVar4 <= iVar11) {\n      return;\n    }" (if "if") (parenthesized_expression "(iVar4 <= iVar11)" (( "(") (binary_expression "iVar4 <= iVar11" (identifier "iVar4") (<= "<=") (identifier "iVar11")) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (while_statement "while( true ) {\n      lVar13 = (long)iVar11;\n      lVar1 = lVar13 * 8;\n      pcVar14 = (char *)((undefined8 *)*param_2)[lVar13];\n      iVar12 = iVar11;\n      if (*pcVar14 != '@') break;\n      local_d8 = local_d8 + -1;\n      if (local_d8 == 0) {\n        uVar10 = *(undefined8 *)*param_2;\n        pcVar14 = "%s: error: too many @-files encountered\n";\n        goto LAB_00105032;\n      }\n      pcVar14 = pcVar14 + 1;\n      iVar4 = __xstat(1,pcVar14,&local_c8);\n      if (iVar4 < 0) {\nLAB_00104e70:\n        iVar4 = *param_1;\n        break;\n      }\n      if ((local_c8.st_mode & 0xf000) == 0x4000) {\n        do {\n          pcVar14 = "%s: error: @-file refers to a directory\n";\n          uVar10 = *(undefined8 *)*param_2;\nLAB_00105032:\n          fprintf(stderr,pcVar14,uVar10);\n          FUN_00105150(1);\n        } while( true );\n      }\n      __stream = fopen(pcVar14,"r");\n      if (__stream == (FILE *)0x0) goto LAB_00104e70;\n      iVar4 = fseek(__stream,0,2);\n      if (((iVar4 != -1) && (sVar5 = ftell(__stream), sVar5 != 0xffffffffffffffff)) &&\n         (iVar4 = fseek(__stream,0,0), iVar4 != -1)) {\n        __ptr = (byte *)FUN_00105220(sVar5 + 1);\n        sVar6 = fread(__ptr,1,sVar5,__stream);\n        if ((sVar5 == sVar6) || (iVar4 = ferror(__stream), iVar4 == 0)) {\n          __ptr[sVar6] = 0;\n          local_100 = lVar1;\n          if (*__ptr == 0) {\nLAB_00104ec0:\n            __src = (long *)FUN_00105220(8);\n            *__src = 0;\n            lVar7 = *param_2;\n            if (lVar3 == lVar7) {\n              lVar7 = FUN_001048c0();\n              iVar4 = 0;\n              lVar9 = 0;\n              *param_2 = lVar7;\n              sVar5 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar4 = 0;\n              lVar9 = 0;\n              sVar5 = 0;\n            }\n          }\n          else {\n            bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2];\n            pbVar8 = __ptr;\n            while ((bVar2 & 0x40) != 0) {\n              pbVar8 = pbVar8 + 1;\n              if (*pbVar8 == 0) goto LAB_00104ec0;\n              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];\n            }\n            __src = (long *)FUN_001049b0(__ptr);\n            lVar7 = *param_2;\n            lVar9 = *__src;\n            if (lVar7 == lVar3) {\n              lVar7 = FUN_001048c0(lVar3);\n              *param_2 = lVar7;\n            }\n            if (lVar9 == 0) goto LAB_00105016;\n            lVar9 = 0;\n            do {\n              lVar9 = lVar9 + 1;\n              sVar5 = lVar9 * 8;\n            } while (__src[lVar9] != 0);\n            iVar4 = (int)lVar9;\n            local_100 = (lVar13 + lVar9) * 8;\n          }\n          free(*(void **)(lVar7 + lVar13 * 8));\n          lVar13 = FUN_001052a0(*param_2,(lVar9 + 1 + (long)*param_1) * 8);\n          iVar12 = *param_1;\n          *param_2 = lVar13;\n          memmove((void *)(local_100 + lVar13),(void *)(lVar13 + 8 + lVar1),\n                  (long)(iVar12 - iVar11) << 3);\n          memcpy((void *)(*param_2 + lVar1),__src,sVar5);\n          *param_1 = iVar4 + -1 + *param_1;\n          free(__src);\n          free(__ptr);\n          iVar12 = iVar15;\n        }\n      }\n      fclose(__stream);\n      iVar11 = iVar12 + 1;\n      iVar4 = *param_1;\n      iVar15 = iVar12;\n      if (iVar4 <= iVar11) {\n        return;\n      }\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      lVar13 = (long)iVar11;\n      lVar1 = lVar13 * 8;\n      pcVar14 = (char *)((undefined8 *)*param_2)[lVar13];\n      iVar12 = iVar11;\n      if (*pcVar14 != '@') break;\n      local_d8 = local_d8 + -1;\n      if (local_d8 == 0) {\n        uVar10 = *(undefined8 *)*param_2;\n        pcVar14 = "%s: error: too many @-files encountered\n";\n        goto LAB_00105032;\n      }\n      pcVar14 = pcVar14 + 1;\n      iVar4 = __xstat(1,pcVar14,&local_c8);\n      if (iVar4 < 0) {\nLAB_00104e70:\n        iVar4 = *param_1;\n        break;\n      }\n      if ((local_c8.st_mode & 0xf000) == 0x4000) {\n        do {\n          pcVar14 = "%s: error: @-file refers to a directory\n";\n          uVar10 = *(undefined8 *)*param_2;\nLAB_00105032:\n          fprintf(stderr,pcVar14,uVar10);\n          FUN_00105150(1);\n        } while( true );\n      }\n      __stream = fopen(pcVar14,"r");\n      if (__stream == (FILE *)0x0) goto LAB_00104e70;\n      iVar4 = fseek(__stream,0,2);\n      if (((iVar4 != -1) && (sVar5 = ftell(__stream), sVar5 != 0xffffffffffffffff)) &&\n         (iVar4 = fseek(__stream,0,0), iVar4 != -1)) {\n        __ptr = (byte *)FUN_00105220(sVar5 + 1);\n        sVar6 = fread(__ptr,1,sVar5,__stream);\n        if ((sVar5 == sVar6) || (iVar4 = ferror(__stream), iVar4 == 0)) {\n          __ptr[sVar6] = 0;\n          local_100 = lVar1;\n          if (*__ptr == 0) {\nLAB_00104ec0:\n            __src = (long *)FUN_00105220(8);\n            *__src = 0;\n            lVar7 = *param_2;\n            if (lVar3 == lVar7) {\n              lVar7 = FUN_001048c0();\n              iVar4 = 0;\n              lVar9 = 0;\n              *param_2 = lVar7;\n              sVar5 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar4 = 0;\n              lVar9 = 0;\n              sVar5 = 0;\n            }\n          }\n          else {\n            bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2];\n            pbVar8 = __ptr;\n            while ((bVar2 & 0x40) != 0) {\n              pbVar8 = pbVar8 + 1;\n              if (*pbVar8 == 0) goto LAB_00104ec0;\n              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];\n            }\n            __src = (long *)FUN_001049b0(__ptr);\n            lVar7 = *param_2;\n            lVar9 = *__src;\n            if (lVar7 == lVar3) {\n              lVar7 = FUN_001048c0(lVar3);\n              *param_2 = lVar7;\n            }\n            if (lVar9 == 0) goto LAB_00105016;\n            lVar9 = 0;\n            do {\n              lVar9 = lVar9 + 1;\n              sVar5 = lVar9 * 8;\n            } while (__src[lVar9] != 0);\n            iVar4 = (int)lVar9;\n            local_100 = (lVar13 + lVar9) * 8;\n          }\n          free(*(void **)(lVar7 + lVar13 * 8));\n          lVar13 = FUN_001052a0(*param_2,(lVar9 + 1 + (long)*param_1) * 8);\n          iVar12 = *param_1;\n          *param_2 = lVar13;\n          memmove((void *)(local_100 + lVar13),(void *)(lVar13 + 8 + lVar1),\n                  (long)(iVar12 - iVar11) << 3);\n          memcpy((void *)(*param_2 + lVar1),__src,sVar5);\n          *param_1 = iVar4 + -1 + *param_1;\n          free(__src);\n          free(__ptr);\n          iVar12 = iVar15;\n        }\n      }\n      fclose(__stream);\n      iVar11 = iVar12 + 1;\n      iVar4 = *param_1;\n      iVar15 = iVar12;\n      if (iVar4 <= iVar11) {\n        return;\n      }\n    }" ({ "{") (expression_statement "lVar13 = (long)iVar11;" (assignment_expression "lVar13 = (long)iVar11" (identifier "lVar13") (= "=") (cast_expression "(long)iVar11" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "iVar11"))) (; ";")) (expression_statement "lVar1 = lVar13 * 8;" (assignment_expression "lVar1 = lVar13 * 8" (identifier "lVar1") (= "=") (binary_expression "lVar13 * 8" (identifier "lVar13") (* "*") (number_literal "8"))) (; ";")) (expression_statement "pcVar14 = (char *)((undefined8 *)*param_2)[lVar13];" (assignment_expression "pcVar14 = (char *)((undefined8 *)*param_2)[lVar13]" (identifier "pcVar14") (= "=") (cast_expression "(char *)((undefined8 *)*param_2)[lVar13]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "((undefined8 *)*param_2)[lVar13]" (parenthesized_expression "((undefined8 *)*param_2)" (( "(") (cast_expression "(undefined8 *)*param_2" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) () ")")) ([ "[") (identifier "lVar13") (] "]")))) (; ";")) (expression_statement "iVar12 = iVar11;" (assignment_expression "iVar12 = iVar11" (identifier "iVar12") (= "=") (identifier "iVar11")) (; ";")) (if_statement "if (*pcVar14 != '@') break;" (if "if") (parenthesized_expression "(*pcVar14 != '@')" (( "(") (binary_expression "*pcVar14 != '@'" (pointer_expression "*pcVar14" (* "*") (identifier "pcVar14")) (!= "!=") (char_literal "'@'" (' "'") (character "@") (' "'"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "local_d8 = local_d8 + -1;" (assignment_expression "local_d8 = local_d8 + -1" (identifier "local_d8") (= "=") (binary_expression "local_d8 + -1" (identifier "local_d8") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (local_d8 == 0) {\n        uVar10 = *(undefined8 *)*param_2;\n        pcVar14 = "%s: error: too many @-files encountered\n";\n        goto LAB_00105032;\n      }" (if "if") (parenthesized_expression "(local_d8 == 0)" (( "(") (binary_expression "local_d8 == 0" (identifier "local_d8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        uVar10 = *(undefined8 *)*param_2;\n        pcVar14 = "%s: error: too many @-files encountered\n";\n        goto LAB_00105032;\n      }" ({ "{") (expression_statement "uVar10 = *(undefined8 *)*param_2;" (assignment_expression "uVar10 = *(undefined8 *)*param_2" (identifier "uVar10") (= "=") (pointer_expression "*(undefined8 *)*param_2" (* "*") (cast_expression "(undefined8 *)*param_2" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2"))))) (; ";")) (expression_statement "pcVar14 = "%s: error: too many @-files encountered\n";" (assignment_expression "pcVar14 = "%s: error: too many @-files encountered\n"" (identifier "pcVar14") (= "=") (string_literal ""%s: error: too many @-files encountered\n"" (" """) (string_content "%s: error: too many @-files encountered") (escape_sequence "\n") (" """))) (; ";")) (goto_statement "goto LAB_00105032;" (goto "goto") (statement_identifier "LAB_00105032") (; ";")) (} "}"))) (expression_statement "pcVar14 = pcVar14 + 1;" (assignment_expression "pcVar14 = pcVar14 + 1" (identifier "pcVar14") (= "=") (binary_expression "pcVar14 + 1" (identifier "pcVar14") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar4 = __xstat(1,pcVar14,&local_c8);" (assignment_expression "iVar4 = __xstat(1,pcVar14,&local_c8)" (identifier "iVar4") (= "=") (call_expression "__xstat(1,pcVar14,&local_c8)" (identifier "__xstat") (argument_list "(1,pcVar14,&local_c8)" (( "(") (number_literal "1") (, ",") (identifier "pcVar14") (, ",") (pointer_expression "&local_c8" (& "&") (identifier "local_c8")) () ")")))) (; ";")) (if_statement "if (iVar4 < 0) {\nLAB_00104e70:\n        iVar4 = *param_1;\n        break;\n      }" (if "if") (parenthesized_expression "(iVar4 < 0)" (( "(") (binary_expression "iVar4 < 0" (identifier "iVar4") (< "<") (number_literal "0")) () ")")) (compound_statement "{\nLAB_00104e70:\n        iVar4 = *param_1;\n        break;\n      }" ({ "{") (labeled_statement "LAB_00104e70:\n        iVar4 = *param_1;" (statement_identifier "LAB_00104e70") (: ":") (expression_statement "iVar4 = *param_1;" (assignment_expression "iVar4 = *param_1" (identifier "iVar4") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";"))) (break_statement "break;" (break "break") (; ";")) (} "}"))) (if_statement "if ((local_c8.st_mode & 0xf000) == 0x4000) {\n        do {\n          pcVar14 = "%s: error: @-file refers to a directory\n";\n          uVar10 = *(undefined8 *)*param_2;\nLAB_00105032:\n          fprintf(stderr,pcVar14,uVar10);\n          FUN_00105150(1);\n        } while( true );\n      }" (if "if") (parenthesized_expression "((local_c8.st_mode & 0xf000) == 0x4000)" (( "(") (binary_expression "(local_c8.st_mode & 0xf000) == 0x4000" (parenthesized_expression "(local_c8.st_mode & 0xf000)" (( "(") (binary_expression "local_c8.st_mode & 0xf000" (field_expression "local_c8.st_mode" (identifier "local_c8") (. ".") (field_identifier "st_mode")) (& "&") (number_literal "0xf000")) () ")")) (== "==") (number_literal "0x4000")) () ")")) (compound_statement "{\n        do {\n          pcVar14 = "%s: error: @-file refers to a directory\n";\n          uVar10 = *(undefined8 *)*param_2;\nLAB_00105032:\n          fprintf(stderr,pcVar14,uVar10);\n          FUN_00105150(1);\n        } while( true );\n      }" ({ "{") (do_statement "do {\n          pcVar14 = "%s: error: @-file refers to a directory\n";\n          uVar10 = *(undefined8 *)*param_2;\nLAB_00105032:\n          fprintf(stderr,pcVar14,uVar10);\n          FUN_00105150(1);\n        } while( true );" (do "do") (compound_statement "{\n          pcVar14 = "%s: error: @-file refers to a directory\n";\n          uVar10 = *(undefined8 *)*param_2;\nLAB_00105032:\n          fprintf(stderr,pcVar14,uVar10);\n          FUN_00105150(1);\n        }" ({ "{") (expression_statement "pcVar14 = "%s: error: @-file refers to a directory\n";" (assignment_expression "pcVar14 = "%s: error: @-file refers to a directory\n"" (identifier "pcVar14") (= "=") (string_literal ""%s: error: @-file refers to a directory\n"" (" """) (string_content "%s: error: @-file refers to a directory") (escape_sequence "\n") (" """))) (; ";")) (expression_statement "uVar10 = *(undefined8 *)*param_2;" (assignment_expression "uVar10 = *(undefined8 *)*param_2" (identifier "uVar10") (= "=") (pointer_expression "*(undefined8 *)*param_2" (* "*") (cast_expression "(undefined8 *)*param_2" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2"))))) (; ";")) (labeled_statement "LAB_00105032:\n          fprintf(stderr,pcVar14,uVar10);" (statement_identifier "LAB_00105032") (: ":") (expression_statement "fprintf(stderr,pcVar14,uVar10);" (call_expression "fprintf(stderr,pcVar14,uVar10)" (identifier "fprintf") (argument_list "(stderr,pcVar14,uVar10)" (( "(") (identifier "stderr") (, ",") (identifier "pcVar14") (, ",") (identifier "uVar10") () ")"))) (; ";"))) (expression_statement "FUN_00105150(1);" (call_expression "FUN_00105150(1)" (identifier "FUN_00105150") (argument_list "(1)" (( "(") (number_literal "1") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}"))) (expression_statement "__stream = fopen(pcVar14,"r");" (assignment_expression "__stream = fopen(pcVar14,"r")" (identifier "__stream") (= "=") (call_expression "fopen(pcVar14,"r")" (identifier "fopen") (argument_list "(pcVar14,"r")" (( "(") (identifier "pcVar14") (, ",") (string_literal ""r"" (" """) (string_content "r") (" """)) () ")")))) (; ";")) (if_statement "if (__stream == (FILE *)0x0) goto LAB_00104e70;" (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_00104e70;" (goto "goto") (statement_identifier "LAB_00104e70") (; ";"))) (expression_statement "iVar4 = fseek(__stream,0,2);" (assignment_expression "iVar4 = fseek(__stream,0,2)" (identifier "iVar4") (= "=") (call_expression "fseek(__stream,0,2)" (identifier "fseek") (argument_list "(__stream,0,2)" (( "(") (identifier "__stream") (, ",") (number_literal "0") (, ",") (number_literal "2") () ")")))) (; ";")) (if_statement "if (((iVar4 != -1) && (sVar5 = ftell(__stream), sVar5 != 0xffffffffffffffff)) &&\n         (iVar4 = fseek(__stream,0,0), iVar4 != -1)) {\n        __ptr = (byte *)FUN_00105220(sVar5 + 1);\n        sVar6 = fread(__ptr,1,sVar5,__stream);\n        if ((sVar5 == sVar6) || (iVar4 = ferror(__stream), iVar4 == 0)) {\n          __ptr[sVar6] = 0;\n          local_100 = lVar1;\n          if (*__ptr == 0) {\nLAB_00104ec0:\n            __src = (long *)FUN_00105220(8);\n            *__src = 0;\n            lVar7 = *param_2;\n            if (lVar3 == lVar7) {\n              lVar7 = FUN_001048c0();\n              iVar4 = 0;\n              lVar9 = 0;\n              *param_2 = lVar7;\n              sVar5 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar4 = 0;\n              lVar9 = 0;\n              sVar5 = 0;\n            }\n          }\n          else {\n            bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2];\n            pbVar8 = __ptr;\n            while ((bVar2 & 0x40) != 0) {\n              pbVar8 = pbVar8 + 1;\n              if (*pbVar8 == 0) goto LAB_00104ec0;\n              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];\n            }\n            __src = (long *)FUN_001049b0(__ptr);\n            lVar7 = *param_2;\n            lVar9 = *__src;\n            if (lVar7 == lVar3) {\n              lVar7 = FUN_001048c0(lVar3);\n              *param_2 = lVar7;\n            }\n            if (lVar9 == 0) goto LAB_00105016;\n            lVar9 = 0;\n            do {\n              lVar9 = lVar9 + 1;\n              sVar5 = lVar9 * 8;\n            } while (__src[lVar9] != 0);\n            iVar4 = (int)lVar9;\n            local_100 = (lVar13 + lVar9) * 8;\n          }\n          free(*(void **)(lVar7 + lVar13 * 8));\n          lVar13 = FUN_001052a0(*param_2,(lVar9 + 1 + (long)*param_1) * 8);\n          iVar12 = *param_1;\n          *param_2 = lVar13;\n          memmove((void *)(local_100 + lVar13),(void *)(lVar13 + 8 + lVar1),\n                  (long)(iVar12 - iVar11) << 3);\n          memcpy((void *)(*param_2 + lVar1),__src,sVar5);\n          *param_1 = iVar4 + -1 + *param_1;\n          free(__src);\n          free(__ptr);\n          iVar12 = iVar15;\n        }\n      }" (if "if") (parenthesized_expression "(((iVar4 != -1) && (sVar5 = ftell(__stream), sVar5 != 0xffffffffffffffff)) &&\n         (iVar4 = fseek(__stream,0,0), iVar4 != -1))" (( "(") (binary_expression "((iVar4 != -1) && (sVar5 = ftell(__stream), sVar5 != 0xffffffffffffffff)) &&\n         (iVar4 = fseek(__stream,0,0), iVar4 != -1)" (parenthesized_expression "((iVar4 != -1) && (sVar5 = ftell(__stream), sVar5 != 0xffffffffffffffff))" (( "(") (binary_expression "(iVar4 != -1) && (sVar5 = ftell(__stream), sVar5 != 0xffffffffffffffff)" (parenthesized_expression "(iVar4 != -1)" (( "(") (binary_expression "iVar4 != -1" (identifier "iVar4") (!= "!=") (number_literal "-1")) () ")")) (&& "&&") (parenthesized_expression "(sVar5 = ftell(__stream), sVar5 != 0xffffffffffffffff)" (( "(") (comma_expression "sVar5 = ftell(__stream), sVar5 != 0xffffffffffffffff" (assignment_expression "sVar5 = ftell(__stream)" (identifier "sVar5") (= "=") (call_expression "ftell(__stream)" (identifier "ftell") (argument_list "(__stream)" (( "(") (identifier "__stream") () ")")))) (, ",") (binary_expression "sVar5 != 0xffffffffffffffff" (identifier "sVar5") (!= "!=") (number_literal "0xffffffffffffffff"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar4 = fseek(__stream,0,0), iVar4 != -1)" (( "(") (comma_expression "iVar4 = fseek(__stream,0,0), iVar4 != -1" (assignment_expression "iVar4 = fseek(__stream,0,0)" (identifier "iVar4") (= "=") (call_expression "fseek(__stream,0,0)" (identifier "fseek") (argument_list "(__stream,0,0)" (( "(") (identifier "__stream") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (, ",") (binary_expression "iVar4 != -1" (identifier "iVar4") (!= "!=") (number_literal "-1"))) () ")"))) () ")")) (compound_statement "{\n        __ptr = (byte *)FUN_00105220(sVar5 + 1);\n        sVar6 = fread(__ptr,1,sVar5,__stream);\n        if ((sVar5 == sVar6) || (iVar4 = ferror(__stream), iVar4 == 0)) {\n          __ptr[sVar6] = 0;\n          local_100 = lVar1;\n          if (*__ptr == 0) {\nLAB_00104ec0:\n            __src = (long *)FUN_00105220(8);\n            *__src = 0;\n            lVar7 = *param_2;\n            if (lVar3 == lVar7) {\n              lVar7 = FUN_001048c0();\n              iVar4 = 0;\n              lVar9 = 0;\n              *param_2 = lVar7;\n              sVar5 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar4 = 0;\n              lVar9 = 0;\n              sVar5 = 0;\n            }\n          }\n          else {\n            bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2];\n            pbVar8 = __ptr;\n            while ((bVar2 & 0x40) != 0) {\n              pbVar8 = pbVar8 + 1;\n              if (*pbVar8 == 0) goto LAB_00104ec0;\n              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];\n            }\n            __src = (long *)FUN_001049b0(__ptr);\n            lVar7 = *param_2;\n            lVar9 = *__src;\n            if (lVar7 == lVar3) {\n              lVar7 = FUN_001048c0(lVar3);\n              *param_2 = lVar7;\n            }\n            if (lVar9 == 0) goto LAB_00105016;\n            lVar9 = 0;\n            do {\n              lVar9 = lVar9 + 1;\n              sVar5 = lVar9 * 8;\n            } while (__src[lVar9] != 0);\n            iVar4 = (int)lVar9;\n            local_100 = (lVar13 + lVar9) * 8;\n          }\n          free(*(void **)(lVar7 + lVar13 * 8));\n          lVar13 = FUN_001052a0(*param_2,(lVar9 + 1 + (long)*param_1) * 8);\n          iVar12 = *param_1;\n          *param_2 = lVar13;\n          memmove((void *)(local_100 + lVar13),(void *)(lVar13 + 8 + lVar1),\n                  (long)(iVar12 - iVar11) << 3);\n          memcpy((void *)(*param_2 + lVar1),__src,sVar5);\n          *param_1 = iVar4 + -1 + *param_1;\n          free(__src);\n          free(__ptr);\n          iVar12 = iVar15;\n        }\n      }" ({ "{") (expression_statement "__ptr = (byte *)FUN_00105220(sVar5 + 1);" (assignment_expression "__ptr = (byte *)FUN_00105220(sVar5 + 1)" (identifier "__ptr") (= "=") (cast_expression "(byte *)FUN_00105220(sVar5 + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00105220(sVar5 + 1)" (identifier "FUN_00105220") (argument_list "(sVar5 + 1)" (( "(") (binary_expression "sVar5 + 1" (identifier "sVar5") (+ "+") (number_literal "1")) () ")"))))) (; ";")) (expression_statement "sVar6 = fread(__ptr,1,sVar5,__stream);" (assignment_expression "sVar6 = fread(__ptr,1,sVar5,__stream)" (identifier "sVar6") (= "=") (call_expression "fread(__ptr,1,sVar5,__stream)" (identifier "fread") (argument_list "(__ptr,1,sVar5,__stream)" (( "(") (identifier "__ptr") (, ",") (number_literal "1") (, ",") (identifier "sVar5") (, ",") (identifier "__stream") () ")")))) (; ";")) (if_statement "if ((sVar5 == sVar6) || (iVar4 = ferror(__stream), iVar4 == 0)) {\n          __ptr[sVar6] = 0;\n          local_100 = lVar1;\n          if (*__ptr == 0) {\nLAB_00104ec0:\n            __src = (long *)FUN_00105220(8);\n            *__src = 0;\n            lVar7 = *param_2;\n            if (lVar3 == lVar7) {\n              lVar7 = FUN_001048c0();\n              iVar4 = 0;\n              lVar9 = 0;\n              *param_2 = lVar7;\n              sVar5 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar4 = 0;\n              lVar9 = 0;\n              sVar5 = 0;\n            }\n          }\n          else {\n            bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2];\n            pbVar8 = __ptr;\n            while ((bVar2 & 0x40) != 0) {\n              pbVar8 = pbVar8 + 1;\n              if (*pbVar8 == 0) goto LAB_00104ec0;\n              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];\n            }\n            __src = (long *)FUN_001049b0(__ptr);\n            lVar7 = *param_2;\n            lVar9 = *__src;\n            if (lVar7 == lVar3) {\n              lVar7 = FUN_001048c0(lVar3);\n              *param_2 = lVar7;\n            }\n            if (lVar9 == 0) goto LAB_00105016;\n            lVar9 = 0;\n            do {\n              lVar9 = lVar9 + 1;\n              sVar5 = lVar9 * 8;\n            } while (__src[lVar9] != 0);\n            iVar4 = (int)lVar9;\n            local_100 = (lVar13 + lVar9) * 8;\n          }\n          free(*(void **)(lVar7 + lVar13 * 8));\n          lVar13 = FUN_001052a0(*param_2,(lVar9 + 1 + (long)*param_1) * 8);\n          iVar12 = *param_1;\n          *param_2 = lVar13;\n          memmove((void *)(local_100 + lVar13),(void *)(lVar13 + 8 + lVar1),\n                  (long)(iVar12 - iVar11) << 3);\n          memcpy((void *)(*param_2 + lVar1),__src,sVar5);\n          *param_1 = iVar4 + -1 + *param_1;\n          free(__src);\n          free(__ptr);\n          iVar12 = iVar15;\n        }" (if "if") (parenthesized_expression "((sVar5 == sVar6) || (iVar4 = ferror(__stream), iVar4 == 0))" (( "(") (binary_expression "(sVar5 == sVar6) || (iVar4 = ferror(__stream), iVar4 == 0)" (parenthesized_expression "(sVar5 == sVar6)" (( "(") (binary_expression "sVar5 == sVar6" (identifier "sVar5") (== "==") (identifier "sVar6")) () ")")) (|| "||") (parenthesized_expression "(iVar4 = ferror(__stream), iVar4 == 0)" (( "(") (comma_expression "iVar4 = ferror(__stream), iVar4 == 0" (assignment_expression "iVar4 = ferror(__stream)" (identifier "iVar4") (= "=") (call_expression "ferror(__stream)" (identifier "ferror") (argument_list "(__stream)" (( "(") (identifier "__stream") () ")")))) (, ",") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n          __ptr[sVar6] = 0;\n          local_100 = lVar1;\n          if (*__ptr == 0) {\nLAB_00104ec0:\n            __src = (long *)FUN_00105220(8);\n            *__src = 0;\n            lVar7 = *param_2;\n            if (lVar3 == lVar7) {\n              lVar7 = FUN_001048c0();\n              iVar4 = 0;\n              lVar9 = 0;\n              *param_2 = lVar7;\n              sVar5 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar4 = 0;\n              lVar9 = 0;\n              sVar5 = 0;\n            }\n          }\n          else {\n            bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2];\n            pbVar8 = __ptr;\n            while ((bVar2 & 0x40) != 0) {\n              pbVar8 = pbVar8 + 1;\n              if (*pbVar8 == 0) goto LAB_00104ec0;\n              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];\n            }\n            __src = (long *)FUN_001049b0(__ptr);\n            lVar7 = *param_2;\n            lVar9 = *__src;\n            if (lVar7 == lVar3) {\n              lVar7 = FUN_001048c0(lVar3);\n              *param_2 = lVar7;\n            }\n            if (lVar9 == 0) goto LAB_00105016;\n            lVar9 = 0;\n            do {\n              lVar9 = lVar9 + 1;\n              sVar5 = lVar9 * 8;\n            } while (__src[lVar9] != 0);\n            iVar4 = (int)lVar9;\n            local_100 = (lVar13 + lVar9) * 8;\n          }\n          free(*(void **)(lVar7 + lVar13 * 8));\n          lVar13 = FUN_001052a0(*param_2,(lVar9 + 1 + (long)*param_1) * 8);\n          iVar12 = *param_1;\n          *param_2 = lVar13;\n          memmove((void *)(local_100 + lVar13),(void *)(lVar13 + 8 + lVar1),\n                  (long)(iVar12 - iVar11) << 3);\n          memcpy((void *)(*param_2 + lVar1),__src,sVar5);\n          *param_1 = iVar4 + -1 + *param_1;\n          free(__src);\n          free(__ptr);\n          iVar12 = iVar15;\n        }" ({ "{") (expression_statement "__ptr[sVar6] = 0;" (assignment_expression "__ptr[sVar6] = 0" (subscript_expression "__ptr[sVar6]" (identifier "__ptr") ([ "[") (identifier "sVar6") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_100 = lVar1;" (assignment_expression "local_100 = lVar1" (identifier "local_100") (= "=") (identifier "lVar1")) (; ";")) (if_statement "if (*__ptr == 0) {\nLAB_00104ec0:\n            __src = (long *)FUN_00105220(8);\n            *__src = 0;\n            lVar7 = *param_2;\n            if (lVar3 == lVar7) {\n              lVar7 = FUN_001048c0();\n              iVar4 = 0;\n              lVar9 = 0;\n              *param_2 = lVar7;\n              sVar5 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar4 = 0;\n              lVar9 = 0;\n              sVar5 = 0;\n            }\n          }\n          else {\n            bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2];\n            pbVar8 = __ptr;\n            while ((bVar2 & 0x40) != 0) {\n              pbVar8 = pbVar8 + 1;\n              if (*pbVar8 == 0) goto LAB_00104ec0;\n              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];\n            }\n            __src = (long *)FUN_001049b0(__ptr);\n            lVar7 = *param_2;\n            lVar9 = *__src;\n            if (lVar7 == lVar3) {\n              lVar7 = FUN_001048c0(lVar3);\n              *param_2 = lVar7;\n            }\n            if (lVar9 == 0) goto LAB_00105016;\n            lVar9 = 0;\n            do {\n              lVar9 = lVar9 + 1;\n              sVar5 = lVar9 * 8;\n            } while (__src[lVar9] != 0);\n            iVar4 = (int)lVar9;\n            local_100 = (lVar13 + lVar9) * 8;\n          }" (if "if") (parenthesized_expression "(*__ptr == 0)" (( "(") (binary_expression "*__ptr == 0" (pointer_expression "*__ptr" (* "*") (identifier "__ptr")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_00104ec0:\n            __src = (long *)FUN_00105220(8);\n            *__src = 0;\n            lVar7 = *param_2;\n            if (lVar3 == lVar7) {\n              lVar7 = FUN_001048c0();\n              iVar4 = 0;\n              lVar9 = 0;\n              *param_2 = lVar7;\n              sVar5 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar4 = 0;\n              lVar9 = 0;\n              sVar5 = 0;\n            }\n          }" ({ "{") (labeled_statement "LAB_00104ec0:\n            __src = (long *)FUN_00105220(8);" (statement_identifier "LAB_00104ec0") (: ":") (expression_statement "__src = (long *)FUN_00105220(8);" (assignment_expression "__src = (long *)FUN_00105220(8)" (identifier "__src") (= "=") (cast_expression "(long *)FUN_00105220(8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00105220(8)" (identifier "FUN_00105220") (argument_list "(8)" (( "(") (number_literal "8") () ")"))))) (; ";"))) (expression_statement "*__src = 0;" (assignment_expression "*__src = 0" (pointer_expression "*__src" (* "*") (identifier "__src")) (= "=") (number_literal "0")) (; ";")) (expression_statement "lVar7 = *param_2;" (assignment_expression "lVar7 = *param_2" (identifier "lVar7") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (if_statement "if (lVar3 == lVar7) {\n              lVar7 = FUN_001048c0();\n              iVar4 = 0;\n              lVar9 = 0;\n              *param_2 = lVar7;\n              sVar5 = 0;\n            }\n            else {\nLAB_00105016:\n              iVar4 = 0;\n              lVar9 = 0;\n              sVar5 = 0;\n            }" (if "if") (parenthesized_expression "(lVar3 == lVar7)" (( "(") (binary_expression "lVar3 == lVar7" (identifier "lVar3") (== "==") (identifier "lVar7")) () ")")) (compound_statement "{\n              lVar7 = FUN_001048c0();\n              iVar4 = 0;\n              lVar9 = 0;\n              *param_2 = lVar7;\n              sVar5 = 0;\n            }" ({ "{") (expression_statement "lVar7 = FUN_001048c0();" (assignment_expression "lVar7 = FUN_001048c0()" (identifier "lVar7") (= "=") (call_expression "FUN_001048c0()" (identifier "FUN_001048c0") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "lVar9 = 0;" (assignment_expression "lVar9 = 0" (identifier "lVar9") (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_2 = lVar7;" (assignment_expression "*param_2 = lVar7" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "lVar7")) (; ";")) (expression_statement "sVar5 = 0;" (assignment_expression "sVar5 = 0" (identifier "sVar5") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\nLAB_00105016:\n              iVar4 = 0;\n              lVar9 = 0;\n              sVar5 = 0;\n            }" (else "else") (compound_statement "{\nLAB_00105016:\n              iVar4 = 0;\n              lVar9 = 0;\n              sVar5 = 0;\n            }" ({ "{") (labeled_statement "LAB_00105016:\n              iVar4 = 0;" (statement_identifier "LAB_00105016") (: ":") (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";"))) (expression_statement "lVar9 = 0;" (assignment_expression "lVar9 = 0" (identifier "lVar9") (= "=") (number_literal "0")) (; ";")) (expression_statement "sVar5 = 0;" (assignment_expression "sVar5 = 0" (identifier "sVar5") (= "=") (number_literal "0")) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n            bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2];\n            pbVar8 = __ptr;\n            while ((bVar2 & 0x40) != 0) {\n              pbVar8 = pbVar8 + 1;\n              if (*pbVar8 == 0) goto LAB_00104ec0;\n              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];\n            }\n            __src = (long *)FUN_001049b0(__ptr);\n            lVar7 = *param_2;\n            lVar9 = *__src;\n            if (lVar7 == lVar3) {\n              lVar7 = FUN_001048c0(lVar3);\n              *param_2 = lVar7;\n            }\n            if (lVar9 == 0) goto LAB_00105016;\n            lVar9 = 0;\n            do {\n              lVar9 = lVar9 + 1;\n              sVar5 = lVar9 * 8;\n            } while (__src[lVar9] != 0);\n            iVar4 = (int)lVar9;\n            local_100 = (lVar13 + lVar9) * 8;\n          }" (else "else") (compound_statement "{\n            bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2];\n            pbVar8 = __ptr;\n            while ((bVar2 & 0x40) != 0) {\n              pbVar8 = pbVar8 + 1;\n              if (*pbVar8 == 0) goto LAB_00104ec0;\n              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];\n            }\n            __src = (long *)FUN_001049b0(__ptr);\n            lVar7 = *param_2;\n            lVar9 = *__src;\n            if (lVar7 == lVar3) {\n              lVar7 = FUN_001048c0(lVar3);\n              *param_2 = lVar7;\n            }\n            if (lVar9 == 0) goto LAB_00105016;\n            lVar9 = 0;\n            do {\n              lVar9 = lVar9 + 1;\n              sVar5 = lVar9 * 8;\n            } while (__src[lVar9] != 0);\n            iVar4 = (int)lVar9;\n            local_100 = (lVar13 + lVar9) * 8;\n          }" ({ "{") (expression_statement "bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2];" (assignment_expression "bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2]" (identifier "bVar2") (= "=") (subscript_expression "(&DAT_00107180)[(ulong)*__ptr * 2]" (parenthesized_expression "(&DAT_00107180)" (( "(") (pointer_expression "&DAT_00107180" (& "&") (identifier "DAT_00107180")) () ")")) ([ "[") (binary_expression "(ulong)*__ptr * 2" (binary_expression "(ulong)*__ptr" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (* "*") (identifier "__ptr")) (* "*") (number_literal "2")) (] "]"))) (; ";")) (expression_statement "pbVar8 = __ptr;" (assignment_expression "pbVar8 = __ptr" (identifier "pbVar8") (= "=") (identifier "__ptr")) (; ";")) (while_statement "while ((bVar2 & 0x40) != 0) {\n              pbVar8 = pbVar8 + 1;\n              if (*pbVar8 == 0) goto LAB_00104ec0;\n              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];\n            }" (while "while") (parenthesized_expression "((bVar2 & 0x40) != 0)" (( "(") (binary_expression "(bVar2 & 0x40) != 0" (parenthesized_expression "(bVar2 & 0x40)" (( "(") (binary_expression "bVar2 & 0x40" (identifier "bVar2") (& "&") (number_literal "0x40")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n              pbVar8 = pbVar8 + 1;\n              if (*pbVar8 == 0) goto LAB_00104ec0;\n              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];\n            }" ({ "{") (expression_statement "pbVar8 = pbVar8 + 1;" (assignment_expression "pbVar8 = pbVar8 + 1" (identifier "pbVar8") (= "=") (binary_expression "pbVar8 + 1" (identifier "pbVar8") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (*pbVar8 == 0) goto LAB_00104ec0;" (if "if") (parenthesized_expression "(*pbVar8 == 0)" (( "(") (binary_expression "*pbVar8 == 0" (pointer_expression "*pbVar8" (* "*") (identifier "pbVar8")) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00104ec0;" (goto "goto") (statement_identifier "LAB_00104ec0") (; ";"))) (expression_statement "bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];" (assignment_expression "bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2]" (identifier "bVar2") (= "=") (subscript_expression "(&DAT_00107180)[(ulong)*pbVar8 * 2]" (parenthesized_expression "(&DAT_00107180)" (( "(") (pointer_expression "&DAT_00107180" (& "&") (identifier "DAT_00107180")) () ")")) ([ "[") (binary_expression "(ulong)*pbVar8 * 2" (binary_expression "(ulong)*pbVar8" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (* "*") (identifier "pbVar8")) (* "*") (number_literal "2")) (] "]"))) (; ";")) (} "}"))) (expression_statement "__src = (long *)FUN_001049b0(__ptr);" (assignment_expression "__src = (long *)FUN_001049b0(__ptr)" (identifier "__src") (= "=") (cast_expression "(long *)FUN_001049b0(__ptr)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_001049b0(__ptr)" (identifier "FUN_001049b0") (argument_list "(__ptr)" (( "(") (identifier "__ptr") () ")"))))) (; ";")) (expression_statement "lVar7 = *param_2;" (assignment_expression "lVar7 = *param_2" (identifier "lVar7") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "lVar9 = *__src;" (assignment_expression "lVar9 = *__src" (identifier "lVar9") (= "=") (pointer_expression "*__src" (* "*") (identifier "__src"))) (; ";")) (if_statement "if (lVar7 == lVar3) {\n              lVar7 = FUN_001048c0(lVar3);\n              *param_2 = lVar7;\n            }" (if "if") (parenthesized_expression "(lVar7 == lVar3)" (( "(") (binary_expression "lVar7 == lVar3" (identifier "lVar7") (== "==") (identifier "lVar3")) () ")")) (compound_statement "{\n              lVar7 = FUN_001048c0(lVar3);\n              *param_2 = lVar7;\n            }" ({ "{") (expression_statement "lVar7 = FUN_001048c0(lVar3);" (assignment_expression "lVar7 = FUN_001048c0(lVar3)" (identifier "lVar7") (= "=") (call_expression "FUN_001048c0(lVar3)" (identifier "FUN_001048c0") (argument_list "(lVar3)" (( "(") (identifier "lVar3") () ")")))) (; ";")) (expression_statement "*param_2 = lVar7;" (assignment_expression "*param_2 = lVar7" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "lVar7")) (; ";")) (} "}"))) (if_statement "if (lVar9 == 0) goto LAB_00105016;" (if "if") (parenthesized_expression "(lVar9 == 0)" (( "(") (binary_expression "lVar9 == 0" (identifier "lVar9") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00105016;" (goto "goto") (statement_identifier "LAB_00105016") (; ";"))) (expression_statement "lVar9 = 0;" (assignment_expression "lVar9 = 0" (identifier "lVar9") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n              lVar9 = lVar9 + 1;\n              sVar5 = lVar9 * 8;\n            } while (__src[lVar9] != 0);" (do "do") (compound_statement "{\n              lVar9 = lVar9 + 1;\n              sVar5 = lVar9 * 8;\n            }" ({ "{") (expression_statement "lVar9 = lVar9 + 1;" (assignment_expression "lVar9 = lVar9 + 1" (identifier "lVar9") (= "=") (binary_expression "lVar9 + 1" (identifier "lVar9") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "sVar5 = lVar9 * 8;" (assignment_expression "sVar5 = lVar9 * 8" (identifier "sVar5") (= "=") (binary_expression "lVar9 * 8" (identifier "lVar9") (* "*") (number_literal "8"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(__src[lVar9] != 0)" (( "(") (binary_expression "__src[lVar9] != 0" (subscript_expression "__src[lVar9]" (identifier "__src") ([ "[") (identifier "lVar9") (] "]")) (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "iVar4 = (int)lVar9;" (assignment_expression "iVar4 = (int)lVar9" (identifier "iVar4") (= "=") (cast_expression "(int)lVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "lVar9"))) (; ";")) (expression_statement "local_100 = (lVar13 + lVar9) * 8;" (assignment_expression "local_100 = (lVar13 + lVar9) * 8" (identifier "local_100") (= "=") (binary_expression "(lVar13 + lVar9) * 8" (parenthesized_expression "(lVar13 + lVar9)" (( "(") (binary_expression "lVar13 + lVar9" (identifier "lVar13") (+ "+") (identifier "lVar9")) () ")")) (* "*") (number_literal "8"))) (; ";")) (} "}")))) (expression_statement "free(*(void **)(lVar7 + lVar13 * 8));" (call_expression "free(*(void **)(lVar7 + lVar13 * 8))" (identifier "free") (argument_list "(*(void **)(lVar7 + lVar13 * 8))" (( "(") (pointer_expression "*(void **)(lVar7 + lVar13 * 8)" (* "*") (cast_expression "(void **)(lVar7 + lVar13 * 8)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(lVar7 + lVar13 * 8)" (( "(") (binary_expression "lVar7 + lVar13 * 8" (identifier "lVar7") (+ "+") (binary_expression "lVar13 * 8" (identifier "lVar13") (* "*") (number_literal "8"))) () ")")))) () ")"))) (; ";")) (expression_statement "lVar13 = FUN_001052a0(*param_2,(lVar9 + 1 + (long)*param_1) * 8);" (assignment_expression "lVar13 = FUN_001052a0(*param_2,(lVar9 + 1 + (long)*param_1) * 8)" (identifier "lVar13") (= "=") (call_expression "FUN_001052a0(*param_2,(lVar9 + 1 + (long)*param_1) * 8)" (identifier "FUN_001052a0") (argument_list "(*param_2,(lVar9 + 1 + (long)*param_1) * 8)" (( "(") (pointer_expression "*param_2" (* "*") (identifier "param_2")) (, ",") (binary_expression "(lVar9 + 1 + (long)*param_1) * 8" (parenthesized_expression "(lVar9 + 1 + (long)*param_1)" (( "(") (binary_expression "lVar9 + 1 + (long)*param_1" (binary_expression "lVar9 + 1" (identifier "lVar9") (+ "+") (number_literal "1")) (+ "+") (cast_expression "(long)*param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) () ")")) (* "*") (number_literal "8")) () ")")))) (; ";")) (expression_statement "iVar12 = *param_1;" (assignment_expression "iVar12 = *param_1" (identifier "iVar12") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "*param_2 = lVar13;" (assignment_expression "*param_2 = lVar13" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "lVar13")) (; ";")) (expression_statement "memmove((void *)(local_100 + lVar13),(void *)(lVar13 + 8 + lVar1),\n                  (long)(iVar12 - iVar11) << 3);" (call_expression "memmove((void *)(local_100 + lVar13),(void *)(lVar13 + 8 + lVar1),\n                  (long)(iVar12 - iVar11) << 3)" (identifier "memmove") (argument_list "((void *)(local_100 + lVar13),(void *)(lVar13 + 8 + lVar1),\n                  (long)(iVar12 - iVar11) << 3)" (( "(") (cast_expression "(void *)(local_100 + lVar13)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_100 + lVar13)" (( "(") (binary_expression "local_100 + lVar13" (identifier "local_100") (+ "+") (identifier "lVar13")) () ")"))) (, ",") (cast_expression "(void *)(lVar13 + 8 + lVar1)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar13 + 8 + lVar1)" (( "(") (binary_expression "lVar13 + 8 + lVar1" (binary_expression "lVar13 + 8" (identifier "lVar13") (+ "+") (number_literal "8")) (+ "+") (identifier "lVar1")) () ")"))) (, ",") (binary_expression "(long)(iVar12 - iVar11) << 3" (cast_expression "(long)(iVar12 - iVar11)" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (parenthesized_expression "(iVar12 - iVar11)" (( "(") (binary_expression "iVar12 - iVar11" (identifier "iVar12") (- "-") (identifier "iVar11")) () ")"))) (<< "<<") (number_literal "3")) () ")"))) (; ";")) (expression_statement "memcpy((void *)(*param_2 + lVar1),__src,sVar5);" (call_expression "memcpy((void *)(*param_2 + lVar1),__src,sVar5)" (identifier "memcpy") (argument_list "((void *)(*param_2 + lVar1),__src,sVar5)" (( "(") (cast_expression "(void *)(*param_2 + lVar1)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_2 + lVar1)" (( "(") (binary_expression "*param_2 + lVar1" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (identifier "lVar1")) () ")"))) (, ",") (identifier "__src") (, ",") (identifier "sVar5") () ")"))) (; ";")) (expression_statement "*param_1 = iVar4 + -1 + *param_1;" (assignment_expression "*param_1 = iVar4 + -1 + *param_1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "iVar4 + -1 + *param_1" (binary_expression "iVar4 + -1" (identifier "iVar4") (+ "+") (number_literal "-1")) (+ "+") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "free(__src);" (call_expression "free(__src)" (identifier "free") (argument_list "(__src)" (( "(") (identifier "__src") () ")"))) (; ";")) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" (identifier "free") (argument_list "(__ptr)" (( "(") (identifier "__ptr") () ")"))) (; ";")) (expression_statement "iVar12 = iVar15;" (assignment_expression "iVar12 = iVar15" (identifier "iVar12") (= "=") (identifier "iVar15")) (; ";")) (} "}"))) (} "}"))) (expression_statement "fclose(__stream);" (call_expression "fclose(__stream)" (identifier "fclose") (argument_list "(__stream)" (( "(") (identifier "__stream") () ")"))) (; ";")) (expression_statement "iVar11 = iVar12 + 1;" (assignment_expression "iVar11 = iVar12 + 1" (identifier "iVar11") (= "=") (binary_expression "iVar12 + 1" (identifier "iVar12") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar4 = *param_1;" (assignment_expression "iVar4 = *param_1" (identifier "iVar4") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "iVar15 = iVar12;" (assignment_expression "iVar15 = iVar12" (identifier "iVar15") (= "=") (identifier "iVar12")) (; ";")) (if_statement "if (iVar4 <= iVar11) {\n        return;\n      }" (if "if") (parenthesized_expression "(iVar4 <= iVar11)" (( "(") (binary_expression "iVar4 <= iVar11" (identifier "iVar4") (<= "<=") (identifier "iVar11")) () ")")) (compound_statement "{\n        return;\n      }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

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

{
  type_1 var_22;
  char **var_19;
  int var_2;
  type_2 *var_11;
  size_t var_14;
  type_1 *input;
  size_t var_17;
  char **__src;
  char **var_20;
  type_1 *var_23;
  long var_25;
  char *var_8;
  int var_3;
  int var_1;
  long var_4;
  char *__format;
  int iVar12;
  long var_29;
  int var_5;
  type_3 sb;
  
  var_19 = *argvp;
  var_2 = *argcp;
  var_5 = 2000;
  var_1 = 0;
  do {
    var_3 = var_1 + 1;
    iVar12 = var_1;
    if (var_2 <= var_3) {
      return;
    }
    while( true ) {
      var_4 = (long)var_3;
      var_29 = var_4 * 8;
      var_8 = (*argvp)[var_4];
      var_1 = var_3;
      if (*var_8 != '@') break;
      var_5 = var_5 + -1;
      if (var_5 == 0) {
        var_8 = **argvp;
        __format = "%s: error: too many @-files encountered\n";
LAB_00105032:
        var_6(stderr,__format,var_8);
                    /* WARNING: Subroutine does not return */
        var_7(1);
      }
      var_8 = var_8 + 1;
      var_2 = var_9(1,var_8,(type_3 *)&sb);
      if (var_2 < 0) {
LAB_00104e70:
        var_2 = *argcp;
        break;
      }
      if ((sb.st_mode & 0xf000) == 0x4000) {
        __format = "%s: error: @-file refers to a directory\n";
        var_8 = **argvp;
        goto LAB_00105032;
      }
      var_11 = var_10(var_8,"r");
      if (var_11 == (type_2 *)0x0) goto LAB_00104e70;
      var_2 = var_12(var_11,0,2);
      if (((var_2 != -1) && (var_14 = var_13(var_11), var_14 != 0xffffffffffffffff)) &&
         (var_2 = var_12(var_11,0,0), var_2 != -1)) {
        input = (type_1 *)var_15(var_14 + 1);
        var_17 = var_16(input,1,var_14,var_11);
        if ((var_14 == var_17) || (var_2 = var_18(var_11), var_2 == 0)) {
          input[var_17] = 0;
          if (*input == 0) {
LAB_00104ec0:
            __src = (char **)var_15(8);
            *__src = (char *)0x0;
            var_20 = *argvp;
            if (var_19 == var_20) {
              var_20 = var_21(var_19);
              var_2 = 0;
              var_25 = 0;
              *argvp = var_20;
              var_14 = 0;
            }
            else {
LAB_00105016:
              var_2 = 0;
              var_25 = 0;
              var_14 = 0;
            }
          }
          else {
            var_22 = (type_1)_sch_istable[*input];
            var_23 = input;
            while ((var_22 & 0x40) != 0) {
              var_23 = var_23 + 1;
              if (*var_23 == 0) goto LAB_00104ec0;
              var_22 = (type_1)_sch_istable[*var_23];
            }
            __src = var_24((char *)input);
            var_20 = *argvp;
            var_8 = *__src;
            if (var_20 == var_19) {
              var_20 = var_21(var_19);
              *argvp = var_20;
            }
            if (var_8 == (char *)0x0) goto LAB_00105016;
            var_25 = 0;
            do {
              var_25 = var_25 + 1;
              var_14 = var_25 * 8;
            } while (__src[var_25] != (char *)0x0);
            var_2 = (int)var_25;
            var_29 = (var_4 + var_25) * 8;
          }
          var_26(var_20[var_4]);
          var_20 = (char **)var_27(*argvp,(var_25 + 1 + (long)*argcp) * 8);
          var_1 = *argcp;
          *argvp = var_20;
          var_28((void *)(var_29 + (long)var_20),var_20 + var_4 + 1,
                  (long)(var_1 - var_3) << 3);
          var_30(*argvp + var_4,__src,var_14);
          *argcp = var_2 + -1 + *argcp;
          var_26(__src);
          var_26(input);
          var_1 = iVar12;
        }
      }
      var_31(var_11);
      var_3 = var_1 + 1;
      var_2 = *argcp;
      iVar12 = var_1;
      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: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (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: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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: (sized_type_specifier)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (parenthesized_expression (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))) index: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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) (pointer_expression argument: (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: (string_literal (string_content) (escape_sequence)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal))))) 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: (call_expression function: (identifier) arguments: (argument_list (identifier)))) right: (binary_expression left: (identifier) right: (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: (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: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (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: (call_expression function: (identifier) arguments: (argument_list (identifier)))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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: (sized_type_specifier) 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: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) 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: (number_literal))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (parenthesized_expression (pointer_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: (parenthesized_expression (pointer_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: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (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: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (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)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (number_literal))))))) (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: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))))))) (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: (identifier) right: (number_literal)) right: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (pointer_expression argument: (identifier))))) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (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: (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: (identifier)))) (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) right: (number_literal))))) (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: (pointer_expression argument: (identifier)) right: (identifier)))) (identifier) (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (binary_expression left: (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 (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (return_statement)))))) condition: (parenthesized_expression (true))))))

void MASKED(int *param_1,long *param_2)

{
  long lVar1;
  byte bVar2;
  long lVar3;
  int iVar4;
  FILE *__stream;
  size_t sVar5;
  byte *__ptr;
  size_t sVar6;
  long *__src;
  long lVar7;
  byte *pbVar8;
  long lVar9;
  undefined8 uVar10;
  int iVar11;
  int iVar12;
  long lVar13;
  char *pcVar14;
  int iVar15;
  long local_100;
  int local_d8;
  stat local_c8;
  
  lVar3 = *param_2;
  iVar4 = *param_1;
  local_d8 = 2000;
  iVar12 = 0;
  do {
    iVar11 = iVar12 + 1;
    iVar15 = iVar12;
    if (iVar4 <= iVar11) {
      return;
    }
    while( true ) {
      lVar13 = (long)iVar11;
      lVar1 = lVar13 * 8;
      pcVar14 = (char *)((undefined8 *)*param_2)[lVar13];
      iVar12 = iVar11;
      if (*pcVar14 != '@') break;
      local_d8 = local_d8 + -1;
      if (local_d8 == 0) {
        uVar10 = *(undefined8 *)*param_2;
        pcVar14 = "%s: error: too many @-files encountered\n";
        goto LAB_00105032;
      }
      pcVar14 = pcVar14 + 1;
      iVar4 = __xstat(1,pcVar14,&local_c8);
      if (iVar4 < 0) {
LAB_00104e70:
        iVar4 = *param_1;
        break;
      }
      if ((local_c8.st_mode & 0xf000) == 0x4000) {
        do {
          pcVar14 = "%s: error: @-file refers to a directory\n";
          uVar10 = *(undefined8 *)*param_2;
LAB_00105032:
          fprintf(stderr,pcVar14,uVar10);
          FUN_00105150(1);
        } while( true );
      }
      __stream = fopen(pcVar14,"r");
      if (__stream == (FILE *)0x0) goto LAB_00104e70;
      iVar4 = fseek(__stream,0,2);
      if (((iVar4 != -1) && (sVar5 = ftell(__stream), sVar5 != 0xffffffffffffffff)) &&
         (iVar4 = fseek(__stream,0,0), iVar4 != -1)) {
        __ptr = (byte *)FUN_00105220(sVar5 + 1);
        sVar6 = fread(__ptr,1,sVar5,__stream);
        if ((sVar5 == sVar6) || (iVar4 = ferror(__stream), iVar4 == 0)) {
          __ptr[sVar6] = 0;
          local_100 = lVar1;
          if (*__ptr == 0) {
LAB_00104ec0:
            __src = (long *)FUN_00105220(8);
            *__src = 0;
            lVar7 = *param_2;
            if (lVar3 == lVar7) {
              lVar7 = FUN_001048c0();
              iVar4 = 0;
              lVar9 = 0;
              *param_2 = lVar7;
              sVar5 = 0;
            }
            else {
LAB_00105016:
              iVar4 = 0;
              lVar9 = 0;
              sVar5 = 0;
            }
          }
          else {
            bVar2 = (&DAT_00107180)[(ulong)*__ptr * 2];
            pbVar8 = __ptr;
            while ((bVar2 & 0x40) != 0) {
              pbVar8 = pbVar8 + 1;
              if (*pbVar8 == 0) goto LAB_00104ec0;
              bVar2 = (&DAT_00107180)[(ulong)*pbVar8 * 2];
            }
            __src = (long *)FUN_001049b0(__ptr);
            lVar7 = *param_2;
            lVar9 = *__src;
            if (lVar7 == lVar3) {
              lVar7 = FUN_001048c0(lVar3);
              *param_2 = lVar7;
            }
            if (lVar9 == 0) goto LAB_00105016;
            lVar9 = 0;
            do {
              lVar9 = lVar9 + 1;
              sVar5 = lVar9 * 8;
            } while (__src[lVar9] != 0);
            iVar4 = (int)lVar9;
            local_100 = (lVar13 + lVar9) * 8;
          }
          free(*(void **)(lVar7 + lVar13 * 8));
          lVar13 = FUN_001052a0(*param_2,(lVar9 + 1 + (long)*param_1) * 8);
          iVar12 = *param_1;
          *param_2 = lVar13;
          memmove((void *)(local_100 + lVar13),(void *)(lVar13 + 8 + lVar1),
                  (long)(iVar12 - iVar11) << 3);
          memcpy((void *)(*param_2 + lVar1),__src,sVar5);
          *param_1 = iVar4 + -1 + *param_1;
          free(__src);
          free(__ptr);
          iVar12 = iVar15;
        }
      }
      fclose(__stream);
      iVar11 = iVar12 + 1;
      iVar4 = *param_1;
      iVar15 = iVar12;
      if (iVar4 <= iVar11) {
        return;
      }
    }
  } while( true );
}

