
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

void derives_compute(void)

{
  undefined4 *puVar1;
  undefined4 uVar2;
  rule *prVar3;
  rule **pprVar4;
  undefined4 *puVar5;
  undefined *puVar6;
  rule ***ppprVar7;
  void *__ptr;
  void *__ptr_00;
  rule *prVar8;
  size_t n;
  undefined4 *puVar9;
  int iVar10;
  int iVar11;
  bool bVar12;
  int local_38;
  
  __ptr = xcalloc(nvars,4);
  if ((-1 < nrules << 3) && ((uint)nrules >> 0x1d == 0)) {
    __ptr_00 = xmalloc(nrules << 3);
    prVar3 = rules;
    iVar10 = ntokens;
    if (-1 < nrules + -1) {
      prVar8 = rules + nrules + -1;
      puVar9 = (undefined4 *)((int)__ptr_00 + nrules * 8 + -8);
      do {
        iVar11 = prVar8->lhs->number;
        puVar9[1] = prVar8;
        puVar1 = (undefined4 *)((int)__ptr + (iVar11 - iVar10) * 4);
        uVar2 = *puVar1;
        *puVar1 = puVar9;
        *puVar9 = uVar2;
        bVar12 = prVar3 != prVar8;
        prVar8 = prVar8 + -1;
        puVar9 = puVar9 + -2;
      } while (bVar12);
    }
    if ((-1 < nvars << 2) && ((uint)nvars >> 0x1e == 0)) {
      derives = (rule ***)xmalloc(nvars << 2);
      n = (nrules + nvars) * 4;
      if ((-1 < (int)n) && ((uint)(nrules + nvars) >> 0x1e == 0)) {
        puVar9 = (undefined4 *)xmalloc(n);
        ppprVar7 = derives;
        if (ntokens < nsyms) {
          iVar11 = nsyms - ntokens;
          iVar10 = 0;
          do {
            puVar1 = *(undefined4 **)((int)__ptr + iVar10);
            *(undefined4 **)((int)ppprVar7 + iVar10) = puVar9;
            puVar5 = puVar9;
            while (puVar1 != (undefined4 *)0x0) {
              puVar9 = puVar1 + 1;
              puVar1 = (undefined4 *)*puVar1;
              *puVar5 = *puVar9;
              puVar5 = puVar5 + 1;
            }
            iVar10 = iVar10 + 4;
            puVar9 = puVar5 + 1;
            *puVar5 = 0;
          } while (iVar10 != iVar11 * 4);
        }
        puVar6 = PTR_stderr_00095fa8;
        if (((byte)trace_flag & 8) != 0) {
          fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);
          local_38 = ntokens;
          if (ntokens < nsyms) {
            do {
              rpl_fprintf(*(FILE **)puVar6,"  %s derives\n",symbols[local_38]->tag);
              prVar3 = *derives[local_38 - ntokens];
              pprVar4 = derives[local_38 - ntokens];
              while (prVar3 != (rule *)0x0) {
                rpl_fprintf(*(FILE **)puVar6,"    %3d ",prVar3->user_number);
                rule_rhs_print(*pprVar4,*(FILE **)puVar6);
                rpl_fprintf(*(FILE **)puVar6,"\n");
                prVar3 = pprVar4[1];
                pprVar4 = pprVar4 + 1;
              }
              local_38 = local_38 + 1;
            } while (local_38 < nsyms);
          }
          fwrite_unlocked("\n\n",1,2,*(FILE **)puVar6);
        }
        free(__ptr);
        free(__ptr_00);
        return;
      }
    }
  }
                    /* WARNING: Subroutine does not return */
  xalloc_die();
}



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

void FUN_0001aaf0(void)

{
  undefined4 *puVar1;
  int iVar2;
  undefined4 uVar3;
  undefined4 *puVar4;
  undefined *puVar5;
  void *__ptr;
  void *__ptr_00;
  int iVar6;
  undefined4 *puVar7;
  int iVar8;
  int iVar9;
  bool bVar10;
  int local_38;
  
  __ptr = (void *)FUN_00066d60(DAT_00096934,4);
  if ((-1 < (int)(DAT_00096940 << 3)) && (DAT_00096940 >> 0x1d == 0)) {
    __ptr_00 = (void *)FUN_00066c20(DAT_00096940 << 3);
    iVar8 = DAT_00096944;
    iVar6 = DAT_000961c4;
    if (-1 < (int)(DAT_00096940 - 1)) {
      iVar9 = (DAT_00096940 - 1) * 0x60 + DAT_00096944;
      puVar7 = (undefined4 *)((int)__ptr_00 + DAT_00096940 * 8 + -8);
      do {
        iVar2 = *(int *)(*(int *)(iVar9 + 8) + 0x80);
        puVar7[1] = iVar9;
        puVar1 = (undefined4 *)((int)__ptr + (iVar2 - iVar6) * 4);
        uVar3 = *puVar1;
        *puVar1 = puVar7;
        *puVar7 = uVar3;
        bVar10 = iVar8 != iVar9;
        iVar9 = iVar9 + -0x60;
        puVar7 = puVar7 + -2;
      } while (bVar10);
    }
    if ((-1 < (int)(DAT_00096934 << 2)) && (DAT_00096934 >> 0x1e == 0)) {
      DAT_00099b28 = FUN_00066c20(DAT_00096934 << 2);
      iVar6 = (DAT_00096940 + DAT_00096934) * 4;
      if ((-1 < iVar6) && (DAT_00096940 + DAT_00096934 >> 0x1e == 0)) {
        puVar7 = (undefined4 *)FUN_00066c20(iVar6);
        iVar6 = DAT_00099b28;
        if (DAT_000961c4 < DAT_00096938) {
          iVar9 = DAT_00096938 - DAT_000961c4;
          iVar8 = 0;
          do {
            puVar1 = *(undefined4 **)((int)__ptr + iVar8);
            *(undefined4 **)(iVar6 + iVar8) = puVar7;
            puVar4 = puVar7;
            while (puVar1 != (undefined4 *)0x0) {
              puVar7 = puVar1 + 1;
              puVar1 = (undefined4 *)*puVar1;
              *puVar4 = *puVar7;
              puVar4 = puVar4 + 1;
            }
            iVar8 = iVar8 + 4;
            puVar7 = puVar4 + 1;
            *puVar4 = 0;
          } while (iVar8 != iVar9 * 4);
        }
        puVar5 = PTR_stderr_00095fa8;
        if (((byte)DAT_00096900 & 8) != 0) {
          fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);
          local_38 = DAT_000961c4;
          if (DAT_000961c4 < DAT_00096938) {
            do {
              FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",
                           **(undefined4 **)(DAT_0009693c + local_38 * 4));
              puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);
              puVar1 = (undefined4 *)*puVar7;
              while (puVar1 != (undefined4 *)0x0) {
                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);
                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);
                FUN_00067160(*(undefined4 *)puVar5,"\n");
                puVar1 = (undefined4 *)puVar7[1];
                puVar7 = puVar7 + 1;
              }
              local_38 = local_38 + 1;
            } while (local_38 < DAT_00096938);
          }
          fwrite_unlocked("\n\n",1,2,*(FILE **)puVar5);
        }
        free(__ptr);
        free(__ptr_00);
        return;
      }
    }
  }
                    /* WARNING: Subroutine does not return */
  FUN_00066e40();
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00013d10
ADD EBX,0x7b507
SUB ESP,0x44
PUSH 0x4
LEA EAX,[EBX + 0x934]
MOV dword ptr [ESP + 0x20],EAX
PUSH dword ptr [EAX]
CALL 0x00066d60
MOV dword ptr [ESP + 0x20],EAX
LEA EAX,[EBX + 0x940]
MOV dword ptr [ESP + 0x1c],EAX
MOV EAX,dword ptr [EAX]
ADD ESP,0x10
MOV EDI,EAX
SHR EDI,0x1d
SETNZ DL
SHL EAX,0x3
JS 0x0001ada5
MOVZX EDX,DL
TEST EDX,EDX
JNZ 0x0001ada5
SUB ESP,0xc
PUSH EAX
CALL 0x00066c20
MOV dword ptr [ESP + 0x3c],EAX
MOV ESI,EAX
MOV EAX,dword ptr [ESP + 0x1c]
ADD ESP,0x10
MOV EDX,dword ptr [EAX]
MOV EAX,EDX
SUB EAX,0x1
JS 0x0001abb0
LEA ECX,[EBX + 0x944]
LEA EAX,[EAX + EAX*0x2]
LEA EDX,[ESI + EDX*0x8 + -0x8]
SHL EAX,0x5
MOV EDI,dword ptr [ECX]
LEA ECX,[EBX + 0x1c4]
ADD EAX,EDI
MOV EBP,dword ptr [ECX]
JMP 0x0001ab8a
MOV EAX,ECX
MOV ECX,dword ptr [EAX + 0x8]
MOV ESI,dword ptr [ESP + 0x10]
MOV ECX,dword ptr [ECX + 0x80]
MOV dword ptr [EDX + 0x4],EAX
SUB ECX,EBP
LEA ECX,[ESI + ECX*0x4]
MOV ESI,dword ptr [ECX]
MOV dword ptr [ECX],EDX
SUB EDX,0x8
LEA ECX,[EAX + -0x60]
MOV dword ptr [EDX + 0x8],ESI
CMP EDI,EAX
JNZ 0x0001ab88
MOV ESI,dword ptr [ESP + 0x14]
XOR EDX,EDX
MOV EAX,dword ptr [ESI]
MOV EDI,EAX
SHR EDI,0x1e
SETNZ DL
SHL EAX,0x2
JS 0x0001ada5
TEST EDX,EDX
JNZ 0x0001ada5
SUB ESP,0xc
PUSH EAX
CALL 0x00066c20
LEA EDI,[EBX + 0x3b28]
XOR EDX,EDX
MOV dword ptr [EDI],EAX
MOV EAX,dword ptr [ESP + 0x1c]
MOV dword ptr [ESP + 0x30],EDI
ADD ESP,0x10
MOV EAX,dword ptr [EAX]
ADD EAX,dword ptr [ESI]
MOV ESI,EAX
SHR ESI,0x1e
SETNZ DL
SHL EAX,0x2
JS 0x0001ada5
TEST EDX,EDX
JNZ 0x0001ada5
SUB ESP,0xc
PUSH EAX
CALL 0x00066c20
LEA ESI,[EBX + 0x1c4]
MOV dword ptr [ESP + 0x28],ESI
MOV EDX,dword ptr [ESI]
LEA ESI,[EBX + 0x938]
MOV dword ptr [ESP + 0x2c],ESI
MOV ESI,dword ptr [ESI]
ADD ESP,0x10
CMP EDX,ESI
JGE 0x0001ac85
SUB ESI,EDX
MOV EDI,dword ptr [EDI]
MOV EBP,dword ptr [ESP + 0x10]
XOR ECX,ECX
SHL ESI,0x2
LEA ESI,[ESI]
MOV EDX,dword ptr [EBP + ECX*0x1]
MOV dword ptr [EDI + ECX*0x1],EAX
TEST EDX,EDX
JZ 0x0001acb0
MOV dword ptr [ESP + 0xc],ECX
LEA ESI,[ESI]
NOP
MOV ECX,dword ptr [EDX + 0x4]
MOV EDX,dword ptr [EDX]
ADD EAX,0x4
MOV dword ptr [EAX + -0x4],ECX
TEST EDX,EDX
JNZ 0x0001ac60
MOV ECX,dword ptr [ESP + 0xc]
MOV EDX,EAX
ADD ECX,0x4
ADD EAX,0x4
MOV dword ptr [EDX],0x0
CMP ECX,ESI
JNZ 0x0001ac48
LEA EAX,[EBX + 0x900]
TEST byte ptr [EAX],0x8
JNZ 0x0001acb4
SUB ESP,0xc
PUSH dword ptr [ESP + 0x1c]
CALL 0x00013630
POP EAX
PUSH dword ptr [ESP + 0x38]
CALL 0x00013630
ADD ESP,0x4c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EDX,EAX
JMP 0x0001ac75
MOV EDI,dword ptr [EBX + 0xffffffa8]
LEA EAX,[EBX + 0xfffd75be]
PUSH dword ptr [EDI]
PUSH 0x8
PUSH 0x1
PUSH EAX
CALL 0x00013450
MOV EAX,dword ptr [ESP + 0x28]
MOV EAX,dword ptr [EAX]
MOV dword ptr [ESP + 0x24],EAX
ADD ESP,0x10
MOV ESI,dword ptr [ESP + 0x1c]
CMP dword ptr [ESI],EAX
JLE 0x0001ad8b
LEA EAX,[EBX + 0x93c]
LEA EBP,[EBX + 0xfffd9de2]
MOV dword ptr [ESP + 0x28],EAX
LEA EAX,[EBX + 0xfffd75c7]
MOV dword ptr [ESP + 0x24],EAX
LEA EAX,[EBX + 0xfffd75d5]
MOV dword ptr [ESP + 0xc],EAX
LEA ESI,[ESI]
SUB ESP,0x4
MOV EAX,dword ptr [ESP + 0x2c]
MOV ESI,dword ptr [ESP + 0x18]
MOV EAX,dword ptr [EAX]
MOV EAX,dword ptr [EAX + ESI*0x4]
PUSH dword ptr [EAX]
PUSH dword ptr [ESP + 0x2c]
PUSH dword ptr [EDI]
CALL 0x00067160
MOV EAX,dword ptr [ESP + 0x28]
SUB ESI,dword ptr [EAX]
MOV EAX,dword ptr [ESP + 0x30]
ADD ESP,0x10
MOV EAX,dword ptr [EAX]
MOV ESI,dword ptr [EAX + ESI*0x4]
MOV EAX,dword ptr [ESI]
TEST EAX,EAX
JZ 0x0001ad7a
LEA ESI,[ESI]
SUB ESP,0x4
PUSH dword ptr [EAX]
ADD ESI,0x4
PUSH dword ptr [ESP + 0x14]
PUSH dword ptr [EDI]
CALL 0x00067160
POP EDX
POP ECX
PUSH dword ptr [EDI]
PUSH dword ptr [ESI + -0x4]
CALL 0x0001d2b0
POP EAX
POP EDX
PUSH EBP
PUSH dword ptr [EDI]
CALL 0x00067160
MOV EAX,dword ptr [ESI]
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0001ad48
MOV ESI,dword ptr [ESP + 0x1c]
ADD dword ptr [ESP + 0x14],0x1
MOV EAX,dword ptr [ESP + 0x14]
CMP EAX,dword ptr [ESI]
JL 0x0001ad10
LEA EAX,[EBX + 0xfffd9de1]
PUSH dword ptr [EDI]
PUSH 0x2
PUSH 0x1
PUSH EAX
CALL 0x00013450
ADD ESP,0x10
JMP 0x0001ac90
CALL 0x00066e40
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0001aaf0(void)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  void *__ptr;\n  void *__ptr_00;\n  int iVar6;\n  undefined4 *puVar7;\n  int iVar8;\n  int iVar9;\n  bool bVar10;\n  int local_38;\n  \n  __ptr = (void *)FUN_00066d60(DAT_00096934,4);\n  if ((-1 < (int)(DAT_00096940 << 3)) && (DAT_00096940 >> 0x1d == 0)) {\n    __ptr_00 = (void *)FUN_00066c20(DAT_00096940 << 3);\n    iVar8 = DAT_00096944;\n    iVar6 = DAT_000961c4;\n    if (-1 < (int)(DAT_00096940 - 1)) {\n      iVar9 = (DAT_00096940 - 1) * 0x60 + DAT_00096944;\n      puVar7 = (undefined4 *)((int)__ptr_00 + DAT_00096940 * 8 + -8);\n      do {\n        iVar2 = *(int *)(*(int *)(iVar9 + 8) + 0x80);\n        puVar7[1] = iVar9;\n        puVar1 = (undefined4 *)((int)__ptr + (iVar2 - iVar6) * 4);\n        uVar3 = *puVar1;\n        *puVar1 = puVar7;\n        *puVar7 = uVar3;\n        bVar10 = iVar8 != iVar9;\n        iVar9 = iVar9 + -0x60;\n        puVar7 = puVar7 + -2;\n      } while (bVar10);\n    }\n    if ((-1 < (int)(DAT_00096934 << 2)) && (DAT_00096934 >> 0x1e == 0)) {\n      DAT_00099b28 = FUN_00066c20(DAT_00096934 << 2);\n      iVar6 = (DAT_00096940 + DAT_00096934) * 4;\n      if ((-1 < iVar6) && (DAT_00096940 + DAT_00096934 >> 0x1e == 0)) {\n        puVar7 = (undefined4 *)FUN_00066c20(iVar6);\n        iVar6 = DAT_00099b28;\n        if (DAT_000961c4 < DAT_00096938) {\n          iVar9 = DAT_00096938 - DAT_000961c4;\n          iVar8 = 0;\n          do {\n            puVar1 = *(undefined4 **)((int)__ptr + iVar8);\n            *(undefined4 **)(iVar6 + iVar8) = puVar7;\n            puVar4 = puVar7;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar7 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar4 = *puVar7;\n              puVar4 = puVar4 + 1;\n            }\n            iVar8 = iVar8 + 4;\n            puVar7 = puVar4 + 1;\n            *puVar4 = 0;\n          } while (iVar8 != iVar9 * 4);\n        }\n        puVar5 = PTR_stderr_00095fa8;\n        if (((byte)DAT_00096900 & 8) != 0) {\n          fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);\n          local_38 = DAT_000961c4;\n          if (DAT_000961c4 < DAT_00096938) {\n            do {\n              FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4));\n              puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);\n              puVar1 = (undefined4 *)*puVar7;\n              while (puVar1 != (undefined4 *)0x0) {\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < DAT_00096938);\n          }\n          fwrite_unlocked("\n\n",1,2,*(FILE **)puVar5);\n        }\n        free(__ptr);\n        free(__ptr_00);\n        return;\n      }\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00066e40();\n}\n\n" comment (function_definition "void FUN_0001aaf0(void)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  void *__ptr;\n  void *__ptr_00;\n  int iVar6;\n  undefined4 *puVar7;\n  int iVar8;\n  int iVar9;\n  bool bVar10;\n  int local_38;\n  \n  __ptr = (void *)FUN_00066d60(DAT_00096934,4);\n  if ((-1 < (int)(DAT_00096940 << 3)) && (DAT_00096940 >> 0x1d == 0)) {\n    __ptr_00 = (void *)FUN_00066c20(DAT_00096940 << 3);\n    iVar8 = DAT_00096944;\n    iVar6 = DAT_000961c4;\n    if (-1 < (int)(DAT_00096940 - 1)) {\n      iVar9 = (DAT_00096940 - 1) * 0x60 + DAT_00096944;\n      puVar7 = (undefined4 *)((int)__ptr_00 + DAT_00096940 * 8 + -8);\n      do {\n        iVar2 = *(int *)(*(int *)(iVar9 + 8) + 0x80);\n        puVar7[1] = iVar9;\n        puVar1 = (undefined4 *)((int)__ptr + (iVar2 - iVar6) * 4);\n        uVar3 = *puVar1;\n        *puVar1 = puVar7;\n        *puVar7 = uVar3;\n        bVar10 = iVar8 != iVar9;\n        iVar9 = iVar9 + -0x60;\n        puVar7 = puVar7 + -2;\n      } while (bVar10);\n    }\n    if ((-1 < (int)(DAT_00096934 << 2)) && (DAT_00096934 >> 0x1e == 0)) {\n      DAT_00099b28 = FUN_00066c20(DAT_00096934 << 2);\n      iVar6 = (DAT_00096940 + DAT_00096934) * 4;\n      if ((-1 < iVar6) && (DAT_00096940 + DAT_00096934 >> 0x1e == 0)) {\n        puVar7 = (undefined4 *)FUN_00066c20(iVar6);\n        iVar6 = DAT_00099b28;\n        if (DAT_000961c4 < DAT_00096938) {\n          iVar9 = DAT_00096938 - DAT_000961c4;\n          iVar8 = 0;\n          do {\n            puVar1 = *(undefined4 **)((int)__ptr + iVar8);\n            *(undefined4 **)(iVar6 + iVar8) = puVar7;\n            puVar4 = puVar7;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar7 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar4 = *puVar7;\n              puVar4 = puVar4 + 1;\n            }\n            iVar8 = iVar8 + 4;\n            puVar7 = puVar4 + 1;\n            *puVar4 = 0;\n          } while (iVar8 != iVar9 * 4);\n        }\n        puVar5 = PTR_stderr_00095fa8;\n        if (((byte)DAT_00096900 & 8) != 0) {\n          fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);\n          local_38 = DAT_000961c4;\n          if (DAT_000961c4 < DAT_00096938) {\n            do {\n              FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4));\n              puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);\n              puVar1 = (undefined4 *)*puVar7;\n              while (puVar1 != (undefined4 *)0x0) {\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < DAT_00096938);\n          }\n          fwrite_unlocked("\n\n",1,2,*(FILE **)puVar5);\n        }\n        free(__ptr);\n        free(__ptr_00);\n        return;\n      }\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00066e40();\n}" primitive_type (function_declarator "FUN_0001aaf0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  void *__ptr;\n  void *__ptr_00;\n  int iVar6;\n  undefined4 *puVar7;\n  int iVar8;\n  int iVar9;\n  bool bVar10;\n  int local_38;\n  \n  __ptr = (void *)FUN_00066d60(DAT_00096934,4);\n  if ((-1 < (int)(DAT_00096940 << 3)) && (DAT_00096940 >> 0x1d == 0)) {\n    __ptr_00 = (void *)FUN_00066c20(DAT_00096940 << 3);\n    iVar8 = DAT_00096944;\n    iVar6 = DAT_000961c4;\n    if (-1 < (int)(DAT_00096940 - 1)) {\n      iVar9 = (DAT_00096940 - 1) * 0x60 + DAT_00096944;\n      puVar7 = (undefined4 *)((int)__ptr_00 + DAT_00096940 * 8 + -8);\n      do {\n        iVar2 = *(int *)(*(int *)(iVar9 + 8) + 0x80);\n        puVar7[1] = iVar9;\n        puVar1 = (undefined4 *)((int)__ptr + (iVar2 - iVar6) * 4);\n        uVar3 = *puVar1;\n        *puVar1 = puVar7;\n        *puVar7 = uVar3;\n        bVar10 = iVar8 != iVar9;\n        iVar9 = iVar9 + -0x60;\n        puVar7 = puVar7 + -2;\n      } while (bVar10);\n    }\n    if ((-1 < (int)(DAT_00096934 << 2)) && (DAT_00096934 >> 0x1e == 0)) {\n      DAT_00099b28 = FUN_00066c20(DAT_00096934 << 2);\n      iVar6 = (DAT_00096940 + DAT_00096934) * 4;\n      if ((-1 < iVar6) && (DAT_00096940 + DAT_00096934 >> 0x1e == 0)) {\n        puVar7 = (undefined4 *)FUN_00066c20(iVar6);\n        iVar6 = DAT_00099b28;\n        if (DAT_000961c4 < DAT_00096938) {\n          iVar9 = DAT_00096938 - DAT_000961c4;\n          iVar8 = 0;\n          do {\n            puVar1 = *(undefined4 **)((int)__ptr + iVar8);\n            *(undefined4 **)(iVar6 + iVar8) = puVar7;\n            puVar4 = puVar7;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar7 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar4 = *puVar7;\n              puVar4 = puVar4 + 1;\n            }\n            iVar8 = iVar8 + 4;\n            puVar7 = puVar4 + 1;\n            *puVar4 = 0;\n          } while (iVar8 != iVar9 * 4);\n        }\n        puVar5 = PTR_stderr_00095fa8;\n        if (((byte)DAT_00096900 & 8) != 0) {\n          fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);\n          local_38 = DAT_000961c4;\n          if (DAT_000961c4 < DAT_00096938) {\n            do {\n              FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4));\n              puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);\n              puVar1 = (undefined4 *)*puVar7;\n              while (puVar1 != (undefined4 *)0x0) {\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < DAT_00096938);\n          }\n          fwrite_unlocked("\n\n",1,2,*(FILE **)puVar5);\n        }\n        free(__ptr);\n        free(__ptr_00);\n        return;\n      }\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00066e40();\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "void *__ptr_00;" primitive_type (pointer_declarator "*__ptr_00" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "bool bVar10;" primitive_type identifier ;) (declaration "int local_38;" primitive_type identifier ;) (expression_statement "__ptr = (void *)FUN_00066d60(DAT_00096934,4);" (assignment_expression "__ptr = (void *)FUN_00066d60(DAT_00096934,4)" identifier = (cast_expression "(void *)FUN_00066d60(DAT_00096934,4)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00066d60(DAT_00096934,4)" identifier (argument_list "(DAT_00096934,4)" ( identifier , number_literal ))))) ;) (if_statement "if ((-1 < (int)(DAT_00096940 << 3)) && (DAT_00096940 >> 0x1d == 0)) {\n    __ptr_00 = (void *)FUN_00066c20(DAT_00096940 << 3);\n    iVar8 = DAT_00096944;\n    iVar6 = DAT_000961c4;\n    if (-1 < (int)(DAT_00096940 - 1)) {\n      iVar9 = (DAT_00096940 - 1) * 0x60 + DAT_00096944;\n      puVar7 = (undefined4 *)((int)__ptr_00 + DAT_00096940 * 8 + -8);\n      do {\n        iVar2 = *(int *)(*(int *)(iVar9 + 8) + 0x80);\n        puVar7[1] = iVar9;\n        puVar1 = (undefined4 *)((int)__ptr + (iVar2 - iVar6) * 4);\n        uVar3 = *puVar1;\n        *puVar1 = puVar7;\n        *puVar7 = uVar3;\n        bVar10 = iVar8 != iVar9;\n        iVar9 = iVar9 + -0x60;\n        puVar7 = puVar7 + -2;\n      } while (bVar10);\n    }\n    if ((-1 < (int)(DAT_00096934 << 2)) && (DAT_00096934 >> 0x1e == 0)) {\n      DAT_00099b28 = FUN_00066c20(DAT_00096934 << 2);\n      iVar6 = (DAT_00096940 + DAT_00096934) * 4;\n      if ((-1 < iVar6) && (DAT_00096940 + DAT_00096934 >> 0x1e == 0)) {\n        puVar7 = (undefined4 *)FUN_00066c20(iVar6);\n        iVar6 = DAT_00099b28;\n        if (DAT_000961c4 < DAT_00096938) {\n          iVar9 = DAT_00096938 - DAT_000961c4;\n          iVar8 = 0;\n          do {\n            puVar1 = *(undefined4 **)((int)__ptr + iVar8);\n            *(undefined4 **)(iVar6 + iVar8) = puVar7;\n            puVar4 = puVar7;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar7 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar4 = *puVar7;\n              puVar4 = puVar4 + 1;\n            }\n            iVar8 = iVar8 + 4;\n            puVar7 = puVar4 + 1;\n            *puVar4 = 0;\n          } while (iVar8 != iVar9 * 4);\n        }\n        puVar5 = PTR_stderr_00095fa8;\n        if (((byte)DAT_00096900 & 8) != 0) {\n          fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);\n          local_38 = DAT_000961c4;\n          if (DAT_000961c4 < DAT_00096938) {\n            do {\n              FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4));\n              puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);\n              puVar1 = (undefined4 *)*puVar7;\n              while (puVar1 != (undefined4 *)0x0) {\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < DAT_00096938);\n          }\n          fwrite_unlocked("\n\n",1,2,*(FILE **)puVar5);\n        }\n        free(__ptr);\n        free(__ptr_00);\n        return;\n      }\n    }\n  }" if (parenthesized_expression "((-1 < (int)(DAT_00096940 << 3)) && (DAT_00096940 >> 0x1d == 0))" ( (binary_expression "(-1 < (int)(DAT_00096940 << 3)) && (DAT_00096940 >> 0x1d == 0)" (parenthesized_expression "(-1 < (int)(DAT_00096940 << 3))" ( (binary_expression "-1 < (int)(DAT_00096940 << 3)" number_literal < (cast_expression "(int)(DAT_00096940 << 3)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(DAT_00096940 << 3)" ( (binary_expression "DAT_00096940 << 3" identifier << number_literal) )))) )) && (parenthesized_expression "(DAT_00096940 >> 0x1d == 0)" ( (binary_expression "DAT_00096940 >> 0x1d == 0" (binary_expression "DAT_00096940 >> 0x1d" identifier >> number_literal) == number_literal) ))) )) (compound_statement "{\n    __ptr_00 = (void *)FUN_00066c20(DAT_00096940 << 3);\n    iVar8 = DAT_00096944;\n    iVar6 = DAT_000961c4;\n    if (-1 < (int)(DAT_00096940 - 1)) {\n      iVar9 = (DAT_00096940 - 1) * 0x60 + DAT_00096944;\n      puVar7 = (undefined4 *)((int)__ptr_00 + DAT_00096940 * 8 + -8);\n      do {\n        iVar2 = *(int *)(*(int *)(iVar9 + 8) + 0x80);\n        puVar7[1] = iVar9;\n        puVar1 = (undefined4 *)((int)__ptr + (iVar2 - iVar6) * 4);\n        uVar3 = *puVar1;\n        *puVar1 = puVar7;\n        *puVar7 = uVar3;\n        bVar10 = iVar8 != iVar9;\n        iVar9 = iVar9 + -0x60;\n        puVar7 = puVar7 + -2;\n      } while (bVar10);\n    }\n    if ((-1 < (int)(DAT_00096934 << 2)) && (DAT_00096934 >> 0x1e == 0)) {\n      DAT_00099b28 = FUN_00066c20(DAT_00096934 << 2);\n      iVar6 = (DAT_00096940 + DAT_00096934) * 4;\n      if ((-1 < iVar6) && (DAT_00096940 + DAT_00096934 >> 0x1e == 0)) {\n        puVar7 = (undefined4 *)FUN_00066c20(iVar6);\n        iVar6 = DAT_00099b28;\n        if (DAT_000961c4 < DAT_00096938) {\n          iVar9 = DAT_00096938 - DAT_000961c4;\n          iVar8 = 0;\n          do {\n            puVar1 = *(undefined4 **)((int)__ptr + iVar8);\n            *(undefined4 **)(iVar6 + iVar8) = puVar7;\n            puVar4 = puVar7;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar7 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar4 = *puVar7;\n              puVar4 = puVar4 + 1;\n            }\n            iVar8 = iVar8 + 4;\n            puVar7 = puVar4 + 1;\n            *puVar4 = 0;\n          } while (iVar8 != iVar9 * 4);\n        }\n        puVar5 = PTR_stderr_00095fa8;\n        if (((byte)DAT_00096900 & 8) != 0) {\n          fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);\n          local_38 = DAT_000961c4;\n          if (DAT_000961c4 < DAT_00096938) {\n            do {\n              FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4));\n              puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);\n              puVar1 = (undefined4 *)*puVar7;\n              while (puVar1 != (undefined4 *)0x0) {\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < DAT_00096938);\n          }\n          fwrite_unlocked("\n\n",1,2,*(FILE **)puVar5);\n        }\n        free(__ptr);\n        free(__ptr_00);\n        return;\n      }\n    }\n  }" { (expression_statement "__ptr_00 = (void *)FUN_00066c20(DAT_00096940 << 3);" (assignment_expression "__ptr_00 = (void *)FUN_00066c20(DAT_00096940 << 3)" identifier = (cast_expression "(void *)FUN_00066c20(DAT_00096940 << 3)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00066c20(DAT_00096940 << 3)" identifier (argument_list "(DAT_00096940 << 3)" ( (binary_expression "DAT_00096940 << 3" identifier << number_literal) ))))) ;) (expression_statement "iVar8 = DAT_00096944;" (assignment_expression "iVar8 = DAT_00096944" identifier = identifier) ;) (expression_statement "iVar6 = DAT_000961c4;" (assignment_expression "iVar6 = DAT_000961c4" identifier = identifier) ;) (if_statement "if (-1 < (int)(DAT_00096940 - 1)) {\n      iVar9 = (DAT_00096940 - 1) * 0x60 + DAT_00096944;\n      puVar7 = (undefined4 *)((int)__ptr_00 + DAT_00096940 * 8 + -8);\n      do {\n        iVar2 = *(int *)(*(int *)(iVar9 + 8) + 0x80);\n        puVar7[1] = iVar9;\n        puVar1 = (undefined4 *)((int)__ptr + (iVar2 - iVar6) * 4);\n        uVar3 = *puVar1;\n        *puVar1 = puVar7;\n        *puVar7 = uVar3;\n        bVar10 = iVar8 != iVar9;\n        iVar9 = iVar9 + -0x60;\n        puVar7 = puVar7 + -2;\n      } while (bVar10);\n    }" if (parenthesized_expression "(-1 < (int)(DAT_00096940 - 1))" ( (binary_expression "-1 < (int)(DAT_00096940 - 1)" number_literal < (cast_expression "(int)(DAT_00096940 - 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(DAT_00096940 - 1)" ( (binary_expression "DAT_00096940 - 1" identifier - number_literal) )))) )) (compound_statement "{\n      iVar9 = (DAT_00096940 - 1) * 0x60 + DAT_00096944;\n      puVar7 = (undefined4 *)((int)__ptr_00 + DAT_00096940 * 8 + -8);\n      do {\n        iVar2 = *(int *)(*(int *)(iVar9 + 8) + 0x80);\n        puVar7[1] = iVar9;\n        puVar1 = (undefined4 *)((int)__ptr + (iVar2 - iVar6) * 4);\n        uVar3 = *puVar1;\n        *puVar1 = puVar7;\n        *puVar7 = uVar3;\n        bVar10 = iVar8 != iVar9;\n        iVar9 = iVar9 + -0x60;\n        puVar7 = puVar7 + -2;\n      } while (bVar10);\n    }" { (expression_statement "iVar9 = (DAT_00096940 - 1) * 0x60 + DAT_00096944;" (assignment_expression "iVar9 = (DAT_00096940 - 1) * 0x60 + DAT_00096944" identifier = (binary_expression "(DAT_00096940 - 1) * 0x60 + DAT_00096944" (binary_expression "(DAT_00096940 - 1) * 0x60" (parenthesized_expression "(DAT_00096940 - 1)" ( (binary_expression "DAT_00096940 - 1" identifier - number_literal) )) * number_literal) + identifier)) ;) (expression_statement "puVar7 = (undefined4 *)((int)__ptr_00 + DAT_00096940 * 8 + -8);" (assignment_expression "puVar7 = (undefined4 *)((int)__ptr_00 + DAT_00096940 * 8 + -8)" identifier = (cast_expression "(undefined4 *)((int)__ptr_00 + DAT_00096940 * 8 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__ptr_00 + DAT_00096940 * 8 + -8)" ( (binary_expression "(int)__ptr_00 + DAT_00096940 * 8 + -8" (binary_expression "(int)__ptr_00 + DAT_00096940 * 8" (cast_expression "(int)__ptr_00" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "DAT_00096940 * 8" identifier * number_literal)) + number_literal) )))) ;) (do_statement "do {\n        iVar2 = *(int *)(*(int *)(iVar9 + 8) + 0x80);\n        puVar7[1] = iVar9;\n        puVar1 = (undefined4 *)((int)__ptr + (iVar2 - iVar6) * 4);\n        uVar3 = *puVar1;\n        *puVar1 = puVar7;\n        *puVar7 = uVar3;\n        bVar10 = iVar8 != iVar9;\n        iVar9 = iVar9 + -0x60;\n        puVar7 = puVar7 + -2;\n      } while (bVar10);" do (compound_statement "{\n        iVar2 = *(int *)(*(int *)(iVar9 + 8) + 0x80);\n        puVar7[1] = iVar9;\n        puVar1 = (undefined4 *)((int)__ptr + (iVar2 - iVar6) * 4);\n        uVar3 = *puVar1;\n        *puVar1 = puVar7;\n        *puVar7 = uVar3;\n        bVar10 = iVar8 != iVar9;\n        iVar9 = iVar9 + -0x60;\n        puVar7 = puVar7 + -2;\n      }" { (expression_statement "iVar2 = *(int *)(*(int *)(iVar9 + 8) + 0x80);" (assignment_expression "iVar2 = *(int *)(*(int *)(iVar9 + 8) + 0x80)" identifier = (pointer_expression "*(int *)(*(int *)(iVar9 + 8) + 0x80)" * (cast_expression "(int *)(*(int *)(iVar9 + 8) + 0x80)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar9 + 8) + 0x80)" ( (binary_expression "*(int *)(iVar9 + 8) + 0x80" (pointer_expression "*(int *)(iVar9 + 8)" * (cast_expression "(int *)(iVar9 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 8)" ( (binary_expression "iVar9 + 8" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "puVar7[1] = iVar9;" (assignment_expression "puVar7[1] = iVar9" (subscript_expression "puVar7[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1 = (undefined4 *)((int)__ptr + (iVar2 - iVar6) * 4);" (assignment_expression "puVar1 = (undefined4 *)((int)__ptr + (iVar2 - iVar6) * 4)" identifier = (cast_expression "(undefined4 *)((int)__ptr + (iVar2 - iVar6) * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__ptr + (iVar2 - iVar6) * 4)" ( (binary_expression "(int)__ptr + (iVar2 - iVar6) * 4" (cast_expression "(int)__ptr" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(iVar2 - iVar6) * 4" (parenthesized_expression "(iVar2 - iVar6)" ( (binary_expression "iVar2 - iVar6" identifier - identifier) )) * number_literal)) )))) ;) (expression_statement "uVar3 = *puVar1;" (assignment_expression "uVar3 = *puVar1" identifier = (pointer_expression "*puVar1" * identifier)) ;) (expression_statement "*puVar1 = puVar7;" (assignment_expression "*puVar1 = puVar7" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "*puVar7 = uVar3;" (assignment_expression "*puVar7 = uVar3" (pointer_expression "*puVar7" * identifier) = identifier) ;) (expression_statement "bVar10 = iVar8 != iVar9;" (assignment_expression "bVar10 = iVar8 != iVar9" identifier = (binary_expression "iVar8 != iVar9" identifier != identifier)) ;) (expression_statement "iVar9 = iVar9 + -0x60;" (assignment_expression "iVar9 = iVar9 + -0x60" identifier = (binary_expression "iVar9 + -0x60" identifier + number_literal)) ;) (expression_statement "puVar7 = puVar7 + -2;" (assignment_expression "puVar7 = puVar7 + -2" identifier = (binary_expression "puVar7 + -2" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar10)" ( identifier )) ;) })) (if_statement "if ((-1 < (int)(DAT_00096934 << 2)) && (DAT_00096934 >> 0x1e == 0)) {\n      DAT_00099b28 = FUN_00066c20(DAT_00096934 << 2);\n      iVar6 = (DAT_00096940 + DAT_00096934) * 4;\n      if ((-1 < iVar6) && (DAT_00096940 + DAT_00096934 >> 0x1e == 0)) {\n        puVar7 = (undefined4 *)FUN_00066c20(iVar6);\n        iVar6 = DAT_00099b28;\n        if (DAT_000961c4 < DAT_00096938) {\n          iVar9 = DAT_00096938 - DAT_000961c4;\n          iVar8 = 0;\n          do {\n            puVar1 = *(undefined4 **)((int)__ptr + iVar8);\n            *(undefined4 **)(iVar6 + iVar8) = puVar7;\n            puVar4 = puVar7;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar7 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar4 = *puVar7;\n              puVar4 = puVar4 + 1;\n            }\n            iVar8 = iVar8 + 4;\n            puVar7 = puVar4 + 1;\n            *puVar4 = 0;\n          } while (iVar8 != iVar9 * 4);\n        }\n        puVar5 = PTR_stderr_00095fa8;\n        if (((byte)DAT_00096900 & 8) != 0) {\n          fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);\n          local_38 = DAT_000961c4;\n          if (DAT_000961c4 < DAT_00096938) {\n            do {\n              FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4));\n              puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);\n              puVar1 = (undefined4 *)*puVar7;\n              while (puVar1 != (undefined4 *)0x0) {\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < DAT_00096938);\n          }\n          fwrite_unlocked("\n\n",1,2,*(FILE **)puVar5);\n        }\n        free(__ptr);\n        free(__ptr_00);\n        return;\n      }\n    }" if (parenthesized_expression "((-1 < (int)(DAT_00096934 << 2)) && (DAT_00096934 >> 0x1e == 0))" ( (binary_expression "(-1 < (int)(DAT_00096934 << 2)) && (DAT_00096934 >> 0x1e == 0)" (parenthesized_expression "(-1 < (int)(DAT_00096934 << 2))" ( (binary_expression "-1 < (int)(DAT_00096934 << 2)" number_literal < (cast_expression "(int)(DAT_00096934 << 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(DAT_00096934 << 2)" ( (binary_expression "DAT_00096934 << 2" identifier << number_literal) )))) )) && (parenthesized_expression "(DAT_00096934 >> 0x1e == 0)" ( (binary_expression "DAT_00096934 >> 0x1e == 0" (binary_expression "DAT_00096934 >> 0x1e" identifier >> number_literal) == number_literal) ))) )) (compound_statement "{\n      DAT_00099b28 = FUN_00066c20(DAT_00096934 << 2);\n      iVar6 = (DAT_00096940 + DAT_00096934) * 4;\n      if ((-1 < iVar6) && (DAT_00096940 + DAT_00096934 >> 0x1e == 0)) {\n        puVar7 = (undefined4 *)FUN_00066c20(iVar6);\n        iVar6 = DAT_00099b28;\n        if (DAT_000961c4 < DAT_00096938) {\n          iVar9 = DAT_00096938 - DAT_000961c4;\n          iVar8 = 0;\n          do {\n            puVar1 = *(undefined4 **)((int)__ptr + iVar8);\n            *(undefined4 **)(iVar6 + iVar8) = puVar7;\n            puVar4 = puVar7;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar7 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar4 = *puVar7;\n              puVar4 = puVar4 + 1;\n            }\n            iVar8 = iVar8 + 4;\n            puVar7 = puVar4 + 1;\n            *puVar4 = 0;\n          } while (iVar8 != iVar9 * 4);\n        }\n        puVar5 = PTR_stderr_00095fa8;\n        if (((byte)DAT_00096900 & 8) != 0) {\n          fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);\n          local_38 = DAT_000961c4;\n          if (DAT_000961c4 < DAT_00096938) {\n            do {\n              FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4));\n              puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);\n              puVar1 = (undefined4 *)*puVar7;\n              while (puVar1 != (undefined4 *)0x0) {\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < DAT_00096938);\n          }\n          fwrite_unlocked("\n\n",1,2,*(FILE **)puVar5);\n        }\n        free(__ptr);\n        free(__ptr_00);\n        return;\n      }\n    }" { (expression_statement "DAT_00099b28 = FUN_00066c20(DAT_00096934 << 2);" (assignment_expression "DAT_00099b28 = FUN_00066c20(DAT_00096934 << 2)" identifier = (call_expression "FUN_00066c20(DAT_00096934 << 2)" identifier (argument_list "(DAT_00096934 << 2)" ( (binary_expression "DAT_00096934 << 2" identifier << number_literal) )))) ;) (expression_statement "iVar6 = (DAT_00096940 + DAT_00096934) * 4;" (assignment_expression "iVar6 = (DAT_00096940 + DAT_00096934) * 4" identifier = (binary_expression "(DAT_00096940 + DAT_00096934) * 4" (parenthesized_expression "(DAT_00096940 + DAT_00096934)" ( (binary_expression "DAT_00096940 + DAT_00096934" identifier + identifier) )) * number_literal)) ;) (if_statement "if ((-1 < iVar6) && (DAT_00096940 + DAT_00096934 >> 0x1e == 0)) {\n        puVar7 = (undefined4 *)FUN_00066c20(iVar6);\n        iVar6 = DAT_00099b28;\n        if (DAT_000961c4 < DAT_00096938) {\n          iVar9 = DAT_00096938 - DAT_000961c4;\n          iVar8 = 0;\n          do {\n            puVar1 = *(undefined4 **)((int)__ptr + iVar8);\n            *(undefined4 **)(iVar6 + iVar8) = puVar7;\n            puVar4 = puVar7;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar7 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar4 = *puVar7;\n              puVar4 = puVar4 + 1;\n            }\n            iVar8 = iVar8 + 4;\n            puVar7 = puVar4 + 1;\n            *puVar4 = 0;\n          } while (iVar8 != iVar9 * 4);\n        }\n        puVar5 = PTR_stderr_00095fa8;\n        if (((byte)DAT_00096900 & 8) != 0) {\n          fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);\n          local_38 = DAT_000961c4;\n          if (DAT_000961c4 < DAT_00096938) {\n            do {\n              FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4));\n              puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);\n              puVar1 = (undefined4 *)*puVar7;\n              while (puVar1 != (undefined4 *)0x0) {\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < DAT_00096938);\n          }\n          fwrite_unlocked("\n\n",1,2,*(FILE **)puVar5);\n        }\n        free(__ptr);\n        free(__ptr_00);\n        return;\n      }" if (parenthesized_expression "((-1 < iVar6) && (DAT_00096940 + DAT_00096934 >> 0x1e == 0))" ( (binary_expression "(-1 < iVar6) && (DAT_00096940 + DAT_00096934 >> 0x1e == 0)" (parenthesized_expression "(-1 < iVar6)" ( (binary_expression "-1 < iVar6" number_literal < identifier) )) && (parenthesized_expression "(DAT_00096940 + DAT_00096934 >> 0x1e == 0)" ( (binary_expression "DAT_00096940 + DAT_00096934 >> 0x1e == 0" (binary_expression "DAT_00096940 + DAT_00096934 >> 0x1e" (binary_expression "DAT_00096940 + DAT_00096934" identifier + identifier) >> number_literal) == number_literal) ))) )) (compound_statement "{\n        puVar7 = (undefined4 *)FUN_00066c20(iVar6);\n        iVar6 = DAT_00099b28;\n        if (DAT_000961c4 < DAT_00096938) {\n          iVar9 = DAT_00096938 - DAT_000961c4;\n          iVar8 = 0;\n          do {\n            puVar1 = *(undefined4 **)((int)__ptr + iVar8);\n            *(undefined4 **)(iVar6 + iVar8) = puVar7;\n            puVar4 = puVar7;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar7 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar4 = *puVar7;\n              puVar4 = puVar4 + 1;\n            }\n            iVar8 = iVar8 + 4;\n            puVar7 = puVar4 + 1;\n            *puVar4 = 0;\n          } while (iVar8 != iVar9 * 4);\n        }\n        puVar5 = PTR_stderr_00095fa8;\n        if (((byte)DAT_00096900 & 8) != 0) {\n          fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);\n          local_38 = DAT_000961c4;\n          if (DAT_000961c4 < DAT_00096938) {\n            do {\n              FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4));\n              puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);\n              puVar1 = (undefined4 *)*puVar7;\n              while (puVar1 != (undefined4 *)0x0) {\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < DAT_00096938);\n          }\n          fwrite_unlocked("\n\n",1,2,*(FILE **)puVar5);\n        }\n        free(__ptr);\n        free(__ptr_00);\n        return;\n      }" { (expression_statement "puVar7 = (undefined4 *)FUN_00066c20(iVar6);" (assignment_expression "puVar7 = (undefined4 *)FUN_00066c20(iVar6)" identifier = (cast_expression "(undefined4 *)FUN_00066c20(iVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00066c20(iVar6)" identifier (argument_list "(iVar6)" ( identifier ))))) ;) (expression_statement "iVar6 = DAT_00099b28;" (assignment_expression "iVar6 = DAT_00099b28" identifier = identifier) ;) (if_statement "if (DAT_000961c4 < DAT_00096938) {\n          iVar9 = DAT_00096938 - DAT_000961c4;\n          iVar8 = 0;\n          do {\n            puVar1 = *(undefined4 **)((int)__ptr + iVar8);\n            *(undefined4 **)(iVar6 + iVar8) = puVar7;\n            puVar4 = puVar7;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar7 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar4 = *puVar7;\n              puVar4 = puVar4 + 1;\n            }\n            iVar8 = iVar8 + 4;\n            puVar7 = puVar4 + 1;\n            *puVar4 = 0;\n          } while (iVar8 != iVar9 * 4);\n        }" if (parenthesized_expression "(DAT_000961c4 < DAT_00096938)" ( (binary_expression "DAT_000961c4 < DAT_00096938" identifier < identifier) )) (compound_statement "{\n          iVar9 = DAT_00096938 - DAT_000961c4;\n          iVar8 = 0;\n          do {\n            puVar1 = *(undefined4 **)((int)__ptr + iVar8);\n            *(undefined4 **)(iVar6 + iVar8) = puVar7;\n            puVar4 = puVar7;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar7 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar4 = *puVar7;\n              puVar4 = puVar4 + 1;\n            }\n            iVar8 = iVar8 + 4;\n            puVar7 = puVar4 + 1;\n            *puVar4 = 0;\n          } while (iVar8 != iVar9 * 4);\n        }" { (expression_statement "iVar9 = DAT_00096938 - DAT_000961c4;" (assignment_expression "iVar9 = DAT_00096938 - DAT_000961c4" identifier = (binary_expression "DAT_00096938 - DAT_000961c4" identifier - identifier)) ;) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (do_statement "do {\n            puVar1 = *(undefined4 **)((int)__ptr + iVar8);\n            *(undefined4 **)(iVar6 + iVar8) = puVar7;\n            puVar4 = puVar7;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar7 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar4 = *puVar7;\n              puVar4 = puVar4 + 1;\n            }\n            iVar8 = iVar8 + 4;\n            puVar7 = puVar4 + 1;\n            *puVar4 = 0;\n          } while (iVar8 != iVar9 * 4);" do (compound_statement "{\n            puVar1 = *(undefined4 **)((int)__ptr + iVar8);\n            *(undefined4 **)(iVar6 + iVar8) = puVar7;\n            puVar4 = puVar7;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar7 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar4 = *puVar7;\n              puVar4 = puVar4 + 1;\n            }\n            iVar8 = iVar8 + 4;\n            puVar7 = puVar4 + 1;\n            *puVar4 = 0;\n          }" { (expression_statement "puVar1 = *(undefined4 **)((int)__ptr + iVar8);" (assignment_expression "puVar1 = *(undefined4 **)((int)__ptr + iVar8)" identifier = (pointer_expression "*(undefined4 **)((int)__ptr + iVar8)" * (cast_expression "(undefined4 **)((int)__ptr + iVar8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)__ptr + iVar8)" ( (binary_expression "(int)__ptr + iVar8" (cast_expression "(int)__ptr" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) ))))) ;) (expression_statement "*(undefined4 **)(iVar6 + iVar8) = puVar7;" (assignment_expression "*(undefined4 **)(iVar6 + iVar8) = puVar7" (pointer_expression "*(undefined4 **)(iVar6 + iVar8)" * (cast_expression "(undefined4 **)(iVar6 + iVar8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + iVar8)" ( (binary_expression "iVar6 + iVar8" identifier + identifier) )))) = identifier) ;) (expression_statement "puVar4 = puVar7;" (assignment_expression "puVar4 = puVar7" identifier = identifier) ;) (while_statement "while (puVar1 != (undefined4 *)0x0) {\n              puVar7 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar4 = *puVar7;\n              puVar4 = puVar4 + 1;\n            }" while (parenthesized_expression "(puVar1 != (undefined4 *)0x0)" ( (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              puVar7 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar4 = *puVar7;\n              puVar4 = puVar4 + 1;\n            }" { (expression_statement "puVar7 = puVar1 + 1;" (assignment_expression "puVar7 = puVar1 + 1" identifier = (binary_expression "puVar1 + 1" identifier + number_literal)) ;) (expression_statement "puVar1 = (undefined4 *)*puVar1;" (assignment_expression "puVar1 = (undefined4 *)*puVar1" identifier = (cast_expression "(undefined4 *)*puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ;) (expression_statement "*puVar4 = *puVar7;" (assignment_expression "*puVar4 = *puVar7" (pointer_expression "*puVar4" * identifier) = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) })) (expression_statement "iVar8 = iVar8 + 4;" (assignment_expression "iVar8 = iVar8 + 4" identifier = (binary_expression "iVar8 + 4" identifier + number_literal)) ;) (expression_statement "puVar7 = puVar4 + 1;" (assignment_expression "puVar7 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) (expression_statement "*puVar4 = 0;" (assignment_expression "*puVar4 = 0" (pointer_expression "*puVar4" * identifier) = number_literal) ;) }) while (parenthesized_expression "(iVar8 != iVar9 * 4)" ( (binary_expression "iVar8 != iVar9 * 4" identifier != (binary_expression "iVar9 * 4" identifier * number_literal)) )) ;) })) (expression_statement "puVar5 = PTR_stderr_00095fa8;" (assignment_expression "puVar5 = PTR_stderr_00095fa8" identifier = identifier) ;) (if_statement "if (((byte)DAT_00096900 & 8) != 0) {\n          fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);\n          local_38 = DAT_000961c4;\n          if (DAT_000961c4 < DAT_00096938) {\n            do {\n              FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4));\n              puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);\n              puVar1 = (undefined4 *)*puVar7;\n              while (puVar1 != (undefined4 *)0x0) {\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < DAT_00096938);\n          }\n          fwrite_unlocked("\n\n",1,2,*(FILE **)puVar5);\n        }" if (parenthesized_expression "(((byte)DAT_00096900 & 8) != 0)" ( (binary_expression "((byte)DAT_00096900 & 8) != 0" (parenthesized_expression "((byte)DAT_00096900 & 8)" ( (binary_expression "(byte)DAT_00096900 & 8" (cast_expression "(byte)DAT_00096900" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n          fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);\n          local_38 = DAT_000961c4;\n          if (DAT_000961c4 < DAT_00096938) {\n            do {\n              FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4));\n              puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);\n              puVar1 = (undefined4 *)*puVar7;\n              while (puVar1 != (undefined4 *)0x0) {\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < DAT_00096938);\n          }\n          fwrite_unlocked("\n\n",1,2,*(FILE **)puVar5);\n        }" { (expression_statement "fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);" (call_expression "fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8)" identifier (argument_list "("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8)" ( (string_literal ""DERIVES\n"" " string_content escape_sequence ") , number_literal , number_literal , (pointer_expression "*(FILE **)PTR_stderr_00095fa8" * (cast_expression "(FILE **)PTR_stderr_00095fa8" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "local_38 = DAT_000961c4;" (assignment_expression "local_38 = DAT_000961c4" identifier = identifier) ;) (if_statement "if (DAT_000961c4 < DAT_00096938) {\n            do {\n              FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4));\n              puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);\n              puVar1 = (undefined4 *)*puVar7;\n              while (puVar1 != (undefined4 *)0x0) {\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < DAT_00096938);\n          }" if (parenthesized_expression "(DAT_000961c4 < DAT_00096938)" ( (binary_expression "DAT_000961c4 < DAT_00096938" identifier < identifier) )) (compound_statement "{\n            do {\n              FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4));\n              puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);\n              puVar1 = (undefined4 *)*puVar7;\n              while (puVar1 != (undefined4 *)0x0) {\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < DAT_00096938);\n          }" { (do_statement "do {\n              FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4));\n              puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);\n              puVar1 = (undefined4 *)*puVar7;\n              while (puVar1 != (undefined4 *)0x0) {\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < DAT_00096938);" do (compound_statement "{\n              FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4));\n              puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);\n              puVar1 = (undefined4 *)*puVar7;\n              while (puVar1 != (undefined4 *)0x0) {\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }\n              local_38 = local_38 + 1;\n            }" { (expression_statement "FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4));" (call_expression "FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4))" identifier (argument_list "(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4))" ( (pointer_expression "*(undefined4 *)puVar5" * (cast_expression "(undefined4 *)puVar5" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (string_literal ""  %s derives\n"" " string_content escape_sequence ") , (pointer_expression "**(undefined4 **)(DAT_0009693c + local_38 * 4)" * (pointer_expression "*(undefined4 **)(DAT_0009693c + local_38 * 4)" * (cast_expression "(undefined4 **)(DAT_0009693c + local_38 * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_0009693c + local_38 * 4)" ( (binary_expression "DAT_0009693c + local_38 * 4" identifier + (binary_expression "local_38 * 4" identifier * number_literal)) ))))) ))) ;) (expression_statement "puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);" (assignment_expression "puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4)" identifier = (pointer_expression "*(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4)" * (cast_expression "(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_00099b28 + (local_38 - DAT_000961c4) * 4)" ( (binary_expression "DAT_00099b28 + (local_38 - DAT_000961c4) * 4" identifier + (binary_expression "(local_38 - DAT_000961c4) * 4" (parenthesized_expression "(local_38 - DAT_000961c4)" ( (binary_expression "local_38 - DAT_000961c4" identifier - identifier) )) * number_literal)) ))))) ;) (expression_statement "puVar1 = (undefined4 *)*puVar7;" (assignment_expression "puVar1 = (undefined4 *)*puVar7" identifier = (cast_expression "(undefined4 *)*puVar7" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar7" * identifier))) ;) (while_statement "while (puVar1 != (undefined4 *)0x0) {\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }" while (parenthesized_expression "(puVar1 != (undefined4 *)0x0)" ( (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }" { (expression_statement "FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);" (call_expression "FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1)" identifier (argument_list "(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1)" ( (pointer_expression "*(undefined4 *)puVar5" * (cast_expression "(undefined4 *)puVar5" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (pointer_expression "&DAT_0006d5d5" & identifier) , (pointer_expression "*puVar1" * identifier) ))) ;) (expression_statement "FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);" (call_expression "FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5)" identifier (argument_list "(*puVar7,*(undefined4 *)puVar5)" ( (pointer_expression "*puVar7" * identifier) , (pointer_expression "*(undefined4 *)puVar5" * (cast_expression "(undefined4 *)puVar5" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "FUN_00067160(*(undefined4 *)puVar5,"\n");" (call_expression "FUN_00067160(*(undefined4 *)puVar5,"\n")" identifier (argument_list "(*(undefined4 *)puVar5,"\n")" ( (pointer_expression "*(undefined4 *)puVar5" * (cast_expression "(undefined4 *)puVar5" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (string_literal ""\n"" " escape_sequence ") ))) ;) (expression_statement "puVar1 = (undefined4 *)puVar7[1];" (assignment_expression "puVar1 = (undefined4 *)puVar7[1]" identifier = (cast_expression "(undefined4 *)puVar7[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar7[1]" identifier [ number_literal ]))) ;) (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) })) (expression_statement "local_38 = local_38 + 1;" (assignment_expression "local_38 = local_38 + 1" identifier = (binary_expression "local_38 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(local_38 < DAT_00096938)" ( (binary_expression "local_38 < DAT_00096938" identifier < identifier) )) ;) })) (expression_statement "fwrite_unlocked("\n\n",1,2,*(FILE **)puVar5);" (call_expression "fwrite_unlocked("\n\n",1,2,*(FILE **)puVar5)" identifier (argument_list "("\n\n",1,2,*(FILE **)puVar5)" ( (string_literal ""\n\n"" " escape_sequence escape_sequence ") , number_literal , number_literal , (pointer_expression "*(FILE **)puVar5" * (cast_expression "(FILE **)puVar5" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) })) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "free(__ptr_00);" (call_expression "free(__ptr_00)" identifier (argument_list "(__ptr_00)" ( identifier ))) ;) (return_statement "return;" return ;) })) })) })) comment (expression_statement "FUN_00066e40();" (call_expression "FUN_00066e40()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid derives_compute(void)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  rule *prVar3;\n  rule **pprVar4;\n  undefined4 *puVar5;\n  undefined *puVar6;\n  rule ***ppprVar7;\n  void *__ptr;\n  void *__ptr_00;\n  rule *prVar8;\n  size_t n;\n  undefined4 *puVar9;\n  int iVar10;\n  int iVar11;\n  bool bVar12;\n  int local_38;\n  \n  __ptr = xcalloc(nvars,4);\n  if ((-1 < nrules << 3) && ((uint)nrules >> 0x1d == 0)) {\n    __ptr_00 = xmalloc(nrules << 3);\n    prVar3 = rules;\n    iVar10 = ntokens;\n    if (-1 < nrules + -1) {\n      prVar8 = rules + nrules + -1;\n      puVar9 = (undefined4 *)((int)__ptr_00 + nrules * 8 + -8);\n      do {\n        iVar11 = prVar8->lhs->number;\n        puVar9[1] = prVar8;\n        puVar1 = (undefined4 *)((int)__ptr + (iVar11 - iVar10) * 4);\n        uVar2 = *puVar1;\n        *puVar1 = puVar9;\n        *puVar9 = uVar2;\n        bVar12 = prVar3 != prVar8;\n        prVar8 = prVar8 + -1;\n        puVar9 = puVar9 + -2;\n      } while (bVar12);\n    }\n    if ((-1 < nvars << 2) && ((uint)nvars >> 0x1e == 0)) {\n      derives = (rule ***)xmalloc(nvars << 2);\n      n = (nrules + nvars) * 4;\n      if ((-1 < (int)n) && ((uint)(nrules + nvars) >> 0x1e == 0)) {\n        puVar9 = (undefined4 *)xmalloc(n);\n        ppprVar7 = derives;\n        if (ntokens < nsyms) {\n          iVar11 = nsyms - ntokens;\n          iVar10 = 0;\n          do {\n            puVar1 = *(undefined4 **)((int)__ptr + iVar10);\n            *(undefined4 **)((int)ppprVar7 + iVar10) = puVar9;\n            puVar5 = puVar9;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar9 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar5 = *puVar9;\n              puVar5 = puVar5 + 1;\n            }\n            iVar10 = iVar10 + 4;\n            puVar9 = puVar5 + 1;\n            *puVar5 = 0;\n          } while (iVar10 != iVar11 * 4);\n        }\n        puVar6 = PTR_stderr_00095fa8;\n        if (((byte)trace_flag & 8) != 0) {\n          fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);\n          local_38 = ntokens;\n          if (ntokens < nsyms) {\n            do {\n              rpl_fprintf(*(FILE **)puVar6,"  %s derives\n",symbols[local_38]->tag);\n              prVar3 = *derives[local_38 - ntokens];\n              pprVar4 = derives[local_38 - ntokens];\n              while (prVar3 != (rule *)0x0) {\n                rpl_fprintf(*(FILE **)puVar6,"    %3d ",prVar3->user_number);\n                rule_rhs_print(*pprVar4,*(FILE **)puVar6);\n                rpl_fprintf(*(FILE **)puVar6,"\n");\n                prVar3 = pprVar4[1];\n                pprVar4 = pprVar4 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < nsyms);\n          }\n          fwrite_unlocked("\n\n",1,2,*(FILE **)puVar6);\n        }\n        free(__ptr);\n        free(__ptr_00);\n        return;\n      }\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  xalloc_die();\n}\n\n" comment comment comment (function_definition "void derives_compute(void)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  rule *prVar3;\n  rule **pprVar4;\n  undefined4 *puVar5;\n  undefined *puVar6;\n  rule ***ppprVar7;\n  void *__ptr;\n  void *__ptr_00;\n  rule *prVar8;\n  size_t n;\n  undefined4 *puVar9;\n  int iVar10;\n  int iVar11;\n  bool bVar12;\n  int local_38;\n  \n  __ptr = xcalloc(nvars,4);\n  if ((-1 < nrules << 3) && ((uint)nrules >> 0x1d == 0)) {\n    __ptr_00 = xmalloc(nrules << 3);\n    prVar3 = rules;\n    iVar10 = ntokens;\n    if (-1 < nrules + -1) {\n      prVar8 = rules + nrules + -1;\n      puVar9 = (undefined4 *)((int)__ptr_00 + nrules * 8 + -8);\n      do {\n        iVar11 = prVar8->lhs->number;\n        puVar9[1] = prVar8;\n        puVar1 = (undefined4 *)((int)__ptr + (iVar11 - iVar10) * 4);\n        uVar2 = *puVar1;\n        *puVar1 = puVar9;\n        *puVar9 = uVar2;\n        bVar12 = prVar3 != prVar8;\n        prVar8 = prVar8 + -1;\n        puVar9 = puVar9 + -2;\n      } while (bVar12);\n    }\n    if ((-1 < nvars << 2) && ((uint)nvars >> 0x1e == 0)) {\n      derives = (rule ***)xmalloc(nvars << 2);\n      n = (nrules + nvars) * 4;\n      if ((-1 < (int)n) && ((uint)(nrules + nvars) >> 0x1e == 0)) {\n        puVar9 = (undefined4 *)xmalloc(n);\n        ppprVar7 = derives;\n        if (ntokens < nsyms) {\n          iVar11 = nsyms - ntokens;\n          iVar10 = 0;\n          do {\n            puVar1 = *(undefined4 **)((int)__ptr + iVar10);\n            *(undefined4 **)((int)ppprVar7 + iVar10) = puVar9;\n            puVar5 = puVar9;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar9 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar5 = *puVar9;\n              puVar5 = puVar5 + 1;\n            }\n            iVar10 = iVar10 + 4;\n            puVar9 = puVar5 + 1;\n            *puVar5 = 0;\n          } while (iVar10 != iVar11 * 4);\n        }\n        puVar6 = PTR_stderr_00095fa8;\n        if (((byte)trace_flag & 8) != 0) {\n          fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);\n          local_38 = ntokens;\n          if (ntokens < nsyms) {\n            do {\n              rpl_fprintf(*(FILE **)puVar6,"  %s derives\n",symbols[local_38]->tag);\n              prVar3 = *derives[local_38 - ntokens];\n              pprVar4 = derives[local_38 - ntokens];\n              while (prVar3 != (rule *)0x0) {\n                rpl_fprintf(*(FILE **)puVar6,"    %3d ",prVar3->user_number);\n                rule_rhs_print(*pprVar4,*(FILE **)puVar6);\n                rpl_fprintf(*(FILE **)puVar6,"\n");\n                prVar3 = pprVar4[1];\n                pprVar4 = pprVar4 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < nsyms);\n          }\n          fwrite_unlocked("\n\n",1,2,*(FILE **)puVar6);\n        }\n        free(__ptr);\n        free(__ptr_00);\n        return;\n      }\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  xalloc_die();\n}" primitive_type (function_declarator "derives_compute(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  rule *prVar3;\n  rule **pprVar4;\n  undefined4 *puVar5;\n  undefined *puVar6;\n  rule ***ppprVar7;\n  void *__ptr;\n  void *__ptr_00;\n  rule *prVar8;\n  size_t n;\n  undefined4 *puVar9;\n  int iVar10;\n  int iVar11;\n  bool bVar12;\n  int local_38;\n  \n  __ptr = xcalloc(nvars,4);\n  if ((-1 < nrules << 3) && ((uint)nrules >> 0x1d == 0)) {\n    __ptr_00 = xmalloc(nrules << 3);\n    prVar3 = rules;\n    iVar10 = ntokens;\n    if (-1 < nrules + -1) {\n      prVar8 = rules + nrules + -1;\n      puVar9 = (undefined4 *)((int)__ptr_00 + nrules * 8 + -8);\n      do {\n        iVar11 = prVar8->lhs->number;\n        puVar9[1] = prVar8;\n        puVar1 = (undefined4 *)((int)__ptr + (iVar11 - iVar10) * 4);\n        uVar2 = *puVar1;\n        *puVar1 = puVar9;\n        *puVar9 = uVar2;\n        bVar12 = prVar3 != prVar8;\n        prVar8 = prVar8 + -1;\n        puVar9 = puVar9 + -2;\n      } while (bVar12);\n    }\n    if ((-1 < nvars << 2) && ((uint)nvars >> 0x1e == 0)) {\n      derives = (rule ***)xmalloc(nvars << 2);\n      n = (nrules + nvars) * 4;\n      if ((-1 < (int)n) && ((uint)(nrules + nvars) >> 0x1e == 0)) {\n        puVar9 = (undefined4 *)xmalloc(n);\n        ppprVar7 = derives;\n        if (ntokens < nsyms) {\n          iVar11 = nsyms - ntokens;\n          iVar10 = 0;\n          do {\n            puVar1 = *(undefined4 **)((int)__ptr + iVar10);\n            *(undefined4 **)((int)ppprVar7 + iVar10) = puVar9;\n            puVar5 = puVar9;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar9 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar5 = *puVar9;\n              puVar5 = puVar5 + 1;\n            }\n            iVar10 = iVar10 + 4;\n            puVar9 = puVar5 + 1;\n            *puVar5 = 0;\n          } while (iVar10 != iVar11 * 4);\n        }\n        puVar6 = PTR_stderr_00095fa8;\n        if (((byte)trace_flag & 8) != 0) {\n          fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);\n          local_38 = ntokens;\n          if (ntokens < nsyms) {\n            do {\n              rpl_fprintf(*(FILE **)puVar6,"  %s derives\n",symbols[local_38]->tag);\n              prVar3 = *derives[local_38 - ntokens];\n              pprVar4 = derives[local_38 - ntokens];\n              while (prVar3 != (rule *)0x0) {\n                rpl_fprintf(*(FILE **)puVar6,"    %3d ",prVar3->user_number);\n                rule_rhs_print(*pprVar4,*(FILE **)puVar6);\n                rpl_fprintf(*(FILE **)puVar6,"\n");\n                prVar3 = pprVar4[1];\n                pprVar4 = pprVar4 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < nsyms);\n          }\n          fwrite_unlocked("\n\n",1,2,*(FILE **)puVar6);\n        }\n        free(__ptr);\n        free(__ptr_00);\n        return;\n      }\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  xalloc_die();\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "rule *prVar3;" type_identifier (pointer_declarator "*prVar3" * identifier) ;) (declaration "rule **pprVar4;" type_identifier (pointer_declarator "**pprVar4" * (pointer_declarator "*pprVar4" * identifier)) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "rule ***ppprVar7;" type_identifier (pointer_declarator "***ppprVar7" * (pointer_declarator "**ppprVar7" * (pointer_declarator "*ppprVar7" * identifier))) ;) (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "void *__ptr_00;" primitive_type (pointer_declarator "*__ptr_00" * identifier) ;) (declaration "rule *prVar8;" type_identifier (pointer_declarator "*prVar8" * identifier) ;) (declaration "size_t n;" primitive_type identifier ;) (declaration "undefined4 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "bool bVar12;" primitive_type identifier ;) (declaration "int local_38;" primitive_type identifier ;) (expression_statement "__ptr = xcalloc(nvars,4);" (assignment_expression "__ptr = xcalloc(nvars,4)" identifier = (call_expression "xcalloc(nvars,4)" identifier (argument_list "(nvars,4)" ( identifier , number_literal )))) ;) (if_statement "if ((-1 < nrules << 3) && ((uint)nrules >> 0x1d == 0)) {\n    __ptr_00 = xmalloc(nrules << 3);\n    prVar3 = rules;\n    iVar10 = ntokens;\n    if (-1 < nrules + -1) {\n      prVar8 = rules + nrules + -1;\n      puVar9 = (undefined4 *)((int)__ptr_00 + nrules * 8 + -8);\n      do {\n        iVar11 = prVar8->lhs->number;\n        puVar9[1] = prVar8;\n        puVar1 = (undefined4 *)((int)__ptr + (iVar11 - iVar10) * 4);\n        uVar2 = *puVar1;\n        *puVar1 = puVar9;\n        *puVar9 = uVar2;\n        bVar12 = prVar3 != prVar8;\n        prVar8 = prVar8 + -1;\n        puVar9 = puVar9 + -2;\n      } while (bVar12);\n    }\n    if ((-1 < nvars << 2) && ((uint)nvars >> 0x1e == 0)) {\n      derives = (rule ***)xmalloc(nvars << 2);\n      n = (nrules + nvars) * 4;\n      if ((-1 < (int)n) && ((uint)(nrules + nvars) >> 0x1e == 0)) {\n        puVar9 = (undefined4 *)xmalloc(n);\n        ppprVar7 = derives;\n        if (ntokens < nsyms) {\n          iVar11 = nsyms - ntokens;\n          iVar10 = 0;\n          do {\n            puVar1 = *(undefined4 **)((int)__ptr + iVar10);\n            *(undefined4 **)((int)ppprVar7 + iVar10) = puVar9;\n            puVar5 = puVar9;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar9 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar5 = *puVar9;\n              puVar5 = puVar5 + 1;\n            }\n            iVar10 = iVar10 + 4;\n            puVar9 = puVar5 + 1;\n            *puVar5 = 0;\n          } while (iVar10 != iVar11 * 4);\n        }\n        puVar6 = PTR_stderr_00095fa8;\n        if (((byte)trace_flag & 8) != 0) {\n          fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);\n          local_38 = ntokens;\n          if (ntokens < nsyms) {\n            do {\n              rpl_fprintf(*(FILE **)puVar6,"  %s derives\n",symbols[local_38]->tag);\n              prVar3 = *derives[local_38 - ntokens];\n              pprVar4 = derives[local_38 - ntokens];\n              while (prVar3 != (rule *)0x0) {\n                rpl_fprintf(*(FILE **)puVar6,"    %3d ",prVar3->user_number);\n                rule_rhs_print(*pprVar4,*(FILE **)puVar6);\n                rpl_fprintf(*(FILE **)puVar6,"\n");\n                prVar3 = pprVar4[1];\n                pprVar4 = pprVar4 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < nsyms);\n          }\n          fwrite_unlocked("\n\n",1,2,*(FILE **)puVar6);\n        }\n        free(__ptr);\n        free(__ptr_00);\n        return;\n      }\n    }\n  }" if (parenthesized_expression "((-1 < nrules << 3) && ((uint)nrules >> 0x1d == 0))" ( (binary_expression "(-1 < nrules << 3) && ((uint)nrules >> 0x1d == 0)" (parenthesized_expression "(-1 < nrules << 3)" ( (binary_expression "-1 < nrules << 3" number_literal < (binary_expression "nrules << 3" identifier << number_literal)) )) && (parenthesized_expression "((uint)nrules >> 0x1d == 0)" ( (binary_expression "(uint)nrules >> 0x1d == 0" (binary_expression "(uint)nrules >> 0x1d" (cast_expression "(uint)nrules" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) == number_literal) ))) )) (compound_statement "{\n    __ptr_00 = xmalloc(nrules << 3);\n    prVar3 = rules;\n    iVar10 = ntokens;\n    if (-1 < nrules + -1) {\n      prVar8 = rules + nrules + -1;\n      puVar9 = (undefined4 *)((int)__ptr_00 + nrules * 8 + -8);\n      do {\n        iVar11 = prVar8->lhs->number;\n        puVar9[1] = prVar8;\n        puVar1 = (undefined4 *)((int)__ptr + (iVar11 - iVar10) * 4);\n        uVar2 = *puVar1;\n        *puVar1 = puVar9;\n        *puVar9 = uVar2;\n        bVar12 = prVar3 != prVar8;\n        prVar8 = prVar8 + -1;\n        puVar9 = puVar9 + -2;\n      } while (bVar12);\n    }\n    if ((-1 < nvars << 2) && ((uint)nvars >> 0x1e == 0)) {\n      derives = (rule ***)xmalloc(nvars << 2);\n      n = (nrules + nvars) * 4;\n      if ((-1 < (int)n) && ((uint)(nrules + nvars) >> 0x1e == 0)) {\n        puVar9 = (undefined4 *)xmalloc(n);\n        ppprVar7 = derives;\n        if (ntokens < nsyms) {\n          iVar11 = nsyms - ntokens;\n          iVar10 = 0;\n          do {\n            puVar1 = *(undefined4 **)((int)__ptr + iVar10);\n            *(undefined4 **)((int)ppprVar7 + iVar10) = puVar9;\n            puVar5 = puVar9;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar9 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar5 = *puVar9;\n              puVar5 = puVar5 + 1;\n            }\n            iVar10 = iVar10 + 4;\n            puVar9 = puVar5 + 1;\n            *puVar5 = 0;\n          } while (iVar10 != iVar11 * 4);\n        }\n        puVar6 = PTR_stderr_00095fa8;\n        if (((byte)trace_flag & 8) != 0) {\n          fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);\n          local_38 = ntokens;\n          if (ntokens < nsyms) {\n            do {\n              rpl_fprintf(*(FILE **)puVar6,"  %s derives\n",symbols[local_38]->tag);\n              prVar3 = *derives[local_38 - ntokens];\n              pprVar4 = derives[local_38 - ntokens];\n              while (prVar3 != (rule *)0x0) {\n                rpl_fprintf(*(FILE **)puVar6,"    %3d ",prVar3->user_number);\n                rule_rhs_print(*pprVar4,*(FILE **)puVar6);\n                rpl_fprintf(*(FILE **)puVar6,"\n");\n                prVar3 = pprVar4[1];\n                pprVar4 = pprVar4 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < nsyms);\n          }\n          fwrite_unlocked("\n\n",1,2,*(FILE **)puVar6);\n        }\n        free(__ptr);\n        free(__ptr_00);\n        return;\n      }\n    }\n  }" { (expression_statement "__ptr_00 = xmalloc(nrules << 3);" (assignment_expression "__ptr_00 = xmalloc(nrules << 3)" identifier = (call_expression "xmalloc(nrules << 3)" identifier (argument_list "(nrules << 3)" ( (binary_expression "nrules << 3" identifier << number_literal) )))) ;) (expression_statement "prVar3 = rules;" (assignment_expression "prVar3 = rules" identifier = identifier) ;) (expression_statement "iVar10 = ntokens;" (assignment_expression "iVar10 = ntokens" identifier = identifier) ;) (if_statement "if (-1 < nrules + -1) {\n      prVar8 = rules + nrules + -1;\n      puVar9 = (undefined4 *)((int)__ptr_00 + nrules * 8 + -8);\n      do {\n        iVar11 = prVar8->lhs->number;\n        puVar9[1] = prVar8;\n        puVar1 = (undefined4 *)((int)__ptr + (iVar11 - iVar10) * 4);\n        uVar2 = *puVar1;\n        *puVar1 = puVar9;\n        *puVar9 = uVar2;\n        bVar12 = prVar3 != prVar8;\n        prVar8 = prVar8 + -1;\n        puVar9 = puVar9 + -2;\n      } while (bVar12);\n    }" if (parenthesized_expression "(-1 < nrules + -1)" ( (binary_expression "-1 < nrules + -1" number_literal < (binary_expression "nrules + -1" identifier + number_literal)) )) (compound_statement "{\n      prVar8 = rules + nrules + -1;\n      puVar9 = (undefined4 *)((int)__ptr_00 + nrules * 8 + -8);\n      do {\n        iVar11 = prVar8->lhs->number;\n        puVar9[1] = prVar8;\n        puVar1 = (undefined4 *)((int)__ptr + (iVar11 - iVar10) * 4);\n        uVar2 = *puVar1;\n        *puVar1 = puVar9;\n        *puVar9 = uVar2;\n        bVar12 = prVar3 != prVar8;\n        prVar8 = prVar8 + -1;\n        puVar9 = puVar9 + -2;\n      } while (bVar12);\n    }" { (expression_statement "prVar8 = rules + nrules + -1;" (assignment_expression "prVar8 = rules + nrules + -1" identifier = (binary_expression "rules + nrules + -1" (binary_expression "rules + nrules" identifier + identifier) + number_literal)) ;) (expression_statement "puVar9 = (undefined4 *)((int)__ptr_00 + nrules * 8 + -8);" (assignment_expression "puVar9 = (undefined4 *)((int)__ptr_00 + nrules * 8 + -8)" identifier = (cast_expression "(undefined4 *)((int)__ptr_00 + nrules * 8 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__ptr_00 + nrules * 8 + -8)" ( (binary_expression "(int)__ptr_00 + nrules * 8 + -8" (binary_expression "(int)__ptr_00 + nrules * 8" (cast_expression "(int)__ptr_00" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "nrules * 8" identifier * number_literal)) + number_literal) )))) ;) (do_statement "do {\n        iVar11 = prVar8->lhs->number;\n        puVar9[1] = prVar8;\n        puVar1 = (undefined4 *)((int)__ptr + (iVar11 - iVar10) * 4);\n        uVar2 = *puVar1;\n        *puVar1 = puVar9;\n        *puVar9 = uVar2;\n        bVar12 = prVar3 != prVar8;\n        prVar8 = prVar8 + -1;\n        puVar9 = puVar9 + -2;\n      } while (bVar12);" do (compound_statement "{\n        iVar11 = prVar8->lhs->number;\n        puVar9[1] = prVar8;\n        puVar1 = (undefined4 *)((int)__ptr + (iVar11 - iVar10) * 4);\n        uVar2 = *puVar1;\n        *puVar1 = puVar9;\n        *puVar9 = uVar2;\n        bVar12 = prVar3 != prVar8;\n        prVar8 = prVar8 + -1;\n        puVar9 = puVar9 + -2;\n      }" { (expression_statement "iVar11 = prVar8->lhs->number;" (assignment_expression "iVar11 = prVar8->lhs->number" identifier = (field_expression "prVar8->lhs->number" (field_expression "prVar8->lhs" identifier -> field_identifier) -> field_identifier)) ;) (expression_statement "puVar9[1] = prVar8;" (assignment_expression "puVar9[1] = prVar8" (subscript_expression "puVar9[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1 = (undefined4 *)((int)__ptr + (iVar11 - iVar10) * 4);" (assignment_expression "puVar1 = (undefined4 *)((int)__ptr + (iVar11 - iVar10) * 4)" identifier = (cast_expression "(undefined4 *)((int)__ptr + (iVar11 - iVar10) * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__ptr + (iVar11 - iVar10) * 4)" ( (binary_expression "(int)__ptr + (iVar11 - iVar10) * 4" (cast_expression "(int)__ptr" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(iVar11 - iVar10) * 4" (parenthesized_expression "(iVar11 - iVar10)" ( (binary_expression "iVar11 - iVar10" identifier - identifier) )) * number_literal)) )))) ;) (expression_statement "uVar2 = *puVar1;" (assignment_expression "uVar2 = *puVar1" identifier = (pointer_expression "*puVar1" * identifier)) ;) (expression_statement "*puVar1 = puVar9;" (assignment_expression "*puVar1 = puVar9" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "*puVar9 = uVar2;" (assignment_expression "*puVar9 = uVar2" (pointer_expression "*puVar9" * identifier) = identifier) ;) (expression_statement "bVar12 = prVar3 != prVar8;" (assignment_expression "bVar12 = prVar3 != prVar8" identifier = (binary_expression "prVar3 != prVar8" identifier != identifier)) ;) (expression_statement "prVar8 = prVar8 + -1;" (assignment_expression "prVar8 = prVar8 + -1" identifier = (binary_expression "prVar8 + -1" identifier + number_literal)) ;) (expression_statement "puVar9 = puVar9 + -2;" (assignment_expression "puVar9 = puVar9 + -2" identifier = (binary_expression "puVar9 + -2" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar12)" ( identifier )) ;) })) (if_statement "if ((-1 < nvars << 2) && ((uint)nvars >> 0x1e == 0)) {\n      derives = (rule ***)xmalloc(nvars << 2);\n      n = (nrules + nvars) * 4;\n      if ((-1 < (int)n) && ((uint)(nrules + nvars) >> 0x1e == 0)) {\n        puVar9 = (undefined4 *)xmalloc(n);\n        ppprVar7 = derives;\n        if (ntokens < nsyms) {\n          iVar11 = nsyms - ntokens;\n          iVar10 = 0;\n          do {\n            puVar1 = *(undefined4 **)((int)__ptr + iVar10);\n            *(undefined4 **)((int)ppprVar7 + iVar10) = puVar9;\n            puVar5 = puVar9;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar9 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar5 = *puVar9;\n              puVar5 = puVar5 + 1;\n            }\n            iVar10 = iVar10 + 4;\n            puVar9 = puVar5 + 1;\n            *puVar5 = 0;\n          } while (iVar10 != iVar11 * 4);\n        }\n        puVar6 = PTR_stderr_00095fa8;\n        if (((byte)trace_flag & 8) != 0) {\n          fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);\n          local_38 = ntokens;\n          if (ntokens < nsyms) {\n            do {\n              rpl_fprintf(*(FILE **)puVar6,"  %s derives\n",symbols[local_38]->tag);\n              prVar3 = *derives[local_38 - ntokens];\n              pprVar4 = derives[local_38 - ntokens];\n              while (prVar3 != (rule *)0x0) {\n                rpl_fprintf(*(FILE **)puVar6,"    %3d ",prVar3->user_number);\n                rule_rhs_print(*pprVar4,*(FILE **)puVar6);\n                rpl_fprintf(*(FILE **)puVar6,"\n");\n                prVar3 = pprVar4[1];\n                pprVar4 = pprVar4 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < nsyms);\n          }\n          fwrite_unlocked("\n\n",1,2,*(FILE **)puVar6);\n        }\n        free(__ptr);\n        free(__ptr_00);\n        return;\n      }\n    }" if (parenthesized_expression "((-1 < nvars << 2) && ((uint)nvars >> 0x1e == 0))" ( (binary_expression "(-1 < nvars << 2) && ((uint)nvars >> 0x1e == 0)" (parenthesized_expression "(-1 < nvars << 2)" ( (binary_expression "-1 < nvars << 2" number_literal < (binary_expression "nvars << 2" identifier << number_literal)) )) && (parenthesized_expression "((uint)nvars >> 0x1e == 0)" ( (binary_expression "(uint)nvars >> 0x1e == 0" (binary_expression "(uint)nvars >> 0x1e" (cast_expression "(uint)nvars" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) == number_literal) ))) )) (compound_statement "{\n      derives = (rule ***)xmalloc(nvars << 2);\n      n = (nrules + nvars) * 4;\n      if ((-1 < (int)n) && ((uint)(nrules + nvars) >> 0x1e == 0)) {\n        puVar9 = (undefined4 *)xmalloc(n);\n        ppprVar7 = derives;\n        if (ntokens < nsyms) {\n          iVar11 = nsyms - ntokens;\n          iVar10 = 0;\n          do {\n            puVar1 = *(undefined4 **)((int)__ptr + iVar10);\n            *(undefined4 **)((int)ppprVar7 + iVar10) = puVar9;\n            puVar5 = puVar9;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar9 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar5 = *puVar9;\n              puVar5 = puVar5 + 1;\n            }\n            iVar10 = iVar10 + 4;\n            puVar9 = puVar5 + 1;\n            *puVar5 = 0;\n          } while (iVar10 != iVar11 * 4);\n        }\n        puVar6 = PTR_stderr_00095fa8;\n        if (((byte)trace_flag & 8) != 0) {\n          fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);\n          local_38 = ntokens;\n          if (ntokens < nsyms) {\n            do {\n              rpl_fprintf(*(FILE **)puVar6,"  %s derives\n",symbols[local_38]->tag);\n              prVar3 = *derives[local_38 - ntokens];\n              pprVar4 = derives[local_38 - ntokens];\n              while (prVar3 != (rule *)0x0) {\n                rpl_fprintf(*(FILE **)puVar6,"    %3d ",prVar3->user_number);\n                rule_rhs_print(*pprVar4,*(FILE **)puVar6);\n                rpl_fprintf(*(FILE **)puVar6,"\n");\n                prVar3 = pprVar4[1];\n                pprVar4 = pprVar4 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < nsyms);\n          }\n          fwrite_unlocked("\n\n",1,2,*(FILE **)puVar6);\n        }\n        free(__ptr);\n        free(__ptr_00);\n        return;\n      }\n    }" { (expression_statement "derives = (rule ***)xmalloc(nvars << 2);" (assignment_expression "derives = (rule ***)xmalloc(nvars << 2)" identifier = (cast_expression "(rule ***)xmalloc(nvars << 2)" ( (type_descriptor "rule ***" type_identifier (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) (call_expression "xmalloc(nvars << 2)" identifier (argument_list "(nvars << 2)" ( (binary_expression "nvars << 2" identifier << number_literal) ))))) ;) (expression_statement "n = (nrules + nvars) * 4;" (assignment_expression "n = (nrules + nvars) * 4" identifier = (binary_expression "(nrules + nvars) * 4" (parenthesized_expression "(nrules + nvars)" ( (binary_expression "nrules + nvars" identifier + identifier) )) * number_literal)) ;) (if_statement "if ((-1 < (int)n) && ((uint)(nrules + nvars) >> 0x1e == 0)) {\n        puVar9 = (undefined4 *)xmalloc(n);\n        ppprVar7 = derives;\n        if (ntokens < nsyms) {\n          iVar11 = nsyms - ntokens;\n          iVar10 = 0;\n          do {\n            puVar1 = *(undefined4 **)((int)__ptr + iVar10);\n            *(undefined4 **)((int)ppprVar7 + iVar10) = puVar9;\n            puVar5 = puVar9;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar9 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar5 = *puVar9;\n              puVar5 = puVar5 + 1;\n            }\n            iVar10 = iVar10 + 4;\n            puVar9 = puVar5 + 1;\n            *puVar5 = 0;\n          } while (iVar10 != iVar11 * 4);\n        }\n        puVar6 = PTR_stderr_00095fa8;\n        if (((byte)trace_flag & 8) != 0) {\n          fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);\n          local_38 = ntokens;\n          if (ntokens < nsyms) {\n            do {\n              rpl_fprintf(*(FILE **)puVar6,"  %s derives\n",symbols[local_38]->tag);\n              prVar3 = *derives[local_38 - ntokens];\n              pprVar4 = derives[local_38 - ntokens];\n              while (prVar3 != (rule *)0x0) {\n                rpl_fprintf(*(FILE **)puVar6,"    %3d ",prVar3->user_number);\n                rule_rhs_print(*pprVar4,*(FILE **)puVar6);\n                rpl_fprintf(*(FILE **)puVar6,"\n");\n                prVar3 = pprVar4[1];\n                pprVar4 = pprVar4 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < nsyms);\n          }\n          fwrite_unlocked("\n\n",1,2,*(FILE **)puVar6);\n        }\n        free(__ptr);\n        free(__ptr_00);\n        return;\n      }" if (parenthesized_expression "((-1 < (int)n) && ((uint)(nrules + nvars) >> 0x1e == 0))" ( (binary_expression "(-1 < (int)n) && ((uint)(nrules + nvars) >> 0x1e == 0)" (parenthesized_expression "(-1 < (int)n)" ( (binary_expression "-1 < (int)n" number_literal < (cast_expression "(int)n" ( (type_descriptor "int" primitive_type) ) identifier)) )) && (parenthesized_expression "((uint)(nrules + nvars) >> 0x1e == 0)" ( (binary_expression "(uint)(nrules + nvars) >> 0x1e == 0" (binary_expression "(uint)(nrules + nvars) >> 0x1e" (call_expression "(uint)(nrules + nvars)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(nrules + nvars)" ( (binary_expression "nrules + nvars" identifier + identifier) ))) >> number_literal) == number_literal) ))) )) (compound_statement "{\n        puVar9 = (undefined4 *)xmalloc(n);\n        ppprVar7 = derives;\n        if (ntokens < nsyms) {\n          iVar11 = nsyms - ntokens;\n          iVar10 = 0;\n          do {\n            puVar1 = *(undefined4 **)((int)__ptr + iVar10);\n            *(undefined4 **)((int)ppprVar7 + iVar10) = puVar9;\n            puVar5 = puVar9;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar9 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar5 = *puVar9;\n              puVar5 = puVar5 + 1;\n            }\n            iVar10 = iVar10 + 4;\n            puVar9 = puVar5 + 1;\n            *puVar5 = 0;\n          } while (iVar10 != iVar11 * 4);\n        }\n        puVar6 = PTR_stderr_00095fa8;\n        if (((byte)trace_flag & 8) != 0) {\n          fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);\n          local_38 = ntokens;\n          if (ntokens < nsyms) {\n            do {\n              rpl_fprintf(*(FILE **)puVar6,"  %s derives\n",symbols[local_38]->tag);\n              prVar3 = *derives[local_38 - ntokens];\n              pprVar4 = derives[local_38 - ntokens];\n              while (prVar3 != (rule *)0x0) {\n                rpl_fprintf(*(FILE **)puVar6,"    %3d ",prVar3->user_number);\n                rule_rhs_print(*pprVar4,*(FILE **)puVar6);\n                rpl_fprintf(*(FILE **)puVar6,"\n");\n                prVar3 = pprVar4[1];\n                pprVar4 = pprVar4 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < nsyms);\n          }\n          fwrite_unlocked("\n\n",1,2,*(FILE **)puVar6);\n        }\n        free(__ptr);\n        free(__ptr_00);\n        return;\n      }" { (expression_statement "puVar9 = (undefined4 *)xmalloc(n);" (assignment_expression "puVar9 = (undefined4 *)xmalloc(n)" identifier = (cast_expression "(undefined4 *)xmalloc(n)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(n)" identifier (argument_list "(n)" ( identifier ))))) ;) (expression_statement "ppprVar7 = derives;" (assignment_expression "ppprVar7 = derives" identifier = identifier) ;) (if_statement "if (ntokens < nsyms) {\n          iVar11 = nsyms - ntokens;\n          iVar10 = 0;\n          do {\n            puVar1 = *(undefined4 **)((int)__ptr + iVar10);\n            *(undefined4 **)((int)ppprVar7 + iVar10) = puVar9;\n            puVar5 = puVar9;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar9 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar5 = *puVar9;\n              puVar5 = puVar5 + 1;\n            }\n            iVar10 = iVar10 + 4;\n            puVar9 = puVar5 + 1;\n            *puVar5 = 0;\n          } while (iVar10 != iVar11 * 4);\n        }" if (parenthesized_expression "(ntokens < nsyms)" ( (binary_expression "ntokens < nsyms" identifier < identifier) )) (compound_statement "{\n          iVar11 = nsyms - ntokens;\n          iVar10 = 0;\n          do {\n            puVar1 = *(undefined4 **)((int)__ptr + iVar10);\n            *(undefined4 **)((int)ppprVar7 + iVar10) = puVar9;\n            puVar5 = puVar9;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar9 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar5 = *puVar9;\n              puVar5 = puVar5 + 1;\n            }\n            iVar10 = iVar10 + 4;\n            puVar9 = puVar5 + 1;\n            *puVar5 = 0;\n          } while (iVar10 != iVar11 * 4);\n        }" { (expression_statement "iVar11 = nsyms - ntokens;" (assignment_expression "iVar11 = nsyms - ntokens" identifier = (binary_expression "nsyms - ntokens" identifier - identifier)) ;) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (do_statement "do {\n            puVar1 = *(undefined4 **)((int)__ptr + iVar10);\n            *(undefined4 **)((int)ppprVar7 + iVar10) = puVar9;\n            puVar5 = puVar9;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar9 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar5 = *puVar9;\n              puVar5 = puVar5 + 1;\n            }\n            iVar10 = iVar10 + 4;\n            puVar9 = puVar5 + 1;\n            *puVar5 = 0;\n          } while (iVar10 != iVar11 * 4);" do (compound_statement "{\n            puVar1 = *(undefined4 **)((int)__ptr + iVar10);\n            *(undefined4 **)((int)ppprVar7 + iVar10) = puVar9;\n            puVar5 = puVar9;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar9 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar5 = *puVar9;\n              puVar5 = puVar5 + 1;\n            }\n            iVar10 = iVar10 + 4;\n            puVar9 = puVar5 + 1;\n            *puVar5 = 0;\n          }" { (expression_statement "puVar1 = *(undefined4 **)((int)__ptr + iVar10);" (assignment_expression "puVar1 = *(undefined4 **)((int)__ptr + iVar10)" identifier = (pointer_expression "*(undefined4 **)((int)__ptr + iVar10)" * (cast_expression "(undefined4 **)((int)__ptr + iVar10)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)__ptr + iVar10)" ( (binary_expression "(int)__ptr + iVar10" (cast_expression "(int)__ptr" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) ))))) ;) (expression_statement "*(undefined4 **)((int)ppprVar7 + iVar10) = puVar9;" (assignment_expression "*(undefined4 **)((int)ppprVar7 + iVar10) = puVar9" (pointer_expression "*(undefined4 **)((int)ppprVar7 + iVar10)" * (cast_expression "(undefined4 **)((int)ppprVar7 + iVar10)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)ppprVar7 + iVar10)" ( (binary_expression "(int)ppprVar7 + iVar10" (cast_expression "(int)ppprVar7" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = identifier) ;) (expression_statement "puVar5 = puVar9;" (assignment_expression "puVar5 = puVar9" identifier = identifier) ;) (while_statement "while (puVar1 != (undefined4 *)0x0) {\n              puVar9 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar5 = *puVar9;\n              puVar5 = puVar5 + 1;\n            }" while (parenthesized_expression "(puVar1 != (undefined4 *)0x0)" ( (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              puVar9 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar5 = *puVar9;\n              puVar5 = puVar5 + 1;\n            }" { (expression_statement "puVar9 = puVar1 + 1;" (assignment_expression "puVar9 = puVar1 + 1" identifier = (binary_expression "puVar1 + 1" identifier + number_literal)) ;) (expression_statement "puVar1 = (undefined4 *)*puVar1;" (assignment_expression "puVar1 = (undefined4 *)*puVar1" identifier = (cast_expression "(undefined4 *)*puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ;) (expression_statement "*puVar5 = *puVar9;" (assignment_expression "*puVar5 = *puVar9" (pointer_expression "*puVar5" * identifier) = (pointer_expression "*puVar9" * identifier)) ;) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) })) (expression_statement "iVar10 = iVar10 + 4;" (assignment_expression "iVar10 = iVar10 + 4" identifier = (binary_expression "iVar10 + 4" identifier + number_literal)) ;) (expression_statement "puVar9 = puVar5 + 1;" (assignment_expression "puVar9 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (expression_statement "*puVar5 = 0;" (assignment_expression "*puVar5 = 0" (pointer_expression "*puVar5" * identifier) = number_literal) ;) }) while (parenthesized_expression "(iVar10 != iVar11 * 4)" ( (binary_expression "iVar10 != iVar11 * 4" identifier != (binary_expression "iVar11 * 4" identifier * number_literal)) )) ;) })) (expression_statement "puVar6 = PTR_stderr_00095fa8;" (assignment_expression "puVar6 = PTR_stderr_00095fa8" identifier = identifier) ;) (if_statement "if (((byte)trace_flag & 8) != 0) {\n          fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);\n          local_38 = ntokens;\n          if (ntokens < nsyms) {\n            do {\n              rpl_fprintf(*(FILE **)puVar6,"  %s derives\n",symbols[local_38]->tag);\n              prVar3 = *derives[local_38 - ntokens];\n              pprVar4 = derives[local_38 - ntokens];\n              while (prVar3 != (rule *)0x0) {\n                rpl_fprintf(*(FILE **)puVar6,"    %3d ",prVar3->user_number);\n                rule_rhs_print(*pprVar4,*(FILE **)puVar6);\n                rpl_fprintf(*(FILE **)puVar6,"\n");\n                prVar3 = pprVar4[1];\n                pprVar4 = pprVar4 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < nsyms);\n          }\n          fwrite_unlocked("\n\n",1,2,*(FILE **)puVar6);\n        }" if (parenthesized_expression "(((byte)trace_flag & 8) != 0)" ( (binary_expression "((byte)trace_flag & 8) != 0" (parenthesized_expression "((byte)trace_flag & 8)" ( (binary_expression "(byte)trace_flag & 8" (cast_expression "(byte)trace_flag" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n          fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);\n          local_38 = ntokens;\n          if (ntokens < nsyms) {\n            do {\n              rpl_fprintf(*(FILE **)puVar6,"  %s derives\n",symbols[local_38]->tag);\n              prVar3 = *derives[local_38 - ntokens];\n              pprVar4 = derives[local_38 - ntokens];\n              while (prVar3 != (rule *)0x0) {\n                rpl_fprintf(*(FILE **)puVar6,"    %3d ",prVar3->user_number);\n                rule_rhs_print(*pprVar4,*(FILE **)puVar6);\n                rpl_fprintf(*(FILE **)puVar6,"\n");\n                prVar3 = pprVar4[1];\n                pprVar4 = pprVar4 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < nsyms);\n          }\n          fwrite_unlocked("\n\n",1,2,*(FILE **)puVar6);\n        }" { (expression_statement "fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);" (call_expression "fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8)" identifier (argument_list "("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8)" ( (string_literal ""DERIVES\n"" " string_content escape_sequence ") , number_literal , number_literal , (pointer_expression "*(FILE **)PTR_stderr_00095fa8" * (cast_expression "(FILE **)PTR_stderr_00095fa8" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "local_38 = ntokens;" (assignment_expression "local_38 = ntokens" identifier = identifier) ;) (if_statement "if (ntokens < nsyms) {\n            do {\n              rpl_fprintf(*(FILE **)puVar6,"  %s derives\n",symbols[local_38]->tag);\n              prVar3 = *derives[local_38 - ntokens];\n              pprVar4 = derives[local_38 - ntokens];\n              while (prVar3 != (rule *)0x0) {\n                rpl_fprintf(*(FILE **)puVar6,"    %3d ",prVar3->user_number);\n                rule_rhs_print(*pprVar4,*(FILE **)puVar6);\n                rpl_fprintf(*(FILE **)puVar6,"\n");\n                prVar3 = pprVar4[1];\n                pprVar4 = pprVar4 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < nsyms);\n          }" if (parenthesized_expression "(ntokens < nsyms)" ( (binary_expression "ntokens < nsyms" identifier < identifier) )) (compound_statement "{\n            do {\n              rpl_fprintf(*(FILE **)puVar6,"  %s derives\n",symbols[local_38]->tag);\n              prVar3 = *derives[local_38 - ntokens];\n              pprVar4 = derives[local_38 - ntokens];\n              while (prVar3 != (rule *)0x0) {\n                rpl_fprintf(*(FILE **)puVar6,"    %3d ",prVar3->user_number);\n                rule_rhs_print(*pprVar4,*(FILE **)puVar6);\n                rpl_fprintf(*(FILE **)puVar6,"\n");\n                prVar3 = pprVar4[1];\n                pprVar4 = pprVar4 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < nsyms);\n          }" { (do_statement "do {\n              rpl_fprintf(*(FILE **)puVar6,"  %s derives\n",symbols[local_38]->tag);\n              prVar3 = *derives[local_38 - ntokens];\n              pprVar4 = derives[local_38 - ntokens];\n              while (prVar3 != (rule *)0x0) {\n                rpl_fprintf(*(FILE **)puVar6,"    %3d ",prVar3->user_number);\n                rule_rhs_print(*pprVar4,*(FILE **)puVar6);\n                rpl_fprintf(*(FILE **)puVar6,"\n");\n                prVar3 = pprVar4[1];\n                pprVar4 = pprVar4 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < nsyms);" do (compound_statement "{\n              rpl_fprintf(*(FILE **)puVar6,"  %s derives\n",symbols[local_38]->tag);\n              prVar3 = *derives[local_38 - ntokens];\n              pprVar4 = derives[local_38 - ntokens];\n              while (prVar3 != (rule *)0x0) {\n                rpl_fprintf(*(FILE **)puVar6,"    %3d ",prVar3->user_number);\n                rule_rhs_print(*pprVar4,*(FILE **)puVar6);\n                rpl_fprintf(*(FILE **)puVar6,"\n");\n                prVar3 = pprVar4[1];\n                pprVar4 = pprVar4 + 1;\n              }\n              local_38 = local_38 + 1;\n            }" { (expression_statement "rpl_fprintf(*(FILE **)puVar6,"  %s derives\n",symbols[local_38]->tag);" (call_expression "rpl_fprintf(*(FILE **)puVar6,"  %s derives\n",symbols[local_38]->tag)" identifier (argument_list "(*(FILE **)puVar6,"  %s derives\n",symbols[local_38]->tag)" ( (pointer_expression "*(FILE **)puVar6" * (cast_expression "(FILE **)puVar6" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , (string_literal ""  %s derives\n"" " string_content escape_sequence ") , (field_expression "symbols[local_38]->tag" (subscript_expression "symbols[local_38]" identifier [ identifier ]) -> field_identifier) ))) ;) (expression_statement "prVar3 = *derives[local_38 - ntokens];" (assignment_expression "prVar3 = *derives[local_38 - ntokens]" identifier = (pointer_expression "*derives[local_38 - ntokens]" * (subscript_expression "derives[local_38 - ntokens]" identifier [ (binary_expression "local_38 - ntokens" identifier - identifier) ]))) ;) (expression_statement "pprVar4 = derives[local_38 - ntokens];" (assignment_expression "pprVar4 = derives[local_38 - ntokens]" identifier = (subscript_expression "derives[local_38 - ntokens]" identifier [ (binary_expression "local_38 - ntokens" identifier - identifier) ])) ;) (while_statement "while (prVar3 != (rule *)0x0) {\n                rpl_fprintf(*(FILE **)puVar6,"    %3d ",prVar3->user_number);\n                rule_rhs_print(*pprVar4,*(FILE **)puVar6);\n                rpl_fprintf(*(FILE **)puVar6,"\n");\n                prVar3 = pprVar4[1];\n                pprVar4 = pprVar4 + 1;\n              }" while (parenthesized_expression "(prVar3 != (rule *)0x0)" ( (binary_expression "prVar3 != (rule *)0x0" identifier != (cast_expression "(rule *)0x0" ( (type_descriptor "rule *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                rpl_fprintf(*(FILE **)puVar6,"    %3d ",prVar3->user_number);\n                rule_rhs_print(*pprVar4,*(FILE **)puVar6);\n                rpl_fprintf(*(FILE **)puVar6,"\n");\n                prVar3 = pprVar4[1];\n                pprVar4 = pprVar4 + 1;\n              }" { (expression_statement "rpl_fprintf(*(FILE **)puVar6,"    %3d ",prVar3->user_number);" (call_expression "rpl_fprintf(*(FILE **)puVar6,"    %3d ",prVar3->user_number)" identifier (argument_list "(*(FILE **)puVar6,"    %3d ",prVar3->user_number)" ( (pointer_expression "*(FILE **)puVar6" * (cast_expression "(FILE **)puVar6" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , (string_literal ""    %3d "" " string_content ") , (field_expression "prVar3->user_number" identifier -> field_identifier) ))) ;) (expression_statement "rule_rhs_print(*pprVar4,*(FILE **)puVar6);" (call_expression "rule_rhs_print(*pprVar4,*(FILE **)puVar6)" identifier (argument_list "(*pprVar4,*(FILE **)puVar6)" ( (pointer_expression "*pprVar4" * identifier) , (pointer_expression "*(FILE **)puVar6" * (cast_expression "(FILE **)puVar6" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "rpl_fprintf(*(FILE **)puVar6,"\n");" (call_expression "rpl_fprintf(*(FILE **)puVar6,"\n")" identifier (argument_list "(*(FILE **)puVar6,"\n")" ( (pointer_expression "*(FILE **)puVar6" * (cast_expression "(FILE **)puVar6" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , (string_literal ""\n"" " escape_sequence ") ))) ;) (expression_statement "prVar3 = pprVar4[1];" (assignment_expression "prVar3 = pprVar4[1]" identifier = (subscript_expression "pprVar4[1]" identifier [ number_literal ])) ;) (expression_statement "pprVar4 = pprVar4 + 1;" (assignment_expression "pprVar4 = pprVar4 + 1" identifier = (binary_expression "pprVar4 + 1" identifier + number_literal)) ;) })) (expression_statement "local_38 = local_38 + 1;" (assignment_expression "local_38 = local_38 + 1" identifier = (binary_expression "local_38 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(local_38 < nsyms)" ( (binary_expression "local_38 < nsyms" identifier < identifier) )) ;) })) (expression_statement "fwrite_unlocked("\n\n",1,2,*(FILE **)puVar6);" (call_expression "fwrite_unlocked("\n\n",1,2,*(FILE **)puVar6)" identifier (argument_list "("\n\n",1,2,*(FILE **)puVar6)" ( (string_literal ""\n\n"" " escape_sequence escape_sequence ") , number_literal , number_literal , (pointer_expression "*(FILE **)puVar6" * (cast_expression "(FILE **)puVar6" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) })) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "free(__ptr_00);" (call_expression "free(__ptr_00)" identifier (argument_list "(__ptr_00)" ( identifier ))) ;) (return_statement "return;" return ;) })) })) })) comment (expression_statement "xalloc_die();" (call_expression "xalloc_die()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "void FUN_0001aaf0(void)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  void *__ptr;\n  void *__ptr_00;\n  int iVar6;\n  undefined4 *puVar7;\n  int iVar8;\n  int iVar9;\n  bool bVar10;\n  int local_38;\n  \n  __ptr = (void *)FUN_00066d60(DAT_00096934,4);\n  if ((-1 < (int)(DAT_00096940 << 3)) && (DAT_00096940 >> 0x1d == 0)) {\n    __ptr_00 = (void *)FUN_00066c20(DAT_00096940 << 3);\n    iVar8 = DAT_00096944;\n    iVar6 = DAT_000961c4;\n    if (-1 < (int)(DAT_00096940 - 1)) {\n      iVar9 = (DAT_00096940 - 1) * 0x60 + DAT_00096944;\n      puVar7 = (undefined4 *)((int)__ptr_00 + DAT_00096940 * 8 + -8);\n      do {\n        iVar2 = *(int *)(*(int *)(iVar9 + 8) + 0x80);\n        puVar7[1] = iVar9;\n        puVar1 = (undefined4 *)((int)__ptr + (iVar2 - iVar6) * 4);\n        uVar3 = *puVar1;\n        *puVar1 = puVar7;\n        *puVar7 = uVar3;\n        bVar10 = iVar8 != iVar9;\n        iVar9 = iVar9 + -0x60;\n        puVar7 = puVar7 + -2;\n      } while (bVar10);\n    }\n    if ((-1 < (int)(DAT_00096934 << 2)) && (DAT_00096934 >> 0x1e == 0)) {\n      DAT_00099b28 = FUN_00066c20(DAT_00096934 << 2);\n      iVar6 = (DAT_00096940 + DAT_00096934) * 4;\n      if ((-1 < iVar6) && (DAT_00096940 + DAT_00096934 >> 0x1e == 0)) {\n        puVar7 = (undefined4 *)FUN_00066c20(iVar6);\n        iVar6 = DAT_00099b28;\n        if (DAT_000961c4 < DAT_00096938) {\n          iVar9 = DAT_00096938 - DAT_000961c4;\n          iVar8 = 0;\n          do {\n            puVar1 = *(undefined4 **)((int)__ptr + iVar8);\n            *(undefined4 **)(iVar6 + iVar8) = puVar7;\n            puVar4 = puVar7;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar7 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar4 = *puVar7;\n              puVar4 = puVar4 + 1;\n            }\n            iVar8 = iVar8 + 4;\n            puVar7 = puVar4 + 1;\n            *puVar4 = 0;\n          } while (iVar8 != iVar9 * 4);\n        }\n        puVar5 = PTR_stderr_00095fa8;\n        if (((byte)DAT_00096900 & 8) != 0) {\n          fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);\n          local_38 = DAT_000961c4;\n          if (DAT_000961c4 < DAT_00096938) {\n            do {\n              FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4));\n              puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);\n              puVar1 = (undefined4 *)*puVar7;\n              while (puVar1 != (undefined4 *)0x0) {\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < DAT_00096938);\n          }\n          fwrite_unlocked("\n\n",1,2,*(FILE **)puVar5);\n        }\n        free(__ptr);\n        free(__ptr_00);\n        return;\n      }\n    }\n  }\n                    \n  FUN_00066e40();\n}\n\n" (function_definition "void FUN_0001aaf0(void)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  void *__ptr;\n  void *__ptr_00;\n  int iVar6;\n  undefined4 *puVar7;\n  int iVar8;\n  int iVar9;\n  bool bVar10;\n  int local_38;\n  \n  __ptr = (void *)FUN_00066d60(DAT_00096934,4);\n  if ((-1 < (int)(DAT_00096940 << 3)) && (DAT_00096940 >> 0x1d == 0)) {\n    __ptr_00 = (void *)FUN_00066c20(DAT_00096940 << 3);\n    iVar8 = DAT_00096944;\n    iVar6 = DAT_000961c4;\n    if (-1 < (int)(DAT_00096940 - 1)) {\n      iVar9 = (DAT_00096940 - 1) * 0x60 + DAT_00096944;\n      puVar7 = (undefined4 *)((int)__ptr_00 + DAT_00096940 * 8 + -8);\n      do {\n        iVar2 = *(int *)(*(int *)(iVar9 + 8) + 0x80);\n        puVar7[1] = iVar9;\n        puVar1 = (undefined4 *)((int)__ptr + (iVar2 - iVar6) * 4);\n        uVar3 = *puVar1;\n        *puVar1 = puVar7;\n        *puVar7 = uVar3;\n        bVar10 = iVar8 != iVar9;\n        iVar9 = iVar9 + -0x60;\n        puVar7 = puVar7 + -2;\n      } while (bVar10);\n    }\n    if ((-1 < (int)(DAT_00096934 << 2)) && (DAT_00096934 >> 0x1e == 0)) {\n      DAT_00099b28 = FUN_00066c20(DAT_00096934 << 2);\n      iVar6 = (DAT_00096940 + DAT_00096934) * 4;\n      if ((-1 < iVar6) && (DAT_00096940 + DAT_00096934 >> 0x1e == 0)) {\n        puVar7 = (undefined4 *)FUN_00066c20(iVar6);\n        iVar6 = DAT_00099b28;\n        if (DAT_000961c4 < DAT_00096938) {\n          iVar9 = DAT_00096938 - DAT_000961c4;\n          iVar8 = 0;\n          do {\n            puVar1 = *(undefined4 **)((int)__ptr + iVar8);\n            *(undefined4 **)(iVar6 + iVar8) = puVar7;\n            puVar4 = puVar7;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar7 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar4 = *puVar7;\n              puVar4 = puVar4 + 1;\n            }\n            iVar8 = iVar8 + 4;\n            puVar7 = puVar4 + 1;\n            *puVar4 = 0;\n          } while (iVar8 != iVar9 * 4);\n        }\n        puVar5 = PTR_stderr_00095fa8;\n        if (((byte)DAT_00096900 & 8) != 0) {\n          fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);\n          local_38 = DAT_000961c4;\n          if (DAT_000961c4 < DAT_00096938) {\n            do {\n              FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4));\n              puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);\n              puVar1 = (undefined4 *)*puVar7;\n              while (puVar1 != (undefined4 *)0x0) {\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < DAT_00096938);\n          }\n          fwrite_unlocked("\n\n",1,2,*(FILE **)puVar5);\n        }\n        free(__ptr);\n        free(__ptr_00);\n        return;\n      }\n    }\n  }\n                    \n  FUN_00066e40();\n}" primitive_type (function_declarator "FUN_0001aaf0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  void *__ptr;\n  void *__ptr_00;\n  int iVar6;\n  undefined4 *puVar7;\n  int iVar8;\n  int iVar9;\n  bool bVar10;\n  int local_38;\n  \n  __ptr = (void *)FUN_00066d60(DAT_00096934,4);\n  if ((-1 < (int)(DAT_00096940 << 3)) && (DAT_00096940 >> 0x1d == 0)) {\n    __ptr_00 = (void *)FUN_00066c20(DAT_00096940 << 3);\n    iVar8 = DAT_00096944;\n    iVar6 = DAT_000961c4;\n    if (-1 < (int)(DAT_00096940 - 1)) {\n      iVar9 = (DAT_00096940 - 1) * 0x60 + DAT_00096944;\n      puVar7 = (undefined4 *)((int)__ptr_00 + DAT_00096940 * 8 + -8);\n      do {\n        iVar2 = *(int *)(*(int *)(iVar9 + 8) + 0x80);\n        puVar7[1] = iVar9;\n        puVar1 = (undefined4 *)((int)__ptr + (iVar2 - iVar6) * 4);\n        uVar3 = *puVar1;\n        *puVar1 = puVar7;\n        *puVar7 = uVar3;\n        bVar10 = iVar8 != iVar9;\n        iVar9 = iVar9 + -0x60;\n        puVar7 = puVar7 + -2;\n      } while (bVar10);\n    }\n    if ((-1 < (int)(DAT_00096934 << 2)) && (DAT_00096934 >> 0x1e == 0)) {\n      DAT_00099b28 = FUN_00066c20(DAT_00096934 << 2);\n      iVar6 = (DAT_00096940 + DAT_00096934) * 4;\n      if ((-1 < iVar6) && (DAT_00096940 + DAT_00096934 >> 0x1e == 0)) {\n        puVar7 = (undefined4 *)FUN_00066c20(iVar6);\n        iVar6 = DAT_00099b28;\n        if (DAT_000961c4 < DAT_00096938) {\n          iVar9 = DAT_00096938 - DAT_000961c4;\n          iVar8 = 0;\n          do {\n            puVar1 = *(undefined4 **)((int)__ptr + iVar8);\n            *(undefined4 **)(iVar6 + iVar8) = puVar7;\n            puVar4 = puVar7;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar7 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar4 = *puVar7;\n              puVar4 = puVar4 + 1;\n            }\n            iVar8 = iVar8 + 4;\n            puVar7 = puVar4 + 1;\n            *puVar4 = 0;\n          } while (iVar8 != iVar9 * 4);\n        }\n        puVar5 = PTR_stderr_00095fa8;\n        if (((byte)DAT_00096900 & 8) != 0) {\n          fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);\n          local_38 = DAT_000961c4;\n          if (DAT_000961c4 < DAT_00096938) {\n            do {\n              FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4));\n              puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);\n              puVar1 = (undefined4 *)*puVar7;\n              while (puVar1 != (undefined4 *)0x0) {\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < DAT_00096938);\n          }\n          fwrite_unlocked("\n\n",1,2,*(FILE **)puVar5);\n        }\n        free(__ptr);\n        free(__ptr_00);\n        return;\n      }\n    }\n  }\n                    \n  FUN_00066e40();\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "void *__ptr_00;" primitive_type (pointer_declarator "*__ptr_00" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "bool bVar10;" primitive_type identifier ;) (declaration "int local_38;" primitive_type identifier ;) (expression_statement "__ptr = (void *)FUN_00066d60(DAT_00096934,4);" (assignment_expression "__ptr = (void *)FUN_00066d60(DAT_00096934,4)" identifier = (cast_expression "(void *)FUN_00066d60(DAT_00096934,4)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00066d60(DAT_00096934,4)" identifier (argument_list "(DAT_00096934,4)" ( identifier , number_literal ))))) ;) (if_statement "if ((-1 < (int)(DAT_00096940 << 3)) && (DAT_00096940 >> 0x1d == 0)) {\n    __ptr_00 = (void *)FUN_00066c20(DAT_00096940 << 3);\n    iVar8 = DAT_00096944;\n    iVar6 = DAT_000961c4;\n    if (-1 < (int)(DAT_00096940 - 1)) {\n      iVar9 = (DAT_00096940 - 1) * 0x60 + DAT_00096944;\n      puVar7 = (undefined4 *)((int)__ptr_00 + DAT_00096940 * 8 + -8);\n      do {\n        iVar2 = *(int *)(*(int *)(iVar9 + 8) + 0x80);\n        puVar7[1] = iVar9;\n        puVar1 = (undefined4 *)((int)__ptr + (iVar2 - iVar6) * 4);\n        uVar3 = *puVar1;\n        *puVar1 = puVar7;\n        *puVar7 = uVar3;\n        bVar10 = iVar8 != iVar9;\n        iVar9 = iVar9 + -0x60;\n        puVar7 = puVar7 + -2;\n      } while (bVar10);\n    }\n    if ((-1 < (int)(DAT_00096934 << 2)) && (DAT_00096934 >> 0x1e == 0)) {\n      DAT_00099b28 = FUN_00066c20(DAT_00096934 << 2);\n      iVar6 = (DAT_00096940 + DAT_00096934) * 4;\n      if ((-1 < iVar6) && (DAT_00096940 + DAT_00096934 >> 0x1e == 0)) {\n        puVar7 = (undefined4 *)FUN_00066c20(iVar6);\n        iVar6 = DAT_00099b28;\n        if (DAT_000961c4 < DAT_00096938) {\n          iVar9 = DAT_00096938 - DAT_000961c4;\n          iVar8 = 0;\n          do {\n            puVar1 = *(undefined4 **)((int)__ptr + iVar8);\n            *(undefined4 **)(iVar6 + iVar8) = puVar7;\n            puVar4 = puVar7;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar7 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar4 = *puVar7;\n              puVar4 = puVar4 + 1;\n            }\n            iVar8 = iVar8 + 4;\n            puVar7 = puVar4 + 1;\n            *puVar4 = 0;\n          } while (iVar8 != iVar9 * 4);\n        }\n        puVar5 = PTR_stderr_00095fa8;\n        if (((byte)DAT_00096900 & 8) != 0) {\n          fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);\n          local_38 = DAT_000961c4;\n          if (DAT_000961c4 < DAT_00096938) {\n            do {\n              FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4));\n              puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);\n              puVar1 = (undefined4 *)*puVar7;\n              while (puVar1 != (undefined4 *)0x0) {\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < DAT_00096938);\n          }\n          fwrite_unlocked("\n\n",1,2,*(FILE **)puVar5);\n        }\n        free(__ptr);\n        free(__ptr_00);\n        return;\n      }\n    }\n  }" if (parenthesized_expression "((-1 < (int)(DAT_00096940 << 3)) && (DAT_00096940 >> 0x1d == 0))" ( (binary_expression "(-1 < (int)(DAT_00096940 << 3)) && (DAT_00096940 >> 0x1d == 0)" (parenthesized_expression "(-1 < (int)(DAT_00096940 << 3))" ( (binary_expression "-1 < (int)(DAT_00096940 << 3)" number_literal < (cast_expression "(int)(DAT_00096940 << 3)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(DAT_00096940 << 3)" ( (binary_expression "DAT_00096940 << 3" identifier << number_literal) )))) )) && (parenthesized_expression "(DAT_00096940 >> 0x1d == 0)" ( (binary_expression "DAT_00096940 >> 0x1d == 0" (binary_expression "DAT_00096940 >> 0x1d" identifier >> number_literal) == number_literal) ))) )) (compound_statement "{\n    __ptr_00 = (void *)FUN_00066c20(DAT_00096940 << 3);\n    iVar8 = DAT_00096944;\n    iVar6 = DAT_000961c4;\n    if (-1 < (int)(DAT_00096940 - 1)) {\n      iVar9 = (DAT_00096940 - 1) * 0x60 + DAT_00096944;\n      puVar7 = (undefined4 *)((int)__ptr_00 + DAT_00096940 * 8 + -8);\n      do {\n        iVar2 = *(int *)(*(int *)(iVar9 + 8) + 0x80);\n        puVar7[1] = iVar9;\n        puVar1 = (undefined4 *)((int)__ptr + (iVar2 - iVar6) * 4);\n        uVar3 = *puVar1;\n        *puVar1 = puVar7;\n        *puVar7 = uVar3;\n        bVar10 = iVar8 != iVar9;\n        iVar9 = iVar9 + -0x60;\n        puVar7 = puVar7 + -2;\n      } while (bVar10);\n    }\n    if ((-1 < (int)(DAT_00096934 << 2)) && (DAT_00096934 >> 0x1e == 0)) {\n      DAT_00099b28 = FUN_00066c20(DAT_00096934 << 2);\n      iVar6 = (DAT_00096940 + DAT_00096934) * 4;\n      if ((-1 < iVar6) && (DAT_00096940 + DAT_00096934 >> 0x1e == 0)) {\n        puVar7 = (undefined4 *)FUN_00066c20(iVar6);\n        iVar6 = DAT_00099b28;\n        if (DAT_000961c4 < DAT_00096938) {\n          iVar9 = DAT_00096938 - DAT_000961c4;\n          iVar8 = 0;\n          do {\n            puVar1 = *(undefined4 **)((int)__ptr + iVar8);\n            *(undefined4 **)(iVar6 + iVar8) = puVar7;\n            puVar4 = puVar7;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar7 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar4 = *puVar7;\n              puVar4 = puVar4 + 1;\n            }\n            iVar8 = iVar8 + 4;\n            puVar7 = puVar4 + 1;\n            *puVar4 = 0;\n          } while (iVar8 != iVar9 * 4);\n        }\n        puVar5 = PTR_stderr_00095fa8;\n        if (((byte)DAT_00096900 & 8) != 0) {\n          fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);\n          local_38 = DAT_000961c4;\n          if (DAT_000961c4 < DAT_00096938) {\n            do {\n              FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4));\n              puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);\n              puVar1 = (undefined4 *)*puVar7;\n              while (puVar1 != (undefined4 *)0x0) {\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < DAT_00096938);\n          }\n          fwrite_unlocked("\n\n",1,2,*(FILE **)puVar5);\n        }\n        free(__ptr);\n        free(__ptr_00);\n        return;\n      }\n    }\n  }" { (expression_statement "__ptr_00 = (void *)FUN_00066c20(DAT_00096940 << 3);" (assignment_expression "__ptr_00 = (void *)FUN_00066c20(DAT_00096940 << 3)" identifier = (cast_expression "(void *)FUN_00066c20(DAT_00096940 << 3)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00066c20(DAT_00096940 << 3)" identifier (argument_list "(DAT_00096940 << 3)" ( (binary_expression "DAT_00096940 << 3" identifier << number_literal) ))))) ;) (expression_statement "iVar8 = DAT_00096944;" (assignment_expression "iVar8 = DAT_00096944" identifier = identifier) ;) (expression_statement "iVar6 = DAT_000961c4;" (assignment_expression "iVar6 = DAT_000961c4" identifier = identifier) ;) (if_statement "if (-1 < (int)(DAT_00096940 - 1)) {\n      iVar9 = (DAT_00096940 - 1) * 0x60 + DAT_00096944;\n      puVar7 = (undefined4 *)((int)__ptr_00 + DAT_00096940 * 8 + -8);\n      do {\n        iVar2 = *(int *)(*(int *)(iVar9 + 8) + 0x80);\n        puVar7[1] = iVar9;\n        puVar1 = (undefined4 *)((int)__ptr + (iVar2 - iVar6) * 4);\n        uVar3 = *puVar1;\n        *puVar1 = puVar7;\n        *puVar7 = uVar3;\n        bVar10 = iVar8 != iVar9;\n        iVar9 = iVar9 + -0x60;\n        puVar7 = puVar7 + -2;\n      } while (bVar10);\n    }" if (parenthesized_expression "(-1 < (int)(DAT_00096940 - 1))" ( (binary_expression "-1 < (int)(DAT_00096940 - 1)" number_literal < (cast_expression "(int)(DAT_00096940 - 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(DAT_00096940 - 1)" ( (binary_expression "DAT_00096940 - 1" identifier - number_literal) )))) )) (compound_statement "{\n      iVar9 = (DAT_00096940 - 1) * 0x60 + DAT_00096944;\n      puVar7 = (undefined4 *)((int)__ptr_00 + DAT_00096940 * 8 + -8);\n      do {\n        iVar2 = *(int *)(*(int *)(iVar9 + 8) + 0x80);\n        puVar7[1] = iVar9;\n        puVar1 = (undefined4 *)((int)__ptr + (iVar2 - iVar6) * 4);\n        uVar3 = *puVar1;\n        *puVar1 = puVar7;\n        *puVar7 = uVar3;\n        bVar10 = iVar8 != iVar9;\n        iVar9 = iVar9 + -0x60;\n        puVar7 = puVar7 + -2;\n      } while (bVar10);\n    }" { (expression_statement "iVar9 = (DAT_00096940 - 1) * 0x60 + DAT_00096944;" (assignment_expression "iVar9 = (DAT_00096940 - 1) * 0x60 + DAT_00096944" identifier = (binary_expression "(DAT_00096940 - 1) * 0x60 + DAT_00096944" (binary_expression "(DAT_00096940 - 1) * 0x60" (parenthesized_expression "(DAT_00096940 - 1)" ( (binary_expression "DAT_00096940 - 1" identifier - number_literal) )) * number_literal) + identifier)) ;) (expression_statement "puVar7 = (undefined4 *)((int)__ptr_00 + DAT_00096940 * 8 + -8);" (assignment_expression "puVar7 = (undefined4 *)((int)__ptr_00 + DAT_00096940 * 8 + -8)" identifier = (cast_expression "(undefined4 *)((int)__ptr_00 + DAT_00096940 * 8 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__ptr_00 + DAT_00096940 * 8 + -8)" ( (binary_expression "(int)__ptr_00 + DAT_00096940 * 8 + -8" (binary_expression "(int)__ptr_00 + DAT_00096940 * 8" (cast_expression "(int)__ptr_00" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "DAT_00096940 * 8" identifier * number_literal)) + number_literal) )))) ;) (do_statement "do {\n        iVar2 = *(int *)(*(int *)(iVar9 + 8) + 0x80);\n        puVar7[1] = iVar9;\n        puVar1 = (undefined4 *)((int)__ptr + (iVar2 - iVar6) * 4);\n        uVar3 = *puVar1;\n        *puVar1 = puVar7;\n        *puVar7 = uVar3;\n        bVar10 = iVar8 != iVar9;\n        iVar9 = iVar9 + -0x60;\n        puVar7 = puVar7 + -2;\n      } while (bVar10);" do (compound_statement "{\n        iVar2 = *(int *)(*(int *)(iVar9 + 8) + 0x80);\n        puVar7[1] = iVar9;\n        puVar1 = (undefined4 *)((int)__ptr + (iVar2 - iVar6) * 4);\n        uVar3 = *puVar1;\n        *puVar1 = puVar7;\n        *puVar7 = uVar3;\n        bVar10 = iVar8 != iVar9;\n        iVar9 = iVar9 + -0x60;\n        puVar7 = puVar7 + -2;\n      }" { (expression_statement "iVar2 = *(int *)(*(int *)(iVar9 + 8) + 0x80);" (assignment_expression "iVar2 = *(int *)(*(int *)(iVar9 + 8) + 0x80)" identifier = (pointer_expression "*(int *)(*(int *)(iVar9 + 8) + 0x80)" * (cast_expression "(int *)(*(int *)(iVar9 + 8) + 0x80)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar9 + 8) + 0x80)" ( (binary_expression "*(int *)(iVar9 + 8) + 0x80" (pointer_expression "*(int *)(iVar9 + 8)" * (cast_expression "(int *)(iVar9 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 8)" ( (binary_expression "iVar9 + 8" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "puVar7[1] = iVar9;" (assignment_expression "puVar7[1] = iVar9" (subscript_expression "puVar7[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1 = (undefined4 *)((int)__ptr + (iVar2 - iVar6) * 4);" (assignment_expression "puVar1 = (undefined4 *)((int)__ptr + (iVar2 - iVar6) * 4)" identifier = (cast_expression "(undefined4 *)((int)__ptr + (iVar2 - iVar6) * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__ptr + (iVar2 - iVar6) * 4)" ( (binary_expression "(int)__ptr + (iVar2 - iVar6) * 4" (cast_expression "(int)__ptr" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(iVar2 - iVar6) * 4" (parenthesized_expression "(iVar2 - iVar6)" ( (binary_expression "iVar2 - iVar6" identifier - identifier) )) * number_literal)) )))) ;) (expression_statement "uVar3 = *puVar1;" (assignment_expression "uVar3 = *puVar1" identifier = (pointer_expression "*puVar1" * identifier)) ;) (expression_statement "*puVar1 = puVar7;" (assignment_expression "*puVar1 = puVar7" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "*puVar7 = uVar3;" (assignment_expression "*puVar7 = uVar3" (pointer_expression "*puVar7" * identifier) = identifier) ;) (expression_statement "bVar10 = iVar8 != iVar9;" (assignment_expression "bVar10 = iVar8 != iVar9" identifier = (binary_expression "iVar8 != iVar9" identifier != identifier)) ;) (expression_statement "iVar9 = iVar9 + -0x60;" (assignment_expression "iVar9 = iVar9 + -0x60" identifier = (binary_expression "iVar9 + -0x60" identifier + number_literal)) ;) (expression_statement "puVar7 = puVar7 + -2;" (assignment_expression "puVar7 = puVar7 + -2" identifier = (binary_expression "puVar7 + -2" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar10)" ( identifier )) ;) })) (if_statement "if ((-1 < (int)(DAT_00096934 << 2)) && (DAT_00096934 >> 0x1e == 0)) {\n      DAT_00099b28 = FUN_00066c20(DAT_00096934 << 2);\n      iVar6 = (DAT_00096940 + DAT_00096934) * 4;\n      if ((-1 < iVar6) && (DAT_00096940 + DAT_00096934 >> 0x1e == 0)) {\n        puVar7 = (undefined4 *)FUN_00066c20(iVar6);\n        iVar6 = DAT_00099b28;\n        if (DAT_000961c4 < DAT_00096938) {\n          iVar9 = DAT_00096938 - DAT_000961c4;\n          iVar8 = 0;\n          do {\n            puVar1 = *(undefined4 **)((int)__ptr + iVar8);\n            *(undefined4 **)(iVar6 + iVar8) = puVar7;\n            puVar4 = puVar7;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar7 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar4 = *puVar7;\n              puVar4 = puVar4 + 1;\n            }\n            iVar8 = iVar8 + 4;\n            puVar7 = puVar4 + 1;\n            *puVar4 = 0;\n          } while (iVar8 != iVar9 * 4);\n        }\n        puVar5 = PTR_stderr_00095fa8;\n        if (((byte)DAT_00096900 & 8) != 0) {\n          fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);\n          local_38 = DAT_000961c4;\n          if (DAT_000961c4 < DAT_00096938) {\n            do {\n              FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4));\n              puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);\n              puVar1 = (undefined4 *)*puVar7;\n              while (puVar1 != (undefined4 *)0x0) {\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < DAT_00096938);\n          }\n          fwrite_unlocked("\n\n",1,2,*(FILE **)puVar5);\n        }\n        free(__ptr);\n        free(__ptr_00);\n        return;\n      }\n    }" if (parenthesized_expression "((-1 < (int)(DAT_00096934 << 2)) && (DAT_00096934 >> 0x1e == 0))" ( (binary_expression "(-1 < (int)(DAT_00096934 << 2)) && (DAT_00096934 >> 0x1e == 0)" (parenthesized_expression "(-1 < (int)(DAT_00096934 << 2))" ( (binary_expression "-1 < (int)(DAT_00096934 << 2)" number_literal < (cast_expression "(int)(DAT_00096934 << 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(DAT_00096934 << 2)" ( (binary_expression "DAT_00096934 << 2" identifier << number_literal) )))) )) && (parenthesized_expression "(DAT_00096934 >> 0x1e == 0)" ( (binary_expression "DAT_00096934 >> 0x1e == 0" (binary_expression "DAT_00096934 >> 0x1e" identifier >> number_literal) == number_literal) ))) )) (compound_statement "{\n      DAT_00099b28 = FUN_00066c20(DAT_00096934 << 2);\n      iVar6 = (DAT_00096940 + DAT_00096934) * 4;\n      if ((-1 < iVar6) && (DAT_00096940 + DAT_00096934 >> 0x1e == 0)) {\n        puVar7 = (undefined4 *)FUN_00066c20(iVar6);\n        iVar6 = DAT_00099b28;\n        if (DAT_000961c4 < DAT_00096938) {\n          iVar9 = DAT_00096938 - DAT_000961c4;\n          iVar8 = 0;\n          do {\n            puVar1 = *(undefined4 **)((int)__ptr + iVar8);\n            *(undefined4 **)(iVar6 + iVar8) = puVar7;\n            puVar4 = puVar7;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar7 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar4 = *puVar7;\n              puVar4 = puVar4 + 1;\n            }\n            iVar8 = iVar8 + 4;\n            puVar7 = puVar4 + 1;\n            *puVar4 = 0;\n          } while (iVar8 != iVar9 * 4);\n        }\n        puVar5 = PTR_stderr_00095fa8;\n        if (((byte)DAT_00096900 & 8) != 0) {\n          fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);\n          local_38 = DAT_000961c4;\n          if (DAT_000961c4 < DAT_00096938) {\n            do {\n              FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4));\n              puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);\n              puVar1 = (undefined4 *)*puVar7;\n              while (puVar1 != (undefined4 *)0x0) {\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < DAT_00096938);\n          }\n          fwrite_unlocked("\n\n",1,2,*(FILE **)puVar5);\n        }\n        free(__ptr);\n        free(__ptr_00);\n        return;\n      }\n    }" { (expression_statement "DAT_00099b28 = FUN_00066c20(DAT_00096934 << 2);" (assignment_expression "DAT_00099b28 = FUN_00066c20(DAT_00096934 << 2)" identifier = (call_expression "FUN_00066c20(DAT_00096934 << 2)" identifier (argument_list "(DAT_00096934 << 2)" ( (binary_expression "DAT_00096934 << 2" identifier << number_literal) )))) ;) (expression_statement "iVar6 = (DAT_00096940 + DAT_00096934) * 4;" (assignment_expression "iVar6 = (DAT_00096940 + DAT_00096934) * 4" identifier = (binary_expression "(DAT_00096940 + DAT_00096934) * 4" (parenthesized_expression "(DAT_00096940 + DAT_00096934)" ( (binary_expression "DAT_00096940 + DAT_00096934" identifier + identifier) )) * number_literal)) ;) (if_statement "if ((-1 < iVar6) && (DAT_00096940 + DAT_00096934 >> 0x1e == 0)) {\n        puVar7 = (undefined4 *)FUN_00066c20(iVar6);\n        iVar6 = DAT_00099b28;\n        if (DAT_000961c4 < DAT_00096938) {\n          iVar9 = DAT_00096938 - DAT_000961c4;\n          iVar8 = 0;\n          do {\n            puVar1 = *(undefined4 **)((int)__ptr + iVar8);\n            *(undefined4 **)(iVar6 + iVar8) = puVar7;\n            puVar4 = puVar7;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar7 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar4 = *puVar7;\n              puVar4 = puVar4 + 1;\n            }\n            iVar8 = iVar8 + 4;\n            puVar7 = puVar4 + 1;\n            *puVar4 = 0;\n          } while (iVar8 != iVar9 * 4);\n        }\n        puVar5 = PTR_stderr_00095fa8;\n        if (((byte)DAT_00096900 & 8) != 0) {\n          fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);\n          local_38 = DAT_000961c4;\n          if (DAT_000961c4 < DAT_00096938) {\n            do {\n              FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4));\n              puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);\n              puVar1 = (undefined4 *)*puVar7;\n              while (puVar1 != (undefined4 *)0x0) {\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < DAT_00096938);\n          }\n          fwrite_unlocked("\n\n",1,2,*(FILE **)puVar5);\n        }\n        free(__ptr);\n        free(__ptr_00);\n        return;\n      }" if (parenthesized_expression "((-1 < iVar6) && (DAT_00096940 + DAT_00096934 >> 0x1e == 0))" ( (binary_expression "(-1 < iVar6) && (DAT_00096940 + DAT_00096934 >> 0x1e == 0)" (parenthesized_expression "(-1 < iVar6)" ( (binary_expression "-1 < iVar6" number_literal < identifier) )) && (parenthesized_expression "(DAT_00096940 + DAT_00096934 >> 0x1e == 0)" ( (binary_expression "DAT_00096940 + DAT_00096934 >> 0x1e == 0" (binary_expression "DAT_00096940 + DAT_00096934 >> 0x1e" (binary_expression "DAT_00096940 + DAT_00096934" identifier + identifier) >> number_literal) == number_literal) ))) )) (compound_statement "{\n        puVar7 = (undefined4 *)FUN_00066c20(iVar6);\n        iVar6 = DAT_00099b28;\n        if (DAT_000961c4 < DAT_00096938) {\n          iVar9 = DAT_00096938 - DAT_000961c4;\n          iVar8 = 0;\n          do {\n            puVar1 = *(undefined4 **)((int)__ptr + iVar8);\n            *(undefined4 **)(iVar6 + iVar8) = puVar7;\n            puVar4 = puVar7;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar7 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar4 = *puVar7;\n              puVar4 = puVar4 + 1;\n            }\n            iVar8 = iVar8 + 4;\n            puVar7 = puVar4 + 1;\n            *puVar4 = 0;\n          } while (iVar8 != iVar9 * 4);\n        }\n        puVar5 = PTR_stderr_00095fa8;\n        if (((byte)DAT_00096900 & 8) != 0) {\n          fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);\n          local_38 = DAT_000961c4;\n          if (DAT_000961c4 < DAT_00096938) {\n            do {\n              FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4));\n              puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);\n              puVar1 = (undefined4 *)*puVar7;\n              while (puVar1 != (undefined4 *)0x0) {\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < DAT_00096938);\n          }\n          fwrite_unlocked("\n\n",1,2,*(FILE **)puVar5);\n        }\n        free(__ptr);\n        free(__ptr_00);\n        return;\n      }" { (expression_statement "puVar7 = (undefined4 *)FUN_00066c20(iVar6);" (assignment_expression "puVar7 = (undefined4 *)FUN_00066c20(iVar6)" identifier = (cast_expression "(undefined4 *)FUN_00066c20(iVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00066c20(iVar6)" identifier (argument_list "(iVar6)" ( identifier ))))) ;) (expression_statement "iVar6 = DAT_00099b28;" (assignment_expression "iVar6 = DAT_00099b28" identifier = identifier) ;) (if_statement "if (DAT_000961c4 < DAT_00096938) {\n          iVar9 = DAT_00096938 - DAT_000961c4;\n          iVar8 = 0;\n          do {\n            puVar1 = *(undefined4 **)((int)__ptr + iVar8);\n            *(undefined4 **)(iVar6 + iVar8) = puVar7;\n            puVar4 = puVar7;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar7 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar4 = *puVar7;\n              puVar4 = puVar4 + 1;\n            }\n            iVar8 = iVar8 + 4;\n            puVar7 = puVar4 + 1;\n            *puVar4 = 0;\n          } while (iVar8 != iVar9 * 4);\n        }" if (parenthesized_expression "(DAT_000961c4 < DAT_00096938)" ( (binary_expression "DAT_000961c4 < DAT_00096938" identifier < identifier) )) (compound_statement "{\n          iVar9 = DAT_00096938 - DAT_000961c4;\n          iVar8 = 0;\n          do {\n            puVar1 = *(undefined4 **)((int)__ptr + iVar8);\n            *(undefined4 **)(iVar6 + iVar8) = puVar7;\n            puVar4 = puVar7;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar7 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar4 = *puVar7;\n              puVar4 = puVar4 + 1;\n            }\n            iVar8 = iVar8 + 4;\n            puVar7 = puVar4 + 1;\n            *puVar4 = 0;\n          } while (iVar8 != iVar9 * 4);\n        }" { (expression_statement "iVar9 = DAT_00096938 - DAT_000961c4;" (assignment_expression "iVar9 = DAT_00096938 - DAT_000961c4" identifier = (binary_expression "DAT_00096938 - DAT_000961c4" identifier - identifier)) ;) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (do_statement "do {\n            puVar1 = *(undefined4 **)((int)__ptr + iVar8);\n            *(undefined4 **)(iVar6 + iVar8) = puVar7;\n            puVar4 = puVar7;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar7 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar4 = *puVar7;\n              puVar4 = puVar4 + 1;\n            }\n            iVar8 = iVar8 + 4;\n            puVar7 = puVar4 + 1;\n            *puVar4 = 0;\n          } while (iVar8 != iVar9 * 4);" do (compound_statement "{\n            puVar1 = *(undefined4 **)((int)__ptr + iVar8);\n            *(undefined4 **)(iVar6 + iVar8) = puVar7;\n            puVar4 = puVar7;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar7 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar4 = *puVar7;\n              puVar4 = puVar4 + 1;\n            }\n            iVar8 = iVar8 + 4;\n            puVar7 = puVar4 + 1;\n            *puVar4 = 0;\n          }" { (expression_statement "puVar1 = *(undefined4 **)((int)__ptr + iVar8);" (assignment_expression "puVar1 = *(undefined4 **)((int)__ptr + iVar8)" identifier = (pointer_expression "*(undefined4 **)((int)__ptr + iVar8)" * (cast_expression "(undefined4 **)((int)__ptr + iVar8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)__ptr + iVar8)" ( (binary_expression "(int)__ptr + iVar8" (cast_expression "(int)__ptr" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) ))))) ;) (expression_statement "*(undefined4 **)(iVar6 + iVar8) = puVar7;" (assignment_expression "*(undefined4 **)(iVar6 + iVar8) = puVar7" (pointer_expression "*(undefined4 **)(iVar6 + iVar8)" * (cast_expression "(undefined4 **)(iVar6 + iVar8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + iVar8)" ( (binary_expression "iVar6 + iVar8" identifier + identifier) )))) = identifier) ;) (expression_statement "puVar4 = puVar7;" (assignment_expression "puVar4 = puVar7" identifier = identifier) ;) (while_statement "while (puVar1 != (undefined4 *)0x0) {\n              puVar7 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar4 = *puVar7;\n              puVar4 = puVar4 + 1;\n            }" while (parenthesized_expression "(puVar1 != (undefined4 *)0x0)" ( (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              puVar7 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar4 = *puVar7;\n              puVar4 = puVar4 + 1;\n            }" { (expression_statement "puVar7 = puVar1 + 1;" (assignment_expression "puVar7 = puVar1 + 1" identifier = (binary_expression "puVar1 + 1" identifier + number_literal)) ;) (expression_statement "puVar1 = (undefined4 *)*puVar1;" (assignment_expression "puVar1 = (undefined4 *)*puVar1" identifier = (cast_expression "(undefined4 *)*puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ;) (expression_statement "*puVar4 = *puVar7;" (assignment_expression "*puVar4 = *puVar7" (pointer_expression "*puVar4" * identifier) = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) })) (expression_statement "iVar8 = iVar8 + 4;" (assignment_expression "iVar8 = iVar8 + 4" identifier = (binary_expression "iVar8 + 4" identifier + number_literal)) ;) (expression_statement "puVar7 = puVar4 + 1;" (assignment_expression "puVar7 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) (expression_statement "*puVar4 = 0;" (assignment_expression "*puVar4 = 0" (pointer_expression "*puVar4" * identifier) = number_literal) ;) }) while (parenthesized_expression "(iVar8 != iVar9 * 4)" ( (binary_expression "iVar8 != iVar9 * 4" identifier != (binary_expression "iVar9 * 4" identifier * number_literal)) )) ;) })) (expression_statement "puVar5 = PTR_stderr_00095fa8;" (assignment_expression "puVar5 = PTR_stderr_00095fa8" identifier = identifier) ;) (if_statement "if (((byte)DAT_00096900 & 8) != 0) {\n          fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);\n          local_38 = DAT_000961c4;\n          if (DAT_000961c4 < DAT_00096938) {\n            do {\n              FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4));\n              puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);\n              puVar1 = (undefined4 *)*puVar7;\n              while (puVar1 != (undefined4 *)0x0) {\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < DAT_00096938);\n          }\n          fwrite_unlocked("\n\n",1,2,*(FILE **)puVar5);\n        }" if (parenthesized_expression "(((byte)DAT_00096900 & 8) != 0)" ( (binary_expression "((byte)DAT_00096900 & 8) != 0" (parenthesized_expression "((byte)DAT_00096900 & 8)" ( (binary_expression "(byte)DAT_00096900 & 8" (cast_expression "(byte)DAT_00096900" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n          fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);\n          local_38 = DAT_000961c4;\n          if (DAT_000961c4 < DAT_00096938) {\n            do {\n              FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4));\n              puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);\n              puVar1 = (undefined4 *)*puVar7;\n              while (puVar1 != (undefined4 *)0x0) {\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < DAT_00096938);\n          }\n          fwrite_unlocked("\n\n",1,2,*(FILE **)puVar5);\n        }" { (expression_statement "fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);" (call_expression "fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8)" identifier (argument_list "("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8)" ( (string_literal ""DERIVES\n"" " string_content escape_sequence ") , number_literal , number_literal , (pointer_expression "*(FILE **)PTR_stderr_00095fa8" * (cast_expression "(FILE **)PTR_stderr_00095fa8" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "local_38 = DAT_000961c4;" (assignment_expression "local_38 = DAT_000961c4" identifier = identifier) ;) (if_statement "if (DAT_000961c4 < DAT_00096938) {\n            do {\n              FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4));\n              puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);\n              puVar1 = (undefined4 *)*puVar7;\n              while (puVar1 != (undefined4 *)0x0) {\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < DAT_00096938);\n          }" if (parenthesized_expression "(DAT_000961c4 < DAT_00096938)" ( (binary_expression "DAT_000961c4 < DAT_00096938" identifier < identifier) )) (compound_statement "{\n            do {\n              FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4));\n              puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);\n              puVar1 = (undefined4 *)*puVar7;\n              while (puVar1 != (undefined4 *)0x0) {\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < DAT_00096938);\n          }" { (do_statement "do {\n              FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4));\n              puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);\n              puVar1 = (undefined4 *)*puVar7;\n              while (puVar1 != (undefined4 *)0x0) {\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < DAT_00096938);" do (compound_statement "{\n              FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4));\n              puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);\n              puVar1 = (undefined4 *)*puVar7;\n              while (puVar1 != (undefined4 *)0x0) {\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }\n              local_38 = local_38 + 1;\n            }" { (expression_statement "FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4));" (call_expression "FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4))" identifier (argument_list "(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4))" ( (pointer_expression "*(undefined4 *)puVar5" * (cast_expression "(undefined4 *)puVar5" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (string_literal ""  %s derives\n"" " string_content escape_sequence ") , (pointer_expression "**(undefined4 **)(DAT_0009693c + local_38 * 4)" * (pointer_expression "*(undefined4 **)(DAT_0009693c + local_38 * 4)" * (cast_expression "(undefined4 **)(DAT_0009693c + local_38 * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_0009693c + local_38 * 4)" ( (binary_expression "DAT_0009693c + local_38 * 4" identifier + (binary_expression "local_38 * 4" identifier * number_literal)) ))))) ))) ;) (expression_statement "puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);" (assignment_expression "puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4)" identifier = (pointer_expression "*(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4)" * (cast_expression "(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_00099b28 + (local_38 - DAT_000961c4) * 4)" ( (binary_expression "DAT_00099b28 + (local_38 - DAT_000961c4) * 4" identifier + (binary_expression "(local_38 - DAT_000961c4) * 4" (parenthesized_expression "(local_38 - DAT_000961c4)" ( (binary_expression "local_38 - DAT_000961c4" identifier - identifier) )) * number_literal)) ))))) ;) (expression_statement "puVar1 = (undefined4 *)*puVar7;" (assignment_expression "puVar1 = (undefined4 *)*puVar7" identifier = (cast_expression "(undefined4 *)*puVar7" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar7" * identifier))) ;) (while_statement "while (puVar1 != (undefined4 *)0x0) {\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }" while (parenthesized_expression "(puVar1 != (undefined4 *)0x0)" ( (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }" { (expression_statement "FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);" (call_expression "FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1)" identifier (argument_list "(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1)" ( (pointer_expression "*(undefined4 *)puVar5" * (cast_expression "(undefined4 *)puVar5" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (pointer_expression "&DAT_0006d5d5" & identifier) , (pointer_expression "*puVar1" * identifier) ))) ;) (expression_statement "FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);" (call_expression "FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5)" identifier (argument_list "(*puVar7,*(undefined4 *)puVar5)" ( (pointer_expression "*puVar7" * identifier) , (pointer_expression "*(undefined4 *)puVar5" * (cast_expression "(undefined4 *)puVar5" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "FUN_00067160(*(undefined4 *)puVar5,"\n");" (call_expression "FUN_00067160(*(undefined4 *)puVar5,"\n")" identifier (argument_list "(*(undefined4 *)puVar5,"\n")" ( (pointer_expression "*(undefined4 *)puVar5" * (cast_expression "(undefined4 *)puVar5" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (string_literal ""\n"" " escape_sequence ") ))) ;) (expression_statement "puVar1 = (undefined4 *)puVar7[1];" (assignment_expression "puVar1 = (undefined4 *)puVar7[1]" identifier = (cast_expression "(undefined4 *)puVar7[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar7[1]" identifier [ number_literal ]))) ;) (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) })) (expression_statement "local_38 = local_38 + 1;" (assignment_expression "local_38 = local_38 + 1" identifier = (binary_expression "local_38 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(local_38 < DAT_00096938)" ( (binary_expression "local_38 < DAT_00096938" identifier < identifier) )) ;) })) (expression_statement "fwrite_unlocked("\n\n",1,2,*(FILE **)puVar5);" (call_expression "fwrite_unlocked("\n\n",1,2,*(FILE **)puVar5)" identifier (argument_list "("\n\n",1,2,*(FILE **)puVar5)" ( (string_literal ""\n\n"" " escape_sequence escape_sequence ") , number_literal , number_literal , (pointer_expression "*(FILE **)puVar5" * (cast_expression "(FILE **)puVar5" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) })) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "free(__ptr_00);" (call_expression "free(__ptr_00)" identifier (argument_list "(__ptr_00)" ( identifier ))) ;) (return_statement "return;" return ;) })) })) })) (expression_statement "FUN_00066e40();" (call_expression "FUN_00066e40()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , LIT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT << LIT) )))) )) && (parenthesized_expression ( (binary_expression (binary_expression IDENT >> LIT) == 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 = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - LIT) )))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT - LIT) )) * LIT) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (binary_expression IDENT * LIT)) + LIT) )))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT != IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( IDENT )) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT << LIT) )))) )) && (parenthesized_expression ( (binary_expression (binary_expression IDENT >> LIT) == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT << LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT + IDENT) )) * LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < IDENT) )) && (parenthesized_expression ( (binary_expression (binary_expression (binary_expression IDENT + IDENT) >> LIT) == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT * LIT)) )) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content escape_sequence ") , LIT , LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , (string_literal " string_content escape_sequence ") , (pointer_expression * (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 = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , (pointer_expression & IDENT) , (pointer_expression * IDENT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , (string_literal " escape_sequence ") ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " escape_sequence escape_sequence ") , LIT , LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })) })) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void FUN_0001aaf0(void)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  void *__ptr;\n  void *__ptr_00;\n  int iVar6;\n  undefined4 *puVar7;\n  int iVar8;\n  int iVar9;\n  bool bVar10;\n  int local_38;\n  \n  __ptr = (void *)FUN_00066d60(DAT_00096934,4);\n  if ((-1 < (int)(DAT_00096940 << 3)) && (DAT_00096940 >> 0x1d == 0)) {\n    __ptr_00 = (void *)FUN_00066c20(DAT_00096940 << 3);\n    iVar8 = DAT_00096944;\n    iVar6 = DAT_000961c4;\n    if (-1 < (int)(DAT_00096940 - 1)) {\n      iVar9 = (DAT_00096940 - 1) * 0x60 + DAT_00096944;\n      puVar7 = (undefined4 *)((int)__ptr_00 + DAT_00096940 * 8 + -8);\n      do {\n        iVar2 = *(int *)(*(int *)(iVar9 + 8) + 0x80);\n        puVar7[1] = iVar9;\n        puVar1 = (undefined4 *)((int)__ptr + (iVar2 - iVar6) * 4);\n        uVar3 = *puVar1;\n        *puVar1 = puVar7;\n        *puVar7 = uVar3;\n        bVar10 = iVar8 != iVar9;\n        iVar9 = iVar9 + -0x60;\n        puVar7 = puVar7 + -2;\n      } while (bVar10);\n    }\n    if ((-1 < (int)(DAT_00096934 << 2)) && (DAT_00096934 >> 0x1e == 0)) {\n      DAT_00099b28 = FUN_00066c20(DAT_00096934 << 2);\n      iVar6 = (DAT_00096940 + DAT_00096934) * 4;\n      if ((-1 < iVar6) && (DAT_00096940 + DAT_00096934 >> 0x1e == 0)) {\n        puVar7 = (undefined4 *)FUN_00066c20(iVar6);\n        iVar6 = DAT_00099b28;\n        if (DAT_000961c4 < DAT_00096938) {\n          iVar9 = DAT_00096938 - DAT_000961c4;\n          iVar8 = 0;\n          do {\n            puVar1 = *(undefined4 **)((int)__ptr + iVar8);\n            *(undefined4 **)(iVar6 + iVar8) = puVar7;\n            puVar4 = puVar7;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar7 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar4 = *puVar7;\n              puVar4 = puVar4 + 1;\n            }\n            iVar8 = iVar8 + 4;\n            puVar7 = puVar4 + 1;\n            *puVar4 = 0;\n          } while (iVar8 != iVar9 * 4);\n        }\n        puVar5 = PTR_stderr_00095fa8;\n        if (((byte)DAT_00096900 & 8) != 0) {\n          fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);\n          local_38 = DAT_000961c4;\n          if (DAT_000961c4 < DAT_00096938) {\n            do {\n              FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4));\n              puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);\n              puVar1 = (undefined4 *)*puVar7;\n              while (puVar1 != (undefined4 *)0x0) {\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < DAT_00096938);\n          }\n          fwrite_unlocked("\n\n",1,2,*(FILE **)puVar5);\n        }\n        free(__ptr);\n        free(__ptr_00);\n        return;\n      }\n    }\n  }\n                    \n  FUN_00066e40();\n}" (primitive_type "void") (function_declarator "FUN_0001aaf0(void)" (identifier "FUN_0001aaf0") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined *puVar5;\n  void *__ptr;\n  void *__ptr_00;\n  int iVar6;\n  undefined4 *puVar7;\n  int iVar8;\n  int iVar9;\n  bool bVar10;\n  int local_38;\n  \n  __ptr = (void *)FUN_00066d60(DAT_00096934,4);\n  if ((-1 < (int)(DAT_00096940 << 3)) && (DAT_00096940 >> 0x1d == 0)) {\n    __ptr_00 = (void *)FUN_00066c20(DAT_00096940 << 3);\n    iVar8 = DAT_00096944;\n    iVar6 = DAT_000961c4;\n    if (-1 < (int)(DAT_00096940 - 1)) {\n      iVar9 = (DAT_00096940 - 1) * 0x60 + DAT_00096944;\n      puVar7 = (undefined4 *)((int)__ptr_00 + DAT_00096940 * 8 + -8);\n      do {\n        iVar2 = *(int *)(*(int *)(iVar9 + 8) + 0x80);\n        puVar7[1] = iVar9;\n        puVar1 = (undefined4 *)((int)__ptr + (iVar2 - iVar6) * 4);\n        uVar3 = *puVar1;\n        *puVar1 = puVar7;\n        *puVar7 = uVar3;\n        bVar10 = iVar8 != iVar9;\n        iVar9 = iVar9 + -0x60;\n        puVar7 = puVar7 + -2;\n      } while (bVar10);\n    }\n    if ((-1 < (int)(DAT_00096934 << 2)) && (DAT_00096934 >> 0x1e == 0)) {\n      DAT_00099b28 = FUN_00066c20(DAT_00096934 << 2);\n      iVar6 = (DAT_00096940 + DAT_00096934) * 4;\n      if ((-1 < iVar6) && (DAT_00096940 + DAT_00096934 >> 0x1e == 0)) {\n        puVar7 = (undefined4 *)FUN_00066c20(iVar6);\n        iVar6 = DAT_00099b28;\n        if (DAT_000961c4 < DAT_00096938) {\n          iVar9 = DAT_00096938 - DAT_000961c4;\n          iVar8 = 0;\n          do {\n            puVar1 = *(undefined4 **)((int)__ptr + iVar8);\n            *(undefined4 **)(iVar6 + iVar8) = puVar7;\n            puVar4 = puVar7;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar7 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar4 = *puVar7;\n              puVar4 = puVar4 + 1;\n            }\n            iVar8 = iVar8 + 4;\n            puVar7 = puVar4 + 1;\n            *puVar4 = 0;\n          } while (iVar8 != iVar9 * 4);\n        }\n        puVar5 = PTR_stderr_00095fa8;\n        if (((byte)DAT_00096900 & 8) != 0) {\n          fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);\n          local_38 = DAT_000961c4;\n          if (DAT_000961c4 < DAT_00096938) {\n            do {\n              FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4));\n              puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);\n              puVar1 = (undefined4 *)*puVar7;\n              while (puVar1 != (undefined4 *)0x0) {\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < DAT_00096938);\n          }\n          fwrite_unlocked("\n\n",1,2,*(FILE **)puVar5);\n        }\n        free(__ptr);\n        free(__ptr_00);\n        return;\n      }\n    }\n  }\n                    \n  FUN_00066e40();\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined *puVar5;" (type_identifier "undefined") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "void *__ptr;" (primitive_type "void") (pointer_declarator "*__ptr" (* "*") (identifier "__ptr")) (; ";")) (declaration "void *__ptr_00;" (primitive_type "void") (pointer_declarator "*__ptr_00" (* "*") (identifier "__ptr_00")) (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "undefined4 *puVar7;" (type_identifier "undefined4") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "bool bVar10;" (primitive_type "bool") (identifier "bVar10") (; ";")) (declaration "int local_38;" (primitive_type "int") (identifier "local_38") (; ";")) (expression_statement "__ptr = (void *)FUN_00066d60(DAT_00096934,4);" (assignment_expression "__ptr = (void *)FUN_00066d60(DAT_00096934,4)" (identifier "__ptr") (= "=") (cast_expression "(void *)FUN_00066d60(DAT_00096934,4)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00066d60(DAT_00096934,4)" (identifier "FUN_00066d60") (argument_list "(DAT_00096934,4)" (( "(") (identifier "DAT_00096934") (, ",") (number_literal "4") () ")"))))) (; ";")) (if_statement "if ((-1 < (int)(DAT_00096940 << 3)) && (DAT_00096940 >> 0x1d == 0)) {\n    __ptr_00 = (void *)FUN_00066c20(DAT_00096940 << 3);\n    iVar8 = DAT_00096944;\n    iVar6 = DAT_000961c4;\n    if (-1 < (int)(DAT_00096940 - 1)) {\n      iVar9 = (DAT_00096940 - 1) * 0x60 + DAT_00096944;\n      puVar7 = (undefined4 *)((int)__ptr_00 + DAT_00096940 * 8 + -8);\n      do {\n        iVar2 = *(int *)(*(int *)(iVar9 + 8) + 0x80);\n        puVar7[1] = iVar9;\n        puVar1 = (undefined4 *)((int)__ptr + (iVar2 - iVar6) * 4);\n        uVar3 = *puVar1;\n        *puVar1 = puVar7;\n        *puVar7 = uVar3;\n        bVar10 = iVar8 != iVar9;\n        iVar9 = iVar9 + -0x60;\n        puVar7 = puVar7 + -2;\n      } while (bVar10);\n    }\n    if ((-1 < (int)(DAT_00096934 << 2)) && (DAT_00096934 >> 0x1e == 0)) {\n      DAT_00099b28 = FUN_00066c20(DAT_00096934 << 2);\n      iVar6 = (DAT_00096940 + DAT_00096934) * 4;\n      if ((-1 < iVar6) && (DAT_00096940 + DAT_00096934 >> 0x1e == 0)) {\n        puVar7 = (undefined4 *)FUN_00066c20(iVar6);\n        iVar6 = DAT_00099b28;\n        if (DAT_000961c4 < DAT_00096938) {\n          iVar9 = DAT_00096938 - DAT_000961c4;\n          iVar8 = 0;\n          do {\n            puVar1 = *(undefined4 **)((int)__ptr + iVar8);\n            *(undefined4 **)(iVar6 + iVar8) = puVar7;\n            puVar4 = puVar7;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar7 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar4 = *puVar7;\n              puVar4 = puVar4 + 1;\n            }\n            iVar8 = iVar8 + 4;\n            puVar7 = puVar4 + 1;\n            *puVar4 = 0;\n          } while (iVar8 != iVar9 * 4);\n        }\n        puVar5 = PTR_stderr_00095fa8;\n        if (((byte)DAT_00096900 & 8) != 0) {\n          fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);\n          local_38 = DAT_000961c4;\n          if (DAT_000961c4 < DAT_00096938) {\n            do {\n              FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4));\n              puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);\n              puVar1 = (undefined4 *)*puVar7;\n              while (puVar1 != (undefined4 *)0x0) {\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < DAT_00096938);\n          }\n          fwrite_unlocked("\n\n",1,2,*(FILE **)puVar5);\n        }\n        free(__ptr);\n        free(__ptr_00);\n        return;\n      }\n    }\n  }" (if "if") (parenthesized_expression "((-1 < (int)(DAT_00096940 << 3)) && (DAT_00096940 >> 0x1d == 0))" (( "(") (binary_expression "(-1 < (int)(DAT_00096940 << 3)) && (DAT_00096940 >> 0x1d == 0)" (parenthesized_expression "(-1 < (int)(DAT_00096940 << 3))" (( "(") (binary_expression "-1 < (int)(DAT_00096940 << 3)" (number_literal "-1") (< "<") (cast_expression "(int)(DAT_00096940 << 3)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(DAT_00096940 << 3)" (( "(") (binary_expression "DAT_00096940 << 3" (identifier "DAT_00096940") (<< "<<") (number_literal "3")) () ")")))) () ")")) (&& "&&") (parenthesized_expression "(DAT_00096940 >> 0x1d == 0)" (( "(") (binary_expression "DAT_00096940 >> 0x1d == 0" (binary_expression "DAT_00096940 >> 0x1d" (identifier "DAT_00096940") (>> ">>") (number_literal "0x1d")) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    __ptr_00 = (void *)FUN_00066c20(DAT_00096940 << 3);\n    iVar8 = DAT_00096944;\n    iVar6 = DAT_000961c4;\n    if (-1 < (int)(DAT_00096940 - 1)) {\n      iVar9 = (DAT_00096940 - 1) * 0x60 + DAT_00096944;\n      puVar7 = (undefined4 *)((int)__ptr_00 + DAT_00096940 * 8 + -8);\n      do {\n        iVar2 = *(int *)(*(int *)(iVar9 + 8) + 0x80);\n        puVar7[1] = iVar9;\n        puVar1 = (undefined4 *)((int)__ptr + (iVar2 - iVar6) * 4);\n        uVar3 = *puVar1;\n        *puVar1 = puVar7;\n        *puVar7 = uVar3;\n        bVar10 = iVar8 != iVar9;\n        iVar9 = iVar9 + -0x60;\n        puVar7 = puVar7 + -2;\n      } while (bVar10);\n    }\n    if ((-1 < (int)(DAT_00096934 << 2)) && (DAT_00096934 >> 0x1e == 0)) {\n      DAT_00099b28 = FUN_00066c20(DAT_00096934 << 2);\n      iVar6 = (DAT_00096940 + DAT_00096934) * 4;\n      if ((-1 < iVar6) && (DAT_00096940 + DAT_00096934 >> 0x1e == 0)) {\n        puVar7 = (undefined4 *)FUN_00066c20(iVar6);\n        iVar6 = DAT_00099b28;\n        if (DAT_000961c4 < DAT_00096938) {\n          iVar9 = DAT_00096938 - DAT_000961c4;\n          iVar8 = 0;\n          do {\n            puVar1 = *(undefined4 **)((int)__ptr + iVar8);\n            *(undefined4 **)(iVar6 + iVar8) = puVar7;\n            puVar4 = puVar7;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar7 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar4 = *puVar7;\n              puVar4 = puVar4 + 1;\n            }\n            iVar8 = iVar8 + 4;\n            puVar7 = puVar4 + 1;\n            *puVar4 = 0;\n          } while (iVar8 != iVar9 * 4);\n        }\n        puVar5 = PTR_stderr_00095fa8;\n        if (((byte)DAT_00096900 & 8) != 0) {\n          fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);\n          local_38 = DAT_000961c4;\n          if (DAT_000961c4 < DAT_00096938) {\n            do {\n              FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4));\n              puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);\n              puVar1 = (undefined4 *)*puVar7;\n              while (puVar1 != (undefined4 *)0x0) {\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < DAT_00096938);\n          }\n          fwrite_unlocked("\n\n",1,2,*(FILE **)puVar5);\n        }\n        free(__ptr);\n        free(__ptr_00);\n        return;\n      }\n    }\n  }" ({ "{") (expression_statement "__ptr_00 = (void *)FUN_00066c20(DAT_00096940 << 3);" (assignment_expression "__ptr_00 = (void *)FUN_00066c20(DAT_00096940 << 3)" (identifier "__ptr_00") (= "=") (cast_expression "(void *)FUN_00066c20(DAT_00096940 << 3)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00066c20(DAT_00096940 << 3)" (identifier "FUN_00066c20") (argument_list "(DAT_00096940 << 3)" (( "(") (binary_expression "DAT_00096940 << 3" (identifier "DAT_00096940") (<< "<<") (number_literal "3")) () ")"))))) (; ";")) (expression_statement "iVar8 = DAT_00096944;" (assignment_expression "iVar8 = DAT_00096944" (identifier "iVar8") (= "=") (identifier "DAT_00096944")) (; ";")) (expression_statement "iVar6 = DAT_000961c4;" (assignment_expression "iVar6 = DAT_000961c4" (identifier "iVar6") (= "=") (identifier "DAT_000961c4")) (; ";")) (if_statement "if (-1 < (int)(DAT_00096940 - 1)) {\n      iVar9 = (DAT_00096940 - 1) * 0x60 + DAT_00096944;\n      puVar7 = (undefined4 *)((int)__ptr_00 + DAT_00096940 * 8 + -8);\n      do {\n        iVar2 = *(int *)(*(int *)(iVar9 + 8) + 0x80);\n        puVar7[1] = iVar9;\n        puVar1 = (undefined4 *)((int)__ptr + (iVar2 - iVar6) * 4);\n        uVar3 = *puVar1;\n        *puVar1 = puVar7;\n        *puVar7 = uVar3;\n        bVar10 = iVar8 != iVar9;\n        iVar9 = iVar9 + -0x60;\n        puVar7 = puVar7 + -2;\n      } while (bVar10);\n    }" (if "if") (parenthesized_expression "(-1 < (int)(DAT_00096940 - 1))" (( "(") (binary_expression "-1 < (int)(DAT_00096940 - 1)" (number_literal "-1") (< "<") (cast_expression "(int)(DAT_00096940 - 1)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(DAT_00096940 - 1)" (( "(") (binary_expression "DAT_00096940 - 1" (identifier "DAT_00096940") (- "-") (number_literal "1")) () ")")))) () ")")) (compound_statement "{\n      iVar9 = (DAT_00096940 - 1) * 0x60 + DAT_00096944;\n      puVar7 = (undefined4 *)((int)__ptr_00 + DAT_00096940 * 8 + -8);\n      do {\n        iVar2 = *(int *)(*(int *)(iVar9 + 8) + 0x80);\n        puVar7[1] = iVar9;\n        puVar1 = (undefined4 *)((int)__ptr + (iVar2 - iVar6) * 4);\n        uVar3 = *puVar1;\n        *puVar1 = puVar7;\n        *puVar7 = uVar3;\n        bVar10 = iVar8 != iVar9;\n        iVar9 = iVar9 + -0x60;\n        puVar7 = puVar7 + -2;\n      } while (bVar10);\n    }" ({ "{") (expression_statement "iVar9 = (DAT_00096940 - 1) * 0x60 + DAT_00096944;" (assignment_expression "iVar9 = (DAT_00096940 - 1) * 0x60 + DAT_00096944" (identifier "iVar9") (= "=") (binary_expression "(DAT_00096940 - 1) * 0x60 + DAT_00096944" (binary_expression "(DAT_00096940 - 1) * 0x60" (parenthesized_expression "(DAT_00096940 - 1)" (( "(") (binary_expression "DAT_00096940 - 1" (identifier "DAT_00096940") (- "-") (number_literal "1")) () ")")) (* "*") (number_literal "0x60")) (+ "+") (identifier "DAT_00096944"))) (; ";")) (expression_statement "puVar7 = (undefined4 *)((int)__ptr_00 + DAT_00096940 * 8 + -8);" (assignment_expression "puVar7 = (undefined4 *)((int)__ptr_00 + DAT_00096940 * 8 + -8)" (identifier "puVar7") (= "=") (cast_expression "(undefined4 *)((int)__ptr_00 + DAT_00096940 * 8 + -8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)__ptr_00 + DAT_00096940 * 8 + -8)" (( "(") (binary_expression "(int)__ptr_00 + DAT_00096940 * 8 + -8" (binary_expression "(int)__ptr_00 + DAT_00096940 * 8" (cast_expression "(int)__ptr_00" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__ptr_00")) (+ "+") (binary_expression "DAT_00096940 * 8" (identifier "DAT_00096940") (* "*") (number_literal "8"))) (+ "+") (number_literal "-8")) () ")")))) (; ";")) (do_statement "do {\n        iVar2 = *(int *)(*(int *)(iVar9 + 8) + 0x80);\n        puVar7[1] = iVar9;\n        puVar1 = (undefined4 *)((int)__ptr + (iVar2 - iVar6) * 4);\n        uVar3 = *puVar1;\n        *puVar1 = puVar7;\n        *puVar7 = uVar3;\n        bVar10 = iVar8 != iVar9;\n        iVar9 = iVar9 + -0x60;\n        puVar7 = puVar7 + -2;\n      } while (bVar10);" (do "do") (compound_statement "{\n        iVar2 = *(int *)(*(int *)(iVar9 + 8) + 0x80);\n        puVar7[1] = iVar9;\n        puVar1 = (undefined4 *)((int)__ptr + (iVar2 - iVar6) * 4);\n        uVar3 = *puVar1;\n        *puVar1 = puVar7;\n        *puVar7 = uVar3;\n        bVar10 = iVar8 != iVar9;\n        iVar9 = iVar9 + -0x60;\n        puVar7 = puVar7 + -2;\n      }" ({ "{") (expression_statement "iVar2 = *(int *)(*(int *)(iVar9 + 8) + 0x80);" (assignment_expression "iVar2 = *(int *)(*(int *)(iVar9 + 8) + 0x80)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(*(int *)(iVar9 + 8) + 0x80)" (* "*") (cast_expression "(int *)(*(int *)(iVar9 + 8) + 0x80)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar9 + 8) + 0x80)" (( "(") (binary_expression "*(int *)(iVar9 + 8) + 0x80" (pointer_expression "*(int *)(iVar9 + 8)" (* "*") (cast_expression "(int *)(iVar9 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 8)" (( "(") (binary_expression "iVar9 + 8" (identifier "iVar9") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x80")) () ")"))))) (; ";")) (expression_statement "puVar7[1] = iVar9;" (assignment_expression "puVar7[1] = iVar9" (subscript_expression "puVar7[1]" (identifier "puVar7") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar9")) (; ";")) (expression_statement "puVar1 = (undefined4 *)((int)__ptr + (iVar2 - iVar6) * 4);" (assignment_expression "puVar1 = (undefined4 *)((int)__ptr + (iVar2 - iVar6) * 4)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)((int)__ptr + (iVar2 - iVar6) * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)__ptr + (iVar2 - iVar6) * 4)" (( "(") (binary_expression "(int)__ptr + (iVar2 - iVar6) * 4" (cast_expression "(int)__ptr" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__ptr")) (+ "+") (binary_expression "(iVar2 - iVar6) * 4" (parenthesized_expression "(iVar2 - iVar6)" (( "(") (binary_expression "iVar2 - iVar6" (identifier "iVar2") (- "-") (identifier "iVar6")) () ")")) (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "uVar3 = *puVar1;" (assignment_expression "uVar3 = *puVar1" (identifier "uVar3") (= "=") (pointer_expression "*puVar1" (* "*") (identifier "puVar1"))) (; ";")) (expression_statement "*puVar1 = puVar7;" (assignment_expression "*puVar1 = puVar7" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (identifier "puVar7")) (; ";")) (expression_statement "*puVar7 = uVar3;" (assignment_expression "*puVar7 = uVar3" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "bVar10 = iVar8 != iVar9;" (assignment_expression "bVar10 = iVar8 != iVar9" (identifier "bVar10") (= "=") (binary_expression "iVar8 != iVar9" (identifier "iVar8") (!= "!=") (identifier "iVar9"))) (; ";")) (expression_statement "iVar9 = iVar9 + -0x60;" (assignment_expression "iVar9 = iVar9 + -0x60" (identifier "iVar9") (= "=") (binary_expression "iVar9 + -0x60" (identifier "iVar9") (+ "+") (number_literal "-0x60"))) (; ";")) (expression_statement "puVar7 = puVar7 + -2;" (assignment_expression "puVar7 = puVar7 + -2" (identifier "puVar7") (= "=") (binary_expression "puVar7 + -2" (identifier "puVar7") (+ "+") (number_literal "-2"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar10)" (( "(") (identifier "bVar10") () ")")) (; ";")) (} "}"))) (if_statement "if ((-1 < (int)(DAT_00096934 << 2)) && (DAT_00096934 >> 0x1e == 0)) {\n      DAT_00099b28 = FUN_00066c20(DAT_00096934 << 2);\n      iVar6 = (DAT_00096940 + DAT_00096934) * 4;\n      if ((-1 < iVar6) && (DAT_00096940 + DAT_00096934 >> 0x1e == 0)) {\n        puVar7 = (undefined4 *)FUN_00066c20(iVar6);\n        iVar6 = DAT_00099b28;\n        if (DAT_000961c4 < DAT_00096938) {\n          iVar9 = DAT_00096938 - DAT_000961c4;\n          iVar8 = 0;\n          do {\n            puVar1 = *(undefined4 **)((int)__ptr + iVar8);\n            *(undefined4 **)(iVar6 + iVar8) = puVar7;\n            puVar4 = puVar7;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar7 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar4 = *puVar7;\n              puVar4 = puVar4 + 1;\n            }\n            iVar8 = iVar8 + 4;\n            puVar7 = puVar4 + 1;\n            *puVar4 = 0;\n          } while (iVar8 != iVar9 * 4);\n        }\n        puVar5 = PTR_stderr_00095fa8;\n        if (((byte)DAT_00096900 & 8) != 0) {\n          fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);\n          local_38 = DAT_000961c4;\n          if (DAT_000961c4 < DAT_00096938) {\n            do {\n              FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4));\n              puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);\n              puVar1 = (undefined4 *)*puVar7;\n              while (puVar1 != (undefined4 *)0x0) {\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < DAT_00096938);\n          }\n          fwrite_unlocked("\n\n",1,2,*(FILE **)puVar5);\n        }\n        free(__ptr);\n        free(__ptr_00);\n        return;\n      }\n    }" (if "if") (parenthesized_expression "((-1 < (int)(DAT_00096934 << 2)) && (DAT_00096934 >> 0x1e == 0))" (( "(") (binary_expression "(-1 < (int)(DAT_00096934 << 2)) && (DAT_00096934 >> 0x1e == 0)" (parenthesized_expression "(-1 < (int)(DAT_00096934 << 2))" (( "(") (binary_expression "-1 < (int)(DAT_00096934 << 2)" (number_literal "-1") (< "<") (cast_expression "(int)(DAT_00096934 << 2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(DAT_00096934 << 2)" (( "(") (binary_expression "DAT_00096934 << 2" (identifier "DAT_00096934") (<< "<<") (number_literal "2")) () ")")))) () ")")) (&& "&&") (parenthesized_expression "(DAT_00096934 >> 0x1e == 0)" (( "(") (binary_expression "DAT_00096934 >> 0x1e == 0" (binary_expression "DAT_00096934 >> 0x1e" (identifier "DAT_00096934") (>> ">>") (number_literal "0x1e")) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n      DAT_00099b28 = FUN_00066c20(DAT_00096934 << 2);\n      iVar6 = (DAT_00096940 + DAT_00096934) * 4;\n      if ((-1 < iVar6) && (DAT_00096940 + DAT_00096934 >> 0x1e == 0)) {\n        puVar7 = (undefined4 *)FUN_00066c20(iVar6);\n        iVar6 = DAT_00099b28;\n        if (DAT_000961c4 < DAT_00096938) {\n          iVar9 = DAT_00096938 - DAT_000961c4;\n          iVar8 = 0;\n          do {\n            puVar1 = *(undefined4 **)((int)__ptr + iVar8);\n            *(undefined4 **)(iVar6 + iVar8) = puVar7;\n            puVar4 = puVar7;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar7 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar4 = *puVar7;\n              puVar4 = puVar4 + 1;\n            }\n            iVar8 = iVar8 + 4;\n            puVar7 = puVar4 + 1;\n            *puVar4 = 0;\n          } while (iVar8 != iVar9 * 4);\n        }\n        puVar5 = PTR_stderr_00095fa8;\n        if (((byte)DAT_00096900 & 8) != 0) {\n          fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);\n          local_38 = DAT_000961c4;\n          if (DAT_000961c4 < DAT_00096938) {\n            do {\n              FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4));\n              puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);\n              puVar1 = (undefined4 *)*puVar7;\n              while (puVar1 != (undefined4 *)0x0) {\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < DAT_00096938);\n          }\n          fwrite_unlocked("\n\n",1,2,*(FILE **)puVar5);\n        }\n        free(__ptr);\n        free(__ptr_00);\n        return;\n      }\n    }" ({ "{") (expression_statement "DAT_00099b28 = FUN_00066c20(DAT_00096934 << 2);" (assignment_expression "DAT_00099b28 = FUN_00066c20(DAT_00096934 << 2)" (identifier "DAT_00099b28") (= "=") (call_expression "FUN_00066c20(DAT_00096934 << 2)" (identifier "FUN_00066c20") (argument_list "(DAT_00096934 << 2)" (( "(") (binary_expression "DAT_00096934 << 2" (identifier "DAT_00096934") (<< "<<") (number_literal "2")) () ")")))) (; ";")) (expression_statement "iVar6 = (DAT_00096940 + DAT_00096934) * 4;" (assignment_expression "iVar6 = (DAT_00096940 + DAT_00096934) * 4" (identifier "iVar6") (= "=") (binary_expression "(DAT_00096940 + DAT_00096934) * 4" (parenthesized_expression "(DAT_00096940 + DAT_00096934)" (( "(") (binary_expression "DAT_00096940 + DAT_00096934" (identifier "DAT_00096940") (+ "+") (identifier "DAT_00096934")) () ")")) (* "*") (number_literal "4"))) (; ";")) (if_statement "if ((-1 < iVar6) && (DAT_00096940 + DAT_00096934 >> 0x1e == 0)) {\n        puVar7 = (undefined4 *)FUN_00066c20(iVar6);\n        iVar6 = DAT_00099b28;\n        if (DAT_000961c4 < DAT_00096938) {\n          iVar9 = DAT_00096938 - DAT_000961c4;\n          iVar8 = 0;\n          do {\n            puVar1 = *(undefined4 **)((int)__ptr + iVar8);\n            *(undefined4 **)(iVar6 + iVar8) = puVar7;\n            puVar4 = puVar7;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar7 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar4 = *puVar7;\n              puVar4 = puVar4 + 1;\n            }\n            iVar8 = iVar8 + 4;\n            puVar7 = puVar4 + 1;\n            *puVar4 = 0;\n          } while (iVar8 != iVar9 * 4);\n        }\n        puVar5 = PTR_stderr_00095fa8;\n        if (((byte)DAT_00096900 & 8) != 0) {\n          fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);\n          local_38 = DAT_000961c4;\n          if (DAT_000961c4 < DAT_00096938) {\n            do {\n              FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4));\n              puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);\n              puVar1 = (undefined4 *)*puVar7;\n              while (puVar1 != (undefined4 *)0x0) {\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < DAT_00096938);\n          }\n          fwrite_unlocked("\n\n",1,2,*(FILE **)puVar5);\n        }\n        free(__ptr);\n        free(__ptr_00);\n        return;\n      }" (if "if") (parenthesized_expression "((-1 < iVar6) && (DAT_00096940 + DAT_00096934 >> 0x1e == 0))" (( "(") (binary_expression "(-1 < iVar6) && (DAT_00096940 + DAT_00096934 >> 0x1e == 0)" (parenthesized_expression "(-1 < iVar6)" (( "(") (binary_expression "-1 < iVar6" (number_literal "-1") (< "<") (identifier "iVar6")) () ")")) (&& "&&") (parenthesized_expression "(DAT_00096940 + DAT_00096934 >> 0x1e == 0)" (( "(") (binary_expression "DAT_00096940 + DAT_00096934 >> 0x1e == 0" (binary_expression "DAT_00096940 + DAT_00096934 >> 0x1e" (binary_expression "DAT_00096940 + DAT_00096934" (identifier "DAT_00096940") (+ "+") (identifier "DAT_00096934")) (>> ">>") (number_literal "0x1e")) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n        puVar7 = (undefined4 *)FUN_00066c20(iVar6);\n        iVar6 = DAT_00099b28;\n        if (DAT_000961c4 < DAT_00096938) {\n          iVar9 = DAT_00096938 - DAT_000961c4;\n          iVar8 = 0;\n          do {\n            puVar1 = *(undefined4 **)((int)__ptr + iVar8);\n            *(undefined4 **)(iVar6 + iVar8) = puVar7;\n            puVar4 = puVar7;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar7 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar4 = *puVar7;\n              puVar4 = puVar4 + 1;\n            }\n            iVar8 = iVar8 + 4;\n            puVar7 = puVar4 + 1;\n            *puVar4 = 0;\n          } while (iVar8 != iVar9 * 4);\n        }\n        puVar5 = PTR_stderr_00095fa8;\n        if (((byte)DAT_00096900 & 8) != 0) {\n          fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);\n          local_38 = DAT_000961c4;\n          if (DAT_000961c4 < DAT_00096938) {\n            do {\n              FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4));\n              puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);\n              puVar1 = (undefined4 *)*puVar7;\n              while (puVar1 != (undefined4 *)0x0) {\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < DAT_00096938);\n          }\n          fwrite_unlocked("\n\n",1,2,*(FILE **)puVar5);\n        }\n        free(__ptr);\n        free(__ptr_00);\n        return;\n      }" ({ "{") (expression_statement "puVar7 = (undefined4 *)FUN_00066c20(iVar6);" (assignment_expression "puVar7 = (undefined4 *)FUN_00066c20(iVar6)" (identifier "puVar7") (= "=") (cast_expression "(undefined4 *)FUN_00066c20(iVar6)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00066c20(iVar6)" (identifier "FUN_00066c20") (argument_list "(iVar6)" (( "(") (identifier "iVar6") () ")"))))) (; ";")) (expression_statement "iVar6 = DAT_00099b28;" (assignment_expression "iVar6 = DAT_00099b28" (identifier "iVar6") (= "=") (identifier "DAT_00099b28")) (; ";")) (if_statement "if (DAT_000961c4 < DAT_00096938) {\n          iVar9 = DAT_00096938 - DAT_000961c4;\n          iVar8 = 0;\n          do {\n            puVar1 = *(undefined4 **)((int)__ptr + iVar8);\n            *(undefined4 **)(iVar6 + iVar8) = puVar7;\n            puVar4 = puVar7;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar7 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar4 = *puVar7;\n              puVar4 = puVar4 + 1;\n            }\n            iVar8 = iVar8 + 4;\n            puVar7 = puVar4 + 1;\n            *puVar4 = 0;\n          } while (iVar8 != iVar9 * 4);\n        }" (if "if") (parenthesized_expression "(DAT_000961c4 < DAT_00096938)" (( "(") (binary_expression "DAT_000961c4 < DAT_00096938" (identifier "DAT_000961c4") (< "<") (identifier "DAT_00096938")) () ")")) (compound_statement "{\n          iVar9 = DAT_00096938 - DAT_000961c4;\n          iVar8 = 0;\n          do {\n            puVar1 = *(undefined4 **)((int)__ptr + iVar8);\n            *(undefined4 **)(iVar6 + iVar8) = puVar7;\n            puVar4 = puVar7;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar7 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar4 = *puVar7;\n              puVar4 = puVar4 + 1;\n            }\n            iVar8 = iVar8 + 4;\n            puVar7 = puVar4 + 1;\n            *puVar4 = 0;\n          } while (iVar8 != iVar9 * 4);\n        }" ({ "{") (expression_statement "iVar9 = DAT_00096938 - DAT_000961c4;" (assignment_expression "iVar9 = DAT_00096938 - DAT_000961c4" (identifier "iVar9") (= "=") (binary_expression "DAT_00096938 - DAT_000961c4" (identifier "DAT_00096938") (- "-") (identifier "DAT_000961c4"))) (; ";")) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" (identifier "iVar8") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n            puVar1 = *(undefined4 **)((int)__ptr + iVar8);\n            *(undefined4 **)(iVar6 + iVar8) = puVar7;\n            puVar4 = puVar7;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar7 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar4 = *puVar7;\n              puVar4 = puVar4 + 1;\n            }\n            iVar8 = iVar8 + 4;\n            puVar7 = puVar4 + 1;\n            *puVar4 = 0;\n          } while (iVar8 != iVar9 * 4);" (do "do") (compound_statement "{\n            puVar1 = *(undefined4 **)((int)__ptr + iVar8);\n            *(undefined4 **)(iVar6 + iVar8) = puVar7;\n            puVar4 = puVar7;\n            while (puVar1 != (undefined4 *)0x0) {\n              puVar7 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar4 = *puVar7;\n              puVar4 = puVar4 + 1;\n            }\n            iVar8 = iVar8 + 4;\n            puVar7 = puVar4 + 1;\n            *puVar4 = 0;\n          }" ({ "{") (expression_statement "puVar1 = *(undefined4 **)((int)__ptr + iVar8);" (assignment_expression "puVar1 = *(undefined4 **)((int)__ptr + iVar8)" (identifier "puVar1") (= "=") (pointer_expression "*(undefined4 **)((int)__ptr + iVar8)" (* "*") (cast_expression "(undefined4 **)((int)__ptr + iVar8)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)__ptr + iVar8)" (( "(") (binary_expression "(int)__ptr + iVar8" (cast_expression "(int)__ptr" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__ptr")) (+ "+") (identifier "iVar8")) () ")"))))) (; ";")) (expression_statement "*(undefined4 **)(iVar6 + iVar8) = puVar7;" (assignment_expression "*(undefined4 **)(iVar6 + iVar8) = puVar7" (pointer_expression "*(undefined4 **)(iVar6 + iVar8)" (* "*") (cast_expression "(undefined4 **)(iVar6 + iVar8)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar6 + iVar8)" (( "(") (binary_expression "iVar6 + iVar8" (identifier "iVar6") (+ "+") (identifier "iVar8")) () ")")))) (= "=") (identifier "puVar7")) (; ";")) (expression_statement "puVar4 = puVar7;" (assignment_expression "puVar4 = puVar7" (identifier "puVar4") (= "=") (identifier "puVar7")) (; ";")) (while_statement "while (puVar1 != (undefined4 *)0x0) {\n              puVar7 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar4 = *puVar7;\n              puVar4 = puVar4 + 1;\n            }" (while "while") (parenthesized_expression "(puVar1 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar1 != (undefined4 *)0x0" (identifier "puVar1") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n              puVar7 = puVar1 + 1;\n              puVar1 = (undefined4 *)*puVar1;\n              *puVar4 = *puVar7;\n              puVar4 = puVar4 + 1;\n            }" ({ "{") (expression_statement "puVar7 = puVar1 + 1;" (assignment_expression "puVar7 = puVar1 + 1" (identifier "puVar7") (= "=") (binary_expression "puVar1 + 1" (identifier "puVar1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar1 = (undefined4 *)*puVar1;" (assignment_expression "puVar1 = (undefined4 *)*puVar1" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)*puVar1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")))) (; ";")) (expression_statement "*puVar4 = *puVar7;" (assignment_expression "*puVar4 = *puVar7" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (pointer_expression "*puVar7" (* "*") (identifier "puVar7"))) (; ";")) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" (identifier "puVar4") (= "=") (binary_expression "puVar4 + 1" (identifier "puVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "iVar8 = iVar8 + 4;" (assignment_expression "iVar8 = iVar8 + 4" (identifier "iVar8") (= "=") (binary_expression "iVar8 + 4" (identifier "iVar8") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "puVar7 = puVar4 + 1;" (assignment_expression "puVar7 = puVar4 + 1" (identifier "puVar7") (= "=") (binary_expression "puVar4 + 1" (identifier "puVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar4 = 0;" (assignment_expression "*puVar4 = 0" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (number_literal "0")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar8 != iVar9 * 4)" (( "(") (binary_expression "iVar8 != iVar9 * 4" (identifier "iVar8") (!= "!=") (binary_expression "iVar9 * 4" (identifier "iVar9") (* "*") (number_literal "4"))) () ")")) (; ";")) (} "}"))) (expression_statement "puVar5 = PTR_stderr_00095fa8;" (assignment_expression "puVar5 = PTR_stderr_00095fa8" (identifier "puVar5") (= "=") (identifier "PTR_stderr_00095fa8")) (; ";")) (if_statement "if (((byte)DAT_00096900 & 8) != 0) {\n          fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);\n          local_38 = DAT_000961c4;\n          if (DAT_000961c4 < DAT_00096938) {\n            do {\n              FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4));\n              puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);\n              puVar1 = (undefined4 *)*puVar7;\n              while (puVar1 != (undefined4 *)0x0) {\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < DAT_00096938);\n          }\n          fwrite_unlocked("\n\n",1,2,*(FILE **)puVar5);\n        }" (if "if") (parenthesized_expression "(((byte)DAT_00096900 & 8) != 0)" (( "(") (binary_expression "((byte)DAT_00096900 & 8) != 0" (parenthesized_expression "((byte)DAT_00096900 & 8)" (( "(") (binary_expression "(byte)DAT_00096900 & 8" (cast_expression "(byte)DAT_00096900" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "DAT_00096900")) (& "&") (number_literal "8")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);\n          local_38 = DAT_000961c4;\n          if (DAT_000961c4 < DAT_00096938) {\n            do {\n              FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4));\n              puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);\n              puVar1 = (undefined4 *)*puVar7;\n              while (puVar1 != (undefined4 *)0x0) {\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < DAT_00096938);\n          }\n          fwrite_unlocked("\n\n",1,2,*(FILE **)puVar5);\n        }" ({ "{") (expression_statement "fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);" (call_expression "fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8)" (identifier "fwrite_unlocked") (argument_list "("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8)" (( "(") (string_literal ""DERIVES\n"" (" """) (string_content "DERIVES") (escape_sequence "\n") (" """)) (, ",") (number_literal "1") (, ",") (number_literal "8") (, ",") (pointer_expression "*(FILE **)PTR_stderr_00095fa8" (* "*") (cast_expression "(FILE **)PTR_stderr_00095fa8" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_stderr_00095fa8"))) () ")"))) (; ";")) (expression_statement "local_38 = DAT_000961c4;" (assignment_expression "local_38 = DAT_000961c4" (identifier "local_38") (= "=") (identifier "DAT_000961c4")) (; ";")) (if_statement "if (DAT_000961c4 < DAT_00096938) {\n            do {\n              FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4));\n              puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);\n              puVar1 = (undefined4 *)*puVar7;\n              while (puVar1 != (undefined4 *)0x0) {\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < DAT_00096938);\n          }" (if "if") (parenthesized_expression "(DAT_000961c4 < DAT_00096938)" (( "(") (binary_expression "DAT_000961c4 < DAT_00096938" (identifier "DAT_000961c4") (< "<") (identifier "DAT_00096938")) () ")")) (compound_statement "{\n            do {\n              FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4));\n              puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);\n              puVar1 = (undefined4 *)*puVar7;\n              while (puVar1 != (undefined4 *)0x0) {\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < DAT_00096938);\n          }" ({ "{") (do_statement "do {\n              FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4));\n              puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);\n              puVar1 = (undefined4 *)*puVar7;\n              while (puVar1 != (undefined4 *)0x0) {\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }\n              local_38 = local_38 + 1;\n            } while (local_38 < DAT_00096938);" (do "do") (compound_statement "{\n              FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4));\n              puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);\n              puVar1 = (undefined4 *)*puVar7;\n              while (puVar1 != (undefined4 *)0x0) {\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }\n              local_38 = local_38 + 1;\n            }" ({ "{") (expression_statement "FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4));" (call_expression "FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4))" (identifier "FUN_00067160") (argument_list "(*(undefined4 *)puVar5,"  %s derives\n",\n                           **(undefined4 **)(DAT_0009693c + local_38 * 4))" (( "(") (pointer_expression "*(undefined4 *)puVar5" (* "*") (cast_expression "(undefined4 *)puVar5" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar5"))) (, ",") (string_literal ""  %s derives\n"" (" """) (string_content "  %s derives") (escape_sequence "\n") (" """)) (, ",") (pointer_expression "**(undefined4 **)(DAT_0009693c + local_38 * 4)" (* "*") (pointer_expression "*(undefined4 **)(DAT_0009693c + local_38 * 4)" (* "*") (cast_expression "(undefined4 **)(DAT_0009693c + local_38 * 4)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(DAT_0009693c + local_38 * 4)" (( "(") (binary_expression "DAT_0009693c + local_38 * 4" (identifier "DAT_0009693c") (+ "+") (binary_expression "local_38 * 4" (identifier "local_38") (* "*") (number_literal "4"))) () ")"))))) () ")"))) (; ";")) (expression_statement "puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);" (assignment_expression "puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4)" (identifier "puVar7") (= "=") (pointer_expression "*(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4)" (* "*") (cast_expression "(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(DAT_00099b28 + (local_38 - DAT_000961c4) * 4)" (( "(") (binary_expression "DAT_00099b28 + (local_38 - DAT_000961c4) * 4" (identifier "DAT_00099b28") (+ "+") (binary_expression "(local_38 - DAT_000961c4) * 4" (parenthesized_expression "(local_38 - DAT_000961c4)" (( "(") (binary_expression "local_38 - DAT_000961c4" (identifier "local_38") (- "-") (identifier "DAT_000961c4")) () ")")) (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "puVar1 = (undefined4 *)*puVar7;" (assignment_expression "puVar1 = (undefined4 *)*puVar7" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)*puVar7" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar7" (* "*") (identifier "puVar7")))) (; ";")) (while_statement "while (puVar1 != (undefined4 *)0x0) {\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }" (while "while") (parenthesized_expression "(puVar1 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar1 != (undefined4 *)0x0" (identifier "puVar1") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);\n                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);\n                FUN_00067160(*(undefined4 *)puVar5,"\n");\n                puVar1 = (undefined4 *)puVar7[1];\n                puVar7 = puVar7 + 1;\n              }" ({ "{") (expression_statement "FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);" (call_expression "FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1)" (identifier "FUN_00067160") (argument_list "(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1)" (( "(") (pointer_expression "*(undefined4 *)puVar5" (* "*") (cast_expression "(undefined4 *)puVar5" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar5"))) (, ",") (pointer_expression "&DAT_0006d5d5" (& "&") (identifier "DAT_0006d5d5")) (, ",") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) () ")"))) (; ";")) (expression_statement "FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);" (call_expression "FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5)" (identifier "FUN_0001d2b0") (argument_list "(*puVar7,*(undefined4 *)puVar5)" (( "(") (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (, ",") (pointer_expression "*(undefined4 *)puVar5" (* "*") (cast_expression "(undefined4 *)puVar5" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar5"))) () ")"))) (; ";")) (expression_statement "FUN_00067160(*(undefined4 *)puVar5,"\n");" (call_expression "FUN_00067160(*(undefined4 *)puVar5,"\n")" (identifier "FUN_00067160") (argument_list "(*(undefined4 *)puVar5,"\n")" (( "(") (pointer_expression "*(undefined4 *)puVar5" (* "*") (cast_expression "(undefined4 *)puVar5" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar5"))) (, ",") (string_literal ""\n"" (" """) (escape_sequence "\n") (" """)) () ")"))) (; ";")) (expression_statement "puVar1 = (undefined4 *)puVar7[1];" (assignment_expression "puVar1 = (undefined4 *)puVar7[1]" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)puVar7[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar7[1]" (identifier "puVar7") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" (identifier "puVar7") (= "=") (binary_expression "puVar7 + 1" (identifier "puVar7") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "local_38 = local_38 + 1;" (assignment_expression "local_38 = local_38 + 1" (identifier "local_38") (= "=") (binary_expression "local_38 + 1" (identifier "local_38") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(local_38 < DAT_00096938)" (( "(") (binary_expression "local_38 < DAT_00096938" (identifier "local_38") (< "<") (identifier "DAT_00096938")) () ")")) (; ";")) (} "}"))) (expression_statement "fwrite_unlocked("\n\n",1,2,*(FILE **)puVar5);" (call_expression "fwrite_unlocked("\n\n",1,2,*(FILE **)puVar5)" (identifier "fwrite_unlocked") (argument_list "("\n\n",1,2,*(FILE **)puVar5)" (( "(") (string_literal ""\n\n"" (" """) (escape_sequence "\n") (escape_sequence "\n") (" """)) (, ",") (number_literal "1") (, ",") (number_literal "2") (, ",") (pointer_expression "*(FILE **)puVar5" (* "*") (cast_expression "(FILE **)puVar5" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar5"))) () ")"))) (; ";")) (} "}"))) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" (identifier "free") (argument_list "(__ptr)" (( "(") (identifier "__ptr") () ")"))) (; ";")) (expression_statement "free(__ptr_00);" (call_expression "free(__ptr_00)" (identifier "free") (argument_list "(__ptr_00)" (( "(") (identifier "__ptr_00") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (} "}"))) (expression_statement "FUN_00066e40();" (call_expression "FUN_00066e40()" (identifier "FUN_00066e40") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

void function_1(void)

{
  type_1 *var_13;
  type_1 uVar2;
  type_2 *var_7;
  type_2 **var_19;
  type_1 *var_14;
  type_3 *puVar6;
  type_2 ***ppprVar7;
  void *__ptr;
  void *__ptr_00;
  type_2 *var_8;
  size_t n;
  type_1 *var_9;
  int var_6;
  int var_5;
  bool bVar12;
  int var_17;
  
  __ptr = var_1(var_10,4);
  if ((-1 < var_2 << 3) && ((type_4)var_2 >> 0x1d == 0)) {
    __ptr_00 = var_3(var_2 << 3);
    var_7 = var_4;
    var_6 = var_11;
    if (-1 < var_2 + -1) {
      var_8 = var_4 + var_2 + -1;
      var_9 = (type_1 *)((int)__ptr_00 + var_2 * 8 + -8);
      do {
        var_5 = var_8->lhs->number;
        var_9[1] = var_8;
        var_13 = (type_1 *)((int)__ptr + (var_5 - var_6) * 4);
        uVar2 = *var_13;
        *var_13 = var_9;
        *var_9 = uVar2;
        bVar12 = var_7 != var_8;
        var_8 = var_8 + -1;
        var_9 = var_9 + -2;
      } while (bVar12);
    }
    if ((-1 < var_10 << 2) && ((type_4)var_10 >> 0x1e == 0)) {
      derives = (type_2 ***)var_3(var_10 << 2);
      n = (var_2 + var_10) * 4;
      if ((-1 < (int)n) && ((type_4)(var_2 + var_10) >> 0x1e == 0)) {
        var_9 = (type_1 *)var_3(n);
        ppprVar7 = derives;
        if (var_11 < var_12) {
          var_5 = var_12 - var_11;
          var_6 = 0;
          do {
            var_13 = *(type_1 **)((int)__ptr + var_6);
            *(type_1 **)((int)ppprVar7 + var_6) = var_9;
            var_14 = var_9;
            while (var_13 != (type_1 *)0x0) {
              var_9 = var_13 + 1;
              var_13 = (type_1 *)*var_13;
              *var_14 = *var_9;
              var_14 = var_14 + 1;
            }
            var_6 = var_6 + 4;
            var_9 = var_14 + 1;
            *var_14 = 0;
          } while (var_6 != var_5 * 4);
        }
        puVar6 = PTR_stderr_00095fa8;
        if (((type_5)trace_flag & 8) != 0) {
          var_15("DERIVES\n",1,8,*(type_6 **)PTR_stderr_00095fa8);
          var_17 = var_11;
          if (var_11 < var_12) {
            do {
              var_16(*(type_6 **)puVar6,"  %s derives\n",symbols[var_17]->tag);
              var_7 = *derives[var_17 - var_11];
              var_19 = derives[var_17 - var_11];
              while (var_7 != (type_2 *)0x0) {
                var_16(*(type_6 **)puVar6,"    %3d ",var_7->user_number);
                var_18(*var_19,*(type_6 **)puVar6);
                var_16(*(type_6 **)puVar6,"\n");
                var_7 = var_19[1];
                var_19 = var_19 + 1;
              }
              var_17 = var_17 + 1;
            } while (var_17 < var_12);
          }
          var_15("\n\n",1,2,*(type_6 **)puVar6);
        }
        var_20(__ptr);
        var_20(__ptr_00);
        return;
      }
    }
  }
                    /* WARNING: Subroutine does not return */
  var_21();
}


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

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

void MASKED(void)

{
  undefined4 *puVar1;
  int iVar2;
  undefined4 uVar3;
  undefined4 *puVar4;
  undefined *puVar5;
  void *__ptr;
  void *__ptr_00;
  int iVar6;
  undefined4 *puVar7;
  int iVar8;
  int iVar9;
  bool bVar10;
  int local_38;
  
  __ptr = (void *)FUN_00066d60(DAT_00096934,4);
  if ((-1 < (int)(DAT_00096940 << 3)) && (DAT_00096940 >> 0x1d == 0)) {
    __ptr_00 = (void *)FUN_00066c20(DAT_00096940 << 3);
    iVar8 = DAT_00096944;
    iVar6 = DAT_000961c4;
    if (-1 < (int)(DAT_00096940 - 1)) {
      iVar9 = (DAT_00096940 - 1) * 0x60 + DAT_00096944;
      puVar7 = (undefined4 *)((int)__ptr_00 + DAT_00096940 * 8 + -8);
      do {
        iVar2 = *(int *)(*(int *)(iVar9 + 8) + 0x80);
        puVar7[1] = iVar9;
        puVar1 = (undefined4 *)((int)__ptr + (iVar2 - iVar6) * 4);
        uVar3 = *puVar1;
        *puVar1 = puVar7;
        *puVar7 = uVar3;
        bVar10 = iVar8 != iVar9;
        iVar9 = iVar9 + -0x60;
        puVar7 = puVar7 + -2;
      } while (bVar10);
    }
    if ((-1 < (int)(DAT_00096934 << 2)) && (DAT_00096934 >> 0x1e == 0)) {
      DAT_00099b28 = FUN_00066c20(DAT_00096934 << 2);
      iVar6 = (DAT_00096940 + DAT_00096934) * 4;
      if ((-1 < iVar6) && (DAT_00096940 + DAT_00096934 >> 0x1e == 0)) {
        puVar7 = (undefined4 *)FUN_00066c20(iVar6);
        iVar6 = DAT_00099b28;
        if (DAT_000961c4 < DAT_00096938) {
          iVar9 = DAT_00096938 - DAT_000961c4;
          iVar8 = 0;
          do {
            puVar1 = *(undefined4 **)((int)__ptr + iVar8);
            *(undefined4 **)(iVar6 + iVar8) = puVar7;
            puVar4 = puVar7;
            while (puVar1 != (undefined4 *)0x0) {
              puVar7 = puVar1 + 1;
              puVar1 = (undefined4 *)*puVar1;
              *puVar4 = *puVar7;
              puVar4 = puVar4 + 1;
            }
            iVar8 = iVar8 + 4;
            puVar7 = puVar4 + 1;
            *puVar4 = 0;
          } while (iVar8 != iVar9 * 4);
        }
        puVar5 = PTR_stderr_00095fa8;
        if (((byte)DAT_00096900 & 8) != 0) {
          fwrite_unlocked("DERIVES\n",1,8,*(FILE **)PTR_stderr_00095fa8);
          local_38 = DAT_000961c4;
          if (DAT_000961c4 < DAT_00096938) {
            do {
              FUN_00067160(*(undefined4 *)puVar5,"  %s derives\n",
                           **(undefined4 **)(DAT_0009693c + local_38 * 4));
              puVar7 = *(undefined4 **)(DAT_00099b28 + (local_38 - DAT_000961c4) * 4);
              puVar1 = (undefined4 *)*puVar7;
              while (puVar1 != (undefined4 *)0x0) {
                FUN_00067160(*(undefined4 *)puVar5,&DAT_0006d5d5,*puVar1);
                FUN_0001d2b0(*puVar7,*(undefined4 *)puVar5);
                FUN_00067160(*(undefined4 *)puVar5,"\n");
                puVar1 = (undefined4 *)puVar7[1];
                puVar7 = puVar7 + 1;
              }
              local_38 = local_38 + 1;
            } while (local_38 < DAT_00096938);
          }
          fwrite_unlocked("\n\n",1,2,*(FILE **)puVar5);
        }
        free(__ptr);
        free(__ptr_00);
        return;
      }
    }
  }
                    /* WARNING: Subroutine does not return */
  FUN_00066e40();
}

